1 2013-12-13 Leo Liu <sdl.web@gmail.com>
3 * indent.el (indent-region): Disable progress reporter in
4 minibuffer. (Bug#16108)
6 * bindings.el (visual-order-cursor-movement): Fix version.
8 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
11 Also match after beginning of line.
12 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
13 files. Thanks to Russell Sim. (Bug#15378)
15 2013-12-13 Juri Linkov <juri@jurta.org>
17 * simple.el <Keypad support>: Remove key bindings duplicated
18 with bindings.el. (Bug#14397)
20 2013-12-13 Juri Linkov <juri@jurta.org>
22 * comint.el (comint-mode-map): Replace `delete-char' with
23 `delete-forward-char'. (Bug#16109)
25 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
27 * progmodes/python.el (python-indent-calculate-indentation): Fix
28 de-denters cornercase. (Bug#15731)
30 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
32 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
33 (advice--make): Pay attention to `depth'.
34 (advice--make-1): Don't autoload commands eagerly.
35 * emacs-lisp/elp.el (elp-instrument-function):
36 * emacs-lisp/trace.el (trace-function-internal):
37 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
39 * iswitchb.el (iswitchb-mode): Don't belittle ido.
41 2013-12-12 Eli Zaretskii <eliz@gnu.org>
43 * term/w32-win.el (w32-handle-dropped-file):
44 * startup.el (normal-top-level):
45 * net/browse-url.el (browse-url-file-url):
46 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
47 decode file names using 'utf-8' rather than
48 file-name-coding-system.
50 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
52 * progmodes/python.el (python-indent-context)
53 (python-indent-calculate-indentation): Fix auto-identation
54 behavior for comment blocks. (Bug#15916)
56 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
58 * progmodes/python.el (python-indent-calculate-indentation):
59 When determining indentation, don't treat "return", "pass", etc., as
60 operators when they are just string constituents. (Bug#15812)
62 2013-12-12 Juri Linkov <juri@jurta.org>
64 * uniquify.el (uniquify-buffer-name-style): Change default to
65 `post-forward-angle-brackets'.
67 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
68 `uniquify'. Change default to `post-forward-angle-brackets'.
70 2013-12-11 Glenn Morris <rgm@gnu.org>
72 * emacs-lisp/package.el (finder-list-matches):
73 Autoload rather than falsely declaring.
75 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
77 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
78 (eww-mode-map): Use them.
80 2013-12-11 Martin Rudalics <rudalics@gmx.at>
82 * window.el (display-buffer-in-side-window): Fix doc-string
85 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
87 * vc/vc-git.el: Silence byte-compiler warnings.
88 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
89 (log-edit-set-header): Declare.
91 2013-12-11 Eli Zaretskii <eliz@gnu.org>
93 * Makefile.in (custom-deps, finder-data): Run output file names
94 through unmsys--file-name. (Bug#16099)
96 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
98 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
99 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
101 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
102 instead of deleting the selection "by hand" (bug#16098).
103 Rely on insert-for-yank to yank rectangles.
104 (cua-highlight-region-shift-only): Mark obsolete.
105 (cua-mode): Don't enable/disable transient-mark-mode,
106 shift-select-mode (cua-mode works both with and without them), and
107 pc-selection-mode (obsolete).
108 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
109 (cua--deactivate-rectangle): Deactivate it.
111 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
112 (delete-selection-helper): Make sure yank starts at the top of the
114 (minibuffer-keyboard-quit): Use region-active-p.
116 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
118 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
119 to `delete' (bug#16109).
121 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
123 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
124 info manual and show keybindings and set `:group' keyword.
126 2013-12-11 Juri Linkov <juri@jurta.org>
128 * delsel.el (delete-active-region): Let-bind `this-command'
129 to prevent `kill-region' from changing its original value.
130 (delete-selection-helper): Handle `overwrite-mode' for the type
131 `kill' exactly the same way as for the type `t'.
132 (insert-char, quoted-insert, reindent-then-newline-and-indent):
133 Support more commands. (Bug#13312)
135 2013-12-11 Juri Linkov <juri@jurta.org>
137 * bindings.el: Map kp keys to non-kp keys systematically
138 with basic modifiers control, meta and shift. (Bug#14397)
140 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
142 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
143 "Close browser" menu items. Fix wrong function of "List
146 2013-12-11 Juri Linkov <juri@jurta.org>
148 * misearch.el (multi-isearch-buffers): Set the value of
149 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
150 arg of isearch-forward to t.
151 (multi-isearch-buffers-regexp): Set the value of
152 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
153 arg of isearch-forward-regexp to t.
154 (multi-isearch-files): Set the value of
155 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
156 arg of isearch-forward to t.
157 (multi-isearch-files-regexp): Set the value of
158 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
159 arg of isearch-forward-regexp to t. (Bug#16035)
161 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
162 arg of isearch-forward to t.
163 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
164 arg of isearch-forward-regexp to t.
165 (dired-isearch-filter-filenames): Remove unnecessary check for
166 `dired-isearch-filenames'.
168 * comint.el (comint-history-isearch-backward):
169 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
170 (comint-history-isearch-backward-regexp):
171 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
173 2013-12-10 Eli Zaretskii <eliz@gnu.org>
175 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
176 unmsys--file-name. (Bug#16099)
178 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
180 * emacs-lisp/package.el (package-keyword-button-action):
181 Remove finder.el require dependency.
183 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
185 * emacs-lisp/package.el: Require finder.el.
186 (describe-package-1): Add keyword buttons.
187 (package-make-button): New convenience function.
188 (package-keyword-button-action): Keyword button action using
189 `finder-list-matches'
191 2013-12-09 Eli Zaretskii <eliz@gnu.org>
193 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
196 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
198 * autorevert.el (auto-revert-notify-add-watch): Do not handle
201 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
203 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
204 after the end of a percent literal.
206 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
208 * progmodes/ruby-mode.el (ruby-forward-string): Document.
209 Handle caret-delimited strings (Bug#16079).
211 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
213 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
214 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
215 `ruby-parse-partial' (Bug#16078).
217 2013-12-09 Leo Liu <sdl.web@gmail.com>
219 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
221 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
223 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
224 (js-switch-indent-offset): New option.
225 (js--proper-indentation): Use it. And handle the case when
226 "default" is actually a key in an object literal.
227 (js--same-line): New function.
228 (js--multi-line-declaration-indentation): Use it.
229 (js--indent-in-array-comp, js--array-comp-indentation):
231 (js--proper-indentation): Use them, to handle array comprehension
234 2013-12-08 Leo Liu <sdl.web@gmail.com>
236 * progmodes/flymake.el (flymake-highlight-line): Re-write.
237 (flymake-make-overlay): Remove arg MOUSE-FACE.
238 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
240 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
242 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
244 (redisplay-highlight-region-function): Use it.
246 * emulation/cua-base.el (cua--explicit-region-start)
247 (cua--last-region-shifted): Remove.
248 (cua--deactivate): Use deactivate-mark.
249 (cua--pre-command-handler-1): Don't handle shift-selection.
250 (cua--post-command-handler-1): Don't change transient-mark-mode.
251 (cua--select-keymaps): Use region-active-p rather than
252 cua--explicit-region-start or cua--last-region-shifted.
253 (cua-mode): Enable shift-select-mode.
255 2013-12-08 Leo Liu <sdl.web@gmail.com>
257 * progmodes/flymake.el (flymake-popup-current-error-menu):
258 Rename from flymake-display-err-menu-for-current-line. Reimplement.
259 (flymake-posn-at-point-as-event, flymake-popup-menu)
260 (flymake-make-emacs-menu): Remove. (Bug#16077)
262 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
264 * rect.el (rectangle-mark-mode): Activate mark even if
265 transient-mark-mode is off (bug#16066).
266 (rectangle--highlight-for-redisplay): Fix boundary condition when point
267 is > mark and at bolp.
269 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
270 (region-extract-function): Use it.
271 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
272 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
274 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
275 kill-ring-save, kill-region, delete-char, delete-forward-char.
276 Ignore self-insert-iso.
278 * emulation/cua-gmrk.el (cua--init-global-mark):
279 Ignore `self-insert-iso'.
281 * emulation/cua-base.el (cua--prefix-copy-handler)
282 (cua--prefix-cut-handler): Rely on region-extract-function rather than
283 checking cua--rectangle.
284 (cua-delete-region): Use region-extract-function.
285 (cua-replace-region): Delete function.
286 (cua-copy-region, cua-cut-region): Obey region-extract-function.
287 (cua--pre-command-handler-1): Don't do the delete-selection thing.
288 (cua--self-insert-char-p): Ignore `self-insert-iso'.
289 (cua--init-keymaps): Don't remap delete-selection commands.
290 (cua-mode): Use delete-selection-mode instead of rolling our own
293 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
294 Obey region-extract-function.
296 Make registers and delete-selection-mode work on rectangles.
297 * register.el (describe-register-1): Don't modify the register's value.
298 (copy-to-register): Obey region-extract-function.
299 * delsel.el (delete-active-region): Obey region-extract-function.
301 2013-12-08 Leo Liu <sdl.web@gmail.com>
303 * progmodes/flymake.el (flymake, flymake-error-bitmap)
304 (flymake-warning-bitmap, flymake-fringe-indicator-position)
305 (flymake-compilation-prevents-syntax-check)
306 (flymake-start-syntax-check-on-newline)
307 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
308 (flymake-start-syntax-check-on-find-file, flymake-log-level)
309 (flymake-xml-program, flymake-master-file-dirs)
310 (flymake-master-file-count-limit)
311 (flymake-allowed-file-name-masks): Relocate.
312 (flymake-makehash, flymake-float-time)
313 (flymake-replace-regexp-in-string, flymake-split-string)
314 (flymake-get-temp-dir): Remove.
315 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
316 (flymake-current-row, flymake-selected-frame)
317 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
318 related functions. (Bug#16077)
320 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
322 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
324 2013-12-07 Tassilo Horn <tsdh@gnu.org>
326 * help-fns.el (describe-function-1): Use new advice-* functions
327 rather than old ad-* functions. Fix function type description and
328 source links for advised functions and subrs.
330 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
332 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
334 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
336 * progmodes/compile.el (compilation-start):
337 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
339 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
340 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
342 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
344 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
345 Touch up the last change.
347 2013-12-06 Leo Liu <sdl.web@gmail.com>
349 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
350 (inferior-octave-startup): Always use "octave> " for prompt.
351 (octave-goto-function-definition)
352 (octave-sync-function-file-names)
353 (octave-find-definition-default-filename): Remove redundant backquotes.
355 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
357 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
359 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
360 where appropriate already.
361 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
362 end of method names (Bug#15874).
364 2013-12-06 Juri Linkov <juri@jurta.org>
366 * isearch.el (isearch--saved-overriding-local-map):
367 New internal variable.
368 (isearch-mode): Set it to the initial value of
369 `overriding-terminal-local-map'.
370 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
371 with `isearch--saved-overriding-local-map'. (Bug#16035)
373 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
375 * progmodes/octave.el (inferior-octave-completion-table):
376 Turn back into function, use `completion-table-with-cache'
377 (Bug#11906). Update all references.
379 * minibuffer.el (completion-table-with-cache): New function.
381 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
383 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
385 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
387 * net/eww.el (eww-current-source): New variable to store page
389 (eww-display-html, eww-mode, eww-save-history)
390 (eww-restore-history): Use it.
391 (eww-view-source): New command to view page source.
392 Opportunistically uses `html-mode' to highlight the buffer.
393 (eww-mode-map): Install it.
395 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
397 * net/dbus.el (dbus-unregister-service)
398 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
400 (dbus-unregister-service): Skip :serial entries in
401 `dbus-registered-objects-table'.
402 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
404 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
406 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
407 around keywords with extra `split-string' argument.
409 2013-12-04 Martin Rudalics <rudalics@gmx.at>
411 * windmove.el (windmove-other-window-loc): Handle navigation
412 between windows (excluding the minibuffer window - Bug#16017).
414 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
416 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
417 in D-Bus type syntax.
418 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
419 preserve unibyte strings. (Bug#16048)
421 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
423 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
424 Call force-mode-line-update is the proper buffer (bug#16042).
426 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
428 * vc/log-edit.el (log-edit-add-new-comment): Rename to
429 `log-edit-remember-comment', make argument optional. Adjust all
431 (log-edit-mode): Add `log-edit-remember-comment' to
432 `kill-buffer-hook' locally.
433 (log-edit-kill-buffer): Don't remember comment explicitly since
434 the buffer is killed anyway.
436 2013-12-04 Juri Linkov <juri@jurta.org>
438 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
439 add-hook and remove-hook for multi-buffer search. (Bug#16035)
441 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
443 * notifications.el (notifications-close-notification): Call the
444 D-Bus method with ID being a `:uint32'. (Bug#16030)
446 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
448 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
450 2013-12-03 Juri Linkov <juri@jurta.org>
452 * progmodes/compile.el (compilation-start): Rename window alist
453 entry `no-display-ok' to `allow-no-window'.
455 * simple.el (shell-command): Add window alist entry
456 `allow-no-window' to `display-buffer'.
457 (async-shell-command): Doc fix.
459 * window.el (display-buffer-no-window): New action function.
460 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
462 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
464 * vc/log-edit.el (log-edit-set-header): Extract from
465 `log-edit-toggle-header'.
466 (log-edit-extract-headers): Separate the summary, when extracted
467 from header, from the rest of the message with an empty line.
469 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
470 line, if present, to the Summary header.
472 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
474 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
475 in current-buffer (bug#16029).
477 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
479 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
480 (debugger-mode-map): Bind it.
481 (debugger--backtrace-base): New function.
482 (debugger-eval-expression): Use it.
483 (debugger-frame-number): Skip local vars when present.
484 (debugger--locals-visible-p, debugger--insert-locals)
485 (debugger--show-locals, debugger--hide-locals): New functions.
487 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
489 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
491 (tramp-get-remote-locale): New defun.
492 (tramp-open-connection-setup-interactive-shell): Use it.
494 2013-12-02 Leo Liu <sdl.web@gmail.com>
496 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
498 * progmodes/sh-script.el (sh-shell-process):
499 * progmodes/octave.el (inferior-octave-process-live-p):
500 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
501 (gdb-inferior-io-sentinel):
502 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
504 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
506 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
507 `save-selected-window' to `log-edit-hide-buf'. This makes
508 `log-edit-show-files' idempotent.
509 (log-edit-show-files): Mark the new window as dedicated.
511 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
513 * vc/log-edit.el (log-edit-mode-map): Add binding for
514 `log-edit-kill-biffer'.
515 (log-edit-hide-buf): Add a FIXME comment.
516 (log-edit-add-new-comment): New function, extracted from
518 (log-edit-done, log-edit-add-to-changelog): Use it.
519 (log-edit-kill-buffer): New command.
521 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
523 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
524 instead of killing the buffer.
526 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
528 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
530 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
532 * net/eww.el (eww-form-checkbox-selected-symbol)
533 (eww-form-checkbox-symbol): New customizable variable.
534 (eww-form-checkbox, eww-toggle-checkbox):
535 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
537 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
538 (shr--get-media-pref, shr--extract-best-source): New function.
539 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
540 no :src tag was specified.
542 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
543 (eww-render): Handle `eww-use-external-browser-for-content-type'.
544 Use \\` to match beginning of string instead of ^.
545 (eww-browse-with-external-browser): Provide optional URL parameter.
546 (eww-render): Set `eww-current-title' back to "".
548 * net/shr.el (shr-tag-video): Display content for video if no
550 (shr-tag-audio): Add support for <audio> tag.
552 * net/eww.el (eww-text-input-types): : New const.
553 (eww-process-text-input): Treat input types in
554 `eww-text-input-types' as text.
556 * net/shr.el (shr-tag-table): Fix comment typo.
558 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
560 * net/eww.el (eww-follow-link): New command to avoid reloading
561 pages when we follow #target links (bug#15243).
562 (eww-quit): Special mode buffers shouldn't query before exiting.
564 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
566 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
569 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
571 * net/eww.el (eww-restore-history): Update the window title after
572 moving in the history.
573 (eww-current-dom): New variable used to save the current DOM.
575 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
577 * vc/log-edit.el (log-edit-mode-map): Add binding for
578 `log-edit-beginning-of-line'.
579 (log-edit-setup-add-author): New user option.
580 (log-edit-beginning-of-line): New command.
581 (log-edit): Move major mode call above the contents setup so that
582 the local variable values are already applied.
583 (log-edit): Only insert "Author: " when
584 `log-edit-setup-add-author' is non-nil.
585 (log-edit): When SETUP is non-nil, position point after ": "
586 instead of point-min.
588 2013-12-01 Glenn Morris <rgm@gnu.org>
590 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
592 2013-11-30 Eli Zaretskii <eliz@gnu.org>
594 * startup.el (fancy-splash-frame): On MS-Windows, trigger
595 redisplay to make sure the initial frame gets a chance to become
598 2013-11-30 Martin Rudalics <rudalics@gmx.at>
600 Support resizing frames and windows pixelwise.
601 * cus-start.el (frame-resize-pixelwise)
602 (window-resize-pixelwise): New entries.
603 * emacs-lisp/debug.el (debug): Use window-total-height instead
604 of window-total-size.
605 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
606 * help.el (describe-bindings-internal): Call help-buffer
607 (temp-buffer-max-width): New option.
608 (resize-temp-buffer-window, help-window-setup)
609 (with-help-window): Rewrite.
610 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
612 * window.el (frame-char-size, window-min-pixel-height)
613 (window-safe-min-pixel-height, window-safe-min-pixel-width)
614 (window-min-pixel-width, window-safe-min-pixel-size)
615 (window-combination-p, window-safe-min-size)
616 (window-resizable-p, window--size-to-pixel)
617 (window--pixel-to-size, window--resize-apply-p): New functions.
618 (window-safe-min-height): Fix doc-string.
619 (window-size, window-min-size, window--min-size-1)
620 (window-sizable, window-sizable-p, window--min-delta-1)
621 (window-min-delta, window--max-delta-1, window-max-delta)
622 (window--resizable, window--resizable-p, window-resizable)
623 (window-full-height-p, window-full-width-p, window-at-side-p)
624 (window--in-direction-2, window-in-direction)
625 (window--resize-reset-1, window--resize-mini-window)
626 (window-resize, window-resize-no-error)
627 (window--resize-child-windows-normal)
628 (window--resize-child-windows, window--resize-siblings)
629 (window--resize-this-window, window--resize-root-window)
630 (window--resize-root-window-vertically)
631 (adjust-window-trailing-edge, enlarge-window, shrink-window)
632 (maximize-window, minimize-window, delete-window)
633 (quit-restore-window, window-split-min-size, split-window)
634 (balance-windows-2, balance-windows)
635 (balance-windows-area-adjust, balance-windows-area)
636 (window--state-get-1, window-state-get, window--state-put-1)
637 (window--state-put-2, window-state-put)
638 (display-buffer-record-window, window--display-buffer):
639 Make functions handle pixelwise sizing of windows.
640 (display-buffer--action-function-custom-type)
641 (display-buffer-fallback-action):
642 Add display-buffer-in-previous-window.
643 (display-buffer-use-some-window): Resize window to height it had
645 (fit-window-to-buffer-horizontally): New option.
646 (fit-frame-to-buffer): Describe new values.
647 (fit-frame-to-buffer-bottom-margin): Replace with
648 fit-frame-to-buffer-margins.
649 (window--sanitize-margin): New function.
650 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
651 using window-text-pixel-size.
653 2013-11-30 Glenn Morris <rgm@gnu.org>
655 * emacs-lisp/bytecomp.el (byte-compile-form):
656 Make the `interactive-only' warning like the `obsolete' one.
657 * comint.el (comint-run):
658 * files.el (insert-file-literally, insert-file):
659 * replace.el (replace-string, replace-regexp):
660 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
661 (goto-line, insert-buffer, next-line, previous-line):
662 Tweak `interactive-only' spec.
664 Stop keeping (most) generated cedet grammar files in the repository.
665 * Makefile.in (semantic): New.
666 (compile-main): Depend on semantic.
668 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
670 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
671 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
673 * uniquify.el (uniquify-buffer-name-style): Change default.
675 * loadup.el: Preload "uniquify".
677 * time.el (display-time-update): Update all mode lines (bug#15999).
679 * electric.el (electric-indent-mode): Enable by default.
680 * loadup.el: Preload "electric".
682 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
684 * emacs-lisp/helpers.el (string-empty-p): New function.
685 (string-blank-p): New function.
687 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
689 * imenu.el (imenu--index-alist): Add missing dot to the docstring
692 2013-11-29 Andreas Politz <politza@fh-trier.de>
693 * imenu.el (imenu--subalist-p): Don't error on non-conses and
694 allow non-lambda lists as functions.
695 (imenu--in-alist): Don't recurse into non-subalists.
696 (imenu): Don't pass function itself as an argument (Bug#14029).
698 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
700 * progmodes/python.el (python-mode-map): Remove binding for ":".
701 (python-indent-electric-colon): Remove command.
702 (python-indent-post-self-insert-function): Integrate the previous code
703 of python-indent-electric-colon. Make it conditional on
704 electric-indent-mode.
705 (python-mode): Add ?: to electric-indent-chars.
706 Move python-indent-post-self-insert-function to the end of
707 post-self-insert-hook.
709 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
711 * doc-view.el (doc-view-goto-page): Update mode-line.
713 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
715 2013-11-27 Glenn Morris <rgm@gnu.org>
717 * international/charprop.el, international/uni-bidi.el:
718 * international/uni-category.el, international/uni-combining.el:
719 * international/uni-comment.el, international/uni-decimal.el:
720 * international/uni-decomposition.el, international/uni-digit.el:
721 * international/uni-lowercase.el, international/uni-mirrored.el:
722 * international/uni-name.el, international/uni-numeric.el:
723 * international/uni-old-name.el, international/uni-titlecase.el:
724 * international/uni-uppercase.el:
725 Remove generated files from VCS repository.
727 2013-11-27 Eli Zaretskii <eliz@gnu.org>
729 * filenotify.el (file-notify-add-watch): Don't special-case
730 w32notify when computing the directory to watch.
732 2013-11-27 Glenn Morris <rgm@gnu.org>
734 Make bootstrap without generated uni-*.el files possible again.
735 * loadup.el: Update command-line-args checking for unidata-gen.
736 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
737 * composite.el, international/characters.el:
738 Handle unicode tables being undefined.
740 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
741 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
742 (compile-main): Depend on leim rule.
744 * loadup.el: Move leim-list.el to leim/ subdirectory.
745 * startup.el (normal-top-level): No more leim directory.
746 * international/ja-dic-cnv.el (skkdic-convert):
747 Disable version-control and autoloads in output files.
748 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
749 Disable version-control and autoloads in output files.
750 * leim/quail: Move here from ../leim.
751 * leim/quail/hangul.el (hangul-input-method-activate):
753 (generated-autoload-load-name): Set file-local value.
754 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
755 (generated-autoload-load-name): Set file-local value.
757 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
759 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
760 (eww-add-bookmark): ask confirmation when add to bookmarks
761 (eww-quit): ask confirmation before quitting eww
763 2013-11-26 Eli Zaretskii <eliz@gnu.org>
765 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
766 reading output from Diff on MS-Windows and MS-DOS.
768 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
770 * emacs-lisp/helpers.el (string-reverse): New function.
772 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
774 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
775 names on MS Windows, like "/[::1]:".
777 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
780 2013-11-26 Glenn Morris <rgm@gnu.org>
782 * progmodes/python.el (python-indent-guess-indent-offset):
783 Avoid corner-case error. (Bug#15975)
785 Preload leim-list.el. (Bug#4789)
786 * loadup.el: Load leim-list.el when found.
787 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
789 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
791 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
793 * emacs-lisp/helpers.el (string-join): New function.
795 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
797 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
798 Mark as obsolete and replace it with a symbol property.
799 (byte-compile-form): Use new 'interactive-only property.
800 * comint.el, files.el, replace.el, simple.el:
801 Apply new 'interactive-only properly.
803 2013-11-25 Martin Rudalics <rudalics@gmx.at>
805 * window.el (display-buffer-at-bottom): Make sure that
806 split-window-sensibly creates the new window on bottom
809 2013-11-23 David Kastrup <dak@gnu.org>
811 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
812 on the conflict markers when available.
813 (smerge--get-marker): New function.
814 (smerge-end-re, smerge-base-re): Add subgroup.
816 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
818 * frame.el (handle-focus-in, handle-focus-out): Add missing
821 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
823 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
824 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
826 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
828 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
829 (gomoku--last-pos): New var.
830 (gomoku--intangible-chars): New const.
831 (gomoku--intangible): New function.
832 (gomoku-mode): Use it. Derive from special-mode.
833 (gomoku-move-up): Adjust line count.
834 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
835 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
836 Simplify accordingly.
838 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
839 Remove blink-cursor code.
840 (blink-cursor-timer-function, blink-cursor-suspend):
841 Don't special-case GUIs.
842 (blink-cursor-mode): Use focus-in/out-hook.
844 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
846 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
847 work when annotation is invisible (Bug#13886).
849 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
851 * json.el (json-alist-p): Only return non-nil if the alist has
852 simple keys (Bug#13518).
854 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
856 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
857 when control-statement is the first statement in a buffer (Bug#15956).
859 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
861 * imenu.el (imenu-generic-skip-comments-and-strings):
862 New option (Bug#15560).
863 (imenu--generic-function): Use it.
865 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
867 * minibuffer.el (completion--in-region-1): Scroll the correct
870 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
872 * emacs-lisp/helpers.el: Add some string helpers.
873 (string-trim-left): Removes leading whitespace.
874 (string-trim-right): Removes trailing whitespace.
875 (string-trim): Removes leading and trailing whitespace.
877 * subr.el (string-suffix-p): New function.
879 2013-11-23 Glenn Morris <rgm@gnu.org>
881 * progmodes/python.el (python-shell-send-file):
882 Add option to delete file when done. (Bug#15647)
883 (python-shell-send-string, python-shell-send-region): Use it.
885 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
887 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
888 to set buffer-read-only to t, never to nil. (Bug#15938)
890 * textmodes/tex-mode.el (latex-noindent-environments):
891 Add safe-local-variable property. (Bug#15936)
893 2013-11-23 Glenn Morris <rgm@gnu.org>
895 * textmodes/enriched.el (enriched-mode): Doc fix.
896 * emacs-lisp/authors.el (authors-renamed-files-alist):
897 Add enriched.doc -> enriched.txt.
899 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
901 2013-11-22 Leo Liu <sdl.web@gmail.com>
903 * progmodes/octave.el (inferior-octave-startup): Spit out error
906 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
908 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
911 (ruby-encoding-magic-comment-style): Add :version.
913 2013-11-22 Leo Liu <sdl.web@gmail.com>
915 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
917 (octave-help-mode): Adapt to change to help-mode-finish to use
918 derived-mode-p on 2013-09-17.
919 (inferior-octave-prompt): Also match octave-gui.
920 (octave-kill-process): Don't ask twice. (Bug#10564)
922 2013-11-22 Leo Liu <sdl.web@gmail.com>
924 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
925 (inferior-octave-startup, inferior-octave-check-process)
926 (inferior-octave-track-window-width-change)
927 (octave-completion-at-point, octave-eldoc-function): Use it.
928 (octave-kill-process): Provide confirmation. (Bug#10564)
930 2013-11-21 Leo Liu <sdl.web@gmail.com>
932 * progmodes/octave.el (octave-mode, inferior-octave-mode):
933 Fix obsolete variable comment-use-global-state.
935 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
937 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
938 Add `octave-source-file'.
939 (octave-source-file): New function. (Bug#15935)
941 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
943 * net/eww.el (eww-local-regex): New variable.
944 (eww): Use it to detect localhost and similar.
946 2013-11-21 Leo Liu <sdl.web@gmail.com>
948 Add completion for command `ag'.
949 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
950 (pcomplete/ag): New function.
951 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
953 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
955 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
957 (make-obsolete): Remove interactive spec.
959 2013-11-21 Glenn Morris <rgm@gnu.org>
961 * startup.el (command-line-1): Use path-separator with -L.
963 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
965 * emacs-lisp/package.el (describe-package-1): Add package archive
968 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
970 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
971 Change default to "# encoding: %s" to differentiate it from the
972 default Ruby encoding comment template.
974 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
976 * ses.el (ses-mode): Doc fix. (Bug#14748)
978 2013-11-20 Leo Liu <sdl.web@gmail.com>
980 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
982 2013-11-19 Dan Nicolaescu <dann@gnu.org>
984 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
985 when rebase or bisect are in progress.
987 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
989 * filenotify.el (file-notify-add-watch): Doc fix.
991 2013-11-19 Leo Liu <sdl.web@gmail.com>
993 * obsolete/rcompile.el: Mark obsolete.
995 * progmodes/compile.el (compilation-start)
996 (compilation-goto-locus, compilation-find-file):
997 Pass no-display-ok and handle nil value from display-buffer.
1000 * window.el (display-buffer-alist, display-buffer): Document the
1001 new parameter no-display-ok. Return either a window or nil
1002 but never a non-window value.
1004 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1006 * electric.el (electric-indent-mode-map): Remove.
1007 (electric-indent-mode): Change the global-map instead (bug#15915).
1009 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1012 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1014 * emacs-lisp/nadvice.el (remove-function): Align with
1015 add-function's behavior.
1017 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1018 (gdb--string-regexp): New constant.
1019 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1020 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1021 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1023 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1024 Adjust use accordingly.
1025 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1027 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1029 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1030 interpolation curlies (Bug#15914).
1032 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1034 * calc/calc.el (calc-context-sensitive-enter): New variable.
1035 (calc-enter): Use `calc-context-sensitive-enter'.
1037 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1039 * progmodes/cfengine.el: Version bump.
1040 (cfengine-cf-promises): New defcustom to locate cf-promises.
1041 (cfengine3-vartypes): Add new "data" type.
1042 (cfengine3--current-word): New function to get current name-like
1044 (cfengine3--current-function): New function to look up a CFEngine
1045 function's definition.
1046 (cfengine3-format-function-docstring): New function.
1047 (cfengine3-make-syntax-cache): New function.
1048 (cfengine3-documentation-function): New function: ElDoc glue.
1049 (cfengine3-completion-function): New function: completion glue.
1050 (cfengine3-mode): Set `compile-command',
1051 `eldoc-documentation-function', and add to
1052 `completion-at-point-functions'.
1054 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1056 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1057 `tramp-current-connection'.
1059 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1061 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1062 nil/self/true/false with "end of symbol".
1064 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1066 * subr.el (version-regexp-alist): Fix a typo.
1068 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1070 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1071 "en_US.utf8" and "LC_CTYPE" to "".
1072 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1073 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1075 2013-11-15 Leo Liu <sdl.web@gmail.com>
1077 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1079 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1081 * progmodes/gud.el (ctl-x-map):
1082 Remove C-x SPC binding. (Bug#12342)
1083 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1085 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1087 * subr.el (version-regexp-alist):
1088 Recognize hg, svn and darcs versions as snapshot versions.
1090 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1091 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1092 (ruby--encoding-comment-required-p): Extract from
1093 `ruby-mode-set-encoding'.
1094 (ruby-mode-set-encoding): Add the ability to always insert an
1095 utf-8 encoding comment. Fix and simplify coding comment update
1098 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1100 * net/tramp-gvfs.el (top): Run init code only when
1101 `tramp-gvfs-enabled' is not nil.
1102 (tramp-gvfs-enabled): Check also :system bus.
1104 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1106 Sync with upstream verilog-mode revision 78e66ba.
1107 * progmodes/verilog-mode.el (verilog-end-of-defun)
1108 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1109 (verilog-get-end-of-defun): Remove unused argument.
1110 (verilog-comment-depth): Remove unused local `e'.
1111 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1112 Don't pass arg to verilog-get-end-of-defun.
1114 2013-11-14 Glenn Morris <rgm@gnu.org>
1116 * obsolete/assoc.el (aget): Prefix dynamic variable.
1118 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1120 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1122 * widget.el, hfy-cmap.el: Remove bogus package version number.
1124 2013-11-13 Glenn Morris <rgm@gnu.org>
1126 * replace.el (replace-eval-replacement):
1127 Try to give more helpful error message. (Bug#15836)
1129 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1130 (archive-7z-update): Avoid custom type mismatches.
1132 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1134 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1136 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1137 address can be empty.
1139 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1140 Accept nil SWITCHES.
1141 (tramp-gvfs-handle-write-region): Implement APPEND.
1143 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1145 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1146 binary "|" operator and closing block args delimiter.
1147 Remove FIXME comment referring to Ruby 1.8-only syntax.
1148 (ruby-smie--implicit-semi-p): Not after "|" operator.
1149 (ruby-smie--closing-pipe-p): New function.
1150 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1151 (ruby-smie-rules): Indent after "|".
1153 2013-11-12 Glenn Morris <rgm@gnu.org>
1155 * ps-print.el (ps-face-attribute-list):
1156 Handle anonymous faces. (Bug#15827)
1158 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1160 * window.el (display-buffer-other-frame): Fix doc-string.
1163 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1165 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1167 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1169 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1170 (tramp-sh-handle-file-local-copy): Don't write a message when
1171 saving temporary files.
1173 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1174 both directories are remote.
1175 (tramp-smb-handle-directory-files): Do not return double entries.
1176 Do not expand full file names.
1177 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1178 (tramp-smb-handle-write-region): Implement APPEND.
1179 (tramp-smb-get-stat-capability): Fix a stupid bug.
1181 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1183 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1185 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1187 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1188 throwing error over malformed let/let* (bug#15814).
1190 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1192 * iswitchb.el (iswitchb-mode): Mark obsolete.
1194 2013-11-11 Glenn Morris <rgm@gnu.org>
1196 * international/uni-bidi.el, international/uni-category.el:
1197 * international/uni-name.el, international/uni-numeric.el:
1198 Regenerate for Unicode 6.3.0.
1200 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1202 * net/tramp.el (tramp-methods):
1203 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1204 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1206 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1208 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1209 Force highlighting text after Summary keyword in doc face for rpm.
1211 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1213 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1214 available and the word has no wildcards, append one to the grep pattern.
1215 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1216 (ispell-complete-word): Call `ispell-lookup-words' with the value
1217 independent of `ispell-look-p'.
1219 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1221 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1223 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1226 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1228 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1229 (ruby-font-lock-keywords): Use backquote.
1231 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1233 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1234 (ruby-smie--backward-token): Only consider full-string matches.
1236 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1238 * faces.el (describe-face): Add distant-foreground.
1240 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1242 * progmodes/ruby-mode.el: Improve encoding comment handling.
1243 (ruby-encoding-magic-comment-style): New option.
1244 (ruby-custom-encoding-magic-comment-template): New option.
1245 (ruby--insert-coding-comment, ruby--detect-encoding):
1246 New functions extracted from `ruby-mode-set-encoding'.
1247 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1248 to control the style of the auto-inserted encoding comment.
1250 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1252 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1253 Use `smie-backward-sexp' with token argument.
1255 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1257 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1258 Remove instrumentation code.
1260 2013-11-08 Glenn Morris <rgm@gnu.org>
1262 * progmodes/autoconf.el (autoconf-mode):
1263 Tweak comment-start-skip. (Bug#15822)
1265 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1267 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1268 at bobp (bug#15826).
1269 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1271 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1273 * man.el (Man-start-calling): New macro, extracted from
1274 Man-getpage-in-background.
1275 (Man-getpage-in-background): Use it.
1276 (Man-update-manpage): New command.
1277 (Man-mode-map): Bind it.
1279 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1281 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1282 of "and", "or", "&&" and "||".
1283 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1284 argument. Prohibit opening curly brace because it could only be a
1285 block opener in that position.
1286 (ruby-smie--forward-token, ruby-smie--backward-token):
1287 Separate "|" from "&" or "*" going after it. That can happen in block
1289 (ruby-smie--indent-to-stmt): New function, seeks the end of
1290 previous statement or beginning of buffer.
1291 (ruby-smie-rules): Use it.
1292 (ruby-smie-rules): Check if there's a ":" before a curly block
1293 opener candidate; if there is, it's a hash.
1295 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1297 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1298 (cl--block-wrapper): Fix last accidental change.
1300 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1302 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1303 Instrument, in order to hunt failure on hydra.
1305 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1307 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1308 malformed bindings form (bug#15814).
1310 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1312 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1313 "." compared to " @ ". This incidentally fixes some indentation
1315 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1316 (ruby-smie-grammar): New tokens: "and" and "or".
1317 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1318 Exclude "and" and "or". Remove "do" in order to work around token
1320 (ruby-smie-rules): Add all infix tokens. Handle the case of
1321 beginning-of-buffer.
1323 2013-11-06 Glenn Morris <rgm@gnu.org>
1325 * Makefile.in (setwins_almost, setwins_for_subdirs):
1326 Avoid accidental matches.
1328 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1330 * menu-bar.el (popup-menu): Use key-binding.
1332 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1334 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1335 menus, support also the menus produced by minor modes.
1338 2013-11-06 Leo Liu <sdl.web@gmail.com>
1340 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1341 DISTANCE to bound the search. All uses changed. (Bug#15808)
1343 2013-11-06 Glenn Morris <rgm@gnu.org>
1345 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1346 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1347 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1349 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1351 * electric.el (electric-indent-just-newline): New command.
1352 (electric-indent-mode-map): New keymap.
1353 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1354 Re-add :group which weren't redundant.
1356 * electric.el (electric-indent-local-mode): New minor mode.
1357 (electric-indent-functions-without-reindent): New var.
1358 (electric-indent-post-self-insert-function): Use it.
1359 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1361 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1363 * international/quail.el (quail-help): Be more explicit about the
1364 meaning of the labels shown on the keys. (Bug#15800)
1366 * startup.el (normal-top-level): Load the subdirs.el files before
1367 setting the locale environment. (Bug#15805)
1369 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1371 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1372 via arguments so as to get the right ones (bug#15418).
1374 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1376 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1378 Fix problems found while writing a test suite.
1380 * net/tramp-compat.el (tramp-compat-load): New defun.
1381 * net/tramp.el (tramp-handle-load): Use it.
1383 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1384 "(numberp ok-if-already-exists)" correctly.
1386 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1388 * international/characters.el (glyphless-char-display-control):
1391 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1393 * progmodes/python.el (python-mode):
1394 * progmodes/scheme.el (scheme-mode):
1395 * progmodes/prolog.el (prolog-mode):
1396 * progmodes/ruby-mode.el (ruby-mode):
1397 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1398 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1400 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1402 * rect.el (rectangle--highlight-for-redisplay):
1403 * emacs-lisp/smie.el (smie--next-indent-change):
1404 Use buffer-chars-modified-tick.
1406 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1408 * electric.el (electric-indent-post-self-insert-function):
1409 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1411 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1413 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1415 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1417 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1420 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1422 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1424 * progmodes/python.el: Fix up last change.
1425 (python-shell--save-temp-file): New function.
1426 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1427 `string' comes from the current buffer.
1428 (python-shell-send-string-no-output): Remove `msg' arg.
1429 (python--use-fake-loc): New var.
1430 (python-shell-buffer-substring): Obey it. Try to compensate for the
1431 extra coding line added by python-shell--save-temp-file.
1432 (python-shell-send-region): Use python-shell--save-temp-file and
1433 python-shell-send-file directly. Add `nomain' argument.
1434 (python-shell-send-buffer): Use python-shell-send-region.
1435 (python-electric-pair-string-delimiter): New function.
1436 (python-mode): Use it.
1438 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1440 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1441 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1442 environment and decoding all of the default-directory's to here
1444 (command-line): Decode also argv[0].
1446 * loadup.el: Error out if default-directory is a multibyte string
1447 when we are dumping.
1449 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1451 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1453 * emacs-lisp/package.el (package-menu-mode)
1454 (package-menu--print-info, package-menu--archive-predicate):
1455 Add Archive column to package list.
1457 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1459 Fix problems found while writing a test suite.
1461 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1462 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1463 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1464 to nil when running original file name handler. Otherwise,
1465 there are problems with constructs like "$$FOO".
1467 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1470 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1472 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1474 * subr.el (version<, version<=, version=):
1475 Update docstrings with information for snapshot versions.
1477 * helpers.el: New library for misc helper functions.
1478 (hash-table-keys): New function returning a list of hash keys.
1479 (hash-table-values): New function returning a list of hash values.
1481 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1483 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1484 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1486 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1488 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1489 checking whether point is after a 1-letter word.
1491 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1493 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1494 Don't infloop when expanding region over `multiline' syntax-type that
1495 begins a line (bug#15778).
1497 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1499 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1500 Make it into a proper minor mode.
1501 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1502 (rectangle-mark-mode-map): New keymap.
1503 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1505 2013-11-04 Glenn Morris <rgm@gnu.org>
1507 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1509 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1511 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1512 (ruby-smie-rules): Use smie-rule-parent instead.
1514 * emacs-lisp/smie.el (smie-rule-parent): Always call
1515 smie-indent-virtual rather than only for hanging tokens.
1516 (smie--next-indent-change): New helper command.
1518 2013-11-03 Glenn Morris <rgm@gnu.org>
1520 * Makefile.in (abs_srcdir): Remove.
1521 (emacs): Unset EMACSLOADPATH.
1523 2013-11-02 Glenn Morris <rgm@gnu.org>
1525 * Makefile.in (EMACS): Use a relative filename.
1526 (abs_top_builddir): Remove.
1527 (custom-deps, finder-data, autoloads): Use --chdir.
1529 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1531 Use relative filenames in TAGS files.
1532 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1533 (lisptagsfiles4, TAGS): Use relative file names.
1534 (TAGS-LISP): Remove.
1535 (maintainer-clean): No more TAGS-LISP file.
1537 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1538 (lisptagsfiles4): Use absolute filenames again.
1539 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1540 Remove all *loaddefs files, not just the first. Remove esh-groups.
1541 (maintainer-clean): Delete TAGS, TAGS-LISP.
1543 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1545 * emacs-lisp/package.el (package-version-join):
1546 Recognize snapshot versions.
1548 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1550 * subr.el (version-regexp-alist): Add support for snapshot versions.
1552 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1554 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1555 New function, replacement for `smie-rule-parent' for when we want to
1556 skip over our direct parent if it's an assignment token..
1557 (ruby-smie-rules): Use it.
1559 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1561 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1562 unconditionally. Remove now unnecessary forward declarations.
1563 Remove XEmacs-specific setup.
1564 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1565 (ruby-font-lock-syntactic-keywords)
1566 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1567 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1568 (ruby-here-doc-end-syntax): Remove.
1569 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1570 defined as function.
1572 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1574 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1576 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1578 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1579 table and abbrev table, `define-derived-mode' does that for us
1582 2013-11-01 Glenn Morris <rgm@gnu.org>
1584 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1585 files is atomic for some time, so no parallel compilation issues).
1587 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1589 * faces.el (face-x-resources): Add :distant-foreground.
1590 (region): Use :distant-foreground for gtk and ns.
1592 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1594 Allow multiple bibliographies when BibLaTeX is used rather than
1596 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1597 (reftex-locate-bibliography-files): Us it.
1599 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1601 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1602 allow comments in pbm files.
1604 * term/w32-win.el (dynamic-library-alist): Support newer versions
1605 of libjpeg starting with v7: look only for the DLL from the
1606 version against which Emacs was built.
1607 Support versions of libpng beyond 1.4.x.
1608 Support libtiff v4.x.
1610 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1612 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1613 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1615 (ruby-deep-arglist): Add property :type.
1617 2013-10-31 Glenn Morris <rgm@gnu.org>
1619 * Makefile.in (custom-deps, finder-data): No need to setq the target
1620 variables, we are in the right directory and the defaults work fine.
1622 2013-10-30 Glenn Morris <rgm@gnu.org>
1624 * Makefile.in (autoloads): Do not use abs_lisp.
1626 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1627 `newline' does not respect `standard-output', so use `princ'.
1629 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1631 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1632 * buff-menu.el (Buffer-menu--unmark): New function.
1633 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1635 2013-10-30 Glenn Morris <rgm@gnu.org>
1637 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1639 * emacs-lisp/package.el (lm-homepage): Declare.
1641 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1644 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1646 * Makefile.in (finder-data, autoloads, update-subdirs)
1647 (compile-main, compile-clean, compile-always, bootstrap-clean):
1648 Check return value of cd.
1649 (compile-calc): Remove.
1651 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1653 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1655 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1656 (byte-compile-and-folded): New function.
1657 (=, <, >, <=, >=): Use it.
1659 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1660 (path-separator, null-device, buffer-file-coding-system)
1661 (lpr-headers-switches): Check system-type before modifying them.
1662 (find-buffer-file-type-coding-system): Mark obsolete.
1663 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1664 find-file-not-found-set-buffer-file-coding-system.
1665 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1666 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1667 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1668 (w32-direct-print-region-helper, w32-direct-print-region-function)
1669 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1670 * startup.el (normal-top-level-add-subdirs-to-load-path):
1671 * ps-print.el (ps-print-region-function):
1672 * lpr.el (print-region-function): Use new name.
1674 * subr.el (custom-declare-variable-early): Remove function.
1675 (custom-declare-variable-list): Remove var.
1676 (error, user-error): Remove `while' loop.
1677 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1678 (user-emacs-directory-warning, locate-user-emacs-file):
1680 * simple.el (read-quoted-char-radix, read-quoted-char):
1681 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1683 * custom.el (custom-declare-variable-list): Don't process
1684 custom-declare-variable-list.
1686 * progmodes/python.el (python-shell-get-buffer): New function.
1687 (python-shell-get-process): Use it.
1688 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1689 Python which encoding was used. Don't split-string since we only care
1690 about the first line. Return the temp-file, if applicable.
1691 (python-shell-send-region): Tell compile.el how to turn locations in
1692 the temp-file into locations in the source buffer.
1694 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1696 * subr.el (undefined): Add missing behavior from the C code for
1699 * rect.el: Use lexical-binding. Add new rectangular region support.
1700 (rectangle-mark): New command.
1701 (rectangle--region): New var.
1702 (deactivate-mark-hook): Reset rectangle--region.
1703 (rectangle--extract-region, rectangle--insert-for-yank)
1704 (rectangle--highlight-for-redisplay)
1705 (rectangle--unhighlight-for-redisplay): New functions.
1706 (region-extract-function, redisplay-unhighlight-region-function)
1707 (redisplay-highlight-region-function): Use them to handle
1709 * simple.el (region-extract-function): New var.
1710 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1711 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1712 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1713 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1714 (redisplay-unhighlight-region-function)
1715 (redisplay-highlight-region-function): New vars.
1716 (redisplay--update-region-highlight): New function.
1717 (pre-redisplay-function): Use it.
1718 (exchange-point-and-mark): Don't deactivate the mark before
1719 reactivate-it anyway.
1720 * comint.el (comint-kill-region): Remove yank-handler argument.
1721 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1722 (delete-char): Remove property, since it's now part of their
1724 (self-insert-iso): Remove property since this command doesn't exist.
1726 * emacs-lisp/package.el (package--download-one-archive)
1727 (describe-package-1): Don't query the user about final newline.
1729 2013-10-29 Daniel Colascione <dancol@dancol.org>
1731 * net/tramp.el (tramp-methods): Document new functionality.
1732 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1733 tramp-hostname-checker if method provides one instead of scanning
1734 argument list for "%h" to decide hostname acceptability.
1736 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1738 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1739 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1740 Handle COPY-CONTENTS. (Bug#15737)
1742 2013-10-28 Daiki Ueno <ueno@gnu.org>
1745 (epa-file-cache-passphrase-for-symmetric-encryption):
1746 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1748 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1750 * image.el (defimage):
1751 (image-load-path): Doc fixes.
1753 2013-10-27 Alan Mackenzie <acm@muc.de>
1755 Indent statements in macros following "##" correctly.
1756 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1757 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1759 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1761 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1763 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1765 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1766 after `=' is probably a new expression.
1768 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1770 * man.el (man-imenu-title): New option.
1771 (Man-mode-map): Add menu. (Bug#15722)
1772 (Man-mode): Add imenu to menu.
1774 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1776 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1777 specific in what the first arg can be: a non-keyword word,
1778 string/regexp/percent literal opener, opening paren, or unary
1779 operator followed directly by word.
1781 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1783 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1784 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1785 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1786 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1787 Remove vars, they do not apply any more.
1788 (prolog-mode-abbrev-table): Remove redundant declaration.
1789 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1790 (prolog-use-smie): Remove.
1791 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1792 supported by prolog-electric-if-then-else-flag.
1793 (prolog-mode-variables, prolog-menu): Use setq-local.
1794 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1795 Remove binding to `Backspace' since this key doesn't exist anyway.
1796 Remove bindings for electric self-inserting keys.
1797 (prog-mode): Assume it's defined.
1798 (prolog-post-self-insert): New function.
1799 (prolog-mode): Use it.
1800 (prolog-indent-line, prolog-indent-level)
1801 (prolog-find-indent-of-matching-paren)
1802 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1803 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1804 (prolog-goto-next-paren, prolog-in-string-or-comment)
1805 (prolog-tokenize, prolog-inside-mline-comment)
1806 (prolog-find-start-of-mline-comment): Remove functions.
1807 (prolog-find-unmatched-paren, prolog-clause-end)
1808 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1809 (prolog-electric--if-then-else): Rename from
1810 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1811 (prolog-tokenize-searchkey): Remove const.
1812 (prolog-clause-info): Use forward-sexp.
1813 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1814 (prolog-electric-if-then-else): Remove commands.
1815 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1816 for use in post-self-insert-hook.
1817 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1818 for use in post-self-insert-hook.
1819 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1820 for use in post-self-insert-hook.
1821 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1822 adapt it for use in post-self-insert-hook.
1824 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1826 * emacs-lisp/ert.el (ert-run-tests-interactively):
1827 Use `completing-read'. (Bug#9756)
1829 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1831 * simple.el (line-move): Call line-move-1 instead of
1832 line-move-visual when the current window hscroll is zero, but
1833 temporary-goal-column indicates we will need to hscroll as result
1834 of the movement. (Bug#15712)
1836 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1838 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1839 capitalization. Use :visible instead of :active.
1840 Fix `ruby-indent-exp' reference. Add menu items for the generic
1841 commands that are used with SMIE.
1842 (ruby-do-end-to-brace): Insert space after `{'.
1844 2013-10-25 John Anthony <john@jo.hnanthony.com>
1846 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1848 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1850 2013-10-25 Glenn Morris <rgm@gnu.org>
1852 * vc/vc.el (vc-print-log): Don't use a working revision unless
1853 one was explicitly specified. (Bug#15322)
1855 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1857 * subr.el (add-to-list): Preserve return value in compiler-macro
1860 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1862 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1863 result. Ask user to retry using '-all' flag. (Bug#15701)
1865 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1867 * emacs-lisp/smie.el: New smie-config system.
1868 (smie-config): New defcustom.
1869 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1870 (smie-config-guess, smie-config-save): New commands.
1871 (smie-config--mode-local, smie-config--buffer-local)
1872 (smie-config--trace, smie-config--modefuns): New vars.
1873 (smie-config--advice, smie-config--mode-hook)
1874 (smie-config--setter, smie-config-local, smie-config--get-trace)
1875 (smie-config--guess-value, smie-config--guess): New functions.
1876 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1877 text properties. Treat "string fence" syntax like string syntax.
1879 * progmodes/sh-script.el (sh-use-smie): Change default.
1880 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1881 (sh-var-value): Simplify by CSE.
1882 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1883 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1885 (sh-guess-basic-offset): Use cl-incf.
1886 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1888 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1890 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1893 2013-10-24 Glenn Morris <rgm@gnu.org>
1895 * Makefile.in (abs_top_srcdir): Remove.
1896 (update-subdirs): Use relative path to update-subdirs.
1898 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1900 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1901 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1902 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1903 Call unmsys--file-name before expand-file-name, not after it.
1905 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1907 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1908 (ert-test-skipped): New error.
1909 (ert-skip, ert-stats-skipped): New defuns.
1910 (ert--skip-unless): New macro.
1911 (ert-test-skipped): New struct.
1912 (ert--run-test-debugger, ert-test-result-type-p)
1913 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1914 (ert--stats-set-test-and-result, ert-char-for-test-result)
1915 (ert-string-for-test-result, ert-run-tests-batch)
1916 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1917 Handle skipped tests. (Bug#9803)
1919 2013-10-24 Glenn Morris <rgm@gnu.org>
1921 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1923 * Makefile.in (abs_top_srcdir): New, set by configure.
1924 (update-subdirs): Correct build-aux location.
1926 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1928 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1929 value, whether we could auto-deduce `backend', or not.
1931 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1932 with parameters" example. Simplify the "is it block or is it
1933 hash" check, but also make it more thorough.
1935 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1937 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1939 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1941 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1944 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1947 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1949 * progmodes/compile.el (compilation-directory-matcher)
1950 (compilation-page-delimiter):
1951 Support GNU Make-4.0 directory quoting. (Bug#15678)
1953 2013-10-23 Leo Liu <sdl.web@gmail.com>
1955 * ido.el (ido-tidy): Handle read-only text.
1957 2013-10-23 Glenn Morris <rgm@gnu.org>
1959 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1960 (emacs, compile, compile-always):
1961 Quote entities that might contain whitespace.
1962 (custom-deps, finder-data, autoloads): Use abs_lisp.
1963 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1964 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1965 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1967 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1969 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1970 Use `following-char'.
1972 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1974 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1975 * progmodes/ruby-mode.el (ruby-smie-rules):
1976 Remove corresponding workaround. Fix indentation rule of ";" so it
1977 also applies when ";" is the parent.
1979 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1981 * frame.el (display-screens, display-pixel-height)
1982 (display-pixel-width, display-mm-width, display-backing-store)
1983 (display-save-under, display-planes, display-color-cells)
1984 (display-visual-class, display-monitor-attributes-list):
1985 Mention the optional ‘display’ argument in doc strings.
1987 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1989 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1990 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1992 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1994 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1995 TODO. Add "." after " @ ".
1996 (ruby-smie--at-dot-call): New function. Checks if point at method
1997 call with explicit target.
1998 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1999 to the method name tokens when it precedes them.
2000 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2001 (ruby-smie-rules): Add rule for indentation before and after "."
2004 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2006 * textmodes/remember.el (remember-diary-extract-entries):
2009 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2012 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2014 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2015 (ruby-smie--implicit-semi-p): Add new operator chars.
2017 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2019 (ruby-smie--args-separator-p): Check that there's no newline
2020 between method call and its arguments.
2022 2013-10-20 Alan Mackenzie <acm@muc.de>
2024 Allow comma separated lists after Java "implements".
2026 * progmodes/cc-engine.el (c-backward-over-enum-header):
2028 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2029 from a "disallowed" list in enum fontification.
2031 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2033 * startup.el (default-frame-background-mode): Remove unused defvar.
2035 * progmodes/verilog-mode.el (verilog-mode): Don't set
2036 comment-indent-function globally.
2038 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2040 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2041 Move Info menu item creation to ns-win.el.
2043 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2046 * menu-bar.el: Move GNUStep specific menus...
2048 * term/ns-win.el (ns-initialize-window-system): ... to here.
2050 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2052 * simple.el (newline): Only run post-self-insert-hook when
2053 called interactively.
2055 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2057 * icomplete.el (icomplete-with-completion-tables): Add :version.
2059 2013-10-19 Alan Mackenzie <acm@muc.de>
2061 Fix fontification bugs with constructors and const.
2063 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2064 CASE 2) Remove the check for the absence of a suffix construct
2065 after a function declaration with only types (no identifiers) in
2066 the parentheses. Also, accept a function declaration with just a
2067 type inside the parentheses, if this type can be positively
2068 recognised as such, or if a prefix keyword like "explicit" nails
2069 down the construct as a declaration.
2071 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2073 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2074 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2075 the problem whereby selecting a menu item that leads to a
2076 minibuffer prompt moves the cursor out of the minibuffer window,
2077 making it hard to type at the prompt. Suggested by Stefan Monnier
2078 <monnier@iro.umontreal.ca>.
2080 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2082 * menu-bar.el: Don't make Services menu.
2084 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2086 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2087 (ffap-alist): Use ffap-c++-mode for c++-mode.
2088 (ffap-c++-path): New variable.
2089 (ffap-c++-mode): New function.
2091 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2093 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2095 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2097 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2098 introduced on 2013-09-08, which results in an infinite loop
2099 requesting a password.
2101 2013-10-18 Glenn Morris <rgm@gnu.org>
2103 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2105 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2107 Sync with upstream verilog-mode revision 1a6ecec7.
2108 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2109 (verilog-mode-release-date): Remove.
2110 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2111 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2112 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2113 (verilog-auto-tieoff-ignore-regexp)
2114 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2115 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2116 (verilog-signals-with, verilog-dir-cache-preserving)
2117 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2119 (verilog-case-fold): New option, to control case folding in
2120 regexp searches, bug597.
2121 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2122 (verilog-string-match-fold, verilog-in-paren-count)
2123 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2124 (verilog-at-close-struct-p): New functions.
2125 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2126 (verilog-forward-sexp, verilog-set-auto-endcomments):
2127 (verilog-leap-to-case-head): Handle "unique0" case.
2128 (verilog-in-constraint-re): New constant.
2129 (verilog-keywords, verilog-type-font-keywords):
2130 Add some SystemVerilog 1800-2012 keywords.
2131 (verilog-label-be): Remove unimplemented argument, bug669.
2132 (verilog-batch-execute-func): When batch expanding clear
2133 create-lockfiles to prevent spurious user locks when a file ends
2135 (verilog-calculate-indent, verilog-calc-1)
2136 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2137 (verilog-do-indent): Fix indentation of nested constraints
2139 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2140 (verilog-auto-inst-param): Use verilog-string-match-fold.
2141 (verilog-read-inst-module-matcher):
2142 Fix AUTOINST on gate primitives with #1.
2143 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2144 Reads all user-defined typed variables.
2145 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2146 (verilog-signals-matching-regexp)
2147 (verilog-signals-not-matching-regexp, verilog-auto):
2148 Respect verilog-case-fold.
2149 (verilog-diff-report): Fix line count.
2150 (verilog-auto-assign-modport): Remove unused local `modi'.
2151 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2152 better handle multidimensional arrays.
2153 Fix packed array ports misadding bit index in AUTOINST, bug637.
2154 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2155 to not double-declare existing outputs and inputs, respectively.
2156 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2157 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2158 (verilog-sk-uvm-component): New skeleton.
2159 (verilog-submit-bug-report): Add verilog-case-fold,
2160 remove verilog-mode-release-date.
2162 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2164 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2167 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2169 * textmodes/remember.el (remember): set buffer-offer-save in
2170 remember buffers (bug#13566).
2172 2013-10-18 Daniel Colascione <dancol@dancol.org>
2174 When evaluating forms in ielm, direct standard output to ielm
2175 buffer. Add new ielm-return-for-effect command. Remove trailing
2176 whitespace throughout.
2178 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2179 (ielm-return-for-effect): New command.
2180 (ielm-send-input): Accept optional `for-effect' parameter.
2181 (ielm-eval-input): Accept optional `for-effect' parameter.
2182 Bind `standard-output' to stream we create using
2183 `ielm-standard-output-impl'. Suppress printing result when
2185 (ielm-standard-output-impl): New function.
2186 (inferior-emacs-lisp-mode): Explain new features in documentation.
2188 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2192 * net/tramp.el (tramp-debug-message): Do not check for connection
2194 (tramp-message): Use "vector" connection property.
2196 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2197 (tramp-equal-remote, tramp-eshell-directory-change)
2198 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2199 (tramp-adb-handle-rename-file)
2200 * net/tramp-cmds.el (tramp-list-remote-buffers)
2201 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2202 * net/tramp-compat.el (tramp-compat-process-running-p)
2203 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2204 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2205 (tramp-gvfs-handle-rename-file)
2206 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2207 (tramp-set-file-uid-gid)
2208 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2209 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2212 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2213 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2214 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2215 (tramp-gw-open-network-stream): Suppress unrelated traces.
2217 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2218 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2219 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2220 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2221 connection property.
2223 * net/tramp-cache.el (top): Suppress traces when reading
2226 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2227 Refactor common code. Improve debug message.
2228 (tramp-maybe-open-connection)
2229 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2230 connection buffer too early.
2232 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2233 from `tramp-smb-actions-with-acl'.
2234 (tramp-smb-actions-set-acl): New defconst.
2235 (tramp-smb-handle-copy-directory)
2236 (tramp-smb-action-get-acl): New defun, renamed from
2237 `tramp-smb-action-with-acl'.
2238 (tramp-smb-action-set-acl): New defun.
2239 (tramp-smb-handle-set-file-acl): Rewrite.
2241 2013-10-17 Glenn Morris <rgm@gnu.org>
2243 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2245 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2247 * skeleton.el (skeleton-newline): Remove.
2248 (skeleton-internal-1): Use (insert "\n") instead.
2250 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2253 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2254 forward-sexp-function while we redo its job (bug#15613).
2256 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2258 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2259 represented by lists.
2261 2013-10-16 Glenn Morris <rgm@gnu.org>
2263 * tmm.el (tmm--history): New dynamic variable.
2264 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2266 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2268 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2269 (tramp-smb-errors): Add error messages.
2270 (tramp-smb-actions-with-acl): New defconst.
2271 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2272 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2273 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2274 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2275 (tramp-smb-get-stat-capability): Fix tests.
2277 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2279 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2282 2013-10-16 Glenn Morris <rgm@gnu.org>
2284 * ansi-color.el (ansi-color-drop-regexp):
2285 Add 1J, 1K, 2K. (Bug#15617)
2287 * files.el (hack-local-variables--warned-lexical): New.
2288 (hack-local-variables):
2289 Warn about misplaced lexical-binding. (Bug#15616)
2291 * net/eww.el (eww-render): Always set eww-current-url,
2292 and update header line. (Bug#15622)
2293 (eww-display-html): ... Rather than just doing it here.
2295 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2297 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2298 menu navigations commands.
2300 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2302 * progmodes/subword.el (subword-capitalize): Be careful when
2303 the search for [[:alpha:]] fails (bug#15580).
2305 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2307 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2308 to commands that scroll the menu.
2310 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2312 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2313 Handle methods ending with `?' and `!'.
2315 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2317 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2318 `japanese-cp932' to `cp932' to fix the problem where saving a
2319 source file written in Shift_JIS twice would end up having
2320 `coding: japanese-cp932' which Ruby could not recognize.
2321 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2322 in `ruby-encoding-map'.
2323 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2324 doesn't need to be explicitly declared in magic comment.
2325 (ruby-encoding-map): Add type declaration for better customize UI.
2327 2013-10-13 Glenn Morris <rgm@gnu.org>
2329 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2330 Occur buffers are read-only. http://bugs.debian.org/720775
2332 * emacs-lisp/authors.el (authors-fixed-entries):
2333 Comment out old alpha stuff.
2335 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2337 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2338 to `after-save-hook' instead of `before-save-hook'.
2339 (ruby-mode-set-encoding): Use the value of coding system used to
2340 write the file. Call `basic-save-buffer-1' after modifying the
2343 2013-10-13 Alan Mackenzie <acm@muc.de>
2345 Fix indentation/fontification of Java enum with
2346 "implements"/generic.
2348 * progmodes/cc-engine.el (c-backward-over-enum-header):
2349 Extracted from the three other places and enhanced to handle generics.
2350 (c-inside-bracelist-p): Uses new function above.
2351 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2353 (c-font-lock-enum-tail): Uses new function above.
2355 2013-10-13 Kenichi Handa <handa@gnu.org>
2357 * international/mule-cmds.el (select-safe-coding-system): Remove a
2358 superfluous condition in chekcing whether a coding system is safe
2361 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2363 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2365 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2367 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2369 2013-10-13 Glenn Morris <rgm@gnu.org>
2371 * menu-bar.el (menu-bar-update-buffers):
2372 Unify Buffers menu prompt string. (Bug#15576)
2374 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2376 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2378 (authors-fixed-entries): Use accented form of name.
2380 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2382 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2383 method calls (bug#15594).
2384 (ruby-smie--args-separator-p): New function.
2385 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2386 recognize paren-free method calls.
2388 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2389 internals of universal-argument.
2391 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2393 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2394 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2395 dropped menu on second mouse click on the menu bar.
2397 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2399 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2400 (explicit-shell-file-name): Declare.
2401 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2402 (sh-completion-at-point-function): New function.
2404 (sh-smie--keyword-p): Remove unused argument.
2405 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2407 (sh-set-shell): Always setup SMIE, even if we use the
2408 old indentation code.
2410 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2412 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2414 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2415 predicate would return nil are almost non-existent.
2416 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2418 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2419 cache also after commands that modify the buffer but don't move
2422 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2424 * env.el (substitute-env-in-file-name): New function.
2425 (substitute-env-vars): Extend the meaning of the optional arg.
2427 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2429 * term/w32-win.el (dynamic-library-alist): Define separate lists
2430 of GIF DLLs for versions before and after 5.0.0 of giflib.
2433 2013-10-10 João Távora <joaotavora@gmail.com>
2435 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2436 not locked, use last revision and current source as
2437 defaults. (Bug#15569)
2439 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2441 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2444 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2446 * window.el (pop-to-buffer-same-window): Fix doc-string.
2449 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2451 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2453 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2455 * calendar/icalendar.el (icalendar-import-file):
2456 Fix interactive spec. (Bug#15482)
2458 2013-10-10 Glenn Morris <rgm@gnu.org>
2460 * desktop.el (desktop-save): Default to saving in .emacs.d,
2461 since PWD is no longer in desktop-path by default. (Bug#15319)
2463 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2464 now that text mode has a menu with the same entry.
2465 (menu-bar-text-mode-auto-fill): Remove now unused func.
2466 * textmodes/text-mode.el (text-mode-map):
2467 Use auto-fill help text from menu-bar.el.
2469 2013-10-10 John Anthony <john@jo.hnanthony.com>
2471 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2473 2013-10-09 Juri Linkov <juri@jurta.org>
2475 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2476 instead of this-command-keys. Add universal-argument-more and
2477 universal-argument-minus to the list of prefix commands. (Bug#15568)
2479 2013-10-09 Glenn Morris <rgm@gnu.org>
2481 * vc/vc-svn.el (vc-svn-create-repo):
2482 Expand paths in file://... url. (Bug#15446)
2484 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2486 (authors): Remove unused local variables.
2488 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2490 * profiler.el: Create a more coherent calltree from partial backtraces.
2491 (profiler-format): Hide the tail with `invisible' so that C-s can still
2492 find the hidden elements.
2493 (profiler-calltree-depth): Don't recurse so enthusiastically.
2494 (profiler-function-equal): New hash-table-test.
2495 (profiler-calltree-build-unified): New function.
2496 (profiler-calltree-build): Use it.
2497 (profiler-report-make-name-part): Indent the calltree less.
2498 (profiler-report-mode): Add visibility specs for profiler-format.
2499 (profiler-report-expand-entry, profiler-report-toggle-entry):
2500 Expand the whole subtree when provided with a prefix arg.
2502 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2504 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2506 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2507 hanging iuwu-mod token.
2508 (ruby-smie--forward-token): Do not include a dot after a token in
2510 (ruby-smie--backward-token): Likewise.
2512 2013-10-08 Juri Linkov <juri@jurta.org>
2514 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2515 to isearch-other-control-char.
2516 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2517 and isearch-post-command-hook to post-command-hook.
2518 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2519 and isearch-post-command-hook from post-command-hook.
2520 (isearch-unread-key-sequence)
2521 (isearch-reread-key-sequence-naturally)
2522 (isearch-lookup-scroll-key, isearch-other-control-char)
2523 (isearch-other-meta-char): Remove functions.
2524 (isearch-pre-command-hook, isearch-post-command-hook):
2525 New functions based on isearch-other-meta-char rewritten
2526 relying on the new behavior of overriding-terminal-local-map
2527 that does not replace the local keymaps any more. (Bug#15200)
2529 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2531 Support menus on text-mode terminals.
2532 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2535 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2537 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2538 Move here from mouse.el.
2539 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2541 (tty-menu-navigation-map): New map for TTY menu navigation.
2543 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2545 * frame.el (display-mouse-p): Report text-mode mouse as available
2547 (display-popup-menus-p): Report availability if mouse is
2548 available; don't condition on window-system.
2550 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2551 (tty-menu-selected-face): New faces.
2553 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2555 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2556 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2557 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2558 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2560 (lisp-mode-variables): New `elisp' argument.
2561 (emacs-lisp-mode): Use it.
2562 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2563 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2565 * indent.el: Use lexical-binding.
2566 (indent-region): Add progress reporter.
2567 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2569 (indent--next-tab-stop): New function to implement this behavior.
2570 (tab-to-tab-stop, move-to-tab-stop): Use it.
2572 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2574 * indent.el (indent-rigidly--current-indentation): New function.
2575 (indent-rigidly-map): New var.
2576 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2578 2013-10-08 Bastien Guerry <bzg@gnu.org>
2580 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2582 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2584 * progmodes/perl-mode.el: Use lexical-binding.
2585 Remove redundant :group args.
2586 (perl-nochange): Change default to be closer to other major modes's
2588 (perl-indent-line): Don't consider text on current line as a
2589 valid beginning of function from which to indent.
2591 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2592 with more than one argument (bug#15538).
2594 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2596 * vc/pcvs.el: Use lexical-binding.
2597 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2598 environment of `eval'.
2599 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2600 than a list of expressions. Adjust callers.
2601 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2603 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2605 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2606 case of the dot in a chained method call being on the following line.
2608 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2610 * electric.el (electric-indent-inhibit): New var.
2611 (electric-indent-post-self-insert-function): Use it.
2612 * progmodes/python.el (python-mode): Set it.
2614 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2617 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2619 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2620 (css-mode): Use electric-indent-chars.
2622 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2623 (font-lock-beg, font-lock-end): Move before first use.
2624 (nxml-mode): Use syntax-propertize-function.
2625 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2626 (nxml-extend-after-change-region): Remove.
2627 * nxml/xmltok.el: Use lexical-binding.
2628 (xmltok-save): Use `declare'.
2629 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2630 * nxml/nxml-util.el: Use lexical-binding.
2631 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2633 * nxml/nxml-ns.el: Use lexical-binding.
2634 (nxml-ns-save): Use `declare'.
2635 (nxml-ns-prefixes-for): Avoid add-to-list.
2636 * nxml/rng-match.el: Use lexical-binding.
2637 (rng--ipattern): Use cl-defstruct.
2638 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2639 (rng-cons-group-after, rng-subst-group-after)
2640 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2641 Use closures instead of `(lambda...).
2643 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2645 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2648 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2649 Use `tramp-handle-insert-file-contents'.
2650 (tramp-gvfs-handle-insert-file-contents): Remove function.
2652 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2653 Use `save-restriction' in order to keep markers.
2655 * net/trampver.el: Update release number.
2657 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2659 * progmodes/compile.el (compilation-parse-errors):
2660 Use compilation--put-prop.
2661 (compilation--ensure-parse): Check compilation-multiline.
2663 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2665 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2668 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2670 * progmodes/ruby-mode.el: Fix recently added tests.
2671 (ruby-smie-grammar): Add - and +.
2672 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2673 (ruby-smie--backward-id): New functions.
2674 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2675 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2678 2013-10-07 Leo Liu <sdl.web@gmail.com>
2680 * register.el (register-preview-delay)
2681 (register-preview-functions): New variables.
2682 (register-read-with-preview, register-preview)
2683 (register-describe-oneline): New functions.
2684 (point-to-register, window-configuration-to-register)
2685 (frame-configuration-to-register, jump-to-register)
2686 (number-to-register, view-register, insert-register)
2687 (copy-to-register, append-to-register, prepend-to-register)
2688 (copy-rectangle-to-register): Use register-read-with-preview to
2689 read register. (Bug#15525)
2691 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2693 * net/network-stream.el (network-stream-open-starttls): Don't add
2694 --insecure if it's already present, because that gnutls-cli
2695 rejects getting that parameter twice.
2697 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2699 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2702 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2704 * newcomment.el (comment-use-global-state): Change default value
2705 to t, mark obsolete (Bug#15251).
2706 (comment-beginning): In addition to `comment-to-syntax', check the
2707 value of `comment-use-global-state'.
2709 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2711 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2712 (ruby-comment-column): Follow the global default, by default.
2713 (ruby-smie-grammar): Add assignment syntax.
2714 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2715 open-paren, a comma, or a \.
2716 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2717 and line continuations.
2718 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2719 followed by implicit semi-colons. Add rule for string concatenation
2720 and for indentation at BOB.
2721 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2723 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2724 calling next-sexp, since next-token may have skipped chars which
2725 next-sexp doesn't know should be skipped!
2727 2013-10-05 Leo Liu <sdl.web@gmail.com>
2729 * progmodes/octave.el (octave-send-region):
2730 Call compilation-forget-errors.
2732 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2734 * vc/vc-svn.el (vc-svn-find-admin-dir):
2735 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2736 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2737 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2738 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2740 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2742 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2744 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2746 * subr.el (read-passwd): Hide chars even when called within a context
2747 where after-change-functions is disabled (bug#15501).
2748 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2749 until we removed ourself from overriding-terminal-local-map.
2751 2013-10-04 Leo Liu <sdl.web@gmail.com>
2753 * progmodes/octave.el (inferior-octave-mode):
2754 Call compilation-forget-errors.
2756 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2758 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2760 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2762 * net/secrets.el (secrets-create-collection): Add optional
2763 argument ALIAS. Use proper Label keyword. Append ALIAS as
2764 dbus-call-method argument. (Bug#15516)
2766 2013-10-04 Leo Liu <sdl.web@gmail.com>
2768 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2769 (inferior-octave-compilation-font-lock-keywords): New variables.
2770 (compilation-error-regexp-alist)
2771 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2772 (inferior-octave-mode): Use compilation-shell-minor-mode.
2774 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2776 * minibuffer.el (completion--replace): Be careful that `end' might be
2779 2013-10-03 Daiki Ueno <ueno@gnu.org>
2781 Add support for package signature checking.
2782 * emacs-lisp/package.el (url-http-file-exists-p)
2783 (epg-make-context, epg-context-set-home-directory)
2784 (epg-verify-string, epg-context-result-for)
2785 (epg-signature-status, epg-signature-to-string)
2786 (epg-check-configuration, epg-configuration)
2787 (epg-import-keys-from-file): Declare.
2788 (package-check-signature): New user option.
2789 (package-unsigned-archives): New user option.
2790 (package-desc): Add `signed' field.
2791 (package-load-descriptor): Set `signed' field if .signed file exists.
2792 (package--archive-file-exists-p): New function.
2793 (package--check-signature): New function.
2794 (package-install-from-archive): Check package signature.
2795 (package--download-one-archive): Check archive signature.
2796 (package-delete): Remove .signed file.
2797 (package-import-keyring): New command.
2798 (package-refresh-contents): Import default keyring.
2799 (package-desc-status): Add "unsigned" status.
2800 (describe-package-1, package-menu--print-info)
2801 (package-menu-mark-delete, package-menu--find-upgrades)
2802 (package-menu--status-predicate): Support "unsigned" status.
2804 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2806 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2807 the new compilation scheme using the new byte-codes.
2809 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2810 (byte-pophandler): New byte codes.
2811 (byte-goto-ops): Adjust accordingly.
2812 (byte-compile--use-old-handlers): New var.
2813 (byte-compile-catch): Use new byte codes depending on
2814 byte-compile--use-old-handlers.
2815 (byte-compile-condition-case--old): Rename from
2816 byte-compile-condition-case.
2817 (byte-compile-condition-case--new): New function.
2818 (byte-compile-condition-case): New function that dispatches depending
2819 on byte-compile--use-old-handlers.
2820 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2823 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2824 Optimize under `condition-case' and `catch' if
2825 byte-compile--use-old-handlers is nil.
2826 (disassemble-offset): Handle new bytecodes.
2828 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2830 * subr.el (error): Use `declare'.
2831 (decode-char, encode-char): Use advertised-calling-convention instead
2832 of the docstring to discourage use of the `restriction' arg.
2834 2013-10-03 Daiki Ueno <ueno@gnu.org>
2836 * epg.el (epg-verify-file): Add a comment saying that it does not
2837 notify verification error as a return value nor a signal.
2838 (epg-verify-string): Ditto.
2840 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2842 * progmodes/compile.el (compilation-start): Try globbing the arg to
2845 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2847 Sync with Tramp 2.2.8.
2849 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2850 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2851 * net/trampver.el: Update release number.
2853 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2855 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2856 and default-process-coding-system for darwin only.
2858 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2860 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2862 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2864 * vc/vc-git.el (vc-git-grep): Disable pager.
2866 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2868 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2869 Use :url instead of :homepage, as per
2870 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2872 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2873 non-nil, use `syntax-ppss' (Bug#15251).
2875 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2877 * progmodes/octave.el (inferior-octave-startup-file):
2878 Prefer ~/.emacs.d/init_octave.m.
2880 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2882 * emacs-lisp/package.el (package-desc-from-define):
2883 Accept additional arguments as plist, convert them to an alist and store
2884 them in the `extras' slot.
2885 (package-generate-description-file): Convert extras alist back to
2886 plist and append to the `define-package' form arguments.
2887 (package--alist-to-plist): New function.
2888 (package--ac-desc): Add `extras' slot.
2889 (package--add-to-archive-contents): Check if the archive-contents
2890 vector is long enough, and if it is, pass its `extras' slot value
2891 to `package-desc-create'.
2892 (package-buffer-info): Call `lm-homepage', pass the returned value
2893 to `package-desc-from-define'.
2894 (describe-package-1): Render the homepage button (Bug#13291).
2896 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2897 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2899 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2901 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2902 and default-process-coding-system to utf-8-unix (Bug#15402).
2904 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2906 * subr.el (looking-back): Do not recommend using looking-back.
2908 2013-09-28 Alan Mackenzie <acm@muc.de>
2910 Fix indentation/fontification of Java enum with "implements".
2912 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2913 regexp which matches "implements", etc., in Java.
2914 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2915 specifier clauses coming after "enum".
2916 * progmodes/cc-fonts.el (c-font-lock-declarations)
2917 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2920 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2922 * faces.el (region): Change ns_selection_color to
2923 ns_selection_fg_color, add ns_selection_bg_color.
2925 2013-09-28 Leo Liu <sdl.web@gmail.com>
2927 * progmodes/octave.el (inferior-octave-completion-table)
2928 (inferior-octave-completion-at-point): Minor tweaks.
2930 * textmodes/ispell.el (ispell-lookup-words): Rename from
2931 lookup-words. (Bug#15460)
2932 (lookup-words): Obsolete.
2933 (ispell-complete-word, ispell-command-loop): All uses changed.
2935 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2937 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2938 (octave-mode-menu): Add octave-send-buffer.
2939 (octave-send-buffer): New function.
2941 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2943 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2945 (octave-mode-menu): Add octave-lookfor.
2946 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2948 (octave-lookfor): New function.
2950 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2952 * emacs-lisp/cl-macs.el:
2953 (cl--loop-destr-temps): Remove.
2954 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2956 (cl--loop-set-iterator-function): New function.
2957 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2958 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2959 Bind `it' with `let' instead of substituting it with `cl-subst'.
2960 (cl--unused-var-p): New function.
2961 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2962 Eliminate some unused variable warnings (bug#15326).
2964 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2966 * doc-view.el (doc-view-scale-reset): Rename from
2967 `doc-view-reset-zoom-level'.
2968 (doc-view-scale-adjust): New command.
2969 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2970 `doc-view-scale-adjust'.
2972 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2974 * doc-view.el (doc-view-reset-zoom-level): New command.
2975 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2976 zoom commands (bug#15466).
2978 2013-09-26 Kenichi Handa <handa@gnu.org>
2980 * international/quail.el (quail-help): Make it not a command.
2982 2013-09-26 Leo Liu <sdl.web@gmail.com>
2984 * minibuffer.el (completion-all-sorted-completions): Make args
2985 optional as they are.
2987 2013-09-25 Daniel Colascione <dancol@dancol.org>
2989 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2990 specs are and that they're not evaluated.
2992 2013-09-24 Sam Steingold <sds@gnu.org>
2994 * midnight.el (clean-buffer-list-kill-regexps)
2995 (clean-buffer-list-kill-buffer-names): Update for the new Man
2996 buffer naming which includes the object name.
2998 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3000 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3001 (eshell-parse-command, eshell-parse-pipeline): Use it since
3002 eshell-separate-commands requires a dynamic scoped var.
3003 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3005 2013-09-23 Leo Liu <sdl.web@gmail.com>
3007 * autoinsert.el (auto-insert-alist): Make the value of
3008 lexical-binding match its file setting.
3010 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3012 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3014 * autoarg.el (autoarg-kp-digit-argument):
3015 * electric.el (Electric-command-loop):
3016 * kmacro.el (kmacro-step-edit-insert):
3017 Do not set universal-argument-num-events.
3019 2013-09-22 Leo Liu <sdl.web@gmail.com>
3021 * files.el (interpreter-mode-alist): Add octave.
3023 2013-09-21 Alan Mackenzie <acm@muc.de>
3025 C++: fontify identifier in declaration following "public:" correctly.
3026 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3027 to match "public", etc.
3028 (c-decl-prefix-re): Add ":" into the C++ value.
3029 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3030 bit. Add a check for a ":" preceded by "public", etc.
3032 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3034 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3035 recognized by GDB 7.5 and later.
3037 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3039 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3041 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3043 * subr.el (internal--call-interactively): New const.
3044 (called-interactively-p): Use it (bug#3984).
3046 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3048 * vc/pcvs.el (cvs-mode-ignore):
3049 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3050 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3052 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3054 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3055 (eshell-ls-orig-insert-directory): Remove.
3056 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3057 (eshell-ls-use-in-dired): Use advice-add/remove.
3058 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3059 Add `orig-fun' arg for use in :around advice.
3060 Make it check (redundantly) eshell-ls-use-in-dired.
3062 2013-09-19 Glenn Morris <rgm@gnu.org>
3064 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3066 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3068 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3070 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3072 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3073 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3074 (tramp-get-remote-python): New defuns.
3075 (tramp-get-remote-uid-with-perl)
3076 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3077 contributed by yary <not.com@gmail.com> (tiny change).
3078 (tramp-get-remote-uid-with-python)
3079 (tramp-get-remote-gid-with-python): New defuns. Python code
3080 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3081 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3083 2013-09-19 Glenn Morris <rgm@gnu.org>
3085 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3087 * eshell/em-unix.el (eshell-remove-entries):
3088 Rename argument to avoid name-clash with global `top-level'.
3090 * eshell/esh-proc.el (eshell-kill-process-function):
3091 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3092 (eshell-reset-after-proc): Remove unused arg `proc'.
3094 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3095 (directory-files-and-attributes): Mark unused arg.
3097 * eshell/em-unix.el (eshell-remove-entries):
3098 Remove unused arg `path'. Update callers.
3100 * eshell/em-hist.el (eshell-hist-parse-arguments):
3101 Remove unused arg `silent'. Update callers.
3103 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3104 Fix (f)boundp mix-up.
3106 * eshell/em-smart.el (eshell-smart-scroll-window)
3107 (eshell-disable-after-change):
3108 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3110 2013-09-18 Alan Mackenzie <acm@muc.de>
3112 Fix fontification of type when followed by "const".
3113 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3114 "known" types from fontification.
3116 2013-09-18 Glenn Morris <rgm@gnu.org>
3118 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3119 (chart-face-list): Drop Emacsen without display-color-p.
3121 * net/eww.el (libxml-parse-html-region): Declare.
3122 (eww-display-html): Explicit error if no libxml2 support.
3124 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3126 * image.el (image-type-from-buffer, image-multi-frame-p):
3127 Remove --without-x warning/error.
3129 * mouse.el (mouse-yank-primary):
3130 * term.el (term-mouse-paste):
3131 Reorder to silence --without-x compilation.
3133 * mpc.el (doc-view-mode): Silence --without-x compilation.
3135 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3136 Silence --without-x compilation.
3138 * progmodes/gud.el (gud-find-file, gud-mode):
3139 Silence --without-x compilation.
3140 (tooltip-mode): Declare.
3142 * wdired.el (dired-backup-overwrite): Remove declaration.
3143 (wdired-mode-map): Add doc string.
3145 * custom.el (x-get-resource): Declare.
3147 * eshell/em-glob.el (ange-cache):
3148 * eshell/em-unix.el (ange-cache): Declare.
3150 * faces.el (x-display-list, x-open-connection, x-get-resource):
3153 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3154 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3157 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3159 * net/gnutls.el (gnutls-log-level): Declare.
3161 * net/shr.el (image-size, image-animate): Declare.
3163 * simple.el (font-info): Declare.
3165 * subr.el (x-popup-dialog): Declare.
3167 * term/common-win.el (x-select-enable-primary)
3168 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3171 * term/ns-win.el (x-handle-args): Declare.
3173 * term/x-win.el (x-select-enable-clipboard): Declare.
3175 * term/w32-win.el (create-default-fontset): Declare.
3177 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3180 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3181 (fit-frame-to-buffer): Explicit error if --without-x.
3182 (mouse-autoselect-window-select): Silence compiler.
3184 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3186 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3187 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3188 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3189 * eshell/esh-util.el (eshell-sublist):
3190 Remove unused local variables.
3192 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3194 * textmodes/two-column.el: Make 2C-split work for --without-x.
3195 (scroll-bar-columns): Autoload.
3196 (top-level): Require fringe when compiling.
3198 2013-09-18 Leo Liu <sdl.web@gmail.com>
3200 * subr.el (add-hook): Robustify to handle closure as well.
3202 2013-09-17 Glenn Morris <rgm@gnu.org>
3204 * simple.el (messages-buffer-mode-map): Unbind "g".
3206 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3208 * help-mode.el (help-mode-finish): Use derived-mode-p.
3209 Remove obsolete highlighting.
3211 * play/life.el (life-mode): Use define-derived-mode. Derive from
3213 (life): Let-bind inhibit-read-only.
3214 (life-setup): Avoid `setq'. Use `life-mode'.
3216 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3217 which should not be needed any more.
3218 (package-menu-refresh, package-menu-describe-package): Use user-error.
3220 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3221 (eshell-post-rewrite-command-hook): Make obsolete.
3222 (eshell-parse-command): Simplify.
3223 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3224 (eshell--cmd): Declare.
3225 (eshell-parse-pipeline): Remove unused var `final-p'.
3226 Pass a dynvar to eshell-post-rewrite-command-hook.
3227 Implement the new eshell-post-rewrite-command-function.
3228 (eshell-invoke-directly): Remove unused arg `input'.
3229 * eshell/esh-io.el (eshell-io-initialize):
3230 Use eshell-post-rewrite-command-function (bug#15399).
3231 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3232 adjust to new calling convention.
3233 (eshell-create-handles): Rename args to avoid clashing with dynvar
3236 2013-09-17 Glenn Morris <rgm@gnu.org>
3238 * simple.el (messages-buffer-mode): New major mode.
3239 (messages-buffer): New function.
3240 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3241 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3242 (ert-run-test): Use `messages-buffer' function.
3243 (ert--force-message-log-buffer-truncation): Ignore read-only.
3244 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3245 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3247 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3249 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3251 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3253 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3255 * icomplete.el (icomplete-in-buffer): New var.
3256 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3257 vars and replace them with functions.
3258 (icomplete-minibuffer-setup): Adjust accordingly.
3259 (icomplete--completion-table, icomplete--completion-predicate)
3260 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3262 (icomplete-forward-completions, icomplete-backward-completions)
3263 (icomplete-simple-completing-p, icomplete-exhibit)
3264 (icomplete-completions): Use them.
3265 (icomplete--in-region-buffer): New var.
3266 (icomplete--in-region-setup): New function.
3267 (icomplete-mode): Use it.
3269 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3271 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3272 return args and options.
3273 (eshell-eval-using-options): Use the new return value of
3274 eshell--do-opts to set the options's vars in their scope.
3275 (eshell--set-option): Rename from eshell-set-option.
3277 (eshell--process-option): Rename from eshell-process-option.
3279 (eshell--process-args): Use an `opt-vals' alist to store the options's
3280 values during their processing and return them additionally to the
3283 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3285 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3286 continuation character an operator, as far as indentation is
3287 concerned (Bug#15369).
3289 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3291 * window.el (window--state-put-2): Don't process buffer state
3292 when buffer doesn't exist any more (Bug#15382).
3294 2013-09-15 Glenn Morris <rgm@gnu.org>
3296 * eshell/em-unix.el (eshell/rm):
3297 Make -f ignore missing files. (Bug#15373)
3299 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3300 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3301 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3303 2013-09-14 Glenn Morris <rgm@gnu.org>
3305 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3307 2013-09-13 Glenn Morris <rgm@gnu.org>
3309 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3310 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3312 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3314 * frame.el (x-focus-frame): Mark as declared in frame.c.
3316 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3318 * ls-lisp.el: Use advice-add.
3319 (original-insert-directory): Remove.
3320 (ls-lisp--insert-directory): Rename from insert-directory; add
3321 `orig-fun' argument.
3322 (insert-directory): Advise.
3324 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3326 * term.el (term-emulate-terminal): Decode the command string
3327 before passing it to term-command-hook. (Bug#15337)
3329 2013-09-13 Glenn Morris <rgm@gnu.org>
3331 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3333 * eshell/esh-ext.el (eshell-search-path): Declare.
3335 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3336 Otherwise an error occurs if eshell-dirs module not loaded.
3338 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3340 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3342 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3343 `tramp-check-proper-host'. Check for a valid method name.
3345 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3346 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3347 * net/tramp-sh.el (tramp-maybe-open-connection):
3348 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3350 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3351 also for hash values.
3353 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3355 * term/ns-win.el (parameters): Don't declare as dynamic.
3356 (before-make-frame-hook): Don't add ineffective function.
3358 * eshell/*.el: Use lexical-binding (bug#15231).
3360 2013-09-12 Kenichi Handa <handa@gnu.org>
3362 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3364 2013-09-12 Glenn Morris <rgm@gnu.org>
3366 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3367 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3369 * subr.el (do-after-load-evaluation): Also give compiler warnings
3370 when obsolete files are used (except by obsolete files).
3372 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3373 in the status output, assume `filename' is the first. (Bug#15322)
3375 * vc/vc.el (vc-deduce-fileset): Doc fix.
3377 * calc/calc-help.el (Info-goto-node):
3378 * progmodes/cperl-mode.el (Info-find-node):
3379 * vc/ediff.el (Info-goto-node): Update declarations.
3381 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3383 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3384 (vc-bzr-pull): Require vc-dispatcher.
3385 * vc/vc-git.el (vc-compilation-mode): Declare.
3386 (vc-git-pull): Require vc-dispatcher.
3388 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3390 * progmodes/octave.el (help-button-action): Declare.
3392 * shell.el (shell-directory-tracker): Output error as a message
3393 rather than just returning it as a string.
3394 (shell-process-pushd): Remove useless use of message.
3396 * dframe.el (dframe-timer-fn):
3397 * files.el (dir-locals-read-from-file):
3398 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3400 * reveal.el (reveal-post-command):
3401 * saveplace.el (load-save-place-alist-from-file):
3402 * shell.el (shell-resync-dirs):
3403 * w32-common-fns.el (x-get-selection-value):
3404 * emacs-lisp/copyright.el (copyright-find-copyright):
3405 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3406 * emulation/tpu-edt.el (tpu-copy-keyfile):
3407 * play/bubbles.el (bubbles--mark-neighbourhood):
3408 * progmodes/executable.el
3409 (executable-make-buffer-file-executable-if-script-p):
3410 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3412 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3414 Cleanup Eshell to rely less on dynamic scoping.
3415 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3416 last-value, and ext-command here. Bind `args' closer to `body'.
3417 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3418 (eshell--args): Declare new dynamic var.
3419 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3420 last-value, and ext-command. Pass `args' to `body'.
3421 (eshell-process-args): Bind eshell--args.
3422 (eshell-set-option): Use eshell--args.
3423 * eshell/eshell.el (eshell): Use derived-mode-p.
3424 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3425 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3426 (eshell-glob-function): Declare.
3427 * eshell/esh-util.el: Require cl-lib.
3428 (eshell-read-hosts-file): Avoid add-to-list.
3429 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3431 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3433 (eshell/diff): Remove unused var `err'.
3434 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3436 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3437 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3439 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3440 Move declaration before first use.
3441 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3442 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3445 2013-09-12 Glenn Morris <rgm@gnu.org>
3447 * term/ns-win.el (global-map): Remove binding for ispell-next,
3448 deleted 1999-05-29. (Bug#15357)
3450 2013-09-11 Glenn Morris <rgm@gnu.org>
3452 * echistory.el (electric-command-history): Remove call to deleted func.
3454 * play/landmark.el (landmark-mode): Fix typos.
3456 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3457 Check cvs-sort-ignore-file is bound.
3459 * savehist.el: No need for cl when compiling on Emacs.
3461 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3463 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3465 (eshell-self-insert-command, eshell-send-invisible):
3466 Remove unused argument.
3467 (eshell-handle-control-codes): Remove unused var `orig'.
3468 Avoid delete-backward-char.
3470 * files.el (set-auto-mode): Simplify a bit further.
3472 2013-09-11 Glenn Morris <rgm@gnu.org>
3474 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3475 (set-auto-mode): Don't regexp-quote elements.
3476 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3477 * progmodes/cc-mode.el (interpreter-mode-alist):
3478 * progmodes/ruby-mode.el (interpreter-mode-alist):
3479 Revert previous change.
3481 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3483 * play/snake.el (snake-mode):
3484 * play/mpuz.el (mpuz-mode):
3485 * play/landmark.el (lm-mode):
3486 * play/blackbox.el (blackbox-mode):
3487 * play/5x5.el (5x5-mode):
3488 * obsolete/options.el (Edit-options-mode):
3489 * net/quickurl.el (quickurl-list-mode):
3490 * net/newst-treeview.el (newsticker-treeview-mode):
3491 * mail/rmailsum.el (rmail-summary-mode):
3492 * mail/mspools.el (mspools-mode):
3493 * locate.el (locate-mode):
3494 * ibuffer.el (ibuffer-mode):
3495 * emulation/ws-mode.el (wordstar-mode):
3496 * emacs-lisp/debug.el (debugger-mode):
3497 * array.el (array-mode):
3498 * net/eudc.el (eudc-mode): Use define-derived-mode.
3499 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3500 Move initialization into declaration.
3501 (mairix-searches-mode): Use define-derived-mode.
3502 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3503 (eudc-edit-hotlist): Use dolist.
3504 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3505 (Man-mode): Use define-derived-mode.
3506 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3507 (Info-edit-mode): Use define-derived-mode.
3508 (Info-cease-edit): Use Info-mode.
3509 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3511 (eshell-mode): Use define-derived-mode.
3512 * chistory.el (command-history-mode-map): Rename from
3513 command-history-map.
3514 (command-history-mode): Use define-derived-mode.
3515 (Command-history-setup): Remove function.
3516 * calc/calc.el (calc-trail-mode-map): New var.
3517 (calc-trail-mode): Use define-derived-mode.
3518 (calc-trail-buffer): Set calc-main-buffer manually.
3519 * bookmark.el (bookmark-insert-annotation): New function.
3520 (bookmark-edit-annotation): Use it.
3521 (bookmark-edit-annotation-mode): Make it a proper major mode.
3522 (bookmark-send-edited-annotation): Use derived-mode-p.
3523 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3524 closer to its ideal place. Use \' to match EOS.
3526 * profiler.el (profiler-calltree-find): Use function-equal.
3528 2013-09-10 Glenn Morris <rgm@gnu.org>
3530 * files.el (interpreter-mode-alist): Convert to regexps.
3531 (set-auto-mode): Adapt for this. (Bug#15306)
3532 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3533 Comment out unused variable.
3534 * progmodes/cc-mode.el (interpreter-mode-alist):
3535 * progmodes/python.el (interpreter-mode-alist):
3536 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3537 * progmodes/sh-script.el (sh-set-shell):
3538 No longer use interpreter-mode-alist to get list of shells.
3540 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3542 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3544 * simple.el: Use set-temporary-overlay-map for universal-argument.
3545 (universal-argument-map): Don't use default-bindings (bug#15317).
3546 Bind switch-frame explicitly. Replace universal-argument-minus with
3547 a conditional binding.
3548 (universal-argument-num-events, saved-overriding-map): Remove.
3549 (restore-overriding-map): Remove.
3550 (universal-argument--mode): Rename from save&set-overriding-map,
3552 (universal-argument, universal-argument-more, negative-argument)
3553 (digit-argument): Adjust accordingly.
3554 (universal-argument-minus): Remove.
3555 (universal-argument-other-key): Remove.
3557 * subr.el (with-demoted-errors): Add `format' argument.
3559 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3561 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3562 `tramp-cleanup-connection'.
3564 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3565 parameters KEEP-DEBUG and KEEP-PASSWORD.
3567 * net/tramp.el (tramp-file-name-handler):
3568 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3569 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3570 (tramp-maybe-open-connection):
3571 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3572 Use `tramp-cleanup-connection'.
3574 * net/tramp-sh.el (tramp-maybe-open-connection):
3575 Catch 'uname-changed inside the progress reporter.
3577 2013-09-10 Glenn Morris <rgm@gnu.org>
3579 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3581 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3582 returns "alternate access method" in mode (eg "-rw-r--r--.").
3584 2013-09-08 Glenn Morris <rgm@gnu.org>
3586 * saveplace.el (load-save-place-alist-from-file):
3587 Demote errors. (Bug#15305)
3589 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3591 Improve compatibility with older Emacsen, and XEmacs.
3593 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3594 only if it is bound. It isn't for XEmacs.
3595 (with-tramp-progress-reporter): Do not let-bind `result'.
3596 This yields to scoping errors in XEmacs.
3597 (tramp-handle-make-auto-save-file-name): New function, moved from
3600 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3601 for `make-auto-save-file-name'.
3602 (tramp-adb--gnu-switches-to-ash):
3603 Use `tramp-compat-replace-regexp-in-string'.
3605 * net/tramp-cache.el (tramp-cache-print): Call
3606 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3608 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3609 bound. It isn't for XEmacs.
3611 * net/tramp-compat.el (tramp-compat-copy-file):
3612 Catch `wrong-number-of-arguments' error.
3613 (tramp-compat-replace-regexp-in-string): New defun.
3615 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3616 for `make-auto-save-file-name'.
3617 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3619 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3620 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3621 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3623 * net/tramp-gw.el (tramp-gw-open-network-stream):
3624 Use `tramp-compat-replace-regexp-in-string'.
3626 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3627 Call `tramp-handle-make-auto-save-file-name'.
3628 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3629 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3630 (tramp-sh-file-inotifywait-process-filter):
3631 Use `tramp-compat-replace-regexp-in-string'.
3632 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3634 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3635 for `make-auto-save-file-name'.
3636 (tramp-smb-handle-copy-directory):
3637 Call `tramp-compat-replace-regexp-in-string'.
3638 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3639 (tramp-smb-handle-copy-file): Improve error message.
3640 (tramp-smb-handle-rename-file): Rename directly only in case
3641 `newname' does not exist yet. This is a restriction of smbclient.
3642 (tramp-smb-maybe-open-connection): Rerun the function only when
3643 `auth-sources' is non-nil.
3645 2013-09-08 Kenichi Handa <handa@gnu.org>
3647 * international/characters.el: Set category "^" (Combining) for
3650 2013-09-07 Alan Mackenzie <acm@muc.de>
3652 Correctly fontify Java class constructors.
3653 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3655 (c-recognize-typeless-decls): Set the Java value to t.
3656 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3657 While handling a "(", add a check for, effectively, Java, and handle a
3658 "typeless" declaration there.
3660 2013-09-07 Roland Winkler <winkler@gnu.org>
3662 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3663 field subtitle for entry type book.
3665 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3667 * minibuffer.el: Make minibuffer-complete call completion-in-region
3668 rather than other way around.
3669 (completion--some, completion-pcm--find-all-completions):
3670 Don't delay signals when debugging.
3671 (minibuffer-completion-contents): Beware fields within the
3672 minibuffer contents.
3673 (completion-all-sorted-completions): Use defvar-local.
3674 (completion--do-completion, completion--cache-all-sorted-completions)
3675 (completion-all-sorted-completions, minibuffer-force-complete):
3676 Add args `beg' and `end'.
3677 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3678 (minibuffer-complete): Use completion-in-region.
3679 (completion-complete-and-exit): New fun, extracted from
3680 minibuffer-complete-and-exit.
3681 (minibuffer-complete-and-exit): Use it.
3682 (completion--complete-and-exit): Rename from
3683 minibuffer--complete-and-exit.
3684 (completion-in-region--single-word): New function, extracted from
3685 minibuffer-complete-word.
3686 (minibuffer-complete-word): Use it.
3687 (display-completion-list): Make `common-substring' argument obsolete.
3688 (completion--in-region): Call completion--in-region-1 instead of
3689 minibuffer-complete.
3690 (completion-help-at-point): Pass boundaries to
3691 minibuffer-completion-help as args rather than via an overlay.
3692 (completion-pcm--string->pattern): Use `any-delim'.
3693 (completion-pcm--optimize-pattern): New function.
3694 (completion-pcm--pattern->regex): Handle `any-delim'.
3695 * icomplete.el (icomplete-forward-completions)
3696 (icomplete-backward-completions, icomplete-completions):
3697 Adjust calls to completion-all-sorted-completions and
3698 completion--cache-all-sorted-completions.
3699 (icomplete-with-completion-tables): Default to t.
3700 * emacs-lisp/crm.el (crm--current-element): Rename from
3701 crm--select-current-element. Don't put an overlay but return the
3703 (crm--completion-command): Take two new args to bind to the boundaries.
3704 (crm-completion-help): Adjust accordingly.
3705 (crm-complete): Use completion-in-region.
3706 (crm-complete-word): Use completion-in-region--single-word.
3707 (crm-complete-and-exit): Use completion-complete-and-exit.
3709 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3711 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3714 2013-09-06 Juri Linkov <juri@jurta.org>
3716 * info.el (Info-display-images-node): When image file doesn't exist
3717 display text version of the image if it's provided in the Info file.
3718 Otherwise, display the location of missing image from SRC attribute.
3719 Add help-echo text property from ALT attribute. (Bug#15279)
3721 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3723 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3724 (edit-abbrevs-mode): Use define-derived-mode.
3726 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3727 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3729 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3730 Use define-derived-mode.
3732 * epg.el (epg-start-encrypt): Minor CSE simplification.
3734 2013-09-06 William Xu <william.xwl@gmail.com>
3736 * arc-mode.el: Add support for 7za (bug#15264).
3737 (archive-7z-program): New var.
3738 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3739 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3740 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3742 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3746 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3747 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3748 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3749 (tramp-postfix-host-format, tramp-file-name-regexp)
3750 (tramp-completion-file-name-regexp)
3751 (tramp-completion-dissect-file-name)
3752 (tramp-handle-substitute-in-file-name): Remove 'url case.
3753 (tramp-file-name-regexp-url)
3754 (tramp-completion-file-name-regexp-url): Remove constants.
3756 2013-09-06 Glenn Morris <rgm@gnu.org>
3758 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3760 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3762 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3763 keywords" below "here-doc beginnings" (Bug#15270).
3765 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3767 * subr.el (pop): Use `car-safe'.
3768 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3769 to detect unused `pop' return value.
3771 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3773 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3774 (python-fill-string): Remove unused var `marker'.
3775 (python-skeleton-add-menu-items): Remove unused var `items'.
3777 * international/mule-cmds.el: Require CL.
3778 (find-coding-systems-for-charsets): Avoid add-to-list.
3779 (sanitize-coding-system-list): New function, extracted from
3780 select-safe-coding-system-interactively.
3781 (select-safe-coding-system-interactively): Use it.
3782 (read-input-method-name): Accept symbols for `default'.
3784 * emacs-lisp/advice.el (defadvice): Add indent rule.
3786 2013-09-05 Daniel Hackney <dan@haxney.org>
3790 * net/browse-url.el:
3793 * net/eudcb-ldap.el:
3806 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3807 byte compiler. Remove some unused let-bound variables.
3809 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3811 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3812 a "ref-cell", since it gets better optimized (bug#14883).
3814 2013-09-05 Glenn Morris <rgm@gnu.org>
3816 * progmodes/cc-awk.el (c-forward-sws): Declare.
3818 2013-09-04 Glenn Morris <rgm@gnu.org>
3820 * generic-x.el [rul-generic-mode]: Require cc-mode.
3821 (c++-mode-syntax-table): Declare.
3822 (rul-generic-mode-syntax-table): Init in the defvar.
3824 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3826 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3827 (vc-do-command, vc-set-async-update):
3828 * vc/vc-mtn.el (vc-mtn-dir-status):
3829 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3830 (vc-hg-pull, vc-hg-merge-branch):
3831 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3832 (vc-git-merge-branch):
3833 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3834 (vc-cvs-dir-status-files):
3835 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3836 (vc-bzr-dir-status-files):
3837 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3838 * vc/vc-annotate.el: Use lexical-binding.
3839 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3840 (vc-sentinel-movepoint): Declare.
3841 (vc-annotate): Don't use `goto-line'.
3842 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3843 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3844 (vc-sentinel-movepoint): Declare.
3845 * vc/vc-svn.el: Use lexical-binding.
3846 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3848 * vc/vc-rcs.el: Use lexical-binding.
3850 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3851 `deleted'. Don't drop errors silently.
3853 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3855 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3857 * vc/vc.el (vc-ignore): Rewrite.
3858 (vc-default-ignore): New function.
3859 (vc-default-ignore-completion-table): Use find-ignore-file.
3861 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3862 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3863 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3864 Remove. Most code moved to vc.el.
3866 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3868 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3869 * net/tramp-smb.el (tramp-smb-get-file-entries):
3870 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3871 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3873 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3875 (eww-change-select): Remove unused var `properties'.
3876 (eww-make-unique-file-name): Remove unused var `base'.
3878 * finder.el (finder-compile-keywords): Don't mess with windows.
3880 * calculator.el (calculator-funcall): Fix typo in last change.
3882 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3884 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3885 <pkg>-autoloads.el file stop us.
3887 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3888 warnings, and factor out common code.
3890 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3892 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3893 two-character operators and whether the character preceding them
3894 changes their meaning (Bug#15208).
3896 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3898 Format code sent to Python shell for robustness.
3899 * progmodes/python.el (python-shell-buffer-substring):
3901 (python-shell-send-region, python-shell-send-buffer): Use it.
3903 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3905 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3906 * net/tramp.el (tramp-user-error): ... here.
3907 (tramp-find-method, tramp-check-proper-host)
3908 (tramp-dissect-file-name, tramp-debug-message)
3909 (tramp-handle-shell-command):
3910 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3911 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3913 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3915 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3917 * avoid.el (mouse-avoidance-point-position)
3918 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3921 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3923 * progmodes/python.el (python-shell-completion-get-completions):
3924 Drop use of deleted `comint-last-prompt-overlay'.
3925 (python-nav-if-name-main): New command.
3927 2013-09-01 Glenn Morris <rgm@gnu.org>
3929 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3930 Avoid leading space in $wins. Otherwise the sed command used by
3931 eg compile-main ends up containing "/*.el". (Bug#15170)
3933 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3935 2013-08-30 Glenn Morris <rgm@gnu.org>
3937 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3938 Fix is-this-a-directory logic. (Bug#15220)
3940 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3942 * textmodes/css-mode.el: Use SMIE.
3943 (css-smie-grammar): New var.
3944 (css-smie--forward-token, css-smie--backward-token)
3945 (css-smie-rules): New functions.
3946 (css-mode): Use them.
3947 (css-navigation-syntax-table): Remove var.
3948 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3949 (css-indent-calculate, css-indent-line): Remove functions.
3951 Misc changes to reduce use of `(lambda...); and other cleanups.
3952 * cus-edit.el: Use lexical-binding.
3953 (customize-push-and-save, customize-apropos)
3954 (custom-buffer-create-internal): Use closures.
3955 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3956 * progmodes/ada-xref.el: Use setq.
3957 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3958 * dframe.el: Use lexical-binding.
3959 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3960 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3961 * descr-text.el: Use lexical-binding.
3962 (describe-text-widget, describe-text-sexp, describe-property-list):
3964 * comint.el (comint-history-isearch-push-state): Use a closure.
3965 * calculator.el: Use lexical-binding.
3966 (calculator-number-to-string): Make it work with lexical-binding.
3967 (calculator-funcall): Same and use cl-letf.
3969 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3970 (lisp--company-doc-string, lisp--company-location): New functions.
3971 (lisp-completion-at-point): Use them to improve Company support.
3973 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3974 params of lambda expressions.
3975 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3976 (ruby-smie--opening-pipe-p): New function.
3977 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3978 symbols and matched |...| for formal params.
3979 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3980 from being treated as hanging. Handle "rescue".
3982 2013-08-29 Glenn Morris <rgm@gnu.org>
3984 * progmodes/cc-engine.el (c-pull-open-brace):
3985 Move definition before use.
3987 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3989 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3990 are immutable. Don't use `unsafe' any more.
3991 (cl--defsubst-expand): Don't substitute at the same time as keeping
3992 a residual unused let-binding. Don't use `unsafe' any more.
3994 2013-08-29 Glenn Morris <rgm@gnu.org>
3996 * calendar/cal-china.el (calendar-chinese-year-cache):
3999 * nxml/nxml-util.el (nxml-debug-clear-inside):
4000 Use cl-loop rather than loop.
4002 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4004 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4006 2013-08-28 Glenn Morris <rgm@gnu.org>
4008 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4010 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4012 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4014 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4016 * simple.el (repeat-complex-command--called-interactively-skip):
4018 (repeat-complex-command): Use it (bug#14136).
4020 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4021 (c-define-abbrev-table): Add `doc' argument.
4022 (c-mode-abbrev-table, c++-mode-abbrev-table)
4023 (objc-mode-abbrev-table, java-mode-abbrev-table)
4024 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4025 (awk-mode-abbrev-table): Use it.
4026 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4027 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4028 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4029 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4030 Move initialization into the declaration; and remove any
4033 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4034 and dynamic let binding.
4036 * vc/smerge-mode.el: Remove redundant :group args.
4038 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4041 2013-08-28 Juri Linkov <juri@jurta.org>
4043 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4044 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4045 (isearch-other-meta-char): Handle an undefined shifted printing
4046 character by downshifting it. (Bug#15200)
4048 2013-08-28 Juri Linkov <juri@jurta.org>
4050 * isearch.el (isearch-search): Change regexp error message for
4051 non-regexp searches. (Bug#15166)
4053 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4055 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4056 for portability to hosts where /bin/sh has problems.
4058 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4060 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4062 2013-08-27 Juri Linkov <juri@jurta.org>
4064 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4065 in the keyboard macro. (Bug#15126)
4067 2013-08-27 Juri Linkov <juri@jurta.org>
4069 * isearch.el (isearch-quote-char): Comment out converting unibyte
4070 to multibyte, thus syncing with its `quoted-insert' counterpart.
4073 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4075 * window.el (display-buffer-use-some-window): Add missing
4076 argument in call of get-largest-window (Bug#15185).
4077 Reported by Stephen Leake.
4079 2013-08-27 Glenn Morris <rgm@gnu.org>
4081 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4083 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4085 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4086 from a matcher-function unless there's no more matches (bug#15161).
4088 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4090 * minibuffer.el: Revert change from 2013-08-20.
4092 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4093 with text property `tramp-default', if appropriate.
4094 (tramp-check-proper-host): New defun.
4095 (tramp-dissect-file-name): Do not check hostname. Revert change
4097 (tramp-backtrace): Make VEC-OR-PROC optional.
4099 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4100 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4101 * net/tramp-sh.el (tramp-maybe-open-connection):
4102 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4103 Apply `tramp-check-proper-host'.
4105 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4107 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4108 lambda expression in order to have `describe-variable' display it.
4110 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4112 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4113 BUF can be optional. (Bug#15186)
4115 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4117 * progmodes/flymake.el (flymake-get-real-file-name-function):
4118 Fix broken customization. (Bug#15184)
4120 2013-08-25 Alan Mackenzie <acm@muc.de>
4122 Improve indentation of bracelists defined by macros (without "=").
4124 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4125 expansion begins with "{", regard it as bracelist when it doesn't
4128 Parse C++ inher-intro when there's a template split over 2 lines.
4130 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4131 rigorously the search for "class" etc. followed by ":".
4133 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4134 random languages a regexp which never matches rather than nil.
4136 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4138 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4139 (c-awk-regexp-one-line-possibly-open-char-list-re)
4140 (c-awk-one-line-possibly-open-regexp-re)
4141 (c-awk-one-line-non-syn-ws*-re): Remove.
4142 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4143 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4144 (c-awk-space*-unclosed-regexp-/-re): New constants.
4145 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4146 aren't regexp delimiters.
4148 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4149 handling for a rare situation in AWK Mode involving unterminated
4152 2013-08-23 Glenn Morris <rgm@gnu.org>
4154 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4156 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4158 * files.el (create-file-buffer): If the result would begin with
4159 spaces, prepend a "|" instead of removing them. (Bug#15162)
4161 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4163 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4164 text-properties (bug#15155).
4166 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4168 (calc-keypad-redraw): Remove unused var `pad'.
4169 (calc-keypad-press): Remove unused var `menu'.
4171 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4173 * window.el (display-buffer-pop-up-frame):
4174 Call pop-up-frame-function with BUFFER current so `make-frame' will
4175 use it as the new frame's buffer (Bug#15133).
4177 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4179 * calendar/timeclock.el: Minor cleanups.
4180 (timeclock-ask-before-exiting, timeclock-use-display-time):
4182 (timeclock-modeline-display): Define as alias before the
4184 (timeclock-mode-line-display): Use define-minor-mode.
4185 (timeclock-day-list-template): Make it a function, add an argument.
4186 (timeclock-day-list-required, timeclock-day-list-length)
4187 (timeclock-day-list-debt, timeclock-day-list-span)
4188 (timeclock-day-list-break): Adjust calls accordingly.
4190 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4192 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4193 Use read--expression so that completion works again.
4195 2013-08-21 Sam Steingold <sds@gnu.org>
4197 Add rudimentary inferior shell interaction
4198 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4199 (sh-set-shell): Reset it.
4200 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4201 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4203 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4205 * align.el: Use lexical-binding.
4206 (align-region): Simplify accordingly.
4208 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4210 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4212 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4215 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4219 * net/tramp-cmds.el:
4221 * net/tramp-gvfs.el:
4223 * net/tramp-sh.el: Don't wrap external variable declarations by
4224 `eval-when-compile'.
4226 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4228 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4229 now that Emacs supports ImageMagick animations.
4231 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4233 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4234 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4236 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4238 * window.el (mouse-autoselect-window-select): Do autoselect when
4239 mouse pointer is on margin.
4241 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4243 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4245 2013-08-16 Glenn Morris <rgm@gnu.org>
4247 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4248 Handle "Remote Directory" response of some clients. (Bug#15058)
4250 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4251 Tweak warning. (Bug#14926)
4253 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4254 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4256 * image-mode.el (image-mode-map): Add menu items to reverse,
4257 increase, decrease, reset animation speed.
4258 (image--set-speed, image-increase-speed, image-decrease-speed)
4259 (image-reverse-speed, image-reset-speed): New functions.
4260 (image-mode-map): Add bindings for speed commands.
4262 * image.el (image-animate-get-speed, image-animate-set-speed):
4264 (image-animate-timeout): Respect image :speed property.
4266 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4268 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4269 previous line (bug#15101).
4270 (debugger-eval-expression, debugger-record-expression):
4271 Use read--expression (bug#15102).
4273 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4275 Remove byte compiler warnings, visible when compiling with
4276 `byte-compile-force-lexical-warnings' set to t.
4278 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4279 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4280 (tramp-handle-unhandled-file-name-directory)
4281 (tramp-handle-file-notify-add-watch, tramp-action-login)
4282 (tramp-action-succeed, tramp-action-permission-denied)
4283 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4286 * net/tramp-adb.el (tramp-adb-parse-device-names)
4287 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4288 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4289 (tramp-adb-handle-file-truename): Remove unused arguments.
4291 * net/tramp-cache.el (tramp-flush-directory-property)
4292 (tramp-flush-connection-property, tramp-list-connections)
4293 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4295 * net/tramp-compat.el (tramp-compat-make-temp-file):
4296 Rename FILENAME to F.
4298 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4299 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4300 (tramp-zeroconf-parse-workstation-device-names)
4301 (tramp-zeroconf-parse-webdav-device-names)
4302 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4304 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4305 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4307 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4309 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4310 (tramp-sh-handle-insert-file-contents-literally)
4311 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4313 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4314 Remove unused variables.
4316 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4317 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4318 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4320 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4321 Make them a defconst.
4322 (tramp-uuencode-region): Remove unused variable.
4324 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4326 * frameset.el (frameset--prop-setter): New function.
4327 (frameset-prop): Add gv-setter declaration.
4328 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4329 parameter was already set in FILTERED. Doc fix.
4330 (frameset--record-minibuffer-relationships): Allow saving a
4331 minibufferless frame without its corresponding minibuffer frame.
4332 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4333 frame, if the frame id matches.
4334 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4335 frames before orphaned ones.
4336 (frameset-restore): Warn about orphaned windows, instead of error out.
4338 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4340 * window.el (window-make-atom): Don't overwrite parameter
4342 (display-buffer-in-atom-window): Handle special case where we
4343 split an already atomic window.
4344 (window--major-non-side-window, display-buffer-in-side-window)
4345 (window--side-check): Ignore minibuffer window when walking
4347 (window-deletable-p): Return 'frame only if no other frame uses
4348 our minibuffer window.
4349 (record-window-buffer): Run buffer-list-update-hook.
4350 (split-window): Make sure window--check-frame won't destroy an
4351 existing atomic window in case the new window gets nested
4353 (display-buffer-at-bottom): Ignore minibuffer window when
4354 walking window tree. Don't split a side window.
4355 (pop-to-buffer): Don't set-buffer here, the select-window call
4357 (mouse-autoselect-window-select): Autoselect only if we are in the
4358 text portion of the window.
4360 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4362 * net/shr.el (shr-parse-image-data): New function to grab both the
4363 data itself and the Content-Type.
4364 (shr-put-image): Use it.
4366 * net/eww.el (eww-display-image): Ditto.
4368 * image.el (image-content-type-suffixes): New variable.
4370 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4372 * progmodes/python.el (python-imenu--build-tree)
4373 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4375 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4377 * simple.el (backward-word): Mention the optional argument.
4379 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4381 * frameset.el (frameset--make): Rename constructor from make-frameset.
4382 (frameset-p, frameset-valid-p): Don't autoload.
4383 (frameset-valid-p): Use normal accessors.
4385 2013-08-13 Glenn Morris <rgm@gnu.org>
4387 * progmodes/compile.el (compile-command): Tweak example in doc.
4388 * obsolete/scribe.el (scribe-mode):
4389 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4391 * mail/feedmail.el (feedmail-confirm-outgoing)
4392 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4394 * cus-start.el (truncate-partial-width-windows): Fix type.
4396 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4398 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4400 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4402 * emacs-lisp/timer.el (timer--time-setter): New function.
4403 (timer--time): Use it as gv-setter.
4405 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4406 setter is not a symbol.
4408 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4410 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4411 if sending fails. This makes debugging easier.
4413 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4415 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4416 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4417 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4419 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4421 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4423 2013-08-12 Glenn Morris <rgm@gnu.org>
4425 * format.el (format-annotate-function):
4426 Handle read-only text properties in the source. (Bug#14887)
4428 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4430 * net/eww.el (eww-display-html): Ignore coding system errors.
4431 One web site uses "utf-8lias" as the coding system.
4433 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4435 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4437 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4439 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4440 (tutorial--detailed-help): Remove unused local variables.
4441 (tutorial--save-tutorial-to): Use ignore-errors.
4442 (help-with-tutorial): Use looking-at-p.
4444 * view.el (view-buffer-other-window, view-buffer-other-frame):
4445 Mark unused arguments.
4447 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4448 (woman-select-symbol-fonts, woman, woman-find-file)
4449 (woman-insert-file-contents, woman-non-underline-faces):
4451 (woman1-unquote): Move declaration.
4453 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4454 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4455 argument. Remove unused local variable.
4456 (xml-parse-elem-type): Use string-match-p.
4457 (xml-substitute-numeric-entities): Use ignore-errors.
4459 * calculator.el (calculator): Mark unused argument.
4460 (calculator-paste, calculator-quit, calculator-integer-p):
4462 (calculator-string-to-number, calculator-decimal, calculator-exp)
4463 (calculator-op-or-exp): Use string-match-p.
4465 * dired.el (dired-buffer-more-recently-used-p): Declare.
4466 (dired-insert-set-properties, dired-insert-old-subdirs):
4469 * dired-aux.el (dired-compress): Use ignore-errors.
4470 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4471 (dired-do-async-shell-command, dired-do-shell-command)
4472 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4473 (dired-insert-subdir-validate): Use string-match-p.
4474 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4475 (dired-add-entry): Use string-match-p, looking-at-p.
4476 (dired-insert-subdir-newpos): Remove unused local variable.
4478 * filenotify.el (file-notify-callback): Remove unused local variable.
4480 * filesets.el (filesets-error): Mark unused argument.
4481 (filesets-which-command-p, filesets-filter-dir-names)
4482 (filesets-directory-files, filesets-get-external-viewer)
4483 (filesets-ingroup-get-data): Use string-match-p.
4485 * find-file.el (ff-other-file-name, ff-other-file-name)
4486 (ff-find-the-other-file, ff-cc-hh-converter):
4487 Remove unused local variables.
4488 (ff-get-file-name): Use string-match-p.
4489 (ff-all-dirs-under): Use ignore-errors.
4491 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4492 (follow-select-if-visible): Remove unused local variable.
4494 * forms.el (read-file-filter): Move declaration.
4495 (forms--make-format, forms--make-parser, forms-insert-record):
4496 Quote function with #'.
4497 (forms--update): Use string-match-p. Quote function with #'.
4499 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4500 (help-make-xrefs): Use looking-at-p.
4501 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4503 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4504 (ibuffer-confirm-operation-on): Use string-match-p.
4506 * msb.el (msb-item-handler, msb-dired-item-handler):
4507 Mark unused arguments.
4509 * ses.el (ses-decode-cell-symbol)
4510 (ses-kill-override): Remove unused local variable.
4511 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4512 (ses-load): Use ignore-errors, looking-at-p.
4513 (ses-jump-safe): Use ignore-errors.
4514 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4516 * tabify.el (untabify, tabify): Mark unused arguments.
4518 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4519 Mark unused argument.
4520 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4521 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4523 * emacs-lisp/timer.el (timer--time): Define setter with
4524 gv-define-setter to avoid deprecation warning.
4526 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4527 (*record-cmpl-statistics-p*): Remove (was commented out).
4528 (cmpl-statistics-block): Remove (body was commented out).
4529 All callers changed.
4530 (add-completions-from-buffer, load-completions-from-file):
4531 Remove unused variables.
4533 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4535 * filecache.el (file-cache-delete-file-list):
4536 Print message only when told so.
4537 (file-cache-files-matching): Use #' in mapconcat argument.
4539 * ffap.el (ffap-url-at-point): Fix reference to variable
4540 thing-at-point-default-mail-uri-scheme.
4542 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4544 * subr.el (define-error): New function.
4545 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4546 error-file-not-found and define with define-error.
4547 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4548 and define with define-error.
4549 * userlock.el (file-locked, file-supersession):
4550 * simple.el (mark-inactive):
4551 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4552 * progmodes/ada-mode.el (ada-mode-errors):
4553 * play/life.el (life-extinct):
4554 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4555 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4556 * nxml/rng-util.el (rng-error):
4557 * nxml/rng-uri.el (rng-uri-error):
4558 * nxml/rng-match.el (rng-compile-error):
4559 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4560 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4561 * nxml/nxml-rap.el (nxml-scan-error):
4562 * nxml/nxml-outln.el (nxml-outline-error):
4563 * net/soap-client.el (soap-error):
4564 * net/gnutls.el (gnutls-error):
4565 * net/ange-ftp.el (ftp-error):
4566 * mpc.el (mpc-proc-error):
4567 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4568 (json-number-format, json-string-escape, json-string-format)
4569 (json-key-format, json-object-format):
4570 * jka-compr.el (compression-error):
4571 * international/quail.el (quail-error):
4572 * international/kkc.el (kkc-error):
4573 * emacs-lisp/ert.el (ert-test-failed):
4574 * calc/calc.el (calc-error, inexact-result, math-overflow)
4576 * bookmark.el (bookmark-error-no-filename):
4577 * epg.el (epg-error): Define with define-error.
4579 * time.el (display-time-event-handler)
4580 (display-time-next-load-average): Don't call sit-for since it seems
4581 unnecessary (bug#15045).
4583 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4584 Use #' instead of ' to quote functions.
4585 (checkdoc-output-mode): Use setq-local.
4586 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4587 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4588 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4589 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4590 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4591 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4592 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4593 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4595 * ido.el (ido-completion-help): Fix up compiler warning.
4597 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4599 * frameset.el (frameset-p): Add autoload cookie.
4600 (frameset--jump-to-register): New function, based on code moved from
4602 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4604 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4605 (frameset-restore, frameset-save, frameset-session-filter-alist):
4606 Remove declarations.
4607 (register-alist): Doc fix.
4608 (frameset-to-register): Move to frameset.el.
4609 (jump-to-register, describe-register-1): Remove frameset-specific code.
4611 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4613 * allout-widgets.el (allout-widgets-pre-command-business)
4614 (allout-widgets-post-command-business)
4615 (allout-widgets-after-change-handler)
4616 (allout-decorate-item-and-context, allout-set-boundary-marker)
4617 (allout-body-modification-handler)
4618 (allout-graphics-modification-handler): Mark ignored arguments.
4619 (allout-widgets-post-command-business)
4620 (allout-widgets-exposure-change-processor)
4621 (allout-widgets-exposure-undo-processor)
4622 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4623 (allout-parse-item-at-point, allout-decorate-item-guides)
4624 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4625 * allout.el (epa-passphrase-callback-function): Declare.
4626 (allout-overlay-insert-in-front-handler)
4627 (allout-overlay-interior-modification-handler)
4628 (allout-isearch-end-handler, allout-chart-siblings)
4629 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4630 (allout-yank-processing, allout-process-exposed)
4631 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4632 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4633 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4634 (lisp-indent-defform): Mark ignored arguments.
4635 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4636 (calculate-lisp-indent): Remove unused variables.
4637 * international/characters.el (indian-2-column, arabic-2-column)
4638 (tibetan): Mark ignored arguments.
4639 (use-cjk-char-width-table): Mark ignored arguments.
4640 Remove unused variables.
4641 * international/fontset.el (build-default-fontset-data)
4642 (x-compose-font-name, create-fontset-from-fontset-spec):
4643 Mark ignored arguments.
4644 (fontset-plain-name): Remove unused variables.
4645 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4646 (keyboard-coding-system): Mark ignored arguments.
4647 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4648 * help.el (resize-temp-buffer-window):
4649 * window.el (display-buffer-in-major-side-window)
4650 (display-buffer-in-side-window, display-buffer-in-previous-window):
4651 Remove unused variables.
4652 * isearch.el (isearch-forward-symbol):
4653 * version.el (emacs-bzr-version-bzr):
4654 * international/mule-cmds.el (current-language-environment):
4655 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4657 * term/pc-win.el (x-list-fonts, x-display-planes)
4658 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4659 (x-server-version, x-display-screens, x-display-mm-height)
4660 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4661 (x-selection-owner-p, x-own-selection-internal)
4662 (x-disown-selection-internal, x-get-selection-internal)
4663 (msdos-initialize-window-system):
4664 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4665 * term/x-win.el (x-handle-no-bitmap-icon):
4666 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4667 (vc-default-find-file-hook, vc-default-extra-menu):
4668 Mark ignored arguments.
4670 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4672 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4673 break-condition in the context of the debugged code (bug#12685).
4675 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4678 Do not use an overlay to highlight the last prompt. (Bug#14744)
4679 (comint-mode): Make comint-last-prompt buffer local.
4680 (comint-last-prompt): New variable.
4681 (comint-last-prompt-overlay): Remove. Superseded by
4683 (comint-snapshot-last-prompt, comint-output-filter):
4684 Use comint-last-prompt.
4686 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4688 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4689 (frameset-save): Check validity of the resulting frameset.
4691 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4693 * ido.el (ido-record-command): Add doc string.
4695 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4697 * frameset.el (frameset): Do not disable creation of the default
4698 frameset-p predicate. Doc fix.
4699 (frameset-valid-p): New function, copied from the old predicate-p.
4700 Add additional checks.
4701 (frameset-restore): Check with frameset-valid-p.
4702 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4703 (frameset-name, frameset-description, frameset-properties)
4704 (frameset-states): Add docstring.
4705 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4706 (frameset-filter-alist): Doc fixes.
4708 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4710 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4712 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4714 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4715 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4716 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4717 (byte-compile-normal-call): Remove obsolescence check.
4719 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4721 * frameset.el (frameset-restore): Doc fix.
4723 * register.el (frameset-frame-id, frameset-frame-with-id)
4724 (frameset-p, frameset-restore, frameset-save): Declare.
4725 (register-alist): Document framesets.
4726 (frameset-session-filter-alist): Declare.
4727 (frameset-to-register): New function.
4728 (jump-to-register): Implement jumping to framesets. Doc fix.
4729 (describe-register-1): Describe framesets.
4731 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4733 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4735 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4736 Use lexical-binding.
4738 * frameset.el (frameset): Use type vector, not list (incompatible
4739 change). Do not declare a new constructor, use the default one.
4740 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4741 `name' and `description', respectively, and add read-only slot
4742 `timestamp'. Doc fixes.
4743 (frameset-copy, frameset-persistent-filter-alist)
4744 (frameset-filter-alist, frameset-switch-to-gui-p)
4745 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4746 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4747 (frameset-filter-iconified, frameset-keep-original-display-p):
4749 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4750 Rename from frameset-filter-(save|restore)-param. All callers changed.
4752 (frameset-p): Adapt to change to vector and be more thorough.
4753 Change arg name to OBJECT. Doc fix.
4754 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4755 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4756 All callers changed.
4757 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4758 All callers changed.
4759 (frameset--record-minibuffer-relationships): Rename from
4760 frameset--process-minibuffer-frames. All callers changed.
4761 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4762 Use new default constructor (again). Doc fix.
4763 (frameset--find-frame-if): Rename from `frameset--find-frame.
4764 All callers changed.
4765 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4766 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4768 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4769 PARAMETERS and WINDOW-STATE, respectively.
4770 (frameset-restore): Add new keyword argument PREDICATE.
4771 Reset frameset--target-display to nil. Doc fix.
4773 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4775 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4777 (bat-mode-syntax-table): Mark \n as end-of-comment.
4778 (bat-font-lock-keywords): Remove comment rule.
4780 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4781 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4783 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4784 (byte-compile-callargs-warn): Use `push'.
4785 (byte-compile-arglist-warn): Ignore higher-order "calls".
4786 (byte-compile-file-form-autoload): Use `pcase'.
4787 (byte-compile-function-form): If quoting a symbol, check that it exists.
4789 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4791 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4792 and add a few popular commands found in batch files.
4793 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4794 (dos-mode): Doc fixes.
4796 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4798 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4799 (dos-mode): Use setq-local. Add space after "rem".
4800 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4801 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4803 2013-08-07 Arni Magnusson <arnima@hafro.is>
4805 * progmodes/dos.el: New file.
4806 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4809 2013-08-06 Glenn Morris <rgm@gnu.org>
4811 * calendar/calendar.el: Add new faces, and day-header-array.
4812 (calendar-weekday-header, calendar-weekend-header)
4813 (calendar-month-header): New faces.
4814 (calendar-day-header-construct): New function.
4815 (calendar-day-header-width): Also :set calendar-day-header-array.
4816 (calendar-american-month-header, calendar-european-month-header)
4817 (calendar-iso-month-header): Use calendar- faces.
4818 (calendar-generate-month):
4819 Use calendar-day-header-array for day headers; apply faces to them.
4820 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4821 (calendar-abbrev-construct): Add optional maxlen argument.
4822 (calendar-day-name-array): Doc fix.
4823 (calendar-day-name-array, calendar-abbrev-length)
4824 (calendar-day-abbrev-array):
4825 Also :set calendar-day-header-array, and maybe redraw.
4826 (calendar-day-header-array): New option. (Bug#15007)
4827 (calendar-font-lock-keywords): Set to nil and make obsolete.
4828 (calendar-day-name): Add option to use header array.
4830 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4832 * net/shr.el (shr-render-td): Remove debugging.
4833 (shr-render-td): Make width computation consistent by defaulting
4834 all zero-width columns to 10 characters. This may not be optimal,
4835 but it's at least consistent.
4836 (shr-make-table-1): Redo last change to fix the real problem in
4839 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4841 * files.el (cache-long-line-scans):
4842 Make obsolete alias to `cache-long-scans'.
4844 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4846 * frameset.el (frameset, frameset-filter-alist)
4847 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4848 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4849 (frameset-compute-pos): Rename from frameset--compute-pos,
4851 (frameset-move-onscreen): Use frameset-compute-pos.
4852 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4854 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4855 Fix typos in docstrings.
4857 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4859 * frame.el (get-other-frame): Tiny cleanup.
4861 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4863 * vc/vc.el (vc-default-ignore-completion-table):
4864 Silence byte-compiler warning.
4866 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4867 slot , which can indeed be nil.
4868 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4869 Move entry for `left' from persistent to live filter alist.
4870 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4872 (frameset-filter-params): When restoring a frame, copy items added to
4873 `filtered', to avoid unwittingly modifying the original parameters.
4874 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4875 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4877 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4878 to use looking-at-p instead of looking-at. (Bug#15028)
4880 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4882 Revert introduction of isearch-filter-predicates (bug#14714).
4883 Rely on add-function instead.
4884 * isearch.el (isearch-filter-predicates): Rename it back to
4885 isearch-filter-predicate.
4886 (isearch-message-prefix): Use advice-function-mapc and advice
4887 properties to get the isearch-message-prefix.
4888 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4889 instead of run-hook-with-args-until-failure.
4890 (isearch-filter-visible): Not obsolete any more.
4891 * loadup.el: Preload nadvice.
4892 * replace.el (perform-replace): Revert to funcall
4893 instead of run-hook-with-args-until-failure.
4894 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4895 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4896 dired-isearch-filenames-toggle; make it into a proper minor mode.
4897 Use add/remove-function.
4898 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4899 Call the minor-mode rather than add/remove-hook.
4900 (dired-isearch-filter-filenames):
4901 Remove isearch-message-prefix property.
4902 * info.el (Info--search-loop): New function, extracted from Info-search.
4903 Funcall isearch-filter-predicate instead of
4904 run-hook-with-args-until-failure isearch-filter-predicates.
4905 (Info-search): Use it.
4906 (Info-mode): Use isearch-filter-predicate instead of
4907 isearch-filter-predicates.
4909 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4911 Do not call to `selected-window' where it is assumed by default.
4912 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4913 `window-hscroll', `window-width', `window-height', `window-buffer',
4914 `window-frame', `window-start', `window-point', `next-window'
4915 and `window-display-table'.
4916 * abbrev.el (abbrev--default-expand):
4917 * bs.el (bs--show-with-configuration):
4918 * buff-menu.el (Buffer-menu-mouse-select):
4919 * calc/calc.el (calc):
4920 * calendar/calendar.el (calendar-generate-window):
4921 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4923 * comint.el (send-invisible, comint-dynamic-complete-filename)
4924 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4925 * completion.el (complete):
4926 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4927 * disp-table.el (describe-current-display-table):
4928 * doc-view.el (doc-view-insert-image):
4929 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4930 * ehelp.el (with-electric-help):
4931 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4932 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4933 * emacs-lisp/helper.el (Helper-help-scroller):
4934 * emulation/cua-base.el (cua--post-command-handler-1):
4935 * eshell/esh-mode.el (eshell-output-filter):
4936 * ffap.el (ffap-gnus-wrapper):
4937 * help-macro.el (make-help-screen):
4938 * hilit-chg.el (highlight-compare-buffers):
4939 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4940 * hl-line.el (global-hl-line-highlight):
4941 * icomplete.el (icomplete-simple-completing-p):
4942 * isearch.el (isearch-done):
4943 * jit-lock.el (jit-lock-stealth-fontify):
4944 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4945 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4946 * mpc.el (mpc-tagbrowser, mpc):
4947 * net/rcirc.el (rcirc-any-buffer):
4948 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4949 * play/landmark.el (landmark-max-width, landmark-max-height):
4950 * play/zone.el (zone):
4951 * progmodes/compile.el (compilation-goto-locus):
4952 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4953 * progmodes/etags.el (find-tag-other-window):
4954 * progmodes/fortran.el (fortran-column-ruler):
4955 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4956 * progmodes/verilog-mode.el (verilog-point-text):
4957 * reposition.el (reposition-window):
4958 * rot13.el (toggle-rot13-mode):
4959 * server.el (server-switch-buffer):
4960 * shell.el (shell-dynamic-complete-command)
4961 (shell-dynamic-complete-environment-variable):
4962 * simple.el (insert-buffer, set-selective-display)
4963 (delete-completion-window):
4964 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4965 (speedbar-recenter):
4966 * startup.el (fancy-splash-head):
4967 * textmodes/ispell.el (ispell-command-loop):
4968 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4969 * tutorial.el (help-with-tutorial):
4970 * vc/add-log.el (add-change-log-entry):
4971 * vc/compare-w.el (compare-windows):
4972 * vc/ediff-help.el (ediff-indent-help-message):
4973 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4974 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4975 (ediff-setup-control-frame):
4976 * vc/emerge.el (emerge-position-region):
4977 * vc/pcvs-util.el (cvs-bury-buffer):
4978 * window.el (walk-windows, mouse-autoselect-window-select):
4979 * winner.el (winner-set-conf, winner-undo): Related users changed.
4981 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4983 * frameset.el (frameset--set-id): Doc fix.
4984 (frameset-frame-id, frameset-frame-id-equal-p)
4985 (frameset-locate-frame-id): New functions.
4986 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4987 (frameset-restore): Use them.
4989 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4991 Do not call to `selected-frame' where it is assumed by default.
4992 Affected functions are `raise-frame', `redraw-frame',
4993 `frame-first-window', `frame-terminal' and `delete-frame'.
4994 * calendar/appt.el (appt-disp-window):
4995 * epg.el (epg-wait-for-completion):
4996 * follow.el (follow-delete-other-windows-and-split)
4997 (follow-avoid-tail-recenter):
4998 * international/mule.el (set-terminal-coding-system):
4999 * mail/rmail.el (rmail-mail-return):
5000 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5001 * progmodes/f90.el (f90-add-imenu-menu):
5002 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5003 * server.el (server-switch-buffer):
5004 * simple.el (delete-completion-window):
5006 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5007 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5008 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5009 * vc/ediff.el (ediff-documentation): Related users changed.
5010 * frame.el (selected-terminal): Remove the leftover.
5012 2013-08-05 Glenn Morris <rgm@gnu.org>
5014 * calendar/calendar.el (calendar-generate-month):
5015 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5016 (calendar-generate-month, calendar-font-lock-keywords):
5017 Fix for calendar-day-header-width > length of any day name.
5019 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5021 * desktop.el (desktop-clear): Use new name of sort predicate.
5023 * frameset.el (frameset): Add docstring. Move :version property to its
5025 (frameset-copy): Rename from copy-frameset.
5026 (frameset-p): Check more thoroughly.
5027 (frameset-prop): Do not check for :version, which is no longer a prop.
5028 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5029 Use new :never value instead of t.
5030 (frameset-filter-alist): Expand and clarify docstring.
5031 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5032 (frameset-filter-minibuffer, frameset-filter-save-param)
5033 (frameset-filter-restore-param, frameset-filter-iconified):
5034 Add pointer to docstring of frameset-filter-alist.
5035 (frameset-filter-params): Rename filter values to be more meaningful:
5036 :never instead of t, and reverse the meanings of :save and :restore.
5037 (frameset--process-minibuffer-frames): Clarify error message.
5038 (frameset-save): Avoid unnecessary and confusing call to framep.
5039 Use new BOA constructor for framesets.
5040 (frameset--reuse-list): Doc fix.
5041 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5042 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5043 (frameset-minibufferless-first-p): Doc fix.
5044 Rename from frameset-sort-frames-for-deletion.
5045 (frameset-restore): Doc fixes. Use new function names.
5046 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5048 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5050 * desktop.el (desktop-restore-forces-onscreen)
5051 (desktop-restore-reuses-frames): Document :keyword constant values.
5052 (desktop-filter-parameters-alist): Remove, now identical to
5053 frameset-filter-alist.
5054 (desktop--filter-tty*): Remove, moved to frameset.el.
5055 (desktop-save-frameset, desktop-restore-frameset):
5056 Do not pass :filters argument.
5058 * frameset.el (frameset-live-filter-alist)
5059 (frameset-persistent-filter-alist): New variables.
5060 (frameset-filter-alist): Use them. Add autoload cookie.
5061 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5062 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5063 `frameset--id' (it's supposed to be internal to frameset.el).
5064 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5065 (frameset--initial-params): New function.
5066 (frameset--get-frame): Use it. Doc fix.
5067 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5068 Accept :all, not 'all.
5069 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5070 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5071 with fbound symbols. Fix frame id matching, and remove matching ids if
5072 the frame being restored is deleted. Obey :delete.
5074 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5076 * subr.el (macrop): New function.
5077 (text-clone--maintaining): New var.
5078 (text-clone--maintain): Rename from text-clone-maintain. Use it
5079 instead of inhibit-modification-hooks.
5081 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5082 a proxy, so as handle autoloads and redefinitions of the target.
5083 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5085 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5086 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5087 (pcase--mutually-exclusive-p): New function.
5088 (pcase--split-consp): Use it.
5089 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5090 mutually exclusive with the current predicate.
5092 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5093 (edebug-macrop): Remove. Use `macrop' instead.
5094 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5096 * eshell/esh-cmd.el (eshell-macrop):
5097 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5099 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5101 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5102 (advice-mapc): New function, using it.
5103 (advice-function-member-p): New function.
5104 (advice--normalize): Store the cdr in advice--saved-rewrite since
5105 that's the part that will be changed.
5106 (advice--symbol-function): New function.
5107 (advice-remove): Handle removal before the function is defined.
5108 Adjust to new advice--saved-rewrite.
5109 (advice-member-p): Use advice-function-member-p and
5110 advice--symbol-function.
5112 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5114 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5115 (frameset-filter-minibuffer): Doc fix.
5116 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5117 (frameset--set-id, frameset--process-minibuffer-frames)
5118 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5119 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5121 * desktop.el (desktop-clear): Only delete frames when called
5122 interactively and desktop-restore-frames is non-nil. Doc fix.
5123 (desktop-read): Set desktop-saved-frameset to nil.
5125 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5127 * vc/vc.el (vc-ignore): Rewrite.
5128 (vc-default-ignore-completion-table):
5130 (vc--add-line, vc--remove-regexp): New functions.
5132 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5133 (vc-svn-ignore-completion-table): New function.
5135 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5136 (vc-hg-ignore-completion-table):
5137 (vc-hg-find-ignore-file): New functions.
5139 * vc/vc-git.el (vc-git-ignore): Rewrite.
5140 (vc-git-ignore-completion-table):
5141 (vc-git-find-ignore-file): New functions.
5143 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5145 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5146 (vc-bzr-ignore-completion-table):
5147 (vc-bzr-find-ignore-file): New functions.
5149 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5151 * frameset.el (frameset-prop): New function and setter.
5152 (frameset-save): Do not modify frame list passed by the caller.
5154 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5156 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5158 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5160 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5161 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5163 * custom.el (custom-initialize-default, custom-initialize-set)
5164 (custom-initialize-reset, custom-initialize-changed): Affect the
5165 toplevel-default-value (bug#6275, bug#14586).
5166 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5169 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5171 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5172 Add cl-def* expressions.
5174 * frameset.el (frameset-filter-params): Fix order of arguments.
5176 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5178 Move code related to saving frames to frameset.el.
5179 * desktop.el: Require frameset.
5180 (desktop-restore-frames): Doc fix.
5181 (desktop-restore-reuses-frames): Rename from
5182 desktop-restoring-reuses-frames.
5183 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5184 (desktop-clear): Clear frames too.
5185 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5186 (desktop--filter-tty*, desktop-save, desktop-read):
5187 Use frameset functions.
5188 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5189 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5190 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5191 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5192 (desktop--process-minibuffer-frames, desktop-save-frames)
5193 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5194 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5195 (desktop--sort-states, desktop-restoring-frames-p)
5196 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5197 (desktop-restoring-frameset-p, desktop-restore-frameset)
5198 (desktop--check-dont-save, desktop-save-frameset): New functions.
5199 (desktop--app-id): New constant.
5200 (desktop-first-buffer, desktop-buffer-ok-count)
5201 (desktop-buffer-fail-count): Move before first use.
5202 * frameset.el: New file.
5204 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5206 * files.el: Use lexical-binding.
5207 (dir-locals-read-from-file): Remove unused `err' variable.
5208 (hack-dir-local-variables--warned-coding): New var.
5209 (hack-dir-local-variables): Use it to avoid repeated warnings.
5210 (make-backup-file-name--default-function): New function.
5211 (make-backup-file-name-function): Use it as default.
5212 (buffer-stale--default-function): New function.
5213 (buffer-stale-function): Use it as default.
5214 (revert-buffer-insert-file-contents--default-function): New function.
5215 (revert-buffer-insert-file-contents-function): Use it as default.
5216 (insert-directory): Avoid add-to-list.
5218 * autorevert.el (auto-revert-handler): Simplify.
5219 Use buffer-stale--default-function.
5221 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5223 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5225 * whitespace.el (whitespace-ensure-local-variables): New function.
5226 (whitespace-cleanup-region): Call it.
5227 (whitespace-turn-on): Call it.
5229 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5231 Complete file name handlers.
5233 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5234 (tramp-handle-verify-visited-file-modtime)
5235 (tramp-handle-file-notify-rm-watch): New functions.
5236 (tramp-call-process): Do not bind `default-directory'.
5238 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5239 Order alphabetically.
5240 [access-file, add-name-to-file, dired-call-process]:
5241 [dired-compress-file, file-acl, file-notify-rm-watch]:
5242 [file-ownership-preserved-p, file-selinux-context]:
5243 [make-directory-internal, make-symbolic-link, set-file-acl]:
5244 [set-file-selinux-context, set-visited-file-modtime]:
5245 [verify-visited-file-modtime]: Add handler.
5246 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5248 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5249 [file-notify-add-watch, file-notify-rm-watch]:
5250 [set-file-times, set-visited-file-modtime]:
5251 [verify-visited-file-modtime]: Add handler.
5252 (with-tramp-gvfs-error-message)
5253 (tramp-gvfs-handle-set-visited-file-modtime)
5254 (tramp-gvfs-fuse-file-name): Remove.
5255 (tramp-gvfs-handle-file-notify-add-watch)
5256 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5257 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5259 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5260 Order alphabetically.
5261 [file-notify-rm-watch ]: Use default Tramp handler.
5262 [executable-find]: Remove private handler.
5263 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5264 `default-directory'.
5265 (tramp-sh-handle-executable-find)
5266 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5267 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5268 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5269 Do not use `format' in `tramp-message'.
5271 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5272 [file-notify-rm-watch, set-visited-file-modtime]:
5273 [verify-visited-file-modtime]: Add handler.
5274 (tramp-smb-call-winexe): Do not bind `default-directory'.
5276 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5278 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5280 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5282 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5284 (log-view-diff-changeset): Same.
5285 (log-view-diff-common): Call backend command `previous-revision'
5286 to find out the previous revision, in both cases. Swap the
5287 variables `to' and `fr', so that `fr' usually refers to the
5288 earlier revision (Bug#14989).
5290 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5292 * ibuf-ext.el (ibuffer-filter-by-filename):
5293 Make it work with dired buffers too.
5295 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5297 * emacs-lisp/re-builder.el (reb-color-display-p):
5298 * files.el (save-buffers-kill-terminal):
5299 * net/browse-url.el (browse-url):
5300 * server.el (server-save-buffers-kill-terminal):
5301 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5302 Prefer nil to selected-frame for the first arg of frame-parameter.
5304 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5306 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5308 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5310 * minibuffer.el (completion--twq-all): Try and preserve each
5311 completion's case choice (bug#14907).
5313 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5315 * net/network-stream.el (open-network-stream): Mention the new
5316 :nogreeting parameter.
5317 (network-stream-open-starttls): Use the :nogreeting parameter
5320 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5322 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5323 more natural than popping.
5325 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5326 (shr-urlify): Highlight under mouse.
5328 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5330 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5332 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5334 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5337 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5338 point-min==1. Fix search string. Fix parentheses missing.
5340 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5341 assume point-min==1. Fix search string. Fix parentheses missing.
5343 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5345 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5348 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5350 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5351 initial frame is minibuffer-less. (Bug#14841)
5353 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5355 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5358 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5359 (tramp-maybe-open-connection): Use it.
5361 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5363 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5364 minimal set of parameters passed when creating a frame, because
5365 the minibuffer status of a frame cannot be changed later.
5367 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5369 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5370 replace-regexp-in-string and inadvertent omissions in previous change.
5371 (todo-filter-items): Ensure only file names are comma-separated in
5372 name of filtered items buffer.
5374 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5376 * desktop.el: Optionally force offscreen frames back onscreen.
5377 (desktop-restoring-reuses-frames): New option.
5378 (desktop--compute-pos, desktop--move-onscreen): New functions.
5379 (desktop--make-frame): Use desktop--move-onscreen.
5381 2013-07-27 Alan Mackenzie <acm@muc.de>
5383 Fontify a Java generic method as a function.
5384 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5387 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5389 * calendar/todo-mode.el: Add command to rename todo files.
5390 (todo-rename-file): New command.
5391 (todo-key-bindings-t): Add key binding for it. Change the
5392 bindings of todo-filter-regexp-items(-multifile) to use `x'
5393 instead of `r', since the latter is better suited to the new
5396 2013-07-27 Alan Mackenzie <acm@muc.de>
5398 Make Java try-with-resources statement parse properly.
5399 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5400 (c-block-stmt-1-2-key): New language constants/variables.
5401 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5402 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5403 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5404 with c-block-stmt-1-2-key.
5406 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5408 * desktop.el (desktop--make-frame): Apply most frame parameters after
5409 creating the frame to force (partially or totally) offscreen frames to
5410 be restored as such.
5412 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5414 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5417 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5419 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5420 `base' arg of backtrace-frame.
5422 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5424 * simple.el (list-processes): Doc fix.
5426 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5428 * desktop.el (desktop--select-frame):
5429 Try harder to reuse existing frames.
5431 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5433 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5434 (edebug-eval): Use backtrace-eval.
5435 (edebug--display, edebug--recursive-edit): Don't let-bind the
5436 edebug-outer-* vars that keep track of variables we locally let-bind.
5437 (edebug-outside-excursion): Don't restore outside values of locally
5439 (edebug--display): Use user-error.
5440 (cl-lexical-debug, cl-debug-env): Remove.
5442 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5444 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5445 are restored to be sure that they are visible before deleting any
5448 2013-07-26 Matthias Meulien <orontee@gmail.com>
5450 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5451 vc-print-root-log. (Bug#14948)
5453 2013-07-26 Richard Stallman <rms@gnu.org>
5455 Add aliases for encrypting mail.
5456 * epa.el (epa-mail-aliases): New option.
5457 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5458 Bind inhibit-read-only so read-only text doesn't ruin everything.
5459 (epa-mail-default-recipients): New subroutine broken out.
5460 Handle epa-mail-aliases.
5462 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5464 Add support for lexical variables to the debugger's `e' command.
5465 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5466 vars, except for debugger-outer-match-data.
5467 (debugger-frame-number): Move check for "on a function call" from
5468 callers into it. Add `skip-base' argument.
5469 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5470 (debugger-env-macro): Only reset the state stored in non-variables,
5471 i.e. current-buffer and match-data.
5472 (debugger-eval-expression): Rewrite using backtrace-eval.
5473 * subr.el (internal--called-interactively-p--get-frame): Remove.
5474 (called-interactively-p):
5475 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5476 `base' arg of backtrace-frame instead.
5478 2013-07-26 Glenn Morris <rgm@gnu.org>
5480 * align.el (align-regexp): Doc fix. (Bug#14857)
5481 (align-region): Explicit error if subexpression missing/does not match.
5483 * simple.el (global-visual-line-mode):
5484 Do not duplicate the mode lighter. (Bug#14858)
5486 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5488 * window.el (display-buffer): In display-buffer bind
5489 split-window-keep-point to t, bug#14829.
5491 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5493 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5494 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5495 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5496 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5498 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5499 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5501 2013-07-25 Glenn Morris <rgm@gnu.org>
5503 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5505 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5507 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5508 parameter to modify-frame-parameters if the value has not changed;
5509 this is a workaround for bug#14949.
5510 (desktop--make-frame): On cl-delete-if call, check parameter name,
5513 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5515 * vc/vc.el (vc-ignore): New function.
5517 * vc/vc-svn.el (vc-svn-ignore): New function.
5519 * vc/vc-hg.el (vc-hg-ignore): New function.
5521 * vc/vc-git.el (vc-git-ignore): New function.
5523 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5524 (vc-dir-ignore): New function.
5526 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5527 (cvs-append-to-ignore): Move here from pcvs.el.
5529 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5531 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5533 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5535 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5536 (desktop-restore-frames): Warn when deleting an existing frame failed.
5538 2013-07-24 Glenn Morris <rgm@gnu.org>
5540 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5542 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5544 * filenotify.el (file-notify-supported-p):
5545 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5548 * autorevert.el (auto-revert-use-notify):
5549 (auto-revert-notify-add-watch):
5550 * net/tramp.el (tramp-file-name-for-operation):
5551 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5552 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5553 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5554 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5555 Remove `file-notify-supported-p' entry.
5557 2013-07-24 Glenn Morris <rgm@gnu.org>
5559 * printing.el: Replace all uses of deleted ps-windows-system,
5560 ps-lp-system, ps-flatten-list with lpr- versions.
5562 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5564 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5565 checked with memq (bug#14935).
5567 * files.el (revert-buffer-function): Use a non-nil default.
5568 (revert-buffer-preserve-modes): Declare var to
5569 provide access to the `preserve-modes' argument.
5570 (revert-buffer): Let-bind it.
5571 (revert-buffer--default): New function, extracted from revert-buffer.
5573 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5575 * lpr.el: Signal print errors more prominently.
5576 (print-region-function): Don't default to nil.
5577 (lpr-print-region): New function, extracted from print-region-1.
5578 Check lpr's return value and signal an error in case of problem.
5579 (print-region-1): Use it.
5580 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5582 (ps-printer-name): Default to nil.
5583 (ps-printer-name-option): Default to lpr-printer-switch.
5584 (ps-print-region-function): Don't default to nil.
5585 (ps-postscript-code-directory): Simplify default.
5586 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5587 (ps-string-list, ps-eval-switch, ps-flatten-list)
5588 (ps-flatten-list-1): Remove.
5589 (ps-multibyte-buffer): Avoid setq.
5590 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5591 (print-region-function, ps-print-region-function): Don't set them here.
5593 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5595 * ido.el (ido-fractionp):
5596 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5597 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5598 (ido-max-directory-size, ido-max-dir-file-cache)
5599 (ido-decorations): Doc fix.
5601 * ansi-color.el: Fix old URL.
5603 2013-07-23 Michael R. Mauger <michael@mauger.com>
5605 * progmodes/sql.el: Version 3.3
5606 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5607 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5608 (sql-interactive-remove-continuation-prompt): Rewrite, use
5609 functions above. Fix continuation prompt and complete output line
5611 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5612 redirected output buffer.
5613 (sql-mode): Restore deleted code (Bug#13591).
5615 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5617 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5619 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5621 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5623 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5624 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5625 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5627 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5629 * desktop.el (desktop-clear): Simplify; remove useless checks
5630 against invalid buffer names.
5631 (desktop-list*): Use cl-list*.
5632 (desktop-buffer-info, desktop-create-buffer): Simplify.
5634 2013-07-23 Leo Liu <sdl.web@gmail.com>
5636 * bookmark.el (bookmark-make-record): Restore NAME as a default
5639 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5641 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5642 extracted from autoload--insert-text.
5643 (autoload--insert-text): Remove.
5644 (autoload--print-cookie-text): New function, extracted from
5645 autoload--insert-cookie-text.
5646 (autoload--insert-cookie-text): Remove.
5647 (autoload-generate-file-autoloads): Adjust calls accordingly.
5649 * winner.el (winner-hook-installed-p): Remove.
5650 (winner-mode): Simplify accordingly.
5652 * subr.el (add-to-list): Fix compiler-macro when `append' is
5653 not constant. Don't use `cl-member' for the base case.
5655 * progmodes/subword.el: Fix boundary case (bug#13758).
5656 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5658 (subword-backward-regexp): Make it a constant.
5659 (subword-forward-internal): Don't treat a trailing capital as the
5660 beginning of a word.
5662 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5664 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5665 global value of tabulated-list-revert-hook (bug#14930).
5667 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5669 * desktop.el: Require 'cl-lib.
5670 (desktop-before-saving-frames-functions): New hook.
5671 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5672 for frames being saved. Rename from desktop--save-minibuffer-frames.
5673 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5674 Do not save frames with non-nil `desktop-dont-save' parameter.
5675 Filter out deleted frames.
5676 (desktop--find-frame): Use cl-find-if.
5677 (desktop--select-frame): Use cl-(first|second|third) to access values
5679 (desktop--make-frame): Use cl-delete-if.
5680 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5681 (desktop-restore-frames): Use cl-(first|second|third) to access values
5682 of desktop-mini. Look for visible frame at the end, not while
5685 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5686 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5687 Use string-match-p, looking-at-p (bug#14927).
5689 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5691 * desktop.el (desktop-saved-frame-states):
5692 Rename from desktop--saved-states; all users changed.
5693 (desktop-save-frames): Rename from desktop--save-frames.
5694 Do not save state to desktop file.
5695 (desktop-save): Save desktop-saved-frame-states to desktop file
5697 (desktop-restoring-frames-p): New function.
5698 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5699 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5700 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5702 * desktop.el: Correctly restore iconified frames.
5703 (desktop--filter-iconified-position): New function.
5704 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5706 2013-07-20 Glenn Morris <rgm@gnu.org>
5708 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5709 Let `message' do the formatting.
5710 (def-gdb-preempt-display-buffer): Add explicit format.
5712 * image-dired.el (image-dired-track-original-file):
5713 Use with-current-buffer.
5714 (image-dired-track-thumbnail): Use with-current-buffer.
5715 Avoid changing point of wrong window.
5717 * image-dired.el (image-dired-track-original-file):
5718 Avoid changing point of wrong window. (Bug#14909)
5720 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5722 * progmodes/gdb-mi.el (gdb-done-or-error):
5723 Guard against "%" in gdb output. (Bug#14127)
5725 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5727 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5730 * international/mule.el (coding-system-iso-2022-flags): Fix last
5733 2013-07-20 Kenichi Handa <handa@gnu.org>
5735 * international/mule.el (coding-system-iso-2022-flags):
5736 Add `8-bit-level-4'. (Bug#8522)
5738 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5740 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5743 * net/eww.el (eww-process-text-input): Allow inputting when the
5744 point is at the start of the line, as the properties aren't
5747 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5750 2013-07-19 Richard Stallman <rms@gnu.org>
5752 * epa.el (epa-popup-info-window): Doc fix.
5754 * subr.el (split-string): New arg TRIM.
5756 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5758 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5759 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5761 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5763 * filenotify.el (file-notify--library): Rename from
5764 `file-notify-support'. Do not autoload. Adapt all uses.
5765 (file-notify-supported-p): New defun.
5767 * autorevert.el (auto-revert-use-notify):
5768 Use `file-notify-supported-p' instead of `file-notify-support'.
5770 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5772 * net/tramp.el (tramp-file-name-for-operation):
5773 Add `file-notify-supported-p'.
5775 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5777 (tramp-sh-file-name-handler-alist): Add it as handler for
5778 `file-notify-supported-p '.
5780 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5781 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5782 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5783 Add `ignore' as handler for `file-notify-*' functions.
5785 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5787 * simple.el (line-move-partial, line-move): Don't start vscroll or
5788 scroll-up if the current line is not taller than the window.
5791 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5793 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5794 highlight question marks in the method names as strings.
5795 (ruby-block-beg-keywords): Inline.
5796 (ruby-font-lock-keyword-beg-re): Extract from
5797 `ruby-font-lock-keywords'.
5799 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5801 * frame.el (blink-cursor-blinks): New defcustom.
5802 (blink-cursor-blinks-done): New defvar.
5803 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5804 (blink-cursor-timer-function): Check if number of blinks has been
5806 (blink-cursor-suspend, blink-cursor-check): New defuns.
5808 2013-07-15 Glenn Morris <rgm@gnu.org>
5810 * edmacro.el (edmacro-format-keys): Fix previous change.
5812 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5814 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5815 The hack didn't work outside English locales anyway.
5817 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5819 * simple.el (define-alternatives): Rename from alternatives-define,
5820 per RMS' suggestion.
5822 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5824 * desktop.el (desktop-restore-frames): Change default to t.
5825 (desktop-restore-in-current-display): Now offer more options.
5826 (desktop-restoring-reuses-frames): New customization option.
5827 (desktop--saved-states): Doc fix.
5828 (desktop-filter-parameters-alist): New variable, renamed and expanded
5829 from desktop--excluded-frame-parameters.
5830 (desktop--target-display): New variable.
5831 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5832 (desktop--filter-tty*, desktop--filter-*-color)
5833 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5834 (desktop--filter-save-desktop-parm)
5835 (desktop-restore-in-original-display-p): New functions.
5836 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5837 (desktop--save-minibuffer-frames): New function, inspired by a similar
5838 function from Martin Rudalics.
5839 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5840 (desktop--restore-in-this-display-p): Remove.
5841 (desktop--find-frame): Rename from desktop--find-frame-in-display
5842 and add predicate argument.
5843 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5844 (desktop--reuse-list): New variable.
5845 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5847 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5849 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5851 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5853 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5855 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5856 Highlight conversion methods on Kernel.
5858 2013-07-13 Alan Mackenzie <acm@muc.de>
5860 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5861 and comment it out. This out-commenting enables certain C++
5862 declarations to be parsed correctly.
5864 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5866 * international/mule.el (define-coding-system): Doc fix.
5868 * simple.el (default-font-height): Don't call font-info if the
5869 frame's default font didn't change since the frame was created.
5872 2013-07-13 Leo Liu <sdl.web@gmail.com>
5874 * ido.el (ido-read-file-name): Guard against non-symbol value.
5876 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5878 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5881 2013-07-13 Leo Liu <sdl.web@gmail.com>
5883 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5884 ido-set-matches call. (Bug#6852)
5886 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5888 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5889 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5891 (ruby-font-lock-keywords): Distinguish calls to functions with
5892 module-like names from module references. Highlight character
5895 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5897 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5898 (gdb-send): Handle continued commands. (Bug#14847)
5900 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5902 * desktop.el (desktop--v2s): Remove unused local variable.
5903 (desktop-save-buffer): Make defvar-local; adjust docstring.
5904 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5905 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5907 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5909 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5911 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5913 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5916 2013-07-12 Glenn Morris <rgm@gnu.org>
5918 * doc-view.el: Require cl-lib at runtime too.
5919 (doc-view-remove-if): Remove.
5920 (doc-view-search-next-match, doc-view-search-previous-match):
5923 * edmacro.el: Require cl-lib at runtime too.
5924 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5925 (edmacro-mismatch, edmacro-subseq): Remove.
5927 * shadowfile.el: Require cl-lib.
5928 (shadow-remove-if): Remove.
5929 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5932 * wid-edit.el: Require cl-lib.
5933 (widget-choose): Use cl-remove-if.
5934 (widget-remove-if): Remove.
5936 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5937 (ebrowse-delete-if-not): Remove.
5938 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5939 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5940 Use cl-delete-if-not.
5942 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5944 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5945 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5947 2013-07-12 Leo Liu <sdl.web@gmail.com>
5949 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5951 2013-07-11 Glenn Morris <rgm@gnu.org>
5953 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5954 (edebug-gensym-index, edebug-gensym):
5955 Remove reimplementation of cl-gensym.
5956 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5958 * thumbs.el: Require cl-lib at run-time too.
5959 (thumbs-gensym-counter, thumbs-gensym):
5960 Remove reimplementation of cl-gensym.
5961 (thumbs-temp-file): Use cl-gensym.
5963 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5964 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5965 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5966 (ert--union, ert--gensym-counter, ert--gensym-counter)
5967 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5968 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5969 (ert-make-test-unbound, ert--expand-should-1)
5970 (ert--expand-should, ert--should-error-handle-error)
5971 (should-error, ert--explain-equal-rec)
5972 (ert--plist-difference-explanation, ert-select-tests)
5973 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5974 Use cl-lib functions rather than reimplementations.
5976 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5978 * net/tramp.el (tramp-methods): Extend docstring.
5979 (tramp-connection-timeout): New defcustom.
5980 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5981 (with-tramp-progress-reporter): Simplify.
5982 (tramp-process-actions): Improve messages.
5984 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5985 * net/tramp-sh.el (tramp-maybe-open-connection):
5986 Use `tramp-connection-timeout'.
5987 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5990 2013-07-11 Leo Liu <sdl.web@gmail.com>
5992 * ido.el (ido-read-file-name): Conform to the requirements of
5993 read-file-name. (Bug#11861)
5994 (ido-read-directory-name): Conform to the requirements of
5995 read-directory-name.
5997 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5999 * subr.el (delay-warning): New function.
6001 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6003 * simple.el (default-line-height): New function.
6004 (line-move-partial, line-move): Use it instead of computing the
6006 (line-move-partial): Always compute ROWH. If the last line is
6007 partially-visible, but its text is completely visible, allow
6008 cursor to enter such a partially-visible line.
6010 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6012 Improve error messages. (Bug#14808)
6014 * net/tramp.el (tramp-current-connection): New defvar, moved from
6016 (tramp-message-show-progress-reporter-message): Remove, not
6018 (tramp-error-with-buffer): Show message in minibuffer.
6019 Discard input before waiting. Reset connection timestamp.
6020 (with-tramp-progress-reporter): Improve messages.
6021 (tramp-process-actions): Use progress reporter. Delete process in
6022 case of error. Improve messages.
6024 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6025 Call `tramp-error-with-buffer' with vector and buffer.
6026 (tramp-current-connection): Remove.
6027 (tramp-maybe-open-connection): The car of
6028 `tramp-current-connection' are the first 3 slots of the vector.
6030 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6032 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6033 inside continued strings.
6035 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6037 Timestamp fixes for undo (Bug#14824).
6038 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6040 2013-07-10 Leo Liu <sdl.web@gmail.com>
6042 * files.el (require-final-newline): Allow safe local value.
6045 2013-07-09 Leo Liu <sdl.web@gmail.com>
6047 * ido.el (ido-read-directory-name): Handle fallback.
6048 (ido-read-file-name): Update DIR to ido-current-directory.
6050 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6052 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6054 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6055 "autoload". Remove "warn lower camel case" section, previously
6056 commented out. Highlight negation char. Do not highlight the
6057 target in singleton method definitions.
6059 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6061 * faces.el (tty-setup-hook): Declare the hook.
6063 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6064 and detect when a guard/pred depends on local vars (bug#14773).
6065 (pcase--u1): Adjust caller.
6067 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6069 * simple.el (line-move-partial, line-move): Account for
6071 (line-move-partial): Avoid setting vscroll when the last
6072 partially-visible line in window is of default height.
6074 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6076 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6079 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6081 * subr.el (read-quoted-char): Remove unused local variable `char'.
6083 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6085 * ediff.el (ediff-version): Version update.
6086 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6087 (ediff-merge-with-ancestor-command, ediff-directories-command)
6088 (ediff-directories3-command, ediff-merge-directories-command)
6089 (ediff-merge-directories-with-ancestor-command): New functions.
6090 All are command-line interfaces to ediff: to facilitate calling
6091 Emacs with the appropriate ediff functions invoked.
6093 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6094 (viper-save-kill-buffer): Check if buffer is modified.
6096 * viper.el (viper-version): Version update.
6097 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6099 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6101 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6102 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6103 (viper-intercept-ESC-key): Simplify.
6104 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6105 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6106 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6107 (viper-setup-ESC-to-escape): New functions.
6108 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6109 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6111 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6113 * simple.el (default-font-height, window-screen-lines):
6115 (line-move, line-move-partial): Use them instead of
6116 frame-char-height and window-text-height. This makes scrolling
6117 text smoother when the buffer's default face uses a font that is
6118 different from the frame's default font.
6120 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6122 * files.el (write-file): Do not display confirm dialog for NS,
6123 it does its own dialog, which can't be cancelled (Bug#14578).
6125 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6127 * simple.el (line-move-partial): Adjust the row returned by
6128 posn-at-point for the current window-vscroll. (Bug#14567)
6130 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6132 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6133 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6136 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6138 * window.el (window-state-put-stale-windows): New variable.
6139 (window--state-put-2): Save list of windows without matching buffer.
6140 (window-state-put): Remove "bufferless" windows if possible.
6142 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6144 * simple.el (alternatives-define): Remove leftover :group keyword.
6147 2013-07-06 Leo Liu <sdl.web@gmail.com>
6149 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6150 (ido-enable-virtual-buffers): New variable.
6151 (ido-buffer-internal, ido-toggle-virtual-buffers)
6152 (ido-make-buffer-list): Use it.
6153 (ido-exhibit): Support turning on and off virtual buffers
6156 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6158 * simple.el (alternatives-define): New macro.
6160 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6162 * subr.el (read-quoted-char): Use read-key.
6163 (sit-for): Let read-event decode tty input (bug#14782).
6165 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6167 * calendar/todo-mode.el: Add handling of file deletion, both by
6168 mode command and externally. Fix various related bugs.
6169 Clarify Commentary and improve some documentation strings and code.
6170 (todo-delete-file): New command.
6171 (todo-check-file): New function.
6172 (todo-show): Handle external deletion of the file we're trying to
6173 show (bug#14688). Replace called-interactively-p by an optional
6174 prefix argument to avoid problematic interaction with catch form
6175 when byte compiled (bug#14702).
6176 (todo-quit): Handle external deletion of the archive's todo file.
6177 Make sure the buffer that was visiting the archive file is still
6178 live before trying to bury it.
6179 (todo-category-completions): Handle external deletion of any
6180 category completion files.
6181 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6182 of todo files, in case of external deletion.
6183 (todo-add-file): Replace unnecessary setq by let-binding.
6184 (todo-find-archive): Check whether there are any archives.
6185 Replace unnecessary setq by let-binding.
6186 (todo-archive-done-item): Use find-file-noselect to get the
6187 archive buffer whether or not the archive already exists.
6188 Remove superfluous code. Use file size instead of buffer-file-name to
6189 check if the archive is new; if it is, update list of archives.
6190 (todo-default-todo-file): Allow nil to be a valid value for when
6191 there are no todo files.
6192 (todo-reevaluate-default-file-defcustom): Use corrected definition
6193 of todo-default-todo-file.
6194 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6195 (todo-delete-category, todo-show-categories-table)
6196 (todo-category-number): Clarify comment.
6197 (todo-filter-items): Clarify documentation string.
6198 (todo-show-current-file, todo-display-as-todo-file)
6199 (todo-reset-and-enable-done-separator): Tweak documentation string.
6200 (todo-done-separator): Make separator length window-width, since
6201 bug#2749 is now fixed.
6203 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6205 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6206 Support both "gvfs-monitor-dir" and "inotifywait".
6207 (tramp-sh-file-inotifywait-process-filter): Rename from
6208 `tramp-sh-file-notify-process-filter'.
6209 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6210 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6212 2013-07-05 Leo Liu <sdl.web@gmail.com>
6214 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6216 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6218 * frame.el (display-pixel-height, display-pixel-width)
6219 (display-mm-height, display-mm-width): Mention behavior on
6220 multi-monitor setups in docstrings.
6221 (w32-display-monitor-attributes-list): Declare function.
6222 (display-monitor-attributes-list): Use it.
6224 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6226 * filenotify.el: New package.
6228 * autorevert.el (top): Require filenotify.el.
6229 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6231 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6232 (auto-revert-notify-handler): Use `file-notify-*' functions.
6234 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6236 * net/tramp.el (tramp-file-name-for-operation):
6237 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6239 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6240 for `file-notify-add-watch' and `file-notify-rm-watch'.
6241 (tramp-process-sentinel): Improve trace.
6242 (tramp-sh-handle-file-notify-add-watch)
6243 (tramp-sh-file-notify-process-filter)
6244 (tramp-sh-handle-file-notify-rm-watch)
6245 (tramp-get-remote-inotifywait): New defuns.
6247 2013-07-03 Juri Linkov <juri@jurta.org>
6249 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6250 call of `occur-read-primary-args' to interactive spec.
6252 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6253 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6255 2013-07-03 Matthias Meulien <orontee@gmail.com>
6257 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6258 `Buffer-menu-multi-occur'. Add it to the menu.
6259 (Buffer-menu-mode): Document it in docstring.
6260 (Buffer-menu-multi-occur): New command. (Bug#14673)
6262 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6264 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6265 keywords and built-ins.
6267 2013-07-03 Glenn Morris <rgm@gnu.org>
6269 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6271 Make info-xref checks case-sensitive by default
6272 * info.el (Info-find-node, Info-find-in-tag-table)
6273 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6274 Add option for exact case matching of nodes.
6275 * info-xref.el (info-xref): New custom group.
6276 (info-xref-case-fold): New option.
6277 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6279 2013-07-03 Leo Liu <sdl.web@gmail.com>
6281 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6283 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6285 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6286 middle of block statement initially, lower the depth. Remove
6287 FIXME comment, not longer valid. Remove middle of block statement
6288 detection, no need to do that anymore since we've been using
6289 `ruby-parse-region' here.
6291 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6293 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6295 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6297 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6299 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6301 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6302 (desktop-restore-in-current-display): New customization option.
6303 (desktop--excluded-frame-parameters): Add `font'.
6304 (desktop--save-frames): Rename from desktop--save-windows.
6305 (desktop--restore-in-this-display-p): New function.
6306 (desktop--make-full-frame): Remove unwanted width/height from
6307 full(width|height) frames.
6308 (desktop--restore-frames): Rename from desktop--restore-windows.
6309 Obey desktop-restore-current-display. Do not delete old frames or
6310 select a new frame unless we were able to restore at least one frame.
6312 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6314 * files.el (find-file-noselect): Simplify conditional expression.
6316 * remember.el (remember-append-to-file):
6317 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6319 Add `remember-notes' function to store random notes across Emacs
6321 * remember.el (remember-data-file): Add :set callback to affect
6322 notes buffer (if any).
6323 (remember-notes): New command.
6324 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6325 New defcustoms for the `remember-notes' function.
6326 (remember-notes-save-and-bury-buffer): New command.
6327 (remember-notes-mode-map): New variable.
6328 (remember-mode): New minor mode.
6329 (remember-notes--kill-buffer-query): New function.
6330 * startup.el (initial-buffer-choice): Add notes to custom type.
6332 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6334 * bindings.el (right-char, left-char): Don't call sit-for, this is
6335 no longer needed. Use arithmetic comparison only for numerical
6338 * international/mule-cmds.el (select-safe-coding-system):
6339 Handle the case of FROM being a string correctly. (Bug#14755)
6341 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6343 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6344 progression on degenerate tables.
6345 (shr-rescale-image): ImageMagick animated images currently don't work.
6347 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6349 Some fixes and improvements for desktop frame restoration.
6350 It is still experimental and disabled by default.
6351 * desktop.el (desktop--save-windows): Put the selected frame at
6352 the head of the list.
6353 (desktop--make-full-frame): New function.
6354 (desktop--restore-windows): Try to re-select the frame that was
6355 selected upon saving. Do not abort if some frames fail to restore,
6356 just show an error message and continue. Set up maximized frames
6357 so they have default non-maximized dimensions.
6359 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6361 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6362 Don't start heredoc inside a string or comment.
6364 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6366 * bindings.el (visual-order-cursor-movement): New defcustom.
6367 (right-char, left-char): Provide visual-order cursor motion by
6368 calling move-point-visually. Update the doc strings.
6370 2013-06-28 Kenichi Handa <handa@gnu.org>
6372 * international/mule.el (define-coding-system): New coding system
6373 properties :inhibit-null-byte-detection,
6374 :inhibit-iso-escape-detection, and :prefer-utf-8.
6375 (set-buffer-file-coding-system): If :charset-list property of
6376 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6377 appropriate for setting.
6379 * international/mule-cmds.el (select-safe-coding-system):
6380 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6381 multibyte characters, return utf-8 (or one of its siblings).
6383 * international/mule-conf.el (prefer-utf-8): New coding system.
6384 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6387 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6389 * net/shr.el (shr-render-region): New function.
6391 * net/eww.el: Autoload `eww-browse-url'.
6393 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6395 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6396 Adapt to `package-desc-version' being a list.
6397 Use `package--ac-desc-version' to retrieve version from a package
6400 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6402 New experimental feature to save&restore window and frame setup.
6403 * desktop.el (desktop-save-windows): New defcustom.
6404 (desktop--saved-states): New var.
6405 (desktop--excluded-frame-parameters): New defconst.
6406 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6407 (desktop--restore-windows, desktop--save-windows): New functions.
6408 (desktop-save): Call `desktop--save-windows'.
6409 (desktop-read): Call `desktop--restore-windows'.
6411 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6413 * net/shr.el (add-face-text-property): Remove compat definition.
6415 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6417 * info.el (Info-try-follow-nearest-node): Move search for footnote
6418 above search for node name to prevent missing a footnote (bug#14717).
6420 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6422 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6424 2013-06-27 Leo Liu <sdl.web@gmail.com>
6426 * net/eww.el (eww-read-bookmarks): Check file size.
6428 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6430 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6431 advice--pending if newdef is nil or an autoload (bug#13820).
6432 (advice-mapc): New function.
6434 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6436 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6438 (eww-mode-map): Add a menu bar.
6439 (eww-add-bookmark): New command.
6440 (eww-bookmark-mode): New mode and commands.
6441 (eww-add-bookmark): Remove newlines from the title.
6442 (eww-bookmark-browse): Don't bug out if it's the only window.
6444 2013-06-26 Glenn Morris <rgm@gnu.org>
6446 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6447 (hfy-size): Handle ttys. (Bug#14668)
6449 * info-xref.el: Update for Texinfo 5 change in *note format.
6450 (info-xref-node-re, info-xref-note-re): New constants.
6451 (info-xref-check-buffer): Use info-xref-note-re.
6453 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6455 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6457 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6458 nil terminate the loop (bug#14718).
6460 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6462 * net/eww.el: Rework history traversal. When going forward/back,
6463 put these actions into the history, too, so that they can be
6465 (eww-render): Move the history reset to the correct buffer.
6467 2013-06-25 Juri Linkov <juri@jurta.org>
6469 * files-x.el (modify-dir-local-variable): Change the header comment
6470 in the file with directory local variables. (Bug#14692)
6472 * files-x.el (read-file-local-variable-value): Add `default'.
6475 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6477 * net/eww.el (eww-make-unique-file-name): Create a unique file
6478 name before saving to entering `y' accidentally asynchronously.
6480 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6482 * net/eww.el (eww-download): New command and keystroke.
6484 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6486 * net/eww.el (eww-copy-page-url): Change name of command.
6488 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6489 be more consistent with Info and dired.
6491 * net/eww.el (eww-mode-map): Ditto.
6493 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6495 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6496 packages from archives.
6497 (package-archive-contents): Change format; include obsolete packages.
6498 (package-desc): Use `dir' to mark builtin packages.
6499 (package--from-builtin): Set the `dir' field to `builtin'.
6500 (generated-autoload-file, version-control): Declare.
6501 (package-compute-transaction): Change first arg and return value to be
6502 lists of package-descs. Adjust to new package-archive-contents format.
6503 (package--add-to-archive-contents): Adjust to new
6504 package-archive-contents format.
6505 (package-download-transaction): Arg is now a list of package-descs.
6506 (package-install): If `pkg' is a package name, pass it as
6507 a requirement, so it is subject to the usual (e.g. disabled) checks.
6508 (describe-package): Accept package-desc as well.
6509 (describe-package-1): Describe a specific package-desc. Add links to
6510 other package-descs for the same package name.
6511 (package-menu-describe-package): Pass the actual package-desc.
6512 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6514 (package-desc-status): New function.
6515 (package-menu--refresh): New function, extracted
6516 from package-menu--generate.
6517 (package-menu--generate): Use it.
6518 (package-delete): Update package-alist.
6519 (package-menu-execute): Don't call package-initialize.
6521 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6522 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6523 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6524 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6525 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6526 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6528 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6530 * window.el (window--state-get-1): Workaround for bug#14527.
6531 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6533 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6535 * net/eww.el (eww-back-url): Implement the history by stashing all
6536 the data into a list.
6537 (eww-forward-url): Allow going forward in the history, too.
6539 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6541 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6542 for values and use read--expression for expressions (bug#14710).
6543 (read-file-local-variable): Avoid setq.
6544 (read-file-local-variable-mode): Use minor-mode-list.
6546 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6548 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6551 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6553 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6554 Update imenu-support when dialect changes.
6556 2013-06-25 Leo Liu <sdl.web@gmail.com>
6558 * ido.el (ido-read-internal): Allow forward slash on windows.
6560 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6562 * net/eww.el (eww): Start of strings is \\`, not ^.
6564 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6566 * net/shr.el (shr-browse-url): Fix interactive spec.
6568 * net/eww.el (eww): Add a trailing slash to domain names.
6570 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6572 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6574 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6576 * net/shr.el (shr-browse-url): Use an external browser if given a
6579 * net/eww.el (eww-external-browser): Move to shr.
6581 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6583 * net/eww.el (eww): Work more correctly for file: URLs.
6584 (eww-detect-charset): Allow quoted charsets.
6585 (eww-yank-page-url): New command and keystroke.
6587 2013-06-24 Daiki Ueno <ueno@gnu.org>
6589 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6590 file name of gpg executable.
6591 (epg-context-program): New function.
6592 (epg-context-home-directory): New function.
6593 (epg-context-set-program): New function.
6594 (epg-context-set-home-directory): New function.
6595 (epg--start): Use `epg-context-program' instead of
6597 (epg--list-keys-1): Likewise.
6599 2013-06-24 Leo Liu <sdl.web@gmail.com>
6601 * ido.el (ido-read-internal): Fix bug#14620.
6603 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6605 * faces.el (face-documentation): Simplify.
6606 (read-face-attribute, tty-find-type, x-resolve-font-name):
6607 Use `string-match-p'.
6608 (list-faces-display): Use `string-match-p'. Simplify.
6609 (face-spec-recalc): Check face to avoid face alias loops.
6610 (read-color): Use `string-match-p' and non-capturing parenthesis.
6612 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6614 * net/shr.el (shr-rescale-image): Use the new
6615 :max-width/:max-height functionality.
6617 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6619 * net/eww.el (eww-search-prefix): New variable.
6621 (eww-external-browser): New variable.
6622 (eww-mode-map): New keystroke.
6623 (eww-browse-with-external-browser): New command.
6625 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6627 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6629 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6630 Don't skip aligning the next header field when padding is 0;
6631 otherwise, field width is not respected unless the title is as
6634 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6636 * emacs-lisp/package.el (package-el-version): Remove.
6637 (package-process-define-package): Fix inf-loop.
6638 (package-install): Allow symbols as arguments again.
6640 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6642 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6643 add some more keyword-like methods.
6644 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6646 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6648 * bs.el (bs-buffer-show-mark): Make defvar-local.
6649 (bs-mode): Use setq-local.
6651 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6652 (emacs-lock--try-unlocking): Make defvar-local.
6654 2013-06-22 Glenn Morris <rgm@gnu.org>
6656 * play/cookie1.el (cookie-apropos): Minor simplification.
6658 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6660 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6662 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6663 `regexp-opt', it breaks the build during dumping.
6665 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6667 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6668 Highlight keyword-like methods on Kernel and Module with
6669 font-lock-builtin-face.
6670 (auto-mode-alist): Consolidate different entries into one regexp
6671 and add more *file-s.
6673 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6675 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6677 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6678 (diary-entry): Use it in the action of this button type instead of
6681 * calendar/todo-mode.el: New version.
6682 (todo-add-category): Append new category to end of file and give
6683 it the highest number, instead of putting it at the beginning and
6684 giving it 0. Incorporate noninteractive functionality.
6685 (todo-forward-category): Adapt to 1-based category numbering.
6686 Allow skipping over archived categories.
6687 (todo-backward-category): Derive from todo-forward-category.
6688 (todo-backward-item, todo-forward-item): Make noninteractive and
6689 delegate interactive part to new commands. Make sensitive to done items.
6690 (todo-categories): Make value an alist of category names and
6691 vectors of item counts.
6692 (todo-category-beg): Make a defconst.
6693 (todo-category-number): Use 1 instead of 0 as initial value.
6694 (todo-category-select): Make sensitive to overlays, optional item
6695 highlighting and done items.
6696 (todo-delete-item): Make sensitive to overlays and marked and done items.
6697 (todo-edit-item): Make sensitive to overlays and editing of
6698 date/time header optional. Add format checks.
6699 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6700 no-op if point is not on an item. Advertise using todo-edit-quit.
6701 (todo-edit-mode): Make sensitive to new format, font-locking, and
6702 multiple todo files.
6703 (todo-insert-item, todo-insert-item-here): Derive from
6704 todo-basic-insert-item and extend functionality.
6705 (todo-item-end, todo-item-start): Make sensitive to done items.
6706 (todo-item-string): Don't return text properties. Restore point.
6707 (todo-jump-to-category): Make sensitive to multiple todo files and
6708 todo archives. Use extended category completion.
6709 (todo-lower-item, todo-raise-item): Rename to *-priority and
6710 derive from todo-set-item-priority.
6711 (todo-mode): Derive from special-mode. Make sensitive to new
6712 format, font-locking and multiple todo files. Make read-only.
6713 (todo-mode-map): Don't suppress digit keys, so they can supply
6714 prefix arguments. Add many new key bindings.
6715 (todo-prefix): Insert as an overlay instead of file text.
6716 Change semantics from diary date expression to purely visual mark.
6717 (todo-print): Rename to todo-print-buffer. Make buffer display
6718 features printable. Remove option to restrict number of items
6719 printed. Add option to print to file.
6720 (todo-print-function): Rename to todo-print-buffer-function.
6721 (todo-quit): Extend to handle exiting new todo modes.
6722 (todo-remove-item): Make sensitive to overlays.
6723 (todo-save): Extend to buffers of filtered items.
6724 (todo-show): Make sensitive to done items, multiple todo files and
6725 new todo modes. Offer to convert legacy todo file before creating
6726 first new todo file.
6727 (todo-show-priorities): Rename to todo-top-priorities.
6728 Change semantics of value 0.
6729 (todo-top-priorities): Rename to todo-filter-top-priorities,
6730 derive from todo-filter-items and extend functionality.
6731 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6732 and extend functionality to other types of filtered items.
6733 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6734 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6735 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6736 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6737 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6738 (todo-edit-mode-hook, todo-entry-prefix-function)
6739 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6740 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6741 (todo-initials, todo-insert-threshold, todo-item-string-start)
6742 (todo-line-string, todo-menu, todo-mode-hook)
6743 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6744 (todo-print-priorities, todo-remove-separator)
6745 (todo-save-top-priorities-too, todo-string-count-lines)
6746 (todo-string-multiline-p, todo-time-string-format)
6747 (todo-tmp-buffer-name): Remove.
6748 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6749 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6750 (todo-edit-category-diary-inclusion)
6751 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6752 (todo-edit-file, todo-edit-item-date-day)
6753 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6754 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6755 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6756 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6757 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6758 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6759 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6760 (todo-filter-top-priorities-multifile, todo-find-archive)
6761 (todo-find-filtered-items-file, todo-go-to-source-item)
6762 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6763 (todo-jump-to-archive-category, todo-lower-category)
6764 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6765 (todo-move-category, todo-move-item, todo-next-button)
6766 (todo-next-item, todo-padded-string, todo-powerset)
6767 (todo-previous-button, todo-previous-item)
6768 (todo-print-buffer-to-file, todo-raise-category)
6769 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6770 (todo-set-category-number, todo-set-item-priority)
6771 (todo-set-top-priorities-in-category)
6772 (todo-set-top-priorities-in-file, todo-show-categories-table)
6773 (todo-sort-categories-alphabetically-or-numerically)
6774 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6775 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6776 (todo-toggle-item-header, todo-toggle-item-highlighting)
6777 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6778 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6779 (todo-unarchive-items, todo-unmark-category): New commands.
6780 (todo-absolute-file-name, todo-add-to-buffer-list)
6781 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6782 (todo-basic-insert-item, todo-category-completions)
6783 (todo-category-number, todo-category-string-matcher-1)
6784 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6785 (todo-check-format, todo-clear-matches)
6786 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6787 (todo-current-category, todo-date-string-matcher)
6788 (todo-define-insertion-command, todo-diary-expired-matcher)
6789 (todo-diary-goto-entry, todo-diary-item-p)
6790 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6791 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6792 (todo-done-item-section-p, todo-done-separator)
6793 (todo-done-string-matcher, todo-files, todo-filter-items)
6794 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6795 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6796 (todo-insert-category-line, todo-insert-item-from-calendar)
6797 (todo-insert-sort-button, todo-insert-with-overlays)
6798 (todo-insertion-command-name, todo-insertion-key-bindings)
6799 (todo-label-to-key, todo-longest-category-name-length)
6800 (todo-make-categories-list, todo-mode-external-set)
6801 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6802 (todo-modes-set-3, todo-multiple-filter-files)
6803 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6804 (todo-read-category, todo-read-date, todo-read-dayname)
6805 (todo-read-file-name, todo-read-time)
6806 (todo-reevaluate-category-completions-files-defcustom)
6807 (todo-reevaluate-default-file-defcustom)
6808 (todo-reevaluate-filelist-defcustoms)
6809 (todo-reevaluate-filter-files-defcustom)
6810 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6811 (todo-reset-done-separator, todo-reset-done-separator-string)
6812 (todo-reset-done-string, todo-reset-global-current-todo-file)
6813 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6814 (todo-reset-prefix, todo-set-categories)
6815 (todo-set-date-from-calendar, todo-set-show-current-file)
6816 (todo-set-top-priorities, todo-short-file-name)
6817 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6818 (todo-total-item-counts, todo-update-buffer-list)
6819 (todo-update-categories-display, todo-update-categories-sexp)
6820 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6822 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6824 (todo-categories, todo-display, todo-edit, todo-faces)
6825 (todo-filtered): New defgroups.
6826 (todo-archived-only, todo-button, todo-category-string, todo-date)
6827 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6828 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6829 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6830 (todo-add-item-if-new-category, todo-always-add-time-string)
6831 (todo-categories-align, todo-categories-archived-label)
6832 (todo-categories-category-label, todo-categories-diary-label)
6833 (todo-categories-done-label, todo-categories-number-separator)
6834 (todo-categories-todo-label, todo-categories-totals-label)
6835 (todo-category-completions-files, todo-completion-ignore-case)
6836 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6837 (todo-done-separator-string, todo-done-string)
6838 (todo-files-function, todo-filter-done-items, todo-filter-files)
6839 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6840 (todo-initial-category, todo-initial-file, todo-item-mark)
6841 (todo-legacy-date-time-regexp, todo-mode-line-function)
6842 (todo-nondiary-marker, todo-number-prefix)
6843 (todo-print-buffer-function, todo-show-current-file)
6844 (todo-show-done-only, todo-show-first, todo-show-with-done)
6845 (todo-skip-archived-categories, todo-top-priorities-overrides)
6846 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6847 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6849 (todo-category-done, todo-date-pattern, todo-date-string-start)
6850 (todo-diary-items-buffer, todo-done-string-start)
6851 (todo-filtered-items-buffer, todo-item-start)
6852 (todo-month-abbrev-array, todo-month-name-array)
6853 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6854 (todo-top-priorities-buffer): New defconsts.
6855 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6856 (todo-categories-with-marks, todo-category-string-face)
6857 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6858 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6859 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6860 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6861 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6862 (todo-font-lock-keywords, todo-global-current-todo-file)
6863 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6864 (todo-insertion-commands-args)
6865 (todo-insertion-commands-args-genlist)
6866 (todo-insertion-commands-names, todo-insertion-map)
6867 (todo-key-bindings-t, todo-key-bindings-t+a)
6868 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6869 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6870 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6871 (todo-visited): New variables.
6873 2013-06-21 Glenn Morris <rgm@gnu.org>
6875 * play/cookie1.el (cookie-apropos): Add optional display argument.
6876 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6877 (psychoanalyze-pinhead): Use cookie-doctor.
6879 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6881 * emacs-lisp/package.el (tar-get-file-descriptor)
6882 (tar--extract): Declare.
6884 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6886 Extend flymake's warning predicate to be a function (bug#14217).
6887 * progmodes/flymake.el (flymake-warning-predicate): New.
6888 (flymake-parse-line): Use it.
6889 (flymake-warning-re): Make obsolete alias to
6890 `flymake-warning-predicate'.
6892 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6894 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6895 (package-obsolete-list): Remove.
6896 (package-activate): Remove min-version argument. Add `force' argument.
6897 Adjust to new package-alist format.
6898 (package-mark-obsolete): Remove.
6899 (package-unpack): Force reload of the package's autoloads.
6900 (package-installed-p): Check builtins if the installed package is not
6902 (package-initialize): Don't reset package-obsolete-list.
6903 Don't specify which package version to activate.
6904 (package-process-define-package, describe-package-1)
6905 (package-menu--generate): Adjust to new package-alist format.
6907 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6909 * allout-widgets.el (allout-widgets-mode-off)
6910 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6911 (allout-widgets-post-command-business)
6912 (allout-widgets-after-copy-or-kill-function)
6913 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6914 (allout-decorate-item-and-context)
6915 (allout-graphics-modification-handler): Fix typos in docstrings.
6916 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6918 * cmuscheme.el (scheme-start-file): Doc fix.
6919 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6920 (scheme-input-filter): Use `string-match-p'.
6922 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6924 * dired-x.el: Use Dired consistently in docstrings.
6926 * dired.el: Use Dired consistently in docstrings.
6927 (dired-readin, dired-mode): Use `setq-local'.
6928 (dired-switches-alist): Make defvar-local.
6929 (dired-buffers-for-dir): Use `zerop'.
6930 (dired-safe-switches-p, dired-switches-escape-p)
6931 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6932 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6933 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6934 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6935 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6936 (dired-toggle-marks, dired-mark-files-containing-regexp)
6937 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6938 (dired-flag-auto-save-files, dired-flag-backup-files):
6940 (dired-mark-files-regexp, dired-build-subdir-alist):
6941 Use `string-match-p', `looking-at-p'.
6943 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6944 (direct-print-region-helper): Use `string-match-p'.
6946 2013-06-21 Leo Liu <sdl.web@gmail.com>
6948 * comint.el (comint-redirect-results-list-from-process):
6951 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6953 * net/eww.el (eww-update-header-line-format): Quote % characters.
6955 2013-06-21 Glenn Morris <rgm@gnu.org>
6957 * play/cookie1.el (cookie): New custom group.
6958 (cookie-file): New option.
6959 (cookie-check-file): New function.
6960 (cookie): Make it interactive. Make start and end messages optional.
6961 Interactively, display the result. Default to cookie-file.
6962 (cookie-insert): Default to cookie-file.
6963 (cookie-snarf): Make start and end messages optional.
6964 Default to cookie-file. Use with-temp-buffer.
6965 (cookie-read): Rename from read-cookie.
6966 Make start and end messages optional. Default to cookie-file.
6967 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6969 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6970 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6972 2013-06-21 Leo Liu <sdl.web@gmail.com>
6974 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6976 2013-06-21 Glenn Morris <rgm@gnu.org>
6978 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6980 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6981 Daniel Hackney <dan@haxney.org>
6983 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6984 Consolidate the single-file vs tarball code.
6985 (package-desc-suffix): New function.
6986 (package-desc-full-name): Don't bother inlining it.
6987 (package-load-descriptor): Return the new package-desc.
6988 (package-mark-obsolete): Remove unused arg `package'.
6989 (package-unpack): Make it work for single files as well.
6990 Make it update package-alist.
6991 (package--make-autoloads-and-stuff): Rename from
6992 package--make-autoloads-and-compile. Don't compile any more.
6993 (package--compile): New function.
6994 (package-generate-description-file): New function, extracted from
6995 package-unpack-single.
6996 (package-unpack-single): Remove.
6997 (package--with-work-buffer): Add indentation and debugging info.
6998 (package-download-single): Remove.
6999 (package-install-from-archive): Rename from package-download-tar, make
7000 it take a pkg-desc, and make it work for single files as well.
7001 (package-download-transaction): Simplify.
7002 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7003 external tar program.
7004 (package-install-from-buffer): Remove `pkg-desc' argument.
7005 Use package-tar-file-info for tar-mode buffers.
7006 (package-install-file): Simplify accordingly.
7007 (package-archive-base): Change to take a pkg-desc.
7008 * tar-mode.el (tar--check-descriptor): New function, extracted from
7010 (tar-get-descriptor): Use it.
7011 (tar-get-file-descriptor): New function.
7012 (tar--extract): New function, extracted from tar-extract.
7013 (tar--extract): Use it.
7014 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7015 case the summary uses non-ascii. Adjust to new calling convention of
7016 package-tar-file-info.
7018 2013-06-21 Leo Liu <sdl.web@gmail.com>
7020 * comint.el (comint-redirect-results-list-from-process):
7021 Fix random delay. (Bug#14681)
7023 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7025 * profiler.el (profiler-format-number): Use log, not log10.
7027 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7029 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7031 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7033 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7034 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7036 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7037 (AUTOGENEL): ... here.
7038 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7039 (cl--defsubst-expand): Use it.
7041 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7043 * subr.el (log10): Move here from C code, and declare as obsolete.
7044 All uses of (log10 X) replaced with (log X 10).
7046 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7048 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7049 Declare with `defvar-local'.
7050 (tabulated-list-use-header-line, tabulated-list-entries)
7051 (tabulated-list-padding, tabulated-list-printer)
7052 (tabulated-list-sort-key): Declare with `defvar-local'.
7053 (tabulated-list-init-header, tabulated-list-print-fake-header):
7056 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7058 * arc-mode.el (archive-mode): Add `archive-write-file' to
7059 `write-contents-functions' also for remote files. (Bug#14652)
7061 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7063 * cus-edit.el (custom-commands): Fix typos.
7064 (custom-display): Fix tooltip text.
7065 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7066 Fix typos in docstrings.
7067 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7068 (custom-unlispify-menu-entry, custom-magic-value-create)
7069 (custom-add-see-also, custom-group-value-create): Use ?\s.
7070 (custom-guess-type, customize-apropos, editable-field)
7071 (custom-face-value-create): Use `string-match-p'.
7072 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7074 * custom.el (custom-load-symbol): Use `string-match-p'.
7076 * ansi-color.el: Convert to lexical binding.
7077 (ansi-colors): Fix URL.
7078 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7079 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7080 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7082 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7084 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7086 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7088 2013-06-19 Tom Tromey <tromey@redhat.com>
7090 * net/eww.el (eww-top-url): Remove.
7091 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7092 (eww-render): Set new variables. Don't set eww-top-url.
7093 (eww-handle-link): Handle "prev", "home", and "contents".
7094 Downcase the rel text.
7095 (eww-top-url): Choose best top URL.
7097 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7099 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7100 relying in widget.el. Using widget.el leads to too many
7101 user interface inconsistencies.
7102 (eww-self-insert): Implement entering commands in text fields.
7103 (eww-process-text-input): New function to make text input field editing
7105 (eww-submit): Rewrite to use the new-style form methods.
7106 (eww-select-display): Display the correct selected item.
7107 (eww-change-select): Implement changing the select value.
7108 (eww-toggle-checkbox): Implement radio/checkboxes.
7109 (eww-update-field): Fix compilation error.
7110 (eww-tag-textarea): Implement <textarea>.
7112 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7113 we don't shadow mode-specific bindings.
7115 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7118 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7120 2013-06-19 Glenn Morris <rgm@gnu.org>
7122 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7124 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7126 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7129 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7131 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7133 * net/browse-url.el (browse-url-browser-function):
7134 `eww-browse-url' has the right calling signature, `eww' does not.
7136 2013-06-19 Glenn Morris <rgm@gnu.org>
7138 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7139 Only eval autoloaded macros.
7140 (byte-compile-autoload): Only give the macro warning for macros.
7142 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7143 (ps-underlined-faces): Declare.
7145 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7146 (speedbar-add-supported-extension): Declare.
7148 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7149 Don't include a date stamp in the header of the generated file;
7150 it leads to needless differences between output files.
7152 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7154 * net/secrets.el (secrets-struct-secret-content-type):
7155 Replace check of introspection data by a test call of "CreateItem".
7156 Some servers do not offer introspection.
7158 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7160 * electric.el (electric-pair-mode): Improve interaction with
7161 electric-layout-mode.
7162 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7163 (electric-pair-syntax): Use text-mode-syntax-table in comments
7165 (electric-pair--insert): New function.
7166 (electric-pair-post-self-insert-function): Use it and
7167 electric--after-char-pos.
7169 2013-06-19 Leo Liu <sdl.web@gmail.com>
7171 * progmodes/octave.el (octave-help): Fix regexp.
7173 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7175 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7176 (shr-table-horizontal-line): Allow nil as a value, and change the
7178 (shr-insert-table-ruler): Respect the nil value.
7180 2013-06-18 Tom Tromey <tromey@barimba>
7182 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7184 (eww-open-file): New defun.
7185 (eww-render): Initialize new variables.
7186 (eww-display-html): Handle "link" and "a".
7187 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7188 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7189 (eww-back-url): Rename from eww-previous-url.
7190 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7193 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7195 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7196 Distinguish ternary operator tokens from slash symbol and slash
7199 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7201 Convert symbol prettification into minor mode and global minor mode.
7203 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7204 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7205 (prettify-symbols--keywords): Rename from
7206 `prog-prettify-symbols-alist' and make a local defvar.
7207 (prettify-symbols--compose-symbol): Rename from
7208 `prog--prettify-font-lock-compose-symbol'.
7209 (prettify-symbols--make-keywords): Rename from
7210 `prog-prettify-font-lock-symbols-keywords' and simplify.
7211 (prog-prettify-install): Remove.
7212 (prettify-symbols-mode): New minor mode, based on
7213 `prog-prettify-install'.
7214 (turn-on-prettify-symbols-mode): New function.
7215 (global-prettify-symbols-mode): New globalized minor mode.
7217 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7218 * progmodes/cfengine.el (cfengine3-mode):
7219 * progmodes/perl-mode.el (perl-mode): Don't call
7220 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7222 2013-06-18 Juri Linkov <juri@jurta.org>
7224 * files-x.el (modify-file-local-variable-message): New function.
7225 (modify-file-local-variable)
7226 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7227 and call `modify-file-local-variable-message' when it's non-nil.
7228 (add-file-local-variable, delete-file-local-variable)
7229 (add-file-local-variable-prop-line)
7230 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7231 and use it. (Bug#9820)
7233 2013-06-18 Juri Linkov <juri@jurta.org>
7235 * emulation/vi.el (vi-shell-op):
7236 * emulation/vip.el (vip-execute-com, ex-command):
7237 * emulation/viper-cmd.el (viper-exec-bang):
7238 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7239 the call of `shell-command-on-region'. (Bug#14637)
7241 * simple.el (shell-command-on-region): Doc fix.
7243 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7245 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7248 2013-06-18 Glenn Morris <rgm@gnu.org>
7250 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7252 * newcomment.el (comment-search-forward, comment-search-backward):
7253 Doc fix. (Bug#14376)
7255 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7257 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7258 (buffer-face-mode-invoke): Doc fix.
7260 2013-06-18 Matthias Meulien <orontee@gmail.com>
7262 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7263 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7265 2013-06-18 Glenn Morris <rgm@gnu.org>
7267 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7268 Replace obsolete function generic-make-keywords with its expansion.
7270 * progmodes/python.el (ffap-alist): Declare.
7272 * textmodes/reftex.el (bibtex-mode-map): Declare.
7274 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7276 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7277 (package-unpack, package-unpack-single): Return the pkg-dir.
7278 (package-download-transaction): Use it to update package-alist.
7280 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7282 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7285 2013-06-17 Juri Linkov <juri@jurta.org>
7287 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7289 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7291 * emacs-lisp/package.el (package-load-descriptor):
7292 Remove `with-syntax-table' call, `read' doesn't need it.
7293 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7295 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7297 * startup.el (command-line): Expand package name returned by
7298 `package--description-file' (bug#14639).
7300 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7302 * emacs-lisp/package.el (package-load-descriptor): Do not call
7303 `emacs-lisp-mode', just use its syntax table.
7305 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7307 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7308 `font-lock-extra-managed-props' if any prettifying keyword is added.
7309 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7310 (prog-mode): Use `setq-local'.
7312 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7314 * international/characters.el (standard-case-table): Set syntax of ?»
7315 and ?« to punctuation.
7317 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7319 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7320 Save relevant match data before calling `syntax-ppss' (bug#14595).
7322 2013-06-15 Juri Linkov <juri@jurta.org>
7324 * files-x.el (modify-file-local-variable-prop-line): Add local
7325 variables to the end of the existing comment on the first line.
7326 Use `file-auto-mode-skip' to skip interpreter magic line,
7327 and also skip XML declaration.
7329 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7331 * startup.el (package--builtin-versions): New var.
7332 (package-subdirectory-regexp): Remove.
7333 (package--description-file): Hard code its value instead.
7335 * emacs-lisp/package.el: Don't activate packages older than builtin.
7336 (package-obsolete-list): Rename from package-obsolete-alist, and make
7337 it into a simple list of package-desc.
7338 (package-strip-version): Remove.
7339 (package-built-in-p): Use package--builtin-versions.
7340 (package-mark-obsolete): Simplify.
7341 (package-process-define-package): Mark it obsolete if older than the
7343 (package-handle-response): Use line-end-position.
7344 (package-read-archive-contents, package--download-one-archive):
7346 (package--add-to-archive-contents): Skip if older than the builtin or
7348 (package-menu-describe-package): Fix last change.
7349 (package-list-unversioned): New var.
7350 (package-menu--generate): Use it.
7352 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7353 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7354 (autoload-builtin-package-versions): New variable.
7355 (autoload-generate-file-autoloads): Use them.
7356 Remove the list of autoloaded functions/macros from the
7357 (autoload...) comments.
7359 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7361 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7363 * simple.el (line-move-partial): Don't jump to the next screen
7364 line as soon as it becomes visible. Instead, continue enlarging
7365 the vscroll until the portion of a tall screen line that's left on
7366 display is about the height of the frame's default font.
7369 2013-06-15 Glenn Morris <rgm@gnu.org>
7371 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7372 compilation-error-regexp-alist void, or local while let-bound.
7374 * progmodes/make-mode.el (makefile-mode-syntax-table):
7375 Treat "=" as punctuation. (Bug#14614)
7377 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7379 * help-fns.el (describe-variable):
7380 Add extra line for permanent-local variables.
7382 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7384 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7385 Add export, import, library. (Bug#9164)
7386 (library): Set indent function.
7388 2013-06-14 Glenn Morris <rgm@gnu.org>
7390 * term/xterm.el (xterm--query):
7391 Stop after first matching handler. (Bug#14615)
7393 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7395 Add support for dired in saveplace.
7396 * dired.el (dired-initial-position-hook): New variable.
7397 (dired-initial-position): Call hook to place cursor position.
7398 * saveplace.el (save-place-to-alist): Add dired position.
7399 (save-place-dired-hook): New function.
7401 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7403 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7404 through a symbol rather than letrec.
7406 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7407 (package-desc): Add `dir' field.
7408 (package-desc-full-name): New function.
7409 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7410 (package-maybe-load-descriptor): Remove.
7411 (package-load-all-descriptors): Just call package-load-descriptor.
7412 (package--disabled-p): New function.
7413 (package-desc-vers, package-desc-doc): Remove aliases.
7414 (package--dir): Remove function.
7415 (package-activate): Check if a package is disabled.
7416 (package-process-define-package): New function, extracted from
7418 (define-package): Turn into a place holder.
7419 (package-unpack-single, package-tar-file-info):
7420 Use package--description-file.
7421 (package-compute-transaction): Use package--disabled-p.
7422 (package-download-transaction): Don't call
7423 package-maybe-load-descriptor since they're all loaded anyway.
7424 (package-install): Change argument to be a pkg-desc.
7425 (package-delete): Use a single pkg-desc argument.
7426 (describe-package-1): Use package-desc-dir instead of package--dir.
7427 Use package-desc property instead of package-symbol.
7428 (package-install-button-action): Adjust accordingly.
7429 (package--push): Rewrite.
7430 (package-menu--print-info): Adjust accordingly. Change the ID format
7432 (package-menu-describe-package, package-menu-get-status)
7433 (package-menu--find-upgrades, package-menu-mark-upgrades)
7434 (package-menu-execute, package-menu--name-predicate):
7436 * startup.el (package--description-file): New function.
7437 (command-line): Use it.
7438 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7439 Use package-desc-version.
7441 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7442 (byte-compile-preprocess): Use it.
7443 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7444 can't quite recognize.
7445 (byte-compile-add-to-list): Remove.
7446 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7447 (cconv-closure-convert): Add assertion.
7449 * emacs-lisp/map-ynp.el: Use lexical-binding.
7450 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7451 Factor out some repeated code.
7453 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7455 * subr.el (with-eval-after-load): New macro.
7456 (eval-after-load): Allow form to be a function.
7457 take advantage of lexical-binding.
7458 (do-after-load-evaluation): Use dolist and adjust to new format.
7459 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7461 2013-06-13 Juri Linkov <juri@jurta.org>
7463 * replace.el (perform-replace): Display "symbol " and other search
7464 modes from `isearch-message-prefix' in the *Help* buffer.
7466 * isearch.el (isearch-query-replace): Add " symbol" and other
7467 possible search modes from `isearch-message-prefix' to the prompt.
7468 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7469 when reading a regexp to collect.
7471 2013-06-13 Juri Linkov <juri@jurta.org>
7473 * isearch.el (word-search-regexp): Match whitespace if the search
7474 string begins or ends in whitespace. The LAX arg is applied to
7475 both ends of the search string. Use `regexp-quote' and explicit
7476 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7477 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7478 boundaries are replaced with symbol boundaries, and characters
7479 between symbols match non-word non-symbol syntax. (Bug#14602)
7481 2013-06-13 Juri Linkov <juri@jurta.org>
7483 * isearch.el (isearch-del-char): Don't exceed the length of
7484 `isearch-string' by the prefix arg. (Bug#14563)
7486 2013-06-13 Juri Linkov <juri@jurta.org>
7488 * isearch.el (isearch-yank-word, isearch-yank-line)
7489 (isearch-char-by-name, isearch-quote-char)
7490 (isearch-printing-char, isearch-process-search-char):
7491 Add optional count prefix arg. (Bug#14563)
7493 * international/isearch-x.el
7494 (isearch-process-search-multibyte-characters):
7495 Add optional count prefix arg.
7497 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7499 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7500 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7503 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7505 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7507 2013-06-13 Glenn Morris <rgm@gnu.org>
7509 * startup.el (tty-handle-args):
7510 Don't just discard "--" and anything after. (Bug#14608)
7512 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7514 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7516 Implement changes in Secret Service API. Make it backward compatible.
7517 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7518 (secrets-create-item): Use it. Prefix properties with interface.
7520 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7522 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7523 (term-emulate-terminal): Respect term-suppress-hard-newline.
7525 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7527 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7528 Only remove a `thumb-file' overlay. (Bug#14548)
7530 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7532 * mail/reporter.el (reporter-submit-bug-report):
7533 Handle missing package-name. (Bug#14600)
7535 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7537 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7538 (reftex-citation-prompt, reftex-default-bibliography)
7539 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7540 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7541 (reftex-bib-sort-author, reftex-bib-sort-year)
7542 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7543 (reftex-extract-bib-entries-from-thebibliography)
7544 (reftex-get-bibkey-default, reftex-get-bib-names)
7545 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7546 (reftex-format-bib-entry, reftex-parse-bibitem)
7547 (reftex-format-bibitem, reftex-do-citation)
7548 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7549 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7550 (reftex-insert-bib-matches, reftex-format-citation)
7551 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7552 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7553 existing comments into docstrings.
7555 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7557 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7559 2013-06-12 Andreas Schwab <schwab@suse.de>
7561 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7562 for auto-save files.
7564 2013-06-12 Glenn Morris <rgm@gnu.org>
7566 * ido.el (ido-delete-ignored-files): Remove.
7567 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7568 Go back to calling ido-ignore-item-p directly.
7570 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7572 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7574 * ido.el (ido-delete-ignored-files): New function,
7575 split from ido-make-file-list-1.
7576 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7577 (ido-make-file-list-1): Use ido-delete-ignored-files.
7579 2013-06-12 Leo Liu <sdl.web@gmail.com>
7581 * progmodes/octave.el (inferior-octave-startup)
7582 (inferior-octave-completion-table)
7583 (inferior-octave-track-window-width-change)
7584 (octave-eldoc-function-signatures, octave-help)
7585 (octave-find-definition): Use single quoted strings.
7586 (inferior-octave-startup-args): Change default value.
7587 (inferior-octave-startup): Do not hard code "-i" and
7588 "--no-line-editing".
7589 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7590 (inferior-octave-directory-tracker): Use it.
7591 (octave-goto-function-definition): Robustify.
7592 (octave-help): Support highlighting operators in 'See also'.
7593 (octave-find-definition): Find subfunctions only in Octave mode.
7595 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7597 * help-fns.el (help-fns--compiler-macro): If the handler function is
7598 named, then put a link to it.
7599 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7600 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7602 (cl-eval-when): Simplify debug spec.
7603 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7604 compiler-macro function instead of setting `compiler-macro-file'.
7606 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7608 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7609 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7611 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7612 Daniel Hackney <dan@haxney.org>
7614 First part of Daniel Hackney's patch to package.el.
7615 * emacs-lisp/package.el: Use defstruct.
7616 (package-desc): New, main struct.
7617 (package--bi-desc, package--ac-desc): New structs, used to describe the
7618 format in external files.
7619 (package-desc-vers): Replace with package-desc-version accessor.
7620 (package-desc-doc): Replace with package-desc-summary accessor.
7621 (package-activate-1): Remove `package' arg since the pkg-vec now
7623 (define-package): Use package-desc-from-define.
7624 (package-unpack-single): Change file-name arg to be a symbol.
7625 (package--add-to-archive-contents): Use package-desc-create and new
7626 accessor functions to package--ac-desc.
7627 (package-buffer-info, package-tar-file-info): Return a package-desc.
7628 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7629 arg to be a package-desc.
7630 (package-install-file): Adjust accordingly. Use \' to match EOS.
7631 (package--from-builtin): New function.
7632 (describe-package-1, package-menu--generate): Use it.
7633 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7634 (package-generate-autoloads): Idem and return the name of the file.
7635 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7636 Change pkg-info arg to be a package-desc.
7637 Use package-make-ac-desc.
7638 (package-upload-file): Use \' to match EOS.
7639 * finder.el (finder-compile-keywords): Use package-make-builtin.
7641 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7643 * vc/vc.el (vc-deduce-fileset): Change error message.
7644 (vc-read-backend): New function.
7645 (vc-next-action): Use it.
7647 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7649 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7650 (prolog-font-lock-keywords): Use regexp-opt instead.
7651 Don't manually highlight strings.
7652 (prolog-mode-variables): Simplify comment-start-skip.
7653 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7655 * emacs-lisp/generic.el (generic--normalise-comments)
7656 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7657 (generic-mode-set-comments): Use them.
7658 (generic-bracket-support): Use setq-local.
7659 (generic-make-keywords-list): Declare obsolete.
7661 2013-06-11 Glenn Morris <rgm@gnu.org>
7663 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7664 Prettify after setting font-lock-defaults. (Bug#14574)
7666 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7668 * replace.el (query-replace, occur-read-regexp-defaults-function)
7670 * subr.el (declare-function, number-sequence, local-set-key)
7671 (substitute-key-definition, locate-user-emacs-file)
7672 (with-silent-modifications, split-string, eval-after-load):
7673 Fix typos, remove unneeded backslashes and reflow some docstrings.
7675 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7677 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7678 default for Elisp files.
7680 2013-06-11 Glenn Morris <rgm@gnu.org>
7682 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7683 although define-derived-mode was doing this anyway. (Bug#14583)
7685 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7687 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7688 Fix make-variable-buffer-local call to refer to the correct variable.
7690 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7692 * eshell/em-term.el (eshell-visual-commands)
7693 (eshell-visual-subcommands, eshell-visual-options):
7694 Add summary line to docstrings. Add cross-references.
7696 2013-06-10 Glenn Morris <rgm@gnu.org>
7698 * epa.el (epa-read-file-name): New function. (Bug#14510)
7699 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7701 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7703 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7704 output redirection to be ignored with visual commands.
7706 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7708 * eshell/em-term.el (eshell-visual-command-p): New function.
7709 (eshell-term-initialize): Move long lambda to separate function
7710 eshell-visual-command-p.
7711 * eshell/em-dirs.el (eshell-dirs-initialise):
7712 * eshell/em-script.el (eshell-script-initialize):
7713 Add missing #' to lambda.
7715 2013-06-08 Leo Liu <sdl.web@gmail.com>
7717 * progmodes/octave.el (octave-add-log-current-defun): New function.
7718 (octave-mode): Set add-log-current-defun-function.
7719 (octave-goto-function-definition): Do not move point if not found.
7720 (octave-find-definition): Enhance to try subfunctions first.
7722 2013-06-08 Glenn Morris <rgm@gnu.org>
7724 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7725 (byte-compile-backward-char, byte-compile-backward-word):
7726 Improve previous change, to handle non-explicit nil.
7728 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7730 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7731 (smie--opener/closer-at-point): New function.
7732 (smie--matching-block-data): Use it. Don't match from right after an
7733 opener or right before a closer. Obey smie-blink-matching-inners.
7734 Don't signal a mismatch for repeated inners like "switch..case..case".
7736 2013-06-07 Leo Liu <sdl.web@gmail.com>
7738 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7740 (octave-function-header-regexp): Fix. (Bug#14570)
7741 (octave-help-mode-finish-hook, octave-help-mode-finish):
7742 Remove. Just use temp-buffer-show-hook.
7744 * newcomment.el (comment-search-backward): Revert last change.
7747 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7749 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7751 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7752 through xargs, to avoid failure due to MS-Windows limitations on
7753 command-line length.
7755 2013-06-06 Glenn Morris <rgm@gnu.org>
7757 * font-lock.el (lisp-font-lock-keywords-2):
7758 Treat user-error like error.
7760 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7761 (byte-compile-backward-char, byte-compile-backward-word):
7762 Handle explicit nil arguments. (Bug#14565)
7764 2013-06-05 Alan Mackenzie <acm@muc.de>
7766 * isearch.el (isearch-allow-prefix): New user option.
7767 (isearch-other-meta-char): Don't exit isearch when a prefix
7768 argument is typed whilst `isearch-allow-prefix' is non-nil.
7771 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7773 * autorevert.el (auto-revert-notify-handler): Use memq.
7774 Hide assertion failure.
7776 * skeleton.el: Use cl-lib.
7777 (skeleton-further-elements): Use defvar-local.
7778 (skeleton-insert): Use cl-progv.
7780 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7782 * progmodes/prog-mode.el (prog-prettify-symbols)
7783 (prog-prettify-install): Update docstrings.
7785 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7787 * simple.el: Move all the prog-mode code to prog-mode.el.
7788 * progmodes/prog-mode.el: New file.
7789 * loadup.el: Add prog-mode.el.
7791 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7793 * simple.el (prog-prettify-symbols): Add version.
7794 (prog-prettify-install): Add convenience function to prettify symbols.
7796 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7797 (perl--augmented-font-lock-keywords-1)
7798 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7799 variables and use it.
7801 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7802 (cfengine3-mode): Remove unneeded variable and use it.
7804 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7805 (lisp--augmented-font-lock-keywords-1)
7806 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7807 Remove unneeded variables and use it.
7809 2013-06-05 João Távora <joaotavora@gmail.com>
7811 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7812 to point when opening the connection. (Bug#14380)
7814 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7816 * subr.el (load-history-regexp, load-history-filename-element)
7817 (eval-after-load, after-load-functions, do-after-load-evaluation)
7818 (eval-next-after-load, display-delayed-warnings)
7819 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7820 definition of save-match-data.
7821 (overriding-local-map): Remove accidental obsolescence declaration.
7823 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7825 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7827 Generalize symbol prettify support to prog-mode and implement it
7828 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7829 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7830 (prog--prettify-font-lock-compose-symbol)
7831 (prog-prettify-font-lock-symbols-keywords): New variables and
7832 functions to support symbol prettification.
7833 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7834 (lisp--augmented-font-lock-keywords-1)
7835 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7836 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7837 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7838 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7839 Implement prettify of -> => :: strings.
7840 * progmodes/perl-mode.el (perl-prettify-symbols)
7841 (perl--font-lock-compose-symbol)
7842 (perl--font-lock-symbols-keywords): Move to prog-mode.
7843 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7844 (perl-font-lock-keywords-1)
7845 (perl-font-lock-keywords-2): Remove explicit prettify support.
7846 (perl--augmented-font-lock-keywords)
7847 (perl--augmented-font-lock-keywords-1)
7848 (perl--augmented-font-lock-keywords-2, perl-mode):
7849 Implement prettify support.
7851 2013-06-05 Leo Liu <sdl.web@gmail.com>
7853 Re-implement smie matching block highlight using
7854 show-paren-data-function. (Bug#14395)
7855 * emacs-lisp/smie.el (smie-matching-block-highlight)
7856 (smie--highlight-matching-block-overlay)
7857 (smie--highlight-matching-block-lastpos)
7858 (smie-highlight-matching-block)
7859 (smie-highlight-matching-block-mode): Remove.
7860 (smie--matching-block-data-cache): New variable.
7861 (smie--matching-block-data): New function.
7862 (smie-setup): Use smie--matching-block-data for
7863 show-paren-data-function.
7865 * progmodes/octave.el (octave-mode-menu): Fix.
7866 (octave-find-definition): Skip garbage lines.
7868 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7870 Fix compilation error with simultaneous dynamic+lexical scoping.
7871 Add warning when a defvar appears after the first let-binding.
7872 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7873 (byte-compile-close-variables): Initialize it.
7874 (byte-compile--declare-var): New function.
7875 (byte-compile-file-form-defvar)
7876 (byte-compile-file-form-define-abbrev-table)
7877 (byte-compile-file-form-custom-declare-variable): Use it.
7878 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7879 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7880 (byte-compile-bind): Handle dynamic bindings that shadow
7882 (byte-compile-unbind): Make arg non-optional.
7883 (byte-compile-let): Simplify.
7884 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7885 (cconv--analyse-function, cconv-analyse-form): Populate it.
7886 Protect byte-compile-bound-variables to limit the scope of defvars.
7887 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7888 Remove unneeded rule for `declare'.
7890 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7891 so as to avoid depending on cl-adjoin at run-time.
7892 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7894 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7895 (macroexp--warn-and-return): Use it.
7897 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7899 * lisp/subr.el: Convert to lexical binding.
7900 (overriding-local-map): Make obsolete.
7901 (add-to-list): Doc fix. Add compiler macro.
7902 (read-key): Swap values of local maps.
7904 2013-06-05 Leo Liu <sdl.web@gmail.com>
7906 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7908 2013-06-04 Leo Liu <sdl.web@gmail.com>
7910 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7911 (compilation-auto-jump): Suppress the "Mark set" message to give
7912 way to exit message.
7914 2013-06-04 Alan Mackenzie <acm@muc.de>
7916 Remove faulty optimisation from indentation calculation.
7917 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7918 search limit based on 2000 characters back from indent-point.
7920 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7922 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7924 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7926 * emacs-lisp/lisp.el: Use lexical-binding.
7927 (lisp--local-variables-1, lisp--local-variables): New functions.
7928 (lisp--local-variables-completion-table): New var.
7929 (lisp-completion-at-point): Use it complete let-bound vars.
7931 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7932 eagerly (bug#14422).
7934 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7936 * autorevert.el (auto-revert-notify-enabled)
7937 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7938 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7939 (auto-revert-notify-handler): Handle also gfilenotify.
7941 * subr.el (file-notify-handle-event): New defun. Replacing ...
7942 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7945 2013-06-03 Juri Linkov <juri@jurta.org>
7947 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7948 `M-s h .'. (Bug#14427)
7950 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7951 command `hi-lock-face-symbol-at-point'.
7952 (hi-lock-face-symbol-at-point): New command.
7953 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7954 (hi-lock-menu): Add `highlight-symbol-at-point'.
7955 (hi-lock-mode): Doc fix.
7957 * isearch.el (isearch-forward-symbol-at-point): New command.
7958 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7959 (isearch-highlight-regexp): Add a regexp which matches
7960 words/symbols for word/symbol mode.
7962 * subr.el (find-tag-default-bounds): New function with the body
7963 mostly moved from `find-tag-default'.
7964 (find-tag-default): Move most code to `find-tag-default-bounds',
7965 call it and apply `buffer-substring-no-properties' afterwards.
7967 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7969 * eshell/em-term.el (eshell-term-initialize):
7970 Use `cl-intersection' rather than `intersection'.
7972 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7974 * vc/log-view.el: Doc fix.
7975 (log-view-mode-map): Copy keymap from `special-mode-map'.
7977 2013-06-02 Eric Ludlam <zappo@gnu.org>
7979 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7980 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7981 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7982 (eieio-unbound, eieio-default-superclass)
7983 (eieio--define-field-accessors, method-static, method-before)
7984 (method-primary, method-after, method-num-lists)
7985 (method-generic-before, method-generic-primary)
7986 (method-generic-after, method-num-slots)
7987 (eieio-specialized-key-to-generic-key)
7988 (eieio--check-type, class-v, class-p)
7989 (eieio-class-name, define-obsolete-function-alias)
7990 (eieio-class-parents-fast, eieio-class-children-fast)
7991 (same-class-fast-p, class-constructor, generic-p)
7992 (generic-primary-only-p, generic-primary-only-one-p)
7993 (class-option-assoc, class-option, eieio-object-p)
7994 (class-abstract-p, class-method-invocation-order)
7995 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7996 (eieio-class-un-autoload, eieio-defclass)
7997 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7998 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7999 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8000 (eieio-defgeneric-reset-generic-form)
8001 (eieio-defgeneric-form-primary-only)
8002 (eieio-defgeneric-reset-generic-form-primary-only)
8003 (eieio-defgeneric-form-primary-only-one)
8004 (eieio-defgeneric-reset-generic-form-primary-only-one)
8005 (eieio-unbind-method-implementations)
8006 (eieio--defmethod, eieio--typep)
8007 (eieio-perform-slot-validation, eieio-validate-slot-value)
8008 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8009 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8010 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8011 (eieio-slot-name-index, eieio-class-slot-name-index)
8012 (eieio-set-defaults, eieio-initarg-to-attribute)
8013 (eieio-attribute-to-initarg, eieio-c3-candidate)
8014 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8015 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8016 (eieio-class-precedence-list, eieio-generic-call-methodname)
8017 (eieio-generic-call-arglst, eieio-generic-call-key)
8018 (eieio-generic-call-next-method-list)
8019 (eieio-pre-method-execution-functions, eieio-generic-call)
8020 (eieio-generic-call-primary-only, eieiomt-method-list)
8021 (eieiomt-optimizing-obarray, eieiomt-install)
8022 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8023 (eieio-generic-form, eieio-defmethod, make-obsolete)
8024 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8025 (defclass): Remove `eval-and-compile' from macro.
8026 (call-next-method, shared-initialize): Instead of using
8027 `scoped-class' variable, use new eieio--scoped-class, and
8028 eieio--with-scoped-class.
8029 (initialize-instance): Rename local variable 'scoped-class' to
8030 'this-class' to remove ambiguitity from old global.
8032 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8034 (eieio--scoped-class-stack): New variable.
8035 (eieio--scoped-class): New fcn.
8036 (eieio--with-scoped-class): New scoping macro.
8037 (eieio-defclass): Use pushnew instead of add-to-list.
8038 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8039 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8040 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8041 `scoped-class' variable, use new eieio--scoped-class, and
8042 eieio--with-scoped-class.
8044 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8046 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8048 * eshell/esh-ext.el (eshell-external-command): Pass args to
8049 `eshell-find-interpreter'.
8050 (eshell-find-interpreter): Add new second parameter ARGS.
8052 * eshell/em-script.el (eshell-script-initialize): Add second arg
8053 to the function added as MATCH to `eshell-interpreter-alist'.
8055 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8056 the function added as MATCH to `eshell-interpreter-alist'.
8058 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8059 (eshell-visual-options): New defcustom.
8060 (eshell-escape-control-x): Adapt docstring.
8061 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8062 `eshell-visual-options' in addition to `eshell-visual-commands'.
8063 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8065 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8067 * progmodes/python.el (python-indent-block-enders): Add break,
8068 continue and raise keywords.
8070 2013-06-01 Glenn Morris <rgm@gnu.org>
8072 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8074 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8075 * progmodes/cc-cmds.el (delete-forward-p):
8076 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8077 * progmodes/cc-engine.el (buffer-syntactic-context):
8078 * progmodes/cc-fonts.el (face-property-instance):
8079 * progmodes/cc-mode.el (set-keymap-parents):
8080 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8081 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8082 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8083 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8084 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8086 * progmodes/cc-vars.el (other): Emacs has this widget since
8087 at least 21.1, so don't (re)define it.
8089 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8090 Replace the obsolete alias pcomplete-arg-quote-list.
8092 2013-06-01 Leo Liu <sdl.web@gmail.com>
8094 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8096 (inferior-octave-minimal-columns)
8097 (inferior-octave-last-column-width): New variables.
8098 (inferior-octave-track-window-width-change): New function.
8099 (inferior-octave-mode): Adjust column width so that Octave output,
8100 for example from 'ls', can fit into the window nicely.
8102 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8104 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8105 Highlight expansions inside regexp literals.
8107 2013-05-31 Glenn Morris <rgm@gnu.org>
8109 * obsolete/sym-comp.el (symbol-complete):
8110 Replace obsolete completion-annotate-function.
8112 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8114 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8116 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8117 New function, checks if point is inside a literal that allows
8118 expression expansion.
8119 (ruby-syntax-propertize-expansion): Use it.
8120 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8123 2013-05-30 Juri Linkov <juri@jurta.org>
8125 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8127 (isearch-invisible): New variable.
8128 (isearch-forward): Doc fix.
8129 (isearch-mode): Set `isearch-invisible'
8130 to the value of `search-invisible'.
8131 (isearch-toggle-case-fold): Doc fix.
8132 (isearch-toggle-invisible): New command.
8133 (isearch-query-replace): Let-bind `search-invisible'
8134 to the value of `isearch-invisible'.
8135 (isearch-search): Use `isearch-invisible' instead of
8136 `search-invisible'. Let-bind `search-invisible'
8137 to the value of `isearch-invisible'. (Bug#11378)
8139 2013-05-30 Juri Linkov <juri@jurta.org>
8141 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8142 call when `query-flag' is nil and `search-invisible' is non-nil.
8145 2013-05-30 Glenn Morris <rgm@gnu.org>
8147 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8149 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8150 (cc-require): Suppress spurious "noruntime" warnings.
8151 (cc-require-when-compile): Use fboundp, for sake of compiler.
8153 * progmodes/cc-mode.el: Move load of cc-vars before that of
8154 cc-langs (which in turn loads cc-vars), to quieten compiler.
8156 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8158 * paren.el: Simplify the code.
8159 (show-paren-mode): Always start the timer.
8160 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8161 (show-paren--overlay, show-paren--overlay-1): Rename from
8162 show-paren-overlay and show-paren-overlay-1, and initialize to an
8163 overlay rather than to nil.
8164 (show-paren-function): Misc cleanup and simplifications.
8166 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8168 * paren.el (show-paren-data-function): New hook.
8169 (show-paren--default): New function, extracted from show-paren-function.
8170 (show-paren-function): Use show-paren-data-function.
8172 2013-05-30 Glenn Morris <rgm@gnu.org>
8174 * ielm.el (ielm-map, ielm-complete-symbol):
8175 Use completion-at-point rather than obsolete functions.
8176 (inferior-emacs-lisp-mode): Doc fix.
8177 Set completion-at-point-functions, rather than
8178 comint-dynamic-complete-functions.
8180 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8181 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8182 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8184 * image.el (image-animated-p): Tweak definition.
8186 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8187 (rlogin-process-connection-type): Tweak default. Add set-after.
8188 (rlogin-host): Doc fix.
8189 (rlogin): Tweak prompt.
8190 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8192 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8193 * progmodes/tcl.el (inferior-tcl-mode-map):
8194 Use completion-at-point rather than obsolete alias.
8196 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8198 * minibuffer.el (read-file-name-completion-ignore-case):
8199 Move before completion--in-region, for eager macro expansion.
8201 2013-05-29 Juri Linkov <juri@jurta.org>
8203 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8204 for total count of matching lines. Add `global-matches' for total
8205 count of matches. Rename `matches' to `lines' for count of
8206 matching lines. Add `matches' for count of matches.
8207 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8208 to `prev-line' for line number of prev match endpt.
8209 Increment `matches' for every match. Print the number of
8210 matching lines in the header.
8211 (occur-context-lines): Rename `lines' to `curr-line'.
8212 Rename `prev-lines' to `prev-line'. (Bug#14017)
8214 2013-05-29 Juri Linkov <juri@jurta.org>
8216 * replace.el (perform-replace): Add `skip-read-only-count',
8217 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8218 Increment them for corresponding conditions and report the number
8219 of skipped occurrences in the final message. (Bug#11746)
8220 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8221 (replace-string, replace-regexp): Doc fix.
8223 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8225 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8227 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8228 prog-mode-map (bug#14504).
8230 2013-05-29 Leo Liu <sdl.web@gmail.com>
8232 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8233 (octave-help): Small simplification.
8235 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8236 off the highlight first.
8238 2013-05-29 Glenn Morris <rgm@gnu.org>
8240 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8241 Handle idlwave-last-system-routine-info-cons-cell being nil.
8243 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8244 (idlwave-write-paths): Simplify via with-temp-buffer.
8246 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8247 * emulation/cua-rect.el: Also load cua-base at run time.
8249 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8250 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8251 (cperl-imenu-on-info): Require imenu.
8253 2013-05-28 Alan Mackenzie <acm@muc.de>
8255 Handle "capitalised keywords" correctly.
8256 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8258 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8260 * eshell/em-unix.el: Add -r option to cp.
8262 2013-05-28 Glenn Morris <rgm@gnu.org>
8264 * vc/vc-arch.el (vc-exec-after): Declare.
8265 (vc-switches): Autoload.
8266 * vc/vc-bzr.el: No need to require vc when compiling.
8267 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8268 (vc-resynch-buffer, vc-dir-refresh): Declare.
8269 (vc-setup-buffer, vc-switches): Autoload.
8270 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8271 (vc-resynch-buffer): Declare.
8272 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8273 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8274 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8275 (grep-read-regexp, grep-read-files, grep-expand-template)
8276 (vc-dir-refresh): Declare.
8277 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8278 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8279 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8280 * vc/vc-mtn.el (vc-exec-after): Declare.
8281 (vc-switches): Autoload.
8282 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8283 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8284 (vc-file-tree-walk): Declare.
8285 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8286 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8287 (vc-tag-precondition, vc-rename-master): Autoload.
8288 * vc/vc-svn.el (vc-exec-after): Declare.
8289 (vc-switches, vc-setup-buffer): Autoload.
8290 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8292 (vc-resynch-buffer): Declare.
8294 * obsolete/fast-lock.el (byte-compile-warnings):
8295 Don't warn about obsolete features in this obsolete file.
8297 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8298 Move definition before use.
8300 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8301 (dun-unix-verbs): Remove dun-zippy.
8302 (dun-zippy): Remove function.
8304 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8306 2013-05-27 Juri Linkov <juri@jurta.org>
8308 * replace.el (replace-search): New function with code moved out
8309 from `perform-replace'.
8310 (replace-highlight, replace-dehighlight): Move function definitions
8311 up closer to `replace-search'. (Bug#11746)
8313 2013-05-27 Juri Linkov <juri@jurta.org>
8315 * replace.el (perform-replace): Ignore invisible matches.
8316 In addition to checking `query-replace-skip-read-only', also
8317 filter out matches by calling `run-hook-with-args-until-failure'
8318 on `isearch-filter-predicates', and also check `search-invisible'
8319 for t or call `isearch-range-invisible'.
8320 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8322 2013-05-27 Juri Linkov <juri@jurta.org>
8324 * isearch.el (isearch-filter-predicates): Rename from
8325 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8326 (isearch-message-prefix): Display text from the property
8327 `isearch-message-prefix' of the currently active filters.
8328 (isearch-search): Don't compare `isearch-filter-predicate' with
8329 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8330 on `isearch-filter-predicates'. Also check `search-invisible' for t
8331 or call `isearch-range-invisible'.
8332 (isearch-filter-visible): Make obsolete.
8333 (isearch-lazy-highlight-search):
8334 Call `run-hook-with-args-until-failure' on
8335 `isearch-filter-predicates' and use `isearch-range-invisible'.
8337 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8338 `isearch-filter-predicates' instead of `funcall'ing
8339 `isearch-filter-predicate'.
8340 (Info-mode): Set `Info-isearch-filter' to
8341 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8343 * dired-aux.el (dired-isearch-filter-predicate-orig):
8345 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8346 (dired-isearch-filenames-end): Add and remove
8347 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8348 instead of changing the value of `isearch-filter-predicate'.
8349 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8350 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8351 Put property `isearch-message-prefix' to "filename " on
8352 `dired-isearch-filter-filenames'.
8354 * wdired.el (wdired-change-to-wdired-mode):
8355 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8356 locally instead of changing `isearch-filter-predicate'.
8357 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8359 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8361 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8362 return the commit hash (Bug#14459). Also set the
8363 `vc-git-detached' property.
8364 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8365 (vc-git-mode-line-string): Use the same help-echo format whether
8366 in detached mode or not, because we know the actual revision now.
8367 When in detached mode, shorten the revision to 7 chars.
8369 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8371 * emacs-lisp/easy-mmode.el (define-minor-mode):
8372 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8373 mode hook and provide a docstring.
8375 2013-05-27 Alan Mackenzie <acm@muc.de>
8377 Remove spurious syntax-table text properties inserted by C-y.
8378 * progmodes/cc-mode.el (c-after-change): Also clear hard
8379 syntax-table property with value nil.
8381 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8383 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8384 when reading the events; the buffer layout shall not be changed.
8386 2013-05-27 Leo Liu <sdl.web@gmail.com>
8388 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8390 (inferior-octave-directory-tracker): Automatically re-sync
8392 (octave-help): Improve handling of 'See also'.
8394 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8396 * doc-view.el: Minor naming convention tweaks.
8397 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8399 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8400 even if there's no `display' property yet (bug#14435).
8402 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8404 * subr.el (unmsys--file-name): Rename from reveal-filename.
8406 * Makefile.in (custom-deps, finder-data, autoloads)
8407 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8408 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8409 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8411 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8413 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8414 error-completion on the first 2 args of condition-case (bug#14446).
8417 2013-05-25 Leo Liu <sdl.web@gmail.com>
8419 * comint.el (comint-previous-matching-input): Do not flood the
8420 *Messages* buffer with trivial messages.
8422 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8424 * progmodes/flymake.el (flymake-nop): Don't return a string.
8425 (flymake-set-at): Fix typo.
8427 * simple.el (read--expression): New function, extracted from
8428 eval-expression. Set completion-at-point-functions (bug#14465).
8429 (eval-expression, eval-minibuffer): Use it.
8431 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8433 * progmodes/flymake.el (flymake-save-buffer-in-file)
8434 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8435 (flymake-selected-frame, flymake-log, flymake-ins-after)
8436 (flymake-set-at, flymake-get-buildfile-from-cache)
8437 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8438 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8439 Refine the doc string.
8440 (flymake-get-file-name-mode-and-masks): Reformat.
8441 (flymake-get-real-file-name-function): Fix a minor bug.
8443 2013-05-24 Juri Linkov <juri@jurta.org>
8445 * progmodes/grep.el (grep-mode-font-lock-keywords):
8446 Support =linenumber= format used by git-grep for lines with
8447 function names. (Bug#13549)
8449 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8451 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8452 0 after a semi-colon; it works better for smie-auto-fill.
8453 (octave--indent-new-comment-line): New function.
8454 (octave-indent-new-comment-line): Use it (indirectly).
8455 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8456 modify comment-line-break-function.
8458 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8459 (smie-setup): Use add-function to set it.
8461 2013-05-24 Sam Steingold <sds@gnu.org>
8463 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8464 argument (before the `interactive' argument).
8466 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8468 * image-mode.el (image-mode-winprops): Add winprops to
8469 image-mode-winprops-alist before running
8470 image-mode-new-window-functions.
8471 * doc-view.el (doc-view-new-window-function): Don't delay
8472 doc-view-goto-page via timers (bug#14435).
8474 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8476 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8477 (doc-view-desktop-save-buffer): New function.
8478 (doc-view-restore-desktop-buffer): New function.
8479 (desktop-buffer-mode-handlers):
8480 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8482 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8483 `desktop-save-buffer' function.
8485 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8487 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8488 (tramp-gvfs-file-name-handler): Raise a user error when
8489 `tramp-gvfs-enabled' is nil.
8490 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8491 Do not raise a user error when loading package. (Bug#14447)
8493 * net/xesam.el: Move to obsolete/.
8495 2013-05-24 Glenn Morris <rgm@gnu.org>
8497 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8499 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8501 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8502 (Info-find-node, Man-getpage-in-background): Declare.
8504 * mail/unrmail.el (unrmail):
8505 Replace obsolete detect-coding-with-priority.
8507 * net/socks.el (socks-split-string): Use this rather than split-string.
8508 (socks-nslookup-host): Update for above change.
8509 (dynamic-choice, s5-dynamic-choice-match)
8510 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8511 Comment out unused code.
8513 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8514 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8515 (gud-tooltip-echo-area): Make obsolete.
8516 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8518 * progmodes/js.el (js--optimize-arglist): Declare.
8520 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8522 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8523 (ediff-window-C): Declare.
8525 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8526 Tweak requires to silence compiler.
8528 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8529 (he-search-string, he-tried-table, he-expand-list)
8530 (he-init-string, he-string-member, he-substitute-string)
8531 (he-reset-string): Declare.
8533 * obsolete/options.el (list-options): Use custom-variable-p,
8534 rather than obsolete alias.
8536 2013-05-23 Sam Steingold <sds@gnu.org>
8538 * simple.el (shell-command-on-region): Pass the `replace' argument
8539 down to `call-process-region' to comply with the doc as reported on
8540 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8542 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8544 * emacs-lisp/smie.el (smie-indent-forward-token)
8545 (smie-indent-backward-token): Handle string tokens (bug#14381).
8547 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8549 * ielm.el (ielm-menu): New menu.
8550 (inferior-emacs-lisp-mode): Set comment-start.
8552 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8554 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8555 Fix deactivate action.
8557 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8558 Add cleveref macros.
8560 * lisp/textmodes/reftex-parse.el
8561 (reftex-locate-bibliography-files): Accept options for
8562 bibliography commands.
8563 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8564 Add addbibresource. Basic Biblatex support.
8566 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8568 * net/tramp-gvfs.el (top):
8569 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8570 when loading package. (Bug#14447)
8572 2013-05-23 Glenn Morris <rgm@gnu.org>
8574 * progmodes/js.el: No need to load comint when compiling.
8575 (ring-insert, comint-send-string, comint-send-input)
8576 (comint-last-input-end, ido-chop): Declare.
8578 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8579 * vc/ediff-mult.el: Adjust requires.
8580 (ediff-directories-internal, ediff-directory-revisions-internal)
8581 (ediff-patch-file-internal): Declare.
8582 * vc/ediff-ptch.el: Adjust requires.
8583 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8584 (ediff-find-file): Autoload.
8585 * vc/ediff-util.el: No need to load ediff when compiling.
8586 (ediff-regions-internal): Declare.
8587 * vc/ediff-wind.el: Adjust requires.
8588 (ediff-compute-toolbar-width): Define when compiling.
8589 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8590 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8591 (dired-get-filename, dired-get-marked-files)
8592 (ediff-last-dir-patch, ediff-patch-default-directory)
8593 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8594 (ediff-patch-buffer-internal): Declare.
8596 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8597 (ispell-process, ispell-buffer-local-words, lm-summary)
8598 (lm-section-start, lm-section-end): Declare.
8599 (checkdoc-ispell-init): Simplify.
8601 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8602 (he-string-member, he-reset-string, he-substitute-string): Declare.
8604 * eshell/em-ls.el: Adjust requires.
8605 (eshell-glob-regexp): Declare.
8606 * eshell/em-tramp.el: Adjust requires.
8607 (eshell-parse-command): Autoload.
8608 * eshell/em-xtra.el: Adjust requires.
8609 (eshell-parse-command): Autoload.
8610 * eshell/esh-ext.el: Adjust requires.
8611 (eshell-parse-command, eshell-close-handles): Autoload.
8612 * eshell/esh-io.el: Adjust requires.
8613 (eshell-output-filter): Autoload.
8614 * eshell/esh-util.el: No need to load tramp when compiling.
8615 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8617 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8618 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8619 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8620 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8621 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8622 * eshell/esh-opt.el, eshell/esh-proc.el:
8623 * eshell/esh-var.el: Adjust requires.
8624 * eshell/eshell.el: Do not require esh-util twice.
8625 (eshell-add-input-to-history): Declare.
8626 (eshell-command): Check history module is active before using it.
8628 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8630 2013-05-22 Leo Liu <sdl.web@gmail.com>
8632 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8634 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8636 * autorevert.el (auto-revert-notify-add-watch)
8637 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8638 it indicates changes in file modification time.
8640 2013-05-22 Glenn Morris <rgm@gnu.org>
8642 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8643 Always delete the autoloaded function from the noruntime and
8644 unresolved functions lists.
8646 * allout.el: No need to load epa, epg, overlay when compiling.
8647 (epg-context-set-passphrase-callback, epg-list-keys)
8648 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8649 (epg-key-user-id-list): Declare.
8651 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8652 (viper-set-parsing-style-toggling-macro)
8653 (viper-set-emacs-state-searchstyle-macros):
8654 Use called-interactively-p on Emacs.
8655 (viper-looking-back): Make it an obsolete alias. Update callers.
8656 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8657 Use looking-back rather than viper-looking-back.
8658 (viper-tmp-insert-at-eob, viper-enlarge-region)
8659 (viper-read-string-with-history, viper-register-to-point)
8660 (viper-append-to-register, viper-change-state-to-vi)
8661 (viper-backward-char-carefully, viper-forward-char-carefully)
8662 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8663 (viper-change-state-to-emacs): Declare.
8664 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8665 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8666 * emulation/viper-mous.el: Do not load viper-cmd.
8667 (viper-backward-char-carefully, viper-forward-char-carefully)
8668 (viper-forward-word, viper-adjust-window): Declare.
8670 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8672 * progmodes/idlw-help.el (idlwave-help-fontify):
8673 Use called-interactively-p.
8675 * term/w32console.el (w32-get-console-codepage)
8676 (w32-get-console-output-codepage): Declare.
8678 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8679 Remove unnecessary declarations.
8680 (dframe-message): Doc fix.
8682 * info.el (dframe-select-attached-frame, dframe-current-frame):
8685 * speedbar.el (speedbar-message): Make it an obsolete alias.
8687 (speedbar-with-attached-buffer)
8688 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8689 (speedbar-with-writable): Use backquote.
8690 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8691 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8692 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8693 rather than speedbar- aliases.
8694 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8695 (speedbar-make-specialized-keymap, speedbar-insert-button)
8696 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8697 (speedbar-do-function-pointer): Declare.
8698 (rmail-speedbar-button, rmail-speedbar-find-file)
8699 (rmail-speedbar-move-message):
8700 Use dframe-with-attached-buffer rather than speedbar- alias.
8701 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8702 (dframe-message, speedbar-make-specialized-keymap)
8703 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8704 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8705 (speedbar-insert-button, dframe-select-attached-frame)
8706 (dframe-maybee-jump-to-attached-frame)
8707 (speedbar-change-initial-expansion-list)
8708 (speedbar-previously-used-expansion-list-name): Declare.
8709 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8710 Use dframe-message, dframe-with-attached-buffer rather than
8712 (gud-sentinel): Silence compiler.
8713 * progmodes/vhdl-mode.el (speedbar-refresh)
8714 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8715 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8716 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8717 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8718 (speedbar-file-lists, speedbar-make-tag-line)
8719 (speedbar-line-directory, speedbar-goto-this-file)
8720 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8721 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8722 (speedbar-make-button, speedbar-reset-scanners)
8723 (speedbar-files-item-info, speedbar-line-text)
8724 (speedbar-find-file-in-frame, speedbar-set-timer)
8725 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8726 (speedbar-with-writable): Do not (re)define it.
8727 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8728 rather than speedbar- alias.
8730 2013-05-21 Leo Liu <sdl.web@gmail.com>
8732 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8734 (octave-mode): Tweak fill-nobreak-predicate.
8735 (inferior-octave-startup): Check process to avoid infinite loop.
8736 (inferior-octave): Pop to buffer first to show abornmal process
8739 2013-05-21 Glenn Morris <rgm@gnu.org>
8741 * printing.el (pr-menu-bar): Define when compiling.
8743 2013-05-21 Leo Liu <sdl.web@gmail.com>
8745 * progmodes/octave.el (octave-auto-fill): Remove.
8746 (octave-indent-new-comment-line): Improve.
8747 (octave-mode): Use auto fill mode through
8748 comment-line-break-function and fill-nobreak-predicate.
8749 (octave-goto-function-definition): Support DEFUN_DLD.
8750 (octave-beginning-of-defun): Small tweak.
8751 (octave-help): Show parent directory.
8753 2013-05-21 Glenn Morris <rgm@gnu.org>
8755 * files.el (dired-unmark):
8756 * progmodes/gud.el (gdb-input): Update declarations.
8758 * calculator.el (electric, ehelp): No need to load when compiling.
8759 (Electric-command-loop, electric-describe-mode): Declare.
8761 * doc-view.el (doc-view-current-converter-processes): Move before use.
8763 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8764 Move MODE-set-explicitly definition before use.
8766 * international/mule-diag.el (mule-diag):
8767 Don't use obsolete window-system-version.
8769 * mail/feedmail.el (smtpmail): No need to load when compiling.
8770 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8772 * mail/mail-utils.el (rfc822): No need to load when compiling.
8773 (rfc822-addresses): Autoload it.
8774 (mail-strip-quoted-names): Trivial simplification.
8776 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8777 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8779 * net/snmp-mode.el (tempo): Don't duplicate requires.
8781 * progmodes/prolog.el (info): No need to load when compiling.
8782 (comint): Require before shell requires it.
8783 (Info-goto-node): Autoload it.
8784 (Info-follow-nearest-node): Declare.
8785 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8787 * textmodes/artist.el (picture-mode-exit): Declare.
8789 * textmodes/reftex-parse.el (reftex-parse-from-file):
8790 Trivial rewrite so the compiler can parse it better.
8792 2013-05-20 Leo Liu <sdl.web@gmail.com>
8794 * progmodes/octave.el (octave-help-mode-map)
8795 (octave-help-mode-finish-hook): New variables.
8796 (octave-help-mode, octave-help-mode-finish): New functions.
8797 (octave-help): Use octave-help-mode.
8799 2013-05-20 Glenn Morris <rgm@gnu.org>
8801 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8803 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8805 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8806 start at point, so that expansion starting right after opening
8807 slash in a regexp is recognized.
8808 (ruby-syntax-before-regexp-re): New defvar, extracted from
8809 ruby-syntax-propertize-function. Since the value of this regexp
8810 is looked up at runtime now, we should be able to turn
8811 `ruby-syntax-methods-before-regexp' into a defcustom later.
8812 (ruby-syntax-propertize-function): Split regexp matching into two
8813 parts, for opening and closing slashes. That allows us to skip
8814 over string interpolations and support multiline regexps.
8815 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8816 for them, which calls `ruby-syntax-propertize-expansion'.
8817 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8818 call to `ruby-syntax-propertize-function'.
8819 (ruby-syntax-propertize-expansion): Extracted from
8820 `ruby-syntax-propertize-expansions'. Handles one expansion.
8821 (ruby-syntax-propertize-percent-literal): Leave point right after
8822 the percent symbol, so that the expression expansion rule can
8823 propertize the contents.
8824 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8826 (ruby-syntax-propertize-expansions): Remove.
8828 2013-05-18 Juri Linkov <juri@jurta.org>
8830 * man.el (Man-default-man-entry): Remove `-' from the end
8831 of the default value. (Bug#14400)
8833 2013-05-18 Glenn Morris <rgm@gnu.org>
8835 * comint.el (comint-password-prompt-regexp):
8836 Allow "password for XXX" where XXX contains colons (eg https://...).
8838 2013-05-18 Leo Liu <sdl.web@gmail.com>
8840 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8841 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8842 (octave-source-directories): Don't check process.
8843 (octave-source-directories, octave-find-definition): Doc fix.
8845 2013-05-18 Glenn Morris <rgm@gnu.org>
8847 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8848 Remove backspace/delete bindings. (Bug#14392)
8850 * cus-dep.el (custom-make-dependencies): Sort the output.
8851 (custom-versions-load-alist): Convert comment to doc.
8853 2013-05-17 Leo Liu <sdl.web@gmail.com>
8855 * newcomment.el (comment-search-backward): Stricter in finding
8856 comment start. (Bug#14303)
8858 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8859 (octave-comment-start-skip): Properly anchored.
8861 2013-05-17 Leo Liu <sdl.web@gmail.com>
8863 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8864 Clean up when turned off. (Bug#14395)
8865 (smie--highlight-matching-block-overlay): No longer buffer-local.
8866 (smie-highlight-matching-block): Adjust.
8868 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8870 Doc string fix for "nanoseconds" (Bug#14406).
8871 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8872 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8874 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8876 * calc/calc-units.el (math-extract-units): Preserve powers
8879 2013-05-17 Leo Liu <sdl.web@gmail.com>
8881 * subr.el (delete-consecutive-dups): New function.
8882 * ido.el (ido-set-matches-1): Use it.
8883 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8884 * ido.el (ido-remove-consecutive-dups): Remove.
8886 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8888 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8889 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8890 regexp-opt's `words'.
8892 2013-05-16 Leo Liu <sdl.web@gmail.com>
8894 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8895 (smie--highlight-matching-block-overlay)
8896 (smie--highlight-matching-block-lastpos)
8897 (smie--highlight-matching-block-timer): New variables.
8898 (smie-highlight-matching-block): New function.
8899 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8900 (smie-setup): Conditionally enable smie-blink-matching-open.
8902 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8904 Sync with upstream verilog-mode r840.
8905 * progmodes/verilog-mode.el (verilog-mode-version)
8906 (verilog-mode-release-date): Update.
8907 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8908 (verilog-sig-tieoff): Fix string error on
8909 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8910 (verilog-read-decls): Fix parameters confusing
8911 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8913 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8915 * subr.el (reveal-filename): New function.
8917 * loadup.el: Compute Emacs executable versions on MS-Windows,
8918 where executables have the .exe extension. Add a hard link
8919 emacs-XX.YY.ZZ.exe on MS-Windows.
8921 * Makefile.in (XARGS_LIMIT): New variable.
8922 (custom-deps, finder-data, autoloads)
8923 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8924 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8925 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8926 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8928 2013-05-16 Leo Liu <sdl.web@gmail.com>
8930 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8931 (octave-mode-menu, octave-mode-map): Remove its uses.
8933 2013-05-16 Reto Zimmermann <reto@gnu.org>
8935 Sync with upstream vhdl mode v3.34.2.
8936 * progmodes/vhdl-mode.el: Use `push' throughout.
8937 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8938 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8939 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8940 (vhdl-actual-generic-name): New option to derive actual generic name.
8941 (vhdl-port-paste-signals): Replace formal by actual generics.
8942 (vhdl-beautify): New name for old group vhdl-align. Update users.
8943 (vhdl-beautify-options): New option.
8944 (vhdl-last-input-event): New compat alias. Use throughout.
8945 (vhdl-goto-line): Replace user level function `goto-line'.
8946 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8947 vhdl-fix-statement-buffer.
8948 (vhdl-create-mode-menu): Add some entries.
8949 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8950 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8951 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8952 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8953 to force statements on one line.
8954 (vhdl-remove-trailing-spaces-region):
8955 New, split from vhdl-remove-trailing-spaces.
8956 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8957 Respect vhdl-beautify-options.
8958 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8959 (vhdl-update-sensitivity-list): Not add with index if exists without.
8960 Not include array index with signal. Ignore keywords in comments.
8961 (vhdl-get-visible-signals): Regexp tweaks.
8962 (vhdl-template-component-inst): Handle empty library.
8963 (vhdl-template-type): Add template for 'enum' type.
8964 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8965 Use vhdl-replace-string.
8966 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8967 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8968 (vhdl-speedbar-initialize): Update for above name change.
8969 (vhdl-compose-wire-components): Fix in handling of constants.
8970 (vhdl-error-regexp-emacs-alist): New variable.
8971 (vhdl-error-regexp-add-emacs): New function;
8972 adds support for new compile.el (Emacs 22+)
8973 (vhdl-generate-makefile-1): Change target order for single lib. units.
8974 Allow use of absolute file names.
8976 2013-05-16 Leo Liu <sdl.web@gmail.com>
8978 * simple.el (prog-indent-sexp): Indent enclosing defun.
8980 2013-05-15 Glenn Morris <rgm@gnu.org>
8982 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8983 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8984 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8985 (whitespace-highlight): Move to whitespace group.
8987 * comint.el (comint-source):
8988 * pcmpl-linux.el (pcmpl-linux):
8989 * shell.el (shell-faces):
8990 * eshell/esh-opt.el (eshell-opt):
8991 * international/ccl.el (ccl): Remove empty custom groups.
8993 * completion.el (dynamic-completion-mode):
8994 * jit-lock.el (jit-lock-debug-mode):
8995 * minibuffer.el (completion-in-region-mode):
8996 * type-break.el (type-break-mode-line-message-mode)
8997 (type-break-query-mode):
8998 * emulation/tpu-edt.el (tpu-edt-mode):
8999 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9000 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9001 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9003 * term/xterm.el (xterm): Change parent group to terminals.
9005 * master.el (master): Remove empty custom group.
9006 (master-mode): Remove unused :group argument.
9007 * textmodes/refill.el (refill): Remove empty custom group.
9008 (refill-mode): Remove unused :group argument.
9010 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9012 * cus-dep.el: Provide a feature.
9013 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9014 Don't mistakenly ignore files whose basenames match a basename
9015 from preloaded-file-list (eg cedet/ede/simple.el).
9016 Add a fallback method for getting :group.
9018 2013-05-15 Juri Linkov <juri@jurta.org>
9020 * isearch.el (isearch-char-by-name): Rename from
9021 `isearch-insert-char-by-name'. Doc fix.
9022 (isearch-forward): Mention `isearch-char-by-name' in
9023 the docstring. (Bug#13348)
9025 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9026 `exit-minibuffer' instead of
9027 `isearch-nonincremental-exit-minibuffer'.
9028 (isearch-edit-string): Remove mention of
9029 `isearch-nonincremental-exit-minibuffer' from docstring.
9030 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9031 (isearch-forward-exit-minibuffer)
9032 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9034 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9036 * loadup.el: Just use unversioned DOC.
9038 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9039 literals as extending to EOB.
9040 (nxml-last-fontify-end): Remove unused variable.
9041 (nxml-after-change1): Use with-silent-modifications.
9042 (nxml-extend-after-change-region): Simplify.
9043 (nxml-extend-after-change-region1): Remove function.
9044 (nxml-after-change1): Don't adjust for dependent regions.
9045 (nxml-fontify-matcher): Simplify.
9046 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9047 (xmltok-add-dependent): Remove function.
9048 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9049 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9050 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9051 unclosed <[[, <?, comment, and other literals as extending to EOB.
9052 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9053 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9055 (rng-do-some-validation-1): Don't mark dependent regions.
9056 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9057 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9058 (nxml-clear-dependent-regions): Remove functions.
9059 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9060 (nxml-ensure-scan-up-to-date):
9061 Don't clear&mark dependent regions.
9063 2013-05-15 Leo Liu <sdl.web@gmail.com>
9065 * progmodes/octave.el (octave-goto-function-definition):
9066 Improve and fix callers.
9068 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9070 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9071 the setter (bug#14387).
9073 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9074 surrounding group (bug#14402).
9076 2013-05-14 Juri Linkov <juri@jurta.org>
9078 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9081 2013-05-14 Glenn Morris <rgm@gnu.org>
9083 * progmodes/f90.el (f90-imenu-generic-expression):
9084 Fix typo in 2013-05-08 change. (Bug#14402)
9086 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9088 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9089 Remove signals for which replies are never received.
9091 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9093 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9094 (gdb-handler-alist, gdb-handler-number): Remove variables.
9095 (gdb-handler-list): New variable.
9096 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9097 (gdb-pending-handler-p, gdb-handle-reply)
9098 (gdb-remove-all-pending-triggers): New functions.
9099 (gdb-discard-unordered-replies): New defcustom.
9100 (gdb-handler): New defstruct.
9101 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9102 instead of gdb-pending-triggers. Update docstring.
9103 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9104 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9105 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9106 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9107 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9108 (gdb-frame-handler): Pending triggers are now automatically managed.
9109 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9111 (gdb-input): Automatically handles pending triggers. Update docstring.
9112 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9113 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9115 (gdb-done-or-error): Now use gdb-handle-reply.
9117 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9119 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9122 2013-05-14 Glenn Morris <rgm@gnu.org>
9124 * subr.el (user-emacs-directory-warning): New option.
9125 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9127 2013-05-14 Leo Liu <sdl.web@gmail.com>
9129 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9131 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9132 (octave-font-lock-texinfo-comment): Fix invalid search bound
9133 error: wrong side of point.
9135 2013-05-14 Glenn Morris <rgm@gnu.org>
9137 * progmodes/flymake.el (flymake-xml-program): New option.
9138 (flymake-xml-init): Use it.
9140 * term/xterm.el: Provide a feature.
9142 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9144 2013-05-13 Glenn Morris <rgm@gnu.org>
9146 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9147 Add compat aliases as a hack workaround. (Bug#14384)
9149 2013-05-13 Leo Liu <sdl.web@gmail.com>
9151 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9153 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9155 (octave-comment-start-skip): Include %!.
9156 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9158 2013-05-12 Leo Liu <sdl.web@gmail.com>
9160 * progmodes/octave.el (inferior-octave-startup): Store the value
9161 of __octave_srcdir__ for octave-source-directories.
9162 (inferior-octave-check-process): New function refactored out of
9163 inferior-octave-send-list-and-digest.
9164 (octave-source-directories)
9165 (octave-find-definition-filename-function): New variables.
9166 (octave-source-directories)
9167 (octave-find-definition-default-filename): New functions.
9168 (octave-find-definition): Improve to find functions implemented in C++.
9170 2013-05-12 Glenn Morris <rgm@gnu.org>
9172 * calendar/diary-lib.el (diary-outlook-format-1):
9173 Don't include dayname in the output. (Bug#14349)
9175 2013-05-11 Glenn Morris <rgm@gnu.org>
9177 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9179 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9180 Treat cc-provide like provide.
9182 2013-05-11 Kevin Ryde <user42@zip.com.au>
9184 * cus-dep.el (custom-make-dependencies):
9185 Use generated-autoload-load-name for the sake of files such
9186 such cedet/semantic/bovine/c.el, where the base file name
9187 is not in load-path. (Bug#5277)
9189 2013-05-11 Glenn Morris <rgm@gnu.org>
9191 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9194 2013-05-11 Leo Liu <sdl.web@gmail.com>
9196 * progmodes/octave.el (octave-indent-comment): Improve.
9197 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9198 (octave-eldoc-function-signatures, octave-eldoc-function):
9200 (octave-mode, inferior-octave-mode): Add eldoc support.
9202 2013-05-11 Richard Stallman <rms@gnu.org>
9204 * epa.el (epa-decrypt-file): Take output file name as argument
9205 and read it using `interactive'.
9207 2013-05-11 Leo Liu <sdl.web@gmail.com>
9209 * progmodes/octave.el (octave-beginning-of-line)
9210 (octave-end-of-line): Check before using up-list because it jumps
9211 out of more syntactic contructs since moving to smie.
9212 (octave-indent-comment): New function.
9213 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9214 (octave-begin-keywords, octave-end-keywords)
9215 (octave-reserved-words, octave-smie-bnf-table)
9216 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9218 2013-05-11 Glenn Morris <rgm@gnu.org>
9220 * faces.el (internal-face-x-get-resource):
9221 * frame.el (ns-display-monitor-attributes-list):
9222 * calc/calc-aent.el (math-to-radians-2):
9223 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9226 * calc/calc-menu.el: Make it loadable in isolation.
9228 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9229 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9230 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9231 (eudc-bbdb-query-internal): Require 'bbdb.
9233 * lpr.el (lpr-headers-switches):
9234 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9236 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9238 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9240 * term.el (term-set-escape-char): Make it idempotent.
9242 2013-05-10 Leo Liu <sdl.web@gmail.com>
9244 * progmodes/octave.el (inferior-octave-completion-table):
9245 No longer a function and all uses changed. Use cache to speed up
9246 completion due to bug#11906.
9247 (octave-beginning-of-defun): Re-write to be more general.
9249 2013-05-10 Glenn Morris <rgm@gnu.org>
9251 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9253 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9255 * comint.el (comint-redirect-send-command-to-process): Use :around
9256 rather than :override for comint-redirect-filter.
9257 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9258 Call it instead of comint-redirect-original-filter-function (which
9259 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9261 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9263 * frame.el (display-monitor-attributes-list): Add NS case.
9264 (ns-display-monitor-attributes-list): Declare.
9266 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9268 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9270 2013-05-09 Glenn Morris <rgm@gnu.org>
9272 * international/fontset.el (vertical-centering-font-regexp):
9275 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9277 * bookmark.el (bookmark-search-delay):
9278 * cus-start.el (vertical-centering-font-regexp):
9279 * ps-mule.el (ps-mule-font-info-database-default):
9280 * ps-print.el (ps-default-fg, ps-default-bg):
9281 * type-break.el (type-break-good-break-interval):
9282 * whitespace.el (whitespace-indentation-regexp)
9283 (whitespace-space-after-tab-regexp):
9284 * emacs-lisp/testcover.el (testcover-1value-functions)
9285 (testcover-noreturn-functions, testcover-progn-functions)
9286 (testcover-prog1-functions):
9287 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9288 * eshell/em-glob.el (eshell-glob-translate-alist):
9289 * play/tetris.el (tetris-tty-colors):
9290 * progmodes/cpp.el (cpp-face-default-list):
9291 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9292 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9293 (idlwave-help-browser-generic-args):
9294 * progmodes/make-mode.el (makefile-special-targets-list):
9295 * progmodes/python.el (python-shell-virtualenv-path):
9296 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9297 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9298 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9299 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9300 * textmodes/reftex-vars.el (reftex-format-label-function):
9301 * textmodes/remember.el (remember-diary-file): Fix custom types.
9303 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9306 2013-05-09 Leo Liu <sdl.web@gmail.com>
9308 * progmodes/octave.el (inferior-octave-completion-at-point):
9309 Restore file completion. (Bug#14300)
9310 (inferior-octave-startup): Fix incorrect highlighting for the
9313 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9315 * progmodes/ruby-mode.el: First cut at SMIE support.
9316 (ruby-use-smie): New var.
9317 (ruby-smie-grammar): New constant.
9318 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9319 (ruby-smie--forward-token, ruby-smie--backward-token)
9320 (ruby-smie-rules): New functions.
9321 (ruby-mode-variables): Setup SMIE if applicable.
9323 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9325 * simple.el (line-move-visual): Signal beginning/end of buffer
9326 only if vertical-motion moved less than it was requested. Avoids
9327 silly incorrect error messages when there are display strings with
9328 multiple newlines at EOL.
9330 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9332 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9333 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9334 (prolog-char-quote-workaround):
9335 * progmodes/cperl-mode.el (cperl-under-as-char):
9336 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9338 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9340 (vhdl-mode-syntax-table-init): Remove.
9342 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9345 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9347 (ld-script-font-lock-keywords):
9348 Change regexps to use things like \_< and \_>.
9350 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9351 Change all regexps to use things like \_< and \_>.
9353 * progmodes/autoconf.el (autoconf-definition-regexp)
9354 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9355 Handle a _ with symbol syntax.
9356 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9358 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9359 Consolidate declaration.
9360 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9362 (ada-create-syntax-table): Remove.
9363 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9364 already has the right syntax nowadays.
9365 (ada-goto-next-word): Don't change the syntax of "_".
9367 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9370 2013-05-08 Sam Steingold <sds@gnu.org>
9372 * thingatpt.el (thing-at-point): Accept optional second argument
9373 NO-PROPERTIES to strip the text properties from the return value.
9374 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9375 to `thing-at-point' instead of stripping the properties ourselves.
9376 Also, when `thing-at-point' fails to find a url, prepend "http://"
9377 to the filename at point on the assumption that the user is
9378 pointing at something like gnu.org/gnu.
9380 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9382 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9383 * faces.el (crm-separator):
9384 Silence byte-compiler.
9386 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9387 (tool-bar-map): Remove unneeded defvars.
9389 2013-05-08 Leo Liu <sdl.web@gmail.com>
9391 Re-work a fix for bug#10994 based on Le Wang's patch.
9392 * ido.el (ido-remove-consecutive-dups): New helper.
9393 (ido-completing-read): Use it.
9394 (ido-chop): Revert fix for bug#10994.
9396 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9398 * cus-edit.el (custom-save-variables):
9399 Pretty-print long values. (Bug#14187)
9401 2013-05-08 Glenn Morris <rgm@gnu.org>
9403 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9404 (m4-mode-syntax-table): Init in the defvar.
9405 (m4-mode-abbrev-table): Let define-derived-mode define it.
9407 2013-05-08 Tom Tromey <tromey@redhat.com>
9409 * progmodes/m4-mode.el (m4-mode-syntax-table):
9410 Do not treat "_" as word constituent. (Bug#14167)
9412 2013-05-07 Glenn Morris <rgm@gnu.org>
9414 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9415 Remove explicit eshell-isearch-cancel-map.
9417 * progmodes/f90.el (f90-smart-end-names): New option.
9418 (f90-smart-end): Doc fix.
9419 (f90-end-block-optional-name): New constant.
9420 (f90-block-match): Respect f90-smart-end-names.
9422 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9424 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9425 about implicit semi-colons (bug#14218).
9427 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9429 * frame.el (display-monitor-attributes-list)
9430 (frame-monitor-attributes): New functions.
9432 2013-05-06 Leo Liu <sdl.web@gmail.com>
9434 * progmodes/octave.el (octave-syntax-propertize-function): Change
9435 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9436 (octave-font-lock-keywords): Use octave-operator-regexp.
9437 (octave-completion-at-point): Rename from
9438 octave-completion-at-point-function.
9439 (inferior-octave-directory-tracker): Robustify.
9440 (octave-text-functions): Remove and fix its uses. No such things
9443 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9445 * emacs-lisp/trace.el (trace--display-buffer): New function.
9446 (trace-make-advice): Use it.
9448 2013-05-06 Juri Linkov <juri@jurta.org>
9450 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9451 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9453 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9454 in the help string. (Bug#12985)
9456 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9458 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9460 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9462 * progmodes/perl-mode.el: Add support for here documents.
9463 (perl-syntax-propertize-function): Match here-doc markers.
9464 (perl-syntax-propertize-special-constructs): Find their end.
9465 (perl-imenu-generic-expression): Use [:alnum:].
9467 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9468 (advice--add-function): Refresh the advice if already present
9471 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9473 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9475 2013-05-06 Glenn Morris <rgm@gnu.org>
9477 * w32-fns.el (w32-charset-info-alist): Declare.
9479 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9480 of its defcustom properties.
9481 (eshell-cmpl-initialize): No need to load pcomplete.
9483 * generic-x.el: No need to require comint when compiling.
9485 * net/eudc-export.el: Make it loadable without bbdb.
9486 (top-level): Use require rather than load-library.
9487 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9488 (eudc-batch-export-records-to-bbdb)
9489 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9492 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9494 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9495 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9496 some tweaks, instead.
9498 2013-05-05 Leo Liu <sdl.web@gmail.com>
9500 * progmodes/octave.el (octave-font-lock-keywords)
9501 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9502 (inferior-octave-send-list-and-digest): Improve error message.
9503 (octave-mode, inferior-octave-mode): Use setq-local.
9504 (octave-help): Set info-lookup-mode.
9506 2013-05-05 Richard Stallman <rms@gnu.org>
9508 * vc/compare-w.el (compare-windows-whitespace):
9509 Treat no-break space as whitespace.
9511 * mail/rmailsum.el (rmail-summary-rmail-update):
9512 Detect empty summary and don't change selected message.
9513 (rmail-summary-goto-msg): Likewise.
9515 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9516 Doc fixes, rename args.
9518 2013-05-05 Alan Mackenzie <acm@muc.de>
9520 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9522 2013-05-05 Juri Linkov <juri@jurta.org>
9524 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9525 to not add the length of the summary segment to the return value.
9528 2013-05-05 Leo Liu <sdl.web@gmail.com>
9530 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9531 (inferior-octave-output-filter): Remove.
9532 (octave-send-region, inferior-octave-startup): Fix callers.
9533 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9534 (octave-binary-file-extensions): New user variable.
9535 (octave-find-definition): Confirm if opening binary files.
9536 (octave-help-file): Use octave-find-definition to get the binary
9538 (octave-help): Adjust for octave-help-file change.
9540 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9542 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9543 Merge the two entries that handle function definitions.
9544 (pascal--syntax-propertize): New const.
9545 (pascal-mode): Use it. Use setq-local.
9547 2013-05-04 Glenn Morris <rgm@gnu.org>
9549 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9550 (diary-from-outlook): Respect diary-from-outlook-function.
9552 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9554 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9555 Move the declaration from C.
9556 (read-minibuffer, eval-minibuffer): Move from C.
9557 (completion-setup-function): Avoid minibuffer-completion-contents.
9559 2013-05-03 Leo Liu <sdl.web@gmail.com>
9561 * progmodes/octave.el (octave-font-lock-keywords): Do not
9562 dehighlight 'end' in comments or strings.
9563 (octave-completing-read, octave-goto-function-definition):
9565 (octave-help-buffer): New user variable.
9566 (octave-help-file, octave-help-function): New button types.
9567 (octave-help): New command and bind it to C-h ;.
9568 (octave-find-definition): New command and bind it to M-.
9569 (user-error): Alias to error if not defined.
9571 2013-05-02 Leo Liu <sdl.web@gmail.com>
9573 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9575 (octave-font-lock-keywords): Include [ and {.
9577 2013-05-02 Leo Liu <sdl.web@gmail.com>
9579 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9580 (inferior-octave): Remove calling comint-mode and return the buffer.
9581 (inferior-octave-startup): Cosmetic changes.
9583 2013-05-02 Leo Liu <sdl.web@gmail.com>
9585 * progmodes/octave.el (octave-syntax-propertize-function):
9586 Include the case when ' is at line beginning. (Bug#14336)
9588 2013-05-02 Glenn Morris <rgm@gnu.org>
9590 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9591 * desktop.el (vc-dir-mode): Just autoload it here.
9593 2013-05-02 Alan Mackenzie <acm@muc.de>
9595 Eliminate variable c-standard-font-lock-fontify-region-function.
9596 * progmodes/cc-mode.el
9597 (c-standard-font-lock-fontify-region-function): Remove.
9598 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9600 2013-05-01 Leo Liu <sdl.web@gmail.com>
9602 * progmodes/octave.el: Compatible with older emacs-24 releases.
9603 (inferior-octave-has-built-in-variables): Remove. Built-in
9604 variables were removed from Octave in 2007.
9605 (inferior-octave-startup): Fix uses.
9606 (comint-line-beginning-position): Remove compatibility code for
9609 2013-05-01 Juri Linkov <juri@jurta.org>
9611 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9613 2013-05-01 Juri Linkov <juri@jurta.org>
9615 * comint.el (comint-previous-matching-input): Don't print message
9616 "History item: %d" when `isearch-mode' is active.
9617 (comint-history-isearch-message): Print message "History item: %d"
9618 when `comint-input-ring-index' is not empty and this function is
9619 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9621 2013-05-01 Leo Liu <sdl.web@gmail.com>
9623 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9624 definitions. Use completion-at-point to insert keywords.
9625 (octave-abbrev-start): Remove.
9626 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9628 2013-04-30 Leo Liu <sdl.web@gmail.com>
9630 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9633 2013-04-30 Alan Mackenzie <acm@muc.de>
9635 Handle arbitrarily long C++ member initialisation lists.
9636 * progmodes/cc-engine.el (c-back-over-member-initializers):
9638 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9639 (most) member init lists.
9641 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9643 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9646 2013-04-30 Leo Liu <sdl.web@gmail.com>
9648 * progmodes/octave.el (octave-variables): Remove. No builtin
9649 variables any more. All converted to functions.
9650 (octave-font-lock-keywords, octave-completion-at-point-function):
9652 (octave-font-lock-texinfo-comment): New user variable.
9653 (octave-texinfo-font-lock-keywords): New variable for texinfo
9655 (octave-function-comment-block): New face.
9656 (octave-font-lock-texinfo-comment): New function.
9657 (octave-mode): Font lock texinfo comment block.
9659 2013-04-29 Leo Liu <sdl.web@gmail.com>
9661 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9662 indexing expression.
9663 (octave-continuation-string): Do not use \.
9664 (inferior-octave-complete-impossible): Remove.
9665 (inferior-octave-completion-table)
9666 (inferior-octave-completion-at-point): Remove its uses.
9667 (inferior-octave-startup): completion_matches was introduced to
9668 Octave in 1996 so safe to assume it.
9669 (octave-function-file-comment): Improve to follow how Octave does it.
9670 (octave-update-function-file-comment): Tweak.
9672 2013-04-29 Leo Liu <sdl.web@gmail.com>
9674 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9675 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9676 (octave-function-file-comment): Fix typo.
9677 (octave-sync-function-file-names): Use read-char-choice.
9679 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9681 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9682 to t for the less important warnings.
9684 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9686 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9688 2013-04-27 Glenn Morris <rgm@gnu.org>
9690 * vc/log-view.el (log-view-current-entry):
9691 Treat "---" separator lines as part of the following rev. (Bug#14169)
9693 2013-04-27 Juri Linkov <juri@jurta.org>
9695 * subr.el (read-number): Doc fix about using it by interactive
9696 code letter `n'. (Bug#14254)
9698 2013-04-27 Juri Linkov <juri@jurta.org>
9700 * desktop.el (desktop-auto-save-timeout): New option.
9701 (desktop-file-checksum): New variable.
9702 (desktop-save): Add optional arg `auto-save' and don't auto-save
9704 (desktop-auto-save-timer): New variable.
9705 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9706 (after-init-hook): Call `desktop-auto-save-set-timer'.
9707 Suggested by Reuben Thomas <rrt@sc3d.org> in
9708 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9710 2013-04-27 Leo Liu <sdl.web@gmail.com>
9712 * progmodes/octave.el (octave-function-file-p)
9713 (octave-skip-comment-forward, octave-function-file-comment)
9714 (octave-update-function-file-comment): New functions.
9715 (octave-mode-map): Bind C-c ; to
9716 octave-update-function-file-comment.
9717 (octave-mode-menu): Add octave-update-function-file-comment.
9718 (octave-mode, inferior-octave-mode): Fix doc-string.
9719 (octave-insert-defun): Conform to Octave's coding convention.
9722 * files.el (basic-save-buffer): Don't let errors in
9723 before-save-hook prevent saving buffer.
9725 2013-04-20 Roland Winkler <winkler@gnu.org>
9727 * faces.el (read-face-name): Use completing-read if arg multiple
9730 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9732 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9733 displayed, move point to after the totals line.
9734 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9737 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9739 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9740 Add current dir to the load-path.
9741 (package-generate-autoloads): Don't rely on
9742 autoload-ensure-default-file.
9744 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9746 * textmodes/remember.el (remember-store-in-files): Document that
9747 the file name format is passed to `format-time-string'.
9749 2013-04-26 Leo Liu <sdl.web@gmail.com>
9751 * progmodes/octave.el (octave-sync-function-file-names): New function.
9752 (octave-mode): Use it in before-save-hook.
9754 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9756 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9759 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9760 \n and comment, even if it's not an implicit ; (bug#14218).
9762 2013-04-26 Glenn Morris <rgm@gnu.org>
9764 * subr.el (read-number): Once more use `read' rather than
9765 `string-to-number', to trap non-numeric input. (Bug#14254)
9767 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9769 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9770 Use `syntax-multiline' text property consistently instead of
9771 `font-lock-multiline'. (Bug#14237)
9773 2013-04-26 Glenn Morris <rgm@gnu.org>
9775 * emacs-lisp/shadow.el (list-load-path-shadows):
9776 No longer necessary to check for duplicate simple.el, since
9777 2012-07-07 change to init_lread to not include installation lisp
9778 directories in load-path when running uninstalled. (Bug#14270)
9780 2013-04-26 Leo Liu <sdl.web@gmail.com>
9782 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9783 (octave-mode, inferior-octave-mode): Use setq-local.
9784 (octave-not-in-string-or-comment-p): Rename to
9785 octave-in-string-or-comment-p.
9786 (octave-in-comment-p, octave-in-string-p)
9787 (octave-in-string-or-comment-p): Replace defsubst with defun.
9789 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9791 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9793 2013-04-25 Bastien Guerry <bzg@gnu.org>
9795 * textmodes/remember.el (remember-data-directory)
9796 (remember-directory-file-name-format): Fix custom types.
9798 2013-04-25 Leo Liu <sdl.web@gmail.com>
9800 * progmodes/octave.el (octave-completion-at-point-function):
9801 Make use of inferior octave process.
9802 (octave-initialize-completions): Remove.
9803 (inferior-octave-completion-table): New function.
9804 (inferior-octave-completion-at-point): Use it.
9805 (octave-completion-alist): Remove.
9807 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9809 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9810 (opascal-mode-syntax-table): New var.
9811 (opascal-literal-kind, opascal-is-literal-end)
9812 (opascal-literal-token-at): Rewrite.
9813 (opascal--literal-start-re, opascal-font-lock-keywords)
9814 (opascal--syntax-propertize): New constants.
9815 (opascal-font-lock-defaults): Adjust.
9816 (opascal-mode): Use them. Set comment-<foo> variables as well.
9817 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9818 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9819 (delphi-other-face, opascal-other-face): Remove face variables.
9820 (opascal-save-state): Remove macro.
9821 (opascal-fontifying-progress-step): Remove constant.
9822 (opascal--ignore-changes): Remove var.
9823 (opascal-set-token-property, opascal-parse-next-literal)
9824 (opascal-is-stable-literal, opascal-complete-literal)
9825 (opascal-is-literal-start, opascal-face-of)
9826 (opascal-parse-region, opascal-parse-region-until-stable)
9827 (opascal-fontify-region, opascal-after-change)
9828 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9829 (opascal-debug-parse-region, opascal-debug-parse-window)
9830 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9831 (opascal-debug-fontify-buffer): Remove.
9832 (opascal-debug-mode-map): Adjust accordingly.
9834 2013-04-25 Leo Liu <sdl.web@gmail.com>
9836 Merge octave-mod.el and octave-inf.el into octave.el with some
9838 * progmodes/octave.el: New file renamed from octave-mod.el.
9839 * progmodes/octave-inf.el: Merged into octave.el.
9840 * progmodes/octave-mod.el: Renamed to octave.el.
9842 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9844 * textmodes/reftex-vars.el
9845 (reftex-label-ignored-macros-and-environments): New defcustom.
9847 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9849 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9851 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9852 (smie-indent-keyword): Improve the check to ensure that the next
9853 comment is really on the same line.
9854 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9856 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9857 semi-colons if the line is not otherwise empty (bug#14218).
9859 2013-04-25 Glenn Morris <rgm@gnu.org>
9861 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9863 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9865 * progmodes/opascal.el (opascal-set-token-property): Rename from
9866 opascal-set-text-properties and only set `token' (bug#14134).
9867 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9868 (opascal-literal-text-properties): Remove.
9869 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9872 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9874 * textmodes/remember.el (remember-handler-functions): Add an
9875 option for a new handler `remember-store-in-files'.
9876 (remember-data-directory, remember-directory-file-name-format):
9878 (remember-store-in-files): New function to store remember notes
9879 as separate files within a directory.
9881 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9883 * progmodes/compile.el (compilation-next-error-function):
9884 Pass "formats" to compilation-find-file (bug#11777).
9886 2013-04-24 Glenn Morris <rgm@gnu.org>
9888 * vc/vc-bzr.el (vc-bzr-print-log):
9889 * vc/vc-hg.el (vc-hg-print-log):
9890 * vc/vc-svn.el (vc-svn-print-log):
9891 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9893 * vc/vc-bzr.el (vc-bzr-print-log):
9894 * vc/vc-cvs.el (vc-cvs-print-log):
9895 * vc/vc-git.el (vc-git-print-log):
9896 * vc/vc-hg.el (vc-hg-print-log):
9897 * vc/vc-mtn.el (vc-mtn-print-log):
9898 * vc/vc-rcs.el (vc-rcs-print-log):
9899 * vc/vc-sccs.el (vc-sccs-print-log):
9900 * vc/vc-svn.el (vc-svn-print-log):
9901 * vc/vc.el (vc-print-log-internal): Doc fixes.
9903 2013-04-23 Glenn Morris <rgm@gnu.org>
9905 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9906 Remove venerable code attempting to avoid substitute-command-keys.
9908 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9910 * textmodes/reftex-vars.el (reftex-label-regexps):
9911 Call `reftex-compile-variables' after changes to this variable.
9913 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9915 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9916 Use lexical-binding.
9917 (jit-lock-force-redisplay): Use markers, check buffer's continued
9918 existence and beware narrowed buffers.
9919 (jit-lock-fontify-now): Adjust call accordingly.
9921 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9923 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9924 to avoid misleading the user.
9926 2013-04-22 Leo Liu <sdl.web@gmail.com>
9928 * info-look.el: Prefer latex2e.info. (Bug#14240)
9930 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9932 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9934 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9935 * net/tramp.el (tramp-call-process): ... here.
9936 (tramp-set-completion-function, tramp-parse-putty):
9937 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9938 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9939 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9940 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9941 (tramp-call-local-coding-command): Use `tramp-call-process'
9942 instead of `tramp-compat-call-process'.
9944 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9945 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9946 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9947 (tramp-find-inline-compress): Improve traces.
9948 (tramp-maybe-send-script): Check for Perl binary.
9949 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9951 2013-04-22 Daiki Ueno <ueno@gnu.org>
9953 * epg.el (epg-context-pinentry-mode): New function.
9954 (epg-context-set-pinentry-mode): New function.
9955 (epg--start): Pass --pinentry-mode option to gpg command.
9957 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9959 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9960 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9961 `completion-at-point'. (Bug#13774)
9963 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9964 default key binding for `describe-distribution' has been moved to
9965 `C-h C-o'. (Bug#13970)
9967 2013-04-21 Glenn Morris <rgm@gnu.org>
9969 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9971 (vc-print-log): Clarify interactive prompt.
9973 2013-04-20 Glenn Morris <rgm@gnu.org>
9975 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9976 No longer include timestamp etc information.
9978 2013-04-20 Roland Winkler <winkler@gnu.org>
9980 * faces.el (read-face-name): Bug fix, return just one face if arg
9981 multiple is nil. (Bug#14209)
9983 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9985 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9986 (remove-function): Autoload.
9988 * comint.el (comint-redirect-original-filter-function): Remove.
9989 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9990 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9991 (vc-cvs-annotate-command):
9992 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9993 * progmodes/prolog.el (prolog-consult-compile):
9994 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9995 Use add/remove-function instead.
9996 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9997 (gud-tooltip-process-output, gud-tooltip-tips):
9998 Use add/remove-function instead.
9999 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10000 (scheme-interaction-mode, exit-scheme-interaction-mode):
10001 Use add/remove-function instead.
10003 * vc/vc-dispatcher.el: Use lexical-binding.
10004 (vc--process-sentinel): Rename from vc-process-sentinel.
10005 Change last arg to be the code to run. Don't use vc-previous-sentinel
10006 and vc-sentinel-commands any more.
10007 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10008 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10010 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10012 * progmodes/sh-script.el (sh-imenu-generic-expression):
10013 Handle function names with a single character. (Bug#14111)
10015 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10017 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10018 for subroutines defined in an eval (bug#14182).
10020 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10022 * bookmark.el (bookmark-completing-read): Improve handling of empty
10023 string (bug#14176).
10025 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10027 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10029 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10031 New faster Imenu implementation (bug#14058).
10032 * progmodes/python.el:
10033 (python-imenu-prev-index-position):
10034 (python-imenu-format-item-label-function)
10035 (python-imenu-format-parent-item-label-function)
10036 (python-imenu-format-parent-item-jump-label-function):
10038 (python-imenu-format-item-label)
10039 (python-imenu-format-parent-item-label)
10040 (python-imenu-format-parent-item-jump-label)
10041 (python-imenu--put-parent, python-imenu--build-tree)
10042 (python-imenu-create-index, python-imenu-create-flat-index)
10043 (python-util-popn): New functions.
10044 (python-mode): Set imenu-create-index-function to
10045 python-imenu-create-index.
10047 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10049 * winner.el (winner-active-region): Use region-active-p, activate-mark
10050 and deactivate-mark (bug#14225).
10052 * simple.el (deactivate-mark): Don't inline it.
10054 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10056 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10058 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10060 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10061 file extensions from the archive-mode entry in order to prefer
10062 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10064 2013-04-18 Leo Liu <sdl.web@gmail.com>
10066 * bindings.el (help-event-list): Add ?\?.
10068 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10070 * subr.el (with-wrapper-hook): Declare obsolete.
10071 * simple.el (filter-buffer-substring-function): New hook.
10072 (filter-buffer-substring): Use it.
10073 (filter-buffer-substring-functions): Mark obsolete.
10074 * minibuffer.el (completion-in-region-function): New hook.
10075 (completion-in-region): Use it.
10076 (completion-in-region-functions): Mark obsolete.
10077 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10078 * abbrev.el (abbrev-expand-function): New hook.
10079 (expand-abbrev): Use it.
10080 (abbrev-expand-functions): Mark obsolete.
10081 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10082 and :filter-return.
10084 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10086 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10087 and do not care about match data.
10089 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10091 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10092 completion tables when completing error conditions and
10093 `declare' arguments.
10094 (lisp-complete-symbol, field-complete): Mark as obsolete.
10095 (check-parens): Unmatched parens are user errors.
10096 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10098 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10100 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10101 command changed buffer (ie. `flyspell-pre-buffer' is not current
10102 buffer), which prevents making decisions based on invalid value of
10103 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10104 cause an error when `flyspell-pre-point' was nil after switching
10106 (flyspell-post-command-hook): No longer needs to change buffers when
10107 checking pre-word. While at it remove unnecessary progn.
10109 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10111 * textmodes/ispell.el (ispell-add-per-file-word-list):
10112 Fix `flyspell-correct-word-before-point' error when accepting
10113 words and `coment-padding' is an integer by using
10114 `comment-normalize-vars' (Bug #14214).
10116 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10118 New defun movement commands.
10119 * progmodes/python.el (python-nav--syntactically)
10120 (python-nav--forward-defun, python-nav-backward-defun)
10121 (python-nav-forward-defun): New functions.
10123 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10125 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10126 (python-syntax-context): Use named compiler-macro for backwards
10127 compatibility with Emacs 24.x.
10129 2013-04-17 Leo Liu <sdl.web@gmail.com>
10131 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10132 octave-hide-process-buffer.
10134 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10136 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10139 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10141 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10142 Fix adjustment of offset when receiving incomplete responses from GDB
10145 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10147 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10148 python-mode-abbrev-table.
10149 (python-skeleton-define): Adjust accordingly.
10150 (python-mode-abbrev-table): New table that inherits from it so that
10151 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10153 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10154 (abbrev-symbol): Use it.
10155 (abbrev--before-point): Use it since we already handle inheritance.
10157 2013-04-16 Leo Liu <sdl.web@gmail.com>
10159 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10160 binding to info-lookup-symbol.
10162 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10164 * minibuffer.el (completion--twq-all):
10165 * term/ns-win.el (ns-initialize-window-system):
10166 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10168 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10170 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10173 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10175 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10177 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10178 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10180 (ruby-end-of-defun): Remove the unused arg, change the docstring
10181 to reflect that this function is only used as the value of
10182 `end-of-defun-function'.
10183 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10184 to reflect an earlier change that beginning/end-of-defun functions
10185 jump between methods in a class definition, as well as top-level
10188 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10190 * minibuffer.el (minibuffer-complete): Don't just scroll
10191 a *Completions* that's been iconified.
10192 (minibuffer-force-complete): Make sure repetitions do cycle when going
10193 through completion-in-region -> minibuffer-complete.
10195 2013-04-15 Alan Mackenzie <acm@muc.de>
10197 Correct the placement of c-cpp-delimiters when there're #s not at
10200 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10201 place a submatch around the #.
10202 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10203 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10206 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10208 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10209 (advice--member-p): New arg `name'.
10210 (advice--add-function, advice-member-p): Use it (bug#14202).
10212 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10214 Reformulate java imenu-generic-expression.
10215 The old expression contained ill formed regexps.
10217 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10218 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10219 (cc-imenu-java-method-arg-regexp): New defconsts.
10220 (cc-imenu-java-build-type-args-regex): New defun.
10221 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10222 handling of spaces in the regexp.
10224 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10226 * textmodes/ispell.el (ispell-command-loop): Remove
10227 flyspell highlight of a word when ispell accepts it (bug #14178).
10229 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10231 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10232 uses code from the previous `ange-ftp-run-real-handler'.
10233 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10234 only in case that function exist. This is needed for proper
10235 unloading of Tramp.
10237 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10239 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10241 * textmodes/reftex.el (reftex-compile-variables): Use it.
10243 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10245 * files.el (normal-mode): Only use default major-mode if no other mode
10248 * emacs-lisp/trace.el (trace-values): New function.
10250 * files.el: Allow : in local variables (bug#14089).
10251 (hack-local-variable-regexp): New var.
10252 (hack-local-variables-prop-line, hack-local-variables): Use it.
10254 2013-04-13 Roland Winkler <winkler@gnu.org>
10256 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10257 data before it gets modified by bibtex-beginning-of-entry.
10259 2013-04-13 Roland Winkler <winkler@gnu.org>
10261 * textmodes/bibtex.el (bibtex-url): Doc fix.
10263 2013-04-13 Roland Winkler <winkler@gnu.org>
10265 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10266 does not visit a BibTeX file, exclude it from the list of buffers
10267 returned by bibtex-initialize.
10269 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10271 * window.el (split-window): Remove interactive form, since as a
10272 command this function is a special case of split-window-below.
10273 Correct doc string.
10275 2013-04-12 Roland Winkler <winkler@gnu.org>
10277 * faces.el (read-face-name): Do not override value of arg default.
10278 Allow single faces and strings as default values. Remove those
10279 elements from return value that are not faces.
10280 (describe-face): Simplify.
10281 (face-at-point): New optional args thing and multiple so that this
10282 function can provide the same functionality previously provided by
10284 (make-face-bold, make-face-unbold, make-face-italic)
10285 (make-face-unitalic, make-face-bold-italic, invert-face)
10286 (modify-face, read-face-and-attribute): Use face-at-point.
10288 * cus-edit.el (customize-face, customize-face-other-window)
10289 * cus-theme.el (custom-theme-add-face)
10290 * face-remap.el (buffer-face-set)
10291 * facemenu.el (facemenu-set-face): Use face-at-point.
10293 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10295 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10297 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10299 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10300 off leading { and trailing } from field values.
10302 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10304 * emacs-lisp/timer.el (timer--check): New function.
10305 (timer--time, timer-set-function, timer-event-handler): Use it.
10306 (timer-set-idle-time): Simplify.
10307 (timer--activate): CSE.
10308 (timer-event-handler): Give more info in error message.
10309 (internal-timer-start-idle): New function, moved from C.
10311 * mpc.el (mpc-proc): Add `restart' argument.
10312 (mpc-proc-cmd): Use it.
10313 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10314 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10317 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10319 * progmodes/sh-script.el: Implement `sh-mode' own
10320 `add-log-current-defun-function' (bug#14112).
10321 (sh-current-defun-name): New function.
10322 (sh-mode): Use the function.
10324 2013-04-09 Bastien Guerry <bzg@gnu.org>
10326 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10328 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10330 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10332 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10335 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10337 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10340 2013-04-07 Leo Liu <sdl.web@gmail.com>
10342 * pcmpl-x.el: New file.
10344 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10346 Do not set x-display-name until X connection is established.
10347 This is needed to prevent from weird situation described at
10348 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10349 * frame.el (make-frame): Set x-display-name after call to
10350 window system initialization function, not before.
10351 * term/x-win.el (x-initialize-window-system): Add optional
10352 display argument and use it.
10353 * term/w32-win.el (w32-initialize-window-system):
10354 * term/ns-win.el (ns-initialize-window-system):
10355 * term/pc-win.el (msdos-initialize-window-system):
10356 Add compatible optional display argument.
10358 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10360 * files.el (normal-backup-enable-predicate): On MS-Windows and
10361 MS-DOS compare truenames of temporary-file-directory and of the
10362 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10363 don't fail comparison by compare-strings. Also, compare file
10364 names case-insensitively on MS-Windows and MS-DOS.
10366 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10368 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10369 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10371 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10373 * whitespace.el (whitespace-color-on, whitespace-color-off):
10374 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10376 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10378 * ispell.el (ispell-set-spellchecker-params):
10379 Really set `ispell-args' for all equivs.
10381 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10383 * ido.el (ido-completions): Use extra elements of ido-decorations
10385 (ido-decorations): Update docstring.
10387 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10389 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10390 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10391 nil during initialization, in order not to miss changes since the
10392 file was opened. (Bug#14140)
10394 2013-04-05 Leo Liu <sdl.web@gmail.com>
10396 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10398 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10400 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10402 2013-04-04 Glenn Morris <rgm@gnu.org>
10404 * electric.el (electric-pair-inhibit-predicate): Add :version.
10406 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10408 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10409 when a package is required several times (bug#14082).
10411 2013-04-04 Roland Winkler <winkler@gnu.org>
10413 * faces.el (read-face-name): Behave as promised by the docstring.
10414 Assume that arg default is a list of faces.
10415 (describe-face): Call read-face-name with list of default faces.
10417 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10419 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10420 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10421 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10423 (bookmark-exit-hook-internal): Save even if list is empty.
10425 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10427 * emacs-lisp/package.el (package-pinned-packages): New var.
10428 (package--add-to-archive-contents): Obey it (bug#14118).
10430 2013-04-03 Alan Mackenzie <acm@muc.de>
10432 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10433 Also adapt to the new values of element 7 of a parse state.
10435 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10436 parameter `not-in-delimiter'. Handle being inside comment opener.
10437 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10438 character in case we're typing a '*' after a '/'.
10439 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10440 instead by passing the parameter to c-state-pp-to-literal.
10442 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10443 for elt. 7 of a parse state.
10445 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10447 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10448 * international/latin1-disp.el, international/mule-util.el:
10449 * language/cyril-util.el, language/european.el, language/ind-util.el:
10450 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10451 * language/tibetan.el, language/viet-util.el:
10452 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10454 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10456 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10457 (electric-pair-post-self-insert-function): Use it.
10458 (electric-pair-default-inhibit): New function, extracted from
10459 electric-pair-post-self-insert-function.
10461 2013-03-31 Roland Winkler <winkler@gnu.org>
10463 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10465 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10467 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10469 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10471 Un-indent after "pass" and "return" statements (Bug#13888)
10472 * progmodes/python.el (python-indent-block-enders): New var.
10473 (python-indent-calculate-indentation): Use it.
10475 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10477 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10478 defun. Defining it as defalias could introduce too eager
10479 byte-compiler optimization. (Bug#14030)
10481 2013-03-30 Chong Yidong <cyd@gnu.org>
10483 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10485 2013-03-30 Leo Liu <sdl.web@gmail.com>
10487 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10488 (kmacro-execute-from-register): Pass the keyboard macro to
10489 kmacro-call-macro or repeating won't work correctly.
10491 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10493 * progmodes/subword.el: Back to using `forward-symbol'.
10495 * subr.el (forward-whitespace, forward-symbol)
10496 (forward-same-syntax): Move from thingatpt.el.
10498 2013-03-29 Leo Liu <sdl.web@gmail.com>
10500 * kmacro.el (kmacro-to-register): New command.
10501 (kmacro-execute-from-register): New function.
10502 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10504 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10506 * mpc.el: Use defvar-local and setq-local.
10507 (mpc--proc-connect): Connection failures are not bugs.
10508 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10509 (mpc-volume-map): Bind to the up-events.
10511 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10513 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10514 instead of `forward-symbol'.
10516 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10518 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10519 (edebug--recursive-edit): Use it.
10520 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10521 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10523 2013-03-28 Leo Liu <sdl.web@gmail.com>
10525 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10527 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10529 * facemenu.el (list-colors-callback): New defvar.
10530 (list-colors-redisplay): New function.
10531 (list-colors-display): Install list-colors-redisplay as the
10532 revert-buffer-function. (Bug#14063)
10534 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10536 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10537 and suffixes don't overlap (bug#14061).
10539 * case-table.el: Use lexical-binding.
10540 (case-table-get-table): New function.
10541 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10543 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10545 * progmodes/subword.el: Add `superword-mode' to do word motion
10546 over symbol_words (parallels and leverages `subword-mode' which
10547 does word motion inside MixedCaseWords).
10549 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10551 * eshell/em-unix.el: Move su and sudo to...
10552 * eshell/em-tramp.el: ...Eshell tramp module.
10554 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10556 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10557 Change return value to be a sexp. Delay `get-buffer' to after
10558 restoring the desktop (bug#13951).
10560 2013-03-26 Leo Liu <sdl.web@gmail.com>
10562 * register.el: Move semantic tag handling back to
10563 cedet/semantic/senator.el. (Bug#14052)
10565 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10567 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10568 into the prompt either (bug#13963).
10570 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10572 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10573 part of "(error-foo)".
10575 2013-03-24 Juri Linkov <juri@jurta.org>
10577 * replace.el (list-matching-lines-prefix-face): New defcustom.
10578 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10579 `occur-engine' if `face-differs-from-default-p' returns t.
10580 (occur-engine): Add `,' inside backquote construct to evaluate
10581 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10582 Pass `prefix-face' to the functions `occur-context-lines' and
10583 `occur-engine-add-prefix'.
10584 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10585 `prefix-face' and propertize the prefix with `prefix-face'.
10588 2013-03-24 Leo Liu <sdl.web@gmail.com>
10590 * nxml/rng-valid.el (rng-validate-while-idle)
10591 (rng-validate-quick-while-idle): Guard against deleted buffer.
10594 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10595 is the last entry in kill-buffer-hook.
10597 * files.el (kill-buffer-hook): Doc fix.
10599 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10601 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10602 Make it safe-local.
10604 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10606 2013-03-23 Leo Liu <sdl.web@gmail.com>
10608 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10611 * nxml/rng-valid.el (rng-validate-mode)
10612 (rng-after-change-function, rng-do-some-validation):
10613 * nxml/rng-maint.el (rng-validate-buffer):
10614 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10615 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10616 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10617 (nxml-extend-after-change-region): Use with-silent-modifications.
10619 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10622 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10623 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10624 timer-idle-list. (Bug#13999)
10626 2013-03-23 Juri Linkov <juri@jurta.org>
10628 * info.el (info-index-match): New face.
10629 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10630 main pattern and add text properties with the new face to matches
10631 in index entries relative to the beginning of the index entry.
10634 2013-03-21 Eric Ludlam <zappo@gnu.org>
10636 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10637 Inhibit read only while inserting objects.
10639 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10641 * progmodes/cfengine.el: Update docs to mention
10642 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10643 symbol motion. Remove "_" from the word syntax.
10645 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10647 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10648 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10650 2013-03-20 Juri Linkov <juri@jurta.org>
10652 * info.el (Info-next-reference-or-link)
10653 (Info-prev-reference-or-link): New functions.
10654 (Info-next-reference, Info-prev-reference): Use them.
10655 (Info-try-follow-nearest-node): Handle footnote navigation.
10656 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10658 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10660 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10661 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10663 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10665 Suppress unnecessary non-ASCII chatter during build process.
10666 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10667 (batch-skkdic-convert): Suppress most of the chatter.
10668 It's not needed so much now that machines are faster,
10669 and its non-ASCII component was confusing; see Dmitry Gutov in
10670 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10672 2013-03-20 Leo Liu <sdl.web@gmail.com>
10674 * ido.el (ido-chop): Fix bug#10994.
10676 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10678 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10680 (whitespace-color-on, whitespace-color-off):
10681 Use `font-lock-fontify-buffer' (Bug#13817).
10683 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10685 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10686 remapping in mode-line.
10687 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10689 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10691 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10692 value for `whitespace-line' face (Bug#13875).
10693 (whitespace-font-lock-keywords): Change description.
10694 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10695 the constructed keywords instead.
10696 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10698 2013-03-19 Leo Liu <sdl.web@gmail.com>
10700 * progmodes/compile.el (compilation-display-error): New command.
10701 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10704 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10706 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10708 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10710 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10712 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10714 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10716 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10717 * net/tramp-gvfs.el (top):
10718 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10719 (tramp-handle-shell-command): Use it.
10720 (tramp-dissect-file-name): Raise an error when hostname is a
10721 method name, and neither method nor user is specified.
10723 * net/trampver.el: Update release number.
10725 2013-03-18 Leo Liu <sdl.web@gmail.com>
10727 Make sure eldoc can be turned off properly.
10728 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10730 (eldoc-display-message-p): Revert last change.
10731 (eldoc-display-message-no-interference-p)
10732 (eldoc-print-current-symbol-info): Tweak.
10734 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10736 * doc-view.el (doc-view-new-window-function): Check the new window
10737 overlay's display property instead the char property of the
10738 buffer's first char. Use `with-selected-window' instead of
10739 `save-window-excursion' with `select-window'.
10740 (doc-view-document->bitmap): Check the current doc-view overlay's
10741 display property instead the char property of the buffer's first char.
10743 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10745 Automate the build of ja-dic.el (Bug#13984).
10746 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10747 from the input, rather than assume that it's been done for us by the
10748 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10749 the current date into a ja-dic.el comment, as that complicates
10750 regression testing.
10752 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10754 * whitespace.el: Fix double evaluation.
10755 (whitespace-space, whitespace-hspace, whitespace-tab)
10756 (whitespace-newline, whitespace-trailing, whitespace-line)
10757 (whitespace-space-before-tab, whitespace-indentation)
10758 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10760 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10761 (whitespace-color-on): Use a single font-lock-add-keywords call.
10762 Fix double-evaluation of face variables.
10764 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10766 * net/tramp-adb.el (tramp-adb-parse-device-names):
10767 Use `start-process' instead of `call-process'. Otherwise, the
10768 function might be blocked under MS Windows. (Bug#13299)
10770 2013-03-17 Leo Liu <sdl.web@gmail.com>
10772 Extend eldoc to display info in the mode-line. (Bug#13978)
10773 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10774 (eldoc-mode-line-string): New variable.
10775 (eldoc-minibuffer-message): New function.
10776 (eldoc-message-function): New variable.
10777 (eldoc-message): Use it.
10778 (eldoc-display-message-p)
10779 (eldoc-display-message-no-interference-p):
10780 Support eldoc-post-insert-mode.
10782 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10783 (eval-expression): Run it.
10785 2013-03-17 Roland Winkler <winkler@gnu.org>
10787 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10788 strings in the list of return values.
10790 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10792 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10793 radix before checking for HMS forms.
10795 2013-03-16 Leo Liu <sdl.web@gmail.com>
10797 * progmodes/scheme.el: Add indentation and font-locking for λ.
10800 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10802 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10803 token before point (bug#13942).
10805 2013-03-16 Leo Liu <sdl.web@gmail.com>
10807 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10809 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10811 * startup.el (command-line-normalize-file-name): Fix handling of
10812 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10813 <xfq.free@gmail.com> in
10814 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10816 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10818 Sync with Tramp 2.2.7.
10820 * net/trampver.el: Update release number.
10822 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10824 * doc-view.el: Fix bug#13887.
10825 (doc-view-insert-image): Don't modify overlay associated to
10826 non-live windows, and implement horizontal centering of image in
10827 case it's smaller than the window.
10828 (doc-view-new-window-function): Force redisplay of new windows on
10831 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10833 * saveplace.el (save-place-alist-to-file): Don't sort
10834 `save-place-alist', just pretty-print it (bug#13882).
10836 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10838 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10839 Check whether `default-file-name-coding-system' is bound.
10840 It isn't in XEmacs.
10842 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10844 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10845 backquotes for `obsolete' (bug#13929).
10847 * international/mule.el (find-auto-coding): Include file name in
10848 obsolescence warning (bug#13922).
10850 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10852 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10853 for CFEngine 3-specific indentation.
10854 (cfengine3-indent-line): Use it. Fix up category regex.
10855 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10857 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10859 * type-break.el (type-break-file-name):
10860 * textmodes/remember.el (remember-data-file):
10861 * strokes.el (strokes-file):
10862 * shadowfile.el (shadow-initialize):
10863 * saveplace.el (save-place-file):
10864 * ps-bdf.el (bdf-cache-file):
10865 * progmodes/idlwave.el (idlwave-config-directory):
10866 * net/quickurl.el (quickurl-url-file):
10867 * international/kkc.el (kkc-init-file-name):
10868 * ido.el (ido-save-directory-list-file):
10869 * emulation/viper.el (viper-custom-file-name):
10870 * emulation/vip.el (vip-startup-file):
10871 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10872 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10874 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10876 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10877 * language/thai-word.el: Switch to UTF-8.
10879 See ChangeLog.16 for earlier changes.
10881 ;; Local Variables:
10885 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10887 This file is part of GNU Emacs.
10889 GNU Emacs is free software: you can redistribute it and/or modify
10890 it under the terms of the GNU General Public License as published by
10891 the Free Software Foundation, either version 3 of the License, or
10892 (at your option) any later version.
10894 GNU Emacs is distributed in the hope that it will be useful,
10895 but WITHOUT ANY WARRANTY; without even the implied warranty of
10896 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10897 GNU General Public License for more details.
10899 You should have received a copy of the GNU General Public License
10900 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.