1 2013-12-12 Eli Zaretskii <eliz@gnu.org>
3 * term/w32-win.el (w32-handle-dropped-file):
4 * startup.el (normal-top-level):
5 * net/browse-url.el (browse-url-file-url):
6 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
7 decode file names using 'utf-8' rather than
8 file-name-coding-system.
10 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
12 * progmodes/python.el (python-indent-context)
13 (python-indent-calculate-indentation): Fix auto-identation
14 behavior for comment blocks. (Bug#15916)
16 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
18 * progmodes/python.el (python-indent-calculate-indentation): When
19 determining indentation, don't treat "return", "pass", etc., as
20 operators when they are just string constituents. (Bug#15812)
22 2013-12-12 Juri Linkov <juri@jurta.org>
24 * uniquify.el (uniquify-buffer-name-style): Change default to
25 `post-forward-angle-brackets'.
27 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
28 `uniquify'. Change default to `post-forward-angle-brackets'.
30 2013-12-11 Glenn Morris <rgm@gnu.org>
32 * emacs-lisp/package.el (finder-list-matches):
33 Autoload rather than falsely declaring.
35 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
37 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
38 (eww-mode-map): Use them.
40 2013-12-11 Martin Rudalics <rudalics@gmx.at>
42 * window.el (display-buffer-in-side-window): Fix doc-string
45 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
47 * vc/vc-git.el: Silence byte-compiler warnings.
48 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
49 (log-edit-set-header): Declare.
51 2013-12-11 Eli Zaretskii <eliz@gnu.org>
53 * Makefile.in (custom-deps, finder-data): Run output file names
54 through unmsys--file-name. (Bug#16099)
56 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
58 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
59 comment-start-skip, since it fails when that uses submatch 1 (bug#16041).
61 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
62 instead of deleting the selection "by hand" (bug#16098).
63 Rely on insert-for-yank to yank rectangles.
64 (cua-highlight-region-shift-only): Mark obsolete.
65 (cua-mode): Don't enable/disable transient-mark-mode,
66 shift-select-mode (cua-mode works both with and without them), and
67 pc-selection-mode (obsolete).
68 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
69 (cua--deactivate-rectangle): Deactivate it.
71 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
72 (delete-selection-helper): Make sure yank starts at the top of the
74 (minibuffer-keyboard-quit): Use region-active-p.
76 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
78 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
79 to `delete' (bug#16109).
81 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
83 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
84 info manual and show keybindings and set `:group' keyword.
86 2013-12-11 Juri Linkov <juri@jurta.org>
88 * delsel.el (delete-active-region): Let-bind `this-command'
89 to prevent `kill-region' from changing its original value.
90 (delete-selection-helper): Handle `overwrite-mode' for the type
91 `kill' exactly the same way as for the type `t'.
92 (insert-char, quoted-insert, reindent-then-newline-and-indent):
93 Support more commands. (Bug#13312)
95 2013-12-11 Juri Linkov <juri@jurta.org>
97 * bindings.el: Map kp keys to non-kp keys systematically
98 with basic modifiers control, meta and shift. (Bug#14397)
100 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
102 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
103 "Close browser" menu items. Fix wrong function of "List
106 2013-12-11 Juri Linkov <juri@jurta.org>
108 * misearch.el (multi-isearch-buffers): Set the value of
109 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
110 arg of isearch-forward to t.
111 (multi-isearch-buffers-regexp): Set the value of
112 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
113 arg of isearch-forward-regexp to t.
114 (multi-isearch-files): Set the value of
115 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
116 arg of isearch-forward to t.
117 (multi-isearch-files-regexp): Set the value of
118 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
119 arg of isearch-forward-regexp to t. (Bug#16035)
121 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
122 arg of isearch-forward to t.
123 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
124 arg of isearch-forward-regexp to t.
125 (dired-isearch-filter-filenames): Remove unnecessary check for
126 `dired-isearch-filenames'.
128 * comint.el (comint-history-isearch-backward):
129 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
130 (comint-history-isearch-backward-regexp):
131 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
133 2013-12-10 Eli Zaretskii <eliz@gnu.org>
135 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
136 unmsys--file-name. (Bug#16099)
138 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
140 * emacs-lisp/package.el (package-keyword-button-action): Remove
141 finder.el require dependency.
143 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
145 * emacs-lisp/package.el: Require finder.el.
146 (describe-package-1): Add keyword buttons.
147 (package-make-button): New convenience function.
148 (package-keyword-button-action): Keyword button action using
149 `finder-list-matches'
151 2013-12-09 Eli Zaretskii <eliz@gnu.org>
153 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
156 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
158 * autorevert.el (auto-revert-notify-add-watch): Do not handle
161 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
163 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
164 after the end of a percent literal.
166 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
168 * progmodes/ruby-mode.el (ruby-forward-string): Document. Handle
169 caret-delimited strings (Bug#16079).
171 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
173 * progmodes/ruby-mode.el (ruby-accurate-end-of-block): When
174 `ruby-use-smie' is t, use `smie-forward-sexp' instead of
175 `ruby-parse-partial' (Bug#16078).
177 2013-12-09 Leo Liu <sdl.web@gmail.com>
179 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
181 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
183 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
184 (js-switch-indent-offset): New option.
185 (js--proper-indentation): Use it. And handle the case when
186 "default" is actually a key in an object literal.
187 (js--same-line): New function.
188 (js--multi-line-declaration-indentation): Use it.
189 (js--indent-in-array-comp, js--array-comp-indentation): New
191 (js--proper-indentation): Use them, to handle array comprehension
194 2013-12-08 Leo Liu <sdl.web@gmail.com>
196 * progmodes/flymake.el (flymake-highlight-line): Re-write.
197 (flymake-make-overlay): Remove arg MOUSE-FACE.
198 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
200 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
202 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
204 (redisplay-highlight-region-function): Use it.
206 * emulation/cua-base.el (cua--explicit-region-start)
207 (cua--last-region-shifted): Remove.
208 (cua--deactivate): Use deactivate-mark.
209 (cua--pre-command-handler-1): Don't handle shift-selection.
210 (cua--post-command-handler-1): Don't change transient-mark-mode.
211 (cua--select-keymaps): Use region-active-p rather than
212 cua--explicit-region-start or cua--last-region-shifted.
213 (cua-mode): Enable shift-select-mode.
215 2013-12-08 Leo Liu <sdl.web@gmail.com>
217 * progmodes/flymake.el (flymake-popup-current-error-menu):
218 Rename from flymake-display-err-menu-for-current-line. Reimplement.
219 (flymake-posn-at-point-as-event, flymake-popup-menu)
220 (flymake-make-emacs-menu): Remove. (Bug#16077)
222 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
224 * rect.el (rectangle-mark-mode): Activate mark even if
225 transient-mark-mode is off (bug#16066).
226 (rectangle--highlight-for-redisplay): Fix boundary condition when point
227 is > mark and at bolp.
229 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
230 (region-extract-function): Use it.
231 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
232 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
234 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
235 kill-ring-save, kill-region, delete-char, delete-forward-char.
236 Ignore self-insert-iso.
238 * emulation/cua-gmrk.el (cua--init-global-mark):
239 Ignore `self-insert-iso'.
241 * emulation/cua-base.el (cua--prefix-copy-handler)
242 (cua--prefix-cut-handler): Rely on region-extract-function rather than
243 checking cua--rectangle.
244 (cua-delete-region): Use region-extract-function.
245 (cua-replace-region): Delete function.
246 (cua-copy-region, cua-cut-region): Obey region-extract-function.
247 (cua--pre-command-handler-1): Don't do the delete-selection thing.
248 (cua--self-insert-char-p): Ignore `self-insert-iso'.
249 (cua--init-keymaps): Don't remap delete-selection commands.
250 (cua-mode): Use delete-selection-mode instead of rolling our own
253 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
254 Obey region-extract-function.
256 Make registers and delete-selection-mode work on rectangles.
257 * register.el (describe-register-1): Don't modify the register's value.
258 (copy-to-register): Obey region-extract-function.
259 * delsel.el (delete-active-region): Obey region-extract-function.
261 2013-12-08 Leo Liu <sdl.web@gmail.com>
263 * progmodes/flymake.el (flymake, flymake-error-bitmap)
264 (flymake-warning-bitmap, flymake-fringe-indicator-position)
265 (flymake-compilation-prevents-syntax-check)
266 (flymake-start-syntax-check-on-newline)
267 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
268 (flymake-start-syntax-check-on-find-file, flymake-log-level)
269 (flymake-xml-program, flymake-master-file-dirs)
270 (flymake-master-file-count-limit)
271 (flymake-allowed-file-name-masks): Relocate.
272 (flymake-makehash, flymake-float-time)
273 (flymake-replace-regexp-in-string, flymake-split-string)
274 (flymake-get-temp-dir): Remove.
275 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
276 (flymake-current-row, flymake-selected-frame)
277 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
278 related functions. (Bug#16077)
280 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
282 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
284 2013-12-07 Tassilo Horn <tsdh@gnu.org>
286 * help-fns.el (describe-function-1): Use new advice-* functions
287 rather than old ad-* functions. Fix function type description and
288 source links for advised functions and subrs.
290 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
292 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
294 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
296 * progmodes/compile.el (compilation-start):
297 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
299 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
300 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
302 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
304 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
305 Touch up the last change.
307 2013-12-06 Leo Liu <sdl.web@gmail.com>
309 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
310 (inferior-octave-startup): Always use "octave> " for prompt.
311 (octave-goto-function-definition)
312 (octave-sync-function-file-names)
313 (octave-find-definition-default-filename): Remove redundant backquotes.
315 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
317 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
319 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
320 where appropriate already.
321 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
322 end of method names (Bug#15874).
324 2013-12-06 Juri Linkov <juri@jurta.org>
326 * isearch.el (isearch--saved-overriding-local-map):
327 New internal variable.
328 (isearch-mode): Set it to the initial value of
329 `overriding-terminal-local-map'.
330 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
331 with `isearch--saved-overriding-local-map'. (Bug#16035)
333 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
335 * progmodes/octave.el (inferior-octave-completion-table):
336 Turn back into function, use `completion-table-with-cache'
337 (Bug#11906). Update all references.
339 * minibuffer.el (completion-table-with-cache): New function.
341 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
343 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
345 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
347 * net/eww.el (eww-current-source): New variable to store page
349 (eww-display-html, eww-mode, eww-save-history)
350 (eww-restore-history): Use it.
351 (eww-view-source): New command to view page source.
352 Opportunistically uses `html-mode' to highlight the buffer.
353 (eww-mode-map): Install it.
355 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
357 * net/dbus.el (dbus-unregister-service)
358 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
360 (dbus-unregister-service): Skip :serial entries in
361 `dbus-registered-objects-table'.
362 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
364 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
366 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
367 around keywords with extra `split-string' argument.
369 2013-12-04 Martin Rudalics <rudalics@gmx.at>
371 * windmove.el (windmove-other-window-loc): Handle navigation
372 between windows (excluding the minibuffer window - Bug#16017).
374 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
376 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
377 in D-Bus type syntax.
378 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
379 preserve unibyte strings. (Bug#16048)
381 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
383 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
384 Call force-mode-line-update is the proper buffer (bug#16042).
386 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
388 * vc/log-edit.el (log-edit-add-new-comment): Rename to
389 `log-edit-remember-comment', make argument optional. Adjust all
391 (log-edit-mode): Add `log-edit-remember-comment' to
392 `kill-buffer-hook' locally.
393 (log-edit-kill-buffer): Don't remember comment explicitly since
394 the buffer is killed anyway.
396 2013-12-04 Juri Linkov <juri@jurta.org>
398 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
399 add-hook and remove-hook for multi-buffer search. (Bug#16035)
401 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
403 * notifications.el (notifications-close-notification): Call the
404 D-Bus method with ID being a `:uint32'. (Bug#16030)
406 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
408 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
410 2013-12-03 Juri Linkov <juri@jurta.org>
412 * progmodes/compile.el (compilation-start): Rename window alist
413 entry `no-display-ok' to `allow-no-window'.
415 * simple.el (shell-command): Add window alist entry
416 `allow-no-window' to `display-buffer'.
417 (async-shell-command): Doc fix.
419 * window.el (display-buffer-no-window): New action function.
420 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
422 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
424 * vc/log-edit.el (log-edit-set-header): Extract from
425 `log-edit-toggle-header'.
426 (log-edit-extract-headers): Separate the summary, when extracted
427 from header, from the rest of the message with an empty line.
429 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
430 line, if present, to the Summary header.
432 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
434 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
435 in current-buffer (bug#16029).
437 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
439 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
440 (debugger-mode-map): Bind it.
441 (debugger--backtrace-base): New function.
442 (debugger-eval-expression): Use it.
443 (debugger-frame-number): Skip local vars when present.
444 (debugger--locals-visible-p, debugger--insert-locals)
445 (debugger--show-locals, debugger--hide-locals): New functions.
447 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
449 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
451 (tramp-get-remote-locale): New defun.
452 (tramp-open-connection-setup-interactive-shell): Use it.
454 2013-12-02 Leo Liu <sdl.web@gmail.com>
456 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
458 * progmodes/sh-script.el (sh-shell-process):
459 * progmodes/octave.el (inferior-octave-process-live-p):
460 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
461 (gdb-inferior-io-sentinel):
462 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
464 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
466 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
467 `save-selected-window' to `log-edit-hide-buf'. This makes
468 `log-edit-show-files' idempotent.
469 (log-edit-show-files): Mark the new window as dedicated.
471 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
473 * vc/log-edit.el (log-edit-mode-map): Add binding for
474 `log-edit-kill-biffer'.
475 (log-edit-hide-buf): Add a FIXME comment.
476 (log-edit-add-new-comment): New function, extracted from
478 (log-edit-done, log-edit-add-to-changelog): Use it.
479 (log-edit-kill-buffer): New command.
481 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
483 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
484 instead of killing the buffer.
486 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
488 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
490 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
492 * net/eww.el (eww-form-checkbox-selected-symbol)
493 (eww-form-checkbox-symbol): New customizable variable.
494 (eww-form-checkbox, eww-toggle-checkbox):
495 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
497 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
498 (shr--get-media-pref, shr--extract-best-source): New function.
499 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
500 no :src tag was specified.
502 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
503 (eww-render): Handle `eww-use-external-browser-for-content-type'.
504 Use \\` to match beginning of string instead of ^.
505 (eww-browse-with-external-browser): Provide optional URL parameter.
506 (eww-render): Set `eww-current-title' back to "".
508 * net/shr.el (shr-tag-video): Display content for video if no
510 (shr-tag-audio): Add support for <audio> tag.
512 * net/eww.el (eww-text-input-types): : New const.
513 (eww-process-text-input): Treat input types in
514 `eww-text-input-types' as text.
516 * net/shr.el (shr-tag-table): Fix comment typo.
518 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
520 * net/eww.el (eww-follow-link): New command to avoid reloading
521 pages when we follow #target links (bug#15243).
522 (eww-quit): Special mode buffers shouldn't query before exiting.
524 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
526 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
529 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
531 * net/eww.el (eww-restore-history): Update the window title after
532 moving in the history.
533 (eww-current-dom): New variable used to save the current DOM.
535 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
537 * vc/log-edit.el (log-edit-mode-map): Add binding for
538 `log-edit-beginning-of-line'.
539 (log-edit-setup-add-author): New user option.
540 (log-edit-beginning-of-line): New command.
541 (log-edit): Move major mode call above the contents setup so that
542 the local variable values are already applied.
543 (log-edit): Only insert "Author: " when
544 `log-edit-setup-add-author' is non-nil.
545 (log-edit): When SETUP is non-nil, position point after ": "
546 instead of point-min.
548 2013-12-01 Glenn Morris <rgm@gnu.org>
550 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
552 2013-11-30 Eli Zaretskii <eliz@gnu.org>
554 * startup.el (fancy-splash-frame): On MS-Windows, trigger
555 redisplay to make sure the initial frame gets a chance to become
558 2013-11-30 Martin Rudalics <rudalics@gmx.at>
560 Support resizing frames and windows pixelwise.
561 * cus-start.el (frame-resize-pixelwise)
562 (window-resize-pixelwise): New entries.
563 * emacs-lisp/debug.el (debug): Use window-total-height instead
564 of window-total-size.
565 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
566 * help.el (describe-bindings-internal): Call help-buffer
567 (temp-buffer-max-width): New option.
568 (resize-temp-buffer-window, help-window-setup)
569 (with-help-window): Rewrite.
570 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
572 * window.el (frame-char-size, window-min-pixel-height)
573 (window-safe-min-pixel-height, window-safe-min-pixel-width)
574 (window-min-pixel-width, window-safe-min-pixel-size)
575 (window-combination-p, window-safe-min-size)
576 (window-resizable-p, window--size-to-pixel)
577 (window--pixel-to-size, window--resize-apply-p): New functions.
578 (window-safe-min-height): Fix doc-string.
579 (window-size, window-min-size, window--min-size-1)
580 (window-sizable, window-sizable-p, window--min-delta-1)
581 (window-min-delta, window--max-delta-1, window-max-delta)
582 (window--resizable, window--resizable-p, window-resizable)
583 (window-full-height-p, window-full-width-p, window-at-side-p)
584 (window--in-direction-2, window-in-direction)
585 (window--resize-reset-1, window--resize-mini-window)
586 (window-resize, window-resize-no-error)
587 (window--resize-child-windows-normal)
588 (window--resize-child-windows, window--resize-siblings)
589 (window--resize-this-window, window--resize-root-window)
590 (window--resize-root-window-vertically)
591 (adjust-window-trailing-edge, enlarge-window, shrink-window)
592 (maximize-window, minimize-window, delete-window)
593 (quit-restore-window, window-split-min-size, split-window)
594 (balance-windows-2, balance-windows)
595 (balance-windows-area-adjust, balance-windows-area)
596 (window--state-get-1, window-state-get, window--state-put-1)
597 (window--state-put-2, window-state-put)
598 (display-buffer-record-window, window--display-buffer):
599 Make functions handle pixelwise sizing of windows.
600 (display-buffer--action-function-custom-type)
601 (display-buffer-fallback-action):
602 Add display-buffer-in-previous-window.
603 (display-buffer-use-some-window): Resize window to height it had
605 (fit-window-to-buffer-horizontally): New option.
606 (fit-frame-to-buffer): Describe new values.
607 (fit-frame-to-buffer-bottom-margin): Replace with
608 fit-frame-to-buffer-margins.
609 (window--sanitize-margin): New function.
610 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
611 using window-text-pixel-size.
613 2013-11-30 Glenn Morris <rgm@gnu.org>
615 * emacs-lisp/bytecomp.el (byte-compile-form):
616 Make the `interactive-only' warning like the `obsolete' one.
617 * comint.el (comint-run):
618 * files.el (insert-file-literally, insert-file):
619 * replace.el (replace-string, replace-regexp):
620 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
621 (goto-line, insert-buffer, next-line, previous-line):
622 Tweak `interactive-only' spec.
624 Stop keeping (most) generated cedet grammar files in the repository.
625 * Makefile.in (semantic): New.
626 (compile-main): Depend on semantic.
628 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
630 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
631 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
633 * uniquify.el (uniquify-buffer-name-style): Change default.
635 * loadup.el: Preload "uniquify".
637 * time.el (display-time-update): Update all mode lines (bug#15999).
639 * electric.el (electric-indent-mode): Enable by default.
640 * loadup.el: Preload "electric".
642 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
644 * emacs-lisp/helpers.el (string-empty-p): New function.
645 (string-blank-p): New function.
647 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
649 * imenu.el (imenu--index-alist): Add missing dot to the docstring
652 2013-11-29 Andreas Politz <politza@fh-trier.de>
653 * imenu.el (imenu--subalist-p): Don't error on non-conses and
654 allow non-lambda lists as functions.
655 (imenu--in-alist): Don't recurse into non-subalists.
656 (imenu): Don't pass function itself as an argument (Bug#14029).
658 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
660 * progmodes/python.el (python-mode-map): Remove binding for ":".
661 (python-indent-electric-colon): Remove command.
662 (python-indent-post-self-insert-function): Integrate the previous code
663 of python-indent-electric-colon. Make it conditional on
664 electric-indent-mode.
665 (python-mode): Add ?: to electric-indent-chars.
666 Move python-indent-post-self-insert-function to the end of
667 post-self-insert-hook.
669 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
671 * doc-view.el (doc-view-goto-page): Update mode-line.
673 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
675 2013-11-27 Glenn Morris <rgm@gnu.org>
677 * international/charprop.el, international/uni-bidi.el:
678 * international/uni-category.el, international/uni-combining.el:
679 * international/uni-comment.el, international/uni-decimal.el:
680 * international/uni-decomposition.el, international/uni-digit.el:
681 * international/uni-lowercase.el, international/uni-mirrored.el:
682 * international/uni-name.el, international/uni-numeric.el:
683 * international/uni-old-name.el, international/uni-titlecase.el:
684 * international/uni-uppercase.el:
685 Remove generated files from VCS repository.
687 2013-11-27 Eli Zaretskii <eliz@gnu.org>
689 * filenotify.el (file-notify-add-watch): Don't special-case
690 w32notify when computing the directory to watch.
692 2013-11-27 Glenn Morris <rgm@gnu.org>
694 Make bootstrap without generated uni-*.el files possible again.
695 * loadup.el: Update command-line-args checking for unidata-gen.
696 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
697 * composite.el, international/characters.el:
698 Handle unicode tables being undefined.
700 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
701 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
702 (compile-main): Depend on leim rule.
704 * loadup.el: Move leim-list.el to leim/ subdirectory.
705 * startup.el (normal-top-level): No more leim directory.
706 * international/ja-dic-cnv.el (skkdic-convert):
707 Disable version-control and autoloads in output files.
708 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
709 Disable version-control and autoloads in output files.
710 * leim/quail: Move here from ../leim.
711 * leim/quail/hangul.el (hangul-input-method-activate):
713 (generated-autoload-load-name): Set file-local value.
714 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
715 (generated-autoload-load-name): Set file-local value.
717 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
719 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
720 (eww-add-bookmark): ask confirmation when add to bookmarks
721 (eww-quit): ask confirmation before quitting eww
723 2013-11-26 Eli Zaretskii <eliz@gnu.org>
725 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
726 reading output from Diff on MS-Windows and MS-DOS.
728 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
730 * emacs-lisp/helpers.el (string-reverse): New function.
732 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
734 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
735 names on MS Windows, like "/[::1]:".
737 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
740 2013-11-26 Glenn Morris <rgm@gnu.org>
742 * progmodes/python.el (python-indent-guess-indent-offset):
743 Avoid corner-case error. (Bug#15975)
745 Preload leim-list.el. (Bug#4789)
746 * loadup.el: Load leim-list.el when found.
747 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
749 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
751 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
753 * emacs-lisp/helpers.el (string-join): New function.
755 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
757 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
758 Mark as obsolete and replace it with a symbol property.
759 (byte-compile-form): Use new 'interactive-only property.
760 * comint.el, files.el, replace.el, simple.el:
761 Apply new 'interactive-only properly.
763 2013-11-25 Martin Rudalics <rudalics@gmx.at>
765 * window.el (display-buffer-at-bottom): Make sure that
766 split-window-sensibly creates the new window on bottom
769 2013-11-23 David Kastrup <dak@gnu.org>
771 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
772 on the conflict markers when available.
773 (smerge--get-marker): New function.
774 (smerge-end-re, smerge-base-re): Add subgroup.
776 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
778 * frame.el (handle-focus-in, handle-focus-out): Add missing
781 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
783 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
784 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
786 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
788 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
789 (gomoku--last-pos): New var.
790 (gomoku--intangible-chars): New const.
791 (gomoku--intangible): New function.
792 (gomoku-mode): Use it. Derive from special-mode.
793 (gomoku-move-up): Adjust line count.
794 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
795 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
796 Simplify accordingly.
798 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
799 Remove blink-cursor code.
800 (blink-cursor-timer-function, blink-cursor-suspend):
801 Don't special-case GUIs.
802 (blink-cursor-mode): Use focus-in/out-hook.
804 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
806 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
807 work when annotation is invisible (Bug#13886).
809 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
811 * json.el (json-alist-p): Only return non-nil if the alist has
812 simple keys (Bug#13518).
814 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
816 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
817 when control-statement is the first statement in a buffer (Bug#15956).
819 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
821 * imenu.el (imenu-generic-skip-comments-and-strings):
822 New option (Bug#15560).
823 (imenu--generic-function): Use it.
825 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
827 * minibuffer.el (completion--in-region-1): Scroll the correct
830 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
832 * emacs-lisp/helpers.el: Add some string helpers.
833 (string-trim-left): Removes leading whitespace.
834 (string-trim-right): Removes trailing whitespace.
835 (string-trim): Removes leading and trailing whitespace.
837 * subr.el (string-suffix-p): New function.
839 2013-11-23 Glenn Morris <rgm@gnu.org>
841 * progmodes/python.el (python-shell-send-file):
842 Add option to delete file when done. (Bug#15647)
843 (python-shell-send-string, python-shell-send-region): Use it.
845 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
847 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
848 to set buffer-read-only to t, never to nil. (Bug#15938)
850 * textmodes/tex-mode.el (latex-noindent-environments):
851 Add safe-local-variable property. (Bug#15936)
853 2013-11-23 Glenn Morris <rgm@gnu.org>
855 * textmodes/enriched.el (enriched-mode): Doc fix.
856 * emacs-lisp/authors.el (authors-renamed-files-alist):
857 Add enriched.doc -> enriched.txt.
859 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
861 2013-11-22 Leo Liu <sdl.web@gmail.com>
863 * progmodes/octave.el (inferior-octave-startup): Spit out error
866 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
868 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
871 (ruby-encoding-magic-comment-style): Add :version.
873 2013-11-22 Leo Liu <sdl.web@gmail.com>
875 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
877 (octave-help-mode): Adapt to change to help-mode-finish to use
878 derived-mode-p on 2013-09-17.
879 (inferior-octave-prompt): Also match octave-gui.
880 (octave-kill-process): Don't ask twice. (Bug#10564)
882 2013-11-22 Leo Liu <sdl.web@gmail.com>
884 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
885 (inferior-octave-startup, inferior-octave-check-process)
886 (inferior-octave-track-window-width-change)
887 (octave-completion-at-point, octave-eldoc-function): Use it.
888 (octave-kill-process): Provide confirmation. (Bug#10564)
890 2013-11-21 Leo Liu <sdl.web@gmail.com>
892 * progmodes/octave.el (octave-mode, inferior-octave-mode):
893 Fix obsolete variable comment-use-global-state.
895 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
897 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
898 Add `octave-source-file'.
899 (octave-source-file): New function. (Bug#15935)
901 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
903 * net/eww.el (eww-local-regex): New variable.
904 (eww): Use it to detect localhost and similar.
906 2013-11-21 Leo Liu <sdl.web@gmail.com>
908 Add completion for command `ag'.
909 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
910 (pcomplete/ag): New function.
911 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
913 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
915 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
917 (make-obsolete): Remove interactive spec.
919 2013-11-21 Glenn Morris <rgm@gnu.org>
921 * startup.el (command-line-1): Use path-separator with -L.
923 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
925 * emacs-lisp/package.el (describe-package-1): Add package archive
928 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
930 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
931 Change default to "# encoding: %s" to differentiate it from the
932 default Ruby encoding comment template.
934 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
936 * ses.el (ses-mode): Doc fix. (Bug#14748)
938 2013-11-20 Leo Liu <sdl.web@gmail.com>
940 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
942 2013-11-19 Dan Nicolaescu <dann@gnu.org>
944 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
945 when rebase or bisect are in progress.
947 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
949 * filenotify.el (file-notify-add-watch): Doc fix.
951 2013-11-19 Leo Liu <sdl.web@gmail.com>
953 * obsolete/rcompile.el: Mark obsolete.
955 * progmodes/compile.el (compilation-start)
956 (compilation-goto-locus, compilation-find-file):
957 Pass no-display-ok and handle nil value from display-buffer.
960 * window.el (display-buffer-alist, display-buffer): Document the
961 new parameter no-display-ok. Return either a window or nil
962 but never a non-window value.
964 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
966 * electric.el (electric-indent-mode-map): Remove.
967 (electric-indent-mode): Change the global-map instead (bug#15915).
969 * textmodes/text-mode.el (paragraph-indent-minor-mode):
972 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
974 * emacs-lisp/nadvice.el (remove-function): Align with
975 add-function's behavior.
977 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
978 (gdb--string-regexp): New constant.
979 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
980 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
981 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
983 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
984 Adjust use accordingly.
985 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
987 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
989 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
990 interpolation curlies (Bug#15914).
992 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
994 * calc/calc.el (calc-context-sensitive-enter): New variable.
995 (calc-enter): Use `calc-context-sensitive-enter'.
997 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
999 * progmodes/cfengine.el: Version bump.
1000 (cfengine-cf-promises): New defcustom to locate cf-promises.
1001 (cfengine3-vartypes): Add new "data" type.
1002 (cfengine3--current-word): New function to get current name-like
1004 (cfengine3--current-function): New function to look up a CFEngine
1005 function's definition.
1006 (cfengine3-format-function-docstring): New function.
1007 (cfengine3-make-syntax-cache): New function.
1008 (cfengine3-documentation-function): New function: ElDoc glue.
1009 (cfengine3-completion-function): New function: completion glue.
1010 (cfengine3-mode): Set `compile-command',
1011 `eldoc-documentation-function', and add to
1012 `completion-at-point-functions'.
1014 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1016 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1017 `tramp-current-connection'.
1019 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1021 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1022 nil/self/true/false with "end of symbol".
1024 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1026 * subr.el (version-regexp-alist): Fix a typo.
1028 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1030 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1031 "en_US.utf8" and "LC_CTYPE" to "".
1032 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1033 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1035 2013-11-15 Leo Liu <sdl.web@gmail.com>
1037 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1039 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1041 * progmodes/gud.el (ctl-x-map):
1042 Remove C-x SPC binding. (Bug#12342)
1043 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1045 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1047 * subr.el (version-regexp-alist):
1048 Recognize hg, svn and darcs versions as snapshot versions.
1050 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1051 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1052 (ruby--encoding-comment-required-p): Extract from
1053 `ruby-mode-set-encoding'.
1054 (ruby-mode-set-encoding): Add the ability to always insert an
1055 utf-8 encoding comment. Fix and simplify coding comment update
1058 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1060 * net/tramp-gvfs.el (top): Run init code only when
1061 `tramp-gvfs-enabled' is not nil.
1062 (tramp-gvfs-enabled): Check also :system bus.
1064 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1066 Sync with upstream verilog-mode revision 78e66ba.
1067 * progmodes/verilog-mode.el (verilog-end-of-defun)
1068 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1069 (verilog-get-end-of-defun): Remove unused argument.
1070 (verilog-comment-depth): Remove unused local `e'.
1071 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1072 Don't pass arg to verilog-get-end-of-defun.
1074 2013-11-14 Glenn Morris <rgm@gnu.org>
1076 * obsolete/assoc.el (aget): Prefix dynamic variable.
1078 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1080 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1082 * widget.el, hfy-cmap.el: Remove bogus package version number.
1084 2013-11-13 Glenn Morris <rgm@gnu.org>
1086 * replace.el (replace-eval-replacement):
1087 Try to give more helpful error message. (Bug#15836)
1089 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1090 (archive-7z-update): Avoid custom type mismatches.
1092 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1094 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1096 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1097 address can be empty.
1099 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1100 Accept nil SWITCHES.
1101 (tramp-gvfs-handle-write-region): Implement APPEND.
1103 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1105 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1106 binary "|" operator and closing block args delimiter.
1107 Remove FIXME comment referring to Ruby 1.8-only syntax.
1108 (ruby-smie--implicit-semi-p): Not after "|" operator.
1109 (ruby-smie--closing-pipe-p): New function.
1110 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1111 (ruby-smie-rules): Indent after "|".
1113 2013-11-12 Glenn Morris <rgm@gnu.org>
1115 * ps-print.el (ps-face-attribute-list):
1116 Handle anonymous faces. (Bug#15827)
1118 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1120 * window.el (display-buffer-other-frame): Fix doc-string.
1123 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1125 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1127 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1129 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1130 (tramp-sh-handle-file-local-copy): Don't write a message when
1131 saving temporary files.
1133 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1134 both directories are remote.
1135 (tramp-smb-handle-directory-files): Do not return double entries.
1136 Do not expand full file names.
1137 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1138 (tramp-smb-handle-write-region): Implement APPEND.
1139 (tramp-smb-get-stat-capability): Fix a stupid bug.
1141 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1143 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1145 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1147 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1148 throwing error over malformed let/let* (bug#15814).
1150 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1152 * iswitchb.el (iswitchb-mode): Mark obsolete.
1154 2013-11-11 Glenn Morris <rgm@gnu.org>
1156 * international/uni-bidi.el, international/uni-category.el:
1157 * international/uni-name.el, international/uni-numeric.el:
1158 Regenerate for Unicode 6.3.0.
1160 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1162 * net/tramp.el (tramp-methods):
1163 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1164 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1166 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1168 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1169 Force highlighting text after Summary keyword in doc face for rpm.
1171 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1173 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1174 available and the word has no wildcards, append one to the grep pattern.
1175 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1176 (ispell-complete-word): Call `ispell-lookup-words' with the value
1177 independent of `ispell-look-p'.
1179 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1181 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1183 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1186 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1188 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1189 (ruby-font-lock-keywords): Use backquote.
1191 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1193 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1194 (ruby-smie--backward-token): Only consider full-string matches.
1196 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1198 * faces.el (describe-face): Add distant-foreground.
1200 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1202 * progmodes/ruby-mode.el: Improve encoding comment handling.
1203 (ruby-encoding-magic-comment-style): New option.
1204 (ruby-custom-encoding-magic-comment-template): New option.
1205 (ruby--insert-coding-comment, ruby--detect-encoding):
1206 New functions extracted from `ruby-mode-set-encoding'.
1207 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1208 to control the style of the auto-inserted encoding comment.
1210 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1212 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1213 Use `smie-backward-sexp' with token argument.
1215 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1217 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1218 Remove instrumentation code.
1220 2013-11-08 Glenn Morris <rgm@gnu.org>
1222 * progmodes/autoconf.el (autoconf-mode):
1223 Tweak comment-start-skip. (Bug#15822)
1225 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1227 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1228 at bobp (bug#15826).
1229 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1231 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1233 * man.el (Man-start-calling): New macro, extracted from
1234 Man-getpage-in-background.
1235 (Man-getpage-in-background): Use it.
1236 (Man-update-manpage): New command.
1237 (Man-mode-map): Bind it.
1239 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1241 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1242 of "and", "or", "&&" and "||".
1243 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1244 argument. Prohibit opening curly brace because it could only be a
1245 block opener in that position.
1246 (ruby-smie--forward-token, ruby-smie--backward-token):
1247 Separate "|" from "&" or "*" going after it. That can happen in block
1249 (ruby-smie--indent-to-stmt): New function, seeks the end of
1250 previous statement or beginning of buffer.
1251 (ruby-smie-rules): Use it.
1252 (ruby-smie-rules): Check if there's a ":" before a curly block
1253 opener candidate; if there is, it's a hash.
1255 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1257 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1258 (cl--block-wrapper): Fix last accidental change.
1260 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1262 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1263 Instrument, in order to hunt failure on hydra.
1265 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1267 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1268 malformed bindings form (bug#15814).
1270 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1272 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1273 "." compared to " @ ". This incidentally fixes some indentation
1275 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1276 (ruby-smie-grammar): New tokens: "and" and "or".
1277 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1278 Exclude "and" and "or". Remove "do" in order to work around token
1280 (ruby-smie-rules): Add all infix tokens. Handle the case of
1281 beginning-of-buffer.
1283 2013-11-06 Glenn Morris <rgm@gnu.org>
1285 * Makefile.in (setwins_almost, setwins_for_subdirs):
1286 Avoid accidental matches.
1288 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1290 * menu-bar.el (popup-menu): Use key-binding.
1292 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1294 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1295 menus, support also the menus produced by minor modes.
1298 2013-11-06 Leo Liu <sdl.web@gmail.com>
1300 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1301 DISTANCE to bound the search. All uses changed. (Bug#15808)
1303 2013-11-06 Glenn Morris <rgm@gnu.org>
1305 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1306 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1307 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1309 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1311 * electric.el (electric-indent-just-newline): New command.
1312 (electric-indent-mode-map): New keymap.
1313 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1314 Re-add :group which weren't redundant.
1316 * electric.el (electric-indent-local-mode): New minor mode.
1317 (electric-indent-functions-without-reindent): New var.
1318 (electric-indent-post-self-insert-function): Use it.
1319 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1321 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1323 * international/quail.el (quail-help): Be more explicit about the
1324 meaning of the labels shown on the keys. (Bug#15800)
1326 * startup.el (normal-top-level): Load the subdirs.el files before
1327 setting the locale environment. (Bug#15805)
1329 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1331 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1332 via arguments so as to get the right ones (bug#15418).
1334 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1336 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1338 Fix problems found while writing a test suite.
1340 * net/tramp-compat.el (tramp-compat-load): New defun.
1341 * net/tramp.el (tramp-handle-load): Use it.
1343 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1344 "(numberp ok-if-already-exists)" correctly.
1346 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1348 * international/characters.el (glyphless-char-display-control):
1351 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1353 * progmodes/python.el (python-mode):
1354 * progmodes/scheme.el (scheme-mode):
1355 * progmodes/prolog.el (prolog-mode):
1356 * progmodes/ruby-mode.el (ruby-mode):
1357 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1358 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1360 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1362 * rect.el (rectangle--highlight-for-redisplay):
1363 * emacs-lisp/smie.el (smie--next-indent-change):
1364 Use buffer-chars-modified-tick.
1366 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1368 * electric.el (electric-indent-post-self-insert-function):
1369 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1371 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1373 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1375 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1377 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1380 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1382 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1384 * progmodes/python.el: Fix up last change.
1385 (python-shell--save-temp-file): New function.
1386 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1387 `string' comes from the current buffer.
1388 (python-shell-send-string-no-output): Remove `msg' arg.
1389 (python--use-fake-loc): New var.
1390 (python-shell-buffer-substring): Obey it. Try to compensate for the
1391 extra coding line added by python-shell--save-temp-file.
1392 (python-shell-send-region): Use python-shell--save-temp-file and
1393 python-shell-send-file directly. Add `nomain' argument.
1394 (python-shell-send-buffer): Use python-shell-send-region.
1395 (python-electric-pair-string-delimiter): New function.
1396 (python-mode): Use it.
1398 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1400 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1401 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1402 environment and decoding all of the default-directory's to here
1404 (command-line): Decode also argv[0].
1406 * loadup.el: Error out if default-directory is a multibyte string
1407 when we are dumping.
1409 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1411 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1413 * emacs-lisp/package.el (package-menu-mode)
1414 (package-menu--print-info, package-menu--archive-predicate):
1415 Add Archive column to package list.
1417 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1419 Fix problems found while writing a test suite.
1421 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1422 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1423 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1424 to nil when running original file name handler. Otherwise,
1425 there are problems with constructs like "$$FOO".
1427 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1430 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1432 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1434 * subr.el (version<, version<=, version=):
1435 Update docstrings with information for snapshot versions.
1437 * helpers.el: New library for misc helper functions.
1438 (hash-table-keys): New function returning a list of hash keys.
1439 (hash-table-values): New function returning a list of hash values.
1441 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1443 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1444 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1446 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1448 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1449 checking whether point is after a 1-letter word.
1451 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1453 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1454 Don't infloop when expanding region over `multiline' syntax-type that
1455 begins a line (bug#15778).
1457 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1459 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1460 Make it into a proper minor mode.
1461 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1462 (rectangle-mark-mode-map): New keymap.
1463 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1465 2013-11-04 Glenn Morris <rgm@gnu.org>
1467 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1469 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1471 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1472 (ruby-smie-rules): Use smie-rule-parent instead.
1474 * emacs-lisp/smie.el (smie-rule-parent): Always call
1475 smie-indent-virtual rather than only for hanging tokens.
1476 (smie--next-indent-change): New helper command.
1478 2013-11-03 Glenn Morris <rgm@gnu.org>
1480 * Makefile.in (abs_srcdir): Remove.
1481 (emacs): Unset EMACSLOADPATH.
1483 2013-11-02 Glenn Morris <rgm@gnu.org>
1485 * Makefile.in (EMACS): Use a relative filename.
1486 (abs_top_builddir): Remove.
1487 (custom-deps, finder-data, autoloads): Use --chdir.
1489 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1491 Use relative filenames in TAGS files.
1492 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1493 (lisptagsfiles4, TAGS): Use relative file names.
1494 (TAGS-LISP): Remove.
1495 (maintainer-clean): No more TAGS-LISP file.
1497 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1498 (lisptagsfiles4): Use absolute filenames again.
1499 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1500 Remove all *loaddefs files, not just the first. Remove esh-groups.
1501 (maintainer-clean): Delete TAGS, TAGS-LISP.
1503 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1505 * emacs-lisp/package.el (package-version-join):
1506 Recognize snapshot versions.
1508 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1510 * subr.el (version-regexp-alist): Add support for snapshot versions.
1512 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1514 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1515 New function, replacement for `smie-rule-parent' for when we want to
1516 skip over our direct parent if it's an assignment token..
1517 (ruby-smie-rules): Use it.
1519 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1521 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1522 unconditionally. Remove now unnecessary forward declarations.
1523 Remove XEmacs-specific setup.
1524 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1525 (ruby-font-lock-syntactic-keywords)
1526 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1527 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1528 (ruby-here-doc-end-syntax): Remove.
1529 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1530 defined as function.
1532 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1534 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1536 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1538 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1539 table and abbrev table, `define-derived-mode' does that for us
1542 2013-11-01 Glenn Morris <rgm@gnu.org>
1544 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1545 files is atomic for some time, so no parallel compilation issues).
1547 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1549 * faces.el (face-x-resources): Add :distant-foreground.
1550 (region): Use :distant-foreground for gtk and ns.
1552 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1554 Allow multiple bibliographies when BibLaTeX is used rather than
1556 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1557 (reftex-locate-bibliography-files): Us it.
1559 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1561 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1562 allow comments in pbm files.
1564 * term/w32-win.el (dynamic-library-alist): Support newer versions
1565 of libjpeg starting with v7: look only for the DLL from the
1566 version against which Emacs was built.
1567 Support versions of libpng beyond 1.4.x.
1568 Support libtiff v4.x.
1570 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1572 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1573 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1575 (ruby-deep-arglist): Add property :type.
1577 2013-10-31 Glenn Morris <rgm@gnu.org>
1579 * Makefile.in (custom-deps, finder-data): No need to setq the target
1580 variables, we are in the right directory and the defaults work fine.
1582 2013-10-30 Glenn Morris <rgm@gnu.org>
1584 * Makefile.in (autoloads): Do not use abs_lisp.
1586 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1587 `newline' does not respect `standard-output', so use `princ'.
1589 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1591 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1592 * buff-menu.el (Buffer-menu--unmark): New function.
1593 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1595 2013-10-30 Glenn Morris <rgm@gnu.org>
1597 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1599 * emacs-lisp/package.el (lm-homepage): Declare.
1601 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1604 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1606 * Makefile.in (finder-data, autoloads, update-subdirs)
1607 (compile-main, compile-clean, compile-always, bootstrap-clean):
1608 Check return value of cd.
1609 (compile-calc): Remove.
1611 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1613 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1615 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1616 (byte-compile-and-folded): New function.
1617 (=, <, >, <=, >=): Use it.
1619 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1620 (path-separator, null-device, buffer-file-coding-system)
1621 (lpr-headers-switches): Check system-type before modifying them.
1622 (find-buffer-file-type-coding-system): Mark obsolete.
1623 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1624 find-file-not-found-set-buffer-file-coding-system.
1625 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1626 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1627 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1628 (w32-direct-print-region-helper, w32-direct-print-region-function)
1629 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1630 * startup.el (normal-top-level-add-subdirs-to-load-path):
1631 * ps-print.el (ps-print-region-function):
1632 * lpr.el (print-region-function): Use new name.
1634 * subr.el (custom-declare-variable-early): Remove function.
1635 (custom-declare-variable-list): Remove var.
1636 (error, user-error): Remove `while' loop.
1637 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1638 (user-emacs-directory-warning, locate-user-emacs-file):
1640 * simple.el (read-quoted-char-radix, read-quoted-char):
1641 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1643 * custom.el (custom-declare-variable-list): Don't process
1644 custom-declare-variable-list.
1646 * progmodes/python.el (python-shell-get-buffer): New function.
1647 (python-shell-get-process): Use it.
1648 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1649 Python which encoding was used. Don't split-string since we only care
1650 about the first line. Return the temp-file, if applicable.
1651 (python-shell-send-region): Tell compile.el how to turn locations in
1652 the temp-file into locations in the source buffer.
1654 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1656 * subr.el (undefined): Add missing behavior from the C code for
1659 * rect.el: Use lexical-binding. Add new rectangular region support.
1660 (rectangle-mark): New command.
1661 (rectangle--region): New var.
1662 (deactivate-mark-hook): Reset rectangle--region.
1663 (rectangle--extract-region, rectangle--insert-for-yank)
1664 (rectangle--highlight-for-redisplay)
1665 (rectangle--unhighlight-for-redisplay): New functions.
1666 (region-extract-function, redisplay-unhighlight-region-function)
1667 (redisplay-highlight-region-function): Use them to handle
1669 * simple.el (region-extract-function): New var.
1670 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1671 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1672 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1673 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1674 (redisplay-unhighlight-region-function)
1675 (redisplay-highlight-region-function): New vars.
1676 (redisplay--update-region-highlight): New function.
1677 (pre-redisplay-function): Use it.
1678 (exchange-point-and-mark): Don't deactivate the mark before
1679 reactivate-it anyway.
1680 * comint.el (comint-kill-region): Remove yank-handler argument.
1681 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1682 (delete-char): Remove property, since it's now part of their
1684 (self-insert-iso): Remove property since this command doesn't exist.
1686 * emacs-lisp/package.el (package--download-one-archive)
1687 (describe-package-1): Don't query the user about final newline.
1689 2013-10-29 Daniel Colascione <dancol@dancol.org>
1691 * net/tramp.el (tramp-methods): Document new functionality.
1692 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1693 tramp-hostname-checker if method provides one instead of scanning
1694 argument list for "%h" to decide hostname acceptability.
1696 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1698 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1699 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1700 Handle COPY-CONTENTS. (Bug#15737)
1702 2013-10-28 Daiki Ueno <ueno@gnu.org>
1705 (epa-file-cache-passphrase-for-symmetric-encryption):
1706 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1708 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1710 * image.el (defimage):
1711 (image-load-path): Doc fixes.
1713 2013-10-27 Alan Mackenzie <acm@muc.de>
1715 Indent statements in macros following "##" correctly.
1716 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1717 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1719 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1721 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1723 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1725 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1726 after `=' is probably a new expression.
1728 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1730 * man.el (man-imenu-title): New option.
1731 (Man-mode-map): Add menu. (Bug#15722)
1732 (Man-mode): Add imenu to menu.
1734 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1736 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1737 specific in what the first arg can be: a non-keyword word,
1738 string/regexp/percent literal opener, opening paren, or unary
1739 operator followed directly by word.
1741 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1743 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1744 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1745 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1746 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1747 Remove vars, they do not apply any more.
1748 (prolog-mode-abbrev-table): Remove redundant declaration.
1749 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1750 (prolog-use-smie): Remove.
1751 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1752 supported by prolog-electric-if-then-else-flag.
1753 (prolog-mode-variables, prolog-menu): Use setq-local.
1754 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1755 Remove binding to `Backspace' since this key doesn't exist anyway.
1756 Remove bindings for electric self-inserting keys.
1757 (prog-mode): Assume it's defined.
1758 (prolog-post-self-insert): New function.
1759 (prolog-mode): Use it.
1760 (prolog-indent-line, prolog-indent-level)
1761 (prolog-find-indent-of-matching-paren)
1762 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1763 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1764 (prolog-goto-next-paren, prolog-in-string-or-comment)
1765 (prolog-tokenize, prolog-inside-mline-comment)
1766 (prolog-find-start-of-mline-comment): Remove functions.
1767 (prolog-find-unmatched-paren, prolog-clause-end)
1768 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1769 (prolog-electric--if-then-else): Rename from
1770 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1771 (prolog-tokenize-searchkey): Remove const.
1772 (prolog-clause-info): Use forward-sexp.
1773 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1774 (prolog-electric-if-then-else): Remove commands.
1775 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1776 for use in post-self-insert-hook.
1777 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
1778 for use in post-self-insert-hook.
1779 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
1780 for use in post-self-insert-hook.
1781 (prolog-electric--underscore): Rename from prolog-electric--underscore;
1782 adapt it for use in post-self-insert-hook.
1784 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
1786 * emacs-lisp/ert.el (ert-run-tests-interactively):
1787 Use `completing-read'. (Bug#9756)
1789 2013-10-25 Eli Zaretskii <eliz@gnu.org>
1791 * simple.el (line-move): Call line-move-1 instead of
1792 line-move-visual when the current window hscroll is zero, but
1793 temporary-goal-column indicates we will need to hscroll as result
1794 of the movement. (Bug#15712)
1796 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
1798 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
1799 capitalization. Use :visible instead of :active.
1800 Fix `ruby-indent-exp' reference. Add menu items for the generic
1801 commands that are used with SMIE.
1802 (ruby-do-end-to-brace): Insert space after `{'.
1804 2013-10-25 John Anthony <john@jo.hnanthony.com>
1806 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
1808 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
1810 2013-10-25 Glenn Morris <rgm@gnu.org>
1812 * vc/vc.el (vc-print-log): Don't use a working revision unless
1813 one was explicitly specified. (Bug#15322)
1815 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1817 * subr.el (add-to-list): Preserve return value in compiler-macro
1820 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1822 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
1823 result. Ask user to retry using '-all' flag. (Bug#15701)
1825 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1827 * emacs-lisp/smie.el: New smie-config system.
1828 (smie-config): New defcustom.
1829 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
1830 (smie-config-guess, smie-config-save): New commands.
1831 (smie-config--mode-local, smie-config--buffer-local)
1832 (smie-config--trace, smie-config--modefuns): New vars.
1833 (smie-config--advice, smie-config--mode-hook)
1834 (smie-config--setter, smie-config-local, smie-config--get-trace)
1835 (smie-config--guess-value, smie-config--guess): New functions.
1836 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
1837 text properties. Treat "string fence" syntax like string syntax.
1839 * progmodes/sh-script.el (sh-use-smie): Change default.
1840 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
1841 (sh-var-value): Simplify by CSE.
1842 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
1843 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
1845 (sh-guess-basic-offset): Use cl-incf.
1846 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
1848 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
1850 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
1853 2013-10-24 Glenn Morris <rgm@gnu.org>
1855 * Makefile.in (abs_top_srcdir): Remove.
1856 (update-subdirs): Use relative path to update-subdirs.
1858 2013-10-24 Eli Zaretskii <eliz@gnu.org>
1860 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
1861 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
1862 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
1863 Call unmsys--file-name before expand-file-name, not after it.
1865 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
1867 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
1868 (ert-test-skipped): New error.
1869 (ert-skip, ert-stats-skipped): New defuns.
1870 (ert--skip-unless): New macro.
1871 (ert-test-skipped): New struct.
1872 (ert--run-test-debugger, ert-test-result-type-p)
1873 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
1874 (ert--stats-set-test-and-result, ert-char-for-test-result)
1875 (ert-string-for-test-result, ert-run-tests-batch)
1876 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
1877 Handle skipped tests. (Bug#9803)
1879 2013-10-24 Glenn Morris <rgm@gnu.org>
1881 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
1883 * Makefile.in (abs_top_srcdir): New, set by configure.
1884 (update-subdirs): Correct build-aux location.
1886 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
1888 * vc/vc.el (vc-print-root-log): Always set `default-directory'
1889 value, whether we could auto-deduce `backend', or not.
1891 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
1892 with parameters" example. Simplify the "is it block or is it
1893 hash" check, but also make it more thorough.
1895 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
1897 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
1899 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1901 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
1904 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
1907 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
1909 * progmodes/compile.el (compilation-directory-matcher)
1910 (compilation-page-delimiter):
1911 Support GNU Make-4.0 directory quoting. (Bug#15678)
1913 2013-10-23 Leo Liu <sdl.web@gmail.com>
1915 * ido.el (ido-tidy): Handle read-only text.
1917 2013-10-23 Glenn Morris <rgm@gnu.org>
1919 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
1920 (emacs, compile, compile-always):
1921 Quote entities that might contain whitespace.
1922 (custom-deps, finder-data, autoloads): Use abs_lisp.
1923 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
1924 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
1925 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
1927 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
1929 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
1930 Use `following-char'.
1932 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1934 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
1935 * progmodes/ruby-mode.el (ruby-smie-rules):
1936 Remove corresponding workaround. Fix indentation rule of ";" so it
1937 also applies when ";" is the parent.
1939 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
1941 * frame.el (display-screens, display-pixel-height)
1942 (display-pixel-width, display-mm-width, display-backing-store)
1943 (display-save-under, display-planes, display-color-cells)
1944 (display-visual-class, display-monitor-attributes-list):
1945 Mention the optional ‘display’ argument in doc strings.
1947 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1949 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1950 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1952 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1954 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1955 TODO. Add "." after " @ ".
1956 (ruby-smie--at-dot-call): New function. Checks if point at method
1957 call with explicit target.
1958 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1959 to the method name tokens when it precedes them.
1960 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1961 (ruby-smie-rules): Add rule for indentation before and after "."
1964 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1966 * textmodes/remember.el (remember-diary-extract-entries):
1969 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1972 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1974 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1975 (ruby-smie--implicit-semi-p): Add new operator chars.
1977 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1979 (ruby-smie--args-separator-p): Check that there's no newline
1980 between method call and its arguments.
1982 2013-10-20 Alan Mackenzie <acm@muc.de>
1984 Allow comma separated lists after Java "implements".
1986 * progmodes/cc-engine.el (c-backward-over-enum-header):
1988 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1989 from a "disallowed" list in enum fontification.
1991 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1993 * startup.el (default-frame-background-mode): Remove unused defvar.
1995 * progmodes/verilog-mode.el (verilog-mode): Don't set
1996 comment-indent-function globally.
1998 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2000 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2001 Move Info menu item creation to ns-win.el.
2003 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2006 * menu-bar.el: Move GNUStep specific menus...
2008 * term/ns-win.el (ns-initialize-window-system): ... to here.
2010 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2012 * simple.el (newline): Only run post-self-insert-hook when
2013 called interactively.
2015 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2017 * icomplete.el (icomplete-with-completion-tables): Add :version.
2019 2013-10-19 Alan Mackenzie <acm@muc.de>
2021 Fix fontification bugs with constructors and const.
2023 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2024 CASE 2) Remove the check for the absence of a suffix construct
2025 after a function declaration with only types (no identifiers) in
2026 the parentheses. Also, accept a function declaration with just a
2027 type inside the parentheses, if this type can be positively
2028 recognised as such, or if a prefix keyword like "explicit" nails
2029 down the construct as a declaration.
2031 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2033 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2034 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2035 the problem whereby selecting a menu item that leads to a
2036 minibuffer prompt moves the cursor out of the minibuffer window,
2037 making it hard to type at the prompt. Suggested by Stefan Monnier
2038 <monnier@iro.umontreal.ca>.
2040 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2042 * menu-bar.el: Don't make Services menu.
2044 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2046 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2047 (ffap-alist): Use ffap-c++-mode for c++-mode.
2048 (ffap-c++-path): New variable.
2049 (ffap-c++-mode): New function.
2051 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2053 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2055 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2057 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2058 introduced on 2013-09-08, which results in an infinite loop
2059 requesting a password.
2061 2013-10-18 Glenn Morris <rgm@gnu.org>
2063 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2065 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2067 Sync with upstream verilog-mode revision 1a6ecec7.
2068 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2069 (verilog-mode-release-date): Remove.
2070 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2071 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2072 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2073 (verilog-auto-tieoff-ignore-regexp)
2074 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2075 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2076 (verilog-signals-with, verilog-dir-cache-preserving)
2077 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2079 (verilog-case-fold): New option, to control case folding in
2080 regexp searches, bug597.
2081 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2082 (verilog-string-match-fold, verilog-in-paren-count)
2083 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2084 (verilog-at-close-struct-p): New functions.
2085 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2086 (verilog-forward-sexp, verilog-set-auto-endcomments):
2087 (verilog-leap-to-case-head): Handle "unique0" case.
2088 (verilog-in-constraint-re): New constant.
2089 (verilog-keywords, verilog-type-font-keywords):
2090 Add some SystemVerilog 1800-2012 keywords.
2091 (verilog-label-be): Remove unimplemented argument, bug669.
2092 (verilog-batch-execute-func): When batch expanding clear
2093 create-lockfiles to prevent spurious user locks when a file ends
2095 (verilog-calculate-indent, verilog-calc-1)
2096 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2097 (verilog-do-indent): Fix indentation of nested constraints
2099 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2100 (verilog-auto-inst-param): Use verilog-string-match-fold.
2101 (verilog-read-inst-module-matcher):
2102 Fix AUTOINST on gate primitives with #1.
2103 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2104 Reads all user-defined typed variables.
2105 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2106 (verilog-signals-matching-regexp)
2107 (verilog-signals-not-matching-regexp, verilog-auto):
2108 Respect verilog-case-fold.
2109 (verilog-diff-report): Fix line count.
2110 (verilog-auto-assign-modport): Remove unused local `modi'.
2111 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2112 better handle multidimensional arrays.
2113 Fix packed array ports misadding bit index in AUTOINST, bug637.
2114 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2115 to not double-declare existing outputs and inputs, respectively.
2116 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2117 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2118 (verilog-sk-uvm-component): New skeleton.
2119 (verilog-submit-bug-report): Add verilog-case-fold,
2120 remove verilog-mode-release-date.
2122 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2124 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2127 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2129 * textmodes/remember.el (remember): set buffer-offer-save in
2130 remember buffers (bug#13566).
2132 2013-10-18 Daniel Colascione <dancol@dancol.org>
2134 When evaluating forms in ielm, direct standard output to ielm
2135 buffer. Add new ielm-return-for-effect command. Remove trailing
2136 whitespace throughout.
2138 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2139 (ielm-return-for-effect): New command.
2140 (ielm-send-input): Accept optional `for-effect' parameter.
2141 (ielm-eval-input): Accept optional `for-effect' parameter.
2142 Bind `standard-output' to stream we create using
2143 `ielm-standard-output-impl'. Suppress printing result when
2145 (ielm-standard-output-impl): New function.
2146 (inferior-emacs-lisp-mode): Explain new features in documentation.
2148 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2152 * net/tramp.el (tramp-debug-message): Do not check for connection
2154 (tramp-message): Use "vector" connection property.
2156 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2157 (tramp-equal-remote, tramp-eshell-directory-change)
2158 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2159 (tramp-adb-handle-rename-file)
2160 * net/tramp-cmds.el (tramp-list-remote-buffers)
2161 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2162 * net/tramp-compat.el (tramp-compat-process-running-p)
2163 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2164 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2165 (tramp-gvfs-handle-rename-file)
2166 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2167 (tramp-set-file-uid-gid)
2168 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2169 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2172 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2173 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2174 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2175 (tramp-gw-open-network-stream): Suppress unrelated traces.
2177 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2178 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2179 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2180 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2181 connection property.
2183 * net/tramp-cache.el (top): Suppress traces when reading
2186 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2187 Refactor common code. Improve debug message.
2188 (tramp-maybe-open-connection)
2189 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2190 connection buffer too early.
2192 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2193 from `tramp-smb-actions-with-acl'.
2194 (tramp-smb-actions-set-acl): New defconst.
2195 (tramp-smb-handle-copy-directory)
2196 (tramp-smb-action-get-acl): New defun, renamed from
2197 `tramp-smb-action-with-acl'.
2198 (tramp-smb-action-set-acl): New defun.
2199 (tramp-smb-handle-set-file-acl): Rewrite.
2201 2013-10-17 Glenn Morris <rgm@gnu.org>
2203 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2205 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2207 * skeleton.el (skeleton-newline): Remove.
2208 (skeleton-internal-1): Use (insert "\n") instead.
2210 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2213 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2214 forward-sexp-function while we redo its job (bug#15613).
2216 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2218 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2219 represented by lists.
2221 2013-10-16 Glenn Morris <rgm@gnu.org>
2223 * tmm.el (tmm--history): New dynamic variable.
2224 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2226 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2228 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2229 (tramp-smb-errors): Add error messages.
2230 (tramp-smb-actions-with-acl): New defconst.
2231 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2232 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2233 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2234 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2235 (tramp-smb-get-stat-capability): Fix tests.
2237 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2239 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2242 2013-10-16 Glenn Morris <rgm@gnu.org>
2244 * ansi-color.el (ansi-color-drop-regexp):
2245 Add 1J, 1K, 2K. (Bug#15617)
2247 * files.el (hack-local-variables--warned-lexical): New.
2248 (hack-local-variables):
2249 Warn about misplaced lexical-binding. (Bug#15616)
2251 * net/eww.el (eww-render): Always set eww-current-url,
2252 and update header line. (Bug#15622)
2253 (eww-display-html): ... Rather than just doing it here.
2255 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2257 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2258 menu navigations commands.
2260 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2262 * progmodes/subword.el (subword-capitalize): Be careful when
2263 the search for [[:alpha:]] fails (bug#15580).
2265 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2267 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2268 to commands that scroll the menu.
2270 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2272 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2273 Handle methods ending with `?' and `!'.
2275 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2277 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2278 `japanese-cp932' to `cp932' to fix the problem where saving a
2279 source file written in Shift_JIS twice would end up having
2280 `coding: japanese-cp932' which Ruby could not recognize.
2281 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2282 in `ruby-encoding-map'.
2283 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2284 doesn't need to be explicitly declared in magic comment.
2285 (ruby-encoding-map): Add type declaration for better customize UI.
2287 2013-10-13 Glenn Morris <rgm@gnu.org>
2289 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2290 Occur buffers are read-only. http://bugs.debian.org/720775
2292 * emacs-lisp/authors.el (authors-fixed-entries):
2293 Comment out old alpha stuff.
2295 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2297 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2298 to `after-save-hook' instead of `before-save-hook'.
2299 (ruby-mode-set-encoding): Use the value of coding system used to
2300 write the file. Call `basic-save-buffer-1' after modifying the
2303 2013-10-13 Alan Mackenzie <acm@muc.de>
2305 Fix indentation/fontification of Java enum with
2306 "implements"/generic.
2308 * progmodes/cc-engine.el (c-backward-over-enum-header):
2309 Extracted from the three other places and enhanced to handle generics.
2310 (c-inside-bracelist-p): Uses new function above.
2311 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2313 (c-font-lock-enum-tail): Uses new function above.
2315 2013-10-13 Kenichi Handa <handa@gnu.org>
2317 * international/mule-cmds.el (select-safe-coding-system): Remove a
2318 superfluous condition in chekcing whether a coding system is safe
2321 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2323 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2325 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2327 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2329 2013-10-13 Glenn Morris <rgm@gnu.org>
2331 * menu-bar.el (menu-bar-update-buffers):
2332 Unify Buffers menu prompt string. (Bug#15576)
2334 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2336 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2338 (authors-fixed-entries): Use accented form of name.
2340 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2342 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2343 method calls (bug#15594).
2344 (ruby-smie--args-separator-p): New function.
2345 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2346 recognize paren-free method calls.
2348 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2349 internals of universal-argument.
2351 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2353 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2354 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2355 dropped menu on second mouse click on the menu bar.
2357 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2359 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2360 (explicit-shell-file-name): Declare.
2361 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2362 (sh-completion-at-point-function): New function.
2364 (sh-smie--keyword-p): Remove unused argument.
2365 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2367 (sh-set-shell): Always setup SMIE, even if we use the
2368 old indentation code.
2370 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2372 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2374 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2375 predicate would return nil are almost non-existent.
2376 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2378 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2379 cache also after commands that modify the buffer but don't move
2382 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2384 * env.el (substitute-env-in-file-name): New function.
2385 (substitute-env-vars): Extend the meaning of the optional arg.
2387 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2389 * term/w32-win.el (dynamic-library-alist): Define separate lists
2390 of GIF DLLs for versions before and after 5.0.0 of giflib.
2393 2013-10-10 João Távora <joaotavora@gmail.com>
2395 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2396 not locked, use last revision and current source as
2397 defaults. (Bug#15569)
2399 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2401 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2404 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2406 * window.el (pop-to-buffer-same-window): Fix doc-string.
2409 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2411 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2413 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2415 * calendar/icalendar.el (icalendar-import-file):
2416 Fix interactive spec. (Bug#15482)
2418 2013-10-10 Glenn Morris <rgm@gnu.org>
2420 * desktop.el (desktop-save): Default to saving in .emacs.d,
2421 since PWD is no longer in desktop-path by default. (Bug#15319)
2423 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2424 now that text mode has a menu with the same entry.
2425 (menu-bar-text-mode-auto-fill): Remove now unused func.
2426 * textmodes/text-mode.el (text-mode-map):
2427 Use auto-fill help text from menu-bar.el.
2429 2013-10-10 John Anthony <john@jo.hnanthony.com>
2431 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2433 2013-10-09 Juri Linkov <juri@jurta.org>
2435 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2436 instead of this-command-keys. Add universal-argument-more and
2437 universal-argument-minus to the list of prefix commands. (Bug#15568)
2439 2013-10-09 Glenn Morris <rgm@gnu.org>
2441 * vc/vc-svn.el (vc-svn-create-repo):
2442 Expand paths in file://... url. (Bug#15446)
2444 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2446 (authors): Remove unused local variables.
2448 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2450 * profiler.el: Create a more coherent calltree from partial backtraces.
2451 (profiler-format): Hide the tail with `invisible' so that C-s can still
2452 find the hidden elements.
2453 (profiler-calltree-depth): Don't recurse so enthusiastically.
2454 (profiler-function-equal): New hash-table-test.
2455 (profiler-calltree-build-unified): New function.
2456 (profiler-calltree-build): Use it.
2457 (profiler-report-make-name-part): Indent the calltree less.
2458 (profiler-report-mode): Add visibility specs for profiler-format.
2459 (profiler-report-expand-entry, profiler-report-toggle-entry):
2460 Expand the whole subtree when provided with a prefix arg.
2462 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2464 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2466 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2467 hanging iuwu-mod token.
2468 (ruby-smie--forward-token): Do not include a dot after a token in
2470 (ruby-smie--backward-token): Likewise.
2472 2013-10-08 Juri Linkov <juri@jurta.org>
2474 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2475 to isearch-other-control-char.
2476 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2477 and isearch-post-command-hook to post-command-hook.
2478 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2479 and isearch-post-command-hook from post-command-hook.
2480 (isearch-unread-key-sequence)
2481 (isearch-reread-key-sequence-naturally)
2482 (isearch-lookup-scroll-key, isearch-other-control-char)
2483 (isearch-other-meta-char): Remove functions.
2484 (isearch-pre-command-hook, isearch-post-command-hook):
2485 New functions based on isearch-other-meta-char rewritten
2486 relying on the new behavior of overriding-terminal-local-map
2487 that does not replace the local keymaps any more. (Bug#15200)
2489 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2491 Support menus on text-mode terminals.
2492 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2495 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2497 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2498 Move here from mouse.el.
2499 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2501 (tty-menu-navigation-map): New map for TTY menu navigation.
2503 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2505 * frame.el (display-mouse-p): Report text-mode mouse as available
2507 (display-popup-menus-p): Report availability if mouse is
2508 available; don't condition on window-system.
2510 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2511 (tty-menu-selected-face): New faces.
2513 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2515 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2516 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2517 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2518 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2520 (lisp-mode-variables): New `elisp' argument.
2521 (emacs-lisp-mode): Use it.
2522 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2523 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2525 * indent.el: Use lexical-binding.
2526 (indent-region): Add progress reporter.
2527 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2529 (indent--next-tab-stop): New function to implement this behavior.
2530 (tab-to-tab-stop, move-to-tab-stop): Use it.
2532 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2534 * indent.el (indent-rigidly--current-indentation): New function.
2535 (indent-rigidly-map): New var.
2536 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2538 2013-10-08 Bastien Guerry <bzg@gnu.org>
2540 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2542 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2544 * progmodes/perl-mode.el: Use lexical-binding.
2545 Remove redundant :group args.
2546 (perl-nochange): Change default to be closer to other major modes's
2548 (perl-indent-line): Don't consider text on current line as a
2549 valid beginning of function from which to indent.
2551 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2552 with more than one argument (bug#15538).
2554 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2556 * vc/pcvs.el: Use lexical-binding.
2557 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2558 environment of `eval'.
2559 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2560 than a list of expressions. Adjust callers.
2561 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2563 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2565 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2566 case of the dot in a chained method call being on the following line.
2568 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2570 * electric.el (electric-indent-inhibit): New var.
2571 (electric-indent-post-self-insert-function): Use it.
2572 * progmodes/python.el (python-mode): Set it.
2574 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2577 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2579 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2580 (css-mode): Use electric-indent-chars.
2582 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2583 (font-lock-beg, font-lock-end): Move before first use.
2584 (nxml-mode): Use syntax-propertize-function.
2585 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2586 (nxml-extend-after-change-region): Remove.
2587 * nxml/xmltok.el: Use lexical-binding.
2588 (xmltok-save): Use `declare'.
2589 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2590 * nxml/nxml-util.el: Use lexical-binding.
2591 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2593 * nxml/nxml-ns.el: Use lexical-binding.
2594 (nxml-ns-save): Use `declare'.
2595 (nxml-ns-prefixes-for): Avoid add-to-list.
2596 * nxml/rng-match.el: Use lexical-binding.
2597 (rng--ipattern): Use cl-defstruct.
2598 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2599 (rng-cons-group-after, rng-subst-group-after)
2600 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2601 Use closures instead of `(lambda...).
2603 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2605 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2608 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2609 Use `tramp-handle-insert-file-contents'.
2610 (tramp-gvfs-handle-insert-file-contents): Remove function.
2612 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2613 Use `save-restriction' in order to keep markers.
2615 * net/trampver.el: Update release number.
2617 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2619 * progmodes/compile.el (compilation-parse-errors):
2620 Use compilation--put-prop.
2621 (compilation--ensure-parse): Check compilation-multiline.
2623 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2625 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2628 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2630 * progmodes/ruby-mode.el: Fix recently added tests.
2631 (ruby-smie-grammar): Add - and +.
2632 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2633 (ruby-smie--backward-id): New functions.
2634 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2635 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2638 2013-10-07 Leo Liu <sdl.web@gmail.com>
2640 * register.el (register-preview-delay)
2641 (register-preview-functions): New variables.
2642 (register-read-with-preview, register-preview)
2643 (register-describe-oneline): New functions.
2644 (point-to-register, window-configuration-to-register)
2645 (frame-configuration-to-register, jump-to-register)
2646 (number-to-register, view-register, insert-register)
2647 (copy-to-register, append-to-register, prepend-to-register)
2648 (copy-rectangle-to-register): Use register-read-with-preview to
2649 read register. (Bug#15525)
2651 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2653 * net/network-stream.el (network-stream-open-starttls): Don't add
2654 --insecure if it's already present, because that gnutls-cli
2655 rejects getting that parameter twice.
2657 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2659 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2662 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2664 * newcomment.el (comment-use-global-state): Change default value
2665 to t, mark obsolete (Bug#15251).
2666 (comment-beginning): In addition to `comment-to-syntax', check the
2667 value of `comment-use-global-state'.
2669 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2671 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2672 (ruby-comment-column): Follow the global default, by default.
2673 (ruby-smie-grammar): Add assignment syntax.
2674 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2675 open-paren, a comma, or a \.
2676 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2677 and line continuations.
2678 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2679 followed by implicit semi-colons. Add rule for string concatenation
2680 and for indentation at BOB.
2681 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2683 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2684 calling next-sexp, since next-token may have skipped chars which
2685 next-sexp doesn't know should be skipped!
2687 2013-10-05 Leo Liu <sdl.web@gmail.com>
2689 * progmodes/octave.el (octave-send-region):
2690 Call compilation-forget-errors.
2692 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2694 * vc/vc-svn.el (vc-svn-find-admin-dir):
2695 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2696 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2697 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2698 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2700 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2702 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2704 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2706 * subr.el (read-passwd): Hide chars even when called within a context
2707 where after-change-functions is disabled (bug#15501).
2708 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2709 until we removed ourself from overriding-terminal-local-map.
2711 2013-10-04 Leo Liu <sdl.web@gmail.com>
2713 * progmodes/octave.el (inferior-octave-mode):
2714 Call compilation-forget-errors.
2716 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2718 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2720 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2722 * net/secrets.el (secrets-create-collection): Add optional
2723 argument ALIAS. Use proper Label keyword. Append ALIAS as
2724 dbus-call-method argument. (Bug#15516)
2726 2013-10-04 Leo Liu <sdl.web@gmail.com>
2728 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2729 (inferior-octave-compilation-font-lock-keywords): New variables.
2730 (compilation-error-regexp-alist)
2731 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2732 (inferior-octave-mode): Use compilation-shell-minor-mode.
2734 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2736 * minibuffer.el (completion--replace): Be careful that `end' might be
2739 2013-10-03 Daiki Ueno <ueno@gnu.org>
2741 Add support for package signature checking.
2742 * emacs-lisp/package.el (url-http-file-exists-p)
2743 (epg-make-context, epg-context-set-home-directory)
2744 (epg-verify-string, epg-context-result-for)
2745 (epg-signature-status, epg-signature-to-string)
2746 (epg-check-configuration, epg-configuration)
2747 (epg-import-keys-from-file): Declare.
2748 (package-check-signature): New user option.
2749 (package-unsigned-archives): New user option.
2750 (package-desc): Add `signed' field.
2751 (package-load-descriptor): Set `signed' field if .signed file exists.
2752 (package--archive-file-exists-p): New function.
2753 (package--check-signature): New function.
2754 (package-install-from-archive): Check package signature.
2755 (package--download-one-archive): Check archive signature.
2756 (package-delete): Remove .signed file.
2757 (package-import-keyring): New command.
2758 (package-refresh-contents): Import default keyring.
2759 (package-desc-status): Add "unsigned" status.
2760 (describe-package-1, package-menu--print-info)
2761 (package-menu-mark-delete, package-menu--find-upgrades)
2762 (package-menu--status-predicate): Support "unsigned" status.
2764 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2766 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2767 the new compilation scheme using the new byte-codes.
2769 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2770 (byte-pophandler): New byte codes.
2771 (byte-goto-ops): Adjust accordingly.
2772 (byte-compile--use-old-handlers): New var.
2773 (byte-compile-catch): Use new byte codes depending on
2774 byte-compile--use-old-handlers.
2775 (byte-compile-condition-case--old): Rename from
2776 byte-compile-condition-case.
2777 (byte-compile-condition-case--new): New function.
2778 (byte-compile-condition-case): New function that dispatches depending
2779 on byte-compile--use-old-handlers.
2780 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
2783 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2784 Optimize under `condition-case' and `catch' if
2785 byte-compile--use-old-handlers is nil.
2786 (disassemble-offset): Handle new bytecodes.
2788 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2790 * subr.el (error): Use `declare'.
2791 (decode-char, encode-char): Use advertised-calling-convention instead
2792 of the docstring to discourage use of the `restriction' arg.
2794 2013-10-03 Daiki Ueno <ueno@gnu.org>
2796 * epg.el (epg-verify-file): Add a comment saying that it does not
2797 notify verification error as a return value nor a signal.
2798 (epg-verify-string): Ditto.
2800 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
2802 * progmodes/compile.el (compilation-start): Try globbing the arg to
2805 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
2807 Sync with Tramp 2.2.8.
2809 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2810 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
2811 * net/trampver.el: Update release number.
2813 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
2815 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2816 and default-process-coding-system for darwin only.
2818 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2820 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
2822 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
2824 * vc/vc-git.el (vc-git-grep): Disable pager.
2826 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
2828 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
2829 Use :url instead of :homepage, as per
2830 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
2832 * newcomment.el (comment-beginning): When `comment-use-syntax' is
2833 non-nil, use `syntax-ppss' (Bug#15251).
2835 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2837 * progmodes/octave.el (inferior-octave-startup-file):
2838 Prefer ~/.emacs.d/init_octave.m.
2840 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
2842 * emacs-lisp/package.el (package-desc-from-define):
2843 Accept additional arguments as plist, convert them to an alist and store
2844 them in the `extras' slot.
2845 (package-generate-description-file): Convert extras alist back to
2846 plist and append to the `define-package' form arguments.
2847 (package--alist-to-plist): New function.
2848 (package--ac-desc): Add `extras' slot.
2849 (package--add-to-archive-contents): Check if the archive-contents
2850 vector is long enough, and if it is, pass its `extras' slot value
2851 to `package-desc-create'.
2852 (package-buffer-info): Call `lm-homepage', pass the returned value
2853 to `package-desc-from-define'.
2854 (describe-package-1): Render the homepage button (Bug#13291).
2856 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2857 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
2859 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
2861 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
2862 and default-process-coding-system to utf-8-unix (Bug#15402).
2864 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
2866 * subr.el (looking-back): Do not recommend using looking-back.
2868 2013-09-28 Alan Mackenzie <acm@muc.de>
2870 Fix indentation/fontification of Java enum with "implements".
2872 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
2873 regexp which matches "implements", etc., in Java.
2874 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
2875 specifier clauses coming after "enum".
2876 * progmodes/cc-fonts.el (c-font-lock-declarations)
2877 (c-font-lock-enum-tail): Check for extra specifier clauses coming
2880 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
2882 * faces.el (region): Change ns_selection_color to
2883 ns_selection_fg_color, add ns_selection_bg_color.
2885 2013-09-28 Leo Liu <sdl.web@gmail.com>
2887 * progmodes/octave.el (inferior-octave-completion-table)
2888 (inferior-octave-completion-at-point): Minor tweaks.
2890 * textmodes/ispell.el (ispell-lookup-words): Rename from
2891 lookup-words. (Bug#15460)
2892 (lookup-words): Obsolete.
2893 (ispell-complete-word, ispell-command-loop): All uses changed.
2895 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2897 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
2898 (octave-mode-menu): Add octave-send-buffer.
2899 (octave-send-buffer): New function.
2901 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2903 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
2905 (octave-mode-menu): Add octave-lookfor.
2906 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
2908 (octave-lookfor): New function.
2910 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2912 * emacs-lisp/cl-macs.el:
2913 (cl--loop-destr-temps): Remove.
2914 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
2916 (cl--loop-set-iterator-function): New function.
2917 (cl-loop): Adjust accordingly, so as not to use cl-subst.
2918 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
2919 Bind `it' with `let' instead of substituting it with `cl-subst'.
2920 (cl--unused-var-p): New function.
2921 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
2922 Eliminate some unused variable warnings (bug#15326).
2924 2013-09-27 Tassilo Horn <tsdh@gnu.org>
2926 * doc-view.el (doc-view-scale-reset): Rename from
2927 `doc-view-reset-zoom-level'.
2928 (doc-view-scale-adjust): New command.
2929 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
2930 `doc-view-scale-adjust'.
2932 2013-09-26 Tassilo Horn <tsdh@gnu.org>
2934 * doc-view.el (doc-view-reset-zoom-level): New command.
2935 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
2936 zoom commands (bug#15466).
2938 2013-09-26 Kenichi Handa <handa@gnu.org>
2940 * international/quail.el (quail-help): Make it not a command.
2942 2013-09-26 Leo Liu <sdl.web@gmail.com>
2944 * minibuffer.el (completion-all-sorted-completions): Make args
2945 optional as they are.
2947 2013-09-25 Daniel Colascione <dancol@dancol.org>
2949 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2950 specs are and that they're not evaluated.
2952 2013-09-24 Sam Steingold <sds@gnu.org>
2954 * midnight.el (clean-buffer-list-kill-regexps)
2955 (clean-buffer-list-kill-buffer-names): Update for the new Man
2956 buffer naming which includes the object name.
2958 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2960 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2961 (eshell-parse-command, eshell-parse-pipeline): Use it since
2962 eshell-separate-commands requires a dynamic scoped var.
2963 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2965 2013-09-23 Leo Liu <sdl.web@gmail.com>
2967 * autoinsert.el (auto-insert-alist): Make the value of
2968 lexical-binding match its file setting.
2970 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2972 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2974 * autoarg.el (autoarg-kp-digit-argument):
2975 * electric.el (Electric-command-loop):
2976 * kmacro.el (kmacro-step-edit-insert):
2977 Do not set universal-argument-num-events.
2979 2013-09-22 Leo Liu <sdl.web@gmail.com>
2981 * files.el (interpreter-mode-alist): Add octave.
2983 2013-09-21 Alan Mackenzie <acm@muc.de>
2985 C++: fontify identifier in declaration following "public:" correctly.
2986 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2987 to match "public", etc.
2988 (c-decl-prefix-re): Add ":" into the C++ value.
2989 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2990 bit. Add a check for a ":" preceded by "public", etc.
2992 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2994 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2995 recognized by GDB 7.5 and later.
2997 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2999 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3001 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3003 * subr.el (internal--call-interactively): New const.
3004 (called-interactively-p): Use it (bug#3984).
3006 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3008 * vc/pcvs.el (cvs-mode-ignore):
3009 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3010 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3012 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3014 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3015 (eshell-ls-orig-insert-directory): Remove.
3016 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3017 (eshell-ls-use-in-dired): Use advice-add/remove.
3018 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3019 Add `orig-fun' arg for use in :around advice.
3020 Make it check (redundantly) eshell-ls-use-in-dired.
3022 2013-09-19 Glenn Morris <rgm@gnu.org>
3024 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3026 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3028 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3030 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3032 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3033 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3034 (tramp-get-remote-python): New defuns.
3035 (tramp-get-remote-uid-with-perl)
3036 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3037 contributed by yary <not.com@gmail.com> (tiny change).
3038 (tramp-get-remote-uid-with-python)
3039 (tramp-get-remote-gid-with-python): New defuns. Python code
3040 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3041 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3043 2013-09-19 Glenn Morris <rgm@gnu.org>
3045 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3047 * eshell/em-unix.el (eshell-remove-entries):
3048 Rename argument to avoid name-clash with global `top-level'.
3050 * eshell/esh-proc.el (eshell-kill-process-function):
3051 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3052 (eshell-reset-after-proc): Remove unused arg `proc'.
3054 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3055 (directory-files-and-attributes): Mark unused arg.
3057 * eshell/em-unix.el (eshell-remove-entries):
3058 Remove unused arg `path'. Update callers.
3060 * eshell/em-hist.el (eshell-hist-parse-arguments):
3061 Remove unused arg `silent'. Update callers.
3063 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3064 Fix (f)boundp mix-up.
3066 * eshell/em-smart.el (eshell-smart-scroll-window)
3067 (eshell-disable-after-change):
3068 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3070 2013-09-18 Alan Mackenzie <acm@muc.de>
3072 Fix fontification of type when followed by "const".
3073 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3074 "known" types from fontification.
3076 2013-09-18 Glenn Morris <rgm@gnu.org>
3078 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3079 (chart-face-list): Drop Emacsen without display-color-p.
3081 * net/eww.el (libxml-parse-html-region): Declare.
3082 (eww-display-html): Explicit error if no libxml2 support.
3084 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3086 * image.el (image-type-from-buffer, image-multi-frame-p):
3087 Remove --without-x warning/error.
3089 * mouse.el (mouse-yank-primary):
3090 * term.el (term-mouse-paste):
3091 Reorder to silence --without-x compilation.
3093 * mpc.el (doc-view-mode): Silence --without-x compilation.
3095 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3096 Silence --without-x compilation.
3098 * progmodes/gud.el (gud-find-file, gud-mode):
3099 Silence --without-x compilation.
3100 (tooltip-mode): Declare.
3102 * wdired.el (dired-backup-overwrite): Remove declaration.
3103 (wdired-mode-map): Add doc string.
3105 * custom.el (x-get-resource): Declare.
3107 * eshell/em-glob.el (ange-cache):
3108 * eshell/em-unix.el (ange-cache): Declare.
3110 * faces.el (x-display-list, x-open-connection, x-get-resource):
3113 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3114 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3117 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3119 * net/gnutls.el (gnutls-log-level): Declare.
3121 * net/shr.el (image-size, image-animate): Declare.
3123 * simple.el (font-info): Declare.
3125 * subr.el (x-popup-dialog): Declare.
3127 * term/common-win.el (x-select-enable-primary)
3128 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3131 * term/ns-win.el (x-handle-args): Declare.
3133 * term/x-win.el (x-select-enable-clipboard): Declare.
3135 * term/w32-win.el (create-default-fontset): Declare.
3137 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3140 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3141 (fit-frame-to-buffer): Explicit error if --without-x.
3142 (mouse-autoselect-window-select): Silence compiler.
3144 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3146 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3147 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3148 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3149 * eshell/esh-util.el (eshell-sublist):
3150 Remove unused local variables.
3152 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3154 * textmodes/two-column.el: Make 2C-split work for --without-x.
3155 (scroll-bar-columns): Autoload.
3156 (top-level): Require fringe when compiling.
3158 2013-09-18 Leo Liu <sdl.web@gmail.com>
3160 * subr.el (add-hook): Robustify to handle closure as well.
3162 2013-09-17 Glenn Morris <rgm@gnu.org>
3164 * simple.el (messages-buffer-mode-map): Unbind "g".
3166 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3168 * help-mode.el (help-mode-finish): Use derived-mode-p.
3169 Remove obsolete highlighting.
3171 * play/life.el (life-mode): Use define-derived-mode. Derive from
3173 (life): Let-bind inhibit-read-only.
3174 (life-setup): Avoid `setq'. Use `life-mode'.
3176 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3177 which should not be needed any more.
3178 (package-menu-refresh, package-menu-describe-package): Use user-error.
3180 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3181 (eshell-post-rewrite-command-hook): Make obsolete.
3182 (eshell-parse-command): Simplify.
3183 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3184 (eshell--cmd): Declare.
3185 (eshell-parse-pipeline): Remove unused var `final-p'.
3186 Pass a dynvar to eshell-post-rewrite-command-hook.
3187 Implement the new eshell-post-rewrite-command-function.
3188 (eshell-invoke-directly): Remove unused arg `input'.
3189 * eshell/esh-io.el (eshell-io-initialize):
3190 Use eshell-post-rewrite-command-function (bug#15399).
3191 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3192 adjust to new calling convention.
3193 (eshell-create-handles): Rename args to avoid clashing with dynvar
3196 2013-09-17 Glenn Morris <rgm@gnu.org>
3198 * simple.el (messages-buffer-mode): New major mode.
3199 (messages-buffer): New function.
3200 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3201 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3202 (ert-run-test): Use `messages-buffer' function.
3203 (ert--force-message-log-buffer-truncation): Ignore read-only.
3204 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3205 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3207 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3209 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3211 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3213 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3215 * icomplete.el (icomplete-in-buffer): New var.
3216 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3217 vars and replace them with functions.
3218 (icomplete-minibuffer-setup): Adjust accordingly.
3219 (icomplete--completion-table, icomplete--completion-predicate)
3220 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3222 (icomplete-forward-completions, icomplete-backward-completions)
3223 (icomplete-simple-completing-p, icomplete-exhibit)
3224 (icomplete-completions): Use them.
3225 (icomplete--in-region-buffer): New var.
3226 (icomplete--in-region-setup): New function.
3227 (icomplete-mode): Use it.
3229 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3231 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3232 return args and options.
3233 (eshell-eval-using-options): Use the new return value of
3234 eshell--do-opts to set the options's vars in their scope.
3235 (eshell--set-option): Rename from eshell-set-option.
3237 (eshell--process-option): Rename from eshell-process-option.
3239 (eshell--process-args): Use an `opt-vals' alist to store the options's
3240 values during their processing and return them additionally to the
3243 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3245 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3246 continuation character an operator, as far as indentation is
3247 concerned (Bug#15369).
3249 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3251 * window.el (window--state-put-2): Don't process buffer state
3252 when buffer doesn't exist any more (Bug#15382).
3254 2013-09-15 Glenn Morris <rgm@gnu.org>
3256 * eshell/em-unix.el (eshell/rm):
3257 Make -f ignore missing files. (Bug#15373)
3259 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3260 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3261 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3263 2013-09-14 Glenn Morris <rgm@gnu.org>
3265 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3267 2013-09-13 Glenn Morris <rgm@gnu.org>
3269 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3270 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3272 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3274 * frame.el (x-focus-frame): Mark as declared in frame.c.
3276 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3278 * ls-lisp.el: Use advice-add.
3279 (original-insert-directory): Remove.
3280 (ls-lisp--insert-directory): Rename from insert-directory; add
3281 `orig-fun' argument.
3282 (insert-directory): Advise.
3284 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3286 * term.el (term-emulate-terminal): Decode the command string
3287 before passing it to term-command-hook. (Bug#15337)
3289 2013-09-13 Glenn Morris <rgm@gnu.org>
3291 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3293 * eshell/esh-ext.el (eshell-search-path): Declare.
3295 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3296 Otherwise an error occurs if eshell-dirs module not loaded.
3298 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3300 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3302 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3303 `tramp-check-proper-host'. Check for a valid method name.
3305 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3306 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3307 * net/tramp-sh.el (tramp-maybe-open-connection):
3308 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3310 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3311 also for hash values.
3313 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3315 * term/ns-win.el (parameters): Don't declare as dynamic.
3316 (before-make-frame-hook): Don't add ineffective function.
3318 * eshell/*.el: Use lexical-binding (bug#15231).
3320 2013-09-12 Kenichi Handa <handa@gnu.org>
3322 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3324 2013-09-12 Glenn Morris <rgm@gnu.org>
3326 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3327 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3329 * subr.el (do-after-load-evaluation): Also give compiler warnings
3330 when obsolete files are used (except by obsolete files).
3332 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3333 in the status output, assume `filename' is the first. (Bug#15322)
3335 * vc/vc.el (vc-deduce-fileset): Doc fix.
3337 * calc/calc-help.el (Info-goto-node):
3338 * progmodes/cperl-mode.el (Info-find-node):
3339 * vc/ediff.el (Info-goto-node): Update declarations.
3341 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3343 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3344 (vc-bzr-pull): Require vc-dispatcher.
3345 * vc/vc-git.el (vc-compilation-mode): Declare.
3346 (vc-git-pull): Require vc-dispatcher.
3348 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3350 * progmodes/octave.el (help-button-action): Declare.
3352 * shell.el (shell-directory-tracker): Output error as a message
3353 rather than just returning it as a string.
3354 (shell-process-pushd): Remove useless use of message.
3356 * dframe.el (dframe-timer-fn):
3357 * files.el (dir-locals-read-from-file):
3358 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3360 * reveal.el (reveal-post-command):
3361 * saveplace.el (load-save-place-alist-from-file):
3362 * shell.el (shell-resync-dirs):
3363 * w32-common-fns.el (x-get-selection-value):
3364 * emacs-lisp/copyright.el (copyright-find-copyright):
3365 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3366 * emulation/tpu-edt.el (tpu-copy-keyfile):
3367 * play/bubbles.el (bubbles--mark-neighbourhood):
3368 * progmodes/executable.el
3369 (executable-make-buffer-file-executable-if-script-p):
3370 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3372 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3374 Cleanup Eshell to rely less on dynamic scoping.
3375 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3376 last-value, and ext-command here. Bind `args' closer to `body'.
3377 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3378 (eshell--args): Declare new dynamic var.
3379 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3380 last-value, and ext-command. Pass `args' to `body'.
3381 (eshell-process-args): Bind eshell--args.
3382 (eshell-set-option): Use eshell--args.
3383 * eshell/eshell.el (eshell): Use derived-mode-p.
3384 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3385 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3386 (eshell-glob-function): Declare.
3387 * eshell/esh-util.el: Require cl-lib.
3388 (eshell-read-hosts-file): Avoid add-to-list.
3389 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3391 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3393 (eshell/diff): Remove unused var `err'.
3394 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3396 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3397 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3399 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3400 Move declaration before first use.
3401 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3402 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3405 2013-09-12 Glenn Morris <rgm@gnu.org>
3407 * term/ns-win.el (global-map): Remove binding for ispell-next,
3408 deleted 1999-05-29. (Bug#15357)
3410 2013-09-11 Glenn Morris <rgm@gnu.org>
3412 * echistory.el (electric-command-history): Remove call to deleted func.
3414 * play/landmark.el (landmark-mode): Fix typos.
3416 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3417 Check cvs-sort-ignore-file is bound.
3419 * savehist.el: No need for cl when compiling on Emacs.
3421 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3423 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3425 (eshell-self-insert-command, eshell-send-invisible):
3426 Remove unused argument.
3427 (eshell-handle-control-codes): Remove unused var `orig'.
3428 Avoid delete-backward-char.
3430 * files.el (set-auto-mode): Simplify a bit further.
3432 2013-09-11 Glenn Morris <rgm@gnu.org>
3434 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3435 (set-auto-mode): Don't regexp-quote elements.
3436 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3437 * progmodes/cc-mode.el (interpreter-mode-alist):
3438 * progmodes/ruby-mode.el (interpreter-mode-alist):
3439 Revert previous change.
3441 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3443 * play/snake.el (snake-mode):
3444 * play/mpuz.el (mpuz-mode):
3445 * play/landmark.el (lm-mode):
3446 * play/blackbox.el (blackbox-mode):
3447 * play/5x5.el (5x5-mode):
3448 * obsolete/options.el (Edit-options-mode):
3449 * net/quickurl.el (quickurl-list-mode):
3450 * net/newst-treeview.el (newsticker-treeview-mode):
3451 * mail/rmailsum.el (rmail-summary-mode):
3452 * mail/mspools.el (mspools-mode):
3453 * locate.el (locate-mode):
3454 * ibuffer.el (ibuffer-mode):
3455 * emulation/ws-mode.el (wordstar-mode):
3456 * emacs-lisp/debug.el (debugger-mode):
3457 * array.el (array-mode):
3458 * net/eudc.el (eudc-mode): Use define-derived-mode.
3459 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3460 Move initialization into declaration.
3461 (mairix-searches-mode): Use define-derived-mode.
3462 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3463 (eudc-edit-hotlist): Use dolist.
3464 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3465 (Man-mode): Use define-derived-mode.
3466 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3467 (Info-edit-mode): Use define-derived-mode.
3468 (Info-cease-edit): Use Info-mode.
3469 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3471 (eshell-mode): Use define-derived-mode.
3472 * chistory.el (command-history-mode-map): Rename from
3473 command-history-map.
3474 (command-history-mode): Use define-derived-mode.
3475 (Command-history-setup): Remove function.
3476 * calc/calc.el (calc-trail-mode-map): New var.
3477 (calc-trail-mode): Use define-derived-mode.
3478 (calc-trail-buffer): Set calc-main-buffer manually.
3479 * bookmark.el (bookmark-insert-annotation): New function.
3480 (bookmark-edit-annotation): Use it.
3481 (bookmark-edit-annotation-mode): Make it a proper major mode.
3482 (bookmark-send-edited-annotation): Use derived-mode-p.
3483 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3484 closer to its ideal place. Use \' to match EOS.
3486 * profiler.el (profiler-calltree-find): Use function-equal.
3488 2013-09-10 Glenn Morris <rgm@gnu.org>
3490 * files.el (interpreter-mode-alist): Convert to regexps.
3491 (set-auto-mode): Adapt for this. (Bug#15306)
3492 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3493 Comment out unused variable.
3494 * progmodes/cc-mode.el (interpreter-mode-alist):
3495 * progmodes/python.el (interpreter-mode-alist):
3496 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3497 * progmodes/sh-script.el (sh-set-shell):
3498 No longer use interpreter-mode-alist to get list of shells.
3500 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3502 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3504 * simple.el: Use set-temporary-overlay-map for universal-argument.
3505 (universal-argument-map): Don't use default-bindings (bug#15317).
3506 Bind switch-frame explicitly. Replace universal-argument-minus with
3507 a conditional binding.
3508 (universal-argument-num-events, saved-overriding-map): Remove.
3509 (restore-overriding-map): Remove.
3510 (universal-argument--mode): Rename from save&set-overriding-map,
3512 (universal-argument, universal-argument-more, negative-argument)
3513 (digit-argument): Adjust accordingly.
3514 (universal-argument-minus): Remove.
3515 (universal-argument-other-key): Remove.
3517 * subr.el (with-demoted-errors): Add `format' argument.
3519 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3521 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3522 `tramp-cleanup-connection'.
3524 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3525 parameters KEEP-DEBUG and KEEP-PASSWORD.
3527 * net/tramp.el (tramp-file-name-handler):
3528 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3529 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3530 (tramp-maybe-open-connection):
3531 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3532 Use `tramp-cleanup-connection'.
3534 * net/tramp-sh.el (tramp-maybe-open-connection):
3535 Catch 'uname-changed inside the progress reporter.
3537 2013-09-10 Glenn Morris <rgm@gnu.org>
3539 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3541 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3542 returns "alternate access method" in mode (eg "-rw-r--r--.").
3544 2013-09-08 Glenn Morris <rgm@gnu.org>
3546 * saveplace.el (load-save-place-alist-from-file):
3547 Demote errors. (Bug#15305)
3549 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3551 Improve compatibility with older Emacsen, and XEmacs.
3553 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3554 only if it is bound. It isn't for XEmacs.
3555 (with-tramp-progress-reporter): Do not let-bind `result'.
3556 This yields to scoping errors in XEmacs.
3557 (tramp-handle-make-auto-save-file-name): New function, moved from
3560 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3561 for `make-auto-save-file-name'.
3562 (tramp-adb--gnu-switches-to-ash):
3563 Use `tramp-compat-replace-regexp-in-string'.
3565 * net/tramp-cache.el (tramp-cache-print): Call
3566 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3568 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3569 bound. It isn't for XEmacs.
3571 * net/tramp-compat.el (tramp-compat-copy-file):
3572 Catch `wrong-number-of-arguments' error.
3573 (tramp-compat-replace-regexp-in-string): New defun.
3575 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3576 for `make-auto-save-file-name'.
3577 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3579 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3580 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3581 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3583 * net/tramp-gw.el (tramp-gw-open-network-stream):
3584 Use `tramp-compat-replace-regexp-in-string'.
3586 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3587 Call `tramp-handle-make-auto-save-file-name'.
3588 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3589 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3590 (tramp-sh-file-inotifywait-process-filter):
3591 Use `tramp-compat-replace-regexp-in-string'.
3592 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3594 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3595 for `make-auto-save-file-name'.
3596 (tramp-smb-handle-copy-directory):
3597 Call `tramp-compat-replace-regexp-in-string'.
3598 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3599 (tramp-smb-handle-copy-file): Improve error message.
3600 (tramp-smb-handle-rename-file): Rename directly only in case
3601 `newname' does not exist yet. This is a restriction of smbclient.
3602 (tramp-smb-maybe-open-connection): Rerun the function only when
3603 `auth-sources' is non-nil.
3605 2013-09-08 Kenichi Handa <handa@gnu.org>
3607 * international/characters.el: Set category "^" (Combining) for
3610 2013-09-07 Alan Mackenzie <acm@muc.de>
3612 Correctly fontify Java class constructors.
3613 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3615 (c-recognize-typeless-decls): Set the Java value to t.
3616 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3617 While handling a "(", add a check for, effectively, Java, and handle a
3618 "typeless" declaration there.
3620 2013-09-07 Roland Winkler <winkler@gnu.org>
3622 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3623 field subtitle for entry type book.
3625 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3627 * minibuffer.el: Make minibuffer-complete call completion-in-region
3628 rather than other way around.
3629 (completion--some, completion-pcm--find-all-completions):
3630 Don't delay signals when debugging.
3631 (minibuffer-completion-contents): Beware fields within the
3632 minibuffer contents.
3633 (completion-all-sorted-completions): Use defvar-local.
3634 (completion--do-completion, completion--cache-all-sorted-completions)
3635 (completion-all-sorted-completions, minibuffer-force-complete):
3636 Add args `beg' and `end'.
3637 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3638 (minibuffer-complete): Use completion-in-region.
3639 (completion-complete-and-exit): New fun, extracted from
3640 minibuffer-complete-and-exit.
3641 (minibuffer-complete-and-exit): Use it.
3642 (completion--complete-and-exit): Rename from
3643 minibuffer--complete-and-exit.
3644 (completion-in-region--single-word): New function, extracted from
3645 minibuffer-complete-word.
3646 (minibuffer-complete-word): Use it.
3647 (display-completion-list): Make `common-substring' argument obsolete.
3648 (completion--in-region): Call completion--in-region-1 instead of
3649 minibuffer-complete.
3650 (completion-help-at-point): Pass boundaries to
3651 minibuffer-completion-help as args rather than via an overlay.
3652 (completion-pcm--string->pattern): Use `any-delim'.
3653 (completion-pcm--optimize-pattern): New function.
3654 (completion-pcm--pattern->regex): Handle `any-delim'.
3655 * icomplete.el (icomplete-forward-completions)
3656 (icomplete-backward-completions, icomplete-completions):
3657 Adjust calls to completion-all-sorted-completions and
3658 completion--cache-all-sorted-completions.
3659 (icomplete-with-completion-tables): Default to t.
3660 * emacs-lisp/crm.el (crm--current-element): Rename from
3661 crm--select-current-element. Don't put an overlay but return the
3663 (crm--completion-command): Take two new args to bind to the boundaries.
3664 (crm-completion-help): Adjust accordingly.
3665 (crm-complete): Use completion-in-region.
3666 (crm-complete-word): Use completion-in-region--single-word.
3667 (crm-complete-and-exit): Use completion-complete-and-exit.
3669 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3671 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3674 2013-09-06 Juri Linkov <juri@jurta.org>
3676 * info.el (Info-display-images-node): When image file doesn't exist
3677 display text version of the image if it's provided in the Info file.
3678 Otherwise, display the location of missing image from SRC attribute.
3679 Add help-echo text property from ALT attribute. (Bug#15279)
3681 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3683 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3684 (edit-abbrevs-mode): Use define-derived-mode.
3686 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3687 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3689 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3690 Use define-derived-mode.
3692 * epg.el (epg-start-encrypt): Minor CSE simplification.
3694 2013-09-06 William Xu <william.xwl@gmail.com>
3696 * arc-mode.el: Add support for 7za (bug#15264).
3697 (archive-7z-program): New var.
3698 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3699 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3700 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3702 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3706 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3707 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3708 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3709 (tramp-postfix-host-format, tramp-file-name-regexp)
3710 (tramp-completion-file-name-regexp)
3711 (tramp-completion-dissect-file-name)
3712 (tramp-handle-substitute-in-file-name): Remove 'url case.
3713 (tramp-file-name-regexp-url)
3714 (tramp-completion-file-name-regexp-url): Remove constants.
3716 2013-09-06 Glenn Morris <rgm@gnu.org>
3718 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3720 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3722 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3723 keywords" below "here-doc beginnings" (Bug#15270).
3725 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3727 * subr.el (pop): Use `car-safe'.
3728 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3729 to detect unused `pop' return value.
3731 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3733 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3734 (python-fill-string): Remove unused var `marker'.
3735 (python-skeleton-add-menu-items): Remove unused var `items'.
3737 * international/mule-cmds.el: Require CL.
3738 (find-coding-systems-for-charsets): Avoid add-to-list.
3739 (sanitize-coding-system-list): New function, extracted from
3740 select-safe-coding-system-interactively.
3741 (select-safe-coding-system-interactively): Use it.
3742 (read-input-method-name): Accept symbols for `default'.
3744 * emacs-lisp/advice.el (defadvice): Add indent rule.
3746 2013-09-05 Daniel Hackney <dan@haxney.org>
3750 * net/browse-url.el:
3753 * net/eudcb-ldap.el:
3766 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3767 byte compiler. Remove some unused let-bound variables.
3769 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3771 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3772 a "ref-cell", since it gets better optimized (bug#14883).
3774 2013-09-05 Glenn Morris <rgm@gnu.org>
3776 * progmodes/cc-awk.el (c-forward-sws): Declare.
3778 2013-09-04 Glenn Morris <rgm@gnu.org>
3780 * generic-x.el [rul-generic-mode]: Require cc-mode.
3781 (c++-mode-syntax-table): Declare.
3782 (rul-generic-mode-syntax-table): Init in the defvar.
3784 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3786 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
3787 (vc-do-command, vc-set-async-update):
3788 * vc/vc-mtn.el (vc-mtn-dir-status):
3789 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
3790 (vc-hg-pull, vc-hg-merge-branch):
3791 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
3792 (vc-git-merge-branch):
3793 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
3794 (vc-cvs-dir-status-files):
3795 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
3796 (vc-bzr-dir-status-files):
3797 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
3798 * vc/vc-annotate.el: Use lexical-binding.
3799 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
3800 (vc-sentinel-movepoint): Declare.
3801 (vc-annotate): Don't use `goto-line'.
3802 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
3803 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
3804 (vc-sentinel-movepoint): Declare.
3805 * vc/vc-svn.el: Use lexical-binding.
3806 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
3808 * vc/vc-rcs.el: Use lexical-binding.
3810 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
3811 `deleted'. Don't drop errors silently.
3813 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
3815 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
3817 * vc/vc.el (vc-ignore): Rewrite.
3818 (vc-default-ignore): New function.
3819 (vc-default-ignore-completion-table): Use find-ignore-file.
3821 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
3822 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
3823 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
3824 Remove. Most code moved to vc.el.
3826 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
3828 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
3829 * net/tramp-smb.el (tramp-smb-get-file-entries):
3830 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
3831 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
3833 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
3835 (eww-change-select): Remove unused var `properties'.
3836 (eww-make-unique-file-name): Remove unused var `base'.
3838 * finder.el (finder-compile-keywords): Don't mess with windows.
3840 * calculator.el (calculator-funcall): Fix typo in last change.
3842 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
3844 * emacs-lisp/package.el (package-activate-1): Don't let a missing
3845 <pkg>-autoloads.el file stop us.
3847 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
3848 warnings, and factor out common code.
3850 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
3852 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
3853 two-character operators and whether the character preceding them
3854 changes their meaning (Bug#15208).
3856 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3858 Format code sent to Python shell for robustness.
3859 * progmodes/python.el (python-shell-buffer-substring):
3861 (python-shell-send-region, python-shell-send-buffer): Use it.
3863 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
3865 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
3866 * net/tramp.el (tramp-user-error): ... here.
3867 (tramp-find-method, tramp-check-proper-host)
3868 (tramp-dissect-file-name, tramp-debug-message)
3869 (tramp-handle-shell-command):
3870 * net/tramp-adb.el (tramp-adb-handle-shell-command):
3871 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
3873 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
3875 2013-09-02 Martin Rudalics <rudalics@gmx.at>
3877 * avoid.el (mouse-avoidance-point-position)
3878 (mouse-avoidance-too-close-p): Handle case where posn-at-point
3881 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
3883 * progmodes/python.el (python-shell-completion-get-completions):
3884 Drop use of deleted `comint-last-prompt-overlay'.
3885 (python-nav-if-name-main): New command.
3887 2013-09-01 Glenn Morris <rgm@gnu.org>
3889 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3890 Avoid leading space in $wins. Otherwise the sed command used by
3891 eg compile-main ends up containing "/*.el". (Bug#15170)
3893 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
3895 2013-08-30 Glenn Morris <rgm@gnu.org>
3897 * emacs-lisp/bytecomp.el (byte-recompile-directory):
3898 Fix is-this-a-directory logic. (Bug#15220)
3900 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3902 * textmodes/css-mode.el: Use SMIE.
3903 (css-smie-grammar): New var.
3904 (css-smie--forward-token, css-smie--backward-token)
3905 (css-smie-rules): New functions.
3906 (css-mode): Use them.
3907 (css-navigation-syntax-table): Remove var.
3908 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
3909 (css-indent-calculate, css-indent-line): Remove functions.
3911 Misc changes to reduce use of `(lambda...); and other cleanups.
3912 * cus-edit.el: Use lexical-binding.
3913 (customize-push-and-save, customize-apropos)
3914 (custom-buffer-create-internal): Use closures.
3915 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
3916 * progmodes/ada-xref.el: Use setq.
3917 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
3918 * dframe.el: Use lexical-binding.
3919 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
3920 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
3921 * descr-text.el: Use lexical-binding.
3922 (describe-text-widget, describe-text-sexp, describe-property-list):
3924 * comint.el (comint-history-isearch-push-state): Use a closure.
3925 * calculator.el: Use lexical-binding.
3926 (calculator-number-to-string): Make it work with lexical-binding.
3927 (calculator-funcall): Same and use cl-letf.
3929 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
3930 (lisp--company-doc-string, lisp--company-location): New functions.
3931 (lisp-completion-at-point): Use them to improve Company support.
3933 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
3934 params of lambda expressions.
3935 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
3936 (ruby-smie--opening-pipe-p): New function.
3937 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
3938 symbols and matched |...| for formal params.
3939 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
3940 from being treated as hanging. Handle "rescue".
3942 2013-08-29 Glenn Morris <rgm@gnu.org>
3944 * progmodes/cc-engine.el (c-pull-open-brace):
3945 Move definition before use.
3947 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3949 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3950 are immutable. Don't use `unsafe' any more.
3951 (cl--defsubst-expand): Don't substitute at the same time as keeping
3952 a residual unused let-binding. Don't use `unsafe' any more.
3954 2013-08-29 Glenn Morris <rgm@gnu.org>
3956 * calendar/cal-china.el (calendar-chinese-year-cache):
3959 * nxml/nxml-util.el (nxml-debug-clear-inside):
3960 Use cl-loop rather than loop.
3962 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3964 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3966 2013-08-28 Glenn Morris <rgm@gnu.org>
3968 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3970 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3972 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3974 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3976 * simple.el (repeat-complex-command--called-interactively-skip):
3978 (repeat-complex-command): Use it (bug#14136).
3980 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3981 (c-define-abbrev-table): Add `doc' argument.
3982 (c-mode-abbrev-table, c++-mode-abbrev-table)
3983 (objc-mode-abbrev-table, java-mode-abbrev-table)
3984 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3985 (awk-mode-abbrev-table): Use it.
3986 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3987 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3988 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3989 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3990 Move initialization into the declaration; and remove any
3993 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3994 and dynamic let binding.
3996 * vc/smerge-mode.el: Remove redundant :group args.
3998 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4001 2013-08-28 Juri Linkov <juri@jurta.org>
4003 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4004 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4005 (isearch-other-meta-char): Handle an undefined shifted printing
4006 character by downshifting it. (Bug#15200)
4008 2013-08-28 Juri Linkov <juri@jurta.org>
4010 * isearch.el (isearch-search): Change regexp error message for
4011 non-regexp searches. (Bug#15166)
4013 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4015 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4016 for portability to hosts where /bin/sh has problems.
4018 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4020 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4022 2013-08-27 Juri Linkov <juri@jurta.org>
4024 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4025 in the keyboard macro. (Bug#15126)
4027 2013-08-27 Juri Linkov <juri@jurta.org>
4029 * isearch.el (isearch-quote-char): Comment out converting unibyte
4030 to multibyte, thus syncing with its `quoted-insert' counterpart.
4033 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4035 * window.el (display-buffer-use-some-window): Add missing
4036 argument in call of get-largest-window (Bug#15185).
4037 Reported by Stephen Leake.
4039 2013-08-27 Glenn Morris <rgm@gnu.org>
4041 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4043 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4045 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4046 from a matcher-function unless there's no more matches (bug#15161).
4048 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4050 * minibuffer.el: Revert change from 2013-08-20.
4052 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4053 with text property `tramp-default', if appropriate.
4054 (tramp-check-proper-host): New defun.
4055 (tramp-dissect-file-name): Do not check hostname. Revert change
4057 (tramp-backtrace): Make VEC-OR-PROC optional.
4059 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4060 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4061 * net/tramp-sh.el (tramp-maybe-open-connection):
4062 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4063 Apply `tramp-check-proper-host'.
4065 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4067 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4068 lambda expression in order to have `describe-variable' display it.
4070 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4072 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4073 BUF can be optional. (Bug#15186)
4075 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4077 * progmodes/flymake.el (flymake-get-real-file-name-function):
4078 Fix broken customization. (Bug#15184)
4080 2013-08-25 Alan Mackenzie <acm@muc.de>
4082 Improve indentation of bracelists defined by macros (without "=").
4084 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4085 expansion begins with "{", regard it as bracelist when it doesn't
4088 Parse C++ inher-intro when there's a template split over 2 lines.
4090 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4091 rigorously the search for "class" etc. followed by ":".
4093 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4094 random languages a regexp which never matches rather than nil.
4096 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4098 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4099 (c-awk-regexp-one-line-possibly-open-char-list-re)
4100 (c-awk-one-line-possibly-open-regexp-re)
4101 (c-awk-one-line-non-syn-ws*-re): Remove.
4102 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4103 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4104 (c-awk-space*-unclosed-regexp-/-re): New constants.
4105 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4106 aren't regexp delimiters.
4108 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4109 handling for a rare situation in AWK Mode involving unterminated
4112 2013-08-23 Glenn Morris <rgm@gnu.org>
4114 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4116 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4118 * files.el (create-file-buffer): If the result would begin with
4119 spaces, prepend a "|" instead of removing them. (Bug#15162)
4121 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4123 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4124 text-properties (bug#15155).
4126 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4128 (calc-keypad-redraw): Remove unused var `pad'.
4129 (calc-keypad-press): Remove unused var `menu'.
4131 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4133 * window.el (display-buffer-pop-up-frame):
4134 Call pop-up-frame-function with BUFFER current so `make-frame' will
4135 use it as the new frame's buffer (Bug#15133).
4137 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4139 * calendar/timeclock.el: Minor cleanups.
4140 (timeclock-ask-before-exiting, timeclock-use-display-time):
4142 (timeclock-modeline-display): Define as alias before the
4144 (timeclock-mode-line-display): Use define-minor-mode.
4145 (timeclock-day-list-template): Make it a function, add an argument.
4146 (timeclock-day-list-required, timeclock-day-list-length)
4147 (timeclock-day-list-debt, timeclock-day-list-span)
4148 (timeclock-day-list-break): Adjust calls accordingly.
4150 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4152 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4153 Use read--expression so that completion works again.
4155 2013-08-21 Sam Steingold <sds@gnu.org>
4157 Add rudimentary inferior shell interaction
4158 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4159 (sh-set-shell): Reset it.
4160 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4161 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4163 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4165 * align.el: Use lexical-binding.
4166 (align-region): Simplify accordingly.
4168 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4170 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4172 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4175 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4179 * net/tramp-cmds.el:
4181 * net/tramp-gvfs.el:
4183 * net/tramp-sh.el: Don't wrap external variable declarations by
4184 `eval-when-compile'.
4186 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4188 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4189 now that Emacs supports ImageMagick animations.
4191 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4193 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4194 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4196 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4198 * window.el (mouse-autoselect-window-select): Do autoselect when
4199 mouse pointer is on margin.
4201 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4203 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4205 2013-08-16 Glenn Morris <rgm@gnu.org>
4207 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4208 Handle "Remote Directory" response of some clients. (Bug#15058)
4210 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4211 Tweak warning. (Bug#14926)
4213 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4214 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4216 * image-mode.el (image-mode-map): Add menu items to reverse,
4217 increase, decrease, reset animation speed.
4218 (image--set-speed, image-increase-speed, image-decrease-speed)
4219 (image-reverse-speed, image-reset-speed): New functions.
4220 (image-mode-map): Add bindings for speed commands.
4222 * image.el (image-animate-get-speed, image-animate-set-speed):
4224 (image-animate-timeout): Respect image :speed property.
4226 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4228 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4229 previous line (bug#15101).
4230 (debugger-eval-expression, debugger-record-expression):
4231 Use read--expression (bug#15102).
4233 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4235 Remove byte compiler warnings, visible when compiling with
4236 `byte-compile-force-lexical-warnings' set to t.
4238 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4239 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4240 (tramp-handle-unhandled-file-name-directory)
4241 (tramp-handle-file-notify-add-watch, tramp-action-login)
4242 (tramp-action-succeed, tramp-action-permission-denied)
4243 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4246 * net/tramp-adb.el (tramp-adb-parse-device-names)
4247 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4248 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4249 (tramp-adb-handle-file-truename): Remove unused arguments.
4251 * net/tramp-cache.el (tramp-flush-directory-property)
4252 (tramp-flush-connection-property, tramp-list-connections)
4253 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4255 * net/tramp-compat.el (tramp-compat-make-temp-file):
4256 Rename FILENAME to F.
4258 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4259 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4260 (tramp-zeroconf-parse-workstation-device-names)
4261 (tramp-zeroconf-parse-webdav-device-names)
4262 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4264 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4265 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4267 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4269 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4270 (tramp-sh-handle-insert-file-contents-literally)
4271 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4273 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4274 Remove unused variables.
4276 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4277 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4278 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4280 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4281 Make them a defconst.
4282 (tramp-uuencode-region): Remove unused variable.
4284 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4286 * frameset.el (frameset--prop-setter): New function.
4287 (frameset-prop): Add gv-setter declaration.
4288 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4289 parameter was already set in FILTERED. Doc fix.
4290 (frameset--record-minibuffer-relationships): Allow saving a
4291 minibufferless frame without its corresponding minibuffer frame.
4292 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4293 frame, if the frame id matches.
4294 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4295 frames before orphaned ones.
4296 (frameset-restore): Warn about orphaned windows, instead of error out.
4298 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4300 * window.el (window-make-atom): Don't overwrite parameter
4302 (display-buffer-in-atom-window): Handle special case where we
4303 split an already atomic window.
4304 (window--major-non-side-window, display-buffer-in-side-window)
4305 (window--side-check): Ignore minibuffer window when walking
4307 (window-deletable-p): Return 'frame only if no other frame uses
4308 our minibuffer window.
4309 (record-window-buffer): Run buffer-list-update-hook.
4310 (split-window): Make sure window--check-frame won't destroy an
4311 existing atomic window in case the new window gets nested
4313 (display-buffer-at-bottom): Ignore minibuffer window when
4314 walking window tree. Don't split a side window.
4315 (pop-to-buffer): Don't set-buffer here, the select-window call
4317 (mouse-autoselect-window-select): Autoselect only if we are in the
4318 text portion of the window.
4320 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4322 * net/shr.el (shr-parse-image-data): New function to grab both the
4323 data itself and the Content-Type.
4324 (shr-put-image): Use it.
4326 * net/eww.el (eww-display-image): Ditto.
4328 * image.el (image-content-type-suffixes): New variable.
4330 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4332 * progmodes/python.el (python-imenu--build-tree)
4333 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4335 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4337 * simple.el (backward-word): Mention the optional argument.
4339 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4341 * frameset.el (frameset--make): Rename constructor from make-frameset.
4342 (frameset-p, frameset-valid-p): Don't autoload.
4343 (frameset-valid-p): Use normal accessors.
4345 2013-08-13 Glenn Morris <rgm@gnu.org>
4347 * progmodes/compile.el (compile-command): Tweak example in doc.
4348 * obsolete/scribe.el (scribe-mode):
4349 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4351 * mail/feedmail.el (feedmail-confirm-outgoing)
4352 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4354 * cus-start.el (truncate-partial-width-windows): Fix type.
4356 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4358 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4360 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4362 * emacs-lisp/timer.el (timer--time-setter): New function.
4363 (timer--time): Use it as gv-setter.
4365 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4366 setter is not a symbol.
4368 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4370 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4371 if sending fails. This makes debugging easier.
4373 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4375 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4376 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4377 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4379 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4381 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4383 2013-08-12 Glenn Morris <rgm@gnu.org>
4385 * format.el (format-annotate-function):
4386 Handle read-only text properties in the source. (Bug#14887)
4388 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4390 * net/eww.el (eww-display-html): Ignore coding system errors.
4391 One web site uses "utf-8lias" as the coding system.
4393 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4395 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4397 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4399 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4400 (tutorial--detailed-help): Remove unused local variables.
4401 (tutorial--save-tutorial-to): Use ignore-errors.
4402 (help-with-tutorial): Use looking-at-p.
4404 * view.el (view-buffer-other-window, view-buffer-other-frame):
4405 Mark unused arguments.
4407 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4408 (woman-select-symbol-fonts, woman, woman-find-file)
4409 (woman-insert-file-contents, woman-non-underline-faces):
4411 (woman1-unquote): Move declaration.
4413 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4414 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4415 argument. Remove unused local variable.
4416 (xml-parse-elem-type): Use string-match-p.
4417 (xml-substitute-numeric-entities): Use ignore-errors.
4419 * calculator.el (calculator): Mark unused argument.
4420 (calculator-paste, calculator-quit, calculator-integer-p):
4422 (calculator-string-to-number, calculator-decimal, calculator-exp)
4423 (calculator-op-or-exp): Use string-match-p.
4425 * dired.el (dired-buffer-more-recently-used-p): Declare.
4426 (dired-insert-set-properties, dired-insert-old-subdirs):
4429 * dired-aux.el (dired-compress): Use ignore-errors.
4430 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4431 (dired-do-async-shell-command, dired-do-shell-command)
4432 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4433 (dired-insert-subdir-validate): Use string-match-p.
4434 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4435 (dired-add-entry): Use string-match-p, looking-at-p.
4436 (dired-insert-subdir-newpos): Remove unused local variable.
4438 * filenotify.el (file-notify-callback): Remove unused local variable.
4440 * filesets.el (filesets-error): Mark unused argument.
4441 (filesets-which-command-p, filesets-filter-dir-names)
4442 (filesets-directory-files, filesets-get-external-viewer)
4443 (filesets-ingroup-get-data): Use string-match-p.
4445 * find-file.el (ff-other-file-name, ff-other-file-name)
4446 (ff-find-the-other-file, ff-cc-hh-converter):
4447 Remove unused local variables.
4448 (ff-get-file-name): Use string-match-p.
4449 (ff-all-dirs-under): Use ignore-errors.
4451 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4452 (follow-select-if-visible): Remove unused local variable.
4454 * forms.el (read-file-filter): Move declaration.
4455 (forms--make-format, forms--make-parser, forms-insert-record):
4456 Quote function with #'.
4457 (forms--update): Use string-match-p. Quote function with #'.
4459 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4460 (help-make-xrefs): Use looking-at-p.
4461 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4463 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4464 (ibuffer-confirm-operation-on): Use string-match-p.
4466 * msb.el (msb-item-handler, msb-dired-item-handler):
4467 Mark unused arguments.
4469 * ses.el (ses-decode-cell-symbol)
4470 (ses-kill-override): Remove unused local variable.
4471 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4472 (ses-load): Use ignore-errors, looking-at-p.
4473 (ses-jump-safe): Use ignore-errors.
4474 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4476 * tabify.el (untabify, tabify): Mark unused arguments.
4478 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4479 Mark unused argument.
4480 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4481 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4483 * emacs-lisp/timer.el (timer--time): Define setter with
4484 gv-define-setter to avoid deprecation warning.
4486 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4487 (*record-cmpl-statistics-p*): Remove (was commented out).
4488 (cmpl-statistics-block): Remove (body was commented out).
4489 All callers changed.
4490 (add-completions-from-buffer, load-completions-from-file):
4491 Remove unused variables.
4493 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4495 * filecache.el (file-cache-delete-file-list):
4496 Print message only when told so.
4497 (file-cache-files-matching): Use #' in mapconcat argument.
4499 * ffap.el (ffap-url-at-point): Fix reference to variable
4500 thing-at-point-default-mail-uri-scheme.
4502 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4504 * subr.el (define-error): New function.
4505 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4506 error-file-not-found and define with define-error.
4507 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4508 and define with define-error.
4509 * userlock.el (file-locked, file-supersession):
4510 * simple.el (mark-inactive):
4511 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4512 * progmodes/ada-mode.el (ada-mode-errors):
4513 * play/life.el (life-extinct):
4514 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4515 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4516 * nxml/rng-util.el (rng-error):
4517 * nxml/rng-uri.el (rng-uri-error):
4518 * nxml/rng-match.el (rng-compile-error):
4519 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4520 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4521 * nxml/nxml-rap.el (nxml-scan-error):
4522 * nxml/nxml-outln.el (nxml-outline-error):
4523 * net/soap-client.el (soap-error):
4524 * net/gnutls.el (gnutls-error):
4525 * net/ange-ftp.el (ftp-error):
4526 * mpc.el (mpc-proc-error):
4527 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4528 (json-number-format, json-string-escape, json-string-format)
4529 (json-key-format, json-object-format):
4530 * jka-compr.el (compression-error):
4531 * international/quail.el (quail-error):
4532 * international/kkc.el (kkc-error):
4533 * emacs-lisp/ert.el (ert-test-failed):
4534 * calc/calc.el (calc-error, inexact-result, math-overflow)
4536 * bookmark.el (bookmark-error-no-filename):
4537 * epg.el (epg-error): Define with define-error.
4539 * time.el (display-time-event-handler)
4540 (display-time-next-load-average): Don't call sit-for since it seems
4541 unnecessary (bug#15045).
4543 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4544 Use #' instead of ' to quote functions.
4545 (checkdoc-output-mode): Use setq-local.
4546 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4547 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4548 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4549 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4550 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4551 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4552 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4553 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4555 * ido.el (ido-completion-help): Fix up compiler warning.
4557 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4559 * frameset.el (frameset-p): Add autoload cookie.
4560 (frameset--jump-to-register): New function, based on code moved from
4562 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4564 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4565 (frameset-restore, frameset-save, frameset-session-filter-alist):
4566 Remove declarations.
4567 (register-alist): Doc fix.
4568 (frameset-to-register): Move to frameset.el.
4569 (jump-to-register, describe-register-1): Remove frameset-specific code.
4571 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4573 * allout-widgets.el (allout-widgets-pre-command-business)
4574 (allout-widgets-post-command-business)
4575 (allout-widgets-after-change-handler)
4576 (allout-decorate-item-and-context, allout-set-boundary-marker)
4577 (allout-body-modification-handler)
4578 (allout-graphics-modification-handler): Mark ignored arguments.
4579 (allout-widgets-post-command-business)
4580 (allout-widgets-exposure-change-processor)
4581 (allout-widgets-exposure-undo-processor)
4582 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4583 (allout-parse-item-at-point, allout-decorate-item-guides)
4584 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4585 * allout.el (epa-passphrase-callback-function): Declare.
4586 (allout-overlay-insert-in-front-handler)
4587 (allout-overlay-interior-modification-handler)
4588 (allout-isearch-end-handler, allout-chart-siblings)
4589 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4590 (allout-yank-processing, allout-process-exposed)
4591 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4592 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4593 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4594 (lisp-indent-defform): Mark ignored arguments.
4595 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4596 (calculate-lisp-indent): Remove unused variables.
4597 * international/characters.el (indian-2-column, arabic-2-column)
4598 (tibetan): Mark ignored arguments.
4599 (use-cjk-char-width-table): Mark ignored arguments.
4600 Remove unused variables.
4601 * international/fontset.el (build-default-fontset-data)
4602 (x-compose-font-name, create-fontset-from-fontset-spec):
4603 Mark ignored arguments.
4604 (fontset-plain-name): Remove unused variables.
4605 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4606 (keyboard-coding-system): Mark ignored arguments.
4607 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4608 * help.el (resize-temp-buffer-window):
4609 * window.el (display-buffer-in-major-side-window)
4610 (display-buffer-in-side-window, display-buffer-in-previous-window):
4611 Remove unused variables.
4612 * isearch.el (isearch-forward-symbol):
4613 * version.el (emacs-bzr-version-bzr):
4614 * international/mule-cmds.el (current-language-environment):
4615 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4617 * term/pc-win.el (x-list-fonts, x-display-planes)
4618 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4619 (x-server-version, x-display-screens, x-display-mm-height)
4620 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4621 (x-selection-owner-p, x-own-selection-internal)
4622 (x-disown-selection-internal, x-get-selection-internal)
4623 (msdos-initialize-window-system):
4624 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4625 * term/x-win.el (x-handle-no-bitmap-icon):
4626 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4627 (vc-default-find-file-hook, vc-default-extra-menu):
4628 Mark ignored arguments.
4630 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4632 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4633 break-condition in the context of the debugged code (bug#12685).
4635 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4638 Do not use an overlay to highlight the last prompt. (Bug#14744)
4639 (comint-mode): Make comint-last-prompt buffer local.
4640 (comint-last-prompt): New variable.
4641 (comint-last-prompt-overlay): Remove. Superseded by
4643 (comint-snapshot-last-prompt, comint-output-filter):
4644 Use comint-last-prompt.
4646 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4648 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4649 (frameset-save): Check validity of the resulting frameset.
4651 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4653 * ido.el (ido-record-command): Add doc string.
4655 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4657 * frameset.el (frameset): Do not disable creation of the default
4658 frameset-p predicate. Doc fix.
4659 (frameset-valid-p): New function, copied from the old predicate-p.
4660 Add additional checks.
4661 (frameset-restore): Check with frameset-valid-p.
4662 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4663 (frameset-name, frameset-description, frameset-properties)
4664 (frameset-states): Add docstring.
4665 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4666 (frameset-filter-alist): Doc fixes.
4668 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4670 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4672 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4674 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4675 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4676 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4677 (byte-compile-normal-call): Remove obsolescence check.
4679 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4681 * frameset.el (frameset-restore): Doc fix.
4683 * register.el (frameset-frame-id, frameset-frame-with-id)
4684 (frameset-p, frameset-restore, frameset-save): Declare.
4685 (register-alist): Document framesets.
4686 (frameset-session-filter-alist): Declare.
4687 (frameset-to-register): New function.
4688 (jump-to-register): Implement jumping to framesets. Doc fix.
4689 (describe-register-1): Describe framesets.
4691 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4693 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4695 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4696 Use lexical-binding.
4698 * frameset.el (frameset): Use type vector, not list (incompatible
4699 change). Do not declare a new constructor, use the default one.
4700 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4701 `name' and `description', respectively, and add read-only slot
4702 `timestamp'. Doc fixes.
4703 (frameset-copy, frameset-persistent-filter-alist)
4704 (frameset-filter-alist, frameset-switch-to-gui-p)
4705 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4706 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4707 (frameset-filter-iconified, frameset-keep-original-display-p):
4709 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4710 Rename from frameset-filter-(save|restore)-param. All callers changed.
4712 (frameset-p): Adapt to change to vector and be more thorough.
4713 Change arg name to OBJECT. Doc fix.
4714 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4715 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4716 All callers changed.
4717 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4718 All callers changed.
4719 (frameset--record-minibuffer-relationships): Rename from
4720 frameset--process-minibuffer-frames. All callers changed.
4721 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4722 Use new default constructor (again). Doc fix.
4723 (frameset--find-frame-if): Rename from `frameset--find-frame.
4724 All callers changed.
4725 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4726 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4728 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4729 PARAMETERS and WINDOW-STATE, respectively.
4730 (frameset-restore): Add new keyword argument PREDICATE.
4731 Reset frameset--target-display to nil. Doc fix.
4733 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4735 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4737 (bat-mode-syntax-table): Mark \n as end-of-comment.
4738 (bat-font-lock-keywords): Remove comment rule.
4740 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4741 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4743 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4744 (byte-compile-callargs-warn): Use `push'.
4745 (byte-compile-arglist-warn): Ignore higher-order "calls".
4746 (byte-compile-file-form-autoload): Use `pcase'.
4747 (byte-compile-function-form): If quoting a symbol, check that it exists.
4749 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4751 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4752 and add a few popular commands found in batch files.
4753 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4754 (dos-mode): Doc fixes.
4756 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4758 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4759 (dos-mode): Use setq-local. Add space after "rem".
4760 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4761 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4763 2013-08-07 Arni Magnusson <arnima@hafro.is>
4765 * progmodes/dos.el: New file.
4766 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4769 2013-08-06 Glenn Morris <rgm@gnu.org>
4771 * calendar/calendar.el: Add new faces, and day-header-array.
4772 (calendar-weekday-header, calendar-weekend-header)
4773 (calendar-month-header): New faces.
4774 (calendar-day-header-construct): New function.
4775 (calendar-day-header-width): Also :set calendar-day-header-array.
4776 (calendar-american-month-header, calendar-european-month-header)
4777 (calendar-iso-month-header): Use calendar- faces.
4778 (calendar-generate-month):
4779 Use calendar-day-header-array for day headers; apply faces to them.
4780 (calendar-mode): Check calendar-font-lock-keywords non-nil.
4781 (calendar-abbrev-construct): Add optional maxlen argument.
4782 (calendar-day-name-array): Doc fix.
4783 (calendar-day-name-array, calendar-abbrev-length)
4784 (calendar-day-abbrev-array):
4785 Also :set calendar-day-header-array, and maybe redraw.
4786 (calendar-day-header-array): New option. (Bug#15007)
4787 (calendar-font-lock-keywords): Set to nil and make obsolete.
4788 (calendar-day-name): Add option to use header array.
4790 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
4792 * net/shr.el (shr-render-td): Remove debugging.
4793 (shr-render-td): Make width computation consistent by defaulting
4794 all zero-width columns to 10 characters. This may not be optimal,
4795 but it's at least consistent.
4796 (shr-make-table-1): Redo last change to fix the real problem in
4799 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4801 * files.el (cache-long-line-scans):
4802 Make obsolete alias to `cache-long-scans'.
4804 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4806 * frameset.el (frameset, frameset-filter-alist)
4807 (frameset-filter-params, frameset-save, frameset--reuse-frame)
4808 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
4809 (frameset-compute-pos): Rename from frameset--compute-pos,
4811 (frameset-move-onscreen): Use frameset-compute-pos.
4812 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4814 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
4815 Fix typos in docstrings.
4817 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
4819 * frame.el (get-other-frame): Tiny cleanup.
4821 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
4823 * vc/vc.el (vc-default-ignore-completion-table):
4824 Silence byte-compiler warning.
4826 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
4827 slot , which can indeed be nil.
4828 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4829 Move entry for `left' from persistent to live filter alist.
4830 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
4832 (frameset-filter-params): When restoring a frame, copy items added to
4833 `filtered', to avoid unwittingly modifying the original parameters.
4834 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
4835 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
4837 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
4838 to use looking-at-p instead of looking-at. (Bug#15028)
4840 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
4842 Revert introduction of isearch-filter-predicates (bug#14714).
4843 Rely on add-function instead.
4844 * isearch.el (isearch-filter-predicates): Rename it back to
4845 isearch-filter-predicate.
4846 (isearch-message-prefix): Use advice-function-mapc and advice
4847 properties to get the isearch-message-prefix.
4848 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
4849 instead of run-hook-with-args-until-failure.
4850 (isearch-filter-visible): Not obsolete any more.
4851 * loadup.el: Preload nadvice.
4852 * replace.el (perform-replace): Revert to funcall
4853 instead of run-hook-with-args-until-failure.
4854 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
4855 * dired-aux.el (dired-isearch-filenames-mode): Rename from
4856 dired-isearch-filenames-toggle; make it into a proper minor mode.
4857 Use add/remove-function.
4858 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
4859 Call the minor-mode rather than add/remove-hook.
4860 (dired-isearch-filter-filenames):
4861 Remove isearch-message-prefix property.
4862 * info.el (Info--search-loop): New function, extracted from Info-search.
4863 Funcall isearch-filter-predicate instead of
4864 run-hook-with-args-until-failure isearch-filter-predicates.
4865 (Info-search): Use it.
4866 (Info-mode): Use isearch-filter-predicate instead of
4867 isearch-filter-predicates.
4869 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4871 Do not call to `selected-window' where it is assumed by default.
4872 Affected functions are `window-minibuffer-p', `window-dedicated-p',
4873 `window-hscroll', `window-width', `window-height', `window-buffer',
4874 `window-frame', `window-start', `window-point', `next-window'
4875 and `window-display-table'.
4876 * abbrev.el (abbrev--default-expand):
4877 * bs.el (bs--show-with-configuration):
4878 * buff-menu.el (Buffer-menu-mouse-select):
4879 * calc/calc.el (calc):
4880 * calendar/calendar.el (calendar-generate-window):
4881 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
4883 * comint.el (send-invisible, comint-dynamic-complete-filename)
4884 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
4885 * completion.el (complete):
4886 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
4887 * disp-table.el (describe-current-display-table):
4888 * doc-view.el (doc-view-insert-image):
4889 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
4890 * ehelp.el (with-electric-help):
4891 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4892 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
4893 * emacs-lisp/helper.el (Helper-help-scroller):
4894 * emulation/cua-base.el (cua--post-command-handler-1):
4895 * eshell/esh-mode.el (eshell-output-filter):
4896 * ffap.el (ffap-gnus-wrapper):
4897 * help-macro.el (make-help-screen):
4898 * hilit-chg.el (highlight-compare-buffers):
4899 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
4900 * hl-line.el (global-hl-line-highlight):
4901 * icomplete.el (icomplete-simple-completing-p):
4902 * isearch.el (isearch-done):
4903 * jit-lock.el (jit-lock-stealth-fontify):
4904 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
4905 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
4906 * mpc.el (mpc-tagbrowser, mpc):
4907 * net/rcirc.el (rcirc-any-buffer):
4908 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
4909 * play/landmark.el (landmark-max-width, landmark-max-height):
4910 * play/zone.el (zone):
4911 * progmodes/compile.el (compilation-goto-locus):
4912 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
4913 * progmodes/etags.el (find-tag-other-window):
4914 * progmodes/fortran.el (fortran-column-ruler):
4915 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
4916 * progmodes/verilog-mode.el (verilog-point-text):
4917 * reposition.el (reposition-window):
4918 * rot13.el (toggle-rot13-mode):
4919 * server.el (server-switch-buffer):
4920 * shell.el (shell-dynamic-complete-command)
4921 (shell-dynamic-complete-environment-variable):
4922 * simple.el (insert-buffer, set-selective-display)
4923 (delete-completion-window):
4924 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
4925 (speedbar-recenter):
4926 * startup.el (fancy-splash-head):
4927 * textmodes/ispell.el (ispell-command-loop):
4928 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
4929 * tutorial.el (help-with-tutorial):
4930 * vc/add-log.el (add-change-log-entry):
4931 * vc/compare-w.el (compare-windows):
4932 * vc/ediff-help.el (ediff-indent-help-message):
4933 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
4934 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
4935 (ediff-setup-control-frame):
4936 * vc/emerge.el (emerge-position-region):
4937 * vc/pcvs-util.el (cvs-bury-buffer):
4938 * window.el (walk-windows, mouse-autoselect-window-select):
4939 * winner.el (winner-set-conf, winner-undo): Related users changed.
4941 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4943 * frameset.el (frameset--set-id): Doc fix.
4944 (frameset-frame-id, frameset-frame-id-equal-p)
4945 (frameset-locate-frame-id): New functions.
4946 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4947 (frameset-restore): Use them.
4949 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4951 Do not call to `selected-frame' where it is assumed by default.
4952 Affected functions are `raise-frame', `redraw-frame',
4953 `frame-first-window', `frame-terminal' and `delete-frame'.
4954 * calendar/appt.el (appt-disp-window):
4955 * epg.el (epg-wait-for-completion):
4956 * follow.el (follow-delete-other-windows-and-split)
4957 (follow-avoid-tail-recenter):
4958 * international/mule.el (set-terminal-coding-system):
4959 * mail/rmail.el (rmail-mail-return):
4960 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4961 * progmodes/f90.el (f90-add-imenu-menu):
4962 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4963 * server.el (server-switch-buffer):
4964 * simple.el (delete-completion-window):
4966 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4967 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4968 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4969 * vc/ediff.el (ediff-documentation): Related users changed.
4970 * frame.el (selected-terminal): Remove the leftover.
4972 2013-08-05 Glenn Morris <rgm@gnu.org>
4974 * calendar/calendar.el (calendar-generate-month):
4975 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4976 (calendar-generate-month, calendar-font-lock-keywords):
4977 Fix for calendar-day-header-width > length of any day name.
4979 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4981 * desktop.el (desktop-clear): Use new name of sort predicate.
4983 * frameset.el (frameset): Add docstring. Move :version property to its
4985 (frameset-copy): Rename from copy-frameset.
4986 (frameset-p): Check more thoroughly.
4987 (frameset-prop): Do not check for :version, which is no longer a prop.
4988 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4989 Use new :never value instead of t.
4990 (frameset-filter-alist): Expand and clarify docstring.
4991 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4992 (frameset-filter-minibuffer, frameset-filter-save-param)
4993 (frameset-filter-restore-param, frameset-filter-iconified):
4994 Add pointer to docstring of frameset-filter-alist.
4995 (frameset-filter-params): Rename filter values to be more meaningful:
4996 :never instead of t, and reverse the meanings of :save and :restore.
4997 (frameset--process-minibuffer-frames): Clarify error message.
4998 (frameset-save): Avoid unnecessary and confusing call to framep.
4999 Use new BOA constructor for framesets.
5000 (frameset--reuse-list): Doc fix.
5001 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5002 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5003 (frameset-minibufferless-first-p): Doc fix.
5004 Rename from frameset-sort-frames-for-deletion.
5005 (frameset-restore): Doc fixes. Use new function names.
5006 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5008 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5010 * desktop.el (desktop-restore-forces-onscreen)
5011 (desktop-restore-reuses-frames): Document :keyword constant values.
5012 (desktop-filter-parameters-alist): Remove, now identical to
5013 frameset-filter-alist.
5014 (desktop--filter-tty*): Remove, moved to frameset.el.
5015 (desktop-save-frameset, desktop-restore-frameset):
5016 Do not pass :filters argument.
5018 * frameset.el (frameset-live-filter-alist)
5019 (frameset-persistent-filter-alist): New variables.
5020 (frameset-filter-alist): Use them. Add autoload cookie.
5021 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5022 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5023 `frameset--id' (it's supposed to be internal to frameset.el).
5024 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5025 (frameset--initial-params): New function.
5026 (frameset--get-frame): Use it. Doc fix.
5027 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5028 Accept :all, not 'all.
5029 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5030 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5031 with fbound symbols. Fix frame id matching, and remove matching ids if
5032 the frame being restored is deleted. Obey :delete.
5034 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5036 * subr.el (macrop): New function.
5037 (text-clone--maintaining): New var.
5038 (text-clone--maintain): Rename from text-clone-maintain. Use it
5039 instead of inhibit-modification-hooks.
5041 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5042 a proxy, so as handle autoloads and redefinitions of the target.
5043 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5045 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5046 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5047 (pcase--mutually-exclusive-p): New function.
5048 (pcase--split-consp): Use it.
5049 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5050 mutually exclusive with the current predicate.
5052 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5053 (edebug-macrop): Remove. Use `macrop' instead.
5054 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5056 * eshell/esh-cmd.el (eshell-macrop):
5057 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5059 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5061 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5062 (advice-mapc): New function, using it.
5063 (advice-function-member-p): New function.
5064 (advice--normalize): Store the cdr in advice--saved-rewrite since
5065 that's the part that will be changed.
5066 (advice--symbol-function): New function.
5067 (advice-remove): Handle removal before the function is defined.
5068 Adjust to new advice--saved-rewrite.
5069 (advice-member-p): Use advice-function-member-p and
5070 advice--symbol-function.
5072 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5074 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5075 (frameset-filter-minibuffer): Doc fix.
5076 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5077 (frameset--set-id, frameset--process-minibuffer-frames)
5078 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5079 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5081 * desktop.el (desktop-clear): Only delete frames when called
5082 interactively and desktop-restore-frames is non-nil. Doc fix.
5083 (desktop-read): Set desktop-saved-frameset to nil.
5085 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5087 * vc/vc.el (vc-ignore): Rewrite.
5088 (vc-default-ignore-completion-table):
5090 (vc--add-line, vc--remove-regexp): New functions.
5092 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5093 (vc-svn-ignore-completion-table): New function.
5095 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5096 (vc-hg-ignore-completion-table):
5097 (vc-hg-find-ignore-file): New functions.
5099 * vc/vc-git.el (vc-git-ignore): Rewrite.
5100 (vc-git-ignore-completion-table):
5101 (vc-git-find-ignore-file): New functions.
5103 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5105 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5106 (vc-bzr-ignore-completion-table):
5107 (vc-bzr-find-ignore-file): New functions.
5109 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5111 * frameset.el (frameset-prop): New function and setter.
5112 (frameset-save): Do not modify frame list passed by the caller.
5114 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5116 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5118 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5120 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5121 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5123 * custom.el (custom-initialize-default, custom-initialize-set)
5124 (custom-initialize-reset, custom-initialize-changed): Affect the
5125 toplevel-default-value (bug#6275, bug#14586).
5126 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5129 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5131 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5132 Add cl-def* expressions.
5134 * frameset.el (frameset-filter-params): Fix order of arguments.
5136 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5138 Move code related to saving frames to frameset.el.
5139 * desktop.el: Require frameset.
5140 (desktop-restore-frames): Doc fix.
5141 (desktop-restore-reuses-frames): Rename from
5142 desktop-restoring-reuses-frames.
5143 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5144 (desktop-clear): Clear frames too.
5145 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5146 (desktop--filter-tty*, desktop-save, desktop-read):
5147 Use frameset functions.
5148 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5149 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5150 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5151 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5152 (desktop--process-minibuffer-frames, desktop-save-frames)
5153 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5154 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5155 (desktop--sort-states, desktop-restoring-frames-p)
5156 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5157 (desktop-restoring-frameset-p, desktop-restore-frameset)
5158 (desktop--check-dont-save, desktop-save-frameset): New functions.
5159 (desktop--app-id): New constant.
5160 (desktop-first-buffer, desktop-buffer-ok-count)
5161 (desktop-buffer-fail-count): Move before first use.
5162 * frameset.el: New file.
5164 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5166 * files.el: Use lexical-binding.
5167 (dir-locals-read-from-file): Remove unused `err' variable.
5168 (hack-dir-local-variables--warned-coding): New var.
5169 (hack-dir-local-variables): Use it to avoid repeated warnings.
5170 (make-backup-file-name--default-function): New function.
5171 (make-backup-file-name-function): Use it as default.
5172 (buffer-stale--default-function): New function.
5173 (buffer-stale-function): Use it as default.
5174 (revert-buffer-insert-file-contents--default-function): New function.
5175 (revert-buffer-insert-file-contents-function): Use it as default.
5176 (insert-directory): Avoid add-to-list.
5178 * autorevert.el (auto-revert-handler): Simplify.
5179 Use buffer-stale--default-function.
5181 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5183 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5185 * whitespace.el (whitespace-ensure-local-variables): New function.
5186 (whitespace-cleanup-region): Call it.
5187 (whitespace-turn-on): Call it.
5189 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5191 Complete file name handlers.
5193 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5194 (tramp-handle-verify-visited-file-modtime)
5195 (tramp-handle-file-notify-rm-watch): New functions.
5196 (tramp-call-process): Do not bind `default-directory'.
5198 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5199 Order alphabetically.
5200 [access-file, add-name-to-file, dired-call-process]:
5201 [dired-compress-file, file-acl, file-notify-rm-watch]:
5202 [file-ownership-preserved-p, file-selinux-context]:
5203 [make-directory-internal, make-symbolic-link, set-file-acl]:
5204 [set-file-selinux-context, set-visited-file-modtime]:
5205 [verify-visited-file-modtime]: Add handler.
5206 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5208 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5209 [file-notify-add-watch, file-notify-rm-watch]:
5210 [set-file-times, set-visited-file-modtime]:
5211 [verify-visited-file-modtime]: Add handler.
5212 (with-tramp-gvfs-error-message)
5213 (tramp-gvfs-handle-set-visited-file-modtime)
5214 (tramp-gvfs-fuse-file-name): Remove.
5215 (tramp-gvfs-handle-file-notify-add-watch)
5216 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5217 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5219 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5220 Order alphabetically.
5221 [file-notify-rm-watch ]: Use default Tramp handler.
5222 [executable-find]: Remove private handler.
5223 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5224 `default-directory'.
5225 (tramp-sh-handle-executable-find)
5226 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5227 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5228 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5229 Do not use `format' in `tramp-message'.
5231 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5232 [file-notify-rm-watch, set-visited-file-modtime]:
5233 [verify-visited-file-modtime]: Add handler.
5234 (tramp-smb-call-winexe): Do not bind `default-directory'.
5236 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5238 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5240 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5242 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5244 (log-view-diff-changeset): Same.
5245 (log-view-diff-common): Call backend command `previous-revision'
5246 to find out the previous revision, in both cases. Swap the
5247 variables `to' and `fr', so that `fr' usually refers to the
5248 earlier revision (Bug#14989).
5250 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5252 * ibuf-ext.el (ibuffer-filter-by-filename):
5253 Make it work with dired buffers too.
5255 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5257 * emacs-lisp/re-builder.el (reb-color-display-p):
5258 * files.el (save-buffers-kill-terminal):
5259 * net/browse-url.el (browse-url):
5260 * server.el (server-save-buffers-kill-terminal):
5261 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5262 Prefer nil to selected-frame for the first arg of frame-parameter.
5264 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5266 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5268 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5270 * minibuffer.el (completion--twq-all): Try and preserve each
5271 completion's case choice (bug#14907).
5273 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5275 * net/network-stream.el (open-network-stream): Mention the new
5276 :nogreeting parameter.
5277 (network-stream-open-starttls): Use the :nogreeting parameter
5280 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5282 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5283 more natural than popping.
5285 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5286 (shr-urlify): Highlight under mouse.
5288 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5290 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5292 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5294 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5297 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5298 point-min==1. Fix search string. Fix parentheses missing.
5300 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5301 assume point-min==1. Fix search string. Fix parentheses missing.
5303 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5305 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5308 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5310 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5311 initial frame is minibuffer-less. (Bug#14841)
5313 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5315 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5318 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5319 (tramp-maybe-open-connection): Use it.
5321 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5323 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5324 minimal set of parameters passed when creating a frame, because
5325 the minibuffer status of a frame cannot be changed later.
5327 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5329 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5330 replace-regexp-in-string and inadvertent omissions in previous change.
5331 (todo-filter-items): Ensure only file names are comma-separated in
5332 name of filtered items buffer.
5334 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5336 * desktop.el: Optionally force offscreen frames back onscreen.
5337 (desktop-restoring-reuses-frames): New option.
5338 (desktop--compute-pos, desktop--move-onscreen): New functions.
5339 (desktop--make-frame): Use desktop--move-onscreen.
5341 2013-07-27 Alan Mackenzie <acm@muc.de>
5343 Fontify a Java generic method as a function.
5344 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5347 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5349 * calendar/todo-mode.el: Add command to rename todo files.
5350 (todo-rename-file): New command.
5351 (todo-key-bindings-t): Add key binding for it. Change the
5352 bindings of todo-filter-regexp-items(-multifile) to use `x'
5353 instead of `r', since the latter is better suited to the new
5356 2013-07-27 Alan Mackenzie <acm@muc.de>
5358 Make Java try-with-resources statement parse properly.
5359 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5360 (c-block-stmt-1-2-key): New language constants/variables.
5361 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5362 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5363 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5364 with c-block-stmt-1-2-key.
5366 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5368 * desktop.el (desktop--make-frame): Apply most frame parameters after
5369 creating the frame to force (partially or totally) offscreen frames to
5370 be restored as such.
5372 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5374 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5377 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5379 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5380 `base' arg of backtrace-frame.
5382 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5384 * simple.el (list-processes): Doc fix.
5386 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5388 * desktop.el (desktop--select-frame):
5389 Try harder to reuse existing frames.
5391 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5393 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5394 (edebug-eval): Use backtrace-eval.
5395 (edebug--display, edebug--recursive-edit): Don't let-bind the
5396 edebug-outer-* vars that keep track of variables we locally let-bind.
5397 (edebug-outside-excursion): Don't restore outside values of locally
5399 (edebug--display): Use user-error.
5400 (cl-lexical-debug, cl-debug-env): Remove.
5402 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5404 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5405 are restored to be sure that they are visible before deleting any
5408 2013-07-26 Matthias Meulien <orontee@gmail.com>
5410 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5411 vc-print-root-log. (Bug#14948)
5413 2013-07-26 Richard Stallman <rms@gnu.org>
5415 Add aliases for encrypting mail.
5416 * epa.el (epa-mail-aliases): New option.
5417 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5418 Bind inhibit-read-only so read-only text doesn't ruin everything.
5419 (epa-mail-default-recipients): New subroutine broken out.
5420 Handle epa-mail-aliases.
5422 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5424 Add support for lexical variables to the debugger's `e' command.
5425 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5426 vars, except for debugger-outer-match-data.
5427 (debugger-frame-number): Move check for "on a function call" from
5428 callers into it. Add `skip-base' argument.
5429 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5430 (debugger-env-macro): Only reset the state stored in non-variables,
5431 i.e. current-buffer and match-data.
5432 (debugger-eval-expression): Rewrite using backtrace-eval.
5433 * subr.el (internal--called-interactively-p--get-frame): Remove.
5434 (called-interactively-p):
5435 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5436 `base' arg of backtrace-frame instead.
5438 2013-07-26 Glenn Morris <rgm@gnu.org>
5440 * align.el (align-regexp): Doc fix. (Bug#14857)
5441 (align-region): Explicit error if subexpression missing/does not match.
5443 * simple.el (global-visual-line-mode):
5444 Do not duplicate the mode lighter. (Bug#14858)
5446 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5448 * window.el (display-buffer): In display-buffer bind
5449 split-window-keep-point to t, bug#14829.
5451 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5453 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5454 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5455 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5456 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5458 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5459 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5461 2013-07-25 Glenn Morris <rgm@gnu.org>
5463 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5465 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5467 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5468 parameter to modify-frame-parameters if the value has not changed;
5469 this is a workaround for bug#14949.
5470 (desktop--make-frame): On cl-delete-if call, check parameter name,
5473 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5475 * vc/vc.el (vc-ignore): New function.
5477 * vc/vc-svn.el (vc-svn-ignore): New function.
5479 * vc/vc-hg.el (vc-hg-ignore): New function.
5481 * vc/vc-git.el (vc-git-ignore): New function.
5483 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5484 (vc-dir-ignore): New function.
5486 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5487 (cvs-append-to-ignore): Move here from pcvs.el.
5489 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5491 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5493 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5495 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5496 (desktop-restore-frames): Warn when deleting an existing frame failed.
5498 2013-07-24 Glenn Morris <rgm@gnu.org>
5500 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5502 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5504 * filenotify.el (file-notify-supported-p):
5505 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5508 * autorevert.el (auto-revert-use-notify):
5509 (auto-revert-notify-add-watch):
5510 * net/tramp.el (tramp-file-name-for-operation):
5511 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5512 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5513 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5514 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5515 Remove `file-notify-supported-p' entry.
5517 2013-07-24 Glenn Morris <rgm@gnu.org>
5519 * printing.el: Replace all uses of deleted ps-windows-system,
5520 ps-lp-system, ps-flatten-list with lpr- versions.
5522 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5524 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5525 checked with memq (bug#14935).
5527 * files.el (revert-buffer-function): Use a non-nil default.
5528 (revert-buffer-preserve-modes): Declare var to
5529 provide access to the `preserve-modes' argument.
5530 (revert-buffer): Let-bind it.
5531 (revert-buffer--default): New function, extracted from revert-buffer.
5533 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5535 * lpr.el: Signal print errors more prominently.
5536 (print-region-function): Don't default to nil.
5537 (lpr-print-region): New function, extracted from print-region-1.
5538 Check lpr's return value and signal an error in case of problem.
5539 (print-region-1): Use it.
5540 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5542 (ps-printer-name): Default to nil.
5543 (ps-printer-name-option): Default to lpr-printer-switch.
5544 (ps-print-region-function): Don't default to nil.
5545 (ps-postscript-code-directory): Simplify default.
5546 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5547 (ps-string-list, ps-eval-switch, ps-flatten-list)
5548 (ps-flatten-list-1): Remove.
5549 (ps-multibyte-buffer): Avoid setq.
5550 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5551 (print-region-function, ps-print-region-function): Don't set them here.
5553 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5555 * ido.el (ido-fractionp):
5556 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5557 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5558 (ido-max-directory-size, ido-max-dir-file-cache)
5559 (ido-decorations): Doc fix.
5561 * ansi-color.el: Fix old URL.
5563 2013-07-23 Michael R. Mauger <michael@mauger.com>
5565 * progmodes/sql.el: Version 3.3
5566 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5567 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5568 (sql-interactive-remove-continuation-prompt): Rewrite, use
5569 functions above. Fix continuation prompt and complete output line
5571 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5572 redirected output buffer.
5573 (sql-mode): Restore deleted code (Bug#13591).
5575 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5577 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5579 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5581 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5583 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5584 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5585 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5587 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5589 * desktop.el (desktop-clear): Simplify; remove useless checks
5590 against invalid buffer names.
5591 (desktop-list*): Use cl-list*.
5592 (desktop-buffer-info, desktop-create-buffer): Simplify.
5594 2013-07-23 Leo Liu <sdl.web@gmail.com>
5596 * bookmark.el (bookmark-make-record): Restore NAME as a default
5599 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5601 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5602 extracted from autoload--insert-text.
5603 (autoload--insert-text): Remove.
5604 (autoload--print-cookie-text): New function, extracted from
5605 autoload--insert-cookie-text.
5606 (autoload--insert-cookie-text): Remove.
5607 (autoload-generate-file-autoloads): Adjust calls accordingly.
5609 * winner.el (winner-hook-installed-p): Remove.
5610 (winner-mode): Simplify accordingly.
5612 * subr.el (add-to-list): Fix compiler-macro when `append' is
5613 not constant. Don't use `cl-member' for the base case.
5615 * progmodes/subword.el: Fix boundary case (bug#13758).
5616 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5618 (subword-backward-regexp): Make it a constant.
5619 (subword-forward-internal): Don't treat a trailing capital as the
5620 beginning of a word.
5622 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5624 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5625 global value of tabulated-list-revert-hook (bug#14930).
5627 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5629 * desktop.el: Require 'cl-lib.
5630 (desktop-before-saving-frames-functions): New hook.
5631 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5632 for frames being saved. Rename from desktop--save-minibuffer-frames.
5633 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5634 Do not save frames with non-nil `desktop-dont-save' parameter.
5635 Filter out deleted frames.
5636 (desktop--find-frame): Use cl-find-if.
5637 (desktop--select-frame): Use cl-(first|second|third) to access values
5639 (desktop--make-frame): Use cl-delete-if.
5640 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5641 (desktop-restore-frames): Use cl-(first|second|third) to access values
5642 of desktop-mini. Look for visible frame at the end, not while
5645 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5646 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5647 Use string-match-p, looking-at-p (bug#14927).
5649 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5651 * desktop.el (desktop-saved-frame-states):
5652 Rename from desktop--saved-states; all users changed.
5653 (desktop-save-frames): Rename from desktop--save-frames.
5654 Do not save state to desktop file.
5655 (desktop-save): Save desktop-saved-frame-states to desktop file
5657 (desktop-restoring-frames-p): New function.
5658 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5659 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5660 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5662 * desktop.el: Correctly restore iconified frames.
5663 (desktop--filter-iconified-position): New function.
5664 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5666 2013-07-20 Glenn Morris <rgm@gnu.org>
5668 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5669 Let `message' do the formatting.
5670 (def-gdb-preempt-display-buffer): Add explicit format.
5672 * image-dired.el (image-dired-track-original-file):
5673 Use with-current-buffer.
5674 (image-dired-track-thumbnail): Use with-current-buffer.
5675 Avoid changing point of wrong window.
5677 * image-dired.el (image-dired-track-original-file):
5678 Avoid changing point of wrong window. (Bug#14909)
5680 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5682 * progmodes/gdb-mi.el (gdb-done-or-error):
5683 Guard against "%" in gdb output. (Bug#14127)
5685 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5687 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5690 * international/mule.el (coding-system-iso-2022-flags): Fix last
5693 2013-07-20 Kenichi Handa <handa@gnu.org>
5695 * international/mule.el (coding-system-iso-2022-flags):
5696 Add `8-bit-level-4'. (Bug#8522)
5698 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5700 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5703 * net/eww.el (eww-process-text-input): Allow inputting when the
5704 point is at the start of the line, as the properties aren't
5707 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5710 2013-07-19 Richard Stallman <rms@gnu.org>
5712 * epa.el (epa-popup-info-window): Doc fix.
5714 * subr.el (split-string): New arg TRIM.
5716 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5718 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5719 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5721 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5723 * filenotify.el (file-notify--library): Rename from
5724 `file-notify-support'. Do not autoload. Adapt all uses.
5725 (file-notify-supported-p): New defun.
5727 * autorevert.el (auto-revert-use-notify):
5728 Use `file-notify-supported-p' instead of `file-notify-support'.
5730 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5732 * net/tramp.el (tramp-file-name-for-operation):
5733 Add `file-notify-supported-p'.
5735 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5737 (tramp-sh-file-name-handler-alist): Add it as handler for
5738 `file-notify-supported-p '.
5740 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5741 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5742 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5743 Add `ignore' as handler for `file-notify-*' functions.
5745 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5747 * simple.el (line-move-partial, line-move): Don't start vscroll or
5748 scroll-up if the current line is not taller than the window.
5751 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5753 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5754 highlight question marks in the method names as strings.
5755 (ruby-block-beg-keywords): Inline.
5756 (ruby-font-lock-keyword-beg-re): Extract from
5757 `ruby-font-lock-keywords'.
5759 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5761 * frame.el (blink-cursor-blinks): New defcustom.
5762 (blink-cursor-blinks-done): New defvar.
5763 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5764 (blink-cursor-timer-function): Check if number of blinks has been
5766 (blink-cursor-suspend, blink-cursor-check): New defuns.
5768 2013-07-15 Glenn Morris <rgm@gnu.org>
5770 * edmacro.el (edmacro-format-keys): Fix previous change.
5772 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5774 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5775 The hack didn't work outside English locales anyway.
5777 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
5779 * simple.el (define-alternatives): Rename from alternatives-define,
5780 per RMS' suggestion.
5782 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
5784 * desktop.el (desktop-restore-frames): Change default to t.
5785 (desktop-restore-in-current-display): Now offer more options.
5786 (desktop-restoring-reuses-frames): New customization option.
5787 (desktop--saved-states): Doc fix.
5788 (desktop-filter-parameters-alist): New variable, renamed and expanded
5789 from desktop--excluded-frame-parameters.
5790 (desktop--target-display): New variable.
5791 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
5792 (desktop--filter-tty*, desktop--filter-*-color)
5793 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5794 (desktop--filter-save-desktop-parm)
5795 (desktop-restore-in-original-display-p): New functions.
5796 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
5797 (desktop--save-minibuffer-frames): New function, inspired by a similar
5798 function from Martin Rudalics.
5799 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
5800 (desktop--restore-in-this-display-p): Remove.
5801 (desktop--find-frame): Rename from desktop--find-frame-in-display
5802 and add predicate argument.
5803 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
5804 (desktop--reuse-list): New variable.
5805 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
5807 (desktop--restore-frames): Add support for "minibuffer-special" frames.
5809 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
5811 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
5813 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
5815 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5816 Highlight conversion methods on Kernel.
5818 2013-07-13 Alan Mackenzie <acm@muc.de>
5820 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
5821 and comment it out. This out-commenting enables certain C++
5822 declarations to be parsed correctly.
5824 2013-07-13 Eli Zaretskii <eliz@gnu.org>
5826 * international/mule.el (define-coding-system): Doc fix.
5828 * simple.el (default-font-height): Don't call font-info if the
5829 frame's default font didn't change since the frame was created.
5832 2013-07-13 Leo Liu <sdl.web@gmail.com>
5834 * ido.el (ido-read-file-name): Guard against non-symbol value.
5836 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5838 * progmodes/python.el (python-imenu--build-tree): Fix corner case
5841 2013-07-13 Leo Liu <sdl.web@gmail.com>
5843 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
5844 ido-set-matches call. (Bug#6852)
5846 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
5848 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
5849 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
5851 (ruby-font-lock-keywords): Distinguish calls to functions with
5852 module-like names from module references. Highlight character
5855 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
5857 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
5858 (gdb-send): Handle continued commands. (Bug#14847)
5860 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5862 * desktop.el (desktop--v2s): Remove unused local variable.
5863 (desktop-save-buffer): Make defvar-local; adjust docstring.
5864 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
5865 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
5867 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
5869 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
5871 2013-07-12 Eli Zaretskii <eliz@gnu.org>
5873 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
5876 2013-07-12 Glenn Morris <rgm@gnu.org>
5878 * doc-view.el: Require cl-lib at runtime too.
5879 (doc-view-remove-if): Remove.
5880 (doc-view-search-next-match, doc-view-search-previous-match):
5883 * edmacro.el: Require cl-lib at runtime too.
5884 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
5885 (edmacro-mismatch, edmacro-subseq): Remove.
5887 * shadowfile.el: Require cl-lib.
5888 (shadow-remove-if): Remove.
5889 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
5892 * wid-edit.el: Require cl-lib.
5893 (widget-choose): Use cl-remove-if.
5894 (widget-remove-if): Remove.
5896 * progmodes/ebrowse.el: Require cl-lib at runtime too.
5897 (ebrowse-delete-if-not): Remove.
5898 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
5899 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
5900 Use cl-delete-if-not.
5902 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
5904 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
5905 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
5907 2013-07-12 Leo Liu <sdl.web@gmail.com>
5909 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
5911 2013-07-11 Glenn Morris <rgm@gnu.org>
5913 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
5914 (edebug-gensym-index, edebug-gensym):
5915 Remove reimplementation of cl-gensym.
5916 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
5918 * thumbs.el: Require cl-lib at run-time too.
5919 (thumbs-gensym-counter, thumbs-gensym):
5920 Remove reimplementation of cl-gensym.
5921 (thumbs-temp-file): Use cl-gensym.
5923 * emacs-lisp/ert.el: Require cl-lib at runtime too.
5924 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
5925 (ert--intersection, ert--set-difference, ert--set-difference-eq)
5926 (ert--union, ert--gensym-counter, ert--gensym-counter)
5927 (ert--coerce-to-vector, ert--remove*, ert--string-position)
5928 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
5929 (ert-make-test-unbound, ert--expand-should-1)
5930 (ert--expand-should, ert--should-error-handle-error)
5931 (should-error, ert--explain-equal-rec)
5932 (ert--plist-difference-explanation, ert-select-tests)
5933 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
5934 Use cl-lib functions rather than reimplementations.
5936 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
5938 * net/tramp.el (tramp-methods): Extend docstring.
5939 (tramp-connection-timeout): New defcustom.
5940 (tramp-error-with-buffer): Reset timestamp only when appropriate.
5941 (with-tramp-progress-reporter): Simplify.
5942 (tramp-process-actions): Improve messages.
5944 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5945 * net/tramp-sh.el (tramp-maybe-open-connection):
5946 Use `tramp-connection-timeout'.
5947 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5950 2013-07-11 Leo Liu <sdl.web@gmail.com>
5952 * ido.el (ido-read-file-name): Conform to the requirements of
5953 read-file-name. (Bug#11861)
5954 (ido-read-directory-name): Conform to the requirements of
5955 read-directory-name.
5957 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5959 * subr.el (delay-warning): New function.
5961 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5963 * simple.el (default-line-height): New function.
5964 (line-move-partial, line-move): Use it instead of computing the
5966 (line-move-partial): Always compute ROWH. If the last line is
5967 partially-visible, but its text is completely visible, allow
5968 cursor to enter such a partially-visible line.
5970 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5972 Improve error messages. (Bug#14808)
5974 * net/tramp.el (tramp-current-connection): New defvar, moved from
5976 (tramp-message-show-progress-reporter-message): Remove, not
5978 (tramp-error-with-buffer): Show message in minibuffer.
5979 Discard input before waiting. Reset connection timestamp.
5980 (with-tramp-progress-reporter): Improve messages.
5981 (tramp-process-actions): Use progress reporter. Delete process in
5982 case of error. Improve messages.
5984 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5985 Call `tramp-error-with-buffer' with vector and buffer.
5986 (tramp-current-connection): Remove.
5987 (tramp-maybe-open-connection): The car of
5988 `tramp-current-connection' are the first 3 slots of the vector.
5990 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5992 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5993 inside continued strings.
5995 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5997 Timestamp fixes for undo (Bug#14824).
5998 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6000 2013-07-10 Leo Liu <sdl.web@gmail.com>
6002 * files.el (require-final-newline): Allow safe local value.
6005 2013-07-09 Leo Liu <sdl.web@gmail.com>
6007 * ido.el (ido-read-directory-name): Handle fallback.
6008 (ido-read-file-name): Update DIR to ido-current-directory.
6010 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6012 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6014 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6015 "autoload". Remove "warn lower camel case" section, previously
6016 commented out. Highlight negation char. Do not highlight the
6017 target in singleton method definitions.
6019 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6021 * faces.el (tty-setup-hook): Declare the hook.
6023 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6024 and detect when a guard/pred depends on local vars (bug#14773).
6025 (pcase--u1): Adjust caller.
6027 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6029 * simple.el (line-move-partial, line-move): Account for
6031 (line-move-partial): Avoid setting vscroll when the last
6032 partially-visible line in window is of default height.
6034 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6036 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6039 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6041 * subr.el (read-quoted-char): Remove unused local variable `char'.
6043 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6045 * ediff.el (ediff-version): Version update.
6046 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6047 (ediff-merge-with-ancestor-command, ediff-directories-command)
6048 (ediff-directories3-command, ediff-merge-directories-command)
6049 (ediff-merge-directories-with-ancestor-command): New functions.
6050 All are command-line interfaces to ediff: to facilitate calling
6051 Emacs with the appropriate ediff functions invoked.
6053 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6054 (viper-save-kill-buffer): Check if buffer is modified.
6056 * viper.el (viper-version): Version update.
6057 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6059 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6061 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6062 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6063 (viper-intercept-ESC-key): Simplify.
6064 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6065 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6066 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6067 (viper-setup-ESC-to-escape): New functions.
6068 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6069 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6071 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6073 * simple.el (default-font-height, window-screen-lines):
6075 (line-move, line-move-partial): Use them instead of
6076 frame-char-height and window-text-height. This makes scrolling
6077 text smoother when the buffer's default face uses a font that is
6078 different from the frame's default font.
6080 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6082 * files.el (write-file): Do not display confirm dialog for NS,
6083 it does its own dialog, which can't be cancelled (Bug#14578).
6085 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6087 * simple.el (line-move-partial): Adjust the row returned by
6088 posn-at-point for the current window-vscroll. (Bug#14567)
6090 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6092 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6093 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6096 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6098 * window.el (window-state-put-stale-windows): New variable.
6099 (window--state-put-2): Save list of windows without matching buffer.
6100 (window-state-put): Remove "bufferless" windows if possible.
6102 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6104 * simple.el (alternatives-define): Remove leftover :group keyword.
6107 2013-07-06 Leo Liu <sdl.web@gmail.com>
6109 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6110 (ido-enable-virtual-buffers): New variable.
6111 (ido-buffer-internal, ido-toggle-virtual-buffers)
6112 (ido-make-buffer-list): Use it.
6113 (ido-exhibit): Support turning on and off virtual buffers
6116 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6118 * simple.el (alternatives-define): New macro.
6120 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6122 * subr.el (read-quoted-char): Use read-key.
6123 (sit-for): Let read-event decode tty input (bug#14782).
6125 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6127 * calendar/todo-mode.el: Add handling of file deletion, both by
6128 mode command and externally. Fix various related bugs.
6129 Clarify Commentary and improve some documentation strings and code.
6130 (todo-delete-file): New command.
6131 (todo-check-file): New function.
6132 (todo-show): Handle external deletion of the file we're trying to
6133 show (bug#14688). Replace called-interactively-p by an optional
6134 prefix argument to avoid problematic interaction with catch form
6135 when byte compiled (bug#14702).
6136 (todo-quit): Handle external deletion of the archive's todo file.
6137 Make sure the buffer that was visiting the archive file is still
6138 live before trying to bury it.
6139 (todo-category-completions): Handle external deletion of any
6140 category completion files.
6141 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6142 of todo files, in case of external deletion.
6143 (todo-add-file): Replace unnecessary setq by let-binding.
6144 (todo-find-archive): Check whether there are any archives.
6145 Replace unnecessary setq by let-binding.
6146 (todo-archive-done-item): Use find-file-noselect to get the
6147 archive buffer whether or not the archive already exists.
6148 Remove superfluous code. Use file size instead of buffer-file-name to
6149 check if the archive is new; if it is, update list of archives.
6150 (todo-default-todo-file): Allow nil to be a valid value for when
6151 there are no todo files.
6152 (todo-reevaluate-default-file-defcustom): Use corrected definition
6153 of todo-default-todo-file.
6154 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6155 (todo-delete-category, todo-show-categories-table)
6156 (todo-category-number): Clarify comment.
6157 (todo-filter-items): Clarify documentation string.
6158 (todo-show-current-file, todo-display-as-todo-file)
6159 (todo-reset-and-enable-done-separator): Tweak documentation string.
6160 (todo-done-separator): Make separator length window-width, since
6161 bug#2749 is now fixed.
6163 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6165 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6166 Support both "gvfs-monitor-dir" and "inotifywait".
6167 (tramp-sh-file-inotifywait-process-filter): Rename from
6168 `tramp-sh-file-notify-process-filter'.
6169 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6170 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6172 2013-07-05 Leo Liu <sdl.web@gmail.com>
6174 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6176 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6178 * frame.el (display-pixel-height, display-pixel-width)
6179 (display-mm-height, display-mm-width): Mention behavior on
6180 multi-monitor setups in docstrings.
6181 (w32-display-monitor-attributes-list): Declare function.
6182 (display-monitor-attributes-list): Use it.
6184 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6186 * filenotify.el: New package.
6188 * autorevert.el (top): Require filenotify.el.
6189 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6191 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6192 (auto-revert-notify-handler): Use `file-notify-*' functions.
6194 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6196 * net/tramp.el (tramp-file-name-for-operation):
6197 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6199 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6200 for `file-notify-add-watch' and `file-notify-rm-watch'.
6201 (tramp-process-sentinel): Improve trace.
6202 (tramp-sh-handle-file-notify-add-watch)
6203 (tramp-sh-file-notify-process-filter)
6204 (tramp-sh-handle-file-notify-rm-watch)
6205 (tramp-get-remote-inotifywait): New defuns.
6207 2013-07-03 Juri Linkov <juri@jurta.org>
6209 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6210 call of `occur-read-primary-args' to interactive spec.
6212 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6213 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6215 2013-07-03 Matthias Meulien <orontee@gmail.com>
6217 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6218 `Buffer-menu-multi-occur'. Add it to the menu.
6219 (Buffer-menu-mode): Document it in docstring.
6220 (Buffer-menu-multi-occur): New command. (Bug#14673)
6222 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6224 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6225 keywords and built-ins.
6227 2013-07-03 Glenn Morris <rgm@gnu.org>
6229 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6231 Make info-xref checks case-sensitive by default
6232 * info.el (Info-find-node, Info-find-in-tag-table)
6233 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6234 Add option for exact case matching of nodes.
6235 * info-xref.el (info-xref): New custom group.
6236 (info-xref-case-fold): New option.
6237 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6239 2013-07-03 Leo Liu <sdl.web@gmail.com>
6241 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6243 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6245 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6246 middle of block statement initially, lower the depth. Remove
6247 FIXME comment, not longer valid. Remove middle of block statement
6248 detection, no need to do that anymore since we've been using
6249 `ruby-parse-region' here.
6251 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6253 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6255 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6257 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6259 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6261 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6262 (desktop-restore-in-current-display): New customization option.
6263 (desktop--excluded-frame-parameters): Add `font'.
6264 (desktop--save-frames): Rename from desktop--save-windows.
6265 (desktop--restore-in-this-display-p): New function.
6266 (desktop--make-full-frame): Remove unwanted width/height from
6267 full(width|height) frames.
6268 (desktop--restore-frames): Rename from desktop--restore-windows.
6269 Obey desktop-restore-current-display. Do not delete old frames or
6270 select a new frame unless we were able to restore at least one frame.
6272 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6274 * files.el (find-file-noselect): Simplify conditional expression.
6276 * remember.el (remember-append-to-file):
6277 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6279 Add `remember-notes' function to store random notes across Emacs
6281 * remember.el (remember-data-file): Add :set callback to affect
6282 notes buffer (if any).
6283 (remember-notes): New command.
6284 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6285 New defcustoms for the `remember-notes' function.
6286 (remember-notes-save-and-bury-buffer): New command.
6287 (remember-notes-mode-map): New variable.
6288 (remember-mode): New minor mode.
6289 (remember-notes--kill-buffer-query): New function.
6290 * startup.el (initial-buffer-choice): Add notes to custom type.
6292 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6294 * bindings.el (right-char, left-char): Don't call sit-for, this is
6295 no longer needed. Use arithmetic comparison only for numerical
6298 * international/mule-cmds.el (select-safe-coding-system):
6299 Handle the case of FROM being a string correctly. (Bug#14755)
6301 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6303 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6304 progression on degenerate tables.
6305 (shr-rescale-image): ImageMagick animated images currently don't work.
6307 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6309 Some fixes and improvements for desktop frame restoration.
6310 It is still experimental and disabled by default.
6311 * desktop.el (desktop--save-windows): Put the selected frame at
6312 the head of the list.
6313 (desktop--make-full-frame): New function.
6314 (desktop--restore-windows): Try to re-select the frame that was
6315 selected upon saving. Do not abort if some frames fail to restore,
6316 just show an error message and continue. Set up maximized frames
6317 so they have default non-maximized dimensions.
6319 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6321 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6322 Don't start heredoc inside a string or comment.
6324 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6326 * bindings.el (visual-order-cursor-movement): New defcustom.
6327 (right-char, left-char): Provide visual-order cursor motion by
6328 calling move-point-visually. Update the doc strings.
6330 2013-06-28 Kenichi Handa <handa@gnu.org>
6332 * international/mule.el (define-coding-system): New coding system
6333 properties :inhibit-null-byte-detection,
6334 :inhibit-iso-escape-detection, and :prefer-utf-8.
6335 (set-buffer-file-coding-system): If :charset-list property of
6336 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6337 appropriate for setting.
6339 * international/mule-cmds.el (select-safe-coding-system):
6340 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6341 multibyte characters, return utf-8 (or one of its siblings).
6343 * international/mule-conf.el (prefer-utf-8): New coding system.
6344 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6347 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6349 * net/shr.el (shr-render-region): New function.
6351 * net/eww.el: Autoload `eww-browse-url'.
6353 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6355 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6356 Adapt to `package-desc-version' being a list.
6357 Use `package--ac-desc-version' to retrieve version from a package
6360 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6362 New experimental feature to save&restore window and frame setup.
6363 * desktop.el (desktop-save-windows): New defcustom.
6364 (desktop--saved-states): New var.
6365 (desktop--excluded-frame-parameters): New defconst.
6366 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6367 (desktop--restore-windows, desktop--save-windows): New functions.
6368 (desktop-save): Call `desktop--save-windows'.
6369 (desktop-read): Call `desktop--restore-windows'.
6371 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6373 * net/shr.el (add-face-text-property): Remove compat definition.
6375 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6377 * info.el (Info-try-follow-nearest-node): Move search for footnote
6378 above search for node name to prevent missing a footnote (bug#14717).
6380 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6382 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6384 2013-06-27 Leo Liu <sdl.web@gmail.com>
6386 * net/eww.el (eww-read-bookmarks): Check file size.
6388 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6390 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6391 advice--pending if newdef is nil or an autoload (bug#13820).
6392 (advice-mapc): New function.
6394 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6396 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6398 (eww-mode-map): Add a menu bar.
6399 (eww-add-bookmark): New command.
6400 (eww-bookmark-mode): New mode and commands.
6401 (eww-add-bookmark): Remove newlines from the title.
6402 (eww-bookmark-browse): Don't bug out if it's the only window.
6404 2013-06-26 Glenn Morris <rgm@gnu.org>
6406 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6407 (hfy-size): Handle ttys. (Bug#14668)
6409 * info-xref.el: Update for Texinfo 5 change in *note format.
6410 (info-xref-node-re, info-xref-note-re): New constants.
6411 (info-xref-check-buffer): Use info-xref-note-re.
6413 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6415 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6417 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6418 nil terminate the loop (bug#14718).
6420 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6422 * net/eww.el: Rework history traversal. When going forward/back,
6423 put these actions into the history, too, so that they can be
6425 (eww-render): Move the history reset to the correct buffer.
6427 2013-06-25 Juri Linkov <juri@jurta.org>
6429 * files-x.el (modify-dir-local-variable): Change the header comment
6430 in the file with directory local variables. (Bug#14692)
6432 * files-x.el (read-file-local-variable-value): Add `default'.
6435 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6437 * net/eww.el (eww-make-unique-file-name): Create a unique file
6438 name before saving to entering `y' accidentally asynchronously.
6440 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6442 * net/eww.el (eww-download): New command and keystroke.
6444 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6446 * net/eww.el (eww-copy-page-url): Change name of command.
6448 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6449 be more consistent with Info and dired.
6451 * net/eww.el (eww-mode-map): Ditto.
6453 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6455 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6456 packages from archives.
6457 (package-archive-contents): Change format; include obsolete packages.
6458 (package-desc): Use `dir' to mark builtin packages.
6459 (package--from-builtin): Set the `dir' field to `builtin'.
6460 (generated-autoload-file, version-control): Declare.
6461 (package-compute-transaction): Change first arg and return value to be
6462 lists of package-descs. Adjust to new package-archive-contents format.
6463 (package--add-to-archive-contents): Adjust to new
6464 package-archive-contents format.
6465 (package-download-transaction): Arg is now a list of package-descs.
6466 (package-install): If `pkg' is a package name, pass it as
6467 a requirement, so it is subject to the usual (e.g. disabled) checks.
6468 (describe-package): Accept package-desc as well.
6469 (describe-package-1): Describe a specific package-desc. Add links to
6470 other package-descs for the same package name.
6471 (package-menu-describe-package): Pass the actual package-desc.
6472 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6474 (package-desc-status): New function.
6475 (package-menu--refresh): New function, extracted
6476 from package-menu--generate.
6477 (package-menu--generate): Use it.
6478 (package-delete): Update package-alist.
6479 (package-menu-execute): Don't call package-initialize.
6481 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6482 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6483 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6484 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6485 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6486 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6488 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6490 * window.el (window--state-get-1): Workaround for bug#14527.
6491 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6493 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6495 * net/eww.el (eww-back-url): Implement the history by stashing all
6496 the data into a list.
6497 (eww-forward-url): Allow going forward in the history, too.
6499 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6501 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6502 for values and use read--expression for expressions (bug#14710).
6503 (read-file-local-variable): Avoid setq.
6504 (read-file-local-variable-mode): Use minor-mode-list.
6506 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6508 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6511 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6513 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6514 Update imenu-support when dialect changes.
6516 2013-06-25 Leo Liu <sdl.web@gmail.com>
6518 * ido.el (ido-read-internal): Allow forward slash on windows.
6520 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6522 * net/eww.el (eww): Start of strings is \\`, not ^.
6524 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6526 * net/shr.el (shr-browse-url): Fix interactive spec.
6528 * net/eww.el (eww): Add a trailing slash to domain names.
6530 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6532 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6534 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6536 * net/shr.el (shr-browse-url): Use an external browser if given a
6539 * net/eww.el (eww-external-browser): Move to shr.
6541 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6543 * net/eww.el (eww): Work more correctly for file: URLs.
6544 (eww-detect-charset): Allow quoted charsets.
6545 (eww-yank-page-url): New command and keystroke.
6547 2013-06-24 Daiki Ueno <ueno@gnu.org>
6549 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6550 file name of gpg executable.
6551 (epg-context-program): New function.
6552 (epg-context-home-directory): New function.
6553 (epg-context-set-program): New function.
6554 (epg-context-set-home-directory): New function.
6555 (epg--start): Use `epg-context-program' instead of
6557 (epg--list-keys-1): Likewise.
6559 2013-06-24 Leo Liu <sdl.web@gmail.com>
6561 * ido.el (ido-read-internal): Fix bug#14620.
6563 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6565 * faces.el (face-documentation): Simplify.
6566 (read-face-attribute, tty-find-type, x-resolve-font-name):
6567 Use `string-match-p'.
6568 (list-faces-display): Use `string-match-p'. Simplify.
6569 (face-spec-recalc): Check face to avoid face alias loops.
6570 (read-color): Use `string-match-p' and non-capturing parenthesis.
6572 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6574 * net/shr.el (shr-rescale-image): Use the new
6575 :max-width/:max-height functionality.
6577 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6579 * net/eww.el (eww-search-prefix): New variable.
6581 (eww-external-browser): New variable.
6582 (eww-mode-map): New keystroke.
6583 (eww-browse-with-external-browser): New command.
6585 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6587 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6589 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6590 Don't skip aligning the next header field when padding is 0;
6591 otherwise, field width is not respected unless the title is as
6594 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6596 * emacs-lisp/package.el (package-el-version): Remove.
6597 (package-process-define-package): Fix inf-loop.
6598 (package-install): Allow symbols as arguments again.
6600 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6602 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6603 add some more keyword-like methods.
6604 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6606 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6608 * bs.el (bs-buffer-show-mark): Make defvar-local.
6609 (bs-mode): Use setq-local.
6611 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6612 (emacs-lock--try-unlocking): Make defvar-local.
6614 2013-06-22 Glenn Morris <rgm@gnu.org>
6616 * play/cookie1.el (cookie-apropos): Minor simplification.
6618 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6620 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6622 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6623 `regexp-opt', it breaks the build during dumping.
6625 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6627 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6628 Highlight keyword-like methods on Kernel and Module with
6629 font-lock-builtin-face.
6630 (auto-mode-alist): Consolidate different entries into one regexp
6631 and add more *file-s.
6633 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6635 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6637 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6638 (diary-entry): Use it in the action of this button type instead of
6641 * calendar/todo-mode.el: New version.
6642 (todo-add-category): Append new category to end of file and give
6643 it the highest number, instead of putting it at the beginning and
6644 giving it 0. Incorporate noninteractive functionality.
6645 (todo-forward-category): Adapt to 1-based category numbering.
6646 Allow skipping over archived categories.
6647 (todo-backward-category): Derive from todo-forward-category.
6648 (todo-backward-item, todo-forward-item): Make noninteractive and
6649 delegate interactive part to new commands. Make sensitive to done items.
6650 (todo-categories): Make value an alist of category names and
6651 vectors of item counts.
6652 (todo-category-beg): Make a defconst.
6653 (todo-category-number): Use 1 instead of 0 as initial value.
6654 (todo-category-select): Make sensitive to overlays, optional item
6655 highlighting and done items.
6656 (todo-delete-item): Make sensitive to overlays and marked and done items.
6657 (todo-edit-item): Make sensitive to overlays and editing of
6658 date/time header optional. Add format checks.
6659 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6660 no-op if point is not on an item. Advertise using todo-edit-quit.
6661 (todo-edit-mode): Make sensitive to new format, font-locking, and
6662 multiple todo files.
6663 (todo-insert-item, todo-insert-item-here): Derive from
6664 todo-basic-insert-item and extend functionality.
6665 (todo-item-end, todo-item-start): Make sensitive to done items.
6666 (todo-item-string): Don't return text properties. Restore point.
6667 (todo-jump-to-category): Make sensitive to multiple todo files and
6668 todo archives. Use extended category completion.
6669 (todo-lower-item, todo-raise-item): Rename to *-priority and
6670 derive from todo-set-item-priority.
6671 (todo-mode): Derive from special-mode. Make sensitive to new
6672 format, font-locking and multiple todo files. Make read-only.
6673 (todo-mode-map): Don't suppress digit keys, so they can supply
6674 prefix arguments. Add many new key bindings.
6675 (todo-prefix): Insert as an overlay instead of file text.
6676 Change semantics from diary date expression to purely visual mark.
6677 (todo-print): Rename to todo-print-buffer. Make buffer display
6678 features printable. Remove option to restrict number of items
6679 printed. Add option to print to file.
6680 (todo-print-function): Rename to todo-print-buffer-function.
6681 (todo-quit): Extend to handle exiting new todo modes.
6682 (todo-remove-item): Make sensitive to overlays.
6683 (todo-save): Extend to buffers of filtered items.
6684 (todo-show): Make sensitive to done items, multiple todo files and
6685 new todo modes. Offer to convert legacy todo file before creating
6686 first new todo file.
6687 (todo-show-priorities): Rename to todo-top-priorities.
6688 Change semantics of value 0.
6689 (todo-top-priorities): Rename to todo-filter-top-priorities,
6690 derive from todo-filter-items and extend functionality.
6691 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6692 and extend functionality to other types of filtered items.
6693 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6694 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6695 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6696 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6697 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6698 (todo-edit-mode-hook, todo-entry-prefix-function)
6699 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6700 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6701 (todo-initials, todo-insert-threshold, todo-item-string-start)
6702 (todo-line-string, todo-menu, todo-mode-hook)
6703 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6704 (todo-print-priorities, todo-remove-separator)
6705 (todo-save-top-priorities-too, todo-string-count-lines)
6706 (todo-string-multiline-p, todo-time-string-format)
6707 (todo-tmp-buffer-name): Remove.
6708 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6709 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6710 (todo-edit-category-diary-inclusion)
6711 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6712 (todo-edit-file, todo-edit-item-date-day)
6713 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6714 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6715 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6716 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6717 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6718 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6719 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6720 (todo-filter-top-priorities-multifile, todo-find-archive)
6721 (todo-find-filtered-items-file, todo-go-to-source-item)
6722 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6723 (todo-jump-to-archive-category, todo-lower-category)
6724 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6725 (todo-move-category, todo-move-item, todo-next-button)
6726 (todo-next-item, todo-padded-string, todo-powerset)
6727 (todo-previous-button, todo-previous-item)
6728 (todo-print-buffer-to-file, todo-raise-category)
6729 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6730 (todo-set-category-number, todo-set-item-priority)
6731 (todo-set-top-priorities-in-category)
6732 (todo-set-top-priorities-in-file, todo-show-categories-table)
6733 (todo-sort-categories-alphabetically-or-numerically)
6734 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6735 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6736 (todo-toggle-item-header, todo-toggle-item-highlighting)
6737 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6738 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6739 (todo-unarchive-items, todo-unmark-category): New commands.
6740 (todo-absolute-file-name, todo-add-to-buffer-list)
6741 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6742 (todo-basic-insert-item, todo-category-completions)
6743 (todo-category-number, todo-category-string-matcher-1)
6744 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6745 (todo-check-format, todo-clear-matches)
6746 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6747 (todo-current-category, todo-date-string-matcher)
6748 (todo-define-insertion-command, todo-diary-expired-matcher)
6749 (todo-diary-goto-entry, todo-diary-item-p)
6750 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6751 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6752 (todo-done-item-section-p, todo-done-separator)
6753 (todo-done-string-matcher, todo-files, todo-filter-items)
6754 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6755 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6756 (todo-insert-category-line, todo-insert-item-from-calendar)
6757 (todo-insert-sort-button, todo-insert-with-overlays)
6758 (todo-insertion-command-name, todo-insertion-key-bindings)
6759 (todo-label-to-key, todo-longest-category-name-length)
6760 (todo-make-categories-list, todo-mode-external-set)
6761 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6762 (todo-modes-set-3, todo-multiple-filter-files)
6763 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6764 (todo-read-category, todo-read-date, todo-read-dayname)
6765 (todo-read-file-name, todo-read-time)
6766 (todo-reevaluate-category-completions-files-defcustom)
6767 (todo-reevaluate-default-file-defcustom)
6768 (todo-reevaluate-filelist-defcustoms)
6769 (todo-reevaluate-filter-files-defcustom)
6770 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6771 (todo-reset-done-separator, todo-reset-done-separator-string)
6772 (todo-reset-done-string, todo-reset-global-current-todo-file)
6773 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6774 (todo-reset-prefix, todo-set-categories)
6775 (todo-set-date-from-calendar, todo-set-show-current-file)
6776 (todo-set-top-priorities, todo-short-file-name)
6777 (todo-show-current-file, todo-sort, todo-time-string-matcher)
6778 (todo-total-item-counts, todo-update-buffer-list)
6779 (todo-update-categories-display, todo-update-categories-sexp)
6780 (todo-update-count, todo-validate-name, todo-y-or-n-p):
6782 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
6784 (todo-categories, todo-display, todo-edit, todo-faces)
6785 (todo-filtered): New defgroups.
6786 (todo-archived-only, todo-button, todo-category-string, todo-date)
6787 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
6788 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
6789 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
6790 (todo-add-item-if-new-category, todo-always-add-time-string)
6791 (todo-categories-align, todo-categories-archived-label)
6792 (todo-categories-category-label, todo-categories-diary-label)
6793 (todo-categories-done-label, todo-categories-number-separator)
6794 (todo-categories-todo-label, todo-categories-totals-label)
6795 (todo-category-completions-files, todo-completion-ignore-case)
6796 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
6797 (todo-done-separator-string, todo-done-string)
6798 (todo-files-function, todo-filter-done-items, todo-filter-files)
6799 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
6800 (todo-initial-category, todo-initial-file, todo-item-mark)
6801 (todo-legacy-date-time-regexp, todo-mode-line-function)
6802 (todo-nondiary-marker, todo-number-prefix)
6803 (todo-print-buffer-function, todo-show-current-file)
6804 (todo-show-done-only, todo-show-first, todo-show-with-done)
6805 (todo-skip-archived-categories, todo-top-priorities-overrides)
6806 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
6807 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
6809 (todo-category-done, todo-date-pattern, todo-date-string-start)
6810 (todo-diary-items-buffer, todo-done-string-start)
6811 (todo-filtered-items-buffer, todo-item-start)
6812 (todo-month-abbrev-array, todo-month-name-array)
6813 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
6814 (todo-top-priorities-buffer): New defconsts.
6815 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
6816 (todo-categories-with-marks, todo-category-string-face)
6817 (todo-comment-face, todo-comment-string, todo-current-todo-file)
6818 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
6819 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
6820 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
6821 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
6822 (todo-font-lock-keywords, todo-global-current-todo-file)
6823 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
6824 (todo-insertion-commands-args)
6825 (todo-insertion-commands-args-genlist)
6826 (todo-insertion-commands-names, todo-insertion-map)
6827 (todo-key-bindings-t, todo-key-bindings-t+a)
6828 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
6829 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
6830 (todo-nondiary-face, todo-print-buffer, todo-time-face)
6831 (todo-visited): New variables.
6833 2013-06-21 Glenn Morris <rgm@gnu.org>
6835 * play/cookie1.el (cookie-apropos): Add optional display argument.
6836 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
6837 (psychoanalyze-pinhead): Use cookie-doctor.
6839 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6841 * emacs-lisp/package.el (tar-get-file-descriptor)
6842 (tar--extract): Declare.
6844 2013-06-21 Eduard Wiebe <usenet@pusto.de>
6846 Extend flymake's warning predicate to be a function (bug#14217).
6847 * progmodes/flymake.el (flymake-warning-predicate): New.
6848 (flymake-parse-line): Use it.
6849 (flymake-warning-re): Make obsolete alias to
6850 `flymake-warning-predicate'.
6852 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6854 * emacs-lisp/package.el (package-alist): Include obsolete packages.
6855 (package-obsolete-list): Remove.
6856 (package-activate): Remove min-version argument. Add `force' argument.
6857 Adjust to new package-alist format.
6858 (package-mark-obsolete): Remove.
6859 (package-unpack): Force reload of the package's autoloads.
6860 (package-installed-p): Check builtins if the installed package is not
6862 (package-initialize): Don't reset package-obsolete-list.
6863 Don't specify which package version to activate.
6864 (package-process-define-package, describe-package-1)
6865 (package-menu--generate): Adjust to new package-alist format.
6867 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6869 * allout-widgets.el (allout-widgets-mode-off)
6870 (allout-widgets-mode-on, allout-widgets-pre-command-business)
6871 (allout-widgets-post-command-business)
6872 (allout-widgets-after-copy-or-kill-function)
6873 (allout-widgets-after-undo-function, allout-test-range-overlaps)
6874 (allout-decorate-item-and-context)
6875 (allout-graphics-modification-handler): Fix typos in docstrings.
6876 (allout-get-or-create-parent-widget): Use `looking-at-p'.
6878 * cmuscheme.el (scheme-start-file): Doc fix.
6879 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
6880 (scheme-input-filter): Use `string-match-p'.
6882 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
6884 * dired-x.el: Use Dired consistently in docstrings.
6886 * dired.el: Use Dired consistently in docstrings.
6887 (dired-readin, dired-mode): Use `setq-local'.
6888 (dired-switches-alist): Make defvar-local.
6889 (dired-buffers-for-dir): Use `zerop'.
6890 (dired-safe-switches-p, dired-switches-escape-p)
6891 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
6892 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
6893 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
6894 (dired-goto-next-nontrivial-file): Use `string-match-p'.
6895 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
6896 (dired-toggle-marks, dired-mark-files-containing-regexp)
6897 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
6898 (dired-flag-auto-save-files, dired-flag-backup-files):
6900 (dired-mark-files-regexp, dired-build-subdir-alist):
6901 Use `string-match-p', `looking-at-p'.
6903 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
6904 (direct-print-region-helper): Use `string-match-p'.
6906 2013-06-21 Leo Liu <sdl.web@gmail.com>
6908 * comint.el (comint-redirect-results-list-from-process):
6911 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6913 * net/eww.el (eww-update-header-line-format): Quote % characters.
6915 2013-06-21 Glenn Morris <rgm@gnu.org>
6917 * play/cookie1.el (cookie): New custom group.
6918 (cookie-file): New option.
6919 (cookie-check-file): New function.
6920 (cookie): Make it interactive. Make start and end messages optional.
6921 Interactively, display the result. Default to cookie-file.
6922 (cookie-insert): Default to cookie-file.
6923 (cookie-snarf): Make start and end messages optional.
6924 Default to cookie-file. Use with-temp-buffer.
6925 (cookie-read): Rename from read-cookie.
6926 Make start and end messages optional. Default to cookie-file.
6927 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
6929 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
6930 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
6932 2013-06-21 Leo Liu <sdl.web@gmail.com>
6934 * progmodes/octave.el (octave-mode): Backward compatibility fix.
6936 2013-06-21 Glenn Morris <rgm@gnu.org>
6938 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
6940 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
6941 Daniel Hackney <dan@haxney.org>
6943 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
6944 Consolidate the single-file vs tarball code.
6945 (package-desc-suffix): New function.
6946 (package-desc-full-name): Don't bother inlining it.
6947 (package-load-descriptor): Return the new package-desc.
6948 (package-mark-obsolete): Remove unused arg `package'.
6949 (package-unpack): Make it work for single files as well.
6950 Make it update package-alist.
6951 (package--make-autoloads-and-stuff): Rename from
6952 package--make-autoloads-and-compile. Don't compile any more.
6953 (package--compile): New function.
6954 (package-generate-description-file): New function, extracted from
6955 package-unpack-single.
6956 (package-unpack-single): Remove.
6957 (package--with-work-buffer): Add indentation and debugging info.
6958 (package-download-single): Remove.
6959 (package-install-from-archive): Rename from package-download-tar, make
6960 it take a pkg-desc, and make it work for single files as well.
6961 (package-download-transaction): Simplify.
6962 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6963 external tar program.
6964 (package-install-from-buffer): Remove `pkg-desc' argument.
6965 Use package-tar-file-info for tar-mode buffers.
6966 (package-install-file): Simplify accordingly.
6967 (package-archive-base): Change to take a pkg-desc.
6968 * tar-mode.el (tar--check-descriptor): New function, extracted from
6970 (tar-get-descriptor): Use it.
6971 (tar-get-file-descriptor): New function.
6972 (tar--extract): New function, extracted from tar-extract.
6973 (tar--extract): Use it.
6974 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6975 case the summary uses non-ascii. Adjust to new calling convention of
6976 package-tar-file-info.
6978 2013-06-21 Leo Liu <sdl.web@gmail.com>
6980 * comint.el (comint-redirect-results-list-from-process):
6981 Fix random delay. (Bug#14681)
6983 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6985 * profiler.el (profiler-format-number): Use log, not log10.
6987 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6989 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6991 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6993 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6994 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6996 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6997 (AUTOGENEL): ... here.
6998 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6999 (cl--defsubst-expand): Use it.
7001 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7003 * subr.el (log10): Move here from C code, and declare as obsolete.
7004 All uses of (log10 X) replaced with (log X 10).
7006 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7008 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7009 Declare with `defvar-local'.
7010 (tabulated-list-use-header-line, tabulated-list-entries)
7011 (tabulated-list-padding, tabulated-list-printer)
7012 (tabulated-list-sort-key): Declare with `defvar-local'.
7013 (tabulated-list-init-header, tabulated-list-print-fake-header):
7016 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7018 * arc-mode.el (archive-mode): Add `archive-write-file' to
7019 `write-contents-functions' also for remote files. (Bug#14652)
7021 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7023 * cus-edit.el (custom-commands): Fix typos.
7024 (custom-display): Fix tooltip text.
7025 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7026 Fix typos in docstrings.
7027 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7028 (custom-unlispify-menu-entry, custom-magic-value-create)
7029 (custom-add-see-also, custom-group-value-create): Use ?\s.
7030 (custom-guess-type, customize-apropos, editable-field)
7031 (custom-face-value-create): Use `string-match-p'.
7032 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7034 * custom.el (custom-load-symbol): Use `string-match-p'.
7036 * ansi-color.el: Convert to lexical binding.
7037 (ansi-colors): Fix URL.
7038 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7039 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7040 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7042 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7044 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7046 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7048 2013-06-19 Tom Tromey <tromey@redhat.com>
7050 * net/eww.el (eww-top-url): Remove.
7051 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7052 (eww-render): Set new variables. Don't set eww-top-url.
7053 (eww-handle-link): Handle "prev", "home", and "contents".
7054 Downcase the rel text.
7055 (eww-top-url): Choose best top URL.
7057 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7059 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7060 relying in widget.el. Using widget.el leads to too many
7061 user interface inconsistencies.
7062 (eww-self-insert): Implement entering commands in text fields.
7063 (eww-process-text-input): New function to make text input field editing
7065 (eww-submit): Rewrite to use the new-style form methods.
7066 (eww-select-display): Display the correct selected item.
7067 (eww-change-select): Implement changing the select value.
7068 (eww-toggle-checkbox): Implement radio/checkboxes.
7069 (eww-update-field): Fix compilation error.
7070 (eww-tag-textarea): Implement <textarea>.
7072 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7073 we don't shadow mode-specific bindings.
7075 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7078 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7080 2013-06-19 Glenn Morris <rgm@gnu.org>
7082 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7084 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7086 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7089 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7091 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7093 * net/browse-url.el (browse-url-browser-function):
7094 `eww-browse-url' has the right calling signature, `eww' does not.
7096 2013-06-19 Glenn Morris <rgm@gnu.org>
7098 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7099 Only eval autoloaded macros.
7100 (byte-compile-autoload): Only give the macro warning for macros.
7102 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7103 (ps-underlined-faces): Declare.
7105 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7106 (speedbar-add-supported-extension): Declare.
7108 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7109 Don't include a date stamp in the header of the generated file;
7110 it leads to needless differences between output files.
7112 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7114 * net/secrets.el (secrets-struct-secret-content-type):
7115 Replace check of introspection data by a test call of "CreateItem".
7116 Some servers do not offer introspection.
7118 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7120 * electric.el (electric-pair-mode): Improve interaction with
7121 electric-layout-mode.
7122 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7123 (electric-pair-syntax): Use text-mode-syntax-table in comments
7125 (electric-pair--insert): New function.
7126 (electric-pair-post-self-insert-function): Use it and
7127 electric--after-char-pos.
7129 2013-06-19 Leo Liu <sdl.web@gmail.com>
7131 * progmodes/octave.el (octave-help): Fix regexp.
7133 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7135 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7136 (shr-table-horizontal-line): Allow nil as a value, and change the
7138 (shr-insert-table-ruler): Respect the nil value.
7140 2013-06-18 Tom Tromey <tromey@barimba>
7142 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7144 (eww-open-file): New defun.
7145 (eww-render): Initialize new variables.
7146 (eww-display-html): Handle "link" and "a".
7147 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7148 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7149 (eww-back-url): Rename from eww-previous-url.
7150 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7153 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7155 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7156 Distinguish ternary operator tokens from slash symbol and slash
7159 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7161 Convert symbol prettification into minor mode and global minor mode.
7163 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7164 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7165 (prettify-symbols--keywords): Rename from
7166 `prog-prettify-symbols-alist' and make a local defvar.
7167 (prettify-symbols--compose-symbol): Rename from
7168 `prog--prettify-font-lock-compose-symbol'.
7169 (prettify-symbols--make-keywords): Rename from
7170 `prog-prettify-font-lock-symbols-keywords' and simplify.
7171 (prog-prettify-install): Remove.
7172 (prettify-symbols-mode): New minor mode, based on
7173 `prog-prettify-install'.
7174 (turn-on-prettify-symbols-mode): New function.
7175 (global-prettify-symbols-mode): New globalized minor mode.
7177 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7178 * progmodes/cfengine.el (cfengine3-mode):
7179 * progmodes/perl-mode.el (perl-mode): Don't call
7180 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7182 2013-06-18 Juri Linkov <juri@jurta.org>
7184 * files-x.el (modify-file-local-variable-message): New function.
7185 (modify-file-local-variable)
7186 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7187 and call `modify-file-local-variable-message' when it's non-nil.
7188 (add-file-local-variable, delete-file-local-variable)
7189 (add-file-local-variable-prop-line)
7190 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7191 and use it. (Bug#9820)
7193 2013-06-18 Juri Linkov <juri@jurta.org>
7195 * emulation/vi.el (vi-shell-op):
7196 * emulation/vip.el (vip-execute-com, ex-command):
7197 * emulation/viper-cmd.el (viper-exec-bang):
7198 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7199 the call of `shell-command-on-region'. (Bug#14637)
7201 * simple.el (shell-command-on-region): Doc fix.
7203 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7205 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7208 2013-06-18 Glenn Morris <rgm@gnu.org>
7210 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7212 * newcomment.el (comment-search-forward, comment-search-backward):
7213 Doc fix. (Bug#14376)
7215 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7217 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7218 (buffer-face-mode-invoke): Doc fix.
7220 2013-06-18 Matthias Meulien <orontee@gmail.com>
7222 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7223 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7225 2013-06-18 Glenn Morris <rgm@gnu.org>
7227 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7228 Replace obsolete function generic-make-keywords with its expansion.
7230 * progmodes/python.el (ffap-alist): Declare.
7232 * textmodes/reftex.el (bibtex-mode-map): Declare.
7234 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7236 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7237 (package-unpack, package-unpack-single): Return the pkg-dir.
7238 (package-download-transaction): Use it to update package-alist.
7240 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7242 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7245 2013-06-17 Juri Linkov <juri@jurta.org>
7247 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7249 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7251 * emacs-lisp/package.el (package-load-descriptor):
7252 Remove `with-syntax-table' call, `read' doesn't need it.
7253 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7255 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7257 * startup.el (command-line): Expand package name returned by
7258 `package--description-file' (bug#14639).
7260 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7262 * emacs-lisp/package.el (package-load-descriptor): Do not call
7263 `emacs-lisp-mode', just use its syntax table.
7265 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7267 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7268 `font-lock-extra-managed-props' if any prettifying keyword is added.
7269 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7270 (prog-mode): Use `setq-local'.
7272 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7274 * international/characters.el (standard-case-table): Set syntax of ?»
7275 and ?« to punctuation.
7277 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7279 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7280 Save relevant match data before calling `syntax-ppss' (bug#14595).
7282 2013-06-15 Juri Linkov <juri@jurta.org>
7284 * files-x.el (modify-file-local-variable-prop-line): Add local
7285 variables to the end of the existing comment on the first line.
7286 Use `file-auto-mode-skip' to skip interpreter magic line,
7287 and also skip XML declaration.
7289 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7291 * startup.el (package--builtin-versions): New var.
7292 (package-subdirectory-regexp): Remove.
7293 (package--description-file): Hard code its value instead.
7295 * emacs-lisp/package.el: Don't activate packages older than builtin.
7296 (package-obsolete-list): Rename from package-obsolete-alist, and make
7297 it into a simple list of package-desc.
7298 (package-strip-version): Remove.
7299 (package-built-in-p): Use package--builtin-versions.
7300 (package-mark-obsolete): Simplify.
7301 (package-process-define-package): Mark it obsolete if older than the
7303 (package-handle-response): Use line-end-position.
7304 (package-read-archive-contents, package--download-one-archive):
7306 (package--add-to-archive-contents): Skip if older than the builtin or
7308 (package-menu-describe-package): Fix last change.
7309 (package-list-unversioned): New var.
7310 (package-menu--generate): Use it.
7312 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7313 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7314 (autoload-builtin-package-versions): New variable.
7315 (autoload-generate-file-autoloads): Use them.
7316 Remove the list of autoloaded functions/macros from the
7317 (autoload...) comments.
7319 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7321 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7323 * simple.el (line-move-partial): Don't jump to the next screen
7324 line as soon as it becomes visible. Instead, continue enlarging
7325 the vscroll until the portion of a tall screen line that's left on
7326 display is about the height of the frame's default font.
7329 2013-06-15 Glenn Morris <rgm@gnu.org>
7331 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7332 compilation-error-regexp-alist void, or local while let-bound.
7334 * progmodes/make-mode.el (makefile-mode-syntax-table):
7335 Treat "=" as punctuation. (Bug#14614)
7337 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7339 * help-fns.el (describe-variable):
7340 Add extra line for permanent-local variables.
7342 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7344 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7345 Add export, import, library. (Bug#9164)
7346 (library): Set indent function.
7348 2013-06-14 Glenn Morris <rgm@gnu.org>
7350 * term/xterm.el (xterm--query):
7351 Stop after first matching handler. (Bug#14615)
7353 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7355 Add support for dired in saveplace.
7356 * dired.el (dired-initial-position-hook): New variable.
7357 (dired-initial-position): Call hook to place cursor position.
7358 * saveplace.el (save-place-to-alist): Add dired position.
7359 (save-place-dired-hook): New function.
7361 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7363 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7364 through a symbol rather than letrec.
7366 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7367 (package-desc): Add `dir' field.
7368 (package-desc-full-name): New function.
7369 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7370 (package-maybe-load-descriptor): Remove.
7371 (package-load-all-descriptors): Just call package-load-descriptor.
7372 (package--disabled-p): New function.
7373 (package-desc-vers, package-desc-doc): Remove aliases.
7374 (package--dir): Remove function.
7375 (package-activate): Check if a package is disabled.
7376 (package-process-define-package): New function, extracted from
7378 (define-package): Turn into a place holder.
7379 (package-unpack-single, package-tar-file-info):
7380 Use package--description-file.
7381 (package-compute-transaction): Use package--disabled-p.
7382 (package-download-transaction): Don't call
7383 package-maybe-load-descriptor since they're all loaded anyway.
7384 (package-install): Change argument to be a pkg-desc.
7385 (package-delete): Use a single pkg-desc argument.
7386 (describe-package-1): Use package-desc-dir instead of package--dir.
7387 Use package-desc property instead of package-symbol.
7388 (package-install-button-action): Adjust accordingly.
7389 (package--push): Rewrite.
7390 (package-menu--print-info): Adjust accordingly. Change the ID format
7392 (package-menu-describe-package, package-menu-get-status)
7393 (package-menu--find-upgrades, package-menu-mark-upgrades)
7394 (package-menu-execute, package-menu--name-predicate):
7396 * startup.el (package--description-file): New function.
7397 (command-line): Use it.
7398 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7399 Use package-desc-version.
7401 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7402 (byte-compile-preprocess): Use it.
7403 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7404 can't quite recognize.
7405 (byte-compile-add-to-list): Remove.
7406 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7407 (cconv-closure-convert): Add assertion.
7409 * emacs-lisp/map-ynp.el: Use lexical-binding.
7410 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7411 Factor out some repeated code.
7413 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7415 * subr.el (with-eval-after-load): New macro.
7416 (eval-after-load): Allow form to be a function.
7417 take advantage of lexical-binding.
7418 (do-after-load-evaluation): Use dolist and adjust to new format.
7419 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7421 2013-06-13 Juri Linkov <juri@jurta.org>
7423 * replace.el (perform-replace): Display "symbol " and other search
7424 modes from `isearch-message-prefix' in the *Help* buffer.
7426 * isearch.el (isearch-query-replace): Add " symbol" and other
7427 possible search modes from `isearch-message-prefix' to the prompt.
7428 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7429 when reading a regexp to collect.
7431 2013-06-13 Juri Linkov <juri@jurta.org>
7433 * isearch.el (word-search-regexp): Match whitespace if the search
7434 string begins or ends in whitespace. The LAX arg is applied to
7435 both ends of the search string. Use `regexp-quote' and explicit
7436 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7437 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7438 boundaries are replaced with symbol boundaries, and characters
7439 between symbols match non-word non-symbol syntax. (Bug#14602)
7441 2013-06-13 Juri Linkov <juri@jurta.org>
7443 * isearch.el (isearch-del-char): Don't exceed the length of
7444 `isearch-string' by the prefix arg. (Bug#14563)
7446 2013-06-13 Juri Linkov <juri@jurta.org>
7448 * isearch.el (isearch-yank-word, isearch-yank-line)
7449 (isearch-char-by-name, isearch-quote-char)
7450 (isearch-printing-char, isearch-process-search-char):
7451 Add optional count prefix arg. (Bug#14563)
7453 * international/isearch-x.el
7454 (isearch-process-search-multibyte-characters):
7455 Add optional count prefix arg.
7457 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7459 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7460 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7463 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7465 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7467 2013-06-13 Glenn Morris <rgm@gnu.org>
7469 * startup.el (tty-handle-args):
7470 Don't just discard "--" and anything after. (Bug#14608)
7472 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7474 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7476 Implement changes in Secret Service API. Make it backward compatible.
7477 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7478 (secrets-create-item): Use it. Prefix properties with interface.
7480 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7482 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7483 (term-emulate-terminal): Respect term-suppress-hard-newline.
7485 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7487 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7488 Only remove a `thumb-file' overlay. (Bug#14548)
7490 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7492 * mail/reporter.el (reporter-submit-bug-report):
7493 Handle missing package-name. (Bug#14600)
7495 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7497 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7498 (reftex-citation-prompt, reftex-default-bibliography)
7499 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7500 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7501 (reftex-bib-sort-author, reftex-bib-sort-year)
7502 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7503 (reftex-extract-bib-entries-from-thebibliography)
7504 (reftex-get-bibkey-default, reftex-get-bib-names)
7505 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7506 (reftex-format-bib-entry, reftex-parse-bibitem)
7507 (reftex-format-bibitem, reftex-do-citation)
7508 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7509 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7510 (reftex-insert-bib-matches, reftex-format-citation)
7511 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7512 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7513 existing comments into docstrings.
7515 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7517 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7519 2013-06-12 Andreas Schwab <schwab@suse.de>
7521 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7522 for auto-save files.
7524 2013-06-12 Glenn Morris <rgm@gnu.org>
7526 * ido.el (ido-delete-ignored-files): Remove.
7527 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7528 Go back to calling ido-ignore-item-p directly.
7530 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7532 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7534 * ido.el (ido-delete-ignored-files): New function,
7535 split from ido-make-file-list-1.
7536 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7537 (ido-make-file-list-1): Use ido-delete-ignored-files.
7539 2013-06-12 Leo Liu <sdl.web@gmail.com>
7541 * progmodes/octave.el (inferior-octave-startup)
7542 (inferior-octave-completion-table)
7543 (inferior-octave-track-window-width-change)
7544 (octave-eldoc-function-signatures, octave-help)
7545 (octave-find-definition): Use single quoted strings.
7546 (inferior-octave-startup-args): Change default value.
7547 (inferior-octave-startup): Do not hard code "-i" and
7548 "--no-line-editing".
7549 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7550 (inferior-octave-directory-tracker): Use it.
7551 (octave-goto-function-definition): Robustify.
7552 (octave-help): Support highlighting operators in 'See also'.
7553 (octave-find-definition): Find subfunctions only in Octave mode.
7555 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7557 * help-fns.el (help-fns--compiler-macro): If the handler function is
7558 named, then put a link to it.
7559 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7560 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7562 (cl-eval-when): Simplify debug spec.
7563 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7564 compiler-macro function instead of setting `compiler-macro-file'.
7566 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7568 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7569 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7571 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7572 Daniel Hackney <dan@haxney.org>
7574 First part of Daniel Hackney's patch to package.el.
7575 * emacs-lisp/package.el: Use defstruct.
7576 (package-desc): New, main struct.
7577 (package--bi-desc, package--ac-desc): New structs, used to describe the
7578 format in external files.
7579 (package-desc-vers): Replace with package-desc-version accessor.
7580 (package-desc-doc): Replace with package-desc-summary accessor.
7581 (package-activate-1): Remove `package' arg since the pkg-vec now
7583 (define-package): Use package-desc-from-define.
7584 (package-unpack-single): Change file-name arg to be a symbol.
7585 (package--add-to-archive-contents): Use package-desc-create and new
7586 accessor functions to package--ac-desc.
7587 (package-buffer-info, package-tar-file-info): Return a package-desc.
7588 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7589 arg to be a package-desc.
7590 (package-install-file): Adjust accordingly. Use \' to match EOS.
7591 (package--from-builtin): New function.
7592 (describe-package-1, package-menu--generate): Use it.
7593 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7594 (package-generate-autoloads): Idem and return the name of the file.
7595 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7596 Change pkg-info arg to be a package-desc.
7597 Use package-make-ac-desc.
7598 (package-upload-file): Use \' to match EOS.
7599 * finder.el (finder-compile-keywords): Use package-make-builtin.
7601 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7603 * vc/vc.el (vc-deduce-fileset): Change error message.
7604 (vc-read-backend): New function.
7605 (vc-next-action): Use it.
7607 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7609 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7610 (prolog-font-lock-keywords): Use regexp-opt instead.
7611 Don't manually highlight strings.
7612 (prolog-mode-variables): Simplify comment-start-skip.
7613 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7615 * emacs-lisp/generic.el (generic--normalise-comments)
7616 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7617 (generic-mode-set-comments): Use them.
7618 (generic-bracket-support): Use setq-local.
7619 (generic-make-keywords-list): Declare obsolete.
7621 2013-06-11 Glenn Morris <rgm@gnu.org>
7623 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7624 Prettify after setting font-lock-defaults. (Bug#14574)
7626 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7628 * replace.el (query-replace, occur-read-regexp-defaults-function)
7630 * subr.el (declare-function, number-sequence, local-set-key)
7631 (substitute-key-definition, locate-user-emacs-file)
7632 (with-silent-modifications, split-string, eval-after-load):
7633 Fix typos, remove unneeded backslashes and reflow some docstrings.
7635 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7637 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7638 default for Elisp files.
7640 2013-06-11 Glenn Morris <rgm@gnu.org>
7642 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7643 although define-derived-mode was doing this anyway. (Bug#14583)
7645 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7647 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7648 Fix make-variable-buffer-local call to refer to the correct variable.
7650 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7652 * eshell/em-term.el (eshell-visual-commands)
7653 (eshell-visual-subcommands, eshell-visual-options):
7654 Add summary line to docstrings. Add cross-references.
7656 2013-06-10 Glenn Morris <rgm@gnu.org>
7658 * epa.el (epa-read-file-name): New function. (Bug#14510)
7659 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7661 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7663 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7664 output redirection to be ignored with visual commands.
7666 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7668 * eshell/em-term.el (eshell-visual-command-p): New function.
7669 (eshell-term-initialize): Move long lambda to separate function
7670 eshell-visual-command-p.
7671 * eshell/em-dirs.el (eshell-dirs-initialise):
7672 * eshell/em-script.el (eshell-script-initialize):
7673 Add missing #' to lambda.
7675 2013-06-08 Leo Liu <sdl.web@gmail.com>
7677 * progmodes/octave.el (octave-add-log-current-defun): New function.
7678 (octave-mode): Set add-log-current-defun-function.
7679 (octave-goto-function-definition): Do not move point if not found.
7680 (octave-find-definition): Enhance to try subfunctions first.
7682 2013-06-08 Glenn Morris <rgm@gnu.org>
7684 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7685 (byte-compile-backward-char, byte-compile-backward-word):
7686 Improve previous change, to handle non-explicit nil.
7688 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7690 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7691 (smie--opener/closer-at-point): New function.
7692 (smie--matching-block-data): Use it. Don't match from right after an
7693 opener or right before a closer. Obey smie-blink-matching-inners.
7694 Don't signal a mismatch for repeated inners like "switch..case..case".
7696 2013-06-07 Leo Liu <sdl.web@gmail.com>
7698 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7700 (octave-function-header-regexp): Fix. (Bug#14570)
7701 (octave-help-mode-finish-hook, octave-help-mode-finish):
7702 Remove. Just use temp-buffer-show-hook.
7704 * newcomment.el (comment-search-backward): Revert last change.
7707 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7709 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7711 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7712 through xargs, to avoid failure due to MS-Windows limitations on
7713 command-line length.
7715 2013-06-06 Glenn Morris <rgm@gnu.org>
7717 * font-lock.el (lisp-font-lock-keywords-2):
7718 Treat user-error like error.
7720 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7721 (byte-compile-backward-char, byte-compile-backward-word):
7722 Handle explicit nil arguments. (Bug#14565)
7724 2013-06-05 Alan Mackenzie <acm@muc.de>
7726 * isearch.el (isearch-allow-prefix): New user option.
7727 (isearch-other-meta-char): Don't exit isearch when a prefix
7728 argument is typed whilst `isearch-allow-prefix' is non-nil.
7731 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7733 * autorevert.el (auto-revert-notify-handler): Use memq.
7734 Hide assertion failure.
7736 * skeleton.el: Use cl-lib.
7737 (skeleton-further-elements): Use defvar-local.
7738 (skeleton-insert): Use cl-progv.
7740 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7742 * progmodes/prog-mode.el (prog-prettify-symbols)
7743 (prog-prettify-install): Update docstrings.
7745 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7747 * simple.el: Move all the prog-mode code to prog-mode.el.
7748 * progmodes/prog-mode.el: New file.
7749 * loadup.el: Add prog-mode.el.
7751 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7753 * simple.el (prog-prettify-symbols): Add version.
7754 (prog-prettify-install): Add convenience function to prettify symbols.
7756 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7757 (perl--augmented-font-lock-keywords-1)
7758 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7759 variables and use it.
7761 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7762 (cfengine3-mode): Remove unneeded variable and use it.
7764 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7765 (lisp--augmented-font-lock-keywords-1)
7766 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7767 Remove unneeded variables and use it.
7769 2013-06-05 João Távora <joaotavora@gmail.com>
7771 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7772 to point when opening the connection. (Bug#14380)
7774 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7776 * subr.el (load-history-regexp, load-history-filename-element)
7777 (eval-after-load, after-load-functions, do-after-load-evaluation)
7778 (eval-next-after-load, display-delayed-warnings)
7779 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
7780 definition of save-match-data.
7781 (overriding-local-map): Remove accidental obsolescence declaration.
7783 * emacs-lisp/edebug.el (edebug-result): Move before first use.
7785 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7787 Generalize symbol prettify support to prog-mode and implement it
7788 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
7789 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
7790 (prog--prettify-font-lock-compose-symbol)
7791 (prog-prettify-font-lock-symbols-keywords): New variables and
7792 functions to support symbol prettification.
7793 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7794 (lisp--augmented-font-lock-keywords-1)
7795 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
7796 (lisp--prettify-symbols-alist): Implement prettify of lambda.
7797 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7798 (cfengine3--prettify-symbols-alist, cfengine3-mode):
7799 Implement prettify of -> => :: strings.
7800 * progmodes/perl-mode.el (perl-prettify-symbols)
7801 (perl--font-lock-compose-symbol)
7802 (perl--font-lock-symbols-keywords): Move to prog-mode.
7803 (perl--prettify-symbols-alist): Prettify -> => :: strings.
7804 (perl-font-lock-keywords-1)
7805 (perl-font-lock-keywords-2): Remove explicit prettify support.
7806 (perl--augmented-font-lock-keywords)
7807 (perl--augmented-font-lock-keywords-1)
7808 (perl--augmented-font-lock-keywords-2, perl-mode):
7809 Implement prettify support.
7811 2013-06-05 Leo Liu <sdl.web@gmail.com>
7813 Re-implement smie matching block highlight using
7814 show-paren-data-function. (Bug#14395)
7815 * emacs-lisp/smie.el (smie-matching-block-highlight)
7816 (smie--highlight-matching-block-overlay)
7817 (smie--highlight-matching-block-lastpos)
7818 (smie-highlight-matching-block)
7819 (smie-highlight-matching-block-mode): Remove.
7820 (smie--matching-block-data-cache): New variable.
7821 (smie--matching-block-data): New function.
7822 (smie-setup): Use smie--matching-block-data for
7823 show-paren-data-function.
7825 * progmodes/octave.el (octave-mode-menu): Fix.
7826 (octave-find-definition): Skip garbage lines.
7828 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7830 Fix compilation error with simultaneous dynamic+lexical scoping.
7831 Add warning when a defvar appears after the first let-binding.
7832 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
7833 (byte-compile-close-variables): Initialize it.
7834 (byte-compile--declare-var): New function.
7835 (byte-compile-file-form-defvar)
7836 (byte-compile-file-form-define-abbrev-table)
7837 (byte-compile-file-form-custom-declare-variable): Use it.
7838 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
7839 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
7840 (byte-compile-bind): Handle dynamic bindings that shadow
7842 (byte-compile-unbind): Make arg non-optional.
7843 (byte-compile-let): Simplify.
7844 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
7845 (cconv--analyse-function, cconv-analyse-form): Populate it.
7846 Protect byte-compile-bound-variables to limit the scope of defvars.
7847 (cconv-analyse-form): Add missing rule for (defvar <foo>).
7848 Remove unneeded rule for `declare'.
7850 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
7851 so as to avoid depending on cl-adjoin at run-time.
7852 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
7854 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
7855 (macroexp--warn-and-return): Use it.
7857 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7859 * lisp/subr.el: Convert to lexical binding.
7860 (overriding-local-map): Make obsolete.
7861 (add-to-list): Doc fix. Add compiler macro.
7862 (read-key): Swap values of local maps.
7864 2013-06-05 Leo Liu <sdl.web@gmail.com>
7866 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
7868 2013-06-04 Leo Liu <sdl.web@gmail.com>
7870 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
7871 (compilation-auto-jump): Suppress the "Mark set" message to give
7872 way to exit message.
7874 2013-06-04 Alan Mackenzie <acm@muc.de>
7876 Remove faulty optimisation from indentation calculation.
7877 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
7878 search limit based on 2000 characters back from indent-point.
7880 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7882 * eshell/em-term.el (cl-lib): Require `cl-lib'.
7884 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
7886 * emacs-lisp/lisp.el: Use lexical-binding.
7887 (lisp--local-variables-1, lisp--local-variables): New functions.
7888 (lisp--local-variables-completion-table): New var.
7889 (lisp-completion-at-point): Use it complete let-bound vars.
7891 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
7892 eagerly (bug#14422).
7894 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
7896 * autorevert.el (auto-revert-notify-enabled)
7897 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7898 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
7899 (auto-revert-notify-handler): Handle also gfilenotify.
7901 * subr.el (file-notify-handle-event): New defun. Replacing ...
7902 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
7905 2013-06-03 Juri Linkov <juri@jurta.org>
7907 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
7908 `M-s h .'. (Bug#14427)
7910 * hi-lock.el (highlight-symbol-at-point): New alias for the new
7911 command `hi-lock-face-symbol-at-point'.
7912 (hi-lock-face-symbol-at-point): New command.
7913 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
7914 (hi-lock-menu): Add `highlight-symbol-at-point'.
7915 (hi-lock-mode): Doc fix.
7917 * isearch.el (isearch-forward-symbol-at-point): New command.
7918 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
7919 (isearch-highlight-regexp): Add a regexp which matches
7920 words/symbols for word/symbol mode.
7922 * subr.el (find-tag-default-bounds): New function with the body
7923 mostly moved from `find-tag-default'.
7924 (find-tag-default): Move most code to `find-tag-default-bounds',
7925 call it and apply `buffer-substring-no-properties' afterwards.
7927 2013-06-03 Tassilo Horn <tsdh@gnu.org>
7929 * eshell/em-term.el (eshell-term-initialize):
7930 Use `cl-intersection' rather than `intersection'.
7932 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
7934 * vc/log-view.el: Doc fix.
7935 (log-view-mode-map): Copy keymap from `special-mode-map'.
7937 2013-06-02 Eric Ludlam <zappo@gnu.org>
7939 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
7940 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
7941 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
7942 (eieio-unbound, eieio-default-superclass)
7943 (eieio--define-field-accessors, method-static, method-before)
7944 (method-primary, method-after, method-num-lists)
7945 (method-generic-before, method-generic-primary)
7946 (method-generic-after, method-num-slots)
7947 (eieio-specialized-key-to-generic-key)
7948 (eieio--check-type, class-v, class-p)
7949 (eieio-class-name, define-obsolete-function-alias)
7950 (eieio-class-parents-fast, eieio-class-children-fast)
7951 (same-class-fast-p, class-constructor, generic-p)
7952 (generic-primary-only-p, generic-primary-only-one-p)
7953 (class-option-assoc, class-option, eieio-object-p)
7954 (class-abstract-p, class-method-invocation-order)
7955 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7956 (eieio-class-un-autoload, eieio-defclass)
7957 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7958 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7959 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7960 (eieio-defgeneric-reset-generic-form)
7961 (eieio-defgeneric-form-primary-only)
7962 (eieio-defgeneric-reset-generic-form-primary-only)
7963 (eieio-defgeneric-form-primary-only-one)
7964 (eieio-defgeneric-reset-generic-form-primary-only-one)
7965 (eieio-unbind-method-implementations)
7966 (eieio--defmethod, eieio--typep)
7967 (eieio-perform-slot-validation, eieio-validate-slot-value)
7968 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7969 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7970 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7971 (eieio-slot-name-index, eieio-class-slot-name-index)
7972 (eieio-set-defaults, eieio-initarg-to-attribute)
7973 (eieio-attribute-to-initarg, eieio-c3-candidate)
7974 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7975 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7976 (eieio-class-precedence-list, eieio-generic-call-methodname)
7977 (eieio-generic-call-arglst, eieio-generic-call-key)
7978 (eieio-generic-call-next-method-list)
7979 (eieio-pre-method-execution-functions, eieio-generic-call)
7980 (eieio-generic-call-primary-only, eieiomt-method-list)
7981 (eieiomt-optimizing-obarray, eieiomt-install)
7982 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7983 (eieio-generic-form, eieio-defmethod, make-obsolete)
7984 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7985 (defclass): Remove `eval-and-compile' from macro.
7986 (call-next-method, shared-initialize): Instead of using
7987 `scoped-class' variable, use new eieio--scoped-class, and
7988 eieio--with-scoped-class.
7989 (initialize-instance): Rename local variable 'scoped-class' to
7990 'this-class' to remove ambiguitity from old global.
7992 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7994 (eieio--scoped-class-stack): New variable.
7995 (eieio--scoped-class): New fcn.
7996 (eieio--with-scoped-class): New scoping macro.
7997 (eieio-defclass): Use pushnew instead of add-to-list.
7998 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7999 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8000 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8001 `scoped-class' variable, use new eieio--scoped-class, and
8002 eieio--with-scoped-class.
8004 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8006 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8008 * eshell/esh-ext.el (eshell-external-command): Pass args to
8009 `eshell-find-interpreter'.
8010 (eshell-find-interpreter): Add new second parameter ARGS.
8012 * eshell/em-script.el (eshell-script-initialize): Add second arg
8013 to the function added as MATCH to `eshell-interpreter-alist'.
8015 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8016 the function added as MATCH to `eshell-interpreter-alist'.
8018 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8019 (eshell-visual-options): New defcustom.
8020 (eshell-escape-control-x): Adapt docstring.
8021 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8022 `eshell-visual-options' in addition to `eshell-visual-commands'.
8023 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8025 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8027 * progmodes/python.el (python-indent-block-enders): Add break,
8028 continue and raise keywords.
8030 2013-06-01 Glenn Morris <rgm@gnu.org>
8032 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8034 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8035 * progmodes/cc-cmds.el (delete-forward-p):
8036 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8037 * progmodes/cc-engine.el (buffer-syntactic-context):
8038 * progmodes/cc-fonts.el (face-property-instance):
8039 * progmodes/cc-mode.el (set-keymap-parents):
8040 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8041 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8042 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8043 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8044 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8046 * progmodes/cc-vars.el (other): Emacs has this widget since
8047 at least 21.1, so don't (re)define it.
8049 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8050 Replace the obsolete alias pcomplete-arg-quote-list.
8052 2013-06-01 Leo Liu <sdl.web@gmail.com>
8054 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8056 (inferior-octave-minimal-columns)
8057 (inferior-octave-last-column-width): New variables.
8058 (inferior-octave-track-window-width-change): New function.
8059 (inferior-octave-mode): Adjust column width so that Octave output,
8060 for example from 'ls', can fit into the window nicely.
8062 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8064 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8065 Highlight expansions inside regexp literals.
8067 2013-05-31 Glenn Morris <rgm@gnu.org>
8069 * obsolete/sym-comp.el (symbol-complete):
8070 Replace obsolete completion-annotate-function.
8072 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8074 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8076 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8077 New function, checks if point is inside a literal that allows
8078 expression expansion.
8079 (ruby-syntax-propertize-expansion): Use it.
8080 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8083 2013-05-30 Juri Linkov <juri@jurta.org>
8085 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8087 (isearch-invisible): New variable.
8088 (isearch-forward): Doc fix.
8089 (isearch-mode): Set `isearch-invisible'
8090 to the value of `search-invisible'.
8091 (isearch-toggle-case-fold): Doc fix.
8092 (isearch-toggle-invisible): New command.
8093 (isearch-query-replace): Let-bind `search-invisible'
8094 to the value of `isearch-invisible'.
8095 (isearch-search): Use `isearch-invisible' instead of
8096 `search-invisible'. Let-bind `search-invisible'
8097 to the value of `isearch-invisible'. (Bug#11378)
8099 2013-05-30 Juri Linkov <juri@jurta.org>
8101 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8102 call when `query-flag' is nil and `search-invisible' is non-nil.
8105 2013-05-30 Glenn Morris <rgm@gnu.org>
8107 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8109 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8110 (cc-require): Suppress spurious "noruntime" warnings.
8111 (cc-require-when-compile): Use fboundp, for sake of compiler.
8113 * progmodes/cc-mode.el: Move load of cc-vars before that of
8114 cc-langs (which in turn loads cc-vars), to quieten compiler.
8116 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8118 * paren.el: Simplify the code.
8119 (show-paren-mode): Always start the timer.
8120 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8121 (show-paren--overlay, show-paren--overlay-1): Rename from
8122 show-paren-overlay and show-paren-overlay-1, and initialize to an
8123 overlay rather than to nil.
8124 (show-paren-function): Misc cleanup and simplifications.
8126 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8128 * paren.el (show-paren-data-function): New hook.
8129 (show-paren--default): New function, extracted from show-paren-function.
8130 (show-paren-function): Use show-paren-data-function.
8132 2013-05-30 Glenn Morris <rgm@gnu.org>
8134 * ielm.el (ielm-map, ielm-complete-symbol):
8135 Use completion-at-point rather than obsolete functions.
8136 (inferior-emacs-lisp-mode): Doc fix.
8137 Set completion-at-point-functions, rather than
8138 comint-dynamic-complete-functions.
8140 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8141 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8142 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8144 * image.el (image-animated-p): Tweak definition.
8146 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8147 (rlogin-process-connection-type): Tweak default. Add set-after.
8148 (rlogin-host): Doc fix.
8149 (rlogin): Tweak prompt.
8150 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8152 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8153 * progmodes/tcl.el (inferior-tcl-mode-map):
8154 Use completion-at-point rather than obsolete alias.
8156 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8158 * minibuffer.el (read-file-name-completion-ignore-case):
8159 Move before completion--in-region, for eager macro expansion.
8161 2013-05-29 Juri Linkov <juri@jurta.org>
8163 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8164 for total count of matching lines. Add `global-matches' for total
8165 count of matches. Rename `matches' to `lines' for count of
8166 matching lines. Add `matches' for count of matches.
8167 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8168 to `prev-line' for line number of prev match endpt.
8169 Increment `matches' for every match. Print the number of
8170 matching lines in the header.
8171 (occur-context-lines): Rename `lines' to `curr-line'.
8172 Rename `prev-lines' to `prev-line'. (Bug#14017)
8174 2013-05-29 Juri Linkov <juri@jurta.org>
8176 * replace.el (perform-replace): Add `skip-read-only-count',
8177 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8178 Increment them for corresponding conditions and report the number
8179 of skipped occurrences in the final message. (Bug#11746)
8180 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8181 (replace-string, replace-regexp): Doc fix.
8183 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8185 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8187 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8188 prog-mode-map (bug#14504).
8190 2013-05-29 Leo Liu <sdl.web@gmail.com>
8192 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8193 (octave-help): Small simplification.
8195 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8196 off the highlight first.
8198 2013-05-29 Glenn Morris <rgm@gnu.org>
8200 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8201 Handle idlwave-last-system-routine-info-cons-cell being nil.
8203 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8204 (idlwave-write-paths): Simplify via with-temp-buffer.
8206 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8207 * emulation/cua-rect.el: Also load cua-base at run time.
8209 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8210 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8211 (cperl-imenu-on-info): Require imenu.
8213 2013-05-28 Alan Mackenzie <acm@muc.de>
8215 Handle "capitalised keywords" correctly.
8216 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8218 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8220 * eshell/em-unix.el: Add -r option to cp.
8222 2013-05-28 Glenn Morris <rgm@gnu.org>
8224 * vc/vc-arch.el (vc-exec-after): Declare.
8225 (vc-switches): Autoload.
8226 * vc/vc-bzr.el: No need to require vc when compiling.
8227 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8228 (vc-resynch-buffer, vc-dir-refresh): Declare.
8229 (vc-setup-buffer, vc-switches): Autoload.
8230 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8231 (vc-resynch-buffer): Declare.
8232 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8233 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8234 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8235 (grep-read-regexp, grep-read-files, grep-expand-template)
8236 (vc-dir-refresh): Declare.
8237 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8238 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8239 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8240 * vc/vc-mtn.el (vc-exec-after): Declare.
8241 (vc-switches): Autoload.
8242 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8243 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8244 (vc-file-tree-walk): Declare.
8245 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8246 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8247 (vc-tag-precondition, vc-rename-master): Autoload.
8248 * vc/vc-svn.el (vc-exec-after): Declare.
8249 (vc-switches, vc-setup-buffer): Autoload.
8250 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8252 (vc-resynch-buffer): Declare.
8254 * obsolete/fast-lock.el (byte-compile-warnings):
8255 Don't warn about obsolete features in this obsolete file.
8257 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8258 Move definition before use.
8260 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8261 (dun-unix-verbs): Remove dun-zippy.
8262 (dun-zippy): Remove function.
8264 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8266 2013-05-27 Juri Linkov <juri@jurta.org>
8268 * replace.el (replace-search): New function with code moved out
8269 from `perform-replace'.
8270 (replace-highlight, replace-dehighlight): Move function definitions
8271 up closer to `replace-search'. (Bug#11746)
8273 2013-05-27 Juri Linkov <juri@jurta.org>
8275 * replace.el (perform-replace): Ignore invisible matches.
8276 In addition to checking `query-replace-skip-read-only', also
8277 filter out matches by calling `run-hook-with-args-until-failure'
8278 on `isearch-filter-predicates', and also check `search-invisible'
8279 for t or call `isearch-range-invisible'.
8280 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8282 2013-05-27 Juri Linkov <juri@jurta.org>
8284 * isearch.el (isearch-filter-predicates): Rename from
8285 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8286 (isearch-message-prefix): Display text from the property
8287 `isearch-message-prefix' of the currently active filters.
8288 (isearch-search): Don't compare `isearch-filter-predicate' with
8289 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8290 on `isearch-filter-predicates'. Also check `search-invisible' for t
8291 or call `isearch-range-invisible'.
8292 (isearch-filter-visible): Make obsolete.
8293 (isearch-lazy-highlight-search):
8294 Call `run-hook-with-args-until-failure' on
8295 `isearch-filter-predicates' and use `isearch-range-invisible'.
8297 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8298 `isearch-filter-predicates' instead of `funcall'ing
8299 `isearch-filter-predicate'.
8300 (Info-mode): Set `Info-isearch-filter' to
8301 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8303 * dired-aux.el (dired-isearch-filter-predicate-orig):
8305 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8306 (dired-isearch-filenames-end): Add and remove
8307 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8308 instead of changing the value of `isearch-filter-predicate'.
8309 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8310 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8311 Put property `isearch-message-prefix' to "filename " on
8312 `dired-isearch-filter-filenames'.
8314 * wdired.el (wdired-change-to-wdired-mode):
8315 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8316 locally instead of changing `isearch-filter-predicate'.
8317 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8319 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8321 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8322 return the commit hash (Bug#14459). Also set the
8323 `vc-git-detached' property.
8324 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8325 (vc-git-mode-line-string): Use the same help-echo format whether
8326 in detached mode or not, because we know the actual revision now.
8327 When in detached mode, shorten the revision to 7 chars.
8329 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8331 * emacs-lisp/easy-mmode.el (define-minor-mode):
8332 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8333 mode hook and provide a docstring.
8335 2013-05-27 Alan Mackenzie <acm@muc.de>
8337 Remove spurious syntax-table text properties inserted by C-y.
8338 * progmodes/cc-mode.el (c-after-change): Also clear hard
8339 syntax-table property with value nil.
8341 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8343 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8344 when reading the events; the buffer layout shall not be changed.
8346 2013-05-27 Leo Liu <sdl.web@gmail.com>
8348 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8350 (inferior-octave-directory-tracker): Automatically re-sync
8352 (octave-help): Improve handling of 'See also'.
8354 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8356 * doc-view.el: Minor naming convention tweaks.
8357 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8359 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8360 even if there's no `display' property yet (bug#14435).
8362 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8364 * subr.el (unmsys--file-name): Rename from reveal-filename.
8366 * Makefile.in (custom-deps, finder-data, autoloads)
8367 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8368 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8369 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8371 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8373 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8374 error-completion on the first 2 args of condition-case (bug#14446).
8377 2013-05-25 Leo Liu <sdl.web@gmail.com>
8379 * comint.el (comint-previous-matching-input): Do not flood the
8380 *Messages* buffer with trivial messages.
8382 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8384 * progmodes/flymake.el (flymake-nop): Don't return a string.
8385 (flymake-set-at): Fix typo.
8387 * simple.el (read--expression): New function, extracted from
8388 eval-expression. Set completion-at-point-functions (bug#14465).
8389 (eval-expression, eval-minibuffer): Use it.
8391 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8393 * progmodes/flymake.el (flymake-save-buffer-in-file)
8394 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8395 (flymake-selected-frame, flymake-log, flymake-ins-after)
8396 (flymake-set-at, flymake-get-buildfile-from-cache)
8397 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8398 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8399 Refine the doc string.
8400 (flymake-get-file-name-mode-and-masks): Reformat.
8401 (flymake-get-real-file-name-function): Fix a minor bug.
8403 2013-05-24 Juri Linkov <juri@jurta.org>
8405 * progmodes/grep.el (grep-mode-font-lock-keywords):
8406 Support =linenumber= format used by git-grep for lines with
8407 function names. (Bug#13549)
8409 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8411 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8412 0 after a semi-colon; it works better for smie-auto-fill.
8413 (octave--indent-new-comment-line): New function.
8414 (octave-indent-new-comment-line): Use it (indirectly).
8415 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8416 modify comment-line-break-function.
8418 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8419 (smie-setup): Use add-function to set it.
8421 2013-05-24 Sam Steingold <sds@gnu.org>
8423 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8424 argument (before the `interactive' argument).
8426 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8428 * image-mode.el (image-mode-winprops): Add winprops to
8429 image-mode-winprops-alist before running
8430 image-mode-new-window-functions.
8431 * doc-view.el (doc-view-new-window-function): Don't delay
8432 doc-view-goto-page via timers (bug#14435).
8434 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8436 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8437 (doc-view-desktop-save-buffer): New function.
8438 (doc-view-restore-desktop-buffer): New function.
8439 (desktop-buffer-mode-handlers):
8440 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8442 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8443 `desktop-save-buffer' function.
8445 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8447 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8448 (tramp-gvfs-file-name-handler): Raise a user error when
8449 `tramp-gvfs-enabled' is nil.
8450 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8451 Do not raise a user error when loading package. (Bug#14447)
8453 * net/xesam.el: Move to obsolete/.
8455 2013-05-24 Glenn Morris <rgm@gnu.org>
8457 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8459 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8461 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8462 (Info-find-node, Man-getpage-in-background): Declare.
8464 * mail/unrmail.el (unrmail):
8465 Replace obsolete detect-coding-with-priority.
8467 * net/socks.el (socks-split-string): Use this rather than split-string.
8468 (socks-nslookup-host): Update for above change.
8469 (dynamic-choice, s5-dynamic-choice-match)
8470 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8471 Comment out unused code.
8473 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8474 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8475 (gud-tooltip-echo-area): Make obsolete.
8476 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8478 * progmodes/js.el (js--optimize-arglist): Declare.
8480 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8482 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8483 (ediff-window-C): Declare.
8485 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8486 Tweak requires to silence compiler.
8488 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8489 (he-search-string, he-tried-table, he-expand-list)
8490 (he-init-string, he-string-member, he-substitute-string)
8491 (he-reset-string): Declare.
8493 * obsolete/options.el (list-options): Use custom-variable-p,
8494 rather than obsolete alias.
8496 2013-05-23 Sam Steingold <sds@gnu.org>
8498 * simple.el (shell-command-on-region): Pass the `replace' argument
8499 down to `call-process-region' to comply with the doc as reported on
8500 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8502 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8504 * emacs-lisp/smie.el (smie-indent-forward-token)
8505 (smie-indent-backward-token): Handle string tokens (bug#14381).
8507 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8509 * ielm.el (ielm-menu): New menu.
8510 (inferior-emacs-lisp-mode): Set comment-start.
8512 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8514 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8515 Fix deactivate action.
8517 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8518 Add cleveref macros.
8520 * lisp/textmodes/reftex-parse.el
8521 (reftex-locate-bibliography-files): Accept options for
8522 bibliography commands.
8523 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8524 Add addbibresource. Basic Biblatex support.
8526 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8528 * net/tramp-gvfs.el (top):
8529 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8530 when loading package. (Bug#14447)
8532 2013-05-23 Glenn Morris <rgm@gnu.org>
8534 * progmodes/js.el: No need to load comint when compiling.
8535 (ring-insert, comint-send-string, comint-send-input)
8536 (comint-last-input-end, ido-chop): Declare.
8538 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8539 * vc/ediff-mult.el: Adjust requires.
8540 (ediff-directories-internal, ediff-directory-revisions-internal)
8541 (ediff-patch-file-internal): Declare.
8542 * vc/ediff-ptch.el: Adjust requires.
8543 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8544 (ediff-find-file): Autoload.
8545 * vc/ediff-util.el: No need to load ediff when compiling.
8546 (ediff-regions-internal): Declare.
8547 * vc/ediff-wind.el: Adjust requires.
8548 (ediff-compute-toolbar-width): Define when compiling.
8549 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8550 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8551 (dired-get-filename, dired-get-marked-files)
8552 (ediff-last-dir-patch, ediff-patch-default-directory)
8553 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8554 (ediff-patch-buffer-internal): Declare.
8556 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8557 (ispell-process, ispell-buffer-local-words, lm-summary)
8558 (lm-section-start, lm-section-end): Declare.
8559 (checkdoc-ispell-init): Simplify.
8561 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8562 (he-string-member, he-reset-string, he-substitute-string): Declare.
8564 * eshell/em-ls.el: Adjust requires.
8565 (eshell-glob-regexp): Declare.
8566 * eshell/em-tramp.el: Adjust requires.
8567 (eshell-parse-command): Autoload.
8568 * eshell/em-xtra.el: Adjust requires.
8569 (eshell-parse-command): Autoload.
8570 * eshell/esh-ext.el: Adjust requires.
8571 (eshell-parse-command, eshell-close-handles): Autoload.
8572 * eshell/esh-io.el: Adjust requires.
8573 (eshell-output-filter): Autoload.
8574 * eshell/esh-util.el: No need to load tramp when compiling.
8575 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8577 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8578 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8579 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8580 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8581 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8582 * eshell/esh-opt.el, eshell/esh-proc.el:
8583 * eshell/esh-var.el: Adjust requires.
8584 * eshell/eshell.el: Do not require esh-util twice.
8585 (eshell-add-input-to-history): Declare.
8586 (eshell-command): Check history module is active before using it.
8588 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8590 2013-05-22 Leo Liu <sdl.web@gmail.com>
8592 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8594 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8596 * autorevert.el (auto-revert-notify-add-watch)
8597 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8598 it indicates changes in file modification time.
8600 2013-05-22 Glenn Morris <rgm@gnu.org>
8602 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8603 Always delete the autoloaded function from the noruntime and
8604 unresolved functions lists.
8606 * allout.el: No need to load epa, epg, overlay when compiling.
8607 (epg-context-set-passphrase-callback, epg-list-keys)
8608 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8609 (epg-key-user-id-list): Declare.
8611 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8612 (viper-set-parsing-style-toggling-macro)
8613 (viper-set-emacs-state-searchstyle-macros):
8614 Use called-interactively-p on Emacs.
8615 (viper-looking-back): Make it an obsolete alias. Update callers.
8616 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8617 Use looking-back rather than viper-looking-back.
8618 (viper-tmp-insert-at-eob, viper-enlarge-region)
8619 (viper-read-string-with-history, viper-register-to-point)
8620 (viper-append-to-register, viper-change-state-to-vi)
8621 (viper-backward-char-carefully, viper-forward-char-carefully)
8622 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8623 (viper-change-state-to-emacs): Declare.
8624 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8625 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8626 * emulation/viper-mous.el: Do not load viper-cmd.
8627 (viper-backward-char-carefully, viper-forward-char-carefully)
8628 (viper-forward-word, viper-adjust-window): Declare.
8630 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8632 * progmodes/idlw-help.el (idlwave-help-fontify):
8633 Use called-interactively-p.
8635 * term/w32console.el (w32-get-console-codepage)
8636 (w32-get-console-output-codepage): Declare.
8638 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8639 Remove unnecessary declarations.
8640 (dframe-message): Doc fix.
8642 * info.el (dframe-select-attached-frame, dframe-current-frame):
8645 * speedbar.el (speedbar-message): Make it an obsolete alias.
8647 (speedbar-with-attached-buffer)
8648 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8649 (speedbar-with-writable): Use backquote.
8650 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8651 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8652 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8653 rather than speedbar- aliases.
8654 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8655 (speedbar-make-specialized-keymap, speedbar-insert-button)
8656 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8657 (speedbar-do-function-pointer): Declare.
8658 (rmail-speedbar-button, rmail-speedbar-find-file)
8659 (rmail-speedbar-move-message):
8660 Use dframe-with-attached-buffer rather than speedbar- alias.
8661 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8662 (dframe-message, speedbar-make-specialized-keymap)
8663 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8664 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8665 (speedbar-insert-button, dframe-select-attached-frame)
8666 (dframe-maybee-jump-to-attached-frame)
8667 (speedbar-change-initial-expansion-list)
8668 (speedbar-previously-used-expansion-list-name): Declare.
8669 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8670 Use dframe-message, dframe-with-attached-buffer rather than
8672 (gud-sentinel): Silence compiler.
8673 * progmodes/vhdl-mode.el (speedbar-refresh)
8674 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8675 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8676 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8677 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8678 (speedbar-file-lists, speedbar-make-tag-line)
8679 (speedbar-line-directory, speedbar-goto-this-file)
8680 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8681 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8682 (speedbar-make-button, speedbar-reset-scanners)
8683 (speedbar-files-item-info, speedbar-line-text)
8684 (speedbar-find-file-in-frame, speedbar-set-timer)
8685 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8686 (speedbar-with-writable): Do not (re)define it.
8687 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8688 rather than speedbar- alias.
8690 2013-05-21 Leo Liu <sdl.web@gmail.com>
8692 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8694 (octave-mode): Tweak fill-nobreak-predicate.
8695 (inferior-octave-startup): Check process to avoid infinite loop.
8696 (inferior-octave): Pop to buffer first to show abornmal process
8699 2013-05-21 Glenn Morris <rgm@gnu.org>
8701 * printing.el (pr-menu-bar): Define when compiling.
8703 2013-05-21 Leo Liu <sdl.web@gmail.com>
8705 * progmodes/octave.el (octave-auto-fill): Remove.
8706 (octave-indent-new-comment-line): Improve.
8707 (octave-mode): Use auto fill mode through
8708 comment-line-break-function and fill-nobreak-predicate.
8709 (octave-goto-function-definition): Support DEFUN_DLD.
8710 (octave-beginning-of-defun): Small tweak.
8711 (octave-help): Show parent directory.
8713 2013-05-21 Glenn Morris <rgm@gnu.org>
8715 * files.el (dired-unmark):
8716 * progmodes/gud.el (gdb-input): Update declarations.
8718 * calculator.el (electric, ehelp): No need to load when compiling.
8719 (Electric-command-loop, electric-describe-mode): Declare.
8721 * doc-view.el (doc-view-current-converter-processes): Move before use.
8723 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8724 Move MODE-set-explicitly definition before use.
8726 * international/mule-diag.el (mule-diag):
8727 Don't use obsolete window-system-version.
8729 * mail/feedmail.el (smtpmail): No need to load when compiling.
8730 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8732 * mail/mail-utils.el (rfc822): No need to load when compiling.
8733 (rfc822-addresses): Autoload it.
8734 (mail-strip-quoted-names): Trivial simplification.
8736 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8737 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8739 * net/snmp-mode.el (tempo): Don't duplicate requires.
8741 * progmodes/prolog.el (info): No need to load when compiling.
8742 (comint): Require before shell requires it.
8743 (Info-goto-node): Autoload it.
8744 (Info-follow-nearest-node): Declare.
8745 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8747 * textmodes/artist.el (picture-mode-exit): Declare.
8749 * textmodes/reftex-parse.el (reftex-parse-from-file):
8750 Trivial rewrite so the compiler can parse it better.
8752 2013-05-20 Leo Liu <sdl.web@gmail.com>
8754 * progmodes/octave.el (octave-help-mode-map)
8755 (octave-help-mode-finish-hook): New variables.
8756 (octave-help-mode, octave-help-mode-finish): New functions.
8757 (octave-help): Use octave-help-mode.
8759 2013-05-20 Glenn Morris <rgm@gnu.org>
8761 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8763 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8765 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8766 start at point, so that expansion starting right after opening
8767 slash in a regexp is recognized.
8768 (ruby-syntax-before-regexp-re): New defvar, extracted from
8769 ruby-syntax-propertize-function. Since the value of this regexp
8770 is looked up at runtime now, we should be able to turn
8771 `ruby-syntax-methods-before-regexp' into a defcustom later.
8772 (ruby-syntax-propertize-function): Split regexp matching into two
8773 parts, for opening and closing slashes. That allows us to skip
8774 over string interpolations and support multiline regexps.
8775 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8776 for them, which calls `ruby-syntax-propertize-expansion'.
8777 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
8778 call to `ruby-syntax-propertize-function'.
8779 (ruby-syntax-propertize-expansion): Extracted from
8780 `ruby-syntax-propertize-expansions'. Handles one expansion.
8781 (ruby-syntax-propertize-percent-literal): Leave point right after
8782 the percent symbol, so that the expression expansion rule can
8783 propertize the contents.
8784 (ruby-syntax-propertize-heredoc): Leave point at bol following the
8786 (ruby-syntax-propertize-expansions): Remove.
8788 2013-05-18 Juri Linkov <juri@jurta.org>
8790 * man.el (Man-default-man-entry): Remove `-' from the end
8791 of the default value. (Bug#14400)
8793 2013-05-18 Glenn Morris <rgm@gnu.org>
8795 * comint.el (comint-password-prompt-regexp):
8796 Allow "password for XXX" where XXX contains colons (eg https://...).
8798 2013-05-18 Leo Liu <sdl.web@gmail.com>
8800 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
8801 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
8802 (octave-source-directories): Don't check process.
8803 (octave-source-directories, octave-find-definition): Doc fix.
8805 2013-05-18 Glenn Morris <rgm@gnu.org>
8807 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
8808 Remove backspace/delete bindings. (Bug#14392)
8810 * cus-dep.el (custom-make-dependencies): Sort the output.
8811 (custom-versions-load-alist): Convert comment to doc.
8813 2013-05-17 Leo Liu <sdl.web@gmail.com>
8815 * newcomment.el (comment-search-backward): Stricter in finding
8816 comment start. (Bug#14303)
8818 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
8819 (octave-comment-start-skip): Properly anchored.
8821 2013-05-17 Leo Liu <sdl.web@gmail.com>
8823 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
8824 Clean up when turned off. (Bug#14395)
8825 (smie--highlight-matching-block-overlay): No longer buffer-local.
8826 (smie-highlight-matching-block): Adjust.
8828 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
8830 Doc string fix for "nanoseconds" (Bug#14406).
8831 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
8832 Fix doc string typo that had "nanoseconds" instead of "microseconds".
8834 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
8836 * calc/calc-units.el (math-extract-units): Preserve powers
8839 2013-05-17 Leo Liu <sdl.web@gmail.com>
8841 * subr.el (delete-consecutive-dups): New function.
8842 * ido.el (ido-set-matches-1): Use it.
8843 * progmodes/octave.el (inferior-octave-completion-table): Use it.
8844 * ido.el (ido-remove-consecutive-dups): Remove.
8846 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8848 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
8849 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
8850 regexp-opt's `words'.
8852 2013-05-16 Leo Liu <sdl.web@gmail.com>
8854 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
8855 (smie--highlight-matching-block-overlay)
8856 (smie--highlight-matching-block-lastpos)
8857 (smie--highlight-matching-block-timer): New variables.
8858 (smie-highlight-matching-block): New function.
8859 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
8860 (smie-setup): Conditionally enable smie-blink-matching-open.
8862 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
8864 Sync with upstream verilog-mode r840.
8865 * progmodes/verilog-mode.el (verilog-mode-version)
8866 (verilog-mode-release-date): Update.
8867 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
8868 (verilog-sig-tieoff): Fix string error on
8869 AUTORESET with colon define, bug594. Reported by Andrew Hou.
8870 (verilog-read-decls): Fix parameters confusing
8871 AUTOINST interfaces, bug565. Reported by Leith Johnson.
8873 2013-05-16 Eli Zaretskii <eliz@gnu.org>
8875 * subr.el (reveal-filename): New function.
8877 * loadup.el: Compute Emacs executable versions on MS-Windows,
8878 where executables have the .exe extension. Add a hard link
8879 emacs-XX.YY.ZZ.exe on MS-Windows.
8881 * Makefile.in (XARGS_LIMIT): New variable.
8882 (custom-deps, finder-data, autoloads)
8883 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8884 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8885 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
8886 (compile-main): Limit xargs according to $(XARGS_LIMIT).
8888 2013-05-16 Leo Liu <sdl.web@gmail.com>
8890 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
8891 (octave-mode-menu, octave-mode-map): Remove its uses.
8893 2013-05-16 Reto Zimmermann <reto@gnu.org>
8895 Sync with upstream vhdl mode v3.34.2.
8896 * progmodes/vhdl-mode.el: Use `push' throughout.
8897 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
8898 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
8899 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
8900 (vhdl-actual-generic-name): New option to derive actual generic name.
8901 (vhdl-port-paste-signals): Replace formal by actual generics.
8902 (vhdl-beautify): New name for old group vhdl-align. Update users.
8903 (vhdl-beautify-options): New option.
8904 (vhdl-last-input-event): New compat alias. Use throughout.
8905 (vhdl-goto-line): Replace user level function `goto-line'.
8906 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
8907 vhdl-fix-statement-buffer.
8908 (vhdl-create-mode-menu): Add some entries.
8909 (vhdl-align-region-groups): Respect vhdl-beautify-options.
8910 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
8911 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
8912 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
8913 to force statements on one line.
8914 (vhdl-remove-trailing-spaces-region):
8915 New, split from vhdl-remove-trailing-spaces.
8916 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
8917 Respect vhdl-beautify-options.
8918 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
8919 (vhdl-update-sensitivity-list): Not add with index if exists without.
8920 Not include array index with signal. Ignore keywords in comments.
8921 (vhdl-get-visible-signals): Regexp tweaks.
8922 (vhdl-template-component-inst): Handle empty library.
8923 (vhdl-template-type): Add template for 'enum' type.
8924 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
8925 Use vhdl-replace-string.
8926 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
8927 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
8928 (vhdl-speedbar-initialize): Update for above name change.
8929 (vhdl-compose-wire-components): Fix in handling of constants.
8930 (vhdl-error-regexp-emacs-alist): New variable.
8931 (vhdl-error-regexp-add-emacs): New function;
8932 adds support for new compile.el (Emacs 22+)
8933 (vhdl-generate-makefile-1): Change target order for single lib. units.
8934 Allow use of absolute file names.
8936 2013-05-16 Leo Liu <sdl.web@gmail.com>
8938 * simple.el (prog-indent-sexp): Indent enclosing defun.
8940 2013-05-15 Glenn Morris <rgm@gnu.org>
8942 * cus-start.el (show-trailing-whitespace): Move to editing basics.
8943 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
8944 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
8945 (whitespace-highlight): Move to whitespace group.
8947 * comint.el (comint-source):
8948 * pcmpl-linux.el (pcmpl-linux):
8949 * shell.el (shell-faces):
8950 * eshell/esh-opt.el (eshell-opt):
8951 * international/ccl.el (ccl): Remove empty custom groups.
8953 * completion.el (dynamic-completion-mode):
8954 * jit-lock.el (jit-lock-debug-mode):
8955 * minibuffer.el (completion-in-region-mode):
8956 * type-break.el (type-break-mode-line-message-mode)
8957 (type-break-query-mode):
8958 * emulation/tpu-edt.el (tpu-edt-mode):
8959 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8960 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8961 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8963 * term/xterm.el (xterm): Change parent group to terminals.
8965 * master.el (master): Remove empty custom group.
8966 (master-mode): Remove unused :group argument.
8967 * textmodes/refill.el (refill): Remove empty custom group.
8968 (refill-mode): Remove unused :group argument.
8970 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8972 * cus-dep.el: Provide a feature.
8973 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8974 Don't mistakenly ignore files whose basenames match a basename
8975 from preloaded-file-list (eg cedet/ede/simple.el).
8976 Add a fallback method for getting :group.
8978 2013-05-15 Juri Linkov <juri@jurta.org>
8980 * isearch.el (isearch-char-by-name): Rename from
8981 `isearch-insert-char-by-name'. Doc fix.
8982 (isearch-forward): Mention `isearch-char-by-name' in
8983 the docstring. (Bug#13348)
8985 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8986 `exit-minibuffer' instead of
8987 `isearch-nonincremental-exit-minibuffer'.
8988 (isearch-edit-string): Remove mention of
8989 `isearch-nonincremental-exit-minibuffer' from docstring.
8990 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8991 (isearch-forward-exit-minibuffer)
8992 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8994 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8996 * loadup.el: Just use unversioned DOC.
8998 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8999 literals as extending to EOB.
9000 (nxml-last-fontify-end): Remove unused variable.
9001 (nxml-after-change1): Use with-silent-modifications.
9002 (nxml-extend-after-change-region): Simplify.
9003 (nxml-extend-after-change-region1): Remove function.
9004 (nxml-after-change1): Don't adjust for dependent regions.
9005 (nxml-fontify-matcher): Simplify.
9006 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9007 (xmltok-add-dependent): Remove function.
9008 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9009 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9010 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9011 unclosed <[[, <?, comment, and other literals as extending to EOB.
9012 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9013 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9015 (rng-do-some-validation-1): Don't mark dependent regions.
9016 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9017 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9018 (nxml-clear-dependent-regions): Remove functions.
9019 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9020 (nxml-ensure-scan-up-to-date):
9021 Don't clear&mark dependent regions.
9023 2013-05-15 Leo Liu <sdl.web@gmail.com>
9025 * progmodes/octave.el (octave-goto-function-definition):
9026 Improve and fix callers.
9028 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9030 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9031 the setter (bug#14387).
9033 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9034 surrounding group (bug#14402).
9036 2013-05-14 Juri Linkov <juri@jurta.org>
9038 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9041 2013-05-14 Glenn Morris <rgm@gnu.org>
9043 * progmodes/f90.el (f90-imenu-generic-expression):
9044 Fix typo in 2013-05-08 change. (Bug#14402)
9046 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9048 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9049 Remove signals for which replies are never received.
9051 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9053 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9054 (gdb-handler-alist, gdb-handler-number): Remove variables.
9055 (gdb-handler-list): New variable.
9056 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9057 (gdb-pending-handler-p, gdb-handle-reply)
9058 (gdb-remove-all-pending-triggers): New functions.
9059 (gdb-discard-unordered-replies): New defcustom.
9060 (gdb-handler): New defstruct.
9061 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9062 instead of gdb-pending-triggers. Update docstring.
9063 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9064 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9065 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9066 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9067 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9068 (gdb-frame-handler): Pending triggers are now automatically managed.
9069 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9071 (gdb-input): Automatically handles pending triggers. Update docstring.
9072 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9073 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9075 (gdb-done-or-error): Now use gdb-handle-reply.
9077 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9079 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9082 2013-05-14 Glenn Morris <rgm@gnu.org>
9084 * subr.el (user-emacs-directory-warning): New option.
9085 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9087 2013-05-14 Leo Liu <sdl.web@gmail.com>
9089 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9091 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9092 (octave-font-lock-texinfo-comment): Fix invalid search bound
9093 error: wrong side of point.
9095 2013-05-14 Glenn Morris <rgm@gnu.org>
9097 * progmodes/flymake.el (flymake-xml-program): New option.
9098 (flymake-xml-init): Use it.
9100 * term/xterm.el: Provide a feature.
9102 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9104 2013-05-13 Glenn Morris <rgm@gnu.org>
9106 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9107 Add compat aliases as a hack workaround. (Bug#14384)
9109 2013-05-13 Leo Liu <sdl.web@gmail.com>
9111 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9113 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9115 (octave-comment-start-skip): Include %!.
9116 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9118 2013-05-12 Leo Liu <sdl.web@gmail.com>
9120 * progmodes/octave.el (inferior-octave-startup): Store the value
9121 of __octave_srcdir__ for octave-source-directories.
9122 (inferior-octave-check-process): New function refactored out of
9123 inferior-octave-send-list-and-digest.
9124 (octave-source-directories)
9125 (octave-find-definition-filename-function): New variables.
9126 (octave-source-directories)
9127 (octave-find-definition-default-filename): New functions.
9128 (octave-find-definition): Improve to find functions implemented in C++.
9130 2013-05-12 Glenn Morris <rgm@gnu.org>
9132 * calendar/diary-lib.el (diary-outlook-format-1):
9133 Don't include dayname in the output. (Bug#14349)
9135 2013-05-11 Glenn Morris <rgm@gnu.org>
9137 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9139 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9140 Treat cc-provide like provide.
9142 2013-05-11 Kevin Ryde <user42@zip.com.au>
9144 * cus-dep.el (custom-make-dependencies):
9145 Use generated-autoload-load-name for the sake of files such
9146 such cedet/semantic/bovine/c.el, where the base file name
9147 is not in load-path. (Bug#5277)
9149 2013-05-11 Glenn Morris <rgm@gnu.org>
9151 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9154 2013-05-11 Leo Liu <sdl.web@gmail.com>
9156 * progmodes/octave.el (octave-indent-comment): Improve.
9157 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9158 (octave-eldoc-function-signatures, octave-eldoc-function):
9160 (octave-mode, inferior-octave-mode): Add eldoc support.
9162 2013-05-11 Richard Stallman <rms@gnu.org>
9164 * epa.el (epa-decrypt-file): Take output file name as argument
9165 and read it using `interactive'.
9167 2013-05-11 Leo Liu <sdl.web@gmail.com>
9169 * progmodes/octave.el (octave-beginning-of-line)
9170 (octave-end-of-line): Check before using up-list because it jumps
9171 out of more syntactic contructs since moving to smie.
9172 (octave-indent-comment): New function.
9173 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9174 (octave-begin-keywords, octave-end-keywords)
9175 (octave-reserved-words, octave-smie-bnf-table)
9176 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9178 2013-05-11 Glenn Morris <rgm@gnu.org>
9180 * faces.el (internal-face-x-get-resource):
9181 * frame.el (ns-display-monitor-attributes-list):
9182 * calc/calc-aent.el (math-to-radians-2):
9183 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9186 * calc/calc-menu.el: Make it loadable in isolation.
9188 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9189 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9190 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9191 (eudc-bbdb-query-internal): Require 'bbdb.
9193 * lpr.el (lpr-headers-switches):
9194 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9196 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9198 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9200 * term.el (term-set-escape-char): Make it idempotent.
9202 2013-05-10 Leo Liu <sdl.web@gmail.com>
9204 * progmodes/octave.el (inferior-octave-completion-table):
9205 No longer a function and all uses changed. Use cache to speed up
9206 completion due to bug#11906.
9207 (octave-beginning-of-defun): Re-write to be more general.
9209 2013-05-10 Glenn Morris <rgm@gnu.org>
9211 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9213 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9215 * comint.el (comint-redirect-send-command-to-process): Use :around
9216 rather than :override for comint-redirect-filter.
9217 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9218 Call it instead of comint-redirect-original-filter-function (which
9219 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9221 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9223 * frame.el (display-monitor-attributes-list): Add NS case.
9224 (ns-display-monitor-attributes-list): Declare.
9226 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9228 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9230 2013-05-09 Glenn Morris <rgm@gnu.org>
9232 * international/fontset.el (vertical-centering-font-regexp):
9235 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9237 * bookmark.el (bookmark-search-delay):
9238 * cus-start.el (vertical-centering-font-regexp):
9239 * ps-mule.el (ps-mule-font-info-database-default):
9240 * ps-print.el (ps-default-fg, ps-default-bg):
9241 * type-break.el (type-break-good-break-interval):
9242 * whitespace.el (whitespace-indentation-regexp)
9243 (whitespace-space-after-tab-regexp):
9244 * emacs-lisp/testcover.el (testcover-1value-functions)
9245 (testcover-noreturn-functions, testcover-progn-functions)
9246 (testcover-prog1-functions):
9247 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9248 * eshell/em-glob.el (eshell-glob-translate-alist):
9249 * play/tetris.el (tetris-tty-colors):
9250 * progmodes/cpp.el (cpp-face-default-list):
9251 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9252 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9253 (idlwave-help-browser-generic-args):
9254 * progmodes/make-mode.el (makefile-special-targets-list):
9255 * progmodes/python.el (python-shell-virtualenv-path):
9256 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9257 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9258 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9259 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9260 * textmodes/reftex-vars.el (reftex-format-label-function):
9261 * textmodes/remember.el (remember-diary-file): Fix custom types.
9263 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9266 2013-05-09 Leo Liu <sdl.web@gmail.com>
9268 * progmodes/octave.el (inferior-octave-completion-at-point):
9269 Restore file completion. (Bug#14300)
9270 (inferior-octave-startup): Fix incorrect highlighting for the
9273 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9275 * progmodes/ruby-mode.el: First cut at SMIE support.
9276 (ruby-use-smie): New var.
9277 (ruby-smie-grammar): New constant.
9278 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9279 (ruby-smie--forward-token, ruby-smie--backward-token)
9280 (ruby-smie-rules): New functions.
9281 (ruby-mode-variables): Setup SMIE if applicable.
9283 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9285 * simple.el (line-move-visual): Signal beginning/end of buffer
9286 only if vertical-motion moved less than it was requested. Avoids
9287 silly incorrect error messages when there are display strings with
9288 multiple newlines at EOL.
9290 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9292 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9293 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9294 (prolog-char-quote-workaround):
9295 * progmodes/cperl-mode.el (cperl-under-as-char):
9296 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9298 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9300 (vhdl-mode-syntax-table-init): Remove.
9302 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9305 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9307 (ld-script-font-lock-keywords):
9308 Change regexps to use things like \_< and \_>.
9310 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9311 Change all regexps to use things like \_< and \_>.
9313 * progmodes/autoconf.el (autoconf-definition-regexp)
9314 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9315 Handle a _ with symbol syntax.
9316 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9318 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9319 Consolidate declaration.
9320 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9322 (ada-create-syntax-table): Remove.
9323 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9324 already has the right syntax nowadays.
9325 (ada-goto-next-word): Don't change the syntax of "_".
9327 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9330 2013-05-08 Sam Steingold <sds@gnu.org>
9332 * thingatpt.el (thing-at-point): Accept optional second argument
9333 NO-PROPERTIES to strip the text properties from the return value.
9334 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9335 to `thing-at-point' instead of stripping the properties ourselves.
9336 Also, when `thing-at-point' fails to find a url, prepend "http://"
9337 to the filename at point on the assumption that the user is
9338 pointing at something like gnu.org/gnu.
9340 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9342 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9343 * faces.el (crm-separator):
9344 Silence byte-compiler.
9346 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9347 (tool-bar-map): Remove unneeded defvars.
9349 2013-05-08 Leo Liu <sdl.web@gmail.com>
9351 Re-work a fix for bug#10994 based on Le Wang's patch.
9352 * ido.el (ido-remove-consecutive-dups): New helper.
9353 (ido-completing-read): Use it.
9354 (ido-chop): Revert fix for bug#10994.
9356 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9358 * cus-edit.el (custom-save-variables):
9359 Pretty-print long values. (Bug#14187)
9361 2013-05-08 Glenn Morris <rgm@gnu.org>
9363 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9364 (m4-mode-syntax-table): Init in the defvar.
9365 (m4-mode-abbrev-table): Let define-derived-mode define it.
9367 2013-05-08 Tom Tromey <tromey@redhat.com>
9369 * progmodes/m4-mode.el (m4-mode-syntax-table):
9370 Do not treat "_" as word constituent. (Bug#14167)
9372 2013-05-07 Glenn Morris <rgm@gnu.org>
9374 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9375 Remove explicit eshell-isearch-cancel-map.
9377 * progmodes/f90.el (f90-smart-end-names): New option.
9378 (f90-smart-end): Doc fix.
9379 (f90-end-block-optional-name): New constant.
9380 (f90-block-match): Respect f90-smart-end-names.
9382 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9384 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9385 about implicit semi-colons (bug#14218).
9387 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9389 * frame.el (display-monitor-attributes-list)
9390 (frame-monitor-attributes): New functions.
9392 2013-05-06 Leo Liu <sdl.web@gmail.com>
9394 * progmodes/octave.el (octave-syntax-propertize-function): Change
9395 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9396 (octave-font-lock-keywords): Use octave-operator-regexp.
9397 (octave-completion-at-point): Rename from
9398 octave-completion-at-point-function.
9399 (inferior-octave-directory-tracker): Robustify.
9400 (octave-text-functions): Remove and fix its uses. No such things
9403 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9405 * emacs-lisp/trace.el (trace--display-buffer): New function.
9406 (trace-make-advice): Use it.
9408 2013-05-06 Juri Linkov <juri@jurta.org>
9410 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9411 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9413 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9414 in the help string. (Bug#12985)
9416 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9418 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9420 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9422 * progmodes/perl-mode.el: Add support for here documents.
9423 (perl-syntax-propertize-function): Match here-doc markers.
9424 (perl-syntax-propertize-special-constructs): Find their end.
9425 (perl-imenu-generic-expression): Use [:alnum:].
9427 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9428 (advice--add-function): Refresh the advice if already present
9431 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9433 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9435 2013-05-06 Glenn Morris <rgm@gnu.org>
9437 * w32-fns.el (w32-charset-info-alist): Declare.
9439 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9440 of its defcustom properties.
9441 (eshell-cmpl-initialize): No need to load pcomplete.
9443 * generic-x.el: No need to require comint when compiling.
9445 * net/eudc-export.el: Make it loadable without bbdb.
9446 (top-level): Use require rather than load-library.
9447 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9448 (eudc-batch-export-records-to-bbdb)
9449 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9452 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9454 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9455 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9456 some tweaks, instead.
9458 2013-05-05 Leo Liu <sdl.web@gmail.com>
9460 * progmodes/octave.el (octave-font-lock-keywords)
9461 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9462 (inferior-octave-send-list-and-digest): Improve error message.
9463 (octave-mode, inferior-octave-mode): Use setq-local.
9464 (octave-help): Set info-lookup-mode.
9466 2013-05-05 Richard Stallman <rms@gnu.org>
9468 * vc/compare-w.el (compare-windows-whitespace):
9469 Treat no-break space as whitespace.
9471 * mail/rmailsum.el (rmail-summary-rmail-update):
9472 Detect empty summary and don't change selected message.
9473 (rmail-summary-goto-msg): Likewise.
9475 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9476 Doc fixes, rename args.
9478 2013-05-05 Alan Mackenzie <acm@muc.de>
9480 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9482 2013-05-05 Juri Linkov <juri@jurta.org>
9484 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9485 to not add the length of the summary segment to the return value.
9488 2013-05-05 Leo Liu <sdl.web@gmail.com>
9490 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9491 (inferior-octave-output-filter): Remove.
9492 (octave-send-region, inferior-octave-startup): Fix callers.
9493 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9494 (octave-binary-file-extensions): New user variable.
9495 (octave-find-definition): Confirm if opening binary files.
9496 (octave-help-file): Use octave-find-definition to get the binary
9498 (octave-help): Adjust for octave-help-file change.
9500 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9502 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9503 Merge the two entries that handle function definitions.
9504 (pascal--syntax-propertize): New const.
9505 (pascal-mode): Use it. Use setq-local.
9507 2013-05-04 Glenn Morris <rgm@gnu.org>
9509 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9510 (diary-from-outlook): Respect diary-from-outlook-function.
9512 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9514 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9515 Move the declaration from C.
9516 (read-minibuffer, eval-minibuffer): Move from C.
9517 (completion-setup-function): Avoid minibuffer-completion-contents.
9519 2013-05-03 Leo Liu <sdl.web@gmail.com>
9521 * progmodes/octave.el (octave-font-lock-keywords): Do not
9522 dehighlight 'end' in comments or strings.
9523 (octave-completing-read, octave-goto-function-definition):
9525 (octave-help-buffer): New user variable.
9526 (octave-help-file, octave-help-function): New button types.
9527 (octave-help): New command and bind it to C-h ;.
9528 (octave-find-definition): New command and bind it to M-.
9529 (user-error): Alias to error if not defined.
9531 2013-05-02 Leo Liu <sdl.web@gmail.com>
9533 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9535 (octave-font-lock-keywords): Include [ and {.
9537 2013-05-02 Leo Liu <sdl.web@gmail.com>
9539 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9540 (inferior-octave): Remove calling comint-mode and return the buffer.
9541 (inferior-octave-startup): Cosmetic changes.
9543 2013-05-02 Leo Liu <sdl.web@gmail.com>
9545 * progmodes/octave.el (octave-syntax-propertize-function):
9546 Include the case when ' is at line beginning. (Bug#14336)
9548 2013-05-02 Glenn Morris <rgm@gnu.org>
9550 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9551 * desktop.el (vc-dir-mode): Just autoload it here.
9553 2013-05-02 Alan Mackenzie <acm@muc.de>
9555 Eliminate variable c-standard-font-lock-fontify-region-function.
9556 * progmodes/cc-mode.el
9557 (c-standard-font-lock-fontify-region-function): Remove.
9558 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9560 2013-05-01 Leo Liu <sdl.web@gmail.com>
9562 * progmodes/octave.el: Compatible with older emacs-24 releases.
9563 (inferior-octave-has-built-in-variables): Remove. Built-in
9564 variables were removed from Octave in 2007.
9565 (inferior-octave-startup): Fix uses.
9566 (comint-line-beginning-position): Remove compatibility code for
9569 2013-05-01 Juri Linkov <juri@jurta.org>
9571 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9573 2013-05-01 Juri Linkov <juri@jurta.org>
9575 * comint.el (comint-previous-matching-input): Don't print message
9576 "History item: %d" when `isearch-mode' is active.
9577 (comint-history-isearch-message): Print message "History item: %d"
9578 when `comint-input-ring-index' is not empty and this function is
9579 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9581 2013-05-01 Leo Liu <sdl.web@gmail.com>
9583 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9584 definitions. Use completion-at-point to insert keywords.
9585 (octave-abbrev-start): Remove.
9586 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9588 2013-04-30 Leo Liu <sdl.web@gmail.com>
9590 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9593 2013-04-30 Alan Mackenzie <acm@muc.de>
9595 Handle arbitrarily long C++ member initialisation lists.
9596 * progmodes/cc-engine.el (c-back-over-member-initializers):
9598 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9599 (most) member init lists.
9601 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9603 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9606 2013-04-30 Leo Liu <sdl.web@gmail.com>
9608 * progmodes/octave.el (octave-variables): Remove. No builtin
9609 variables any more. All converted to functions.
9610 (octave-font-lock-keywords, octave-completion-at-point-function):
9612 (octave-font-lock-texinfo-comment): New user variable.
9613 (octave-texinfo-font-lock-keywords): New variable for texinfo
9615 (octave-function-comment-block): New face.
9616 (octave-font-lock-texinfo-comment): New function.
9617 (octave-mode): Font lock texinfo comment block.
9619 2013-04-29 Leo Liu <sdl.web@gmail.com>
9621 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9622 indexing expression.
9623 (octave-continuation-string): Do not use \.
9624 (inferior-octave-complete-impossible): Remove.
9625 (inferior-octave-completion-table)
9626 (inferior-octave-completion-at-point): Remove its uses.
9627 (inferior-octave-startup): completion_matches was introduced to
9628 Octave in 1996 so safe to assume it.
9629 (octave-function-file-comment): Improve to follow how Octave does it.
9630 (octave-update-function-file-comment): Tweak.
9632 2013-04-29 Leo Liu <sdl.web@gmail.com>
9634 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9635 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9636 (octave-function-file-comment): Fix typo.
9637 (octave-sync-function-file-names): Use read-char-choice.
9639 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9641 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9642 to t for the less important warnings.
9644 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9646 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9648 2013-04-27 Glenn Morris <rgm@gnu.org>
9650 * vc/log-view.el (log-view-current-entry):
9651 Treat "---" separator lines as part of the following rev. (Bug#14169)
9653 2013-04-27 Juri Linkov <juri@jurta.org>
9655 * subr.el (read-number): Doc fix about using it by interactive
9656 code letter `n'. (Bug#14254)
9658 2013-04-27 Juri Linkov <juri@jurta.org>
9660 * desktop.el (desktop-auto-save-timeout): New option.
9661 (desktop-file-checksum): New variable.
9662 (desktop-save): Add optional arg `auto-save' and don't auto-save
9664 (desktop-auto-save-timer): New variable.
9665 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9666 (after-init-hook): Call `desktop-auto-save-set-timer'.
9667 Suggested by Reuben Thomas <rrt@sc3d.org> in
9668 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9670 2013-04-27 Leo Liu <sdl.web@gmail.com>
9672 * progmodes/octave.el (octave-function-file-p)
9673 (octave-skip-comment-forward, octave-function-file-comment)
9674 (octave-update-function-file-comment): New functions.
9675 (octave-mode-map): Bind C-c ; to
9676 octave-update-function-file-comment.
9677 (octave-mode-menu): Add octave-update-function-file-comment.
9678 (octave-mode, inferior-octave-mode): Fix doc-string.
9679 (octave-insert-defun): Conform to Octave's coding convention.
9682 * files.el (basic-save-buffer): Don't let errors in
9683 before-save-hook prevent saving buffer.
9685 2013-04-20 Roland Winkler <winkler@gnu.org>
9687 * faces.el (read-face-name): Use completing-read if arg multiple
9690 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9692 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9693 displayed, move point to after the totals line.
9694 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9697 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9699 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9700 Add current dir to the load-path.
9701 (package-generate-autoloads): Don't rely on
9702 autoload-ensure-default-file.
9704 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9706 * textmodes/remember.el (remember-store-in-files): Document that
9707 the file name format is passed to `format-time-string'.
9709 2013-04-26 Leo Liu <sdl.web@gmail.com>
9711 * progmodes/octave.el (octave-sync-function-file-names): New function.
9712 (octave-mode): Use it in before-save-hook.
9714 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9716 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9719 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9720 \n and comment, even if it's not an implicit ; (bug#14218).
9722 2013-04-26 Glenn Morris <rgm@gnu.org>
9724 * subr.el (read-number): Once more use `read' rather than
9725 `string-to-number', to trap non-numeric input. (Bug#14254)
9727 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9729 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9730 Use `syntax-multiline' text property consistently instead of
9731 `font-lock-multiline'. (Bug#14237)
9733 2013-04-26 Glenn Morris <rgm@gnu.org>
9735 * emacs-lisp/shadow.el (list-load-path-shadows):
9736 No longer necessary to check for duplicate simple.el, since
9737 2012-07-07 change to init_lread to not include installation lisp
9738 directories in load-path when running uninstalled. (Bug#14270)
9740 2013-04-26 Leo Liu <sdl.web@gmail.com>
9742 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9743 (octave-mode, inferior-octave-mode): Use setq-local.
9744 (octave-not-in-string-or-comment-p): Rename to
9745 octave-in-string-or-comment-p.
9746 (octave-in-comment-p, octave-in-string-p)
9747 (octave-in-string-or-comment-p): Replace defsubst with defun.
9749 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9751 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9753 2013-04-25 Bastien Guerry <bzg@gnu.org>
9755 * textmodes/remember.el (remember-data-directory)
9756 (remember-directory-file-name-format): Fix custom types.
9758 2013-04-25 Leo Liu <sdl.web@gmail.com>
9760 * progmodes/octave.el (octave-completion-at-point-function):
9761 Make use of inferior octave process.
9762 (octave-initialize-completions): Remove.
9763 (inferior-octave-completion-table): New function.
9764 (inferior-octave-completion-at-point): Use it.
9765 (octave-completion-alist): Remove.
9767 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9769 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9770 (opascal-mode-syntax-table): New var.
9771 (opascal-literal-kind, opascal-is-literal-end)
9772 (opascal-literal-token-at): Rewrite.
9773 (opascal--literal-start-re, opascal-font-lock-keywords)
9774 (opascal--syntax-propertize): New constants.
9775 (opascal-font-lock-defaults): Adjust.
9776 (opascal-mode): Use them. Set comment-<foo> variables as well.
9777 (delphi-comment-face, opascal-comment-face, delphi-string-face)
9778 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
9779 (delphi-other-face, opascal-other-face): Remove face variables.
9780 (opascal-save-state): Remove macro.
9781 (opascal-fontifying-progress-step): Remove constant.
9782 (opascal--ignore-changes): Remove var.
9783 (opascal-set-token-property, opascal-parse-next-literal)
9784 (opascal-is-stable-literal, opascal-complete-literal)
9785 (opascal-is-literal-start, opascal-face-of)
9786 (opascal-parse-region, opascal-parse-region-until-stable)
9787 (opascal-fontify-region, opascal-after-change)
9788 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
9789 (opascal-debug-parse-region, opascal-debug-parse-window)
9790 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
9791 (opascal-debug-fontify-buffer): Remove.
9792 (opascal-debug-mode-map): Adjust accordingly.
9794 2013-04-25 Leo Liu <sdl.web@gmail.com>
9796 Merge octave-mod.el and octave-inf.el into octave.el with some
9798 * progmodes/octave.el: New file renamed from octave-mod.el.
9799 * progmodes/octave-inf.el: Merged into octave.el.
9800 * progmodes/octave-mod.el: Renamed to octave.el.
9802 2013-04-25 Tassilo Horn <tsdh@gnu.org>
9804 * textmodes/reftex-vars.el
9805 (reftex-label-ignored-macros-and-environments): New defcustom.
9807 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
9809 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9811 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
9812 (smie-indent-keyword): Improve the check to ensure that the next
9813 comment is really on the same line.
9814 (smie-indent-comment): Don't align with a subsequent closer (or eob).
9816 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
9817 semi-colons if the line is not otherwise empty (bug#14218).
9819 2013-04-25 Glenn Morris <rgm@gnu.org>
9821 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
9823 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9825 * progmodes/opascal.el (opascal-set-token-property): Rename from
9826 opascal-set-text-properties and only set `token' (bug#14134).
9827 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
9828 (opascal-literal-text-properties): Remove.
9829 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
9832 2013-04-24 Reuben Thomas <rrt@sc3d.org>
9834 * textmodes/remember.el (remember-handler-functions): Add an
9835 option for a new handler `remember-store-in-files'.
9836 (remember-data-directory, remember-directory-file-name-format):
9838 (remember-store-in-files): New function to store remember notes
9839 as separate files within a directory.
9841 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
9843 * progmodes/compile.el (compilation-next-error-function):
9844 Pass "formats" to compilation-find-file (bug#11777).
9846 2013-04-24 Glenn Morris <rgm@gnu.org>
9848 * vc/vc-bzr.el (vc-bzr-print-log):
9849 * vc/vc-hg.el (vc-hg-print-log):
9850 * vc/vc-svn.el (vc-svn-print-log):
9851 Fix START-REVISION with LIMIT != 1. (Bug#14168)
9853 * vc/vc-bzr.el (vc-bzr-print-log):
9854 * vc/vc-cvs.el (vc-cvs-print-log):
9855 * vc/vc-git.el (vc-git-print-log):
9856 * vc/vc-hg.el (vc-hg-print-log):
9857 * vc/vc-mtn.el (vc-mtn-print-log):
9858 * vc/vc-rcs.el (vc-rcs-print-log):
9859 * vc/vc-sccs.el (vc-sccs-print-log):
9860 * vc/vc-svn.el (vc-svn-print-log):
9861 * vc/vc.el (vc-print-log-internal): Doc fixes.
9863 2013-04-23 Glenn Morris <rgm@gnu.org>
9865 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
9866 Remove venerable code attempting to avoid substitute-command-keys.
9868 2013-04-23 Tassilo Horn <tsdh@gnu.org>
9870 * textmodes/reftex-vars.el (reftex-label-regexps):
9871 Call `reftex-compile-variables' after changes to this variable.
9873 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
9875 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
9876 Use lexical-binding.
9877 (jit-lock-force-redisplay): Use markers, check buffer's continued
9878 existence and beware narrowed buffers.
9879 (jit-lock-fontify-now): Adjust call accordingly.
9881 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
9883 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
9884 to avoid misleading the user.
9886 2013-04-22 Leo Liu <sdl.web@gmail.com>
9888 * info-look.el: Prefer latex2e.info. (Bug#14240)
9890 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
9892 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
9894 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
9895 * net/tramp.el (tramp-call-process): ... here.
9896 (tramp-set-completion-function, tramp-parse-putty):
9897 * net/tramp-adb.el (tramp-adb-execute-adb-command):
9898 * net/tramp-gvfs.el (tramp-gvfs-send-command):
9899 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
9900 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
9901 (tramp-call-local-coding-command): Use `tramp-call-process'
9902 instead of `tramp-compat-call-process'.
9904 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
9905 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
9906 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
9907 (tramp-find-inline-compress): Improve traces.
9908 (tramp-maybe-send-script): Check for Perl binary.
9909 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
9911 2013-04-22 Daiki Ueno <ueno@gnu.org>
9913 * epg.el (epg-context-pinentry-mode): New function.
9914 (epg-context-set-pinentry-mode): New function.
9915 (epg--start): Pass --pinentry-mode option to gpg command.
9917 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
9919 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
9920 `comint-dynamic-complete' is obsolete since 24.1, replaced by
9921 `completion-at-point'. (Bug#13774)
9923 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
9924 default key binding for `describe-distribution' has been moved to
9925 `C-h C-o'. (Bug#13970)
9927 2013-04-21 Glenn Morris <rgm@gnu.org>
9929 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
9931 (vc-print-log): Clarify interactive prompt.
9933 2013-04-20 Glenn Morris <rgm@gnu.org>
9935 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9936 No longer include timestamp etc information.
9938 2013-04-20 Roland Winkler <winkler@gnu.org>
9940 * faces.el (read-face-name): Bug fix, return just one face if arg
9941 multiple is nil. (Bug#14209)
9943 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9945 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9946 (remove-function): Autoload.
9948 * comint.el (comint-redirect-original-filter-function): Remove.
9949 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9950 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9951 (vc-cvs-annotate-command):
9952 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9953 * progmodes/prolog.el (prolog-consult-compile):
9954 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9955 Use add/remove-function instead.
9956 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9957 (gud-tooltip-process-output, gud-tooltip-tips):
9958 Use add/remove-function instead.
9959 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9960 (scheme-interaction-mode, exit-scheme-interaction-mode):
9961 Use add/remove-function instead.
9963 * vc/vc-dispatcher.el: Use lexical-binding.
9964 (vc--process-sentinel): Rename from vc-process-sentinel.
9965 Change last arg to be the code to run. Don't use vc-previous-sentinel
9966 and vc-sentinel-commands any more.
9967 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9968 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9970 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9972 * progmodes/sh-script.el (sh-imenu-generic-expression):
9973 Handle function names with a single character. (Bug#14111)
9975 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9977 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9978 for subroutines defined in an eval (bug#14182).
9980 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9982 * bookmark.el (bookmark-completing-read): Improve handling of empty
9985 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9987 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9989 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9991 New faster Imenu implementation (bug#14058).
9992 * progmodes/python.el:
9993 (python-imenu-prev-index-position):
9994 (python-imenu-format-item-label-function)
9995 (python-imenu-format-parent-item-label-function)
9996 (python-imenu-format-parent-item-jump-label-function):
9998 (python-imenu-format-item-label)
9999 (python-imenu-format-parent-item-label)
10000 (python-imenu-format-parent-item-jump-label)
10001 (python-imenu--put-parent, python-imenu--build-tree)
10002 (python-imenu-create-index, python-imenu-create-flat-index)
10003 (python-util-popn): New functions.
10004 (python-mode): Set imenu-create-index-function to
10005 python-imenu-create-index.
10007 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10009 * winner.el (winner-active-region): Use region-active-p, activate-mark
10010 and deactivate-mark (bug#14225).
10012 * simple.el (deactivate-mark): Don't inline it.
10014 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10016 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10018 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10020 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10021 file extensions from the archive-mode entry in order to prefer
10022 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10024 2013-04-18 Leo Liu <sdl.web@gmail.com>
10026 * bindings.el (help-event-list): Add ?\?.
10028 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10030 * subr.el (with-wrapper-hook): Declare obsolete.
10031 * simple.el (filter-buffer-substring-function): New hook.
10032 (filter-buffer-substring): Use it.
10033 (filter-buffer-substring-functions): Mark obsolete.
10034 * minibuffer.el (completion-in-region-function): New hook.
10035 (completion-in-region): Use it.
10036 (completion-in-region-functions): Mark obsolete.
10037 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10038 * abbrev.el (abbrev-expand-function): New hook.
10039 (expand-abbrev): Use it.
10040 (abbrev-expand-functions): Mark obsolete.
10041 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10042 and :filter-return.
10044 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10046 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10047 and do not care about match data.
10049 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10051 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10052 completion tables when completing error conditions and
10053 `declare' arguments.
10054 (lisp-complete-symbol, field-complete): Mark as obsolete.
10055 (check-parens): Unmatched parens are user errors.
10056 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10058 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10060 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10061 command changed buffer (ie. `flyspell-pre-buffer' is not current
10062 buffer), which prevents making decisions based on invalid value of
10063 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10064 cause an error when `flyspell-pre-point' was nil after switching
10066 (flyspell-post-command-hook): No longer needs to change buffers when
10067 checking pre-word. While at it remove unnecessary progn.
10069 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10071 * textmodes/ispell.el (ispell-add-per-file-word-list):
10072 Fix `flyspell-correct-word-before-point' error when accepting
10073 words and `coment-padding' is an integer by using
10074 `comment-normalize-vars' (Bug #14214).
10076 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10078 New defun movement commands.
10079 * progmodes/python.el (python-nav--syntactically)
10080 (python-nav--forward-defun, python-nav-backward-defun)
10081 (python-nav-forward-defun): New functions.
10083 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10085 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10086 (python-syntax-context): Use named compiler-macro for backwards
10087 compatibility with Emacs 24.x.
10089 2013-04-17 Leo Liu <sdl.web@gmail.com>
10091 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10092 octave-hide-process-buffer.
10094 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10096 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10099 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10101 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10102 Fix adjustment of offset when receiving incomplete responses from GDB
10105 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10107 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10108 python-mode-abbrev-table.
10109 (python-skeleton-define): Adjust accordingly.
10110 (python-mode-abbrev-table): New table that inherits from it so that
10111 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10113 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10114 (abbrev-symbol): Use it.
10115 (abbrev--before-point): Use it since we already handle inheritance.
10117 2013-04-16 Leo Liu <sdl.web@gmail.com>
10119 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10120 binding to info-lookup-symbol.
10122 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10124 * minibuffer.el (completion--twq-all):
10125 * term/ns-win.el (ns-initialize-window-system):
10126 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10128 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10130 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10133 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10135 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10137 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10138 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10140 (ruby-end-of-defun): Remove the unused arg, change the docstring
10141 to reflect that this function is only used as the value of
10142 `end-of-defun-function'.
10143 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10144 to reflect an earlier change that beginning/end-of-defun functions
10145 jump between methods in a class definition, as well as top-level
10148 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10150 * minibuffer.el (minibuffer-complete): Don't just scroll
10151 a *Completions* that's been iconified.
10152 (minibuffer-force-complete): Make sure repetitions do cycle when going
10153 through completion-in-region -> minibuffer-complete.
10155 2013-04-15 Alan Mackenzie <acm@muc.de>
10157 Correct the placement of c-cpp-delimiters when there're #s not at
10160 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10161 place a submatch around the #.
10162 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10163 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10166 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10168 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10169 (advice--member-p): New arg `name'.
10170 (advice--add-function, advice-member-p): Use it (bug#14202).
10172 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10174 Reformulate java imenu-generic-expression.
10175 The old expression contained ill formed regexps.
10177 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10178 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10179 (cc-imenu-java-method-arg-regexp): New defconsts.
10180 (cc-imenu-java-build-type-args-regex): New defun.
10181 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10182 handling of spaces in the regexp.
10184 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10186 * textmodes/ispell.el (ispell-command-loop): Remove
10187 flyspell highlight of a word when ispell accepts it (bug #14178).
10189 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10191 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10192 uses code from the previous `ange-ftp-run-real-handler'.
10193 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10194 only in case that function exist. This is needed for proper
10195 unloading of Tramp.
10197 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10199 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10201 * textmodes/reftex.el (reftex-compile-variables): Use it.
10203 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10205 * files.el (normal-mode): Only use default major-mode if no other mode
10208 * emacs-lisp/trace.el (trace-values): New function.
10210 * files.el: Allow : in local variables (bug#14089).
10211 (hack-local-variable-regexp): New var.
10212 (hack-local-variables-prop-line, hack-local-variables): Use it.
10214 2013-04-13 Roland Winkler <winkler@gnu.org>
10216 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10217 data before it gets modified by bibtex-beginning-of-entry.
10219 2013-04-13 Roland Winkler <winkler@gnu.org>
10221 * textmodes/bibtex.el (bibtex-url): Doc fix.
10223 2013-04-13 Roland Winkler <winkler@gnu.org>
10225 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10226 does not visit a BibTeX file, exclude it from the list of buffers
10227 returned by bibtex-initialize.
10229 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10231 * window.el (split-window): Remove interactive form, since as a
10232 command this function is a special case of split-window-below.
10233 Correct doc string.
10235 2013-04-12 Roland Winkler <winkler@gnu.org>
10237 * faces.el (read-face-name): Do not override value of arg default.
10238 Allow single faces and strings as default values. Remove those
10239 elements from return value that are not faces.
10240 (describe-face): Simplify.
10241 (face-at-point): New optional args thing and multiple so that this
10242 function can provide the same functionality previously provided by
10244 (make-face-bold, make-face-unbold, make-face-italic)
10245 (make-face-unitalic, make-face-bold-italic, invert-face)
10246 (modify-face, read-face-and-attribute): Use face-at-point.
10248 * cus-edit.el (customize-face, customize-face-other-window)
10249 * cus-theme.el (custom-theme-add-face)
10250 * face-remap.el (buffer-face-set)
10251 * facemenu.el (facemenu-set-face): Use face-at-point.
10253 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10255 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10257 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10259 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10260 off leading { and trailing } from field values.
10262 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10264 * emacs-lisp/timer.el (timer--check): New function.
10265 (timer--time, timer-set-function, timer-event-handler): Use it.
10266 (timer-set-idle-time): Simplify.
10267 (timer--activate): CSE.
10268 (timer-event-handler): Give more info in error message.
10269 (internal-timer-start-idle): New function, moved from C.
10271 * mpc.el (mpc-proc): Add `restart' argument.
10272 (mpc-proc-cmd): Use it.
10273 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10274 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10277 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10279 * progmodes/sh-script.el: Implement `sh-mode' own
10280 `add-log-current-defun-function' (bug#14112).
10281 (sh-current-defun-name): New function.
10282 (sh-mode): Use the function.
10284 2013-04-09 Bastien Guerry <bzg@gnu.org>
10286 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10288 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10290 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10292 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10295 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10297 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10300 2013-04-07 Leo Liu <sdl.web@gmail.com>
10302 * pcmpl-x.el: New file.
10304 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10306 Do not set x-display-name until X connection is established.
10307 This is needed to prevent from weird situation described at
10308 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10309 * frame.el (make-frame): Set x-display-name after call to
10310 window system initialization function, not before.
10311 * term/x-win.el (x-initialize-window-system): Add optional
10312 display argument and use it.
10313 * term/w32-win.el (w32-initialize-window-system):
10314 * term/ns-win.el (ns-initialize-window-system):
10315 * term/pc-win.el (msdos-initialize-window-system):
10316 Add compatible optional display argument.
10318 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10320 * files.el (normal-backup-enable-predicate): On MS-Windows and
10321 MS-DOS compare truenames of temporary-file-directory and of the
10322 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10323 don't fail comparison by compare-strings. Also, compare file
10324 names case-insensitively on MS-Windows and MS-DOS.
10326 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10328 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10329 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10331 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10333 * whitespace.el (whitespace-color-on, whitespace-color-off):
10334 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10336 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10338 * ispell.el (ispell-set-spellchecker-params):
10339 Really set `ispell-args' for all equivs.
10341 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10343 * ido.el (ido-completions): Use extra elements of ido-decorations
10345 (ido-decorations): Update docstring.
10347 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10349 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10350 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10351 nil during initialization, in order not to miss changes since the
10352 file was opened. (Bug#14140)
10354 2013-04-05 Leo Liu <sdl.web@gmail.com>
10356 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10358 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10360 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10362 2013-04-04 Glenn Morris <rgm@gnu.org>
10364 * electric.el (electric-pair-inhibit-predicate): Add :version.
10366 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10368 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10369 when a package is required several times (bug#14082).
10371 2013-04-04 Roland Winkler <winkler@gnu.org>
10373 * faces.el (read-face-name): Behave as promised by the docstring.
10374 Assume that arg default is a list of faces.
10375 (describe-face): Call read-face-name with list of default faces.
10377 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10379 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10380 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10381 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10383 (bookmark-exit-hook-internal): Save even if list is empty.
10385 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10387 * emacs-lisp/package.el (package-pinned-packages): New var.
10388 (package--add-to-archive-contents): Obey it (bug#14118).
10390 2013-04-03 Alan Mackenzie <acm@muc.de>
10392 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10393 Also adapt to the new values of element 7 of a parse state.
10395 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10396 parameter `not-in-delimiter'. Handle being inside comment opener.
10397 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10398 character in case we're typing a '*' after a '/'.
10399 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10400 instead by passing the parameter to c-state-pp-to-literal.
10402 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10403 for elt. 7 of a parse state.
10405 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10407 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10408 * international/latin1-disp.el, international/mule-util.el:
10409 * language/cyril-util.el, language/european.el, language/ind-util.el:
10410 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10411 * language/tibetan.el, language/viet-util.el:
10412 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10414 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10416 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10417 (electric-pair-post-self-insert-function): Use it.
10418 (electric-pair-default-inhibit): New function, extracted from
10419 electric-pair-post-self-insert-function.
10421 2013-03-31 Roland Winkler <winkler@gnu.org>
10423 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10425 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10427 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10429 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10431 Un-indent after "pass" and "return" statements (Bug#13888)
10432 * progmodes/python.el (python-indent-block-enders): New var.
10433 (python-indent-calculate-indentation): Use it.
10435 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10437 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10438 defun. Defining it as defalias could introduce too eager
10439 byte-compiler optimization. (Bug#14030)
10441 2013-03-30 Chong Yidong <cyd@gnu.org>
10443 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10445 2013-03-30 Leo Liu <sdl.web@gmail.com>
10447 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10448 (kmacro-execute-from-register): Pass the keyboard macro to
10449 kmacro-call-macro or repeating won't work correctly.
10451 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10453 * progmodes/subword.el: Back to using `forward-symbol'.
10455 * subr.el (forward-whitespace, forward-symbol)
10456 (forward-same-syntax): Move from thingatpt.el.
10458 2013-03-29 Leo Liu <sdl.web@gmail.com>
10460 * kmacro.el (kmacro-to-register): New command.
10461 (kmacro-execute-from-register): New function.
10462 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10464 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10466 * mpc.el: Use defvar-local and setq-local.
10467 (mpc--proc-connect): Connection failures are not bugs.
10468 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10469 (mpc-volume-map): Bind to the up-events.
10471 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10473 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10474 instead of `forward-symbol'.
10476 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10478 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10479 (edebug--recursive-edit): Use it.
10480 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10481 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10483 2013-03-28 Leo Liu <sdl.web@gmail.com>
10485 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10487 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10489 * facemenu.el (list-colors-callback): New defvar.
10490 (list-colors-redisplay): New function.
10491 (list-colors-display): Install list-colors-redisplay as the
10492 revert-buffer-function. (Bug#14063)
10494 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10496 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10497 and suffixes don't overlap (bug#14061).
10499 * case-table.el: Use lexical-binding.
10500 (case-table-get-table): New function.
10501 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10503 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10505 * progmodes/subword.el: Add `superword-mode' to do word motion
10506 over symbol_words (parallels and leverages `subword-mode' which
10507 does word motion inside MixedCaseWords).
10509 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10511 * eshell/em-unix.el: Move su and sudo to...
10512 * eshell/em-tramp.el: ...Eshell tramp module.
10514 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10516 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10517 Change return value to be a sexp. Delay `get-buffer' to after
10518 restoring the desktop (bug#13951).
10520 2013-03-26 Leo Liu <sdl.web@gmail.com>
10522 * register.el: Move semantic tag handling back to
10523 cedet/semantic/senator.el. (Bug#14052)
10525 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10527 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10528 into the prompt either (bug#13963).
10530 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10532 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10533 part of "(error-foo)".
10535 2013-03-24 Juri Linkov <juri@jurta.org>
10537 * replace.el (list-matching-lines-prefix-face): New defcustom.
10538 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10539 `occur-engine' if `face-differs-from-default-p' returns t.
10540 (occur-engine): Add `,' inside backquote construct to evaluate
10541 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10542 Pass `prefix-face' to the functions `occur-context-lines' and
10543 `occur-engine-add-prefix'.
10544 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10545 `prefix-face' and propertize the prefix with `prefix-face'.
10548 2013-03-24 Leo Liu <sdl.web@gmail.com>
10550 * nxml/rng-valid.el (rng-validate-while-idle)
10551 (rng-validate-quick-while-idle): Guard against deleted buffer.
10554 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10555 is the last entry in kill-buffer-hook.
10557 * files.el (kill-buffer-hook): Doc fix.
10559 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10561 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10562 Make it safe-local.
10564 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10566 2013-03-23 Leo Liu <sdl.web@gmail.com>
10568 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10571 * nxml/rng-valid.el (rng-validate-mode)
10572 (rng-after-change-function, rng-do-some-validation):
10573 * nxml/rng-maint.el (rng-validate-buffer):
10574 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10575 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10576 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10577 (nxml-extend-after-change-region): Use with-silent-modifications.
10579 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10582 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10583 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10584 timer-idle-list. (Bug#13999)
10586 2013-03-23 Juri Linkov <juri@jurta.org>
10588 * info.el (info-index-match): New face.
10589 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10590 main pattern and add text properties with the new face to matches
10591 in index entries relative to the beginning of the index entry.
10594 2013-03-21 Eric Ludlam <zappo@gnu.org>
10596 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10597 Inhibit read only while inserting objects.
10599 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10601 * progmodes/cfengine.el: Update docs to mention
10602 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10603 symbol motion. Remove "_" from the word syntax.
10605 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10607 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10608 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10610 2013-03-20 Juri Linkov <juri@jurta.org>
10612 * info.el (Info-next-reference-or-link)
10613 (Info-prev-reference-or-link): New functions.
10614 (Info-next-reference, Info-prev-reference): Use them.
10615 (Info-try-follow-nearest-node): Handle footnote navigation.
10616 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10618 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10620 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10621 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10623 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10625 Suppress unnecessary non-ASCII chatter during build process.
10626 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10627 (batch-skkdic-convert): Suppress most of the chatter.
10628 It's not needed so much now that machines are faster,
10629 and its non-ASCII component was confusing; see Dmitry Gutov in
10630 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10632 2013-03-20 Leo Liu <sdl.web@gmail.com>
10634 * ido.el (ido-chop): Fix bug#10994.
10636 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10638 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10640 (whitespace-color-on, whitespace-color-off):
10641 Use `font-lock-fontify-buffer' (Bug#13817).
10643 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10645 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10646 remapping in mode-line.
10647 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10649 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10651 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10652 value for `whitespace-line' face (Bug#13875).
10653 (whitespace-font-lock-keywords): Change description.
10654 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10655 the constructed keywords instead.
10656 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10658 2013-03-19 Leo Liu <sdl.web@gmail.com>
10660 * progmodes/compile.el (compilation-display-error): New command.
10661 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10664 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10666 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10668 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10670 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10672 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10674 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10676 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10677 * net/tramp-gvfs.el (top):
10678 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10679 (tramp-handle-shell-command): Use it.
10680 (tramp-dissect-file-name): Raise an error when hostname is a
10681 method name, and neither method nor user is specified.
10683 * net/trampver.el: Update release number.
10685 2013-03-18 Leo Liu <sdl.web@gmail.com>
10687 Make sure eldoc can be turned off properly.
10688 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10690 (eldoc-display-message-p): Revert last change.
10691 (eldoc-display-message-no-interference-p)
10692 (eldoc-print-current-symbol-info): Tweak.
10694 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10696 * doc-view.el (doc-view-new-window-function): Check the new window
10697 overlay's display property instead the char property of the
10698 buffer's first char. Use `with-selected-window' instead of
10699 `save-window-excursion' with `select-window'.
10700 (doc-view-document->bitmap): Check the current doc-view overlay's
10701 display property instead the char property of the buffer's first char.
10703 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10705 Automate the build of ja-dic.el (Bug#13984).
10706 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10707 from the input, rather than assume that it's been done for us by the
10708 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10709 the current date into a ja-dic.el comment, as that complicates
10710 regression testing.
10712 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10714 * whitespace.el: Fix double evaluation.
10715 (whitespace-space, whitespace-hspace, whitespace-tab)
10716 (whitespace-newline, whitespace-trailing, whitespace-line)
10717 (whitespace-space-before-tab, whitespace-indentation)
10718 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10720 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10721 (whitespace-color-on): Use a single font-lock-add-keywords call.
10722 Fix double-evaluation of face variables.
10724 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10726 * net/tramp-adb.el (tramp-adb-parse-device-names):
10727 Use `start-process' instead of `call-process'. Otherwise, the
10728 function might be blocked under MS Windows. (Bug#13299)
10730 2013-03-17 Leo Liu <sdl.web@gmail.com>
10732 Extend eldoc to display info in the mode-line. (Bug#13978)
10733 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10734 (eldoc-mode-line-string): New variable.
10735 (eldoc-minibuffer-message): New function.
10736 (eldoc-message-function): New variable.
10737 (eldoc-message): Use it.
10738 (eldoc-display-message-p)
10739 (eldoc-display-message-no-interference-p):
10740 Support eldoc-post-insert-mode.
10742 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10743 (eval-expression): Run it.
10745 2013-03-17 Roland Winkler <winkler@gnu.org>
10747 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10748 strings in the list of return values.
10750 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10752 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10753 radix before checking for HMS forms.
10755 2013-03-16 Leo Liu <sdl.web@gmail.com>
10757 * progmodes/scheme.el: Add indentation and font-locking for λ.
10760 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10762 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10763 token before point (bug#13942).
10765 2013-03-16 Leo Liu <sdl.web@gmail.com>
10767 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10769 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10771 * startup.el (command-line-normalize-file-name): Fix handling of
10772 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10773 <xfq.free@gmail.com> in
10774 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10776 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
10778 Sync with Tramp 2.2.7.
10780 * net/trampver.el: Update release number.
10782 2013-03-14 Tassilo Horn <tsdh@gnu.org>
10784 * doc-view.el: Fix bug#13887.
10785 (doc-view-insert-image): Don't modify overlay associated to
10786 non-live windows, and implement horizontal centering of image in
10787 case it's smaller than the window.
10788 (doc-view-new-window-function): Force redisplay of new windows on
10791 2013-03-13 Karl Fogel <kfogel@red-bean.com>
10793 * saveplace.el (save-place-alist-to-file): Don't sort
10794 `save-place-alist', just pretty-print it (bug#13882).
10796 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
10798 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
10799 Check whether `default-file-name-coding-system' is bound.
10800 It isn't in XEmacs.
10802 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
10804 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
10805 backquotes for `obsolete' (bug#13929).
10807 * international/mule.el (find-auto-coding): Include file name in
10808 obsolescence warning (bug#13922).
10810 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
10812 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
10813 for CFEngine 3-specific indentation.
10814 (cfengine3-indent-line): Use it. Fix up category regex.
10815 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
10817 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10819 * type-break.el (type-break-file-name):
10820 * textmodes/remember.el (remember-data-file):
10821 * strokes.el (strokes-file):
10822 * shadowfile.el (shadow-initialize):
10823 * saveplace.el (save-place-file):
10824 * ps-bdf.el (bdf-cache-file):
10825 * progmodes/idlwave.el (idlwave-config-directory):
10826 * net/quickurl.el (quickurl-url-file):
10827 * international/kkc.el (kkc-init-file-name):
10828 * ido.el (ido-save-directory-list-file):
10829 * emulation/viper.el (viper-custom-file-name):
10830 * emulation/vip.el (vip-startup-file):
10831 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
10832 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
10834 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
10836 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
10837 * language/thai-word.el: Switch to UTF-8.
10839 See ChangeLog.16 for earlier changes.
10841 ;; Local Variables:
10845 Copyright (C) 2011-2013 Free Software Foundation, Inc.
10847 This file is part of GNU Emacs.
10849 GNU Emacs is free software: you can redistribute it and/or modify
10850 it under the terms of the GNU General Public License as published by
10851 the Free Software Foundation, either version 3 of the License, or
10852 (at your option) any later version.
10854 GNU Emacs is distributed in the hope that it will be useful,
10855 but WITHOUT ANY WARRANTY; without even the implied warranty of
10856 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10857 GNU General Public License for more details.
10859 You should have received a copy of the GNU General Public License
10860 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.