1 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3 * net/shr.el (shr-insert-document): Remove unused var
4 `shr-preliminary-table-render'.
5 (shr-rescale-image): Remove unused arg `force'.
6 (shr-put-image): Update calls accordingly.
7 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
9 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
11 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
12 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
13 :close-all, to see which indentation method to use (Bug#16116).
14 (smie-rules-function): Document the method :close-all.
16 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
20 * net/eww.el (eww-display-html): If we can't find the anchor we're
21 looking for, then go to point-min.
23 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
25 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
26 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
27 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
28 Expand dir too, in case it's relative.
30 2013-12-16 Juri Linkov <juri@jurta.org>
32 * desktop.el (desktop-auto-save-timeout): Change default to
33 `auto-save-timeout'. Doc fix.
34 (desktop-save): Skip the timestamp in desktop-saved-frameset
35 when checking for auto-save changes.
36 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
37 `desktop-auto-save' is called repeatedly by the idle timer.
38 (desktop-auto-save-set-timer): Replace `run-with-timer' with
39 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
42 2013-12-16 Juri Linkov <juri@jurta.org>
44 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
46 (isearch-pre-command-hook): Check `this-command' for symbolp.
48 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
50 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
52 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
54 * progmodes/cfengine.el (cfengine3--current-word): Remove.
55 (cfengine3--current-function): Bring in the current-function
56 functionality from `cfengine3--current-word'.
57 (cfengine3-completion-function): Bring in the
58 bounds-of-current-word functionality from
59 `cfengine3--current-word'.
61 2013-12-16 Martin Rudalics <rudalics@gmx.at>
63 * window.el (display-buffer-below-selected):
64 Bind split-height-threshold to 0 as suggested by Juri Linkov.
66 2013-12-16 Leo Liu <sdl.web@gmail.com>
68 * progmodes/compile.el (compile-goto-error): Do not push-mark.
69 Remove NOMSG arg and all uses changed.
71 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
73 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
74 (cua--deactivate-rectangle): Don't deactivate the mark.
75 (cua-set-rectangle-mark): Don't set mark-active since
76 cua--activate-rectangle already does it for us.
77 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
78 non-rectangular region.
80 * emulation/cua-base.el (cua-repeat-replace-region):
81 Use with-current-buffer.
83 * net/gnutls.el: Use cl-lib.
84 (gnutls-negotiate): `mapcan' -> cl-mapcan.
86 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
88 * emacs-lisp/package.el (package-built-in-p): Support both
89 built-in and the package.el converted package descriptions.
90 (package-show-package-list): Allow keywords.
91 (package-keyword-button-action): Use it instead of
92 `finder-list-matches'.
93 (package-menu-filter-interactive): Interactive filtering (by
95 (package-menu--generate): Support keywords and change keymappings
96 and headers when they are given.
97 (package--has-keyword-p): Helper function.
98 (package-menu--refresh): Use it.
99 (package--mapc): Helper function.
100 (package-all-keywords): Use it.
101 (package-menu-mode-map): Set up menu items and keybindings to
102 provide a filtering UI.
104 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
106 * net/gnutls.el (gnutls-verify-error): New defcustom to control
107 the behavior when a certificate fails validation. Defaults to
108 old behavior: never abort, just warn.
109 (gnutls-negotiate): Use it.
111 2013-12-14 Martin Rudalics <rudalics@gmx.at>
113 * window.el (display-buffer-below-selected): Never split window
114 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
116 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
118 * emacs-lisp/package.el (package--prepare-dependencies): New function.
119 (package-buffer-info): Use it (bug#15108).
121 * icomplete.el (icomplete-completions): Make sure the prefix is already
122 displayed elsewhere before hiding it.
124 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
126 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
127 open-paren tokens when preceded by a open-paren, too.
128 (ruby-smie-rules): Handle virtual indentation after open-paren
129 tokens specially. If there is code between it and eol, return the
130 column where is starts (Bug#16118).
132 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
134 * progmodes/cfengine.el: Fix `add-hook' doc.
135 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
136 (cfengine3--current-word): Fix parameters.
137 (cfengine3-make-syntax-cache): Simplify further.
138 (cfengine3-completion-function, cfengine3--current-function):
139 Use `assq' for symbols.
140 (cfengine3--current-function): Fix `cfengine3--current-word' call.
142 2013-12-13 Glenn Morris <rgm@gnu.org>
144 * loadup.el (load-path): Warn if site-load or site-init changes it.
145 No more need to reset it when bootstrapping.
147 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
149 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
150 locations for cf-promises.
151 (cfengine-mode-syntax-functions-regex): New caching variable.
152 (cfengine3-fallback-syntax): Fallback syntax for cases where
153 cf-promises doesn't run.
154 (cfengine3--current-word): Reimplement using
155 `cfengine-mode-syntax-functions-regex'.
156 (cfengine3-completion-function, cfengine3--current-function):
157 Use `cfengine3-make-syntax-cache' directly.
158 (cfengine3-clear-syntax-cache): New function.
159 (cfengine3-make-syntax-cache): Simplify and create
160 `cfengine-mode-syntax-functions-regex' on demand.
161 (cfengine3-format-function-docstring): Don't call
162 `cfengine3-make-syntax-cache' explicitly.
164 2013-12-13 Martin Rudalics <rudalics@gmx.at>
166 Fix windmove-find-other-window broken after pixelwise resizing
168 * windmove.el (windmove-other-window-loc): Revert change from
170 (windmove-find-other-window): Call window-in-direction.
171 * window.el (window-in-direction): New arguments SIGN, WRAP and
172 MINI to emulate original windmove-find-other-window behavior.
174 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
176 * simple.el (blink-matching--overlay): New variable.
177 (blink-matching-open): Instead of moving point, highlight the
178 matching paren with an overlay
179 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
181 * faces.el (paren-showing-faces, show-paren-match)
182 (show-paren-mismatch): Move from paren.el.
184 2013-12-13 Leo Liu <sdl.web@gmail.com>
186 * indent.el (indent-region): Disable progress reporter in
187 minibuffer. (Bug#16108)
189 * bindings.el (visual-order-cursor-movement): Fix version.
191 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
193 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
194 Also match after beginning of line.
195 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
196 files. Thanks to Russell Sim. (Bug#15378)
198 2013-12-13 Juri Linkov <juri@jurta.org>
200 * simple.el <Keypad support>: Remove key bindings duplicated
201 with bindings.el. (Bug#14397)
203 2013-12-13 Juri Linkov <juri@jurta.org>
205 * comint.el (comint-mode-map): Replace `delete-char' with
206 `delete-forward-char'. (Bug#16109)
208 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
210 * progmodes/python.el (python-indent-calculate-indentation):
211 Fix de-denters cornercase. (Bug#15731)
213 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
215 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
216 (advice--make): Pay attention to `depth'.
217 (advice--make-1): Don't autoload commands eagerly.
218 * emacs-lisp/elp.el (elp-instrument-function):
219 * emacs-lisp/trace.el (trace-function-internal):
220 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
222 * iswitchb.el (iswitchb-mode): Don't belittle ido.
224 2013-12-12 Eli Zaretskii <eliz@gnu.org>
226 * term/w32-win.el (w32-handle-dropped-file):
227 * startup.el (normal-top-level):
228 * net/browse-url.el (browse-url-file-url):
229 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
230 decode file names using 'utf-8' rather than
231 file-name-coding-system.
233 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
235 * progmodes/python.el (python-indent-context)
236 (python-indent-calculate-indentation): Fix auto-identation
237 behavior for comment blocks. (Bug#15916)
239 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
241 * progmodes/python.el (python-indent-calculate-indentation):
242 When determining indentation, don't treat "return", "pass", etc., as
243 operators when they are just string constituents. (Bug#15812)
245 2013-12-12 Juri Linkov <juri@jurta.org>
247 * uniquify.el (uniquify-buffer-name-style): Change default to
248 `post-forward-angle-brackets'.
250 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
251 `uniquify'. Change default to `post-forward-angle-brackets'.
253 2013-12-11 Glenn Morris <rgm@gnu.org>
255 * emacs-lisp/package.el (finder-list-matches):
256 Autoload rather than falsely declaring.
258 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
260 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
261 (eww-mode-map): Use them.
263 2013-12-11 Martin Rudalics <rudalics@gmx.at>
265 * window.el (display-buffer-in-side-window): Fix doc-string
268 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
270 * vc/vc-git.el: Silence byte-compiler warnings.
271 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
272 (log-edit-set-header): Declare.
274 2013-12-11 Eli Zaretskii <eliz@gnu.org>
276 * Makefile.in (custom-deps, finder-data): Run output file names
277 through unmsys--file-name. (Bug#16099)
279 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
281 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
282 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
284 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
285 instead of deleting the selection "by hand" (bug#16098).
286 Rely on insert-for-yank to yank rectangles.
287 (cua-highlight-region-shift-only): Mark obsolete.
288 (cua-mode): Don't enable/disable transient-mark-mode,
289 shift-select-mode (cua-mode works both with and without them), and
290 pc-selection-mode (obsolete).
291 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
292 (cua--deactivate-rectangle): Deactivate it.
294 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
295 (delete-selection-helper): Make sure yank starts at the top of the
297 (minibuffer-keyboard-quit): Use region-active-p.
299 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
301 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
302 to `delete' (bug#16109).
304 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
306 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
307 info manual and show keybindings and set `:group' keyword.
309 2013-12-11 Juri Linkov <juri@jurta.org>
311 * delsel.el (delete-active-region): Let-bind `this-command'
312 to prevent `kill-region' from changing its original value.
313 (delete-selection-helper): Handle `overwrite-mode' for the type
314 `kill' exactly the same way as for the type `t'.
315 (insert-char, quoted-insert, reindent-then-newline-and-indent):
316 Support more commands. (Bug#13312)
318 2013-12-11 Juri Linkov <juri@jurta.org>
320 * bindings.el: Map kp keys to non-kp keys systematically
321 with basic modifiers control, meta and shift. (Bug#14397)
323 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
325 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
326 "Close browser" menu items. Fix wrong function of "List
329 2013-12-11 Juri Linkov <juri@jurta.org>
331 * misearch.el (multi-isearch-buffers): Set the value of
332 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
333 arg of isearch-forward to t.
334 (multi-isearch-buffers-regexp): Set the value of
335 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
336 arg of isearch-forward-regexp to t.
337 (multi-isearch-files): Set the value of
338 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
339 arg of isearch-forward to t.
340 (multi-isearch-files-regexp): Set the value of
341 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
342 arg of isearch-forward-regexp to t. (Bug#16035)
344 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
345 arg of isearch-forward to t.
346 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
347 arg of isearch-forward-regexp to t.
348 (dired-isearch-filter-filenames): Remove unnecessary check for
349 `dired-isearch-filenames'.
351 * comint.el (comint-history-isearch-backward):
352 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
353 (comint-history-isearch-backward-regexp):
354 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
356 2013-12-10 Eli Zaretskii <eliz@gnu.org>
358 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
359 unmsys--file-name. (Bug#16099)
361 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
363 * emacs-lisp/package.el (package-keyword-button-action):
364 Remove finder.el require dependency.
366 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
368 * emacs-lisp/package.el: Require finder.el.
369 (describe-package-1): Add keyword buttons.
370 (package-make-button): New convenience function.
371 (package-keyword-button-action): Keyword button action using
372 `finder-list-matches'
374 2013-12-09 Eli Zaretskii <eliz@gnu.org>
376 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
379 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
381 * autorevert.el (auto-revert-notify-add-watch): Do not handle
384 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
386 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
387 after the end of a percent literal.
389 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
391 * progmodes/ruby-mode.el (ruby-forward-string): Document.
392 Handle caret-delimited strings (Bug#16079).
394 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
396 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
397 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
398 `ruby-parse-partial' (Bug#16078).
400 2013-12-09 Leo Liu <sdl.web@gmail.com>
402 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
404 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
406 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
407 (js-switch-indent-offset): New option.
408 (js--proper-indentation): Use it. And handle the case when
409 "default" is actually a key in an object literal.
410 (js--same-line): New function.
411 (js--multi-line-declaration-indentation): Use it.
412 (js--indent-in-array-comp, js--array-comp-indentation):
414 (js--proper-indentation): Use them, to handle array comprehension
417 2013-12-08 Leo Liu <sdl.web@gmail.com>
419 * progmodes/flymake.el (flymake-highlight-line): Re-write.
420 (flymake-make-overlay): Remove arg MOUSE-FACE.
421 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
423 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
425 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
427 (redisplay-highlight-region-function): Use it.
429 * emulation/cua-base.el (cua--explicit-region-start)
430 (cua--last-region-shifted): Remove.
431 (cua--deactivate): Use deactivate-mark.
432 (cua--pre-command-handler-1): Don't handle shift-selection.
433 (cua--post-command-handler-1): Don't change transient-mark-mode.
434 (cua--select-keymaps): Use region-active-p rather than
435 cua--explicit-region-start or cua--last-region-shifted.
436 (cua-mode): Enable shift-select-mode.
438 2013-12-08 Leo Liu <sdl.web@gmail.com>
440 * progmodes/flymake.el (flymake-popup-current-error-menu):
441 Rename from flymake-display-err-menu-for-current-line. Reimplement.
442 (flymake-posn-at-point-as-event, flymake-popup-menu)
443 (flymake-make-emacs-menu): Remove. (Bug#16077)
445 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
447 * rect.el (rectangle-mark-mode): Activate mark even if
448 transient-mark-mode is off (bug#16066).
449 (rectangle--highlight-for-redisplay): Fix boundary condition when point
450 is > mark and at bolp.
452 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
453 (region-extract-function): Use it.
454 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
455 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
457 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
458 kill-ring-save, kill-region, delete-char, delete-forward-char.
459 Ignore self-insert-iso.
461 * emulation/cua-gmrk.el (cua--init-global-mark):
462 Ignore `self-insert-iso'.
464 * emulation/cua-base.el (cua--prefix-copy-handler)
465 (cua--prefix-cut-handler): Rely on region-extract-function rather than
466 checking cua--rectangle.
467 (cua-delete-region): Use region-extract-function.
468 (cua-replace-region): Delete function.
469 (cua-copy-region, cua-cut-region): Obey region-extract-function.
470 (cua--pre-command-handler-1): Don't do the delete-selection thing.
471 (cua--self-insert-char-p): Ignore `self-insert-iso'.
472 (cua--init-keymaps): Don't remap delete-selection commands.
473 (cua-mode): Use delete-selection-mode instead of rolling our own
476 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
477 Obey region-extract-function.
479 Make registers and delete-selection-mode work on rectangles.
480 * register.el (describe-register-1): Don't modify the register's value.
481 (copy-to-register): Obey region-extract-function.
482 * delsel.el (delete-active-region): Obey region-extract-function.
484 2013-12-08 Leo Liu <sdl.web@gmail.com>
486 * progmodes/flymake.el (flymake, flymake-error-bitmap)
487 (flymake-warning-bitmap, flymake-fringe-indicator-position)
488 (flymake-compilation-prevents-syntax-check)
489 (flymake-start-syntax-check-on-newline)
490 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
491 (flymake-start-syntax-check-on-find-file, flymake-log-level)
492 (flymake-xml-program, flymake-master-file-dirs)
493 (flymake-master-file-count-limit)
494 (flymake-allowed-file-name-masks): Relocate.
495 (flymake-makehash, flymake-float-time)
496 (flymake-replace-regexp-in-string, flymake-split-string)
497 (flymake-get-temp-dir): Remove.
498 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
499 (flymake-current-row, flymake-selected-frame)
500 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
501 related functions. (Bug#16077)
503 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
505 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
507 2013-12-07 Tassilo Horn <tsdh@gnu.org>
509 * help-fns.el (describe-function-1): Use new advice-* functions
510 rather than old ad-* functions. Fix function type description and
511 source links for advised functions and subrs.
513 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
515 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
517 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
519 * progmodes/compile.el (compilation-start):
520 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
522 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
523 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
525 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
527 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
528 Touch up the last change.
530 2013-12-06 Leo Liu <sdl.web@gmail.com>
532 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
533 (inferior-octave-startup): Always use "octave> " for prompt.
534 (octave-goto-function-definition)
535 (octave-sync-function-file-names)
536 (octave-find-definition-default-filename): Remove redundant backquotes.
538 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
540 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
542 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
543 where appropriate already.
544 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
545 end of method names (Bug#15874).
547 2013-12-06 Juri Linkov <juri@jurta.org>
549 * isearch.el (isearch--saved-overriding-local-map):
550 New internal variable.
551 (isearch-mode): Set it to the initial value of
552 `overriding-terminal-local-map'.
553 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
554 with `isearch--saved-overriding-local-map'. (Bug#16035)
556 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
558 * progmodes/octave.el (inferior-octave-completion-table):
559 Turn back into function, use `completion-table-with-cache'
560 (Bug#11906). Update all references.
562 * minibuffer.el (completion-table-with-cache): New function.
564 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
566 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
568 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
570 * net/eww.el (eww-current-source): New variable to store page
572 (eww-display-html, eww-mode, eww-save-history)
573 (eww-restore-history): Use it.
574 (eww-view-source): New command to view page source.
575 Opportunistically uses `html-mode' to highlight the buffer.
576 (eww-mode-map): Install it.
578 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
580 * net/dbus.el (dbus-unregister-service)
581 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
583 (dbus-unregister-service): Skip :serial entries in
584 `dbus-registered-objects-table'.
585 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
587 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
589 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
590 around keywords with extra `split-string' argument.
592 2013-12-04 Martin Rudalics <rudalics@gmx.at>
594 * windmove.el (windmove-other-window-loc): Handle navigation
595 between windows (excluding the minibuffer window - Bug#16017).
597 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
599 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
600 in D-Bus type syntax.
601 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
602 preserve unibyte strings. (Bug#16048)
604 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
606 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
607 Call force-mode-line-update is the proper buffer (bug#16042).
609 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
611 * vc/log-edit.el (log-edit-add-new-comment): Rename to
612 `log-edit-remember-comment', make argument optional. Adjust all
614 (log-edit-mode): Add `log-edit-remember-comment' to
615 `kill-buffer-hook' locally.
616 (log-edit-kill-buffer): Don't remember comment explicitly since
617 the buffer is killed anyway.
619 2013-12-04 Juri Linkov <juri@jurta.org>
621 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
622 add-hook and remove-hook for multi-buffer search. (Bug#16035)
624 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
626 * notifications.el (notifications-close-notification): Call the
627 D-Bus method with ID being a `:uint32'. (Bug#16030)
629 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
631 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
633 2013-12-03 Juri Linkov <juri@jurta.org>
635 * progmodes/compile.el (compilation-start): Rename window alist
636 entry `no-display-ok' to `allow-no-window'.
638 * simple.el (shell-command): Add window alist entry
639 `allow-no-window' to `display-buffer'.
640 (async-shell-command): Doc fix.
642 * window.el (display-buffer-no-window): New action function.
643 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
645 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
647 * vc/log-edit.el (log-edit-set-header): Extract from
648 `log-edit-toggle-header'.
649 (log-edit-extract-headers): Separate the summary, when extracted
650 from header, from the rest of the message with an empty line.
652 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
653 line, if present, to the Summary header.
655 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
657 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
658 in current-buffer (bug#16029).
660 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
662 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
663 (debugger-mode-map): Bind it.
664 (debugger--backtrace-base): New function.
665 (debugger-eval-expression): Use it.
666 (debugger-frame-number): Skip local vars when present.
667 (debugger--locals-visible-p, debugger--insert-locals)
668 (debugger--show-locals, debugger--hide-locals): New functions.
670 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
672 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
674 (tramp-get-remote-locale): New defun.
675 (tramp-open-connection-setup-interactive-shell): Use it.
677 2013-12-02 Leo Liu <sdl.web@gmail.com>
679 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
681 * progmodes/sh-script.el (sh-shell-process):
682 * progmodes/octave.el (inferior-octave-process-live-p):
683 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
684 (gdb-inferior-io-sentinel):
685 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
687 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
689 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
690 `save-selected-window' to `log-edit-hide-buf'. This makes
691 `log-edit-show-files' idempotent.
692 (log-edit-show-files): Mark the new window as dedicated.
694 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
696 * vc/log-edit.el (log-edit-mode-map): Add binding for
697 `log-edit-kill-biffer'.
698 (log-edit-hide-buf): Add a FIXME comment.
699 (log-edit-add-new-comment): New function, extracted from
701 (log-edit-done, log-edit-add-to-changelog): Use it.
702 (log-edit-kill-buffer): New command.
704 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
706 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
707 instead of killing the buffer.
709 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
711 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
713 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
715 * net/eww.el (eww-form-checkbox-selected-symbol)
716 (eww-form-checkbox-symbol): New customizable variable.
717 (eww-form-checkbox, eww-toggle-checkbox):
718 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
720 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
721 (shr--get-media-pref, shr--extract-best-source): New function.
722 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
723 no :src tag was specified.
725 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
726 (eww-render): Handle `eww-use-external-browser-for-content-type'.
727 Use \\` to match beginning of string instead of ^.
728 (eww-browse-with-external-browser): Provide optional URL parameter.
729 (eww-render): Set `eww-current-title' back to "".
731 * net/shr.el (shr-tag-video): Display content for video if no
733 (shr-tag-audio): Add support for <audio> tag.
735 * net/eww.el (eww-text-input-types): : New const.
736 (eww-process-text-input): Treat input types in
737 `eww-text-input-types' as text.
739 * net/shr.el (shr-tag-table): Fix comment typo.
741 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
743 * net/eww.el (eww-follow-link): New command to avoid reloading
744 pages when we follow #target links (bug#15243).
745 (eww-quit): Special mode buffers shouldn't query before exiting.
747 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
749 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
752 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
754 * net/eww.el (eww-restore-history): Update the window title after
755 moving in the history.
756 (eww-current-dom): New variable used to save the current DOM.
758 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
760 * vc/log-edit.el (log-edit-mode-map): Add binding for
761 `log-edit-beginning-of-line'.
762 (log-edit-setup-add-author): New user option.
763 (log-edit-beginning-of-line): New command.
764 (log-edit): Move major mode call above the contents setup so that
765 the local variable values are already applied.
766 (log-edit): Only insert "Author: " when
767 `log-edit-setup-add-author' is non-nil.
768 (log-edit): When SETUP is non-nil, position point after ": "
769 instead of point-min.
771 2013-12-01 Glenn Morris <rgm@gnu.org>
773 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
775 2013-11-30 Eli Zaretskii <eliz@gnu.org>
777 * startup.el (fancy-splash-frame): On MS-Windows, trigger
778 redisplay to make sure the initial frame gets a chance to become
781 2013-11-30 Martin Rudalics <rudalics@gmx.at>
783 Support resizing frames and windows pixelwise.
784 * cus-start.el (frame-resize-pixelwise)
785 (window-resize-pixelwise): New entries.
786 * emacs-lisp/debug.el (debug): Use window-total-height instead
787 of window-total-size.
788 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
789 * help.el (describe-bindings-internal): Call help-buffer
790 (temp-buffer-max-width): New option.
791 (resize-temp-buffer-window, help-window-setup)
792 (with-help-window): Rewrite.
793 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
795 * window.el (frame-char-size, window-min-pixel-height)
796 (window-safe-min-pixel-height, window-safe-min-pixel-width)
797 (window-min-pixel-width, window-safe-min-pixel-size)
798 (window-combination-p, window-safe-min-size)
799 (window-resizable-p, window--size-to-pixel)
800 (window--pixel-to-size, window--resize-apply-p): New functions.
801 (window-safe-min-height): Fix doc-string.
802 (window-size, window-min-size, window--min-size-1)
803 (window-sizable, window-sizable-p, window--min-delta-1)
804 (window-min-delta, window--max-delta-1, window-max-delta)
805 (window--resizable, window--resizable-p, window-resizable)
806 (window-full-height-p, window-full-width-p, window-at-side-p)
807 (window--in-direction-2, window-in-direction)
808 (window--resize-reset-1, window--resize-mini-window)
809 (window-resize, window-resize-no-error)
810 (window--resize-child-windows-normal)
811 (window--resize-child-windows, window--resize-siblings)
812 (window--resize-this-window, window--resize-root-window)
813 (window--resize-root-window-vertically)
814 (adjust-window-trailing-edge, enlarge-window, shrink-window)
815 (maximize-window, minimize-window, delete-window)
816 (quit-restore-window, window-split-min-size, split-window)
817 (balance-windows-2, balance-windows)
818 (balance-windows-area-adjust, balance-windows-area)
819 (window--state-get-1, window-state-get, window--state-put-1)
820 (window--state-put-2, window-state-put)
821 (display-buffer-record-window, window--display-buffer):
822 Make functions handle pixelwise sizing of windows.
823 (display-buffer--action-function-custom-type)
824 (display-buffer-fallback-action):
825 Add display-buffer-in-previous-window.
826 (display-buffer-use-some-window): Resize window to height it had
828 (fit-window-to-buffer-horizontally): New option.
829 (fit-frame-to-buffer): Describe new values.
830 (fit-frame-to-buffer-bottom-margin): Replace with
831 fit-frame-to-buffer-margins.
832 (window--sanitize-margin): New function.
833 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
834 using window-text-pixel-size.
836 2013-11-30 Glenn Morris <rgm@gnu.org>
838 * emacs-lisp/bytecomp.el (byte-compile-form):
839 Make the `interactive-only' warning like the `obsolete' one.
840 * comint.el (comint-run):
841 * files.el (insert-file-literally, insert-file):
842 * replace.el (replace-string, replace-regexp):
843 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
844 (goto-line, insert-buffer, next-line, previous-line):
845 Tweak `interactive-only' spec.
847 Stop keeping (most) generated cedet grammar files in the repository.
848 * Makefile.in (semantic): New.
849 (compile-main): Depend on semantic.
851 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
853 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
854 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
856 * uniquify.el (uniquify-buffer-name-style): Change default.
858 * loadup.el: Preload "uniquify".
860 * time.el (display-time-update): Update all mode lines (bug#15999).
862 * electric.el (electric-indent-mode): Enable by default.
863 * loadup.el: Preload "electric".
865 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
867 * emacs-lisp/helpers.el (string-empty-p): New function.
868 (string-blank-p): New function.
870 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
872 * imenu.el (imenu--index-alist): Add missing dot to the docstring
875 2013-11-29 Andreas Politz <politza@fh-trier.de>
876 * imenu.el (imenu--subalist-p): Don't error on non-conses and
877 allow non-lambda lists as functions.
878 (imenu--in-alist): Don't recurse into non-subalists.
879 (imenu): Don't pass function itself as an argument (Bug#14029).
881 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
883 * progmodes/python.el (python-mode-map): Remove binding for ":".
884 (python-indent-electric-colon): Remove command.
885 (python-indent-post-self-insert-function): Integrate the previous code
886 of python-indent-electric-colon. Make it conditional on
887 electric-indent-mode.
888 (python-mode): Add ?: to electric-indent-chars.
889 Move python-indent-post-self-insert-function to the end of
890 post-self-insert-hook.
892 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
894 * doc-view.el (doc-view-goto-page): Update mode-line.
896 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
898 2013-11-27 Glenn Morris <rgm@gnu.org>
900 * international/charprop.el, international/uni-bidi.el:
901 * international/uni-category.el, international/uni-combining.el:
902 * international/uni-comment.el, international/uni-decimal.el:
903 * international/uni-decomposition.el, international/uni-digit.el:
904 * international/uni-lowercase.el, international/uni-mirrored.el:
905 * international/uni-name.el, international/uni-numeric.el:
906 * international/uni-old-name.el, international/uni-titlecase.el:
907 * international/uni-uppercase.el:
908 Remove generated files from VCS repository.
910 2013-11-27 Eli Zaretskii <eliz@gnu.org>
912 * filenotify.el (file-notify-add-watch): Don't special-case
913 w32notify when computing the directory to watch.
915 2013-11-27 Glenn Morris <rgm@gnu.org>
917 Make bootstrap without generated uni-*.el files possible again.
918 * loadup.el: Update command-line-args checking for unidata-gen.
919 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
920 * composite.el, international/characters.el:
921 Handle unicode tables being undefined.
923 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
924 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
925 (compile-main): Depend on leim rule.
927 * loadup.el: Move leim-list.el to leim/ subdirectory.
928 * startup.el (normal-top-level): No more leim directory.
929 * international/ja-dic-cnv.el (skkdic-convert):
930 Disable version-control and autoloads in output files.
931 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
932 Disable version-control and autoloads in output files.
933 * leim/quail: Move here from ../leim.
934 * leim/quail/hangul.el (hangul-input-method-activate):
936 (generated-autoload-load-name): Set file-local value.
937 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
938 (generated-autoload-load-name): Set file-local value.
940 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
942 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
943 (eww-add-bookmark): ask confirmation when add to bookmarks
944 (eww-quit): ask confirmation before quitting eww
946 2013-11-26 Eli Zaretskii <eliz@gnu.org>
948 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
949 reading output from Diff on MS-Windows and MS-DOS.
951 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
953 * emacs-lisp/helpers.el (string-reverse): New function.
955 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
957 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
958 names on MS Windows, like "/[::1]:".
960 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
963 2013-11-26 Glenn Morris <rgm@gnu.org>
965 * progmodes/python.el (python-indent-guess-indent-offset):
966 Avoid corner-case error. (Bug#15975)
968 Preload leim-list.el. (Bug#4789)
969 * loadup.el: Load leim-list.el when found.
970 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
972 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
974 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
976 * emacs-lisp/helpers.el (string-join): New function.
978 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
980 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
981 Mark as obsolete and replace it with a symbol property.
982 (byte-compile-form): Use new 'interactive-only property.
983 * comint.el, files.el, replace.el, simple.el:
984 Apply new 'interactive-only properly.
986 2013-11-25 Martin Rudalics <rudalics@gmx.at>
988 * window.el (display-buffer-at-bottom): Make sure that
989 split-window-sensibly creates the new window on bottom
992 2013-11-23 David Kastrup <dak@gnu.org>
994 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
995 on the conflict markers when available.
996 (smerge--get-marker): New function.
997 (smerge-end-re, smerge-base-re): Add subgroup.
999 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1001 * frame.el (handle-focus-in, handle-focus-out): Add missing
1004 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1006 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1007 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1009 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1011 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1012 (gomoku--last-pos): New var.
1013 (gomoku--intangible-chars): New const.
1014 (gomoku--intangible): New function.
1015 (gomoku-mode): Use it. Derive from special-mode.
1016 (gomoku-move-up): Adjust line count.
1017 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1018 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1019 Simplify accordingly.
1021 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1022 Remove blink-cursor code.
1023 (blink-cursor-timer-function, blink-cursor-suspend):
1024 Don't special-case GUIs.
1025 (blink-cursor-mode): Use focus-in/out-hook.
1027 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1029 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1030 work when annotation is invisible (Bug#13886).
1032 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1034 * json.el (json-alist-p): Only return non-nil if the alist has
1035 simple keys (Bug#13518).
1037 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1039 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1040 when control-statement is the first statement in a buffer (Bug#15956).
1042 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1044 * imenu.el (imenu-generic-skip-comments-and-strings):
1045 New option (Bug#15560).
1046 (imenu--generic-function): Use it.
1048 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1050 * minibuffer.el (completion--in-region-1): Scroll the correct
1053 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1055 * emacs-lisp/helpers.el: Add some string helpers.
1056 (string-trim-left): Removes leading whitespace.
1057 (string-trim-right): Removes trailing whitespace.
1058 (string-trim): Removes leading and trailing whitespace.
1060 * subr.el (string-suffix-p): New function.
1062 2013-11-23 Glenn Morris <rgm@gnu.org>
1064 * progmodes/python.el (python-shell-send-file):
1065 Add option to delete file when done. (Bug#15647)
1066 (python-shell-send-string, python-shell-send-region): Use it.
1068 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1070 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1071 to set buffer-read-only to t, never to nil. (Bug#15938)
1073 * textmodes/tex-mode.el (latex-noindent-environments):
1074 Add safe-local-variable property. (Bug#15936)
1076 2013-11-23 Glenn Morris <rgm@gnu.org>
1078 * textmodes/enriched.el (enriched-mode): Doc fix.
1079 * emacs-lisp/authors.el (authors-renamed-files-alist):
1080 Add enriched.doc -> enriched.txt.
1082 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1084 2013-11-22 Leo Liu <sdl.web@gmail.com>
1086 * progmodes/octave.el (inferior-octave-startup): Spit out error
1089 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1091 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1094 (ruby-encoding-magic-comment-style): Add :version.
1096 2013-11-22 Leo Liu <sdl.web@gmail.com>
1098 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1100 (octave-help-mode): Adapt to change to help-mode-finish to use
1101 derived-mode-p on 2013-09-17.
1102 (inferior-octave-prompt): Also match octave-gui.
1103 (octave-kill-process): Don't ask twice. (Bug#10564)
1105 2013-11-22 Leo Liu <sdl.web@gmail.com>
1107 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1108 (inferior-octave-startup, inferior-octave-check-process)
1109 (inferior-octave-track-window-width-change)
1110 (octave-completion-at-point, octave-eldoc-function): Use it.
1111 (octave-kill-process): Provide confirmation. (Bug#10564)
1113 2013-11-21 Leo Liu <sdl.web@gmail.com>
1115 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1116 Fix obsolete variable comment-use-global-state.
1118 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1120 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1121 Add `octave-source-file'.
1122 (octave-source-file): New function. (Bug#15935)
1124 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1126 * net/eww.el (eww-local-regex): New variable.
1127 (eww): Use it to detect localhost and similar.
1129 2013-11-21 Leo Liu <sdl.web@gmail.com>
1131 Add completion for command `ag'.
1132 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1133 (pcomplete/ag): New function.
1134 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1136 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1138 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1140 (make-obsolete): Remove interactive spec.
1142 2013-11-21 Glenn Morris <rgm@gnu.org>
1144 * startup.el (command-line-1): Use path-separator with -L.
1146 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1148 * emacs-lisp/package.el (describe-package-1): Add package archive
1151 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1153 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1154 Change default to "# encoding: %s" to differentiate it from the
1155 default Ruby encoding comment template.
1157 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1159 * ses.el (ses-mode): Doc fix. (Bug#14748)
1161 2013-11-20 Leo Liu <sdl.web@gmail.com>
1163 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1165 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1167 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1168 when rebase or bisect are in progress.
1170 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1172 * filenotify.el (file-notify-add-watch): Doc fix.
1174 2013-11-19 Leo Liu <sdl.web@gmail.com>
1176 * obsolete/rcompile.el: Mark obsolete.
1178 * progmodes/compile.el (compilation-start)
1179 (compilation-goto-locus, compilation-find-file):
1180 Pass no-display-ok and handle nil value from display-buffer.
1183 * window.el (display-buffer-alist, display-buffer): Document the
1184 new parameter no-display-ok. Return either a window or nil
1185 but never a non-window value.
1187 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1189 * electric.el (electric-indent-mode-map): Remove.
1190 (electric-indent-mode): Change the global-map instead (bug#15915).
1192 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1195 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1197 * emacs-lisp/nadvice.el (remove-function): Align with
1198 add-function's behavior.
1200 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1201 (gdb--string-regexp): New constant.
1202 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1203 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1204 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1206 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1207 Adjust use accordingly.
1208 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1210 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1212 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1213 interpolation curlies (Bug#15914).
1215 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1217 * calc/calc.el (calc-context-sensitive-enter): New variable.
1218 (calc-enter): Use `calc-context-sensitive-enter'.
1220 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1222 * progmodes/cfengine.el: Version bump.
1223 (cfengine-cf-promises): New defcustom to locate cf-promises.
1224 (cfengine3-vartypes): Add new "data" type.
1225 (cfengine3--current-word): New function to get current name-like
1227 (cfengine3--current-function): New function to look up a CFEngine
1228 function's definition.
1229 (cfengine3-format-function-docstring): New function.
1230 (cfengine3-make-syntax-cache): New function.
1231 (cfengine3-documentation-function): New function: ElDoc glue.
1232 (cfengine3-completion-function): New function: completion glue.
1233 (cfengine3-mode): Set `compile-command',
1234 `eldoc-documentation-function', and add to
1235 `completion-at-point-functions'.
1237 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1239 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1240 `tramp-current-connection'.
1242 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1244 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1245 nil/self/true/false with "end of symbol".
1247 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1249 * subr.el (version-regexp-alist): Fix a typo.
1251 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1253 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1254 "en_US.utf8" and "LC_CTYPE" to "".
1255 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1256 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1258 2013-11-15 Leo Liu <sdl.web@gmail.com>
1260 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1262 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1264 * progmodes/gud.el (ctl-x-map):
1265 Remove C-x SPC binding. (Bug#12342)
1266 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1268 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1270 * subr.el (version-regexp-alist):
1271 Recognize hg, svn and darcs versions as snapshot versions.
1273 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1274 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1275 (ruby--encoding-comment-required-p): Extract from
1276 `ruby-mode-set-encoding'.
1277 (ruby-mode-set-encoding): Add the ability to always insert an
1278 utf-8 encoding comment. Fix and simplify coding comment update
1281 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1283 * net/tramp-gvfs.el (top): Run init code only when
1284 `tramp-gvfs-enabled' is not nil.
1285 (tramp-gvfs-enabled): Check also :system bus.
1287 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1289 Sync with upstream verilog-mode revision 78e66ba.
1290 * progmodes/verilog-mode.el (verilog-end-of-defun)
1291 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1292 (verilog-get-end-of-defun): Remove unused argument.
1293 (verilog-comment-depth): Remove unused local `e'.
1294 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1295 Don't pass arg to verilog-get-end-of-defun.
1297 2013-11-14 Glenn Morris <rgm@gnu.org>
1299 * obsolete/assoc.el (aget): Prefix dynamic variable.
1301 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1303 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1305 * widget.el, hfy-cmap.el: Remove bogus package version number.
1307 2013-11-13 Glenn Morris <rgm@gnu.org>
1309 * replace.el (replace-eval-replacement):
1310 Try to give more helpful error message. (Bug#15836)
1312 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1313 (archive-7z-update): Avoid custom type mismatches.
1315 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1317 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1319 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1320 address can be empty.
1322 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1323 Accept nil SWITCHES.
1324 (tramp-gvfs-handle-write-region): Implement APPEND.
1326 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1328 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1329 binary "|" operator and closing block args delimiter.
1330 Remove FIXME comment referring to Ruby 1.8-only syntax.
1331 (ruby-smie--implicit-semi-p): Not after "|" operator.
1332 (ruby-smie--closing-pipe-p): New function.
1333 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1334 (ruby-smie-rules): Indent after "|".
1336 2013-11-12 Glenn Morris <rgm@gnu.org>
1338 * ps-print.el (ps-face-attribute-list):
1339 Handle anonymous faces. (Bug#15827)
1341 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1343 * window.el (display-buffer-other-frame): Fix doc-string.
1346 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1348 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1350 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1352 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1353 (tramp-sh-handle-file-local-copy): Don't write a message when
1354 saving temporary files.
1356 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1357 both directories are remote.
1358 (tramp-smb-handle-directory-files): Do not return double entries.
1359 Do not expand full file names.
1360 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1361 (tramp-smb-handle-write-region): Implement APPEND.
1362 (tramp-smb-get-stat-capability): Fix a stupid bug.
1364 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1366 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1368 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1370 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1371 throwing error over malformed let/let* (bug#15814).
1373 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1375 * iswitchb.el (iswitchb-mode): Mark obsolete.
1377 2013-11-11 Glenn Morris <rgm@gnu.org>
1379 * international/uni-bidi.el, international/uni-category.el:
1380 * international/uni-name.el, international/uni-numeric.el:
1381 Regenerate for Unicode 6.3.0.
1383 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1385 * net/tramp.el (tramp-methods):
1386 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1387 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1389 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1391 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1392 Force highlighting text after Summary keyword in doc face for rpm.
1394 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1396 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1397 available and the word has no wildcards, append one to the grep pattern.
1398 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1399 (ispell-complete-word): Call `ispell-lookup-words' with the value
1400 independent of `ispell-look-p'.
1402 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1404 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1406 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1409 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1411 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1412 (ruby-font-lock-keywords): Use backquote.
1414 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1416 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1417 (ruby-smie--backward-token): Only consider full-string matches.
1419 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1421 * faces.el (describe-face): Add distant-foreground.
1423 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1425 * progmodes/ruby-mode.el: Improve encoding comment handling.
1426 (ruby-encoding-magic-comment-style): New option.
1427 (ruby-custom-encoding-magic-comment-template): New option.
1428 (ruby--insert-coding-comment, ruby--detect-encoding):
1429 New functions extracted from `ruby-mode-set-encoding'.
1430 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1431 to control the style of the auto-inserted encoding comment.
1433 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1435 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1436 Use `smie-backward-sexp' with token argument.
1438 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1440 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1441 Remove instrumentation code.
1443 2013-11-08 Glenn Morris <rgm@gnu.org>
1445 * progmodes/autoconf.el (autoconf-mode):
1446 Tweak comment-start-skip. (Bug#15822)
1448 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1450 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1451 at bobp (bug#15826).
1452 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1454 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1456 * man.el (Man-start-calling): New macro, extracted from
1457 Man-getpage-in-background.
1458 (Man-getpage-in-background): Use it.
1459 (Man-update-manpage): New command.
1460 (Man-mode-map): Bind it.
1462 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1464 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1465 of "and", "or", "&&" and "||".
1466 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1467 argument. Prohibit opening curly brace because it could only be a
1468 block opener in that position.
1469 (ruby-smie--forward-token, ruby-smie--backward-token):
1470 Separate "|" from "&" or "*" going after it. That can happen in block
1472 (ruby-smie--indent-to-stmt): New function, seeks the end of
1473 previous statement or beginning of buffer.
1474 (ruby-smie-rules): Use it.
1475 (ruby-smie-rules): Check if there's a ":" before a curly block
1476 opener candidate; if there is, it's a hash.
1478 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1480 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1481 (cl--block-wrapper): Fix last accidental change.
1483 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1485 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1486 Instrument, in order to hunt failure on hydra.
1488 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1490 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1491 malformed bindings form (bug#15814).
1493 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1495 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1496 "." compared to " @ ". This incidentally fixes some indentation
1498 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1499 (ruby-smie-grammar): New tokens: "and" and "or".
1500 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1501 Exclude "and" and "or". Remove "do" in order to work around token
1503 (ruby-smie-rules): Add all infix tokens. Handle the case of
1504 beginning-of-buffer.
1506 2013-11-06 Glenn Morris <rgm@gnu.org>
1508 * Makefile.in (setwins_almost, setwins_for_subdirs):
1509 Avoid accidental matches.
1511 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1513 * menu-bar.el (popup-menu): Use key-binding.
1515 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1517 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1518 menus, support also the menus produced by minor modes.
1521 2013-11-06 Leo Liu <sdl.web@gmail.com>
1523 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1524 DISTANCE to bound the search. All uses changed. (Bug#15808)
1526 2013-11-06 Glenn Morris <rgm@gnu.org>
1528 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1529 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1530 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1532 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1534 * electric.el (electric-indent-just-newline): New command.
1535 (electric-indent-mode-map): New keymap.
1536 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1537 Re-add :group which weren't redundant.
1539 * electric.el (electric-indent-local-mode): New minor mode.
1540 (electric-indent-functions-without-reindent): New var.
1541 (electric-indent-post-self-insert-function): Use it.
1542 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1544 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1546 * international/quail.el (quail-help): Be more explicit about the
1547 meaning of the labels shown on the keys. (Bug#15800)
1549 * startup.el (normal-top-level): Load the subdirs.el files before
1550 setting the locale environment. (Bug#15805)
1552 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1554 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1555 via arguments so as to get the right ones (bug#15418).
1557 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1559 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1561 Fix problems found while writing a test suite.
1563 * net/tramp-compat.el (tramp-compat-load): New defun.
1564 * net/tramp.el (tramp-handle-load): Use it.
1566 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1567 "(numberp ok-if-already-exists)" correctly.
1569 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1571 * international/characters.el (glyphless-char-display-control):
1574 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1576 * progmodes/python.el (python-mode):
1577 * progmodes/scheme.el (scheme-mode):
1578 * progmodes/prolog.el (prolog-mode):
1579 * progmodes/ruby-mode.el (ruby-mode):
1580 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1581 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1583 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1585 * rect.el (rectangle--highlight-for-redisplay):
1586 * emacs-lisp/smie.el (smie--next-indent-change):
1587 Use buffer-chars-modified-tick.
1589 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1591 * electric.el (electric-indent-post-self-insert-function):
1592 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1594 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1596 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1598 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1600 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1603 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1605 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1607 * progmodes/python.el: Fix up last change.
1608 (python-shell--save-temp-file): New function.
1609 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1610 `string' comes from the current buffer.
1611 (python-shell-send-string-no-output): Remove `msg' arg.
1612 (python--use-fake-loc): New var.
1613 (python-shell-buffer-substring): Obey it. Try to compensate for the
1614 extra coding line added by python-shell--save-temp-file.
1615 (python-shell-send-region): Use python-shell--save-temp-file and
1616 python-shell-send-file directly. Add `nomain' argument.
1617 (python-shell-send-buffer): Use python-shell-send-region.
1618 (python-electric-pair-string-delimiter): New function.
1619 (python-mode): Use it.
1621 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1623 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1624 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1625 environment and decoding all of the default-directory's to here
1627 (command-line): Decode also argv[0].
1629 * loadup.el: Error out if default-directory is a multibyte string
1630 when we are dumping.
1632 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1634 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1636 * emacs-lisp/package.el (package-menu-mode)
1637 (package-menu--print-info, package-menu--archive-predicate):
1638 Add Archive column to package list.
1640 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1642 Fix problems found while writing a test suite.
1644 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1645 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1646 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1647 to nil when running original file name handler. Otherwise,
1648 there are problems with constructs like "$$FOO".
1650 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1653 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1655 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1657 * subr.el (version<, version<=, version=):
1658 Update docstrings with information for snapshot versions.
1660 * helpers.el: New library for misc helper functions.
1661 (hash-table-keys): New function returning a list of hash keys.
1662 (hash-table-values): New function returning a list of hash values.
1664 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1666 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1667 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1669 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1671 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1672 checking whether point is after a 1-letter word.
1674 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1676 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1677 Don't infloop when expanding region over `multiline' syntax-type that
1678 begins a line (bug#15778).
1680 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1682 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1683 Make it into a proper minor mode.
1684 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1685 (rectangle-mark-mode-map): New keymap.
1686 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1688 2013-11-04 Glenn Morris <rgm@gnu.org>
1690 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1692 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1694 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1695 (ruby-smie-rules): Use smie-rule-parent instead.
1697 * emacs-lisp/smie.el (smie-rule-parent): Always call
1698 smie-indent-virtual rather than only for hanging tokens.
1699 (smie--next-indent-change): New helper command.
1701 2013-11-03 Glenn Morris <rgm@gnu.org>
1703 * Makefile.in (abs_srcdir): Remove.
1704 (emacs): Unset EMACSLOADPATH.
1706 2013-11-02 Glenn Morris <rgm@gnu.org>
1708 * Makefile.in (EMACS): Use a relative filename.
1709 (abs_top_builddir): Remove.
1710 (custom-deps, finder-data, autoloads): Use --chdir.
1712 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1714 Use relative filenames in TAGS files.
1715 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1716 (lisptagsfiles4, TAGS): Use relative file names.
1717 (TAGS-LISP): Remove.
1718 (maintainer-clean): No more TAGS-LISP file.
1720 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1721 (lisptagsfiles4): Use absolute filenames again.
1722 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1723 Remove all *loaddefs files, not just the first. Remove esh-groups.
1724 (maintainer-clean): Delete TAGS, TAGS-LISP.
1726 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1728 * emacs-lisp/package.el (package-version-join):
1729 Recognize snapshot versions.
1731 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1733 * subr.el (version-regexp-alist): Add support for snapshot versions.
1735 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1737 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1738 New function, replacement for `smie-rule-parent' for when we want to
1739 skip over our direct parent if it's an assignment token..
1740 (ruby-smie-rules): Use it.
1742 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1744 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1745 unconditionally. Remove now unnecessary forward declarations.
1746 Remove XEmacs-specific setup.
1747 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1748 (ruby-font-lock-syntactic-keywords)
1749 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1750 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1751 (ruby-here-doc-end-syntax): Remove.
1752 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1753 defined as function.
1755 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1757 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1759 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1761 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1762 table and abbrev table, `define-derived-mode' does that for us
1765 2013-11-01 Glenn Morris <rgm@gnu.org>
1767 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1768 files is atomic for some time, so no parallel compilation issues).
1770 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1772 * faces.el (face-x-resources): Add :distant-foreground.
1773 (region): Use :distant-foreground for gtk and ns.
1775 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1777 Allow multiple bibliographies when BibLaTeX is used rather than
1779 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1780 (reftex-locate-bibliography-files): Us it.
1782 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1784 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1785 allow comments in pbm files.
1787 * term/w32-win.el (dynamic-library-alist): Support newer versions
1788 of libjpeg starting with v7: look only for the DLL from the
1789 version against which Emacs was built.
1790 Support versions of libpng beyond 1.4.x.
1791 Support libtiff v4.x.
1793 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1795 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1796 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1798 (ruby-deep-arglist): Add property :type.
1800 2013-10-31 Glenn Morris <rgm@gnu.org>
1802 * Makefile.in (custom-deps, finder-data): No need to setq the target
1803 variables, we are in the right directory and the defaults work fine.
1805 2013-10-30 Glenn Morris <rgm@gnu.org>
1807 * Makefile.in (autoloads): Do not use abs_lisp.
1809 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1810 `newline' does not respect `standard-output', so use `princ'.
1812 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1814 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1815 * buff-menu.el (Buffer-menu--unmark): New function.
1816 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1818 2013-10-30 Glenn Morris <rgm@gnu.org>
1820 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1822 * emacs-lisp/package.el (lm-homepage): Declare.
1824 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1827 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1829 * Makefile.in (finder-data, autoloads, update-subdirs)
1830 (compile-main, compile-clean, compile-always, bootstrap-clean):
1831 Check return value of cd.
1832 (compile-calc): Remove.
1834 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1836 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1838 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1839 (byte-compile-and-folded): New function.
1840 (=, <, >, <=, >=): Use it.
1842 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1843 (path-separator, null-device, buffer-file-coding-system)
1844 (lpr-headers-switches): Check system-type before modifying them.
1845 (find-buffer-file-type-coding-system): Mark obsolete.
1846 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1847 find-file-not-found-set-buffer-file-coding-system.
1848 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1849 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1850 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1851 (w32-direct-print-region-helper, w32-direct-print-region-function)
1852 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1853 * startup.el (normal-top-level-add-subdirs-to-load-path):
1854 * ps-print.el (ps-print-region-function):
1855 * lpr.el (print-region-function): Use new name.
1857 * subr.el (custom-declare-variable-early): Remove function.
1858 (custom-declare-variable-list): Remove var.
1859 (error, user-error): Remove `while' loop.
1860 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1861 (user-emacs-directory-warning, locate-user-emacs-file):
1863 * simple.el (read-quoted-char-radix, read-quoted-char):
1864 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1866 * custom.el (custom-declare-variable-list): Don't process
1867 custom-declare-variable-list.
1869 * progmodes/python.el (python-shell-get-buffer): New function.
1870 (python-shell-get-process): Use it.
1871 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1872 Python which encoding was used. Don't split-string since we only care
1873 about the first line. Return the temp-file, if applicable.
1874 (python-shell-send-region): Tell compile.el how to turn locations in
1875 the temp-file into locations in the source buffer.
1877 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1879 * subr.el (undefined): Add missing behavior from the C code for
1882 * rect.el: Use lexical-binding. Add new rectangular region support.
1883 (rectangle-mark): New command.
1884 (rectangle--region): New var.
1885 (deactivate-mark-hook): Reset rectangle--region.
1886 (rectangle--extract-region, rectangle--insert-for-yank)
1887 (rectangle--highlight-for-redisplay)
1888 (rectangle--unhighlight-for-redisplay): New functions.
1889 (region-extract-function, redisplay-unhighlight-region-function)
1890 (redisplay-highlight-region-function): Use them to handle
1892 * simple.el (region-extract-function): New var.
1893 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1894 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1895 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1896 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1897 (redisplay-unhighlight-region-function)
1898 (redisplay-highlight-region-function): New vars.
1899 (redisplay--update-region-highlight): New function.
1900 (pre-redisplay-function): Use it.
1901 (exchange-point-and-mark): Don't deactivate the mark before
1902 reactivate-it anyway.
1903 * comint.el (comint-kill-region): Remove yank-handler argument.
1904 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1905 (delete-char): Remove property, since it's now part of their
1907 (self-insert-iso): Remove property since this command doesn't exist.
1909 * emacs-lisp/package.el (package--download-one-archive)
1910 (describe-package-1): Don't query the user about final newline.
1912 2013-10-29 Daniel Colascione <dancol@dancol.org>
1914 * net/tramp.el (tramp-methods): Document new functionality.
1915 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1916 tramp-hostname-checker if method provides one instead of scanning
1917 argument list for "%h" to decide hostname acceptability.
1919 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1921 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1922 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1923 Handle COPY-CONTENTS. (Bug#15737)
1925 2013-10-28 Daiki Ueno <ueno@gnu.org>
1928 (epa-file-cache-passphrase-for-symmetric-encryption):
1929 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1931 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1933 * image.el (defimage):
1934 (image-load-path): Doc fixes.
1936 2013-10-27 Alan Mackenzie <acm@muc.de>
1938 Indent statements in macros following "##" correctly.
1939 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1940 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1942 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1944 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1946 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1948 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1949 after `=' is probably a new expression.
1951 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1953 * man.el (man-imenu-title): New option.
1954 (Man-mode-map): Add menu. (Bug#15722)
1955 (Man-mode): Add imenu to menu.
1957 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
1959 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
1960 specific in what the first arg can be: a non-keyword word,
1961 string/regexp/percent literal opener, opening paren, or unary
1962 operator followed directly by word.
1964 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1966 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
1967 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
1968 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
1969 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
1970 Remove vars, they do not apply any more.
1971 (prolog-mode-abbrev-table): Remove redundant declaration.
1972 (prolog-upper-case-string, prolog-lower-case-string): Remove.
1973 (prolog-use-smie): Remove.
1974 (prolog-smie-rules): Add indentation rule for the if-then-else layout
1975 supported by prolog-electric-if-then-else-flag.
1976 (prolog-mode-variables, prolog-menu): Use setq-local.
1977 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
1978 Remove binding to `Backspace' since this key doesn't exist anyway.
1979 Remove bindings for electric self-inserting keys.
1980 (prog-mode): Assume it's defined.
1981 (prolog-post-self-insert): New function.
1982 (prolog-mode): Use it.
1983 (prolog-indent-line, prolog-indent-level)
1984 (prolog-find-indent-of-matching-paren)
1985 (prolog-indentation-level-of-line, prolog-goto-comment-column)
1986 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
1987 (prolog-goto-next-paren, prolog-in-string-or-comment)
1988 (prolog-tokenize, prolog-inside-mline-comment)
1989 (prolog-find-start-of-mline-comment): Remove functions.
1990 (prolog-find-unmatched-paren, prolog-clause-end)
1991 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
1992 (prolog-electric--if-then-else): Rename from
1993 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
1994 (prolog-tokenize-searchkey): Remove const.
1995 (prolog-clause-info): Use forward-sexp.
1996 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
1997 (prolog-electric-if-then-else): Remove commands.
1998 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
1999 for use in post-self-insert-hook.
2000 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2001 for use in post-self-insert-hook.
2002 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2003 for use in post-self-insert-hook.
2004 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2005 adapt it for use in post-self-insert-hook.
2007 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2009 * emacs-lisp/ert.el (ert-run-tests-interactively):
2010 Use `completing-read'. (Bug#9756)
2012 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2014 * simple.el (line-move): Call line-move-1 instead of
2015 line-move-visual when the current window hscroll is zero, but
2016 temporary-goal-column indicates we will need to hscroll as result
2017 of the movement. (Bug#15712)
2019 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2021 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2022 capitalization. Use :visible instead of :active.
2023 Fix `ruby-indent-exp' reference. Add menu items for the generic
2024 commands that are used with SMIE.
2025 (ruby-do-end-to-brace): Insert space after `{'.
2027 2013-10-25 John Anthony <john@jo.hnanthony.com>
2029 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2031 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2033 2013-10-25 Glenn Morris <rgm@gnu.org>
2035 * vc/vc.el (vc-print-log): Don't use a working revision unless
2036 one was explicitly specified. (Bug#15322)
2038 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2040 * subr.el (add-to-list): Preserve return value in compiler-macro
2043 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2045 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2046 result. Ask user to retry using '-all' flag. (Bug#15701)
2048 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2050 * emacs-lisp/smie.el: New smie-config system.
2051 (smie-config): New defcustom.
2052 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2053 (smie-config-guess, smie-config-save): New commands.
2054 (smie-config--mode-local, smie-config--buffer-local)
2055 (smie-config--trace, smie-config--modefuns): New vars.
2056 (smie-config--advice, smie-config--mode-hook)
2057 (smie-config--setter, smie-config-local, smie-config--get-trace)
2058 (smie-config--guess-value, smie-config--guess): New functions.
2059 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2060 text properties. Treat "string fence" syntax like string syntax.
2062 * progmodes/sh-script.el (sh-use-smie): Change default.
2063 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2064 (sh-var-value): Simplify by CSE.
2065 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2066 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2068 (sh-guess-basic-offset): Use cl-incf.
2069 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2071 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2073 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2076 2013-10-24 Glenn Morris <rgm@gnu.org>
2078 * Makefile.in (abs_top_srcdir): Remove.
2079 (update-subdirs): Use relative path to update-subdirs.
2081 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2083 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2084 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2085 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2086 Call unmsys--file-name before expand-file-name, not after it.
2088 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2090 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2091 (ert-test-skipped): New error.
2092 (ert-skip, ert-stats-skipped): New defuns.
2093 (ert--skip-unless): New macro.
2094 (ert-test-skipped): New struct.
2095 (ert--run-test-debugger, ert-test-result-type-p)
2096 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2097 (ert--stats-set-test-and-result, ert-char-for-test-result)
2098 (ert-string-for-test-result, ert-run-tests-batch)
2099 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2100 Handle skipped tests. (Bug#9803)
2102 2013-10-24 Glenn Morris <rgm@gnu.org>
2104 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2106 * Makefile.in (abs_top_srcdir): New, set by configure.
2107 (update-subdirs): Correct build-aux location.
2109 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2111 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2112 value, whether we could auto-deduce `backend', or not.
2114 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2115 with parameters" example. Simplify the "is it block or is it
2116 hash" check, but also make it more thorough.
2118 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2120 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2122 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2124 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2127 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2130 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2132 * progmodes/compile.el (compilation-directory-matcher)
2133 (compilation-page-delimiter):
2134 Support GNU Make-4.0 directory quoting. (Bug#15678)
2136 2013-10-23 Leo Liu <sdl.web@gmail.com>
2138 * ido.el (ido-tidy): Handle read-only text.
2140 2013-10-23 Glenn Morris <rgm@gnu.org>
2142 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2143 (emacs, compile, compile-always):
2144 Quote entities that might contain whitespace.
2145 (custom-deps, finder-data, autoloads): Use abs_lisp.
2146 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2147 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2148 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2150 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2152 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2153 Use `following-char'.
2155 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2157 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2158 * progmodes/ruby-mode.el (ruby-smie-rules):
2159 Remove corresponding workaround. Fix indentation rule of ";" so it
2160 also applies when ";" is the parent.
2162 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2164 * frame.el (display-screens, display-pixel-height)
2165 (display-pixel-width, display-mm-width, display-backing-store)
2166 (display-save-under, display-planes, display-color-cells)
2167 (display-visual-class, display-monitor-attributes-list):
2168 Mention the optional ‘display’ argument in doc strings.
2170 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2172 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2173 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2175 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2177 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2178 TODO. Add "." after " @ ".
2179 (ruby-smie--at-dot-call): New function. Checks if point at method
2180 call with explicit target.
2181 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2182 to the method name tokens when it precedes them.
2183 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2184 (ruby-smie-rules): Add rule for indentation before and after "."
2187 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2189 * textmodes/remember.el (remember-diary-extract-entries):
2192 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2195 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2197 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2198 (ruby-smie--implicit-semi-p): Add new operator chars.
2200 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2202 (ruby-smie--args-separator-p): Check that there's no newline
2203 between method call and its arguments.
2205 2013-10-20 Alan Mackenzie <acm@muc.de>
2207 Allow comma separated lists after Java "implements".
2209 * progmodes/cc-engine.el (c-backward-over-enum-header):
2211 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2212 from a "disallowed" list in enum fontification.
2214 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2216 * startup.el (default-frame-background-mode): Remove unused defvar.
2218 * progmodes/verilog-mode.el (verilog-mode): Don't set
2219 comment-indent-function globally.
2221 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2223 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2224 Move Info menu item creation to ns-win.el.
2226 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2229 * menu-bar.el: Move GNUStep specific menus...
2231 * term/ns-win.el (ns-initialize-window-system): ... to here.
2233 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2235 * simple.el (newline): Only run post-self-insert-hook when
2236 called interactively.
2238 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2240 * icomplete.el (icomplete-with-completion-tables): Add :version.
2242 2013-10-19 Alan Mackenzie <acm@muc.de>
2244 Fix fontification bugs with constructors and const.
2246 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2247 CASE 2) Remove the check for the absence of a suffix construct
2248 after a function declaration with only types (no identifiers) in
2249 the parentheses. Also, accept a function declaration with just a
2250 type inside the parentheses, if this type can be positively
2251 recognised as such, or if a prefix keyword like "explicit" nails
2252 down the construct as a declaration.
2254 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2256 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2257 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2258 the problem whereby selecting a menu item that leads to a
2259 minibuffer prompt moves the cursor out of the minibuffer window,
2260 making it hard to type at the prompt. Suggested by Stefan Monnier
2261 <monnier@iro.umontreal.ca>.
2263 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2265 * menu-bar.el: Don't make Services menu.
2267 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2269 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2270 (ffap-alist): Use ffap-c++-mode for c++-mode.
2271 (ffap-c++-path): New variable.
2272 (ffap-c++-mode): New function.
2274 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2276 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2278 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2280 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2281 introduced on 2013-09-08, which results in an infinite loop
2282 requesting a password.
2284 2013-10-18 Glenn Morris <rgm@gnu.org>
2286 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2288 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2290 Sync with upstream verilog-mode revision 1a6ecec7.
2291 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2292 (verilog-mode-release-date): Remove.
2293 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2294 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2295 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2296 (verilog-auto-tieoff-ignore-regexp)
2297 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2298 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2299 (verilog-signals-with, verilog-dir-cache-preserving)
2300 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2302 (verilog-case-fold): New option, to control case folding in
2303 regexp searches, bug597.
2304 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2305 (verilog-string-match-fold, verilog-in-paren-count)
2306 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2307 (verilog-at-close-struct-p): New functions.
2308 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2309 (verilog-forward-sexp, verilog-set-auto-endcomments):
2310 (verilog-leap-to-case-head): Handle "unique0" case.
2311 (verilog-in-constraint-re): New constant.
2312 (verilog-keywords, verilog-type-font-keywords):
2313 Add some SystemVerilog 1800-2012 keywords.
2314 (verilog-label-be): Remove unimplemented argument, bug669.
2315 (verilog-batch-execute-func): When batch expanding clear
2316 create-lockfiles to prevent spurious user locks when a file ends
2318 (verilog-calculate-indent, verilog-calc-1)
2319 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2320 (verilog-do-indent): Fix indentation of nested constraints
2322 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2323 (verilog-auto-inst-param): Use verilog-string-match-fold.
2324 (verilog-read-inst-module-matcher):
2325 Fix AUTOINST on gate primitives with #1.
2326 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2327 Reads all user-defined typed variables.
2328 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2329 (verilog-signals-matching-regexp)
2330 (verilog-signals-not-matching-regexp, verilog-auto):
2331 Respect verilog-case-fold.
2332 (verilog-diff-report): Fix line count.
2333 (verilog-auto-assign-modport): Remove unused local `modi'.
2334 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2335 better handle multidimensional arrays.
2336 Fix packed array ports misadding bit index in AUTOINST, bug637.
2337 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2338 to not double-declare existing outputs and inputs, respectively.
2339 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2340 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2341 (verilog-sk-uvm-component): New skeleton.
2342 (verilog-submit-bug-report): Add verilog-case-fold,
2343 remove verilog-mode-release-date.
2345 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2347 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2350 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2352 * textmodes/remember.el (remember): set buffer-offer-save in
2353 remember buffers (bug#13566).
2355 2013-10-18 Daniel Colascione <dancol@dancol.org>
2357 When evaluating forms in ielm, direct standard output to ielm
2358 buffer. Add new ielm-return-for-effect command. Remove trailing
2359 whitespace throughout.
2361 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2362 (ielm-return-for-effect): New command.
2363 (ielm-send-input): Accept optional `for-effect' parameter.
2364 (ielm-eval-input): Accept optional `for-effect' parameter.
2365 Bind `standard-output' to stream we create using
2366 `ielm-standard-output-impl'. Suppress printing result when
2368 (ielm-standard-output-impl): New function.
2369 (inferior-emacs-lisp-mode): Explain new features in documentation.
2371 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2375 * net/tramp.el (tramp-debug-message): Do not check for connection
2377 (tramp-message): Use "vector" connection property.
2379 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2380 (tramp-equal-remote, tramp-eshell-directory-change)
2381 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2382 (tramp-adb-handle-rename-file)
2383 * net/tramp-cmds.el (tramp-list-remote-buffers)
2384 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2385 * net/tramp-compat.el (tramp-compat-process-running-p)
2386 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2387 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2388 (tramp-gvfs-handle-rename-file)
2389 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2390 (tramp-set-file-uid-gid)
2391 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2392 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2395 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2396 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2397 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2398 (tramp-gw-open-network-stream): Suppress unrelated traces.
2400 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2401 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2402 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2403 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2404 connection property.
2406 * net/tramp-cache.el (top): Suppress traces when reading
2409 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2410 Refactor common code. Improve debug message.
2411 (tramp-maybe-open-connection)
2412 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2413 connection buffer too early.
2415 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2416 from `tramp-smb-actions-with-acl'.
2417 (tramp-smb-actions-set-acl): New defconst.
2418 (tramp-smb-handle-copy-directory)
2419 (tramp-smb-action-get-acl): New defun, renamed from
2420 `tramp-smb-action-with-acl'.
2421 (tramp-smb-action-set-acl): New defun.
2422 (tramp-smb-handle-set-file-acl): Rewrite.
2424 2013-10-17 Glenn Morris <rgm@gnu.org>
2426 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2428 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2430 * skeleton.el (skeleton-newline): Remove.
2431 (skeleton-internal-1): Use (insert "\n") instead.
2433 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2436 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2437 forward-sexp-function while we redo its job (bug#15613).
2439 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2441 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2442 represented by lists.
2444 2013-10-16 Glenn Morris <rgm@gnu.org>
2446 * tmm.el (tmm--history): New dynamic variable.
2447 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2449 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2451 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2452 (tramp-smb-errors): Add error messages.
2453 (tramp-smb-actions-with-acl): New defconst.
2454 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2455 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2456 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2457 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2458 (tramp-smb-get-stat-capability): Fix tests.
2460 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2462 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2465 2013-10-16 Glenn Morris <rgm@gnu.org>
2467 * ansi-color.el (ansi-color-drop-regexp):
2468 Add 1J, 1K, 2K. (Bug#15617)
2470 * files.el (hack-local-variables--warned-lexical): New.
2471 (hack-local-variables):
2472 Warn about misplaced lexical-binding. (Bug#15616)
2474 * net/eww.el (eww-render): Always set eww-current-url,
2475 and update header line. (Bug#15622)
2476 (eww-display-html): ... Rather than just doing it here.
2478 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2480 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2481 menu navigations commands.
2483 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2485 * progmodes/subword.el (subword-capitalize): Be careful when
2486 the search for [[:alpha:]] fails (bug#15580).
2488 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2490 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2491 to commands that scroll the menu.
2493 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2495 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2496 Handle methods ending with `?' and `!'.
2498 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2500 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2501 `japanese-cp932' to `cp932' to fix the problem where saving a
2502 source file written in Shift_JIS twice would end up having
2503 `coding: japanese-cp932' which Ruby could not recognize.
2504 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2505 in `ruby-encoding-map'.
2506 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2507 doesn't need to be explicitly declared in magic comment.
2508 (ruby-encoding-map): Add type declaration for better customize UI.
2510 2013-10-13 Glenn Morris <rgm@gnu.org>
2512 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2513 Occur buffers are read-only. http://bugs.debian.org/720775
2515 * emacs-lisp/authors.el (authors-fixed-entries):
2516 Comment out old alpha stuff.
2518 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2520 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2521 to `after-save-hook' instead of `before-save-hook'.
2522 (ruby-mode-set-encoding): Use the value of coding system used to
2523 write the file. Call `basic-save-buffer-1' after modifying the
2526 2013-10-13 Alan Mackenzie <acm@muc.de>
2528 Fix indentation/fontification of Java enum with
2529 "implements"/generic.
2531 * progmodes/cc-engine.el (c-backward-over-enum-header):
2532 Extracted from the three other places and enhanced to handle generics.
2533 (c-inside-bracelist-p): Uses new function above.
2534 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2536 (c-font-lock-enum-tail): Uses new function above.
2538 2013-10-13 Kenichi Handa <handa@gnu.org>
2540 * international/mule-cmds.el (select-safe-coding-system): Remove a
2541 superfluous condition in chekcing whether a coding system is safe
2544 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2546 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2548 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2550 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2552 2013-10-13 Glenn Morris <rgm@gnu.org>
2554 * menu-bar.el (menu-bar-update-buffers):
2555 Unify Buffers menu prompt string. (Bug#15576)
2557 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2559 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2561 (authors-fixed-entries): Use accented form of name.
2563 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2565 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2566 method calls (bug#15594).
2567 (ruby-smie--args-separator-p): New function.
2568 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2569 recognize paren-free method calls.
2571 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2572 internals of universal-argument.
2574 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2576 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2577 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2578 dropped menu on second mouse click on the menu bar.
2580 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2582 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2583 (explicit-shell-file-name): Declare.
2584 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2585 (sh-completion-at-point-function): New function.
2587 (sh-smie--keyword-p): Remove unused argument.
2588 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2590 (sh-set-shell): Always setup SMIE, even if we use the
2591 old indentation code.
2593 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2595 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2597 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2598 predicate would return nil are almost non-existent.
2599 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2601 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2602 cache also after commands that modify the buffer but don't move
2605 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2607 * env.el (substitute-env-in-file-name): New function.
2608 (substitute-env-vars): Extend the meaning of the optional arg.
2610 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2612 * term/w32-win.el (dynamic-library-alist): Define separate lists
2613 of GIF DLLs for versions before and after 5.0.0 of giflib.
2616 2013-10-10 João Távora <joaotavora@gmail.com>
2618 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2619 not locked, use last revision and current source as
2620 defaults. (Bug#15569)
2622 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2624 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2627 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2629 * window.el (pop-to-buffer-same-window): Fix doc-string.
2632 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2634 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2636 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2638 * calendar/icalendar.el (icalendar-import-file):
2639 Fix interactive spec. (Bug#15482)
2641 2013-10-10 Glenn Morris <rgm@gnu.org>
2643 * desktop.el (desktop-save): Default to saving in .emacs.d,
2644 since PWD is no longer in desktop-path by default. (Bug#15319)
2646 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2647 now that text mode has a menu with the same entry.
2648 (menu-bar-text-mode-auto-fill): Remove now unused func.
2649 * textmodes/text-mode.el (text-mode-map):
2650 Use auto-fill help text from menu-bar.el.
2652 2013-10-10 John Anthony <john@jo.hnanthony.com>
2654 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2656 2013-10-09 Juri Linkov <juri@jurta.org>
2658 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2659 instead of this-command-keys. Add universal-argument-more and
2660 universal-argument-minus to the list of prefix commands. (Bug#15568)
2662 2013-10-09 Glenn Morris <rgm@gnu.org>
2664 * vc/vc-svn.el (vc-svn-create-repo):
2665 Expand paths in file://... url. (Bug#15446)
2667 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2669 (authors): Remove unused local variables.
2671 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2673 * profiler.el: Create a more coherent calltree from partial backtraces.
2674 (profiler-format): Hide the tail with `invisible' so that C-s can still
2675 find the hidden elements.
2676 (profiler-calltree-depth): Don't recurse so enthusiastically.
2677 (profiler-function-equal): New hash-table-test.
2678 (profiler-calltree-build-unified): New function.
2679 (profiler-calltree-build): Use it.
2680 (profiler-report-make-name-part): Indent the calltree less.
2681 (profiler-report-mode): Add visibility specs for profiler-format.
2682 (profiler-report-expand-entry, profiler-report-toggle-entry):
2683 Expand the whole subtree when provided with a prefix arg.
2685 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2687 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2689 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2690 hanging iuwu-mod token.
2691 (ruby-smie--forward-token): Do not include a dot after a token in
2693 (ruby-smie--backward-token): Likewise.
2695 2013-10-08 Juri Linkov <juri@jurta.org>
2697 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2698 to isearch-other-control-char.
2699 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2700 and isearch-post-command-hook to post-command-hook.
2701 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2702 and isearch-post-command-hook from post-command-hook.
2703 (isearch-unread-key-sequence)
2704 (isearch-reread-key-sequence-naturally)
2705 (isearch-lookup-scroll-key, isearch-other-control-char)
2706 (isearch-other-meta-char): Remove functions.
2707 (isearch-pre-command-hook, isearch-post-command-hook):
2708 New functions based on isearch-other-meta-char rewritten
2709 relying on the new behavior of overriding-terminal-local-map
2710 that does not replace the local keymaps any more. (Bug#15200)
2712 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2714 Support menus on text-mode terminals.
2715 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2718 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2720 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2721 Move here from mouse.el.
2722 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2724 (tty-menu-navigation-map): New map for TTY menu navigation.
2726 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2728 * frame.el (display-mouse-p): Report text-mode mouse as available
2730 (display-popup-menus-p): Report availability if mouse is
2731 available; don't condition on window-system.
2733 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2734 (tty-menu-selected-face): New faces.
2736 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2738 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2739 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2740 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2741 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2743 (lisp-mode-variables): New `elisp' argument.
2744 (emacs-lisp-mode): Use it.
2745 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2746 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2748 * indent.el: Use lexical-binding.
2749 (indent-region): Add progress reporter.
2750 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2752 (indent--next-tab-stop): New function to implement this behavior.
2753 (tab-to-tab-stop, move-to-tab-stop): Use it.
2755 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2757 * indent.el (indent-rigidly--current-indentation): New function.
2758 (indent-rigidly-map): New var.
2759 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2761 2013-10-08 Bastien Guerry <bzg@gnu.org>
2763 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2765 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2767 * progmodes/perl-mode.el: Use lexical-binding.
2768 Remove redundant :group args.
2769 (perl-nochange): Change default to be closer to other major modes's
2771 (perl-indent-line): Don't consider text on current line as a
2772 valid beginning of function from which to indent.
2774 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2775 with more than one argument (bug#15538).
2777 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2779 * vc/pcvs.el: Use lexical-binding.
2780 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2781 environment of `eval'.
2782 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2783 than a list of expressions. Adjust callers.
2784 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2786 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2788 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2789 case of the dot in a chained method call being on the following line.
2791 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2793 * electric.el (electric-indent-inhibit): New var.
2794 (electric-indent-post-self-insert-function): Use it.
2795 * progmodes/python.el (python-mode): Set it.
2797 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2800 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2802 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2803 (css-mode): Use electric-indent-chars.
2805 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2806 (font-lock-beg, font-lock-end): Move before first use.
2807 (nxml-mode): Use syntax-propertize-function.
2808 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2809 (nxml-extend-after-change-region): Remove.
2810 * nxml/xmltok.el: Use lexical-binding.
2811 (xmltok-save): Use `declare'.
2812 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2813 * nxml/nxml-util.el: Use lexical-binding.
2814 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2816 * nxml/nxml-ns.el: Use lexical-binding.
2817 (nxml-ns-save): Use `declare'.
2818 (nxml-ns-prefixes-for): Avoid add-to-list.
2819 * nxml/rng-match.el: Use lexical-binding.
2820 (rng--ipattern): Use cl-defstruct.
2821 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2822 (rng-cons-group-after, rng-subst-group-after)
2823 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2824 Use closures instead of `(lambda...).
2826 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2828 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2831 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2832 Use `tramp-handle-insert-file-contents'.
2833 (tramp-gvfs-handle-insert-file-contents): Remove function.
2835 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2836 Use `save-restriction' in order to keep markers.
2838 * net/trampver.el: Update release number.
2840 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2842 * progmodes/compile.el (compilation-parse-errors):
2843 Use compilation--put-prop.
2844 (compilation--ensure-parse): Check compilation-multiline.
2846 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2848 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2851 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2853 * progmodes/ruby-mode.el: Fix recently added tests.
2854 (ruby-smie-grammar): Add - and +.
2855 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2856 (ruby-smie--backward-id): New functions.
2857 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2858 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2861 2013-10-07 Leo Liu <sdl.web@gmail.com>
2863 * register.el (register-preview-delay)
2864 (register-preview-functions): New variables.
2865 (register-read-with-preview, register-preview)
2866 (register-describe-oneline): New functions.
2867 (point-to-register, window-configuration-to-register)
2868 (frame-configuration-to-register, jump-to-register)
2869 (number-to-register, view-register, insert-register)
2870 (copy-to-register, append-to-register, prepend-to-register)
2871 (copy-rectangle-to-register): Use register-read-with-preview to
2872 read register. (Bug#15525)
2874 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2876 * net/network-stream.el (network-stream-open-starttls): Don't add
2877 --insecure if it's already present, because that gnutls-cli
2878 rejects getting that parameter twice.
2880 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2882 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2885 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2887 * newcomment.el (comment-use-global-state): Change default value
2888 to t, mark obsolete (Bug#15251).
2889 (comment-beginning): In addition to `comment-to-syntax', check the
2890 value of `comment-use-global-state'.
2892 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2894 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2895 (ruby-comment-column): Follow the global default, by default.
2896 (ruby-smie-grammar): Add assignment syntax.
2897 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2898 open-paren, a comma, or a \.
2899 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2900 and line continuations.
2901 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2902 followed by implicit semi-colons. Add rule for string concatenation
2903 and for indentation at BOB.
2904 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2906 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2907 calling next-sexp, since next-token may have skipped chars which
2908 next-sexp doesn't know should be skipped!
2910 2013-10-05 Leo Liu <sdl.web@gmail.com>
2912 * progmodes/octave.el (octave-send-region):
2913 Call compilation-forget-errors.
2915 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2917 * vc/vc-svn.el (vc-svn-find-admin-dir):
2918 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2919 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2920 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2921 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2923 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2925 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2927 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2929 * subr.el (read-passwd): Hide chars even when called within a context
2930 where after-change-functions is disabled (bug#15501).
2931 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2932 until we removed ourself from overriding-terminal-local-map.
2934 2013-10-04 Leo Liu <sdl.web@gmail.com>
2936 * progmodes/octave.el (inferior-octave-mode):
2937 Call compilation-forget-errors.
2939 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2941 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2943 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2945 * net/secrets.el (secrets-create-collection): Add optional
2946 argument ALIAS. Use proper Label keyword. Append ALIAS as
2947 dbus-call-method argument. (Bug#15516)
2949 2013-10-04 Leo Liu <sdl.web@gmail.com>
2951 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2952 (inferior-octave-compilation-font-lock-keywords): New variables.
2953 (compilation-error-regexp-alist)
2954 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
2955 (inferior-octave-mode): Use compilation-shell-minor-mode.
2957 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
2959 * minibuffer.el (completion--replace): Be careful that `end' might be
2962 2013-10-03 Daiki Ueno <ueno@gnu.org>
2964 Add support for package signature checking.
2965 * emacs-lisp/package.el (url-http-file-exists-p)
2966 (epg-make-context, epg-context-set-home-directory)
2967 (epg-verify-string, epg-context-result-for)
2968 (epg-signature-status, epg-signature-to-string)
2969 (epg-check-configuration, epg-configuration)
2970 (epg-import-keys-from-file): Declare.
2971 (package-check-signature): New user option.
2972 (package-unsigned-archives): New user option.
2973 (package-desc): Add `signed' field.
2974 (package-load-descriptor): Set `signed' field if .signed file exists.
2975 (package--archive-file-exists-p): New function.
2976 (package--check-signature): New function.
2977 (package-install-from-archive): Check package signature.
2978 (package--download-one-archive): Check archive signature.
2979 (package-delete): Remove .signed file.
2980 (package-import-keyring): New command.
2981 (package-refresh-contents): Import default keyring.
2982 (package-desc-status): Add "unsigned" status.
2983 (describe-package-1, package-menu--print-info)
2984 (package-menu-mark-delete, package-menu--find-upgrades)
2985 (package-menu--status-predicate): Support "unsigned" status.
2987 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
2989 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
2990 the new compilation scheme using the new byte-codes.
2992 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
2993 (byte-pophandler): New byte codes.
2994 (byte-goto-ops): Adjust accordingly.
2995 (byte-compile--use-old-handlers): New var.
2996 (byte-compile-catch): Use new byte codes depending on
2997 byte-compile--use-old-handlers.
2998 (byte-compile-condition-case--old): Rename from
2999 byte-compile-condition-case.
3000 (byte-compile-condition-case--new): New function.
3001 (byte-compile-condition-case): New function that dispatches depending
3002 on byte-compile--use-old-handlers.
3003 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3006 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3007 Optimize under `condition-case' and `catch' if
3008 byte-compile--use-old-handlers is nil.
3009 (disassemble-offset): Handle new bytecodes.
3011 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3013 * subr.el (error): Use `declare'.
3014 (decode-char, encode-char): Use advertised-calling-convention instead
3015 of the docstring to discourage use of the `restriction' arg.
3017 2013-10-03 Daiki Ueno <ueno@gnu.org>
3019 * epg.el (epg-verify-file): Add a comment saying that it does not
3020 notify verification error as a return value nor a signal.
3021 (epg-verify-string): Ditto.
3023 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3025 * progmodes/compile.el (compilation-start): Try globbing the arg to
3028 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3030 Sync with Tramp 2.2.8.
3032 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3033 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3034 * net/trampver.el: Update release number.
3036 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3038 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3039 and default-process-coding-system for darwin only.
3041 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3043 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3045 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3047 * vc/vc-git.el (vc-git-grep): Disable pager.
3049 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3051 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3052 Use :url instead of :homepage, as per
3053 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3055 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3056 non-nil, use `syntax-ppss' (Bug#15251).
3058 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3060 * progmodes/octave.el (inferior-octave-startup-file):
3061 Prefer ~/.emacs.d/init_octave.m.
3063 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3065 * emacs-lisp/package.el (package-desc-from-define):
3066 Accept additional arguments as plist, convert them to an alist and store
3067 them in the `extras' slot.
3068 (package-generate-description-file): Convert extras alist back to
3069 plist and append to the `define-package' form arguments.
3070 (package--alist-to-plist): New function.
3071 (package--ac-desc): Add `extras' slot.
3072 (package--add-to-archive-contents): Check if the archive-contents
3073 vector is long enough, and if it is, pass its `extras' slot value
3074 to `package-desc-create'.
3075 (package-buffer-info): Call `lm-homepage', pass the returned value
3076 to `package-desc-from-define'.
3077 (describe-package-1): Render the homepage button (Bug#13291).
3079 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3080 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3082 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3084 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3085 and default-process-coding-system to utf-8-unix (Bug#15402).
3087 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3089 * subr.el (looking-back): Do not recommend using looking-back.
3091 2013-09-28 Alan Mackenzie <acm@muc.de>
3093 Fix indentation/fontification of Java enum with "implements".
3095 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3096 regexp which matches "implements", etc., in Java.
3097 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3098 specifier clauses coming after "enum".
3099 * progmodes/cc-fonts.el (c-font-lock-declarations)
3100 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3103 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3105 * faces.el (region): Change ns_selection_color to
3106 ns_selection_fg_color, add ns_selection_bg_color.
3108 2013-09-28 Leo Liu <sdl.web@gmail.com>
3110 * progmodes/octave.el (inferior-octave-completion-table)
3111 (inferior-octave-completion-at-point): Minor tweaks.
3113 * textmodes/ispell.el (ispell-lookup-words): Rename from
3114 lookup-words. (Bug#15460)
3115 (lookup-words): Obsolete.
3116 (ispell-complete-word, ispell-command-loop): All uses changed.
3118 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3120 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3121 (octave-mode-menu): Add octave-send-buffer.
3122 (octave-send-buffer): New function.
3124 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3126 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3128 (octave-mode-menu): Add octave-lookfor.
3129 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3131 (octave-lookfor): New function.
3133 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3135 * emacs-lisp/cl-macs.el:
3136 (cl--loop-destr-temps): Remove.
3137 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3139 (cl--loop-set-iterator-function): New function.
3140 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3141 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3142 Bind `it' with `let' instead of substituting it with `cl-subst'.
3143 (cl--unused-var-p): New function.
3144 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3145 Eliminate some unused variable warnings (bug#15326).
3147 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3149 * doc-view.el (doc-view-scale-reset): Rename from
3150 `doc-view-reset-zoom-level'.
3151 (doc-view-scale-adjust): New command.
3152 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3153 `doc-view-scale-adjust'.
3155 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3157 * doc-view.el (doc-view-reset-zoom-level): New command.
3158 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3159 zoom commands (bug#15466).
3161 2013-09-26 Kenichi Handa <handa@gnu.org>
3163 * international/quail.el (quail-help): Make it not a command.
3165 2013-09-26 Leo Liu <sdl.web@gmail.com>
3167 * minibuffer.el (completion-all-sorted-completions): Make args
3168 optional as they are.
3170 2013-09-25 Daniel Colascione <dancol@dancol.org>
3172 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3173 specs are and that they're not evaluated.
3175 2013-09-24 Sam Steingold <sds@gnu.org>
3177 * midnight.el (clean-buffer-list-kill-regexps)
3178 (clean-buffer-list-kill-buffer-names): Update for the new Man
3179 buffer naming which includes the object name.
3181 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3183 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3184 (eshell-parse-command, eshell-parse-pipeline): Use it since
3185 eshell-separate-commands requires a dynamic scoped var.
3186 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3188 2013-09-23 Leo Liu <sdl.web@gmail.com>
3190 * autoinsert.el (auto-insert-alist): Make the value of
3191 lexical-binding match its file setting.
3193 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3195 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3197 * autoarg.el (autoarg-kp-digit-argument):
3198 * electric.el (Electric-command-loop):
3199 * kmacro.el (kmacro-step-edit-insert):
3200 Do not set universal-argument-num-events.
3202 2013-09-22 Leo Liu <sdl.web@gmail.com>
3204 * files.el (interpreter-mode-alist): Add octave.
3206 2013-09-21 Alan Mackenzie <acm@muc.de>
3208 C++: fontify identifier in declaration following "public:" correctly.
3209 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3210 to match "public", etc.
3211 (c-decl-prefix-re): Add ":" into the C++ value.
3212 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3213 bit. Add a check for a ":" preceded by "public", etc.
3215 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3217 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3218 recognized by GDB 7.5 and later.
3220 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3222 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3224 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3226 * subr.el (internal--call-interactively): New const.
3227 (called-interactively-p): Use it (bug#3984).
3229 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3231 * vc/pcvs.el (cvs-mode-ignore):
3232 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3233 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3235 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3237 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3238 (eshell-ls-orig-insert-directory): Remove.
3239 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3240 (eshell-ls-use-in-dired): Use advice-add/remove.
3241 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3242 Add `orig-fun' arg for use in :around advice.
3243 Make it check (redundantly) eshell-ls-use-in-dired.
3245 2013-09-19 Glenn Morris <rgm@gnu.org>
3247 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3249 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3251 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3253 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3255 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3256 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3257 (tramp-get-remote-python): New defuns.
3258 (tramp-get-remote-uid-with-perl)
3259 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3260 contributed by yary <not.com@gmail.com> (tiny change).
3261 (tramp-get-remote-uid-with-python)
3262 (tramp-get-remote-gid-with-python): New defuns. Python code
3263 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3264 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3266 2013-09-19 Glenn Morris <rgm@gnu.org>
3268 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3270 * eshell/em-unix.el (eshell-remove-entries):
3271 Rename argument to avoid name-clash with global `top-level'.
3273 * eshell/esh-proc.el (eshell-kill-process-function):
3274 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3275 (eshell-reset-after-proc): Remove unused arg `proc'.
3277 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3278 (directory-files-and-attributes): Mark unused arg.
3280 * eshell/em-unix.el (eshell-remove-entries):
3281 Remove unused arg `path'. Update callers.
3283 * eshell/em-hist.el (eshell-hist-parse-arguments):
3284 Remove unused arg `silent'. Update callers.
3286 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3287 Fix (f)boundp mix-up.
3289 * eshell/em-smart.el (eshell-smart-scroll-window)
3290 (eshell-disable-after-change):
3291 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3293 2013-09-18 Alan Mackenzie <acm@muc.de>
3295 Fix fontification of type when followed by "const".
3296 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3297 "known" types from fontification.
3299 2013-09-18 Glenn Morris <rgm@gnu.org>
3301 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3302 (chart-face-list): Drop Emacsen without display-color-p.
3304 * net/eww.el (libxml-parse-html-region): Declare.
3305 (eww-display-html): Explicit error if no libxml2 support.
3307 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3309 * image.el (image-type-from-buffer, image-multi-frame-p):
3310 Remove --without-x warning/error.
3312 * mouse.el (mouse-yank-primary):
3313 * term.el (term-mouse-paste):
3314 Reorder to silence --without-x compilation.
3316 * mpc.el (doc-view-mode): Silence --without-x compilation.
3318 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3319 Silence --without-x compilation.
3321 * progmodes/gud.el (gud-find-file, gud-mode):
3322 Silence --without-x compilation.
3323 (tooltip-mode): Declare.
3325 * wdired.el (dired-backup-overwrite): Remove declaration.
3326 (wdired-mode-map): Add doc string.
3328 * custom.el (x-get-resource): Declare.
3330 * eshell/em-glob.el (ange-cache):
3331 * eshell/em-unix.el (ange-cache): Declare.
3333 * faces.el (x-display-list, x-open-connection, x-get-resource):
3336 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3337 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3340 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3342 * net/gnutls.el (gnutls-log-level): Declare.
3344 * net/shr.el (image-size, image-animate): Declare.
3346 * simple.el (font-info): Declare.
3348 * subr.el (x-popup-dialog): Declare.
3350 * term/common-win.el (x-select-enable-primary)
3351 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3354 * term/ns-win.el (x-handle-args): Declare.
3356 * term/x-win.el (x-select-enable-clipboard): Declare.
3358 * term/w32-win.el (create-default-fontset): Declare.
3360 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3363 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3364 (fit-frame-to-buffer): Explicit error if --without-x.
3365 (mouse-autoselect-window-select): Silence compiler.
3367 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3369 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3370 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3371 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3372 * eshell/esh-util.el (eshell-sublist):
3373 Remove unused local variables.
3375 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3377 * textmodes/two-column.el: Make 2C-split work for --without-x.
3378 (scroll-bar-columns): Autoload.
3379 (top-level): Require fringe when compiling.
3381 2013-09-18 Leo Liu <sdl.web@gmail.com>
3383 * subr.el (add-hook): Robustify to handle closure as well.
3385 2013-09-17 Glenn Morris <rgm@gnu.org>
3387 * simple.el (messages-buffer-mode-map): Unbind "g".
3389 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3391 * help-mode.el (help-mode-finish): Use derived-mode-p.
3392 Remove obsolete highlighting.
3394 * play/life.el (life-mode): Use define-derived-mode. Derive from
3396 (life): Let-bind inhibit-read-only.
3397 (life-setup): Avoid `setq'. Use `life-mode'.
3399 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3400 which should not be needed any more.
3401 (package-menu-refresh, package-menu-describe-package): Use user-error.
3403 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3404 (eshell-post-rewrite-command-hook): Make obsolete.
3405 (eshell-parse-command): Simplify.
3406 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3407 (eshell--cmd): Declare.
3408 (eshell-parse-pipeline): Remove unused var `final-p'.
3409 Pass a dynvar to eshell-post-rewrite-command-hook.
3410 Implement the new eshell-post-rewrite-command-function.
3411 (eshell-invoke-directly): Remove unused arg `input'.
3412 * eshell/esh-io.el (eshell-io-initialize):
3413 Use eshell-post-rewrite-command-function (bug#15399).
3414 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3415 adjust to new calling convention.
3416 (eshell-create-handles): Rename args to avoid clashing with dynvar
3419 2013-09-17 Glenn Morris <rgm@gnu.org>
3421 * simple.el (messages-buffer-mode): New major mode.
3422 (messages-buffer): New function.
3423 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3424 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3425 (ert-run-test): Use `messages-buffer' function.
3426 (ert--force-message-log-buffer-truncation): Ignore read-only.
3427 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3428 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3430 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3432 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3434 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3436 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3438 * icomplete.el (icomplete-in-buffer): New var.
3439 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3440 vars and replace them with functions.
3441 (icomplete-minibuffer-setup): Adjust accordingly.
3442 (icomplete--completion-table, icomplete--completion-predicate)
3443 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3445 (icomplete-forward-completions, icomplete-backward-completions)
3446 (icomplete-simple-completing-p, icomplete-exhibit)
3447 (icomplete-completions): Use them.
3448 (icomplete--in-region-buffer): New var.
3449 (icomplete--in-region-setup): New function.
3450 (icomplete-mode): Use it.
3452 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3454 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3455 return args and options.
3456 (eshell-eval-using-options): Use the new return value of
3457 eshell--do-opts to set the options's vars in their scope.
3458 (eshell--set-option): Rename from eshell-set-option.
3460 (eshell--process-option): Rename from eshell-process-option.
3462 (eshell--process-args): Use an `opt-vals' alist to store the options's
3463 values during their processing and return them additionally to the
3466 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3468 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3469 continuation character an operator, as far as indentation is
3470 concerned (Bug#15369).
3472 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3474 * window.el (window--state-put-2): Don't process buffer state
3475 when buffer doesn't exist any more (Bug#15382).
3477 2013-09-15 Glenn Morris <rgm@gnu.org>
3479 * eshell/em-unix.el (eshell/rm):
3480 Make -f ignore missing files. (Bug#15373)
3482 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3483 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3484 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3486 2013-09-14 Glenn Morris <rgm@gnu.org>
3488 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3490 2013-09-13 Glenn Morris <rgm@gnu.org>
3492 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3493 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3495 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3497 * frame.el (x-focus-frame): Mark as declared in frame.c.
3499 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3501 * ls-lisp.el: Use advice-add.
3502 (original-insert-directory): Remove.
3503 (ls-lisp--insert-directory): Rename from insert-directory; add
3504 `orig-fun' argument.
3505 (insert-directory): Advise.
3507 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3509 * term.el (term-emulate-terminal): Decode the command string
3510 before passing it to term-command-hook. (Bug#15337)
3512 2013-09-13 Glenn Morris <rgm@gnu.org>
3514 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3516 * eshell/esh-ext.el (eshell-search-path): Declare.
3518 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3519 Otherwise an error occurs if eshell-dirs module not loaded.
3521 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3523 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3525 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3526 `tramp-check-proper-host'. Check for a valid method name.
3528 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3529 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3530 * net/tramp-sh.el (tramp-maybe-open-connection):
3531 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3533 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3534 also for hash values.
3536 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3538 * term/ns-win.el (parameters): Don't declare as dynamic.
3539 (before-make-frame-hook): Don't add ineffective function.
3541 * eshell/*.el: Use lexical-binding (bug#15231).
3543 2013-09-12 Kenichi Handa <handa@gnu.org>
3545 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3547 2013-09-12 Glenn Morris <rgm@gnu.org>
3549 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3550 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3552 * subr.el (do-after-load-evaluation): Also give compiler warnings
3553 when obsolete files are used (except by obsolete files).
3555 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3556 in the status output, assume `filename' is the first. (Bug#15322)
3558 * vc/vc.el (vc-deduce-fileset): Doc fix.
3560 * calc/calc-help.el (Info-goto-node):
3561 * progmodes/cperl-mode.el (Info-find-node):
3562 * vc/ediff.el (Info-goto-node): Update declarations.
3564 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3566 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3567 (vc-bzr-pull): Require vc-dispatcher.
3568 * vc/vc-git.el (vc-compilation-mode): Declare.
3569 (vc-git-pull): Require vc-dispatcher.
3571 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3573 * progmodes/octave.el (help-button-action): Declare.
3575 * shell.el (shell-directory-tracker): Output error as a message
3576 rather than just returning it as a string.
3577 (shell-process-pushd): Remove useless use of message.
3579 * dframe.el (dframe-timer-fn):
3580 * files.el (dir-locals-read-from-file):
3581 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3583 * reveal.el (reveal-post-command):
3584 * saveplace.el (load-save-place-alist-from-file):
3585 * shell.el (shell-resync-dirs):
3586 * w32-common-fns.el (x-get-selection-value):
3587 * emacs-lisp/copyright.el (copyright-find-copyright):
3588 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3589 * emulation/tpu-edt.el (tpu-copy-keyfile):
3590 * play/bubbles.el (bubbles--mark-neighbourhood):
3591 * progmodes/executable.el
3592 (executable-make-buffer-file-executable-if-script-p):
3593 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3595 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3597 Cleanup Eshell to rely less on dynamic scoping.
3598 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3599 last-value, and ext-command here. Bind `args' closer to `body'.
3600 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3601 (eshell--args): Declare new dynamic var.
3602 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3603 last-value, and ext-command. Pass `args' to `body'.
3604 (eshell-process-args): Bind eshell--args.
3605 (eshell-set-option): Use eshell--args.
3606 * eshell/eshell.el (eshell): Use derived-mode-p.
3607 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3608 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3609 (eshell-glob-function): Declare.
3610 * eshell/esh-util.el: Require cl-lib.
3611 (eshell-read-hosts-file): Avoid add-to-list.
3612 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3614 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3616 (eshell/diff): Remove unused var `err'.
3617 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3619 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3620 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3622 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3623 Move declaration before first use.
3624 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3625 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3628 2013-09-12 Glenn Morris <rgm@gnu.org>
3630 * term/ns-win.el (global-map): Remove binding for ispell-next,
3631 deleted 1999-05-29. (Bug#15357)
3633 2013-09-11 Glenn Morris <rgm@gnu.org>
3635 * echistory.el (electric-command-history): Remove call to deleted func.
3637 * play/landmark.el (landmark-mode): Fix typos.
3639 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3640 Check cvs-sort-ignore-file is bound.
3642 * savehist.el: No need for cl when compiling on Emacs.
3644 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3646 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3648 (eshell-self-insert-command, eshell-send-invisible):
3649 Remove unused argument.
3650 (eshell-handle-control-codes): Remove unused var `orig'.
3651 Avoid delete-backward-char.
3653 * files.el (set-auto-mode): Simplify a bit further.
3655 2013-09-11 Glenn Morris <rgm@gnu.org>
3657 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3658 (set-auto-mode): Don't regexp-quote elements.
3659 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3660 * progmodes/cc-mode.el (interpreter-mode-alist):
3661 * progmodes/ruby-mode.el (interpreter-mode-alist):
3662 Revert previous change.
3664 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3666 * play/snake.el (snake-mode):
3667 * play/mpuz.el (mpuz-mode):
3668 * play/landmark.el (lm-mode):
3669 * play/blackbox.el (blackbox-mode):
3670 * play/5x5.el (5x5-mode):
3671 * obsolete/options.el (Edit-options-mode):
3672 * net/quickurl.el (quickurl-list-mode):
3673 * net/newst-treeview.el (newsticker-treeview-mode):
3674 * mail/rmailsum.el (rmail-summary-mode):
3675 * mail/mspools.el (mspools-mode):
3676 * locate.el (locate-mode):
3677 * ibuffer.el (ibuffer-mode):
3678 * emulation/ws-mode.el (wordstar-mode):
3679 * emacs-lisp/debug.el (debugger-mode):
3680 * array.el (array-mode):
3681 * net/eudc.el (eudc-mode): Use define-derived-mode.
3682 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3683 Move initialization into declaration.
3684 (mairix-searches-mode): Use define-derived-mode.
3685 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3686 (eudc-edit-hotlist): Use dolist.
3687 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3688 (Man-mode): Use define-derived-mode.
3689 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3690 (Info-edit-mode): Use define-derived-mode.
3691 (Info-cease-edit): Use Info-mode.
3692 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3694 (eshell-mode): Use define-derived-mode.
3695 * chistory.el (command-history-mode-map): Rename from
3696 command-history-map.
3697 (command-history-mode): Use define-derived-mode.
3698 (Command-history-setup): Remove function.
3699 * calc/calc.el (calc-trail-mode-map): New var.
3700 (calc-trail-mode): Use define-derived-mode.
3701 (calc-trail-buffer): Set calc-main-buffer manually.
3702 * bookmark.el (bookmark-insert-annotation): New function.
3703 (bookmark-edit-annotation): Use it.
3704 (bookmark-edit-annotation-mode): Make it a proper major mode.
3705 (bookmark-send-edited-annotation): Use derived-mode-p.
3706 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3707 closer to its ideal place. Use \' to match EOS.
3709 * profiler.el (profiler-calltree-find): Use function-equal.
3711 2013-09-10 Glenn Morris <rgm@gnu.org>
3713 * files.el (interpreter-mode-alist): Convert to regexps.
3714 (set-auto-mode): Adapt for this. (Bug#15306)
3715 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3716 Comment out unused variable.
3717 * progmodes/cc-mode.el (interpreter-mode-alist):
3718 * progmodes/python.el (interpreter-mode-alist):
3719 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3720 * progmodes/sh-script.el (sh-set-shell):
3721 No longer use interpreter-mode-alist to get list of shells.
3723 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3725 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3727 * simple.el: Use set-temporary-overlay-map for universal-argument.
3728 (universal-argument-map): Don't use default-bindings (bug#15317).
3729 Bind switch-frame explicitly. Replace universal-argument-minus with
3730 a conditional binding.
3731 (universal-argument-num-events, saved-overriding-map): Remove.
3732 (restore-overriding-map): Remove.
3733 (universal-argument--mode): Rename from save&set-overriding-map,
3735 (universal-argument, universal-argument-more, negative-argument)
3736 (digit-argument): Adjust accordingly.
3737 (universal-argument-minus): Remove.
3738 (universal-argument-other-key): Remove.
3740 * subr.el (with-demoted-errors): Add `format' argument.
3742 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3744 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3745 `tramp-cleanup-connection'.
3747 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3748 parameters KEEP-DEBUG and KEEP-PASSWORD.
3750 * net/tramp.el (tramp-file-name-handler):
3751 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3752 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3753 (tramp-maybe-open-connection):
3754 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3755 Use `tramp-cleanup-connection'.
3757 * net/tramp-sh.el (tramp-maybe-open-connection):
3758 Catch 'uname-changed inside the progress reporter.
3760 2013-09-10 Glenn Morris <rgm@gnu.org>
3762 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3764 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3765 returns "alternate access method" in mode (eg "-rw-r--r--.").
3767 2013-09-08 Glenn Morris <rgm@gnu.org>
3769 * saveplace.el (load-save-place-alist-from-file):
3770 Demote errors. (Bug#15305)
3772 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3774 Improve compatibility with older Emacsen, and XEmacs.
3776 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3777 only if it is bound. It isn't for XEmacs.
3778 (with-tramp-progress-reporter): Do not let-bind `result'.
3779 This yields to scoping errors in XEmacs.
3780 (tramp-handle-make-auto-save-file-name): New function, moved from
3783 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3784 for `make-auto-save-file-name'.
3785 (tramp-adb--gnu-switches-to-ash):
3786 Use `tramp-compat-replace-regexp-in-string'.
3788 * net/tramp-cache.el (tramp-cache-print): Call
3789 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3791 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3792 bound. It isn't for XEmacs.
3794 * net/tramp-compat.el (tramp-compat-copy-file):
3795 Catch `wrong-number-of-arguments' error.
3796 (tramp-compat-replace-regexp-in-string): New defun.
3798 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3799 for `make-auto-save-file-name'.
3800 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3802 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3803 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3804 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3806 * net/tramp-gw.el (tramp-gw-open-network-stream):
3807 Use `tramp-compat-replace-regexp-in-string'.
3809 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3810 Call `tramp-handle-make-auto-save-file-name'.
3811 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3812 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3813 (tramp-sh-file-inotifywait-process-filter):
3814 Use `tramp-compat-replace-regexp-in-string'.
3815 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3817 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3818 for `make-auto-save-file-name'.
3819 (tramp-smb-handle-copy-directory):
3820 Call `tramp-compat-replace-regexp-in-string'.
3821 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3822 (tramp-smb-handle-copy-file): Improve error message.
3823 (tramp-smb-handle-rename-file): Rename directly only in case
3824 `newname' does not exist yet. This is a restriction of smbclient.
3825 (tramp-smb-maybe-open-connection): Rerun the function only when
3826 `auth-sources' is non-nil.
3828 2013-09-08 Kenichi Handa <handa@gnu.org>
3830 * international/characters.el: Set category "^" (Combining) for
3833 2013-09-07 Alan Mackenzie <acm@muc.de>
3835 Correctly fontify Java class constructors.
3836 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3838 (c-recognize-typeless-decls): Set the Java value to t.
3839 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3840 While handling a "(", add a check for, effectively, Java, and handle a
3841 "typeless" declaration there.
3843 2013-09-07 Roland Winkler <winkler@gnu.org>
3845 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3846 field subtitle for entry type book.
3848 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3850 * minibuffer.el: Make minibuffer-complete call completion-in-region
3851 rather than other way around.
3852 (completion--some, completion-pcm--find-all-completions):
3853 Don't delay signals when debugging.
3854 (minibuffer-completion-contents): Beware fields within the
3855 minibuffer contents.
3856 (completion-all-sorted-completions): Use defvar-local.
3857 (completion--do-completion, completion--cache-all-sorted-completions)
3858 (completion-all-sorted-completions, minibuffer-force-complete):
3859 Add args `beg' and `end'.
3860 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3861 (minibuffer-complete): Use completion-in-region.
3862 (completion-complete-and-exit): New fun, extracted from
3863 minibuffer-complete-and-exit.
3864 (minibuffer-complete-and-exit): Use it.
3865 (completion--complete-and-exit): Rename from
3866 minibuffer--complete-and-exit.
3867 (completion-in-region--single-word): New function, extracted from
3868 minibuffer-complete-word.
3869 (minibuffer-complete-word): Use it.
3870 (display-completion-list): Make `common-substring' argument obsolete.
3871 (completion--in-region): Call completion--in-region-1 instead of
3872 minibuffer-complete.
3873 (completion-help-at-point): Pass boundaries to
3874 minibuffer-completion-help as args rather than via an overlay.
3875 (completion-pcm--string->pattern): Use `any-delim'.
3876 (completion-pcm--optimize-pattern): New function.
3877 (completion-pcm--pattern->regex): Handle `any-delim'.
3878 * icomplete.el (icomplete-forward-completions)
3879 (icomplete-backward-completions, icomplete-completions):
3880 Adjust calls to completion-all-sorted-completions and
3881 completion--cache-all-sorted-completions.
3882 (icomplete-with-completion-tables): Default to t.
3883 * emacs-lisp/crm.el (crm--current-element): Rename from
3884 crm--select-current-element. Don't put an overlay but return the
3886 (crm--completion-command): Take two new args to bind to the boundaries.
3887 (crm-completion-help): Adjust accordingly.
3888 (crm-complete): Use completion-in-region.
3889 (crm-complete-word): Use completion-in-region--single-word.
3890 (crm-complete-and-exit): Use completion-complete-and-exit.
3892 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3894 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3897 2013-09-06 Juri Linkov <juri@jurta.org>
3899 * info.el (Info-display-images-node): When image file doesn't exist
3900 display text version of the image if it's provided in the Info file.
3901 Otherwise, display the location of missing image from SRC attribute.
3902 Add help-echo text property from ALT attribute. (Bug#15279)
3904 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3906 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3907 (edit-abbrevs-mode): Use define-derived-mode.
3909 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3910 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3912 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3913 Use define-derived-mode.
3915 * epg.el (epg-start-encrypt): Minor CSE simplification.
3917 2013-09-06 William Xu <william.xwl@gmail.com>
3919 * arc-mode.el: Add support for 7za (bug#15264).
3920 (archive-7z-program): New var.
3921 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3922 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3923 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3925 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3929 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3930 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3931 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3932 (tramp-postfix-host-format, tramp-file-name-regexp)
3933 (tramp-completion-file-name-regexp)
3934 (tramp-completion-dissect-file-name)
3935 (tramp-handle-substitute-in-file-name): Remove 'url case.
3936 (tramp-file-name-regexp-url)
3937 (tramp-completion-file-name-regexp-url): Remove constants.
3939 2013-09-06 Glenn Morris <rgm@gnu.org>
3941 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3943 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3945 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3946 keywords" below "here-doc beginnings" (Bug#15270).
3948 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3950 * subr.el (pop): Use `car-safe'.
3951 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3952 to detect unused `pop' return value.
3954 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
3956 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
3957 (python-fill-string): Remove unused var `marker'.
3958 (python-skeleton-add-menu-items): Remove unused var `items'.
3960 * international/mule-cmds.el: Require CL.
3961 (find-coding-systems-for-charsets): Avoid add-to-list.
3962 (sanitize-coding-system-list): New function, extracted from
3963 select-safe-coding-system-interactively.
3964 (select-safe-coding-system-interactively): Use it.
3965 (read-input-method-name): Accept symbols for `default'.
3967 * emacs-lisp/advice.el (defadvice): Add indent rule.
3969 2013-09-05 Daniel Hackney <dan@haxney.org>
3973 * net/browse-url.el:
3976 * net/eudcb-ldap.el:
3989 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
3990 byte compiler. Remove some unused let-bound variables.
3992 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3994 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
3995 a "ref-cell", since it gets better optimized (bug#14883).
3997 2013-09-05 Glenn Morris <rgm@gnu.org>
3999 * progmodes/cc-awk.el (c-forward-sws): Declare.
4001 2013-09-04 Glenn Morris <rgm@gnu.org>
4003 * generic-x.el [rul-generic-mode]: Require cc-mode.
4004 (c++-mode-syntax-table): Declare.
4005 (rul-generic-mode-syntax-table): Init in the defvar.
4007 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4009 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4010 (vc-do-command, vc-set-async-update):
4011 * vc/vc-mtn.el (vc-mtn-dir-status):
4012 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4013 (vc-hg-pull, vc-hg-merge-branch):
4014 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4015 (vc-git-merge-branch):
4016 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4017 (vc-cvs-dir-status-files):
4018 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4019 (vc-bzr-dir-status-files):
4020 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4021 * vc/vc-annotate.el: Use lexical-binding.
4022 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4023 (vc-sentinel-movepoint): Declare.
4024 (vc-annotate): Don't use `goto-line'.
4025 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4026 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4027 (vc-sentinel-movepoint): Declare.
4028 * vc/vc-svn.el: Use lexical-binding.
4029 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4031 * vc/vc-rcs.el: Use lexical-binding.
4033 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4034 `deleted'. Don't drop errors silently.
4036 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4038 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4040 * vc/vc.el (vc-ignore): Rewrite.
4041 (vc-default-ignore): New function.
4042 (vc-default-ignore-completion-table): Use find-ignore-file.
4044 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4045 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4046 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4047 Remove. Most code moved to vc.el.
4049 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4051 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4052 * net/tramp-smb.el (tramp-smb-get-file-entries):
4053 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4054 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4056 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4058 (eww-change-select): Remove unused var `properties'.
4059 (eww-make-unique-file-name): Remove unused var `base'.
4061 * finder.el (finder-compile-keywords): Don't mess with windows.
4063 * calculator.el (calculator-funcall): Fix typo in last change.
4065 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4067 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4068 <pkg>-autoloads.el file stop us.
4070 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4071 warnings, and factor out common code.
4073 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4075 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4076 two-character operators and whether the character preceding them
4077 changes their meaning (Bug#15208).
4079 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4081 Format code sent to Python shell for robustness.
4082 * progmodes/python.el (python-shell-buffer-substring):
4084 (python-shell-send-region, python-shell-send-buffer): Use it.
4086 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4088 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4089 * net/tramp.el (tramp-user-error): ... here.
4090 (tramp-find-method, tramp-check-proper-host)
4091 (tramp-dissect-file-name, tramp-debug-message)
4092 (tramp-handle-shell-command):
4093 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4094 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4096 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4098 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4100 * avoid.el (mouse-avoidance-point-position)
4101 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4104 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4106 * progmodes/python.el (python-shell-completion-get-completions):
4107 Drop use of deleted `comint-last-prompt-overlay'.
4108 (python-nav-if-name-main): New command.
4110 2013-09-01 Glenn Morris <rgm@gnu.org>
4112 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4113 Avoid leading space in $wins. Otherwise the sed command used by
4114 eg compile-main ends up containing "/*.el". (Bug#15170)
4116 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4118 2013-08-30 Glenn Morris <rgm@gnu.org>
4120 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4121 Fix is-this-a-directory logic. (Bug#15220)
4123 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4125 * textmodes/css-mode.el: Use SMIE.
4126 (css-smie-grammar): New var.
4127 (css-smie--forward-token, css-smie--backward-token)
4128 (css-smie-rules): New functions.
4129 (css-mode): Use them.
4130 (css-navigation-syntax-table): Remove var.
4131 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4132 (css-indent-calculate, css-indent-line): Remove functions.
4134 Misc changes to reduce use of `(lambda...); and other cleanups.
4135 * cus-edit.el: Use lexical-binding.
4136 (customize-push-and-save, customize-apropos)
4137 (custom-buffer-create-internal): Use closures.
4138 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4139 * progmodes/ada-xref.el: Use setq.
4140 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4141 * dframe.el: Use lexical-binding.
4142 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4143 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4144 * descr-text.el: Use lexical-binding.
4145 (describe-text-widget, describe-text-sexp, describe-property-list):
4147 * comint.el (comint-history-isearch-push-state): Use a closure.
4148 * calculator.el: Use lexical-binding.
4149 (calculator-number-to-string): Make it work with lexical-binding.
4150 (calculator-funcall): Same and use cl-letf.
4152 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4153 (lisp--company-doc-string, lisp--company-location): New functions.
4154 (lisp-completion-at-point): Use them to improve Company support.
4156 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4157 params of lambda expressions.
4158 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4159 (ruby-smie--opening-pipe-p): New function.
4160 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4161 symbols and matched |...| for formal params.
4162 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4163 from being treated as hanging. Handle "rescue".
4165 2013-08-29 Glenn Morris <rgm@gnu.org>
4167 * progmodes/cc-engine.el (c-pull-open-brace):
4168 Move definition before use.
4170 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4172 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4173 are immutable. Don't use `unsafe' any more.
4174 (cl--defsubst-expand): Don't substitute at the same time as keeping
4175 a residual unused let-binding. Don't use `unsafe' any more.
4177 2013-08-29 Glenn Morris <rgm@gnu.org>
4179 * calendar/cal-china.el (calendar-chinese-year-cache):
4182 * nxml/nxml-util.el (nxml-debug-clear-inside):
4183 Use cl-loop rather than loop.
4185 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4187 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4189 2013-08-28 Glenn Morris <rgm@gnu.org>
4191 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4193 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4195 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4197 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4199 * simple.el (repeat-complex-command--called-interactively-skip):
4201 (repeat-complex-command): Use it (bug#14136).
4203 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4204 (c-define-abbrev-table): Add `doc' argument.
4205 (c-mode-abbrev-table, c++-mode-abbrev-table)
4206 (objc-mode-abbrev-table, java-mode-abbrev-table)
4207 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4208 (awk-mode-abbrev-table): Use it.
4209 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4210 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4211 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4212 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4213 Move initialization into the declaration; and remove any
4216 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4217 and dynamic let binding.
4219 * vc/smerge-mode.el: Remove redundant :group args.
4221 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4224 2013-08-28 Juri Linkov <juri@jurta.org>
4226 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4227 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4228 (isearch-other-meta-char): Handle an undefined shifted printing
4229 character by downshifting it. (Bug#15200)
4231 2013-08-28 Juri Linkov <juri@jurta.org>
4233 * isearch.el (isearch-search): Change regexp error message for
4234 non-regexp searches. (Bug#15166)
4236 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4238 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4239 for portability to hosts where /bin/sh has problems.
4241 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4243 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4245 2013-08-27 Juri Linkov <juri@jurta.org>
4247 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4248 in the keyboard macro. (Bug#15126)
4250 2013-08-27 Juri Linkov <juri@jurta.org>
4252 * isearch.el (isearch-quote-char): Comment out converting unibyte
4253 to multibyte, thus syncing with its `quoted-insert' counterpart.
4256 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4258 * window.el (display-buffer-use-some-window): Add missing
4259 argument in call of get-largest-window (Bug#15185).
4260 Reported by Stephen Leake.
4262 2013-08-27 Glenn Morris <rgm@gnu.org>
4264 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4266 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4268 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4269 from a matcher-function unless there's no more matches (bug#15161).
4271 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4273 * minibuffer.el: Revert change from 2013-08-20.
4275 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4276 with text property `tramp-default', if appropriate.
4277 (tramp-check-proper-host): New defun.
4278 (tramp-dissect-file-name): Do not check hostname. Revert change
4280 (tramp-backtrace): Make VEC-OR-PROC optional.
4282 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4283 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4284 * net/tramp-sh.el (tramp-maybe-open-connection):
4285 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4286 Apply `tramp-check-proper-host'.
4288 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4290 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4291 lambda expression in order to have `describe-variable' display it.
4293 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4295 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4296 BUF can be optional. (Bug#15186)
4298 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4300 * progmodes/flymake.el (flymake-get-real-file-name-function):
4301 Fix broken customization. (Bug#15184)
4303 2013-08-25 Alan Mackenzie <acm@muc.de>
4305 Improve indentation of bracelists defined by macros (without "=").
4307 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4308 expansion begins with "{", regard it as bracelist when it doesn't
4311 Parse C++ inher-intro when there's a template split over 2 lines.
4313 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4314 rigorously the search for "class" etc. followed by ":".
4316 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4317 random languages a regexp which never matches rather than nil.
4319 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4321 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4322 (c-awk-regexp-one-line-possibly-open-char-list-re)
4323 (c-awk-one-line-possibly-open-regexp-re)
4324 (c-awk-one-line-non-syn-ws*-re): Remove.
4325 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4326 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4327 (c-awk-space*-unclosed-regexp-/-re): New constants.
4328 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4329 aren't regexp delimiters.
4331 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4332 handling for a rare situation in AWK Mode involving unterminated
4335 2013-08-23 Glenn Morris <rgm@gnu.org>
4337 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4339 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4341 * files.el (create-file-buffer): If the result would begin with
4342 spaces, prepend a "|" instead of removing them. (Bug#15162)
4344 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4346 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4347 text-properties (bug#15155).
4349 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4351 (calc-keypad-redraw): Remove unused var `pad'.
4352 (calc-keypad-press): Remove unused var `menu'.
4354 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4356 * window.el (display-buffer-pop-up-frame):
4357 Call pop-up-frame-function with BUFFER current so `make-frame' will
4358 use it as the new frame's buffer (Bug#15133).
4360 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4362 * calendar/timeclock.el: Minor cleanups.
4363 (timeclock-ask-before-exiting, timeclock-use-display-time):
4365 (timeclock-modeline-display): Define as alias before the
4367 (timeclock-mode-line-display): Use define-minor-mode.
4368 (timeclock-day-list-template): Make it a function, add an argument.
4369 (timeclock-day-list-required, timeclock-day-list-length)
4370 (timeclock-day-list-debt, timeclock-day-list-span)
4371 (timeclock-day-list-break): Adjust calls accordingly.
4373 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4375 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4376 Use read--expression so that completion works again.
4378 2013-08-21 Sam Steingold <sds@gnu.org>
4380 Add rudimentary inferior shell interaction
4381 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4382 (sh-set-shell): Reset it.
4383 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4384 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4386 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4388 * align.el: Use lexical-binding.
4389 (align-region): Simplify accordingly.
4391 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4393 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4395 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4398 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4402 * net/tramp-cmds.el:
4404 * net/tramp-gvfs.el:
4406 * net/tramp-sh.el: Don't wrap external variable declarations by
4407 `eval-when-compile'.
4409 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4411 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4412 now that Emacs supports ImageMagick animations.
4414 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4416 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4417 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4419 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4421 * window.el (mouse-autoselect-window-select): Do autoselect when
4422 mouse pointer is on margin.
4424 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4426 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4428 2013-08-16 Glenn Morris <rgm@gnu.org>
4430 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4431 Handle "Remote Directory" response of some clients. (Bug#15058)
4433 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4434 Tweak warning. (Bug#14926)
4436 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4437 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4439 * image-mode.el (image-mode-map): Add menu items to reverse,
4440 increase, decrease, reset animation speed.
4441 (image--set-speed, image-increase-speed, image-decrease-speed)
4442 (image-reverse-speed, image-reset-speed): New functions.
4443 (image-mode-map): Add bindings for speed commands.
4445 * image.el (image-animate-get-speed, image-animate-set-speed):
4447 (image-animate-timeout): Respect image :speed property.
4449 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4451 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4452 previous line (bug#15101).
4453 (debugger-eval-expression, debugger-record-expression):
4454 Use read--expression (bug#15102).
4456 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4458 Remove byte compiler warnings, visible when compiling with
4459 `byte-compile-force-lexical-warnings' set to t.
4461 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4462 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4463 (tramp-handle-unhandled-file-name-directory)
4464 (tramp-handle-file-notify-add-watch, tramp-action-login)
4465 (tramp-action-succeed, tramp-action-permission-denied)
4466 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4469 * net/tramp-adb.el (tramp-adb-parse-device-names)
4470 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4471 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4472 (tramp-adb-handle-file-truename): Remove unused arguments.
4474 * net/tramp-cache.el (tramp-flush-directory-property)
4475 (tramp-flush-connection-property, tramp-list-connections)
4476 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4478 * net/tramp-compat.el (tramp-compat-make-temp-file):
4479 Rename FILENAME to F.
4481 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4482 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4483 (tramp-zeroconf-parse-workstation-device-names)
4484 (tramp-zeroconf-parse-webdav-device-names)
4485 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4487 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4488 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4490 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4492 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4493 (tramp-sh-handle-insert-file-contents-literally)
4494 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4496 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4497 Remove unused variables.
4499 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4500 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4501 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4503 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4504 Make them a defconst.
4505 (tramp-uuencode-region): Remove unused variable.
4507 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4509 * frameset.el (frameset--prop-setter): New function.
4510 (frameset-prop): Add gv-setter declaration.
4511 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4512 parameter was already set in FILTERED. Doc fix.
4513 (frameset--record-minibuffer-relationships): Allow saving a
4514 minibufferless frame without its corresponding minibuffer frame.
4515 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4516 frame, if the frame id matches.
4517 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4518 frames before orphaned ones.
4519 (frameset-restore): Warn about orphaned windows, instead of error out.
4521 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4523 * window.el (window-make-atom): Don't overwrite parameter
4525 (display-buffer-in-atom-window): Handle special case where we
4526 split an already atomic window.
4527 (window--major-non-side-window, display-buffer-in-side-window)
4528 (window--side-check): Ignore minibuffer window when walking
4530 (window-deletable-p): Return 'frame only if no other frame uses
4531 our minibuffer window.
4532 (record-window-buffer): Run buffer-list-update-hook.
4533 (split-window): Make sure window--check-frame won't destroy an
4534 existing atomic window in case the new window gets nested
4536 (display-buffer-at-bottom): Ignore minibuffer window when
4537 walking window tree. Don't split a side window.
4538 (pop-to-buffer): Don't set-buffer here, the select-window call
4540 (mouse-autoselect-window-select): Autoselect only if we are in the
4541 text portion of the window.
4543 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4545 * net/shr.el (shr-parse-image-data): New function to grab both the
4546 data itself and the Content-Type.
4547 (shr-put-image): Use it.
4549 * net/eww.el (eww-display-image): Ditto.
4551 * image.el (image-content-type-suffixes): New variable.
4553 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4555 * progmodes/python.el (python-imenu--build-tree)
4556 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4558 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4560 * simple.el (backward-word): Mention the optional argument.
4562 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4564 * frameset.el (frameset--make): Rename constructor from make-frameset.
4565 (frameset-p, frameset-valid-p): Don't autoload.
4566 (frameset-valid-p): Use normal accessors.
4568 2013-08-13 Glenn Morris <rgm@gnu.org>
4570 * progmodes/compile.el (compile-command): Tweak example in doc.
4571 * obsolete/scribe.el (scribe-mode):
4572 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4574 * mail/feedmail.el (feedmail-confirm-outgoing)
4575 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4577 * cus-start.el (truncate-partial-width-windows): Fix type.
4579 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4581 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4583 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4585 * emacs-lisp/timer.el (timer--time-setter): New function.
4586 (timer--time): Use it as gv-setter.
4588 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4589 setter is not a symbol.
4591 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4593 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4594 if sending fails. This makes debugging easier.
4596 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4598 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4599 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4600 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4602 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4604 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4606 2013-08-12 Glenn Morris <rgm@gnu.org>
4608 * format.el (format-annotate-function):
4609 Handle read-only text properties in the source. (Bug#14887)
4611 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4613 * net/eww.el (eww-display-html): Ignore coding system errors.
4614 One web site uses "utf-8lias" as the coding system.
4616 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4618 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4620 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4622 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4623 (tutorial--detailed-help): Remove unused local variables.
4624 (tutorial--save-tutorial-to): Use ignore-errors.
4625 (help-with-tutorial): Use looking-at-p.
4627 * view.el (view-buffer-other-window, view-buffer-other-frame):
4628 Mark unused arguments.
4630 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4631 (woman-select-symbol-fonts, woman, woman-find-file)
4632 (woman-insert-file-contents, woman-non-underline-faces):
4634 (woman1-unquote): Move declaration.
4636 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4637 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4638 argument. Remove unused local variable.
4639 (xml-parse-elem-type): Use string-match-p.
4640 (xml-substitute-numeric-entities): Use ignore-errors.
4642 * calculator.el (calculator): Mark unused argument.
4643 (calculator-paste, calculator-quit, calculator-integer-p):
4645 (calculator-string-to-number, calculator-decimal, calculator-exp)
4646 (calculator-op-or-exp): Use string-match-p.
4648 * dired.el (dired-buffer-more-recently-used-p): Declare.
4649 (dired-insert-set-properties, dired-insert-old-subdirs):
4652 * dired-aux.el (dired-compress): Use ignore-errors.
4653 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4654 (dired-do-async-shell-command, dired-do-shell-command)
4655 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4656 (dired-insert-subdir-validate): Use string-match-p.
4657 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4658 (dired-add-entry): Use string-match-p, looking-at-p.
4659 (dired-insert-subdir-newpos): Remove unused local variable.
4661 * filenotify.el (file-notify-callback): Remove unused local variable.
4663 * filesets.el (filesets-error): Mark unused argument.
4664 (filesets-which-command-p, filesets-filter-dir-names)
4665 (filesets-directory-files, filesets-get-external-viewer)
4666 (filesets-ingroup-get-data): Use string-match-p.
4668 * find-file.el (ff-other-file-name, ff-other-file-name)
4669 (ff-find-the-other-file, ff-cc-hh-converter):
4670 Remove unused local variables.
4671 (ff-get-file-name): Use string-match-p.
4672 (ff-all-dirs-under): Use ignore-errors.
4674 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4675 (follow-select-if-visible): Remove unused local variable.
4677 * forms.el (read-file-filter): Move declaration.
4678 (forms--make-format, forms--make-parser, forms-insert-record):
4679 Quote function with #'.
4680 (forms--update): Use string-match-p. Quote function with #'.
4682 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4683 (help-make-xrefs): Use looking-at-p.
4684 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4686 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4687 (ibuffer-confirm-operation-on): Use string-match-p.
4689 * msb.el (msb-item-handler, msb-dired-item-handler):
4690 Mark unused arguments.
4692 * ses.el (ses-decode-cell-symbol)
4693 (ses-kill-override): Remove unused local variable.
4694 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4695 (ses-load): Use ignore-errors, looking-at-p.
4696 (ses-jump-safe): Use ignore-errors.
4697 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4699 * tabify.el (untabify, tabify): Mark unused arguments.
4701 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4702 Mark unused argument.
4703 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4704 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4706 * emacs-lisp/timer.el (timer--time): Define setter with
4707 gv-define-setter to avoid deprecation warning.
4709 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4710 (*record-cmpl-statistics-p*): Remove (was commented out).
4711 (cmpl-statistics-block): Remove (body was commented out).
4712 All callers changed.
4713 (add-completions-from-buffer, load-completions-from-file):
4714 Remove unused variables.
4716 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4718 * filecache.el (file-cache-delete-file-list):
4719 Print message only when told so.
4720 (file-cache-files-matching): Use #' in mapconcat argument.
4722 * ffap.el (ffap-url-at-point): Fix reference to variable
4723 thing-at-point-default-mail-uri-scheme.
4725 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4727 * subr.el (define-error): New function.
4728 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4729 error-file-not-found and define with define-error.
4730 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4731 and define with define-error.
4732 * userlock.el (file-locked, file-supersession):
4733 * simple.el (mark-inactive):
4734 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4735 * progmodes/ada-mode.el (ada-mode-errors):
4736 * play/life.el (life-extinct):
4737 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4738 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4739 * nxml/rng-util.el (rng-error):
4740 * nxml/rng-uri.el (rng-uri-error):
4741 * nxml/rng-match.el (rng-compile-error):
4742 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4743 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4744 * nxml/nxml-rap.el (nxml-scan-error):
4745 * nxml/nxml-outln.el (nxml-outline-error):
4746 * net/soap-client.el (soap-error):
4747 * net/gnutls.el (gnutls-error):
4748 * net/ange-ftp.el (ftp-error):
4749 * mpc.el (mpc-proc-error):
4750 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4751 (json-number-format, json-string-escape, json-string-format)
4752 (json-key-format, json-object-format):
4753 * jka-compr.el (compression-error):
4754 * international/quail.el (quail-error):
4755 * international/kkc.el (kkc-error):
4756 * emacs-lisp/ert.el (ert-test-failed):
4757 * calc/calc.el (calc-error, inexact-result, math-overflow)
4759 * bookmark.el (bookmark-error-no-filename):
4760 * epg.el (epg-error): Define with define-error.
4762 * time.el (display-time-event-handler)
4763 (display-time-next-load-average): Don't call sit-for since it seems
4764 unnecessary (bug#15045).
4766 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4767 Use #' instead of ' to quote functions.
4768 (checkdoc-output-mode): Use setq-local.
4769 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4770 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4771 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4772 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4773 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4774 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4775 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4776 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4778 * ido.el (ido-completion-help): Fix up compiler warning.
4780 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4782 * frameset.el (frameset-p): Add autoload cookie.
4783 (frameset--jump-to-register): New function, based on code moved from
4785 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4787 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4788 (frameset-restore, frameset-save, frameset-session-filter-alist):
4789 Remove declarations.
4790 (register-alist): Doc fix.
4791 (frameset-to-register): Move to frameset.el.
4792 (jump-to-register, describe-register-1): Remove frameset-specific code.
4794 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4796 * allout-widgets.el (allout-widgets-pre-command-business)
4797 (allout-widgets-post-command-business)
4798 (allout-widgets-after-change-handler)
4799 (allout-decorate-item-and-context, allout-set-boundary-marker)
4800 (allout-body-modification-handler)
4801 (allout-graphics-modification-handler): Mark ignored arguments.
4802 (allout-widgets-post-command-business)
4803 (allout-widgets-exposure-change-processor)
4804 (allout-widgets-exposure-undo-processor)
4805 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4806 (allout-parse-item-at-point, allout-decorate-item-guides)
4807 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4808 * allout.el (epa-passphrase-callback-function): Declare.
4809 (allout-overlay-insert-in-front-handler)
4810 (allout-overlay-interior-modification-handler)
4811 (allout-isearch-end-handler, allout-chart-siblings)
4812 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4813 (allout-yank-processing, allout-process-exposed)
4814 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4815 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4816 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4817 (lisp-indent-defform): Mark ignored arguments.
4818 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4819 (calculate-lisp-indent): Remove unused variables.
4820 * international/characters.el (indian-2-column, arabic-2-column)
4821 (tibetan): Mark ignored arguments.
4822 (use-cjk-char-width-table): Mark ignored arguments.
4823 Remove unused variables.
4824 * international/fontset.el (build-default-fontset-data)
4825 (x-compose-font-name, create-fontset-from-fontset-spec):
4826 Mark ignored arguments.
4827 (fontset-plain-name): Remove unused variables.
4828 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4829 (keyboard-coding-system): Mark ignored arguments.
4830 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4831 * help.el (resize-temp-buffer-window):
4832 * window.el (display-buffer-in-major-side-window)
4833 (display-buffer-in-side-window, display-buffer-in-previous-window):
4834 Remove unused variables.
4835 * isearch.el (isearch-forward-symbol):
4836 * version.el (emacs-bzr-version-bzr):
4837 * international/mule-cmds.el (current-language-environment):
4838 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4840 * term/pc-win.el (x-list-fonts, x-display-planes)
4841 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4842 (x-server-version, x-display-screens, x-display-mm-height)
4843 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4844 (x-selection-owner-p, x-own-selection-internal)
4845 (x-disown-selection-internal, x-get-selection-internal)
4846 (msdos-initialize-window-system):
4847 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4848 * term/x-win.el (x-handle-no-bitmap-icon):
4849 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4850 (vc-default-find-file-hook, vc-default-extra-menu):
4851 Mark ignored arguments.
4853 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4855 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4856 break-condition in the context of the debugged code (bug#12685).
4858 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4861 Do not use an overlay to highlight the last prompt. (Bug#14744)
4862 (comint-mode): Make comint-last-prompt buffer local.
4863 (comint-last-prompt): New variable.
4864 (comint-last-prompt-overlay): Remove. Superseded by
4866 (comint-snapshot-last-prompt, comint-output-filter):
4867 Use comint-last-prompt.
4869 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4871 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4872 (frameset-save): Check validity of the resulting frameset.
4874 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4876 * ido.el (ido-record-command): Add doc string.
4878 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4880 * frameset.el (frameset): Do not disable creation of the default
4881 frameset-p predicate. Doc fix.
4882 (frameset-valid-p): New function, copied from the old predicate-p.
4883 Add additional checks.
4884 (frameset-restore): Check with frameset-valid-p.
4885 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4886 (frameset-name, frameset-description, frameset-properties)
4887 (frameset-states): Add docstring.
4888 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4889 (frameset-filter-alist): Doc fixes.
4891 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4893 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4895 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4897 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4898 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4899 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4900 (byte-compile-normal-call): Remove obsolescence check.
4902 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4904 * frameset.el (frameset-restore): Doc fix.
4906 * register.el (frameset-frame-id, frameset-frame-with-id)
4907 (frameset-p, frameset-restore, frameset-save): Declare.
4908 (register-alist): Document framesets.
4909 (frameset-session-filter-alist): Declare.
4910 (frameset-to-register): New function.
4911 (jump-to-register): Implement jumping to framesets. Doc fix.
4912 (describe-register-1): Describe framesets.
4914 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4916 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4918 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4919 Use lexical-binding.
4921 * frameset.el (frameset): Use type vector, not list (incompatible
4922 change). Do not declare a new constructor, use the default one.
4923 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4924 `name' and `description', respectively, and add read-only slot
4925 `timestamp'. Doc fixes.
4926 (frameset-copy, frameset-persistent-filter-alist)
4927 (frameset-filter-alist, frameset-switch-to-gui-p)
4928 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4929 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4930 (frameset-filter-iconified, frameset-keep-original-display-p):
4932 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4933 Rename from frameset-filter-(save|restore)-param. All callers changed.
4935 (frameset-p): Adapt to change to vector and be more thorough.
4936 Change arg name to OBJECT. Doc fix.
4937 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4938 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4939 All callers changed.
4940 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4941 All callers changed.
4942 (frameset--record-minibuffer-relationships): Rename from
4943 frameset--process-minibuffer-frames. All callers changed.
4944 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4945 Use new default constructor (again). Doc fix.
4946 (frameset--find-frame-if): Rename from `frameset--find-frame.
4947 All callers changed.
4948 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4949 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4951 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4952 PARAMETERS and WINDOW-STATE, respectively.
4953 (frameset-restore): Add new keyword argument PREDICATE.
4954 Reset frameset--target-display to nil. Doc fix.
4956 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4958 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
4960 (bat-mode-syntax-table): Mark \n as end-of-comment.
4961 (bat-font-lock-keywords): Remove comment rule.
4963 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
4964 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
4966 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
4967 (byte-compile-callargs-warn): Use `push'.
4968 (byte-compile-arglist-warn): Ignore higher-order "calls".
4969 (byte-compile-file-form-autoload): Use `pcase'.
4970 (byte-compile-function-form): If quoting a symbol, check that it exists.
4972 2013-08-07 Eli Zaretskii <eliz@gnu.org>
4974 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
4975 and add a few popular commands found in batch files.
4976 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
4977 (dos-mode): Doc fixes.
4979 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
4981 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
4982 (dos-mode): Use setq-local. Add space after "rem".
4983 (dos-mode-syntax-table): Don't use "w" for symbol chars.
4984 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
4986 2013-08-07 Arni Magnusson <arnima@hafro.is>
4988 * progmodes/dos.el: New file.
4989 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
4992 2013-08-06 Glenn Morris <rgm@gnu.org>
4994 * calendar/calendar.el: Add new faces, and day-header-array.
4995 (calendar-weekday-header, calendar-weekend-header)
4996 (calendar-month-header): New faces.
4997 (calendar-day-header-construct): New function.
4998 (calendar-day-header-width): Also :set calendar-day-header-array.
4999 (calendar-american-month-header, calendar-european-month-header)
5000 (calendar-iso-month-header): Use calendar- faces.
5001 (calendar-generate-month):
5002 Use calendar-day-header-array for day headers; apply faces to them.
5003 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5004 (calendar-abbrev-construct): Add optional maxlen argument.
5005 (calendar-day-name-array): Doc fix.
5006 (calendar-day-name-array, calendar-abbrev-length)
5007 (calendar-day-abbrev-array):
5008 Also :set calendar-day-header-array, and maybe redraw.
5009 (calendar-day-header-array): New option. (Bug#15007)
5010 (calendar-font-lock-keywords): Set to nil and make obsolete.
5011 (calendar-day-name): Add option to use header array.
5013 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5015 * net/shr.el (shr-render-td): Remove debugging.
5016 (shr-render-td): Make width computation consistent by defaulting
5017 all zero-width columns to 10 characters. This may not be optimal,
5018 but it's at least consistent.
5019 (shr-make-table-1): Redo last change to fix the real problem in
5022 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5024 * files.el (cache-long-line-scans):
5025 Make obsolete alias to `cache-long-scans'.
5027 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5029 * frameset.el (frameset, frameset-filter-alist)
5030 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5031 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5032 (frameset-compute-pos): Rename from frameset--compute-pos,
5034 (frameset-move-onscreen): Use frameset-compute-pos.
5035 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5037 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5038 Fix typos in docstrings.
5040 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5042 * frame.el (get-other-frame): Tiny cleanup.
5044 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5046 * vc/vc.el (vc-default-ignore-completion-table):
5047 Silence byte-compiler warning.
5049 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5050 slot , which can indeed be nil.
5051 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5052 Move entry for `left' from persistent to live filter alist.
5053 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5055 (frameset-filter-params): When restoring a frame, copy items added to
5056 `filtered', to avoid unwittingly modifying the original parameters.
5057 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5058 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5060 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5061 to use looking-at-p instead of looking-at. (Bug#15028)
5063 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5065 Revert introduction of isearch-filter-predicates (bug#14714).
5066 Rely on add-function instead.
5067 * isearch.el (isearch-filter-predicates): Rename it back to
5068 isearch-filter-predicate.
5069 (isearch-message-prefix): Use advice-function-mapc and advice
5070 properties to get the isearch-message-prefix.
5071 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5072 instead of run-hook-with-args-until-failure.
5073 (isearch-filter-visible): Not obsolete any more.
5074 * loadup.el: Preload nadvice.
5075 * replace.el (perform-replace): Revert to funcall
5076 instead of run-hook-with-args-until-failure.
5077 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5078 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5079 dired-isearch-filenames-toggle; make it into a proper minor mode.
5080 Use add/remove-function.
5081 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5082 Call the minor-mode rather than add/remove-hook.
5083 (dired-isearch-filter-filenames):
5084 Remove isearch-message-prefix property.
5085 * info.el (Info--search-loop): New function, extracted from Info-search.
5086 Funcall isearch-filter-predicate instead of
5087 run-hook-with-args-until-failure isearch-filter-predicates.
5088 (Info-search): Use it.
5089 (Info-mode): Use isearch-filter-predicate instead of
5090 isearch-filter-predicates.
5092 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5094 Do not call to `selected-window' where it is assumed by default.
5095 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5096 `window-hscroll', `window-width', `window-height', `window-buffer',
5097 `window-frame', `window-start', `window-point', `next-window'
5098 and `window-display-table'.
5099 * abbrev.el (abbrev--default-expand):
5100 * bs.el (bs--show-with-configuration):
5101 * buff-menu.el (Buffer-menu-mouse-select):
5102 * calc/calc.el (calc):
5103 * calendar/calendar.el (calendar-generate-window):
5104 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5106 * comint.el (send-invisible, comint-dynamic-complete-filename)
5107 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5108 * completion.el (complete):
5109 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5110 * disp-table.el (describe-current-display-table):
5111 * doc-view.el (doc-view-insert-image):
5112 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5113 * ehelp.el (with-electric-help):
5114 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5115 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5116 * emacs-lisp/helper.el (Helper-help-scroller):
5117 * emulation/cua-base.el (cua--post-command-handler-1):
5118 * eshell/esh-mode.el (eshell-output-filter):
5119 * ffap.el (ffap-gnus-wrapper):
5120 * help-macro.el (make-help-screen):
5121 * hilit-chg.el (highlight-compare-buffers):
5122 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5123 * hl-line.el (global-hl-line-highlight):
5124 * icomplete.el (icomplete-simple-completing-p):
5125 * isearch.el (isearch-done):
5126 * jit-lock.el (jit-lock-stealth-fontify):
5127 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5128 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5129 * mpc.el (mpc-tagbrowser, mpc):
5130 * net/rcirc.el (rcirc-any-buffer):
5131 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5132 * play/landmark.el (landmark-max-width, landmark-max-height):
5133 * play/zone.el (zone):
5134 * progmodes/compile.el (compilation-goto-locus):
5135 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5136 * progmodes/etags.el (find-tag-other-window):
5137 * progmodes/fortran.el (fortran-column-ruler):
5138 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5139 * progmodes/verilog-mode.el (verilog-point-text):
5140 * reposition.el (reposition-window):
5141 * rot13.el (toggle-rot13-mode):
5142 * server.el (server-switch-buffer):
5143 * shell.el (shell-dynamic-complete-command)
5144 (shell-dynamic-complete-environment-variable):
5145 * simple.el (insert-buffer, set-selective-display)
5146 (delete-completion-window):
5147 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5148 (speedbar-recenter):
5149 * startup.el (fancy-splash-head):
5150 * textmodes/ispell.el (ispell-command-loop):
5151 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5152 * tutorial.el (help-with-tutorial):
5153 * vc/add-log.el (add-change-log-entry):
5154 * vc/compare-w.el (compare-windows):
5155 * vc/ediff-help.el (ediff-indent-help-message):
5156 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5157 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5158 (ediff-setup-control-frame):
5159 * vc/emerge.el (emerge-position-region):
5160 * vc/pcvs-util.el (cvs-bury-buffer):
5161 * window.el (walk-windows, mouse-autoselect-window-select):
5162 * winner.el (winner-set-conf, winner-undo): Related users changed.
5164 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5166 * frameset.el (frameset--set-id): Doc fix.
5167 (frameset-frame-id, frameset-frame-id-equal-p)
5168 (frameset-locate-frame-id): New functions.
5169 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5170 (frameset-restore): Use them.
5172 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5174 Do not call to `selected-frame' where it is assumed by default.
5175 Affected functions are `raise-frame', `redraw-frame',
5176 `frame-first-window', `frame-terminal' and `delete-frame'.
5177 * calendar/appt.el (appt-disp-window):
5178 * epg.el (epg-wait-for-completion):
5179 * follow.el (follow-delete-other-windows-and-split)
5180 (follow-avoid-tail-recenter):
5181 * international/mule.el (set-terminal-coding-system):
5182 * mail/rmail.el (rmail-mail-return):
5183 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5184 * progmodes/f90.el (f90-add-imenu-menu):
5185 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5186 * server.el (server-switch-buffer):
5187 * simple.el (delete-completion-window):
5189 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5190 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5191 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5192 * vc/ediff.el (ediff-documentation): Related users changed.
5193 * frame.el (selected-terminal): Remove the leftover.
5195 2013-08-05 Glenn Morris <rgm@gnu.org>
5197 * calendar/calendar.el (calendar-generate-month):
5198 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5199 (calendar-generate-month, calendar-font-lock-keywords):
5200 Fix for calendar-day-header-width > length of any day name.
5202 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5204 * desktop.el (desktop-clear): Use new name of sort predicate.
5206 * frameset.el (frameset): Add docstring. Move :version property to its
5208 (frameset-copy): Rename from copy-frameset.
5209 (frameset-p): Check more thoroughly.
5210 (frameset-prop): Do not check for :version, which is no longer a prop.
5211 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5212 Use new :never value instead of t.
5213 (frameset-filter-alist): Expand and clarify docstring.
5214 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5215 (frameset-filter-minibuffer, frameset-filter-save-param)
5216 (frameset-filter-restore-param, frameset-filter-iconified):
5217 Add pointer to docstring of frameset-filter-alist.
5218 (frameset-filter-params): Rename filter values to be more meaningful:
5219 :never instead of t, and reverse the meanings of :save and :restore.
5220 (frameset--process-minibuffer-frames): Clarify error message.
5221 (frameset-save): Avoid unnecessary and confusing call to framep.
5222 Use new BOA constructor for framesets.
5223 (frameset--reuse-list): Doc fix.
5224 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5225 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5226 (frameset-minibufferless-first-p): Doc fix.
5227 Rename from frameset-sort-frames-for-deletion.
5228 (frameset-restore): Doc fixes. Use new function names.
5229 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5231 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5233 * desktop.el (desktop-restore-forces-onscreen)
5234 (desktop-restore-reuses-frames): Document :keyword constant values.
5235 (desktop-filter-parameters-alist): Remove, now identical to
5236 frameset-filter-alist.
5237 (desktop--filter-tty*): Remove, moved to frameset.el.
5238 (desktop-save-frameset, desktop-restore-frameset):
5239 Do not pass :filters argument.
5241 * frameset.el (frameset-live-filter-alist)
5242 (frameset-persistent-filter-alist): New variables.
5243 (frameset-filter-alist): Use them. Add autoload cookie.
5244 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5245 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5246 `frameset--id' (it's supposed to be internal to frameset.el).
5247 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5248 (frameset--initial-params): New function.
5249 (frameset--get-frame): Use it. Doc fix.
5250 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5251 Accept :all, not 'all.
5252 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5253 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5254 with fbound symbols. Fix frame id matching, and remove matching ids if
5255 the frame being restored is deleted. Obey :delete.
5257 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5259 * subr.el (macrop): New function.
5260 (text-clone--maintaining): New var.
5261 (text-clone--maintain): Rename from text-clone-maintain. Use it
5262 instead of inhibit-modification-hooks.
5264 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5265 a proxy, so as handle autoloads and redefinitions of the target.
5266 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5268 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5269 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5270 (pcase--mutually-exclusive-p): New function.
5271 (pcase--split-consp): Use it.
5272 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5273 mutually exclusive with the current predicate.
5275 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5276 (edebug-macrop): Remove. Use `macrop' instead.
5277 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5279 * eshell/esh-cmd.el (eshell-macrop):
5280 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5282 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5284 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5285 (advice-mapc): New function, using it.
5286 (advice-function-member-p): New function.
5287 (advice--normalize): Store the cdr in advice--saved-rewrite since
5288 that's the part that will be changed.
5289 (advice--symbol-function): New function.
5290 (advice-remove): Handle removal before the function is defined.
5291 Adjust to new advice--saved-rewrite.
5292 (advice-member-p): Use advice-function-member-p and
5293 advice--symbol-function.
5295 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5297 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5298 (frameset-filter-minibuffer): Doc fix.
5299 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5300 (frameset--set-id, frameset--process-minibuffer-frames)
5301 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5302 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5304 * desktop.el (desktop-clear): Only delete frames when called
5305 interactively and desktop-restore-frames is non-nil. Doc fix.
5306 (desktop-read): Set desktop-saved-frameset to nil.
5308 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5310 * vc/vc.el (vc-ignore): Rewrite.
5311 (vc-default-ignore-completion-table):
5313 (vc--add-line, vc--remove-regexp): New functions.
5315 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5316 (vc-svn-ignore-completion-table): New function.
5318 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5319 (vc-hg-ignore-completion-table):
5320 (vc-hg-find-ignore-file): New functions.
5322 * vc/vc-git.el (vc-git-ignore): Rewrite.
5323 (vc-git-ignore-completion-table):
5324 (vc-git-find-ignore-file): New functions.
5326 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5328 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5329 (vc-bzr-ignore-completion-table):
5330 (vc-bzr-find-ignore-file): New functions.
5332 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5334 * frameset.el (frameset-prop): New function and setter.
5335 (frameset-save): Do not modify frame list passed by the caller.
5337 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5339 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5341 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5343 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5344 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5346 * custom.el (custom-initialize-default, custom-initialize-set)
5347 (custom-initialize-reset, custom-initialize-changed): Affect the
5348 toplevel-default-value (bug#6275, bug#14586).
5349 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5352 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5354 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5355 Add cl-def* expressions.
5357 * frameset.el (frameset-filter-params): Fix order of arguments.
5359 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5361 Move code related to saving frames to frameset.el.
5362 * desktop.el: Require frameset.
5363 (desktop-restore-frames): Doc fix.
5364 (desktop-restore-reuses-frames): Rename from
5365 desktop-restoring-reuses-frames.
5366 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5367 (desktop-clear): Clear frames too.
5368 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5369 (desktop--filter-tty*, desktop-save, desktop-read):
5370 Use frameset functions.
5371 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5372 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5373 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5374 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5375 (desktop--process-minibuffer-frames, desktop-save-frames)
5376 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5377 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5378 (desktop--sort-states, desktop-restoring-frames-p)
5379 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5380 (desktop-restoring-frameset-p, desktop-restore-frameset)
5381 (desktop--check-dont-save, desktop-save-frameset): New functions.
5382 (desktop--app-id): New constant.
5383 (desktop-first-buffer, desktop-buffer-ok-count)
5384 (desktop-buffer-fail-count): Move before first use.
5385 * frameset.el: New file.
5387 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5389 * files.el: Use lexical-binding.
5390 (dir-locals-read-from-file): Remove unused `err' variable.
5391 (hack-dir-local-variables--warned-coding): New var.
5392 (hack-dir-local-variables): Use it to avoid repeated warnings.
5393 (make-backup-file-name--default-function): New function.
5394 (make-backup-file-name-function): Use it as default.
5395 (buffer-stale--default-function): New function.
5396 (buffer-stale-function): Use it as default.
5397 (revert-buffer-insert-file-contents--default-function): New function.
5398 (revert-buffer-insert-file-contents-function): Use it as default.
5399 (insert-directory): Avoid add-to-list.
5401 * autorevert.el (auto-revert-handler): Simplify.
5402 Use buffer-stale--default-function.
5404 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5406 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5408 * whitespace.el (whitespace-ensure-local-variables): New function.
5409 (whitespace-cleanup-region): Call it.
5410 (whitespace-turn-on): Call it.
5412 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5414 Complete file name handlers.
5416 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5417 (tramp-handle-verify-visited-file-modtime)
5418 (tramp-handle-file-notify-rm-watch): New functions.
5419 (tramp-call-process): Do not bind `default-directory'.
5421 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5422 Order alphabetically.
5423 [access-file, add-name-to-file, dired-call-process]:
5424 [dired-compress-file, file-acl, file-notify-rm-watch]:
5425 [file-ownership-preserved-p, file-selinux-context]:
5426 [make-directory-internal, make-symbolic-link, set-file-acl]:
5427 [set-file-selinux-context, set-visited-file-modtime]:
5428 [verify-visited-file-modtime]: Add handler.
5429 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5431 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5432 [file-notify-add-watch, file-notify-rm-watch]:
5433 [set-file-times, set-visited-file-modtime]:
5434 [verify-visited-file-modtime]: Add handler.
5435 (with-tramp-gvfs-error-message)
5436 (tramp-gvfs-handle-set-visited-file-modtime)
5437 (tramp-gvfs-fuse-file-name): Remove.
5438 (tramp-gvfs-handle-file-notify-add-watch)
5439 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5440 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5442 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5443 Order alphabetically.
5444 [file-notify-rm-watch ]: Use default Tramp handler.
5445 [executable-find]: Remove private handler.
5446 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5447 `default-directory'.
5448 (tramp-sh-handle-executable-find)
5449 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5450 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5451 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5452 Do not use `format' in `tramp-message'.
5454 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5455 [file-notify-rm-watch, set-visited-file-modtime]:
5456 [verify-visited-file-modtime]: Add handler.
5457 (tramp-smb-call-winexe): Do not bind `default-directory'.
5459 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5461 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5463 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5465 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5467 (log-view-diff-changeset): Same.
5468 (log-view-diff-common): Call backend command `previous-revision'
5469 to find out the previous revision, in both cases. Swap the
5470 variables `to' and `fr', so that `fr' usually refers to the
5471 earlier revision (Bug#14989).
5473 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5475 * ibuf-ext.el (ibuffer-filter-by-filename):
5476 Make it work with dired buffers too.
5478 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5480 * emacs-lisp/re-builder.el (reb-color-display-p):
5481 * files.el (save-buffers-kill-terminal):
5482 * net/browse-url.el (browse-url):
5483 * server.el (server-save-buffers-kill-terminal):
5484 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5485 Prefer nil to selected-frame for the first arg of frame-parameter.
5487 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5489 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5491 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5493 * minibuffer.el (completion--twq-all): Try and preserve each
5494 completion's case choice (bug#14907).
5496 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5498 * net/network-stream.el (open-network-stream): Mention the new
5499 :nogreeting parameter.
5500 (network-stream-open-starttls): Use the :nogreeting parameter
5503 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5505 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5506 more natural than popping.
5508 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5509 (shr-urlify): Highlight under mouse.
5511 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5513 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5515 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5517 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5520 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5521 point-min==1. Fix search string. Fix parentheses missing.
5523 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5524 assume point-min==1. Fix search string. Fix parentheses missing.
5526 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5528 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5531 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5533 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5534 initial frame is minibuffer-less. (Bug#14841)
5536 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5538 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5541 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5542 (tramp-maybe-open-connection): Use it.
5544 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5546 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5547 minimal set of parameters passed when creating a frame, because
5548 the minibuffer status of a frame cannot be changed later.
5550 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5552 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5553 replace-regexp-in-string and inadvertent omissions in previous change.
5554 (todo-filter-items): Ensure only file names are comma-separated in
5555 name of filtered items buffer.
5557 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5559 * desktop.el: Optionally force offscreen frames back onscreen.
5560 (desktop-restoring-reuses-frames): New option.
5561 (desktop--compute-pos, desktop--move-onscreen): New functions.
5562 (desktop--make-frame): Use desktop--move-onscreen.
5564 2013-07-27 Alan Mackenzie <acm@muc.de>
5566 Fontify a Java generic method as a function.
5567 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5570 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5572 * calendar/todo-mode.el: Add command to rename todo files.
5573 (todo-rename-file): New command.
5574 (todo-key-bindings-t): Add key binding for it. Change the
5575 bindings of todo-filter-regexp-items(-multifile) to use `x'
5576 instead of `r', since the latter is better suited to the new
5579 2013-07-27 Alan Mackenzie <acm@muc.de>
5581 Make Java try-with-resources statement parse properly.
5582 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5583 (c-block-stmt-1-2-key): New language constants/variables.
5584 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5585 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5586 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5587 with c-block-stmt-1-2-key.
5589 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5591 * desktop.el (desktop--make-frame): Apply most frame parameters after
5592 creating the frame to force (partially or totally) offscreen frames to
5593 be restored as such.
5595 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5597 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5600 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5602 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5603 `base' arg of backtrace-frame.
5605 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5607 * simple.el (list-processes): Doc fix.
5609 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5611 * desktop.el (desktop--select-frame):
5612 Try harder to reuse existing frames.
5614 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5616 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5617 (edebug-eval): Use backtrace-eval.
5618 (edebug--display, edebug--recursive-edit): Don't let-bind the
5619 edebug-outer-* vars that keep track of variables we locally let-bind.
5620 (edebug-outside-excursion): Don't restore outside values of locally
5622 (edebug--display): Use user-error.
5623 (cl-lexical-debug, cl-debug-env): Remove.
5625 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5627 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5628 are restored to be sure that they are visible before deleting any
5631 2013-07-26 Matthias Meulien <orontee@gmail.com>
5633 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5634 vc-print-root-log. (Bug#14948)
5636 2013-07-26 Richard Stallman <rms@gnu.org>
5638 Add aliases for encrypting mail.
5639 * epa.el (epa-mail-aliases): New option.
5640 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5641 Bind inhibit-read-only so read-only text doesn't ruin everything.
5642 (epa-mail-default-recipients): New subroutine broken out.
5643 Handle epa-mail-aliases.
5645 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5647 Add support for lexical variables to the debugger's `e' command.
5648 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5649 vars, except for debugger-outer-match-data.
5650 (debugger-frame-number): Move check for "on a function call" from
5651 callers into it. Add `skip-base' argument.
5652 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5653 (debugger-env-macro): Only reset the state stored in non-variables,
5654 i.e. current-buffer and match-data.
5655 (debugger-eval-expression): Rewrite using backtrace-eval.
5656 * subr.el (internal--called-interactively-p--get-frame): Remove.
5657 (called-interactively-p):
5658 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5659 `base' arg of backtrace-frame instead.
5661 2013-07-26 Glenn Morris <rgm@gnu.org>
5663 * align.el (align-regexp): Doc fix. (Bug#14857)
5664 (align-region): Explicit error if subexpression missing/does not match.
5666 * simple.el (global-visual-line-mode):
5667 Do not duplicate the mode lighter. (Bug#14858)
5669 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5671 * window.el (display-buffer): In display-buffer bind
5672 split-window-keep-point to t, bug#14829.
5674 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5676 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5677 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5678 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5679 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5681 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5682 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5684 2013-07-25 Glenn Morris <rgm@gnu.org>
5686 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5688 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5690 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5691 parameter to modify-frame-parameters if the value has not changed;
5692 this is a workaround for bug#14949.
5693 (desktop--make-frame): On cl-delete-if call, check parameter name,
5696 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5698 * vc/vc.el (vc-ignore): New function.
5700 * vc/vc-svn.el (vc-svn-ignore): New function.
5702 * vc/vc-hg.el (vc-hg-ignore): New function.
5704 * vc/vc-git.el (vc-git-ignore): New function.
5706 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5707 (vc-dir-ignore): New function.
5709 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5710 (cvs-append-to-ignore): Move here from pcvs.el.
5712 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5714 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5716 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5718 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5719 (desktop-restore-frames): Warn when deleting an existing frame failed.
5721 2013-07-24 Glenn Morris <rgm@gnu.org>
5723 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5725 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5727 * filenotify.el (file-notify-supported-p):
5728 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5731 * autorevert.el (auto-revert-use-notify):
5732 (auto-revert-notify-add-watch):
5733 * net/tramp.el (tramp-file-name-for-operation):
5734 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5735 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5736 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5737 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5738 Remove `file-notify-supported-p' entry.
5740 2013-07-24 Glenn Morris <rgm@gnu.org>
5742 * printing.el: Replace all uses of deleted ps-windows-system,
5743 ps-lp-system, ps-flatten-list with lpr- versions.
5745 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5747 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5748 checked with memq (bug#14935).
5750 * files.el (revert-buffer-function): Use a non-nil default.
5751 (revert-buffer-preserve-modes): Declare var to
5752 provide access to the `preserve-modes' argument.
5753 (revert-buffer): Let-bind it.
5754 (revert-buffer--default): New function, extracted from revert-buffer.
5756 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5758 * lpr.el: Signal print errors more prominently.
5759 (print-region-function): Don't default to nil.
5760 (lpr-print-region): New function, extracted from print-region-1.
5761 Check lpr's return value and signal an error in case of problem.
5762 (print-region-1): Use it.
5763 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5765 (ps-printer-name): Default to nil.
5766 (ps-printer-name-option): Default to lpr-printer-switch.
5767 (ps-print-region-function): Don't default to nil.
5768 (ps-postscript-code-directory): Simplify default.
5769 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5770 (ps-string-list, ps-eval-switch, ps-flatten-list)
5771 (ps-flatten-list-1): Remove.
5772 (ps-multibyte-buffer): Avoid setq.
5773 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5774 (print-region-function, ps-print-region-function): Don't set them here.
5776 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5778 * ido.el (ido-fractionp):
5779 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5780 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5781 (ido-max-directory-size, ido-max-dir-file-cache)
5782 (ido-decorations): Doc fix.
5784 * ansi-color.el: Fix old URL.
5786 2013-07-23 Michael R. Mauger <michael@mauger.com>
5788 * progmodes/sql.el: Version 3.3
5789 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5790 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5791 (sql-interactive-remove-continuation-prompt): Rewrite, use
5792 functions above. Fix continuation prompt and complete output line
5794 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5795 redirected output buffer.
5796 (sql-mode): Restore deleted code (Bug#13591).
5798 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5800 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5802 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5804 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5806 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5807 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5808 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5810 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5812 * desktop.el (desktop-clear): Simplify; remove useless checks
5813 against invalid buffer names.
5814 (desktop-list*): Use cl-list*.
5815 (desktop-buffer-info, desktop-create-buffer): Simplify.
5817 2013-07-23 Leo Liu <sdl.web@gmail.com>
5819 * bookmark.el (bookmark-make-record): Restore NAME as a default
5822 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5824 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5825 extracted from autoload--insert-text.
5826 (autoload--insert-text): Remove.
5827 (autoload--print-cookie-text): New function, extracted from
5828 autoload--insert-cookie-text.
5829 (autoload--insert-cookie-text): Remove.
5830 (autoload-generate-file-autoloads): Adjust calls accordingly.
5832 * winner.el (winner-hook-installed-p): Remove.
5833 (winner-mode): Simplify accordingly.
5835 * subr.el (add-to-list): Fix compiler-macro when `append' is
5836 not constant. Don't use `cl-member' for the base case.
5838 * progmodes/subword.el: Fix boundary case (bug#13758).
5839 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5841 (subword-backward-regexp): Make it a constant.
5842 (subword-forward-internal): Don't treat a trailing capital as the
5843 beginning of a word.
5845 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5847 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5848 global value of tabulated-list-revert-hook (bug#14930).
5850 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5852 * desktop.el: Require 'cl-lib.
5853 (desktop-before-saving-frames-functions): New hook.
5854 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5855 for frames being saved. Rename from desktop--save-minibuffer-frames.
5856 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5857 Do not save frames with non-nil `desktop-dont-save' parameter.
5858 Filter out deleted frames.
5859 (desktop--find-frame): Use cl-find-if.
5860 (desktop--select-frame): Use cl-(first|second|third) to access values
5862 (desktop--make-frame): Use cl-delete-if.
5863 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5864 (desktop-restore-frames): Use cl-(first|second|third) to access values
5865 of desktop-mini. Look for visible frame at the end, not while
5868 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5869 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5870 Use string-match-p, looking-at-p (bug#14927).
5872 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5874 * desktop.el (desktop-saved-frame-states):
5875 Rename from desktop--saved-states; all users changed.
5876 (desktop-save-frames): Rename from desktop--save-frames.
5877 Do not save state to desktop file.
5878 (desktop-save): Save desktop-saved-frame-states to desktop file
5880 (desktop-restoring-frames-p): New function.
5881 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5882 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5883 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5885 * desktop.el: Correctly restore iconified frames.
5886 (desktop--filter-iconified-position): New function.
5887 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5889 2013-07-20 Glenn Morris <rgm@gnu.org>
5891 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5892 Let `message' do the formatting.
5893 (def-gdb-preempt-display-buffer): Add explicit format.
5895 * image-dired.el (image-dired-track-original-file):
5896 Use with-current-buffer.
5897 (image-dired-track-thumbnail): Use with-current-buffer.
5898 Avoid changing point of wrong window.
5900 * image-dired.el (image-dired-track-original-file):
5901 Avoid changing point of wrong window. (Bug#14909)
5903 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5905 * progmodes/gdb-mi.el (gdb-done-or-error):
5906 Guard against "%" in gdb output. (Bug#14127)
5908 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5910 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5913 * international/mule.el (coding-system-iso-2022-flags): Fix last
5916 2013-07-20 Kenichi Handa <handa@gnu.org>
5918 * international/mule.el (coding-system-iso-2022-flags):
5919 Add `8-bit-level-4'. (Bug#8522)
5921 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5923 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5926 * net/eww.el (eww-process-text-input): Allow inputting when the
5927 point is at the start of the line, as the properties aren't
5930 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5933 2013-07-19 Richard Stallman <rms@gnu.org>
5935 * epa.el (epa-popup-info-window): Doc fix.
5937 * subr.el (split-string): New arg TRIM.
5939 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5941 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5942 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5944 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5946 * filenotify.el (file-notify--library): Rename from
5947 `file-notify-support'. Do not autoload. Adapt all uses.
5948 (file-notify-supported-p): New defun.
5950 * autorevert.el (auto-revert-use-notify):
5951 Use `file-notify-supported-p' instead of `file-notify-support'.
5953 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
5955 * net/tramp.el (tramp-file-name-for-operation):
5956 Add `file-notify-supported-p'.
5958 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5960 (tramp-sh-file-name-handler-alist): Add it as handler for
5961 `file-notify-supported-p '.
5963 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5964 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5965 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5966 Add `ignore' as handler for `file-notify-*' functions.
5968 2013-07-17 Eli Zaretskii <eliz@gnu.org>
5970 * simple.el (line-move-partial, line-move): Don't start vscroll or
5971 scroll-up if the current line is not taller than the window.
5974 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
5976 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
5977 highlight question marks in the method names as strings.
5978 (ruby-block-beg-keywords): Inline.
5979 (ruby-font-lock-keyword-beg-re): Extract from
5980 `ruby-font-lock-keywords'.
5982 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
5984 * frame.el (blink-cursor-blinks): New defcustom.
5985 (blink-cursor-blinks-done): New defvar.
5986 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
5987 (blink-cursor-timer-function): Check if number of blinks has been
5989 (blink-cursor-suspend, blink-cursor-check): New defuns.
5991 2013-07-15 Glenn Morris <rgm@gnu.org>
5993 * edmacro.el (edmacro-format-keys): Fix previous change.
5995 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
5997 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
5998 The hack didn't work outside English locales anyway.
6000 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6002 * simple.el (define-alternatives): Rename from alternatives-define,
6003 per RMS' suggestion.
6005 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6007 * desktop.el (desktop-restore-frames): Change default to t.
6008 (desktop-restore-in-current-display): Now offer more options.
6009 (desktop-restoring-reuses-frames): New customization option.
6010 (desktop--saved-states): Doc fix.
6011 (desktop-filter-parameters-alist): New variable, renamed and expanded
6012 from desktop--excluded-frame-parameters.
6013 (desktop--target-display): New variable.
6014 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6015 (desktop--filter-tty*, desktop--filter-*-color)
6016 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6017 (desktop--filter-save-desktop-parm)
6018 (desktop-restore-in-original-display-p): New functions.
6019 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6020 (desktop--save-minibuffer-frames): New function, inspired by a similar
6021 function from Martin Rudalics.
6022 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6023 (desktop--restore-in-this-display-p): Remove.
6024 (desktop--find-frame): Rename from desktop--find-frame-in-display
6025 and add predicate argument.
6026 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6027 (desktop--reuse-list): New variable.
6028 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6030 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6032 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6034 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6036 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6038 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6039 Highlight conversion methods on Kernel.
6041 2013-07-13 Alan Mackenzie <acm@muc.de>
6043 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6044 and comment it out. This out-commenting enables certain C++
6045 declarations to be parsed correctly.
6047 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6049 * international/mule.el (define-coding-system): Doc fix.
6051 * simple.el (default-font-height): Don't call font-info if the
6052 frame's default font didn't change since the frame was created.
6055 2013-07-13 Leo Liu <sdl.web@gmail.com>
6057 * ido.el (ido-read-file-name): Guard against non-symbol value.
6059 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6061 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6064 2013-07-13 Leo Liu <sdl.web@gmail.com>
6066 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6067 ido-set-matches call. (Bug#6852)
6069 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6071 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6072 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6074 (ruby-font-lock-keywords): Distinguish calls to functions with
6075 module-like names from module references. Highlight character
6078 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6080 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6081 (gdb-send): Handle continued commands. (Bug#14847)
6083 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6085 * desktop.el (desktop--v2s): Remove unused local variable.
6086 (desktop-save-buffer): Make defvar-local; adjust docstring.
6087 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6088 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6090 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6092 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6094 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6096 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6099 2013-07-12 Glenn Morris <rgm@gnu.org>
6101 * doc-view.el: Require cl-lib at runtime too.
6102 (doc-view-remove-if): Remove.
6103 (doc-view-search-next-match, doc-view-search-previous-match):
6106 * edmacro.el: Require cl-lib at runtime too.
6107 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6108 (edmacro-mismatch, edmacro-subseq): Remove.
6110 * shadowfile.el: Require cl-lib.
6111 (shadow-remove-if): Remove.
6112 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6115 * wid-edit.el: Require cl-lib.
6116 (widget-choose): Use cl-remove-if.
6117 (widget-remove-if): Remove.
6119 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6120 (ebrowse-delete-if-not): Remove.
6121 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6122 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6123 Use cl-delete-if-not.
6125 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6127 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6128 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6130 2013-07-12 Leo Liu <sdl.web@gmail.com>
6132 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6134 2013-07-11 Glenn Morris <rgm@gnu.org>
6136 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6137 (edebug-gensym-index, edebug-gensym):
6138 Remove reimplementation of cl-gensym.
6139 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6141 * thumbs.el: Require cl-lib at run-time too.
6142 (thumbs-gensym-counter, thumbs-gensym):
6143 Remove reimplementation of cl-gensym.
6144 (thumbs-temp-file): Use cl-gensym.
6146 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6147 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6148 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6149 (ert--union, ert--gensym-counter, ert--gensym-counter)
6150 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6151 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6152 (ert-make-test-unbound, ert--expand-should-1)
6153 (ert--expand-should, ert--should-error-handle-error)
6154 (should-error, ert--explain-equal-rec)
6155 (ert--plist-difference-explanation, ert-select-tests)
6156 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6157 Use cl-lib functions rather than reimplementations.
6159 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6161 * net/tramp.el (tramp-methods): Extend docstring.
6162 (tramp-connection-timeout): New defcustom.
6163 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6164 (with-tramp-progress-reporter): Simplify.
6165 (tramp-process-actions): Improve messages.
6167 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6168 * net/tramp-sh.el (tramp-maybe-open-connection):
6169 Use `tramp-connection-timeout'.
6170 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6173 2013-07-11 Leo Liu <sdl.web@gmail.com>
6175 * ido.el (ido-read-file-name): Conform to the requirements of
6176 read-file-name. (Bug#11861)
6177 (ido-read-directory-name): Conform to the requirements of
6178 read-directory-name.
6180 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6182 * subr.el (delay-warning): New function.
6184 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6186 * simple.el (default-line-height): New function.
6187 (line-move-partial, line-move): Use it instead of computing the
6189 (line-move-partial): Always compute ROWH. If the last line is
6190 partially-visible, but its text is completely visible, allow
6191 cursor to enter such a partially-visible line.
6193 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6195 Improve error messages. (Bug#14808)
6197 * net/tramp.el (tramp-current-connection): New defvar, moved from
6199 (tramp-message-show-progress-reporter-message): Remove, not
6201 (tramp-error-with-buffer): Show message in minibuffer.
6202 Discard input before waiting. Reset connection timestamp.
6203 (with-tramp-progress-reporter): Improve messages.
6204 (tramp-process-actions): Use progress reporter. Delete process in
6205 case of error. Improve messages.
6207 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6208 Call `tramp-error-with-buffer' with vector and buffer.
6209 (tramp-current-connection): Remove.
6210 (tramp-maybe-open-connection): The car of
6211 `tramp-current-connection' are the first 3 slots of the vector.
6213 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6215 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6216 inside continued strings.
6218 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6220 Timestamp fixes for undo (Bug#14824).
6221 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6223 2013-07-10 Leo Liu <sdl.web@gmail.com>
6225 * files.el (require-final-newline): Allow safe local value.
6228 2013-07-09 Leo Liu <sdl.web@gmail.com>
6230 * ido.el (ido-read-directory-name): Handle fallback.
6231 (ido-read-file-name): Update DIR to ido-current-directory.
6233 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6235 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6237 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6238 "autoload". Remove "warn lower camel case" section, previously
6239 commented out. Highlight negation char. Do not highlight the
6240 target in singleton method definitions.
6242 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6244 * faces.el (tty-setup-hook): Declare the hook.
6246 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6247 and detect when a guard/pred depends on local vars (bug#14773).
6248 (pcase--u1): Adjust caller.
6250 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6252 * simple.el (line-move-partial, line-move): Account for
6254 (line-move-partial): Avoid setting vscroll when the last
6255 partially-visible line in window is of default height.
6257 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6259 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6262 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6264 * subr.el (read-quoted-char): Remove unused local variable `char'.
6266 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6268 * ediff.el (ediff-version): Version update.
6269 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6270 (ediff-merge-with-ancestor-command, ediff-directories-command)
6271 (ediff-directories3-command, ediff-merge-directories-command)
6272 (ediff-merge-directories-with-ancestor-command): New functions.
6273 All are command-line interfaces to ediff: to facilitate calling
6274 Emacs with the appropriate ediff functions invoked.
6276 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6277 (viper-save-kill-buffer): Check if buffer is modified.
6279 * viper.el (viper-version): Version update.
6280 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6282 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6284 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6285 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6286 (viper-intercept-ESC-key): Simplify.
6287 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6288 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6289 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6290 (viper-setup-ESC-to-escape): New functions.
6291 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6292 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6294 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6296 * simple.el (default-font-height, window-screen-lines):
6298 (line-move, line-move-partial): Use them instead of
6299 frame-char-height and window-text-height. This makes scrolling
6300 text smoother when the buffer's default face uses a font that is
6301 different from the frame's default font.
6303 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6305 * files.el (write-file): Do not display confirm dialog for NS,
6306 it does its own dialog, which can't be cancelled (Bug#14578).
6308 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6310 * simple.el (line-move-partial): Adjust the row returned by
6311 posn-at-point for the current window-vscroll. (Bug#14567)
6313 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6315 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6316 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6319 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6321 * window.el (window-state-put-stale-windows): New variable.
6322 (window--state-put-2): Save list of windows without matching buffer.
6323 (window-state-put): Remove "bufferless" windows if possible.
6325 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6327 * simple.el (alternatives-define): Remove leftover :group keyword.
6330 2013-07-06 Leo Liu <sdl.web@gmail.com>
6332 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6333 (ido-enable-virtual-buffers): New variable.
6334 (ido-buffer-internal, ido-toggle-virtual-buffers)
6335 (ido-make-buffer-list): Use it.
6336 (ido-exhibit): Support turning on and off virtual buffers
6339 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6341 * simple.el (alternatives-define): New macro.
6343 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6345 * subr.el (read-quoted-char): Use read-key.
6346 (sit-for): Let read-event decode tty input (bug#14782).
6348 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6350 * calendar/todo-mode.el: Add handling of file deletion, both by
6351 mode command and externally. Fix various related bugs.
6352 Clarify Commentary and improve some documentation strings and code.
6353 (todo-delete-file): New command.
6354 (todo-check-file): New function.
6355 (todo-show): Handle external deletion of the file we're trying to
6356 show (bug#14688). Replace called-interactively-p by an optional
6357 prefix argument to avoid problematic interaction with catch form
6358 when byte compiled (bug#14702).
6359 (todo-quit): Handle external deletion of the archive's todo file.
6360 Make sure the buffer that was visiting the archive file is still
6361 live before trying to bury it.
6362 (todo-category-completions): Handle external deletion of any
6363 category completion files.
6364 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6365 of todo files, in case of external deletion.
6366 (todo-add-file): Replace unnecessary setq by let-binding.
6367 (todo-find-archive): Check whether there are any archives.
6368 Replace unnecessary setq by let-binding.
6369 (todo-archive-done-item): Use find-file-noselect to get the
6370 archive buffer whether or not the archive already exists.
6371 Remove superfluous code. Use file size instead of buffer-file-name to
6372 check if the archive is new; if it is, update list of archives.
6373 (todo-default-todo-file): Allow nil to be a valid value for when
6374 there are no todo files.
6375 (todo-reevaluate-default-file-defcustom): Use corrected definition
6376 of todo-default-todo-file.
6377 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6378 (todo-delete-category, todo-show-categories-table)
6379 (todo-category-number): Clarify comment.
6380 (todo-filter-items): Clarify documentation string.
6381 (todo-show-current-file, todo-display-as-todo-file)
6382 (todo-reset-and-enable-done-separator): Tweak documentation string.
6383 (todo-done-separator): Make separator length window-width, since
6384 bug#2749 is now fixed.
6386 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6388 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6389 Support both "gvfs-monitor-dir" and "inotifywait".
6390 (tramp-sh-file-inotifywait-process-filter): Rename from
6391 `tramp-sh-file-notify-process-filter'.
6392 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6393 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6395 2013-07-05 Leo Liu <sdl.web@gmail.com>
6397 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6399 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6401 * frame.el (display-pixel-height, display-pixel-width)
6402 (display-mm-height, display-mm-width): Mention behavior on
6403 multi-monitor setups in docstrings.
6404 (w32-display-monitor-attributes-list): Declare function.
6405 (display-monitor-attributes-list): Use it.
6407 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6409 * filenotify.el: New package.
6411 * autorevert.el (top): Require filenotify.el.
6412 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6414 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6415 (auto-revert-notify-handler): Use `file-notify-*' functions.
6417 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6419 * net/tramp.el (tramp-file-name-for-operation):
6420 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6422 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6423 for `file-notify-add-watch' and `file-notify-rm-watch'.
6424 (tramp-process-sentinel): Improve trace.
6425 (tramp-sh-handle-file-notify-add-watch)
6426 (tramp-sh-file-notify-process-filter)
6427 (tramp-sh-handle-file-notify-rm-watch)
6428 (tramp-get-remote-inotifywait): New defuns.
6430 2013-07-03 Juri Linkov <juri@jurta.org>
6432 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6433 call of `occur-read-primary-args' to interactive spec.
6435 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6436 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6438 2013-07-03 Matthias Meulien <orontee@gmail.com>
6440 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6441 `Buffer-menu-multi-occur'. Add it to the menu.
6442 (Buffer-menu-mode): Document it in docstring.
6443 (Buffer-menu-multi-occur): New command. (Bug#14673)
6445 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6447 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6448 keywords and built-ins.
6450 2013-07-03 Glenn Morris <rgm@gnu.org>
6452 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6454 Make info-xref checks case-sensitive by default
6455 * info.el (Info-find-node, Info-find-in-tag-table)
6456 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6457 Add option for exact case matching of nodes.
6458 * info-xref.el (info-xref): New custom group.
6459 (info-xref-case-fold): New option.
6460 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6462 2013-07-03 Leo Liu <sdl.web@gmail.com>
6464 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6466 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6468 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6469 middle of block statement initially, lower the depth. Remove
6470 FIXME comment, not longer valid. Remove middle of block statement
6471 detection, no need to do that anymore since we've been using
6472 `ruby-parse-region' here.
6474 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6476 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6478 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6480 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6482 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6484 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6485 (desktop-restore-in-current-display): New customization option.
6486 (desktop--excluded-frame-parameters): Add `font'.
6487 (desktop--save-frames): Rename from desktop--save-windows.
6488 (desktop--restore-in-this-display-p): New function.
6489 (desktop--make-full-frame): Remove unwanted width/height from
6490 full(width|height) frames.
6491 (desktop--restore-frames): Rename from desktop--restore-windows.
6492 Obey desktop-restore-current-display. Do not delete old frames or
6493 select a new frame unless we were able to restore at least one frame.
6495 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6497 * files.el (find-file-noselect): Simplify conditional expression.
6499 * remember.el (remember-append-to-file):
6500 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6502 Add `remember-notes' function to store random notes across Emacs
6504 * remember.el (remember-data-file): Add :set callback to affect
6505 notes buffer (if any).
6506 (remember-notes): New command.
6507 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6508 New defcustoms for the `remember-notes' function.
6509 (remember-notes-save-and-bury-buffer): New command.
6510 (remember-notes-mode-map): New variable.
6511 (remember-mode): New minor mode.
6512 (remember-notes--kill-buffer-query): New function.
6513 * startup.el (initial-buffer-choice): Add notes to custom type.
6515 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6517 * bindings.el (right-char, left-char): Don't call sit-for, this is
6518 no longer needed. Use arithmetic comparison only for numerical
6521 * international/mule-cmds.el (select-safe-coding-system):
6522 Handle the case of FROM being a string correctly. (Bug#14755)
6524 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6526 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6527 progression on degenerate tables.
6528 (shr-rescale-image): ImageMagick animated images currently don't work.
6530 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6532 Some fixes and improvements for desktop frame restoration.
6533 It is still experimental and disabled by default.
6534 * desktop.el (desktop--save-windows): Put the selected frame at
6535 the head of the list.
6536 (desktop--make-full-frame): New function.
6537 (desktop--restore-windows): Try to re-select the frame that was
6538 selected upon saving. Do not abort if some frames fail to restore,
6539 just show an error message and continue. Set up maximized frames
6540 so they have default non-maximized dimensions.
6542 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6544 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6545 Don't start heredoc inside a string or comment.
6547 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6549 * bindings.el (visual-order-cursor-movement): New defcustom.
6550 (right-char, left-char): Provide visual-order cursor motion by
6551 calling move-point-visually. Update the doc strings.
6553 2013-06-28 Kenichi Handa <handa@gnu.org>
6555 * international/mule.el (define-coding-system): New coding system
6556 properties :inhibit-null-byte-detection,
6557 :inhibit-iso-escape-detection, and :prefer-utf-8.
6558 (set-buffer-file-coding-system): If :charset-list property of
6559 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6560 appropriate for setting.
6562 * international/mule-cmds.el (select-safe-coding-system):
6563 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6564 multibyte characters, return utf-8 (or one of its siblings).
6566 * international/mule-conf.el (prefer-utf-8): New coding system.
6567 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6570 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6572 * net/shr.el (shr-render-region): New function.
6574 * net/eww.el: Autoload `eww-browse-url'.
6576 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6578 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6579 Adapt to `package-desc-version' being a list.
6580 Use `package--ac-desc-version' to retrieve version from a package
6583 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6585 New experimental feature to save&restore window and frame setup.
6586 * desktop.el (desktop-save-windows): New defcustom.
6587 (desktop--saved-states): New var.
6588 (desktop--excluded-frame-parameters): New defconst.
6589 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6590 (desktop--restore-windows, desktop--save-windows): New functions.
6591 (desktop-save): Call `desktop--save-windows'.
6592 (desktop-read): Call `desktop--restore-windows'.
6594 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6596 * net/shr.el (add-face-text-property): Remove compat definition.
6598 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6600 * info.el (Info-try-follow-nearest-node): Move search for footnote
6601 above search for node name to prevent missing a footnote (bug#14717).
6603 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6605 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6607 2013-06-27 Leo Liu <sdl.web@gmail.com>
6609 * net/eww.el (eww-read-bookmarks): Check file size.
6611 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6613 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6614 advice--pending if newdef is nil or an autoload (bug#13820).
6615 (advice-mapc): New function.
6617 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6619 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6621 (eww-mode-map): Add a menu bar.
6622 (eww-add-bookmark): New command.
6623 (eww-bookmark-mode): New mode and commands.
6624 (eww-add-bookmark): Remove newlines from the title.
6625 (eww-bookmark-browse): Don't bug out if it's the only window.
6627 2013-06-26 Glenn Morris <rgm@gnu.org>
6629 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6630 (hfy-size): Handle ttys. (Bug#14668)
6632 * info-xref.el: Update for Texinfo 5 change in *note format.
6633 (info-xref-node-re, info-xref-note-re): New constants.
6634 (info-xref-check-buffer): Use info-xref-note-re.
6636 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6638 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6640 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6641 nil terminate the loop (bug#14718).
6643 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6645 * net/eww.el: Rework history traversal. When going forward/back,
6646 put these actions into the history, too, so that they can be
6648 (eww-render): Move the history reset to the correct buffer.
6650 2013-06-25 Juri Linkov <juri@jurta.org>
6652 * files-x.el (modify-dir-local-variable): Change the header comment
6653 in the file with directory local variables. (Bug#14692)
6655 * files-x.el (read-file-local-variable-value): Add `default'.
6658 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6660 * net/eww.el (eww-make-unique-file-name): Create a unique file
6661 name before saving to entering `y' accidentally asynchronously.
6663 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6665 * net/eww.el (eww-download): New command and keystroke.
6667 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6669 * net/eww.el (eww-copy-page-url): Change name of command.
6671 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6672 be more consistent with Info and dired.
6674 * net/eww.el (eww-mode-map): Ditto.
6676 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6678 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6679 packages from archives.
6680 (package-archive-contents): Change format; include obsolete packages.
6681 (package-desc): Use `dir' to mark builtin packages.
6682 (package--from-builtin): Set the `dir' field to `builtin'.
6683 (generated-autoload-file, version-control): Declare.
6684 (package-compute-transaction): Change first arg and return value to be
6685 lists of package-descs. Adjust to new package-archive-contents format.
6686 (package--add-to-archive-contents): Adjust to new
6687 package-archive-contents format.
6688 (package-download-transaction): Arg is now a list of package-descs.
6689 (package-install): If `pkg' is a package name, pass it as
6690 a requirement, so it is subject to the usual (e.g. disabled) checks.
6691 (describe-package): Accept package-desc as well.
6692 (describe-package-1): Describe a specific package-desc. Add links to
6693 other package-descs for the same package name.
6694 (package-menu-describe-package): Pass the actual package-desc.
6695 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6697 (package-desc-status): New function.
6698 (package-menu--refresh): New function, extracted
6699 from package-menu--generate.
6700 (package-menu--generate): Use it.
6701 (package-delete): Update package-alist.
6702 (package-menu-execute): Don't call package-initialize.
6704 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6705 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6706 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6707 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6708 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6709 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6711 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6713 * window.el (window--state-get-1): Workaround for bug#14527.
6714 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6716 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6718 * net/eww.el (eww-back-url): Implement the history by stashing all
6719 the data into a list.
6720 (eww-forward-url): Allow going forward in the history, too.
6722 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6724 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6725 for values and use read--expression for expressions (bug#14710).
6726 (read-file-local-variable): Avoid setq.
6727 (read-file-local-variable-mode): Use minor-mode-list.
6729 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6731 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6734 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6736 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6737 Update imenu-support when dialect changes.
6739 2013-06-25 Leo Liu <sdl.web@gmail.com>
6741 * ido.el (ido-read-internal): Allow forward slash on windows.
6743 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6745 * net/eww.el (eww): Start of strings is \\`, not ^.
6747 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6749 * net/shr.el (shr-browse-url): Fix interactive spec.
6751 * net/eww.el (eww): Add a trailing slash to domain names.
6753 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6755 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6757 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6759 * net/shr.el (shr-browse-url): Use an external browser if given a
6762 * net/eww.el (eww-external-browser): Move to shr.
6764 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6766 * net/eww.el (eww): Work more correctly for file: URLs.
6767 (eww-detect-charset): Allow quoted charsets.
6768 (eww-yank-page-url): New command and keystroke.
6770 2013-06-24 Daiki Ueno <ueno@gnu.org>
6772 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6773 file name of gpg executable.
6774 (epg-context-program): New function.
6775 (epg-context-home-directory): New function.
6776 (epg-context-set-program): New function.
6777 (epg-context-set-home-directory): New function.
6778 (epg--start): Use `epg-context-program' instead of
6780 (epg--list-keys-1): Likewise.
6782 2013-06-24 Leo Liu <sdl.web@gmail.com>
6784 * ido.el (ido-read-internal): Fix bug#14620.
6786 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6788 * faces.el (face-documentation): Simplify.
6789 (read-face-attribute, tty-find-type, x-resolve-font-name):
6790 Use `string-match-p'.
6791 (list-faces-display): Use `string-match-p'. Simplify.
6792 (face-spec-recalc): Check face to avoid face alias loops.
6793 (read-color): Use `string-match-p' and non-capturing parenthesis.
6795 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6797 * net/shr.el (shr-rescale-image): Use the new
6798 :max-width/:max-height functionality.
6800 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6802 * net/eww.el (eww-search-prefix): New variable.
6804 (eww-external-browser): New variable.
6805 (eww-mode-map): New keystroke.
6806 (eww-browse-with-external-browser): New command.
6808 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6810 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6812 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6813 Don't skip aligning the next header field when padding is 0;
6814 otherwise, field width is not respected unless the title is as
6817 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6819 * emacs-lisp/package.el (package-el-version): Remove.
6820 (package-process-define-package): Fix inf-loop.
6821 (package-install): Allow symbols as arguments again.
6823 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6825 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6826 add some more keyword-like methods.
6827 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6829 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6831 * bs.el (bs-buffer-show-mark): Make defvar-local.
6832 (bs-mode): Use setq-local.
6834 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6835 (emacs-lock--try-unlocking): Make defvar-local.
6837 2013-06-22 Glenn Morris <rgm@gnu.org>
6839 * play/cookie1.el (cookie-apropos): Minor simplification.
6841 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6843 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6845 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6846 `regexp-opt', it breaks the build during dumping.
6848 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6850 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6851 Highlight keyword-like methods on Kernel and Module with
6852 font-lock-builtin-face.
6853 (auto-mode-alist): Consolidate different entries into one regexp
6854 and add more *file-s.
6856 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6858 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6860 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6861 (diary-entry): Use it in the action of this button type instead of
6864 * calendar/todo-mode.el: New version.
6865 (todo-add-category): Append new category to end of file and give
6866 it the highest number, instead of putting it at the beginning and
6867 giving it 0. Incorporate noninteractive functionality.
6868 (todo-forward-category): Adapt to 1-based category numbering.
6869 Allow skipping over archived categories.
6870 (todo-backward-category): Derive from todo-forward-category.
6871 (todo-backward-item, todo-forward-item): Make noninteractive and
6872 delegate interactive part to new commands. Make sensitive to done items.
6873 (todo-categories): Make value an alist of category names and
6874 vectors of item counts.
6875 (todo-category-beg): Make a defconst.
6876 (todo-category-number): Use 1 instead of 0 as initial value.
6877 (todo-category-select): Make sensitive to overlays, optional item
6878 highlighting and done items.
6879 (todo-delete-item): Make sensitive to overlays and marked and done items.
6880 (todo-edit-item): Make sensitive to overlays and editing of
6881 date/time header optional. Add format checks.
6882 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6883 no-op if point is not on an item. Advertise using todo-edit-quit.
6884 (todo-edit-mode): Make sensitive to new format, font-locking, and
6885 multiple todo files.
6886 (todo-insert-item, todo-insert-item-here): Derive from
6887 todo-basic-insert-item and extend functionality.
6888 (todo-item-end, todo-item-start): Make sensitive to done items.
6889 (todo-item-string): Don't return text properties. Restore point.
6890 (todo-jump-to-category): Make sensitive to multiple todo files and
6891 todo archives. Use extended category completion.
6892 (todo-lower-item, todo-raise-item): Rename to *-priority and
6893 derive from todo-set-item-priority.
6894 (todo-mode): Derive from special-mode. Make sensitive to new
6895 format, font-locking and multiple todo files. Make read-only.
6896 (todo-mode-map): Don't suppress digit keys, so they can supply
6897 prefix arguments. Add many new key bindings.
6898 (todo-prefix): Insert as an overlay instead of file text.
6899 Change semantics from diary date expression to purely visual mark.
6900 (todo-print): Rename to todo-print-buffer. Make buffer display
6901 features printable. Remove option to restrict number of items
6902 printed. Add option to print to file.
6903 (todo-print-function): Rename to todo-print-buffer-function.
6904 (todo-quit): Extend to handle exiting new todo modes.
6905 (todo-remove-item): Make sensitive to overlays.
6906 (todo-save): Extend to buffers of filtered items.
6907 (todo-show): Make sensitive to done items, multiple todo files and
6908 new todo modes. Offer to convert legacy todo file before creating
6909 first new todo file.
6910 (todo-show-priorities): Rename to todo-top-priorities.
6911 Change semantics of value 0.
6912 (todo-top-priorities): Rename to todo-filter-top-priorities,
6913 derive from todo-filter-items and extend functionality.
6914 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6915 and extend functionality to other types of filtered items.
6916 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6917 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6918 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6919 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6920 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6921 (todo-edit-mode-hook, todo-entry-prefix-function)
6922 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6923 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6924 (todo-initials, todo-insert-threshold, todo-item-string-start)
6925 (todo-line-string, todo-menu, todo-mode-hook)
6926 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6927 (todo-print-priorities, todo-remove-separator)
6928 (todo-save-top-priorities-too, todo-string-count-lines)
6929 (todo-string-multiline-p, todo-time-string-format)
6930 (todo-tmp-buffer-name): Remove.
6931 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6932 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6933 (todo-edit-category-diary-inclusion)
6934 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6935 (todo-edit-file, todo-edit-item-date-day)
6936 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6937 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6938 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6939 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6940 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6941 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6942 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6943 (todo-filter-top-priorities-multifile, todo-find-archive)
6944 (todo-find-filtered-items-file, todo-go-to-source-item)
6945 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6946 (todo-jump-to-archive-category, todo-lower-category)
6947 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6948 (todo-move-category, todo-move-item, todo-next-button)
6949 (todo-next-item, todo-padded-string, todo-powerset)
6950 (todo-previous-button, todo-previous-item)
6951 (todo-print-buffer-to-file, todo-raise-category)
6952 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6953 (todo-set-category-number, todo-set-item-priority)
6954 (todo-set-top-priorities-in-category)
6955 (todo-set-top-priorities-in-file, todo-show-categories-table)
6956 (todo-sort-categories-alphabetically-or-numerically)
6957 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
6958 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
6959 (todo-toggle-item-header, todo-toggle-item-highlighting)
6960 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
6961 (todo-toggle-view-done-items, todo-toggle-view-done-only)
6962 (todo-unarchive-items, todo-unmark-category): New commands.
6963 (todo-absolute-file-name, todo-add-to-buffer-list)
6964 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
6965 (todo-basic-insert-item, todo-category-completions)
6966 (todo-category-number, todo-category-string-matcher-1)
6967 (todo-category-string-matcher-2, todo-check-filtered-items-file)
6968 (todo-check-format, todo-clear-matches)
6969 (todo-comment-string-matcher, todo-convert-legacy-date-time)
6970 (todo-current-category, todo-date-string-matcher)
6971 (todo-define-insertion-command, todo-diary-expired-matcher)
6972 (todo-diary-goto-entry, todo-diary-item-p)
6973 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
6974 (todo-display-categories, todo-display-sorted, todo-done-item-p)
6975 (todo-done-item-section-p, todo-done-separator)
6976 (todo-done-string-matcher, todo-files, todo-filter-items)
6977 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
6978 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
6979 (todo-insert-category-line, todo-insert-item-from-calendar)
6980 (todo-insert-sort-button, todo-insert-with-overlays)
6981 (todo-insertion-command-name, todo-insertion-key-bindings)
6982 (todo-label-to-key, todo-longest-category-name-length)
6983 (todo-make-categories-list, todo-mode-external-set)
6984 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
6985 (todo-modes-set-3, todo-multiple-filter-files)
6986 (todo-nondiary-marker-matcher, todo-prefix-overlays)
6987 (todo-read-category, todo-read-date, todo-read-dayname)
6988 (todo-read-file-name, todo-read-time)
6989 (todo-reevaluate-category-completions-files-defcustom)
6990 (todo-reevaluate-default-file-defcustom)
6991 (todo-reevaluate-filelist-defcustoms)
6992 (todo-reevaluate-filter-files-defcustom)
6993 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
6994 (todo-reset-done-separator, todo-reset-done-separator-string)
6995 (todo-reset-done-string, todo-reset-global-current-todo-file)
6996 (todo-reset-highlight-item, todo-reset-nondiary-marker)
6997 (todo-reset-prefix, todo-set-categories)
6998 (todo-set-date-from-calendar, todo-set-show-current-file)
6999 (todo-set-top-priorities, todo-short-file-name)
7000 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7001 (todo-total-item-counts, todo-update-buffer-list)
7002 (todo-update-categories-display, todo-update-categories-sexp)
7003 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7005 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7007 (todo-categories, todo-display, todo-edit, todo-faces)
7008 (todo-filtered): New defgroups.
7009 (todo-archived-only, todo-button, todo-category-string, todo-date)
7010 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7011 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7012 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7013 (todo-add-item-if-new-category, todo-always-add-time-string)
7014 (todo-categories-align, todo-categories-archived-label)
7015 (todo-categories-category-label, todo-categories-diary-label)
7016 (todo-categories-done-label, todo-categories-number-separator)
7017 (todo-categories-todo-label, todo-categories-totals-label)
7018 (todo-category-completions-files, todo-completion-ignore-case)
7019 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7020 (todo-done-separator-string, todo-done-string)
7021 (todo-files-function, todo-filter-done-items, todo-filter-files)
7022 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7023 (todo-initial-category, todo-initial-file, todo-item-mark)
7024 (todo-legacy-date-time-regexp, todo-mode-line-function)
7025 (todo-nondiary-marker, todo-number-prefix)
7026 (todo-print-buffer-function, todo-show-current-file)
7027 (todo-show-done-only, todo-show-first, todo-show-with-done)
7028 (todo-skip-archived-categories, todo-top-priorities-overrides)
7029 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7030 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7032 (todo-category-done, todo-date-pattern, todo-date-string-start)
7033 (todo-diary-items-buffer, todo-done-string-start)
7034 (todo-filtered-items-buffer, todo-item-start)
7035 (todo-month-abbrev-array, todo-month-name-array)
7036 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7037 (todo-top-priorities-buffer): New defconsts.
7038 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7039 (todo-categories-with-marks, todo-category-string-face)
7040 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7041 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7042 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7043 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7044 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7045 (todo-font-lock-keywords, todo-global-current-todo-file)
7046 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7047 (todo-insertion-commands-args)
7048 (todo-insertion-commands-args-genlist)
7049 (todo-insertion-commands-names, todo-insertion-map)
7050 (todo-key-bindings-t, todo-key-bindings-t+a)
7051 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7052 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7053 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7054 (todo-visited): New variables.
7056 2013-06-21 Glenn Morris <rgm@gnu.org>
7058 * play/cookie1.el (cookie-apropos): Add optional display argument.
7059 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7060 (psychoanalyze-pinhead): Use cookie-doctor.
7062 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7064 * emacs-lisp/package.el (tar-get-file-descriptor)
7065 (tar--extract): Declare.
7067 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7069 Extend flymake's warning predicate to be a function (bug#14217).
7070 * progmodes/flymake.el (flymake-warning-predicate): New.
7071 (flymake-parse-line): Use it.
7072 (flymake-warning-re): Make obsolete alias to
7073 `flymake-warning-predicate'.
7075 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7077 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7078 (package-obsolete-list): Remove.
7079 (package-activate): Remove min-version argument. Add `force' argument.
7080 Adjust to new package-alist format.
7081 (package-mark-obsolete): Remove.
7082 (package-unpack): Force reload of the package's autoloads.
7083 (package-installed-p): Check builtins if the installed package is not
7085 (package-initialize): Don't reset package-obsolete-list.
7086 Don't specify which package version to activate.
7087 (package-process-define-package, describe-package-1)
7088 (package-menu--generate): Adjust to new package-alist format.
7090 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7092 * allout-widgets.el (allout-widgets-mode-off)
7093 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7094 (allout-widgets-post-command-business)
7095 (allout-widgets-after-copy-or-kill-function)
7096 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7097 (allout-decorate-item-and-context)
7098 (allout-graphics-modification-handler): Fix typos in docstrings.
7099 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7101 * cmuscheme.el (scheme-start-file): Doc fix.
7102 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7103 (scheme-input-filter): Use `string-match-p'.
7105 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7107 * dired-x.el: Use Dired consistently in docstrings.
7109 * dired.el: Use Dired consistently in docstrings.
7110 (dired-readin, dired-mode): Use `setq-local'.
7111 (dired-switches-alist): Make defvar-local.
7112 (dired-buffers-for-dir): Use `zerop'.
7113 (dired-safe-switches-p, dired-switches-escape-p)
7114 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7115 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7116 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7117 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7118 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7119 (dired-toggle-marks, dired-mark-files-containing-regexp)
7120 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7121 (dired-flag-auto-save-files, dired-flag-backup-files):
7123 (dired-mark-files-regexp, dired-build-subdir-alist):
7124 Use `string-match-p', `looking-at-p'.
7126 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7127 (direct-print-region-helper): Use `string-match-p'.
7129 2013-06-21 Leo Liu <sdl.web@gmail.com>
7131 * comint.el (comint-redirect-results-list-from-process):
7134 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7136 * net/eww.el (eww-update-header-line-format): Quote % characters.
7138 2013-06-21 Glenn Morris <rgm@gnu.org>
7140 * play/cookie1.el (cookie): New custom group.
7141 (cookie-file): New option.
7142 (cookie-check-file): New function.
7143 (cookie): Make it interactive. Make start and end messages optional.
7144 Interactively, display the result. Default to cookie-file.
7145 (cookie-insert): Default to cookie-file.
7146 (cookie-snarf): Make start and end messages optional.
7147 Default to cookie-file. Use with-temp-buffer.
7148 (cookie-read): Rename from read-cookie.
7149 Make start and end messages optional. Default to cookie-file.
7150 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7152 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7153 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7155 2013-06-21 Leo Liu <sdl.web@gmail.com>
7157 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7159 2013-06-21 Glenn Morris <rgm@gnu.org>
7161 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7163 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7164 Daniel Hackney <dan@haxney.org>
7166 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7167 Consolidate the single-file vs tarball code.
7168 (package-desc-suffix): New function.
7169 (package-desc-full-name): Don't bother inlining it.
7170 (package-load-descriptor): Return the new package-desc.
7171 (package-mark-obsolete): Remove unused arg `package'.
7172 (package-unpack): Make it work for single files as well.
7173 Make it update package-alist.
7174 (package--make-autoloads-and-stuff): Rename from
7175 package--make-autoloads-and-compile. Don't compile any more.
7176 (package--compile): New function.
7177 (package-generate-description-file): New function, extracted from
7178 package-unpack-single.
7179 (package-unpack-single): Remove.
7180 (package--with-work-buffer): Add indentation and debugging info.
7181 (package-download-single): Remove.
7182 (package-install-from-archive): Rename from package-download-tar, make
7183 it take a pkg-desc, and make it work for single files as well.
7184 (package-download-transaction): Simplify.
7185 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7186 external tar program.
7187 (package-install-from-buffer): Remove `pkg-desc' argument.
7188 Use package-tar-file-info for tar-mode buffers.
7189 (package-install-file): Simplify accordingly.
7190 (package-archive-base): Change to take a pkg-desc.
7191 * tar-mode.el (tar--check-descriptor): New function, extracted from
7193 (tar-get-descriptor): Use it.
7194 (tar-get-file-descriptor): New function.
7195 (tar--extract): New function, extracted from tar-extract.
7196 (tar--extract): Use it.
7197 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7198 case the summary uses non-ascii. Adjust to new calling convention of
7199 package-tar-file-info.
7201 2013-06-21 Leo Liu <sdl.web@gmail.com>
7203 * comint.el (comint-redirect-results-list-from-process):
7204 Fix random delay. (Bug#14681)
7206 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7208 * profiler.el (profiler-format-number): Use log, not log10.
7210 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7212 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7214 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7216 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7217 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7219 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7220 (AUTOGENEL): ... here.
7221 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7222 (cl--defsubst-expand): Use it.
7224 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7226 * subr.el (log10): Move here from C code, and declare as obsolete.
7227 All uses of (log10 X) replaced with (log X 10).
7229 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7231 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7232 Declare with `defvar-local'.
7233 (tabulated-list-use-header-line, tabulated-list-entries)
7234 (tabulated-list-padding, tabulated-list-printer)
7235 (tabulated-list-sort-key): Declare with `defvar-local'.
7236 (tabulated-list-init-header, tabulated-list-print-fake-header):
7239 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7241 * arc-mode.el (archive-mode): Add `archive-write-file' to
7242 `write-contents-functions' also for remote files. (Bug#14652)
7244 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7246 * cus-edit.el (custom-commands): Fix typos.
7247 (custom-display): Fix tooltip text.
7248 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7249 Fix typos in docstrings.
7250 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7251 (custom-unlispify-menu-entry, custom-magic-value-create)
7252 (custom-add-see-also, custom-group-value-create): Use ?\s.
7253 (custom-guess-type, customize-apropos, editable-field)
7254 (custom-face-value-create): Use `string-match-p'.
7255 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7257 * custom.el (custom-load-symbol): Use `string-match-p'.
7259 * ansi-color.el: Convert to lexical binding.
7260 (ansi-colors): Fix URL.
7261 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7262 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7263 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7265 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7267 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7269 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7271 2013-06-19 Tom Tromey <tromey@redhat.com>
7273 * net/eww.el (eww-top-url): Remove.
7274 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7275 (eww-render): Set new variables. Don't set eww-top-url.
7276 (eww-handle-link): Handle "prev", "home", and "contents".
7277 Downcase the rel text.
7278 (eww-top-url): Choose best top URL.
7280 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7282 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7283 relying in widget.el. Using widget.el leads to too many
7284 user interface inconsistencies.
7285 (eww-self-insert): Implement entering commands in text fields.
7286 (eww-process-text-input): New function to make text input field editing
7288 (eww-submit): Rewrite to use the new-style form methods.
7289 (eww-select-display): Display the correct selected item.
7290 (eww-change-select): Implement changing the select value.
7291 (eww-toggle-checkbox): Implement radio/checkboxes.
7292 (eww-update-field): Fix compilation error.
7293 (eww-tag-textarea): Implement <textarea>.
7295 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7296 we don't shadow mode-specific bindings.
7298 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7301 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7303 2013-06-19 Glenn Morris <rgm@gnu.org>
7305 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7307 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7309 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7312 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7314 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7316 * net/browse-url.el (browse-url-browser-function):
7317 `eww-browse-url' has the right calling signature, `eww' does not.
7319 2013-06-19 Glenn Morris <rgm@gnu.org>
7321 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7322 Only eval autoloaded macros.
7323 (byte-compile-autoload): Only give the macro warning for macros.
7325 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7326 (ps-underlined-faces): Declare.
7328 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7329 (speedbar-add-supported-extension): Declare.
7331 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7332 Don't include a date stamp in the header of the generated file;
7333 it leads to needless differences between output files.
7335 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7337 * net/secrets.el (secrets-struct-secret-content-type):
7338 Replace check of introspection data by a test call of "CreateItem".
7339 Some servers do not offer introspection.
7341 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7343 * electric.el (electric-pair-mode): Improve interaction with
7344 electric-layout-mode.
7345 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7346 (electric-pair-syntax): Use text-mode-syntax-table in comments
7348 (electric-pair--insert): New function.
7349 (electric-pair-post-self-insert-function): Use it and
7350 electric--after-char-pos.
7352 2013-06-19 Leo Liu <sdl.web@gmail.com>
7354 * progmodes/octave.el (octave-help): Fix regexp.
7356 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7358 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7359 (shr-table-horizontal-line): Allow nil as a value, and change the
7361 (shr-insert-table-ruler): Respect the nil value.
7363 2013-06-18 Tom Tromey <tromey@barimba>
7365 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7367 (eww-open-file): New defun.
7368 (eww-render): Initialize new variables.
7369 (eww-display-html): Handle "link" and "a".
7370 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7371 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7372 (eww-back-url): Rename from eww-previous-url.
7373 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7376 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7378 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7379 Distinguish ternary operator tokens from slash symbol and slash
7382 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7384 Convert symbol prettification into minor mode and global minor mode.
7386 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7387 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7388 (prettify-symbols--keywords): Rename from
7389 `prog-prettify-symbols-alist' and make a local defvar.
7390 (prettify-symbols--compose-symbol): Rename from
7391 `prog--prettify-font-lock-compose-symbol'.
7392 (prettify-symbols--make-keywords): Rename from
7393 `prog-prettify-font-lock-symbols-keywords' and simplify.
7394 (prog-prettify-install): Remove.
7395 (prettify-symbols-mode): New minor mode, based on
7396 `prog-prettify-install'.
7397 (turn-on-prettify-symbols-mode): New function.
7398 (global-prettify-symbols-mode): New globalized minor mode.
7400 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7401 * progmodes/cfengine.el (cfengine3-mode):
7402 * progmodes/perl-mode.el (perl-mode): Don't call
7403 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7405 2013-06-18 Juri Linkov <juri@jurta.org>
7407 * files-x.el (modify-file-local-variable-message): New function.
7408 (modify-file-local-variable)
7409 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7410 and call `modify-file-local-variable-message' when it's non-nil.
7411 (add-file-local-variable, delete-file-local-variable)
7412 (add-file-local-variable-prop-line)
7413 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7414 and use it. (Bug#9820)
7416 2013-06-18 Juri Linkov <juri@jurta.org>
7418 * emulation/vi.el (vi-shell-op):
7419 * emulation/vip.el (vip-execute-com, ex-command):
7420 * emulation/viper-cmd.el (viper-exec-bang):
7421 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7422 the call of `shell-command-on-region'. (Bug#14637)
7424 * simple.el (shell-command-on-region): Doc fix.
7426 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7428 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7431 2013-06-18 Glenn Morris <rgm@gnu.org>
7433 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7435 * newcomment.el (comment-search-forward, comment-search-backward):
7436 Doc fix. (Bug#14376)
7438 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7440 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7441 (buffer-face-mode-invoke): Doc fix.
7443 2013-06-18 Matthias Meulien <orontee@gmail.com>
7445 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7446 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7448 2013-06-18 Glenn Morris <rgm@gnu.org>
7450 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7451 Replace obsolete function generic-make-keywords with its expansion.
7453 * progmodes/python.el (ffap-alist): Declare.
7455 * textmodes/reftex.el (bibtex-mode-map): Declare.
7457 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7459 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7460 (package-unpack, package-unpack-single): Return the pkg-dir.
7461 (package-download-transaction): Use it to update package-alist.
7463 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7465 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7468 2013-06-17 Juri Linkov <juri@jurta.org>
7470 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7472 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7474 * emacs-lisp/package.el (package-load-descriptor):
7475 Remove `with-syntax-table' call, `read' doesn't need it.
7476 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7478 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7480 * startup.el (command-line): Expand package name returned by
7481 `package--description-file' (bug#14639).
7483 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7485 * emacs-lisp/package.el (package-load-descriptor): Do not call
7486 `emacs-lisp-mode', just use its syntax table.
7488 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7490 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7491 `font-lock-extra-managed-props' if any prettifying keyword is added.
7492 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7493 (prog-mode): Use `setq-local'.
7495 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7497 * international/characters.el (standard-case-table): Set syntax of ?»
7498 and ?« to punctuation.
7500 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7502 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7503 Save relevant match data before calling `syntax-ppss' (bug#14595).
7505 2013-06-15 Juri Linkov <juri@jurta.org>
7507 * files-x.el (modify-file-local-variable-prop-line): Add local
7508 variables to the end of the existing comment on the first line.
7509 Use `file-auto-mode-skip' to skip interpreter magic line,
7510 and also skip XML declaration.
7512 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7514 * startup.el (package--builtin-versions): New var.
7515 (package-subdirectory-regexp): Remove.
7516 (package--description-file): Hard code its value instead.
7518 * emacs-lisp/package.el: Don't activate packages older than builtin.
7519 (package-obsolete-list): Rename from package-obsolete-alist, and make
7520 it into a simple list of package-desc.
7521 (package-strip-version): Remove.
7522 (package-built-in-p): Use package--builtin-versions.
7523 (package-mark-obsolete): Simplify.
7524 (package-process-define-package): Mark it obsolete if older than the
7526 (package-handle-response): Use line-end-position.
7527 (package-read-archive-contents, package--download-one-archive):
7529 (package--add-to-archive-contents): Skip if older than the builtin or
7531 (package-menu-describe-package): Fix last change.
7532 (package-list-unversioned): New var.
7533 (package-menu--generate): Use it.
7535 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7536 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7537 (autoload-builtin-package-versions): New variable.
7538 (autoload-generate-file-autoloads): Use them.
7539 Remove the list of autoloaded functions/macros from the
7540 (autoload...) comments.
7542 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7544 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7546 * simple.el (line-move-partial): Don't jump to the next screen
7547 line as soon as it becomes visible. Instead, continue enlarging
7548 the vscroll until the portion of a tall screen line that's left on
7549 display is about the height of the frame's default font.
7552 2013-06-15 Glenn Morris <rgm@gnu.org>
7554 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7555 compilation-error-regexp-alist void, or local while let-bound.
7557 * progmodes/make-mode.el (makefile-mode-syntax-table):
7558 Treat "=" as punctuation. (Bug#14614)
7560 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7562 * help-fns.el (describe-variable):
7563 Add extra line for permanent-local variables.
7565 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7567 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7568 Add export, import, library. (Bug#9164)
7569 (library): Set indent function.
7571 2013-06-14 Glenn Morris <rgm@gnu.org>
7573 * term/xterm.el (xterm--query):
7574 Stop after first matching handler. (Bug#14615)
7576 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7578 Add support for dired in saveplace.
7579 * dired.el (dired-initial-position-hook): New variable.
7580 (dired-initial-position): Call hook to place cursor position.
7581 * saveplace.el (save-place-to-alist): Add dired position.
7582 (save-place-dired-hook): New function.
7584 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7586 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7587 through a symbol rather than letrec.
7589 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7590 (package-desc): Add `dir' field.
7591 (package-desc-full-name): New function.
7592 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7593 (package-maybe-load-descriptor): Remove.
7594 (package-load-all-descriptors): Just call package-load-descriptor.
7595 (package--disabled-p): New function.
7596 (package-desc-vers, package-desc-doc): Remove aliases.
7597 (package--dir): Remove function.
7598 (package-activate): Check if a package is disabled.
7599 (package-process-define-package): New function, extracted from
7601 (define-package): Turn into a place holder.
7602 (package-unpack-single, package-tar-file-info):
7603 Use package--description-file.
7604 (package-compute-transaction): Use package--disabled-p.
7605 (package-download-transaction): Don't call
7606 package-maybe-load-descriptor since they're all loaded anyway.
7607 (package-install): Change argument to be a pkg-desc.
7608 (package-delete): Use a single pkg-desc argument.
7609 (describe-package-1): Use package-desc-dir instead of package--dir.
7610 Use package-desc property instead of package-symbol.
7611 (package-install-button-action): Adjust accordingly.
7612 (package--push): Rewrite.
7613 (package-menu--print-info): Adjust accordingly. Change the ID format
7615 (package-menu-describe-package, package-menu-get-status)
7616 (package-menu--find-upgrades, package-menu-mark-upgrades)
7617 (package-menu-execute, package-menu--name-predicate):
7619 * startup.el (package--description-file): New function.
7620 (command-line): Use it.
7621 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7622 Use package-desc-version.
7624 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7625 (byte-compile-preprocess): Use it.
7626 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7627 can't quite recognize.
7628 (byte-compile-add-to-list): Remove.
7629 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7630 (cconv-closure-convert): Add assertion.
7632 * emacs-lisp/map-ynp.el: Use lexical-binding.
7633 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7634 Factor out some repeated code.
7636 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7638 * subr.el (with-eval-after-load): New macro.
7639 (eval-after-load): Allow form to be a function.
7640 take advantage of lexical-binding.
7641 (do-after-load-evaluation): Use dolist and adjust to new format.
7642 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7644 2013-06-13 Juri Linkov <juri@jurta.org>
7646 * replace.el (perform-replace): Display "symbol " and other search
7647 modes from `isearch-message-prefix' in the *Help* buffer.
7649 * isearch.el (isearch-query-replace): Add " symbol" and other
7650 possible search modes from `isearch-message-prefix' to the prompt.
7651 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7652 when reading a regexp to collect.
7654 2013-06-13 Juri Linkov <juri@jurta.org>
7656 * isearch.el (word-search-regexp): Match whitespace if the search
7657 string begins or ends in whitespace. The LAX arg is applied to
7658 both ends of the search string. Use `regexp-quote' and explicit
7659 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7660 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7661 boundaries are replaced with symbol boundaries, and characters
7662 between symbols match non-word non-symbol syntax. (Bug#14602)
7664 2013-06-13 Juri Linkov <juri@jurta.org>
7666 * isearch.el (isearch-del-char): Don't exceed the length of
7667 `isearch-string' by the prefix arg. (Bug#14563)
7669 2013-06-13 Juri Linkov <juri@jurta.org>
7671 * isearch.el (isearch-yank-word, isearch-yank-line)
7672 (isearch-char-by-name, isearch-quote-char)
7673 (isearch-printing-char, isearch-process-search-char):
7674 Add optional count prefix arg. (Bug#14563)
7676 * international/isearch-x.el
7677 (isearch-process-search-multibyte-characters):
7678 Add optional count prefix arg.
7680 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7682 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7683 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7686 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7688 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7690 2013-06-13 Glenn Morris <rgm@gnu.org>
7692 * startup.el (tty-handle-args):
7693 Don't just discard "--" and anything after. (Bug#14608)
7695 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7697 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7699 Implement changes in Secret Service API. Make it backward compatible.
7700 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7701 (secrets-create-item): Use it. Prefix properties with interface.
7703 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7705 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7706 (term-emulate-terminal): Respect term-suppress-hard-newline.
7708 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7710 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7711 Only remove a `thumb-file' overlay. (Bug#14548)
7713 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7715 * mail/reporter.el (reporter-submit-bug-report):
7716 Handle missing package-name. (Bug#14600)
7718 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7720 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7721 (reftex-citation-prompt, reftex-default-bibliography)
7722 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7723 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7724 (reftex-bib-sort-author, reftex-bib-sort-year)
7725 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7726 (reftex-extract-bib-entries-from-thebibliography)
7727 (reftex-get-bibkey-default, reftex-get-bib-names)
7728 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7729 (reftex-format-bib-entry, reftex-parse-bibitem)
7730 (reftex-format-bibitem, reftex-do-citation)
7731 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7732 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7733 (reftex-insert-bib-matches, reftex-format-citation)
7734 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7735 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7736 existing comments into docstrings.
7738 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7740 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7742 2013-06-12 Andreas Schwab <schwab@suse.de>
7744 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7745 for auto-save files.
7747 2013-06-12 Glenn Morris <rgm@gnu.org>
7749 * ido.el (ido-delete-ignored-files): Remove.
7750 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7751 Go back to calling ido-ignore-item-p directly.
7753 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7755 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7757 * ido.el (ido-delete-ignored-files): New function,
7758 split from ido-make-file-list-1.
7759 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7760 (ido-make-file-list-1): Use ido-delete-ignored-files.
7762 2013-06-12 Leo Liu <sdl.web@gmail.com>
7764 * progmodes/octave.el (inferior-octave-startup)
7765 (inferior-octave-completion-table)
7766 (inferior-octave-track-window-width-change)
7767 (octave-eldoc-function-signatures, octave-help)
7768 (octave-find-definition): Use single quoted strings.
7769 (inferior-octave-startup-args): Change default value.
7770 (inferior-octave-startup): Do not hard code "-i" and
7771 "--no-line-editing".
7772 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7773 (inferior-octave-directory-tracker): Use it.
7774 (octave-goto-function-definition): Robustify.
7775 (octave-help): Support highlighting operators in 'See also'.
7776 (octave-find-definition): Find subfunctions only in Octave mode.
7778 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7780 * help-fns.el (help-fns--compiler-macro): If the handler function is
7781 named, then put a link to it.
7782 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7783 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7785 (cl-eval-when): Simplify debug spec.
7786 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7787 compiler-macro function instead of setting `compiler-macro-file'.
7789 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7791 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7792 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7794 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7795 Daniel Hackney <dan@haxney.org>
7797 First part of Daniel Hackney's patch to package.el.
7798 * emacs-lisp/package.el: Use defstruct.
7799 (package-desc): New, main struct.
7800 (package--bi-desc, package--ac-desc): New structs, used to describe the
7801 format in external files.
7802 (package-desc-vers): Replace with package-desc-version accessor.
7803 (package-desc-doc): Replace with package-desc-summary accessor.
7804 (package-activate-1): Remove `package' arg since the pkg-vec now
7806 (define-package): Use package-desc-from-define.
7807 (package-unpack-single): Change file-name arg to be a symbol.
7808 (package--add-to-archive-contents): Use package-desc-create and new
7809 accessor functions to package--ac-desc.
7810 (package-buffer-info, package-tar-file-info): Return a package-desc.
7811 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7812 arg to be a package-desc.
7813 (package-install-file): Adjust accordingly. Use \' to match EOS.
7814 (package--from-builtin): New function.
7815 (describe-package-1, package-menu--generate): Use it.
7816 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7817 (package-generate-autoloads): Idem and return the name of the file.
7818 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7819 Change pkg-info arg to be a package-desc.
7820 Use package-make-ac-desc.
7821 (package-upload-file): Use \' to match EOS.
7822 * finder.el (finder-compile-keywords): Use package-make-builtin.
7824 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7826 * vc/vc.el (vc-deduce-fileset): Change error message.
7827 (vc-read-backend): New function.
7828 (vc-next-action): Use it.
7830 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7832 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7833 (prolog-font-lock-keywords): Use regexp-opt instead.
7834 Don't manually highlight strings.
7835 (prolog-mode-variables): Simplify comment-start-skip.
7836 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7838 * emacs-lisp/generic.el (generic--normalise-comments)
7839 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7840 (generic-mode-set-comments): Use them.
7841 (generic-bracket-support): Use setq-local.
7842 (generic-make-keywords-list): Declare obsolete.
7844 2013-06-11 Glenn Morris <rgm@gnu.org>
7846 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7847 Prettify after setting font-lock-defaults. (Bug#14574)
7849 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7851 * replace.el (query-replace, occur-read-regexp-defaults-function)
7853 * subr.el (declare-function, number-sequence, local-set-key)
7854 (substitute-key-definition, locate-user-emacs-file)
7855 (with-silent-modifications, split-string, eval-after-load):
7856 Fix typos, remove unneeded backslashes and reflow some docstrings.
7858 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7860 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7861 default for Elisp files.
7863 2013-06-11 Glenn Morris <rgm@gnu.org>
7865 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7866 although define-derived-mode was doing this anyway. (Bug#14583)
7868 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7870 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7871 Fix make-variable-buffer-local call to refer to the correct variable.
7873 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7875 * eshell/em-term.el (eshell-visual-commands)
7876 (eshell-visual-subcommands, eshell-visual-options):
7877 Add summary line to docstrings. Add cross-references.
7879 2013-06-10 Glenn Morris <rgm@gnu.org>
7881 * epa.el (epa-read-file-name): New function. (Bug#14510)
7882 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7884 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7886 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7887 output redirection to be ignored with visual commands.
7889 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7891 * eshell/em-term.el (eshell-visual-command-p): New function.
7892 (eshell-term-initialize): Move long lambda to separate function
7893 eshell-visual-command-p.
7894 * eshell/em-dirs.el (eshell-dirs-initialise):
7895 * eshell/em-script.el (eshell-script-initialize):
7896 Add missing #' to lambda.
7898 2013-06-08 Leo Liu <sdl.web@gmail.com>
7900 * progmodes/octave.el (octave-add-log-current-defun): New function.
7901 (octave-mode): Set add-log-current-defun-function.
7902 (octave-goto-function-definition): Do not move point if not found.
7903 (octave-find-definition): Enhance to try subfunctions first.
7905 2013-06-08 Glenn Morris <rgm@gnu.org>
7907 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7908 (byte-compile-backward-char, byte-compile-backward-word):
7909 Improve previous change, to handle non-explicit nil.
7911 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7913 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7914 (smie--opener/closer-at-point): New function.
7915 (smie--matching-block-data): Use it. Don't match from right after an
7916 opener or right before a closer. Obey smie-blink-matching-inners.
7917 Don't signal a mismatch for repeated inners like "switch..case..case".
7919 2013-06-07 Leo Liu <sdl.web@gmail.com>
7921 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7923 (octave-function-header-regexp): Fix. (Bug#14570)
7924 (octave-help-mode-finish-hook, octave-help-mode-finish):
7925 Remove. Just use temp-buffer-show-hook.
7927 * newcomment.el (comment-search-backward): Revert last change.
7930 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7932 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7934 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7935 through xargs, to avoid failure due to MS-Windows limitations on
7936 command-line length.
7938 2013-06-06 Glenn Morris <rgm@gnu.org>
7940 * font-lock.el (lisp-font-lock-keywords-2):
7941 Treat user-error like error.
7943 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7944 (byte-compile-backward-char, byte-compile-backward-word):
7945 Handle explicit nil arguments. (Bug#14565)
7947 2013-06-05 Alan Mackenzie <acm@muc.de>
7949 * isearch.el (isearch-allow-prefix): New user option.
7950 (isearch-other-meta-char): Don't exit isearch when a prefix
7951 argument is typed whilst `isearch-allow-prefix' is non-nil.
7954 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7956 * autorevert.el (auto-revert-notify-handler): Use memq.
7957 Hide assertion failure.
7959 * skeleton.el: Use cl-lib.
7960 (skeleton-further-elements): Use defvar-local.
7961 (skeleton-insert): Use cl-progv.
7963 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7965 * progmodes/prog-mode.el (prog-prettify-symbols)
7966 (prog-prettify-install): Update docstrings.
7968 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7970 * simple.el: Move all the prog-mode code to prog-mode.el.
7971 * progmodes/prog-mode.el: New file.
7972 * loadup.el: Add prog-mode.el.
7974 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
7976 * simple.el (prog-prettify-symbols): Add version.
7977 (prog-prettify-install): Add convenience function to prettify symbols.
7979 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
7980 (perl--augmented-font-lock-keywords-1)
7981 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
7982 variables and use it.
7984 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
7985 (cfengine3-mode): Remove unneeded variable and use it.
7987 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
7988 (lisp--augmented-font-lock-keywords-1)
7989 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
7990 Remove unneeded variables and use it.
7992 2013-06-05 João Távora <joaotavora@gmail.com>
7994 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
7995 to point when opening the connection. (Bug#14380)
7997 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7999 * subr.el (load-history-regexp, load-history-filename-element)
8000 (eval-after-load, after-load-functions, do-after-load-evaluation)
8001 (eval-next-after-load, display-delayed-warnings)
8002 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8003 definition of save-match-data.
8004 (overriding-local-map): Remove accidental obsolescence declaration.
8006 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8008 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8010 Generalize symbol prettify support to prog-mode and implement it
8011 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8012 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8013 (prog--prettify-font-lock-compose-symbol)
8014 (prog-prettify-font-lock-symbols-keywords): New variables and
8015 functions to support symbol prettification.
8016 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8017 (lisp--augmented-font-lock-keywords-1)
8018 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8019 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8020 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8021 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8022 Implement prettify of -> => :: strings.
8023 * progmodes/perl-mode.el (perl-prettify-symbols)
8024 (perl--font-lock-compose-symbol)
8025 (perl--font-lock-symbols-keywords): Move to prog-mode.
8026 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8027 (perl-font-lock-keywords-1)
8028 (perl-font-lock-keywords-2): Remove explicit prettify support.
8029 (perl--augmented-font-lock-keywords)
8030 (perl--augmented-font-lock-keywords-1)
8031 (perl--augmented-font-lock-keywords-2, perl-mode):
8032 Implement prettify support.
8034 2013-06-05 Leo Liu <sdl.web@gmail.com>
8036 Re-implement smie matching block highlight using
8037 show-paren-data-function. (Bug#14395)
8038 * emacs-lisp/smie.el (smie-matching-block-highlight)
8039 (smie--highlight-matching-block-overlay)
8040 (smie--highlight-matching-block-lastpos)
8041 (smie-highlight-matching-block)
8042 (smie-highlight-matching-block-mode): Remove.
8043 (smie--matching-block-data-cache): New variable.
8044 (smie--matching-block-data): New function.
8045 (smie-setup): Use smie--matching-block-data for
8046 show-paren-data-function.
8048 * progmodes/octave.el (octave-mode-menu): Fix.
8049 (octave-find-definition): Skip garbage lines.
8051 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8053 Fix compilation error with simultaneous dynamic+lexical scoping.
8054 Add warning when a defvar appears after the first let-binding.
8055 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8056 (byte-compile-close-variables): Initialize it.
8057 (byte-compile--declare-var): New function.
8058 (byte-compile-file-form-defvar)
8059 (byte-compile-file-form-define-abbrev-table)
8060 (byte-compile-file-form-custom-declare-variable): Use it.
8061 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8062 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8063 (byte-compile-bind): Handle dynamic bindings that shadow
8065 (byte-compile-unbind): Make arg non-optional.
8066 (byte-compile-let): Simplify.
8067 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8068 (cconv--analyse-function, cconv-analyse-form): Populate it.
8069 Protect byte-compile-bound-variables to limit the scope of defvars.
8070 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8071 Remove unneeded rule for `declare'.
8073 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8074 so as to avoid depending on cl-adjoin at run-time.
8075 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8077 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8078 (macroexp--warn-and-return): Use it.
8080 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8082 * lisp/subr.el: Convert to lexical binding.
8083 (overriding-local-map): Make obsolete.
8084 (add-to-list): Doc fix. Add compiler macro.
8085 (read-key): Swap values of local maps.
8087 2013-06-05 Leo Liu <sdl.web@gmail.com>
8089 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8091 2013-06-04 Leo Liu <sdl.web@gmail.com>
8093 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8094 (compilation-auto-jump): Suppress the "Mark set" message to give
8095 way to exit message.
8097 2013-06-04 Alan Mackenzie <acm@muc.de>
8099 Remove faulty optimisation from indentation calculation.
8100 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8101 search limit based on 2000 characters back from indent-point.
8103 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8105 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8107 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8109 * emacs-lisp/lisp.el: Use lexical-binding.
8110 (lisp--local-variables-1, lisp--local-variables): New functions.
8111 (lisp--local-variables-completion-table): New var.
8112 (lisp-completion-at-point): Use it complete let-bound vars.
8114 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8115 eagerly (bug#14422).
8117 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8119 * autorevert.el (auto-revert-notify-enabled)
8120 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8121 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8122 (auto-revert-notify-handler): Handle also gfilenotify.
8124 * subr.el (file-notify-handle-event): New defun. Replacing ...
8125 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8128 2013-06-03 Juri Linkov <juri@jurta.org>
8130 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8131 `M-s h .'. (Bug#14427)
8133 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8134 command `hi-lock-face-symbol-at-point'.
8135 (hi-lock-face-symbol-at-point): New command.
8136 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8137 (hi-lock-menu): Add `highlight-symbol-at-point'.
8138 (hi-lock-mode): Doc fix.
8140 * isearch.el (isearch-forward-symbol-at-point): New command.
8141 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8142 (isearch-highlight-regexp): Add a regexp which matches
8143 words/symbols for word/symbol mode.
8145 * subr.el (find-tag-default-bounds): New function with the body
8146 mostly moved from `find-tag-default'.
8147 (find-tag-default): Move most code to `find-tag-default-bounds',
8148 call it and apply `buffer-substring-no-properties' afterwards.
8150 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8152 * eshell/em-term.el (eshell-term-initialize):
8153 Use `cl-intersection' rather than `intersection'.
8155 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8157 * vc/log-view.el: Doc fix.
8158 (log-view-mode-map): Copy keymap from `special-mode-map'.
8160 2013-06-02 Eric Ludlam <zappo@gnu.org>
8162 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8163 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8164 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8165 (eieio-unbound, eieio-default-superclass)
8166 (eieio--define-field-accessors, method-static, method-before)
8167 (method-primary, method-after, method-num-lists)
8168 (method-generic-before, method-generic-primary)
8169 (method-generic-after, method-num-slots)
8170 (eieio-specialized-key-to-generic-key)
8171 (eieio--check-type, class-v, class-p)
8172 (eieio-class-name, define-obsolete-function-alias)
8173 (eieio-class-parents-fast, eieio-class-children-fast)
8174 (same-class-fast-p, class-constructor, generic-p)
8175 (generic-primary-only-p, generic-primary-only-one-p)
8176 (class-option-assoc, class-option, eieio-object-p)
8177 (class-abstract-p, class-method-invocation-order)
8178 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8179 (eieio-class-un-autoload, eieio-defclass)
8180 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8181 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8182 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8183 (eieio-defgeneric-reset-generic-form)
8184 (eieio-defgeneric-form-primary-only)
8185 (eieio-defgeneric-reset-generic-form-primary-only)
8186 (eieio-defgeneric-form-primary-only-one)
8187 (eieio-defgeneric-reset-generic-form-primary-only-one)
8188 (eieio-unbind-method-implementations)
8189 (eieio--defmethod, eieio--typep)
8190 (eieio-perform-slot-validation, eieio-validate-slot-value)
8191 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8192 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8193 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8194 (eieio-slot-name-index, eieio-class-slot-name-index)
8195 (eieio-set-defaults, eieio-initarg-to-attribute)
8196 (eieio-attribute-to-initarg, eieio-c3-candidate)
8197 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8198 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8199 (eieio-class-precedence-list, eieio-generic-call-methodname)
8200 (eieio-generic-call-arglst, eieio-generic-call-key)
8201 (eieio-generic-call-next-method-list)
8202 (eieio-pre-method-execution-functions, eieio-generic-call)
8203 (eieio-generic-call-primary-only, eieiomt-method-list)
8204 (eieiomt-optimizing-obarray, eieiomt-install)
8205 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8206 (eieio-generic-form, eieio-defmethod, make-obsolete)
8207 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8208 (defclass): Remove `eval-and-compile' from macro.
8209 (call-next-method, shared-initialize): Instead of using
8210 `scoped-class' variable, use new eieio--scoped-class, and
8211 eieio--with-scoped-class.
8212 (initialize-instance): Rename local variable 'scoped-class' to
8213 'this-class' to remove ambiguitity from old global.
8215 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8217 (eieio--scoped-class-stack): New variable.
8218 (eieio--scoped-class): New fcn.
8219 (eieio--with-scoped-class): New scoping macro.
8220 (eieio-defclass): Use pushnew instead of add-to-list.
8221 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8222 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8223 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8224 `scoped-class' variable, use new eieio--scoped-class, and
8225 eieio--with-scoped-class.
8227 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8229 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8231 * eshell/esh-ext.el (eshell-external-command): Pass args to
8232 `eshell-find-interpreter'.
8233 (eshell-find-interpreter): Add new second parameter ARGS.
8235 * eshell/em-script.el (eshell-script-initialize): Add second arg
8236 to the function added as MATCH to `eshell-interpreter-alist'.
8238 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8239 the function added as MATCH to `eshell-interpreter-alist'.
8241 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8242 (eshell-visual-options): New defcustom.
8243 (eshell-escape-control-x): Adapt docstring.
8244 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8245 `eshell-visual-options' in addition to `eshell-visual-commands'.
8246 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8248 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8250 * progmodes/python.el (python-indent-block-enders): Add break,
8251 continue and raise keywords.
8253 2013-06-01 Glenn Morris <rgm@gnu.org>
8255 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8257 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8258 * progmodes/cc-cmds.el (delete-forward-p):
8259 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8260 * progmodes/cc-engine.el (buffer-syntactic-context):
8261 * progmodes/cc-fonts.el (face-property-instance):
8262 * progmodes/cc-mode.el (set-keymap-parents):
8263 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8264 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8265 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8266 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8267 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8269 * progmodes/cc-vars.el (other): Emacs has this widget since
8270 at least 21.1, so don't (re)define it.
8272 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8273 Replace the obsolete alias pcomplete-arg-quote-list.
8275 2013-06-01 Leo Liu <sdl.web@gmail.com>
8277 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8279 (inferior-octave-minimal-columns)
8280 (inferior-octave-last-column-width): New variables.
8281 (inferior-octave-track-window-width-change): New function.
8282 (inferior-octave-mode): Adjust column width so that Octave output,
8283 for example from 'ls', can fit into the window nicely.
8285 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8287 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8288 Highlight expansions inside regexp literals.
8290 2013-05-31 Glenn Morris <rgm@gnu.org>
8292 * obsolete/sym-comp.el (symbol-complete):
8293 Replace obsolete completion-annotate-function.
8295 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8297 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8299 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8300 New function, checks if point is inside a literal that allows
8301 expression expansion.
8302 (ruby-syntax-propertize-expansion): Use it.
8303 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8306 2013-05-30 Juri Linkov <juri@jurta.org>
8308 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8310 (isearch-invisible): New variable.
8311 (isearch-forward): Doc fix.
8312 (isearch-mode): Set `isearch-invisible'
8313 to the value of `search-invisible'.
8314 (isearch-toggle-case-fold): Doc fix.
8315 (isearch-toggle-invisible): New command.
8316 (isearch-query-replace): Let-bind `search-invisible'
8317 to the value of `isearch-invisible'.
8318 (isearch-search): Use `isearch-invisible' instead of
8319 `search-invisible'. Let-bind `search-invisible'
8320 to the value of `isearch-invisible'. (Bug#11378)
8322 2013-05-30 Juri Linkov <juri@jurta.org>
8324 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8325 call when `query-flag' is nil and `search-invisible' is non-nil.
8328 2013-05-30 Glenn Morris <rgm@gnu.org>
8330 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8332 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8333 (cc-require): Suppress spurious "noruntime" warnings.
8334 (cc-require-when-compile): Use fboundp, for sake of compiler.
8336 * progmodes/cc-mode.el: Move load of cc-vars before that of
8337 cc-langs (which in turn loads cc-vars), to quieten compiler.
8339 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8341 * paren.el: Simplify the code.
8342 (show-paren-mode): Always start the timer.
8343 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8344 (show-paren--overlay, show-paren--overlay-1): Rename from
8345 show-paren-overlay and show-paren-overlay-1, and initialize to an
8346 overlay rather than to nil.
8347 (show-paren-function): Misc cleanup and simplifications.
8349 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8351 * paren.el (show-paren-data-function): New hook.
8352 (show-paren--default): New function, extracted from show-paren-function.
8353 (show-paren-function): Use show-paren-data-function.
8355 2013-05-30 Glenn Morris <rgm@gnu.org>
8357 * ielm.el (ielm-map, ielm-complete-symbol):
8358 Use completion-at-point rather than obsolete functions.
8359 (inferior-emacs-lisp-mode): Doc fix.
8360 Set completion-at-point-functions, rather than
8361 comint-dynamic-complete-functions.
8363 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8364 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8365 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8367 * image.el (image-animated-p): Tweak definition.
8369 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8370 (rlogin-process-connection-type): Tweak default. Add set-after.
8371 (rlogin-host): Doc fix.
8372 (rlogin): Tweak prompt.
8373 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8375 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8376 * progmodes/tcl.el (inferior-tcl-mode-map):
8377 Use completion-at-point rather than obsolete alias.
8379 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8381 * minibuffer.el (read-file-name-completion-ignore-case):
8382 Move before completion--in-region, for eager macro expansion.
8384 2013-05-29 Juri Linkov <juri@jurta.org>
8386 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8387 for total count of matching lines. Add `global-matches' for total
8388 count of matches. Rename `matches' to `lines' for count of
8389 matching lines. Add `matches' for count of matches.
8390 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8391 to `prev-line' for line number of prev match endpt.
8392 Increment `matches' for every match. Print the number of
8393 matching lines in the header.
8394 (occur-context-lines): Rename `lines' to `curr-line'.
8395 Rename `prev-lines' to `prev-line'. (Bug#14017)
8397 2013-05-29 Juri Linkov <juri@jurta.org>
8399 * replace.el (perform-replace): Add `skip-read-only-count',
8400 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8401 Increment them for corresponding conditions and report the number
8402 of skipped occurrences in the final message. (Bug#11746)
8403 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8404 (replace-string, replace-regexp): Doc fix.
8406 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8408 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8410 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8411 prog-mode-map (bug#14504).
8413 2013-05-29 Leo Liu <sdl.web@gmail.com>
8415 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8416 (octave-help): Small simplification.
8418 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8419 off the highlight first.
8421 2013-05-29 Glenn Morris <rgm@gnu.org>
8423 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8424 Handle idlwave-last-system-routine-info-cons-cell being nil.
8426 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8427 (idlwave-write-paths): Simplify via with-temp-buffer.
8429 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8430 * emulation/cua-rect.el: Also load cua-base at run time.
8432 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8433 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8434 (cperl-imenu-on-info): Require imenu.
8436 2013-05-28 Alan Mackenzie <acm@muc.de>
8438 Handle "capitalised keywords" correctly.
8439 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8441 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8443 * eshell/em-unix.el: Add -r option to cp.
8445 2013-05-28 Glenn Morris <rgm@gnu.org>
8447 * vc/vc-arch.el (vc-exec-after): Declare.
8448 (vc-switches): Autoload.
8449 * vc/vc-bzr.el: No need to require vc when compiling.
8450 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8451 (vc-resynch-buffer, vc-dir-refresh): Declare.
8452 (vc-setup-buffer, vc-switches): Autoload.
8453 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8454 (vc-resynch-buffer): Declare.
8455 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8456 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8457 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8458 (grep-read-regexp, grep-read-files, grep-expand-template)
8459 (vc-dir-refresh): Declare.
8460 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8461 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8462 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8463 * vc/vc-mtn.el (vc-exec-after): Declare.
8464 (vc-switches): Autoload.
8465 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8466 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8467 (vc-file-tree-walk): Declare.
8468 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8469 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8470 (vc-tag-precondition, vc-rename-master): Autoload.
8471 * vc/vc-svn.el (vc-exec-after): Declare.
8472 (vc-switches, vc-setup-buffer): Autoload.
8473 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8475 (vc-resynch-buffer): Declare.
8477 * obsolete/fast-lock.el (byte-compile-warnings):
8478 Don't warn about obsolete features in this obsolete file.
8480 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8481 Move definition before use.
8483 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8484 (dun-unix-verbs): Remove dun-zippy.
8485 (dun-zippy): Remove function.
8487 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8489 2013-05-27 Juri Linkov <juri@jurta.org>
8491 * replace.el (replace-search): New function with code moved out
8492 from `perform-replace'.
8493 (replace-highlight, replace-dehighlight): Move function definitions
8494 up closer to `replace-search'. (Bug#11746)
8496 2013-05-27 Juri Linkov <juri@jurta.org>
8498 * replace.el (perform-replace): Ignore invisible matches.
8499 In addition to checking `query-replace-skip-read-only', also
8500 filter out matches by calling `run-hook-with-args-until-failure'
8501 on `isearch-filter-predicates', and also check `search-invisible'
8502 for t or call `isearch-range-invisible'.
8503 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8505 2013-05-27 Juri Linkov <juri@jurta.org>
8507 * isearch.el (isearch-filter-predicates): Rename from
8508 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8509 (isearch-message-prefix): Display text from the property
8510 `isearch-message-prefix' of the currently active filters.
8511 (isearch-search): Don't compare `isearch-filter-predicate' with
8512 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8513 on `isearch-filter-predicates'. Also check `search-invisible' for t
8514 or call `isearch-range-invisible'.
8515 (isearch-filter-visible): Make obsolete.
8516 (isearch-lazy-highlight-search):
8517 Call `run-hook-with-args-until-failure' on
8518 `isearch-filter-predicates' and use `isearch-range-invisible'.
8520 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8521 `isearch-filter-predicates' instead of `funcall'ing
8522 `isearch-filter-predicate'.
8523 (Info-mode): Set `Info-isearch-filter' to
8524 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8526 * dired-aux.el (dired-isearch-filter-predicate-orig):
8528 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8529 (dired-isearch-filenames-end): Add and remove
8530 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8531 instead of changing the value of `isearch-filter-predicate'.
8532 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8533 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8534 Put property `isearch-message-prefix' to "filename " on
8535 `dired-isearch-filter-filenames'.
8537 * wdired.el (wdired-change-to-wdired-mode):
8538 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8539 locally instead of changing `isearch-filter-predicate'.
8540 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8542 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8544 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8545 return the commit hash (Bug#14459). Also set the
8546 `vc-git-detached' property.
8547 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8548 (vc-git-mode-line-string): Use the same help-echo format whether
8549 in detached mode or not, because we know the actual revision now.
8550 When in detached mode, shorten the revision to 7 chars.
8552 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8554 * emacs-lisp/easy-mmode.el (define-minor-mode):
8555 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8556 mode hook and provide a docstring.
8558 2013-05-27 Alan Mackenzie <acm@muc.de>
8560 Remove spurious syntax-table text properties inserted by C-y.
8561 * progmodes/cc-mode.el (c-after-change): Also clear hard
8562 syntax-table property with value nil.
8564 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8566 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8567 when reading the events; the buffer layout shall not be changed.
8569 2013-05-27 Leo Liu <sdl.web@gmail.com>
8571 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8573 (inferior-octave-directory-tracker): Automatically re-sync
8575 (octave-help): Improve handling of 'See also'.
8577 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8579 * doc-view.el: Minor naming convention tweaks.
8580 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8582 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8583 even if there's no `display' property yet (bug#14435).
8585 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8587 * subr.el (unmsys--file-name): Rename from reveal-filename.
8589 * Makefile.in (custom-deps, finder-data, autoloads)
8590 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8591 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8592 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8594 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8596 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8597 error-completion on the first 2 args of condition-case (bug#14446).
8600 2013-05-25 Leo Liu <sdl.web@gmail.com>
8602 * comint.el (comint-previous-matching-input): Do not flood the
8603 *Messages* buffer with trivial messages.
8605 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8607 * progmodes/flymake.el (flymake-nop): Don't return a string.
8608 (flymake-set-at): Fix typo.
8610 * simple.el (read--expression): New function, extracted from
8611 eval-expression. Set completion-at-point-functions (bug#14465).
8612 (eval-expression, eval-minibuffer): Use it.
8614 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8616 * progmodes/flymake.el (flymake-save-buffer-in-file)
8617 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8618 (flymake-selected-frame, flymake-log, flymake-ins-after)
8619 (flymake-set-at, flymake-get-buildfile-from-cache)
8620 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8621 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8622 Refine the doc string.
8623 (flymake-get-file-name-mode-and-masks): Reformat.
8624 (flymake-get-real-file-name-function): Fix a minor bug.
8626 2013-05-24 Juri Linkov <juri@jurta.org>
8628 * progmodes/grep.el (grep-mode-font-lock-keywords):
8629 Support =linenumber= format used by git-grep for lines with
8630 function names. (Bug#13549)
8632 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8634 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8635 0 after a semi-colon; it works better for smie-auto-fill.
8636 (octave--indent-new-comment-line): New function.
8637 (octave-indent-new-comment-line): Use it (indirectly).
8638 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8639 modify comment-line-break-function.
8641 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8642 (smie-setup): Use add-function to set it.
8644 2013-05-24 Sam Steingold <sds@gnu.org>
8646 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8647 argument (before the `interactive' argument).
8649 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8651 * image-mode.el (image-mode-winprops): Add winprops to
8652 image-mode-winprops-alist before running
8653 image-mode-new-window-functions.
8654 * doc-view.el (doc-view-new-window-function): Don't delay
8655 doc-view-goto-page via timers (bug#14435).
8657 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8659 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8660 (doc-view-desktop-save-buffer): New function.
8661 (doc-view-restore-desktop-buffer): New function.
8662 (desktop-buffer-mode-handlers):
8663 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8665 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8666 `desktop-save-buffer' function.
8668 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8670 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8671 (tramp-gvfs-file-name-handler): Raise a user error when
8672 `tramp-gvfs-enabled' is nil.
8673 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8674 Do not raise a user error when loading package. (Bug#14447)
8676 * net/xesam.el: Move to obsolete/.
8678 2013-05-24 Glenn Morris <rgm@gnu.org>
8680 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8682 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8684 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8685 (Info-find-node, Man-getpage-in-background): Declare.
8687 * mail/unrmail.el (unrmail):
8688 Replace obsolete detect-coding-with-priority.
8690 * net/socks.el (socks-split-string): Use this rather than split-string.
8691 (socks-nslookup-host): Update for above change.
8692 (dynamic-choice, s5-dynamic-choice-match)
8693 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8694 Comment out unused code.
8696 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8697 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8698 (gud-tooltip-echo-area): Make obsolete.
8699 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8701 * progmodes/js.el (js--optimize-arglist): Declare.
8703 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8705 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8706 (ediff-window-C): Declare.
8708 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8709 Tweak requires to silence compiler.
8711 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8712 (he-search-string, he-tried-table, he-expand-list)
8713 (he-init-string, he-string-member, he-substitute-string)
8714 (he-reset-string): Declare.
8716 * obsolete/options.el (list-options): Use custom-variable-p,
8717 rather than obsolete alias.
8719 2013-05-23 Sam Steingold <sds@gnu.org>
8721 * simple.el (shell-command-on-region): Pass the `replace' argument
8722 down to `call-process-region' to comply with the doc as reported on
8723 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8725 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8727 * emacs-lisp/smie.el (smie-indent-forward-token)
8728 (smie-indent-backward-token): Handle string tokens (bug#14381).
8730 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8732 * ielm.el (ielm-menu): New menu.
8733 (inferior-emacs-lisp-mode): Set comment-start.
8735 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8737 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8738 Fix deactivate action.
8740 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8741 Add cleveref macros.
8743 * lisp/textmodes/reftex-parse.el
8744 (reftex-locate-bibliography-files): Accept options for
8745 bibliography commands.
8746 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8747 Add addbibresource. Basic Biblatex support.
8749 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8751 * net/tramp-gvfs.el (top):
8752 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8753 when loading package. (Bug#14447)
8755 2013-05-23 Glenn Morris <rgm@gnu.org>
8757 * progmodes/js.el: No need to load comint when compiling.
8758 (ring-insert, comint-send-string, comint-send-input)
8759 (comint-last-input-end, ido-chop): Declare.
8761 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8762 * vc/ediff-mult.el: Adjust requires.
8763 (ediff-directories-internal, ediff-directory-revisions-internal)
8764 (ediff-patch-file-internal): Declare.
8765 * vc/ediff-ptch.el: Adjust requires.
8766 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8767 (ediff-find-file): Autoload.
8768 * vc/ediff-util.el: No need to load ediff when compiling.
8769 (ediff-regions-internal): Declare.
8770 * vc/ediff-wind.el: Adjust requires.
8771 (ediff-compute-toolbar-width): Define when compiling.
8772 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8773 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8774 (dired-get-filename, dired-get-marked-files)
8775 (ediff-last-dir-patch, ediff-patch-default-directory)
8776 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8777 (ediff-patch-buffer-internal): Declare.
8779 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8780 (ispell-process, ispell-buffer-local-words, lm-summary)
8781 (lm-section-start, lm-section-end): Declare.
8782 (checkdoc-ispell-init): Simplify.
8784 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8785 (he-string-member, he-reset-string, he-substitute-string): Declare.
8787 * eshell/em-ls.el: Adjust requires.
8788 (eshell-glob-regexp): Declare.
8789 * eshell/em-tramp.el: Adjust requires.
8790 (eshell-parse-command): Autoload.
8791 * eshell/em-xtra.el: Adjust requires.
8792 (eshell-parse-command): Autoload.
8793 * eshell/esh-ext.el: Adjust requires.
8794 (eshell-parse-command, eshell-close-handles): Autoload.
8795 * eshell/esh-io.el: Adjust requires.
8796 (eshell-output-filter): Autoload.
8797 * eshell/esh-util.el: No need to load tramp when compiling.
8798 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8800 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8801 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8802 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8803 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8804 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8805 * eshell/esh-opt.el, eshell/esh-proc.el:
8806 * eshell/esh-var.el: Adjust requires.
8807 * eshell/eshell.el: Do not require esh-util twice.
8808 (eshell-add-input-to-history): Declare.
8809 (eshell-command): Check history module is active before using it.
8811 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8813 2013-05-22 Leo Liu <sdl.web@gmail.com>
8815 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8817 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8819 * autorevert.el (auto-revert-notify-add-watch)
8820 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8821 it indicates changes in file modification time.
8823 2013-05-22 Glenn Morris <rgm@gnu.org>
8825 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8826 Always delete the autoloaded function from the noruntime and
8827 unresolved functions lists.
8829 * allout.el: No need to load epa, epg, overlay when compiling.
8830 (epg-context-set-passphrase-callback, epg-list-keys)
8831 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8832 (epg-key-user-id-list): Declare.
8834 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8835 (viper-set-parsing-style-toggling-macro)
8836 (viper-set-emacs-state-searchstyle-macros):
8837 Use called-interactively-p on Emacs.
8838 (viper-looking-back): Make it an obsolete alias. Update callers.
8839 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8840 Use looking-back rather than viper-looking-back.
8841 (viper-tmp-insert-at-eob, viper-enlarge-region)
8842 (viper-read-string-with-history, viper-register-to-point)
8843 (viper-append-to-register, viper-change-state-to-vi)
8844 (viper-backward-char-carefully, viper-forward-char-carefully)
8845 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8846 (viper-change-state-to-emacs): Declare.
8847 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8848 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8849 * emulation/viper-mous.el: Do not load viper-cmd.
8850 (viper-backward-char-carefully, viper-forward-char-carefully)
8851 (viper-forward-word, viper-adjust-window): Declare.
8853 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8855 * progmodes/idlw-help.el (idlwave-help-fontify):
8856 Use called-interactively-p.
8858 * term/w32console.el (w32-get-console-codepage)
8859 (w32-get-console-output-codepage): Declare.
8861 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8862 Remove unnecessary declarations.
8863 (dframe-message): Doc fix.
8865 * info.el (dframe-select-attached-frame, dframe-current-frame):
8868 * speedbar.el (speedbar-message): Make it an obsolete alias.
8870 (speedbar-with-attached-buffer)
8871 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8872 (speedbar-with-writable): Use backquote.
8873 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8874 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8875 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8876 rather than speedbar- aliases.
8877 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8878 (speedbar-make-specialized-keymap, speedbar-insert-button)
8879 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8880 (speedbar-do-function-pointer): Declare.
8881 (rmail-speedbar-button, rmail-speedbar-find-file)
8882 (rmail-speedbar-move-message):
8883 Use dframe-with-attached-buffer rather than speedbar- alias.
8884 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8885 (dframe-message, speedbar-make-specialized-keymap)
8886 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8887 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8888 (speedbar-insert-button, dframe-select-attached-frame)
8889 (dframe-maybee-jump-to-attached-frame)
8890 (speedbar-change-initial-expansion-list)
8891 (speedbar-previously-used-expansion-list-name): Declare.
8892 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8893 Use dframe-message, dframe-with-attached-buffer rather than
8895 (gud-sentinel): Silence compiler.
8896 * progmodes/vhdl-mode.el (speedbar-refresh)
8897 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8898 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8899 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8900 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8901 (speedbar-file-lists, speedbar-make-tag-line)
8902 (speedbar-line-directory, speedbar-goto-this-file)
8903 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8904 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8905 (speedbar-make-button, speedbar-reset-scanners)
8906 (speedbar-files-item-info, speedbar-line-text)
8907 (speedbar-find-file-in-frame, speedbar-set-timer)
8908 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8909 (speedbar-with-writable): Do not (re)define it.
8910 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8911 rather than speedbar- alias.
8913 2013-05-21 Leo Liu <sdl.web@gmail.com>
8915 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8917 (octave-mode): Tweak fill-nobreak-predicate.
8918 (inferior-octave-startup): Check process to avoid infinite loop.
8919 (inferior-octave): Pop to buffer first to show abornmal process
8922 2013-05-21 Glenn Morris <rgm@gnu.org>
8924 * printing.el (pr-menu-bar): Define when compiling.
8926 2013-05-21 Leo Liu <sdl.web@gmail.com>
8928 * progmodes/octave.el (octave-auto-fill): Remove.
8929 (octave-indent-new-comment-line): Improve.
8930 (octave-mode): Use auto fill mode through
8931 comment-line-break-function and fill-nobreak-predicate.
8932 (octave-goto-function-definition): Support DEFUN_DLD.
8933 (octave-beginning-of-defun): Small tweak.
8934 (octave-help): Show parent directory.
8936 2013-05-21 Glenn Morris <rgm@gnu.org>
8938 * files.el (dired-unmark):
8939 * progmodes/gud.el (gdb-input): Update declarations.
8941 * calculator.el (electric, ehelp): No need to load when compiling.
8942 (Electric-command-loop, electric-describe-mode): Declare.
8944 * doc-view.el (doc-view-current-converter-processes): Move before use.
8946 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8947 Move MODE-set-explicitly definition before use.
8949 * international/mule-diag.el (mule-diag):
8950 Don't use obsolete window-system-version.
8952 * mail/feedmail.el (smtpmail): No need to load when compiling.
8953 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
8955 * mail/mail-utils.el (rfc822): No need to load when compiling.
8956 (rfc822-addresses): Autoload it.
8957 (mail-strip-quoted-names): Trivial simplification.
8959 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
8960 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
8962 * net/snmp-mode.el (tempo): Don't duplicate requires.
8964 * progmodes/prolog.el (info): No need to load when compiling.
8965 (comint): Require before shell requires it.
8966 (Info-goto-node): Autoload it.
8967 (Info-follow-nearest-node): Declare.
8968 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
8970 * textmodes/artist.el (picture-mode-exit): Declare.
8972 * textmodes/reftex-parse.el (reftex-parse-from-file):
8973 Trivial rewrite so the compiler can parse it better.
8975 2013-05-20 Leo Liu <sdl.web@gmail.com>
8977 * progmodes/octave.el (octave-help-mode-map)
8978 (octave-help-mode-finish-hook): New variables.
8979 (octave-help-mode, octave-help-mode-finish): New functions.
8980 (octave-help): Use octave-help-mode.
8982 2013-05-20 Glenn Morris <rgm@gnu.org>
8984 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
8986 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
8988 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
8989 start at point, so that expansion starting right after opening
8990 slash in a regexp is recognized.
8991 (ruby-syntax-before-regexp-re): New defvar, extracted from
8992 ruby-syntax-propertize-function. Since the value of this regexp
8993 is looked up at runtime now, we should be able to turn
8994 `ruby-syntax-methods-before-regexp' into a defcustom later.
8995 (ruby-syntax-propertize-function): Split regexp matching into two
8996 parts, for opening and closing slashes. That allows us to skip
8997 over string interpolations and support multiline regexps.
8998 Don't call `ruby-syntax-propertize-expansions', instead use another rule
8999 for them, which calls `ruby-syntax-propertize-expansion'.
9000 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9001 call to `ruby-syntax-propertize-function'.
9002 (ruby-syntax-propertize-expansion): Extracted from
9003 `ruby-syntax-propertize-expansions'. Handles one expansion.
9004 (ruby-syntax-propertize-percent-literal): Leave point right after
9005 the percent symbol, so that the expression expansion rule can
9006 propertize the contents.
9007 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9009 (ruby-syntax-propertize-expansions): Remove.
9011 2013-05-18 Juri Linkov <juri@jurta.org>
9013 * man.el (Man-default-man-entry): Remove `-' from the end
9014 of the default value. (Bug#14400)
9016 2013-05-18 Glenn Morris <rgm@gnu.org>
9018 * comint.el (comint-password-prompt-regexp):
9019 Allow "password for XXX" where XXX contains colons (eg https://...).
9021 2013-05-18 Leo Liu <sdl.web@gmail.com>
9023 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9024 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9025 (octave-source-directories): Don't check process.
9026 (octave-source-directories, octave-find-definition): Doc fix.
9028 2013-05-18 Glenn Morris <rgm@gnu.org>
9030 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9031 Remove backspace/delete bindings. (Bug#14392)
9033 * cus-dep.el (custom-make-dependencies): Sort the output.
9034 (custom-versions-load-alist): Convert comment to doc.
9036 2013-05-17 Leo Liu <sdl.web@gmail.com>
9038 * newcomment.el (comment-search-backward): Stricter in finding
9039 comment start. (Bug#14303)
9041 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9042 (octave-comment-start-skip): Properly anchored.
9044 2013-05-17 Leo Liu <sdl.web@gmail.com>
9046 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9047 Clean up when turned off. (Bug#14395)
9048 (smie--highlight-matching-block-overlay): No longer buffer-local.
9049 (smie-highlight-matching-block): Adjust.
9051 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9053 Doc string fix for "nanoseconds" (Bug#14406).
9054 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9055 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9057 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9059 * calc/calc-units.el (math-extract-units): Preserve powers
9062 2013-05-17 Leo Liu <sdl.web@gmail.com>
9064 * subr.el (delete-consecutive-dups): New function.
9065 * ido.el (ido-set-matches-1): Use it.
9066 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9067 * ido.el (ido-remove-consecutive-dups): Remove.
9069 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9071 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9072 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9073 regexp-opt's `words'.
9075 2013-05-16 Leo Liu <sdl.web@gmail.com>
9077 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9078 (smie--highlight-matching-block-overlay)
9079 (smie--highlight-matching-block-lastpos)
9080 (smie--highlight-matching-block-timer): New variables.
9081 (smie-highlight-matching-block): New function.
9082 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9083 (smie-setup): Conditionally enable smie-blink-matching-open.
9085 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9087 Sync with upstream verilog-mode r840.
9088 * progmodes/verilog-mode.el (verilog-mode-version)
9089 (verilog-mode-release-date): Update.
9090 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9091 (verilog-sig-tieoff): Fix string error on
9092 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9093 (verilog-read-decls): Fix parameters confusing
9094 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9096 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9098 * subr.el (reveal-filename): New function.
9100 * loadup.el: Compute Emacs executable versions on MS-Windows,
9101 where executables have the .exe extension. Add a hard link
9102 emacs-XX.YY.ZZ.exe on MS-Windows.
9104 * Makefile.in (XARGS_LIMIT): New variable.
9105 (custom-deps, finder-data, autoloads)
9106 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9107 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9108 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9109 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9111 2013-05-16 Leo Liu <sdl.web@gmail.com>
9113 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9114 (octave-mode-menu, octave-mode-map): Remove its uses.
9116 2013-05-16 Reto Zimmermann <reto@gnu.org>
9118 Sync with upstream vhdl mode v3.34.2.
9119 * progmodes/vhdl-mode.el: Use `push' throughout.
9120 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9121 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9122 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9123 (vhdl-actual-generic-name): New option to derive actual generic name.
9124 (vhdl-port-paste-signals): Replace formal by actual generics.
9125 (vhdl-beautify): New name for old group vhdl-align. Update users.
9126 (vhdl-beautify-options): New option.
9127 (vhdl-last-input-event): New compat alias. Use throughout.
9128 (vhdl-goto-line): Replace user level function `goto-line'.
9129 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9130 vhdl-fix-statement-buffer.
9131 (vhdl-create-mode-menu): Add some entries.
9132 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9133 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9134 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9135 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9136 to force statements on one line.
9137 (vhdl-remove-trailing-spaces-region):
9138 New, split from vhdl-remove-trailing-spaces.
9139 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9140 Respect vhdl-beautify-options.
9141 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9142 (vhdl-update-sensitivity-list): Not add with index if exists without.
9143 Not include array index with signal. Ignore keywords in comments.
9144 (vhdl-get-visible-signals): Regexp tweaks.
9145 (vhdl-template-component-inst): Handle empty library.
9146 (vhdl-template-type): Add template for 'enum' type.
9147 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9148 Use vhdl-replace-string.
9149 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9150 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9151 (vhdl-speedbar-initialize): Update for above name change.
9152 (vhdl-compose-wire-components): Fix in handling of constants.
9153 (vhdl-error-regexp-emacs-alist): New variable.
9154 (vhdl-error-regexp-add-emacs): New function;
9155 adds support for new compile.el (Emacs 22+)
9156 (vhdl-generate-makefile-1): Change target order for single lib. units.
9157 Allow use of absolute file names.
9159 2013-05-16 Leo Liu <sdl.web@gmail.com>
9161 * simple.el (prog-indent-sexp): Indent enclosing defun.
9163 2013-05-15 Glenn Morris <rgm@gnu.org>
9165 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9166 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9167 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9168 (whitespace-highlight): Move to whitespace group.
9170 * comint.el (comint-source):
9171 * pcmpl-linux.el (pcmpl-linux):
9172 * shell.el (shell-faces):
9173 * eshell/esh-opt.el (eshell-opt):
9174 * international/ccl.el (ccl): Remove empty custom groups.
9176 * completion.el (dynamic-completion-mode):
9177 * jit-lock.el (jit-lock-debug-mode):
9178 * minibuffer.el (completion-in-region-mode):
9179 * type-break.el (type-break-mode-line-message-mode)
9180 (type-break-query-mode):
9181 * emulation/tpu-edt.el (tpu-edt-mode):
9182 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9183 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9184 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9186 * term/xterm.el (xterm): Change parent group to terminals.
9188 * master.el (master): Remove empty custom group.
9189 (master-mode): Remove unused :group argument.
9190 * textmodes/refill.el (refill): Remove empty custom group.
9191 (refill-mode): Remove unused :group argument.
9193 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9195 * cus-dep.el: Provide a feature.
9196 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9197 Don't mistakenly ignore files whose basenames match a basename
9198 from preloaded-file-list (eg cedet/ede/simple.el).
9199 Add a fallback method for getting :group.
9201 2013-05-15 Juri Linkov <juri@jurta.org>
9203 * isearch.el (isearch-char-by-name): Rename from
9204 `isearch-insert-char-by-name'. Doc fix.
9205 (isearch-forward): Mention `isearch-char-by-name' in
9206 the docstring. (Bug#13348)
9208 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9209 `exit-minibuffer' instead of
9210 `isearch-nonincremental-exit-minibuffer'.
9211 (isearch-edit-string): Remove mention of
9212 `isearch-nonincremental-exit-minibuffer' from docstring.
9213 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9214 (isearch-forward-exit-minibuffer)
9215 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9217 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9219 * loadup.el: Just use unversioned DOC.
9221 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9222 literals as extending to EOB.
9223 (nxml-last-fontify-end): Remove unused variable.
9224 (nxml-after-change1): Use with-silent-modifications.
9225 (nxml-extend-after-change-region): Simplify.
9226 (nxml-extend-after-change-region1): Remove function.
9227 (nxml-after-change1): Don't adjust for dependent regions.
9228 (nxml-fontify-matcher): Simplify.
9229 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9230 (xmltok-add-dependent): Remove function.
9231 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9232 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9233 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9234 unclosed <[[, <?, comment, and other literals as extending to EOB.
9235 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9236 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9238 (rng-do-some-validation-1): Don't mark dependent regions.
9239 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9240 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9241 (nxml-clear-dependent-regions): Remove functions.
9242 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9243 (nxml-ensure-scan-up-to-date):
9244 Don't clear&mark dependent regions.
9246 2013-05-15 Leo Liu <sdl.web@gmail.com>
9248 * progmodes/octave.el (octave-goto-function-definition):
9249 Improve and fix callers.
9251 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9253 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9254 the setter (bug#14387).
9256 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9257 surrounding group (bug#14402).
9259 2013-05-14 Juri Linkov <juri@jurta.org>
9261 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9264 2013-05-14 Glenn Morris <rgm@gnu.org>
9266 * progmodes/f90.el (f90-imenu-generic-expression):
9267 Fix typo in 2013-05-08 change. (Bug#14402)
9269 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9271 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9272 Remove signals for which replies are never received.
9274 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9276 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9277 (gdb-handler-alist, gdb-handler-number): Remove variables.
9278 (gdb-handler-list): New variable.
9279 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9280 (gdb-pending-handler-p, gdb-handle-reply)
9281 (gdb-remove-all-pending-triggers): New functions.
9282 (gdb-discard-unordered-replies): New defcustom.
9283 (gdb-handler): New defstruct.
9284 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9285 instead of gdb-pending-triggers. Update docstring.
9286 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9287 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9288 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9289 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9290 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9291 (gdb-frame-handler): Pending triggers are now automatically managed.
9292 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9294 (gdb-input): Automatically handles pending triggers. Update docstring.
9295 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9296 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9298 (gdb-done-or-error): Now use gdb-handle-reply.
9300 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9302 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9305 2013-05-14 Glenn Morris <rgm@gnu.org>
9307 * subr.el (user-emacs-directory-warning): New option.
9308 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9310 2013-05-14 Leo Liu <sdl.web@gmail.com>
9312 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9314 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9315 (octave-font-lock-texinfo-comment): Fix invalid search bound
9316 error: wrong side of point.
9318 2013-05-14 Glenn Morris <rgm@gnu.org>
9320 * progmodes/flymake.el (flymake-xml-program): New option.
9321 (flymake-xml-init): Use it.
9323 * term/xterm.el: Provide a feature.
9325 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9327 2013-05-13 Glenn Morris <rgm@gnu.org>
9329 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9330 Add compat aliases as a hack workaround. (Bug#14384)
9332 2013-05-13 Leo Liu <sdl.web@gmail.com>
9334 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9336 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9338 (octave-comment-start-skip): Include %!.
9339 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9341 2013-05-12 Leo Liu <sdl.web@gmail.com>
9343 * progmodes/octave.el (inferior-octave-startup): Store the value
9344 of __octave_srcdir__ for octave-source-directories.
9345 (inferior-octave-check-process): New function refactored out of
9346 inferior-octave-send-list-and-digest.
9347 (octave-source-directories)
9348 (octave-find-definition-filename-function): New variables.
9349 (octave-source-directories)
9350 (octave-find-definition-default-filename): New functions.
9351 (octave-find-definition): Improve to find functions implemented in C++.
9353 2013-05-12 Glenn Morris <rgm@gnu.org>
9355 * calendar/diary-lib.el (diary-outlook-format-1):
9356 Don't include dayname in the output. (Bug#14349)
9358 2013-05-11 Glenn Morris <rgm@gnu.org>
9360 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9362 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9363 Treat cc-provide like provide.
9365 2013-05-11 Kevin Ryde <user42@zip.com.au>
9367 * cus-dep.el (custom-make-dependencies):
9368 Use generated-autoload-load-name for the sake of files such
9369 such cedet/semantic/bovine/c.el, where the base file name
9370 is not in load-path. (Bug#5277)
9372 2013-05-11 Glenn Morris <rgm@gnu.org>
9374 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9377 2013-05-11 Leo Liu <sdl.web@gmail.com>
9379 * progmodes/octave.el (octave-indent-comment): Improve.
9380 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9381 (octave-eldoc-function-signatures, octave-eldoc-function):
9383 (octave-mode, inferior-octave-mode): Add eldoc support.
9385 2013-05-11 Richard Stallman <rms@gnu.org>
9387 * epa.el (epa-decrypt-file): Take output file name as argument
9388 and read it using `interactive'.
9390 2013-05-11 Leo Liu <sdl.web@gmail.com>
9392 * progmodes/octave.el (octave-beginning-of-line)
9393 (octave-end-of-line): Check before using up-list because it jumps
9394 out of more syntactic contructs since moving to smie.
9395 (octave-indent-comment): New function.
9396 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9397 (octave-begin-keywords, octave-end-keywords)
9398 (octave-reserved-words, octave-smie-bnf-table)
9399 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9401 2013-05-11 Glenn Morris <rgm@gnu.org>
9403 * faces.el (internal-face-x-get-resource):
9404 * frame.el (ns-display-monitor-attributes-list):
9405 * calc/calc-aent.el (math-to-radians-2):
9406 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9409 * calc/calc-menu.el: Make it loadable in isolation.
9411 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9412 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9413 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9414 (eudc-bbdb-query-internal): Require 'bbdb.
9416 * lpr.el (lpr-headers-switches):
9417 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9419 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9421 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9423 * term.el (term-set-escape-char): Make it idempotent.
9425 2013-05-10 Leo Liu <sdl.web@gmail.com>
9427 * progmodes/octave.el (inferior-octave-completion-table):
9428 No longer a function and all uses changed. Use cache to speed up
9429 completion due to bug#11906.
9430 (octave-beginning-of-defun): Re-write to be more general.
9432 2013-05-10 Glenn Morris <rgm@gnu.org>
9434 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9436 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9438 * comint.el (comint-redirect-send-command-to-process): Use :around
9439 rather than :override for comint-redirect-filter.
9440 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9441 Call it instead of comint-redirect-original-filter-function (which
9442 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9444 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9446 * frame.el (display-monitor-attributes-list): Add NS case.
9447 (ns-display-monitor-attributes-list): Declare.
9449 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9451 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9453 2013-05-09 Glenn Morris <rgm@gnu.org>
9455 * international/fontset.el (vertical-centering-font-regexp):
9458 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9460 * bookmark.el (bookmark-search-delay):
9461 * cus-start.el (vertical-centering-font-regexp):
9462 * ps-mule.el (ps-mule-font-info-database-default):
9463 * ps-print.el (ps-default-fg, ps-default-bg):
9464 * type-break.el (type-break-good-break-interval):
9465 * whitespace.el (whitespace-indentation-regexp)
9466 (whitespace-space-after-tab-regexp):
9467 * emacs-lisp/testcover.el (testcover-1value-functions)
9468 (testcover-noreturn-functions, testcover-progn-functions)
9469 (testcover-prog1-functions):
9470 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9471 * eshell/em-glob.el (eshell-glob-translate-alist):
9472 * play/tetris.el (tetris-tty-colors):
9473 * progmodes/cpp.el (cpp-face-default-list):
9474 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9475 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9476 (idlwave-help-browser-generic-args):
9477 * progmodes/make-mode.el (makefile-special-targets-list):
9478 * progmodes/python.el (python-shell-virtualenv-path):
9479 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9480 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9481 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9482 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9483 * textmodes/reftex-vars.el (reftex-format-label-function):
9484 * textmodes/remember.el (remember-diary-file): Fix custom types.
9486 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9489 2013-05-09 Leo Liu <sdl.web@gmail.com>
9491 * progmodes/octave.el (inferior-octave-completion-at-point):
9492 Restore file completion. (Bug#14300)
9493 (inferior-octave-startup): Fix incorrect highlighting for the
9496 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9498 * progmodes/ruby-mode.el: First cut at SMIE support.
9499 (ruby-use-smie): New var.
9500 (ruby-smie-grammar): New constant.
9501 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9502 (ruby-smie--forward-token, ruby-smie--backward-token)
9503 (ruby-smie-rules): New functions.
9504 (ruby-mode-variables): Setup SMIE if applicable.
9506 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9508 * simple.el (line-move-visual): Signal beginning/end of buffer
9509 only if vertical-motion moved less than it was requested. Avoids
9510 silly incorrect error messages when there are display strings with
9511 multiple newlines at EOL.
9513 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9515 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9516 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9517 (prolog-char-quote-workaround):
9518 * progmodes/cperl-mode.el (cperl-under-as-char):
9519 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9521 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9523 (vhdl-mode-syntax-table-init): Remove.
9525 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9528 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9530 (ld-script-font-lock-keywords):
9531 Change regexps to use things like \_< and \_>.
9533 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9534 Change all regexps to use things like \_< and \_>.
9536 * progmodes/autoconf.el (autoconf-definition-regexp)
9537 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9538 Handle a _ with symbol syntax.
9539 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9541 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9542 Consolidate declaration.
9543 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9545 (ada-create-syntax-table): Remove.
9546 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9547 already has the right syntax nowadays.
9548 (ada-goto-next-word): Don't change the syntax of "_".
9550 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9553 2013-05-08 Sam Steingold <sds@gnu.org>
9555 * thingatpt.el (thing-at-point): Accept optional second argument
9556 NO-PROPERTIES to strip the text properties from the return value.
9557 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9558 to `thing-at-point' instead of stripping the properties ourselves.
9559 Also, when `thing-at-point' fails to find a url, prepend "http://"
9560 to the filename at point on the assumption that the user is
9561 pointing at something like gnu.org/gnu.
9563 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9565 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9566 * faces.el (crm-separator):
9567 Silence byte-compiler.
9569 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9570 (tool-bar-map): Remove unneeded defvars.
9572 2013-05-08 Leo Liu <sdl.web@gmail.com>
9574 Re-work a fix for bug#10994 based on Le Wang's patch.
9575 * ido.el (ido-remove-consecutive-dups): New helper.
9576 (ido-completing-read): Use it.
9577 (ido-chop): Revert fix for bug#10994.
9579 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9581 * cus-edit.el (custom-save-variables):
9582 Pretty-print long values. (Bug#14187)
9584 2013-05-08 Glenn Morris <rgm@gnu.org>
9586 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9587 (m4-mode-syntax-table): Init in the defvar.
9588 (m4-mode-abbrev-table): Let define-derived-mode define it.
9590 2013-05-08 Tom Tromey <tromey@redhat.com>
9592 * progmodes/m4-mode.el (m4-mode-syntax-table):
9593 Do not treat "_" as word constituent. (Bug#14167)
9595 2013-05-07 Glenn Morris <rgm@gnu.org>
9597 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9598 Remove explicit eshell-isearch-cancel-map.
9600 * progmodes/f90.el (f90-smart-end-names): New option.
9601 (f90-smart-end): Doc fix.
9602 (f90-end-block-optional-name): New constant.
9603 (f90-block-match): Respect f90-smart-end-names.
9605 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9607 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9608 about implicit semi-colons (bug#14218).
9610 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9612 * frame.el (display-monitor-attributes-list)
9613 (frame-monitor-attributes): New functions.
9615 2013-05-06 Leo Liu <sdl.web@gmail.com>
9617 * progmodes/octave.el (octave-syntax-propertize-function): Change
9618 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9619 (octave-font-lock-keywords): Use octave-operator-regexp.
9620 (octave-completion-at-point): Rename from
9621 octave-completion-at-point-function.
9622 (inferior-octave-directory-tracker): Robustify.
9623 (octave-text-functions): Remove and fix its uses. No such things
9626 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9628 * emacs-lisp/trace.el (trace--display-buffer): New function.
9629 (trace-make-advice): Use it.
9631 2013-05-06 Juri Linkov <juri@jurta.org>
9633 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9634 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9636 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9637 in the help string. (Bug#12985)
9639 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9641 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9643 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9645 * progmodes/perl-mode.el: Add support for here documents.
9646 (perl-syntax-propertize-function): Match here-doc markers.
9647 (perl-syntax-propertize-special-constructs): Find their end.
9648 (perl-imenu-generic-expression): Use [:alnum:].
9650 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9651 (advice--add-function): Refresh the advice if already present
9654 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9656 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9658 2013-05-06 Glenn Morris <rgm@gnu.org>
9660 * w32-fns.el (w32-charset-info-alist): Declare.
9662 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9663 of its defcustom properties.
9664 (eshell-cmpl-initialize): No need to load pcomplete.
9666 * generic-x.el: No need to require comint when compiling.
9668 * net/eudc-export.el: Make it loadable without bbdb.
9669 (top-level): Use require rather than load-library.
9670 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9671 (eudc-batch-export-records-to-bbdb)
9672 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9675 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9677 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9678 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9679 some tweaks, instead.
9681 2013-05-05 Leo Liu <sdl.web@gmail.com>
9683 * progmodes/octave.el (octave-font-lock-keywords)
9684 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9685 (inferior-octave-send-list-and-digest): Improve error message.
9686 (octave-mode, inferior-octave-mode): Use setq-local.
9687 (octave-help): Set info-lookup-mode.
9689 2013-05-05 Richard Stallman <rms@gnu.org>
9691 * vc/compare-w.el (compare-windows-whitespace):
9692 Treat no-break space as whitespace.
9694 * mail/rmailsum.el (rmail-summary-rmail-update):
9695 Detect empty summary and don't change selected message.
9696 (rmail-summary-goto-msg): Likewise.
9698 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9699 Doc fixes, rename args.
9701 2013-05-05 Alan Mackenzie <acm@muc.de>
9703 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9705 2013-05-05 Juri Linkov <juri@jurta.org>
9707 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9708 to not add the length of the summary segment to the return value.
9711 2013-05-05 Leo Liu <sdl.web@gmail.com>
9713 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9714 (inferior-octave-output-filter): Remove.
9715 (octave-send-region, inferior-octave-startup): Fix callers.
9716 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9717 (octave-binary-file-extensions): New user variable.
9718 (octave-find-definition): Confirm if opening binary files.
9719 (octave-help-file): Use octave-find-definition to get the binary
9721 (octave-help): Adjust for octave-help-file change.
9723 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9725 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9726 Merge the two entries that handle function definitions.
9727 (pascal--syntax-propertize): New const.
9728 (pascal-mode): Use it. Use setq-local.
9730 2013-05-04 Glenn Morris <rgm@gnu.org>
9732 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9733 (diary-from-outlook): Respect diary-from-outlook-function.
9735 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9737 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9738 Move the declaration from C.
9739 (read-minibuffer, eval-minibuffer): Move from C.
9740 (completion-setup-function): Avoid minibuffer-completion-contents.
9742 2013-05-03 Leo Liu <sdl.web@gmail.com>
9744 * progmodes/octave.el (octave-font-lock-keywords): Do not
9745 dehighlight 'end' in comments or strings.
9746 (octave-completing-read, octave-goto-function-definition):
9748 (octave-help-buffer): New user variable.
9749 (octave-help-file, octave-help-function): New button types.
9750 (octave-help): New command and bind it to C-h ;.
9751 (octave-find-definition): New command and bind it to M-.
9752 (user-error): Alias to error if not defined.
9754 2013-05-02 Leo Liu <sdl.web@gmail.com>
9756 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9758 (octave-font-lock-keywords): Include [ and {.
9760 2013-05-02 Leo Liu <sdl.web@gmail.com>
9762 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9763 (inferior-octave): Remove calling comint-mode and return the buffer.
9764 (inferior-octave-startup): Cosmetic changes.
9766 2013-05-02 Leo Liu <sdl.web@gmail.com>
9768 * progmodes/octave.el (octave-syntax-propertize-function):
9769 Include the case when ' is at line beginning. (Bug#14336)
9771 2013-05-02 Glenn Morris <rgm@gnu.org>
9773 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9774 * desktop.el (vc-dir-mode): Just autoload it here.
9776 2013-05-02 Alan Mackenzie <acm@muc.de>
9778 Eliminate variable c-standard-font-lock-fontify-region-function.
9779 * progmodes/cc-mode.el
9780 (c-standard-font-lock-fontify-region-function): Remove.
9781 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9783 2013-05-01 Leo Liu <sdl.web@gmail.com>
9785 * progmodes/octave.el: Compatible with older emacs-24 releases.
9786 (inferior-octave-has-built-in-variables): Remove. Built-in
9787 variables were removed from Octave in 2007.
9788 (inferior-octave-startup): Fix uses.
9789 (comint-line-beginning-position): Remove compatibility code for
9792 2013-05-01 Juri Linkov <juri@jurta.org>
9794 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9796 2013-05-01 Juri Linkov <juri@jurta.org>
9798 * comint.el (comint-previous-matching-input): Don't print message
9799 "History item: %d" when `isearch-mode' is active.
9800 (comint-history-isearch-message): Print message "History item: %d"
9801 when `comint-input-ring-index' is not empty and this function is
9802 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9804 2013-05-01 Leo Liu <sdl.web@gmail.com>
9806 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9807 definitions. Use completion-at-point to insert keywords.
9808 (octave-abbrev-start): Remove.
9809 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9811 2013-04-30 Leo Liu <sdl.web@gmail.com>
9813 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9816 2013-04-30 Alan Mackenzie <acm@muc.de>
9818 Handle arbitrarily long C++ member initialisation lists.
9819 * progmodes/cc-engine.el (c-back-over-member-initializers):
9821 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9822 (most) member init lists.
9824 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9826 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9829 2013-04-30 Leo Liu <sdl.web@gmail.com>
9831 * progmodes/octave.el (octave-variables): Remove. No builtin
9832 variables any more. All converted to functions.
9833 (octave-font-lock-keywords, octave-completion-at-point-function):
9835 (octave-font-lock-texinfo-comment): New user variable.
9836 (octave-texinfo-font-lock-keywords): New variable for texinfo
9838 (octave-function-comment-block): New face.
9839 (octave-font-lock-texinfo-comment): New function.
9840 (octave-mode): Font lock texinfo comment block.
9842 2013-04-29 Leo Liu <sdl.web@gmail.com>
9844 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9845 indexing expression.
9846 (octave-continuation-string): Do not use \.
9847 (inferior-octave-complete-impossible): Remove.
9848 (inferior-octave-completion-table)
9849 (inferior-octave-completion-at-point): Remove its uses.
9850 (inferior-octave-startup): completion_matches was introduced to
9851 Octave in 1996 so safe to assume it.
9852 (octave-function-file-comment): Improve to follow how Octave does it.
9853 (octave-update-function-file-comment): Tweak.
9855 2013-04-29 Leo Liu <sdl.web@gmail.com>
9857 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9858 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9859 (octave-function-file-comment): Fix typo.
9860 (octave-sync-function-file-names): Use read-char-choice.
9862 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9864 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9865 to t for the less important warnings.
9867 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9869 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9871 2013-04-27 Glenn Morris <rgm@gnu.org>
9873 * vc/log-view.el (log-view-current-entry):
9874 Treat "---" separator lines as part of the following rev. (Bug#14169)
9876 2013-04-27 Juri Linkov <juri@jurta.org>
9878 * subr.el (read-number): Doc fix about using it by interactive
9879 code letter `n'. (Bug#14254)
9881 2013-04-27 Juri Linkov <juri@jurta.org>
9883 * desktop.el (desktop-auto-save-timeout): New option.
9884 (desktop-file-checksum): New variable.
9885 (desktop-save): Add optional arg `auto-save' and don't auto-save
9887 (desktop-auto-save-timer): New variable.
9888 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9889 (after-init-hook): Call `desktop-auto-save-set-timer'.
9890 Suggested by Reuben Thomas <rrt@sc3d.org> in
9891 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9893 2013-04-27 Leo Liu <sdl.web@gmail.com>
9895 * progmodes/octave.el (octave-function-file-p)
9896 (octave-skip-comment-forward, octave-function-file-comment)
9897 (octave-update-function-file-comment): New functions.
9898 (octave-mode-map): Bind C-c ; to
9899 octave-update-function-file-comment.
9900 (octave-mode-menu): Add octave-update-function-file-comment.
9901 (octave-mode, inferior-octave-mode): Fix doc-string.
9902 (octave-insert-defun): Conform to Octave's coding convention.
9905 * files.el (basic-save-buffer): Don't let errors in
9906 before-save-hook prevent saving buffer.
9908 2013-04-20 Roland Winkler <winkler@gnu.org>
9910 * faces.el (read-face-name): Use completing-read if arg multiple
9913 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9915 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9916 displayed, move point to after the totals line.
9917 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9920 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9922 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9923 Add current dir to the load-path.
9924 (package-generate-autoloads): Don't rely on
9925 autoload-ensure-default-file.
9927 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9929 * textmodes/remember.el (remember-store-in-files): Document that
9930 the file name format is passed to `format-time-string'.
9932 2013-04-26 Leo Liu <sdl.web@gmail.com>
9934 * progmodes/octave.el (octave-sync-function-file-names): New function.
9935 (octave-mode): Use it in before-save-hook.
9937 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9939 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9942 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9943 \n and comment, even if it's not an implicit ; (bug#14218).
9945 2013-04-26 Glenn Morris <rgm@gnu.org>
9947 * subr.el (read-number): Once more use `read' rather than
9948 `string-to-number', to trap non-numeric input. (Bug#14254)
9950 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9952 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9953 Use `syntax-multiline' text property consistently instead of
9954 `font-lock-multiline'. (Bug#14237)
9956 2013-04-26 Glenn Morris <rgm@gnu.org>
9958 * emacs-lisp/shadow.el (list-load-path-shadows):
9959 No longer necessary to check for duplicate simple.el, since
9960 2012-07-07 change to init_lread to not include installation lisp
9961 directories in load-path when running uninstalled. (Bug#14270)
9963 2013-04-26 Leo Liu <sdl.web@gmail.com>
9965 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
9966 (octave-mode, inferior-octave-mode): Use setq-local.
9967 (octave-not-in-string-or-comment-p): Rename to
9968 octave-in-string-or-comment-p.
9969 (octave-in-comment-p, octave-in-string-p)
9970 (octave-in-string-or-comment-p): Replace defsubst with defun.
9972 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
9974 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
9976 2013-04-25 Bastien Guerry <bzg@gnu.org>
9978 * textmodes/remember.el (remember-data-directory)
9979 (remember-directory-file-name-format): Fix custom types.
9981 2013-04-25 Leo Liu <sdl.web@gmail.com>
9983 * progmodes/octave.el (octave-completion-at-point-function):
9984 Make use of inferior octave process.
9985 (octave-initialize-completions): Remove.
9986 (inferior-octave-completion-table): New function.
9987 (inferior-octave-completion-at-point): Use it.
9988 (octave-completion-alist): Remove.
9990 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9992 * progmodes/opascal.el: Use font-lock and syntax-propertize.
9993 (opascal-mode-syntax-table): New var.
9994 (opascal-literal-kind, opascal-is-literal-end)
9995 (opascal-literal-token-at): Rewrite.
9996 (opascal--literal-start-re, opascal-font-lock-keywords)
9997 (opascal--syntax-propertize): New constants.
9998 (opascal-font-lock-defaults): Adjust.
9999 (opascal-mode): Use them. Set comment-<foo> variables as well.
10000 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10001 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10002 (delphi-other-face, opascal-other-face): Remove face variables.
10003 (opascal-save-state): Remove macro.
10004 (opascal-fontifying-progress-step): Remove constant.
10005 (opascal--ignore-changes): Remove var.
10006 (opascal-set-token-property, opascal-parse-next-literal)
10007 (opascal-is-stable-literal, opascal-complete-literal)
10008 (opascal-is-literal-start, opascal-face-of)
10009 (opascal-parse-region, opascal-parse-region-until-stable)
10010 (opascal-fontify-region, opascal-after-change)
10011 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10012 (opascal-debug-parse-region, opascal-debug-parse-window)
10013 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10014 (opascal-debug-fontify-buffer): Remove.
10015 (opascal-debug-mode-map): Adjust accordingly.
10017 2013-04-25 Leo Liu <sdl.web@gmail.com>
10019 Merge octave-mod.el and octave-inf.el into octave.el with some
10021 * progmodes/octave.el: New file renamed from octave-mod.el.
10022 * progmodes/octave-inf.el: Merged into octave.el.
10023 * progmodes/octave-mod.el: Renamed to octave.el.
10025 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10027 * textmodes/reftex-vars.el
10028 (reftex-label-ignored-macros-and-environments): New defcustom.
10030 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10032 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10034 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10035 (smie-indent-keyword): Improve the check to ensure that the next
10036 comment is really on the same line.
10037 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10039 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10040 semi-colons if the line is not otherwise empty (bug#14218).
10042 2013-04-25 Glenn Morris <rgm@gnu.org>
10044 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10046 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10048 * progmodes/opascal.el (opascal-set-token-property): Rename from
10049 opascal-set-text-properties and only set `token' (bug#14134).
10050 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10051 (opascal-literal-text-properties): Remove.
10052 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10055 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10057 * textmodes/remember.el (remember-handler-functions): Add an
10058 option for a new handler `remember-store-in-files'.
10059 (remember-data-directory, remember-directory-file-name-format):
10061 (remember-store-in-files): New function to store remember notes
10062 as separate files within a directory.
10064 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10066 * progmodes/compile.el (compilation-next-error-function):
10067 Pass "formats" to compilation-find-file (bug#11777).
10069 2013-04-24 Glenn Morris <rgm@gnu.org>
10071 * vc/vc-bzr.el (vc-bzr-print-log):
10072 * vc/vc-hg.el (vc-hg-print-log):
10073 * vc/vc-svn.el (vc-svn-print-log):
10074 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10076 * vc/vc-bzr.el (vc-bzr-print-log):
10077 * vc/vc-cvs.el (vc-cvs-print-log):
10078 * vc/vc-git.el (vc-git-print-log):
10079 * vc/vc-hg.el (vc-hg-print-log):
10080 * vc/vc-mtn.el (vc-mtn-print-log):
10081 * vc/vc-rcs.el (vc-rcs-print-log):
10082 * vc/vc-sccs.el (vc-sccs-print-log):
10083 * vc/vc-svn.el (vc-svn-print-log):
10084 * vc/vc.el (vc-print-log-internal): Doc fixes.
10086 2013-04-23 Glenn Morris <rgm@gnu.org>
10088 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10089 Remove venerable code attempting to avoid substitute-command-keys.
10091 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10093 * textmodes/reftex-vars.el (reftex-label-regexps):
10094 Call `reftex-compile-variables' after changes to this variable.
10096 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10098 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10099 Use lexical-binding.
10100 (jit-lock-force-redisplay): Use markers, check buffer's continued
10101 existence and beware narrowed buffers.
10102 (jit-lock-fontify-now): Adjust call accordingly.
10104 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10106 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10107 to avoid misleading the user.
10109 2013-04-22 Leo Liu <sdl.web@gmail.com>
10111 * info-look.el: Prefer latex2e.info. (Bug#14240)
10113 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10115 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10117 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10118 * net/tramp.el (tramp-call-process): ... here.
10119 (tramp-set-completion-function, tramp-parse-putty):
10120 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10121 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10122 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10123 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10124 (tramp-call-local-coding-command): Use `tramp-call-process'
10125 instead of `tramp-compat-call-process'.
10127 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10128 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10129 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10130 (tramp-find-inline-compress): Improve traces.
10131 (tramp-maybe-send-script): Check for Perl binary.
10132 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10134 2013-04-22 Daiki Ueno <ueno@gnu.org>
10136 * epg.el (epg-context-pinentry-mode): New function.
10137 (epg-context-set-pinentry-mode): New function.
10138 (epg--start): Pass --pinentry-mode option to gpg command.
10140 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10142 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10143 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10144 `completion-at-point'. (Bug#13774)
10146 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10147 default key binding for `describe-distribution' has been moved to
10148 `C-h C-o'. (Bug#13970)
10150 2013-04-21 Glenn Morris <rgm@gnu.org>
10152 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10154 (vc-print-log): Clarify interactive prompt.
10156 2013-04-20 Glenn Morris <rgm@gnu.org>
10158 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10159 No longer include timestamp etc information.
10161 2013-04-20 Roland Winkler <winkler@gnu.org>
10163 * faces.el (read-face-name): Bug fix, return just one face if arg
10164 multiple is nil. (Bug#14209)
10166 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10168 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10169 (remove-function): Autoload.
10171 * comint.el (comint-redirect-original-filter-function): Remove.
10172 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10173 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10174 (vc-cvs-annotate-command):
10175 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10176 * progmodes/prolog.el (prolog-consult-compile):
10177 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10178 Use add/remove-function instead.
10179 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10180 (gud-tooltip-process-output, gud-tooltip-tips):
10181 Use add/remove-function instead.
10182 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10183 (scheme-interaction-mode, exit-scheme-interaction-mode):
10184 Use add/remove-function instead.
10186 * vc/vc-dispatcher.el: Use lexical-binding.
10187 (vc--process-sentinel): Rename from vc-process-sentinel.
10188 Change last arg to be the code to run. Don't use vc-previous-sentinel
10189 and vc-sentinel-commands any more.
10190 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10191 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10193 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10195 * progmodes/sh-script.el (sh-imenu-generic-expression):
10196 Handle function names with a single character. (Bug#14111)
10198 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10200 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10201 for subroutines defined in an eval (bug#14182).
10203 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10205 * bookmark.el (bookmark-completing-read): Improve handling of empty
10206 string (bug#14176).
10208 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10210 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10212 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10214 New faster Imenu implementation (bug#14058).
10215 * progmodes/python.el:
10216 (python-imenu-prev-index-position):
10217 (python-imenu-format-item-label-function)
10218 (python-imenu-format-parent-item-label-function)
10219 (python-imenu-format-parent-item-jump-label-function):
10221 (python-imenu-format-item-label)
10222 (python-imenu-format-parent-item-label)
10223 (python-imenu-format-parent-item-jump-label)
10224 (python-imenu--put-parent, python-imenu--build-tree)
10225 (python-imenu-create-index, python-imenu-create-flat-index)
10226 (python-util-popn): New functions.
10227 (python-mode): Set imenu-create-index-function to
10228 python-imenu-create-index.
10230 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10232 * winner.el (winner-active-region): Use region-active-p, activate-mark
10233 and deactivate-mark (bug#14225).
10235 * simple.el (deactivate-mark): Don't inline it.
10237 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10239 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10241 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10243 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10244 file extensions from the archive-mode entry in order to prefer
10245 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10247 2013-04-18 Leo Liu <sdl.web@gmail.com>
10249 * bindings.el (help-event-list): Add ?\?.
10251 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10253 * subr.el (with-wrapper-hook): Declare obsolete.
10254 * simple.el (filter-buffer-substring-function): New hook.
10255 (filter-buffer-substring): Use it.
10256 (filter-buffer-substring-functions): Mark obsolete.
10257 * minibuffer.el (completion-in-region-function): New hook.
10258 (completion-in-region): Use it.
10259 (completion-in-region-functions): Mark obsolete.
10260 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10261 * abbrev.el (abbrev-expand-function): New hook.
10262 (expand-abbrev): Use it.
10263 (abbrev-expand-functions): Mark obsolete.
10264 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10265 and :filter-return.
10267 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10269 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10270 and do not care about match data.
10272 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10274 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10275 completion tables when completing error conditions and
10276 `declare' arguments.
10277 (lisp-complete-symbol, field-complete): Mark as obsolete.
10278 (check-parens): Unmatched parens are user errors.
10279 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10281 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10283 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10284 command changed buffer (ie. `flyspell-pre-buffer' is not current
10285 buffer), which prevents making decisions based on invalid value of
10286 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10287 cause an error when `flyspell-pre-point' was nil after switching
10289 (flyspell-post-command-hook): No longer needs to change buffers when
10290 checking pre-word. While at it remove unnecessary progn.
10292 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10294 * textmodes/ispell.el (ispell-add-per-file-word-list):
10295 Fix `flyspell-correct-word-before-point' error when accepting
10296 words and `coment-padding' is an integer by using
10297 `comment-normalize-vars' (Bug #14214).
10299 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10301 New defun movement commands.
10302 * progmodes/python.el (python-nav--syntactically)
10303 (python-nav--forward-defun, python-nav-backward-defun)
10304 (python-nav-forward-defun): New functions.
10306 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10308 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10309 (python-syntax-context): Use named compiler-macro for backwards
10310 compatibility with Emacs 24.x.
10312 2013-04-17 Leo Liu <sdl.web@gmail.com>
10314 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10315 octave-hide-process-buffer.
10317 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10319 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10322 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10324 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10325 Fix adjustment of offset when receiving incomplete responses from GDB
10328 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10330 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10331 python-mode-abbrev-table.
10332 (python-skeleton-define): Adjust accordingly.
10333 (python-mode-abbrev-table): New table that inherits from it so that
10334 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10336 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10337 (abbrev-symbol): Use it.
10338 (abbrev--before-point): Use it since we already handle inheritance.
10340 2013-04-16 Leo Liu <sdl.web@gmail.com>
10342 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10343 binding to info-lookup-symbol.
10345 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10347 * minibuffer.el (completion--twq-all):
10348 * term/ns-win.el (ns-initialize-window-system):
10349 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10351 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10353 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10356 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10358 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10360 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10361 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10363 (ruby-end-of-defun): Remove the unused arg, change the docstring
10364 to reflect that this function is only used as the value of
10365 `end-of-defun-function'.
10366 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10367 to reflect an earlier change that beginning/end-of-defun functions
10368 jump between methods in a class definition, as well as top-level
10371 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10373 * minibuffer.el (minibuffer-complete): Don't just scroll
10374 a *Completions* that's been iconified.
10375 (minibuffer-force-complete): Make sure repetitions do cycle when going
10376 through completion-in-region -> minibuffer-complete.
10378 2013-04-15 Alan Mackenzie <acm@muc.de>
10380 Correct the placement of c-cpp-delimiters when there're #s not at
10383 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10384 place a submatch around the #.
10385 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10386 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10389 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10391 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10392 (advice--member-p): New arg `name'.
10393 (advice--add-function, advice-member-p): Use it (bug#14202).
10395 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10397 Reformulate java imenu-generic-expression.
10398 The old expression contained ill formed regexps.
10400 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10401 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10402 (cc-imenu-java-method-arg-regexp): New defconsts.
10403 (cc-imenu-java-build-type-args-regex): New defun.
10404 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10405 handling of spaces in the regexp.
10407 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10409 * textmodes/ispell.el (ispell-command-loop): Remove
10410 flyspell highlight of a word when ispell accepts it (bug #14178).
10412 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10414 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10415 uses code from the previous `ange-ftp-run-real-handler'.
10416 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10417 only in case that function exist. This is needed for proper
10418 unloading of Tramp.
10420 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10422 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10424 * textmodes/reftex.el (reftex-compile-variables): Use it.
10426 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10428 * files.el (normal-mode): Only use default major-mode if no other mode
10431 * emacs-lisp/trace.el (trace-values): New function.
10433 * files.el: Allow : in local variables (bug#14089).
10434 (hack-local-variable-regexp): New var.
10435 (hack-local-variables-prop-line, hack-local-variables): Use it.
10437 2013-04-13 Roland Winkler <winkler@gnu.org>
10439 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10440 data before it gets modified by bibtex-beginning-of-entry.
10442 2013-04-13 Roland Winkler <winkler@gnu.org>
10444 * textmodes/bibtex.el (bibtex-url): Doc fix.
10446 2013-04-13 Roland Winkler <winkler@gnu.org>
10448 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10449 does not visit a BibTeX file, exclude it from the list of buffers
10450 returned by bibtex-initialize.
10452 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10454 * window.el (split-window): Remove interactive form, since as a
10455 command this function is a special case of split-window-below.
10456 Correct doc string.
10458 2013-04-12 Roland Winkler <winkler@gnu.org>
10460 * faces.el (read-face-name): Do not override value of arg default.
10461 Allow single faces and strings as default values. Remove those
10462 elements from return value that are not faces.
10463 (describe-face): Simplify.
10464 (face-at-point): New optional args thing and multiple so that this
10465 function can provide the same functionality previously provided by
10467 (make-face-bold, make-face-unbold, make-face-italic)
10468 (make-face-unitalic, make-face-bold-italic, invert-face)
10469 (modify-face, read-face-and-attribute): Use face-at-point.
10471 * cus-edit.el (customize-face, customize-face-other-window)
10472 * cus-theme.el (custom-theme-add-face)
10473 * face-remap.el (buffer-face-set)
10474 * facemenu.el (facemenu-set-face): Use face-at-point.
10476 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10478 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10480 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10482 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10483 off leading { and trailing } from field values.
10485 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10487 * emacs-lisp/timer.el (timer--check): New function.
10488 (timer--time, timer-set-function, timer-event-handler): Use it.
10489 (timer-set-idle-time): Simplify.
10490 (timer--activate): CSE.
10491 (timer-event-handler): Give more info in error message.
10492 (internal-timer-start-idle): New function, moved from C.
10494 * mpc.el (mpc-proc): Add `restart' argument.
10495 (mpc-proc-cmd): Use it.
10496 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10497 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10500 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10502 * progmodes/sh-script.el: Implement `sh-mode' own
10503 `add-log-current-defun-function' (bug#14112).
10504 (sh-current-defun-name): New function.
10505 (sh-mode): Use the function.
10507 2013-04-09 Bastien Guerry <bzg@gnu.org>
10509 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10511 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10513 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10515 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10518 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10520 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10523 2013-04-07 Leo Liu <sdl.web@gmail.com>
10525 * pcmpl-x.el: New file.
10527 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10529 Do not set x-display-name until X connection is established.
10530 This is needed to prevent from weird situation described at
10531 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10532 * frame.el (make-frame): Set x-display-name after call to
10533 window system initialization function, not before.
10534 * term/x-win.el (x-initialize-window-system): Add optional
10535 display argument and use it.
10536 * term/w32-win.el (w32-initialize-window-system):
10537 * term/ns-win.el (ns-initialize-window-system):
10538 * term/pc-win.el (msdos-initialize-window-system):
10539 Add compatible optional display argument.
10541 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10543 * files.el (normal-backup-enable-predicate): On MS-Windows and
10544 MS-DOS compare truenames of temporary-file-directory and of the
10545 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10546 don't fail comparison by compare-strings. Also, compare file
10547 names case-insensitively on MS-Windows and MS-DOS.
10549 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10551 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10552 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10554 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10556 * whitespace.el (whitespace-color-on, whitespace-color-off):
10557 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10559 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10561 * ispell.el (ispell-set-spellchecker-params):
10562 Really set `ispell-args' for all equivs.
10564 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10566 * ido.el (ido-completions): Use extra elements of ido-decorations
10568 (ido-decorations): Update docstring.
10570 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10572 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10573 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10574 nil during initialization, in order not to miss changes since the
10575 file was opened. (Bug#14140)
10577 2013-04-05 Leo Liu <sdl.web@gmail.com>
10579 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10581 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10583 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10585 2013-04-04 Glenn Morris <rgm@gnu.org>
10587 * electric.el (electric-pair-inhibit-predicate): Add :version.
10589 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10591 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10592 when a package is required several times (bug#14082).
10594 2013-04-04 Roland Winkler <winkler@gnu.org>
10596 * faces.el (read-face-name): Behave as promised by the docstring.
10597 Assume that arg default is a list of faces.
10598 (describe-face): Call read-face-name with list of default faces.
10600 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10602 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10603 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10604 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10606 (bookmark-exit-hook-internal): Save even if list is empty.
10608 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10610 * emacs-lisp/package.el (package-pinned-packages): New var.
10611 (package--add-to-archive-contents): Obey it (bug#14118).
10613 2013-04-03 Alan Mackenzie <acm@muc.de>
10615 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10616 Also adapt to the new values of element 7 of a parse state.
10618 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10619 parameter `not-in-delimiter'. Handle being inside comment opener.
10620 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10621 character in case we're typing a '*' after a '/'.
10622 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10623 instead by passing the parameter to c-state-pp-to-literal.
10625 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10626 for elt. 7 of a parse state.
10628 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10630 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10631 * international/latin1-disp.el, international/mule-util.el:
10632 * language/cyril-util.el, language/european.el, language/ind-util.el:
10633 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10634 * language/tibetan.el, language/viet-util.el:
10635 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10637 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10639 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10640 (electric-pair-post-self-insert-function): Use it.
10641 (electric-pair-default-inhibit): New function, extracted from
10642 electric-pair-post-self-insert-function.
10644 2013-03-31 Roland Winkler <winkler@gnu.org>
10646 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10648 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10650 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10652 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10654 Un-indent after "pass" and "return" statements (Bug#13888)
10655 * progmodes/python.el (python-indent-block-enders): New var.
10656 (python-indent-calculate-indentation): Use it.
10658 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10660 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10661 defun. Defining it as defalias could introduce too eager
10662 byte-compiler optimization. (Bug#14030)
10664 2013-03-30 Chong Yidong <cyd@gnu.org>
10666 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10668 2013-03-30 Leo Liu <sdl.web@gmail.com>
10670 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10671 (kmacro-execute-from-register): Pass the keyboard macro to
10672 kmacro-call-macro or repeating won't work correctly.
10674 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10676 * progmodes/subword.el: Back to using `forward-symbol'.
10678 * subr.el (forward-whitespace, forward-symbol)
10679 (forward-same-syntax): Move from thingatpt.el.
10681 2013-03-29 Leo Liu <sdl.web@gmail.com>
10683 * kmacro.el (kmacro-to-register): New command.
10684 (kmacro-execute-from-register): New function.
10685 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10687 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10689 * mpc.el: Use defvar-local and setq-local.
10690 (mpc--proc-connect): Connection failures are not bugs.
10691 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10692 (mpc-volume-map): Bind to the up-events.
10694 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10696 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10697 instead of `forward-symbol'.
10699 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10701 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10702 (edebug--recursive-edit): Use it.
10703 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10704 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10706 2013-03-28 Leo Liu <sdl.web@gmail.com>
10708 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10710 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10712 * facemenu.el (list-colors-callback): New defvar.
10713 (list-colors-redisplay): New function.
10714 (list-colors-display): Install list-colors-redisplay as the
10715 revert-buffer-function. (Bug#14063)
10717 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10719 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10720 and suffixes don't overlap (bug#14061).
10722 * case-table.el: Use lexical-binding.
10723 (case-table-get-table): New function.
10724 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10726 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10728 * progmodes/subword.el: Add `superword-mode' to do word motion
10729 over symbol_words (parallels and leverages `subword-mode' which
10730 does word motion inside MixedCaseWords).
10732 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10734 * eshell/em-unix.el: Move su and sudo to...
10735 * eshell/em-tramp.el: ...Eshell tramp module.
10737 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10739 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10740 Change return value to be a sexp. Delay `get-buffer' to after
10741 restoring the desktop (bug#13951).
10743 2013-03-26 Leo Liu <sdl.web@gmail.com>
10745 * register.el: Move semantic tag handling back to
10746 cedet/semantic/senator.el. (Bug#14052)
10748 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10750 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10751 into the prompt either (bug#13963).
10753 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10755 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10756 part of "(error-foo)".
10758 2013-03-24 Juri Linkov <juri@jurta.org>
10760 * replace.el (list-matching-lines-prefix-face): New defcustom.
10761 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10762 `occur-engine' if `face-differs-from-default-p' returns t.
10763 (occur-engine): Add `,' inside backquote construct to evaluate
10764 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10765 Pass `prefix-face' to the functions `occur-context-lines' and
10766 `occur-engine-add-prefix'.
10767 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10768 `prefix-face' and propertize the prefix with `prefix-face'.
10771 2013-03-24 Leo Liu <sdl.web@gmail.com>
10773 * nxml/rng-valid.el (rng-validate-while-idle)
10774 (rng-validate-quick-while-idle): Guard against deleted buffer.
10777 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10778 is the last entry in kill-buffer-hook.
10780 * files.el (kill-buffer-hook): Doc fix.
10782 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10784 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10785 Make it safe-local.
10787 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10789 2013-03-23 Leo Liu <sdl.web@gmail.com>
10791 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10794 * nxml/rng-valid.el (rng-validate-mode)
10795 (rng-after-change-function, rng-do-some-validation):
10796 * nxml/rng-maint.el (rng-validate-buffer):
10797 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10798 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10799 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10800 (nxml-extend-after-change-region): Use with-silent-modifications.
10802 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10805 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10806 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10807 timer-idle-list. (Bug#13999)
10809 2013-03-23 Juri Linkov <juri@jurta.org>
10811 * info.el (info-index-match): New face.
10812 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10813 main pattern and add text properties with the new face to matches
10814 in index entries relative to the beginning of the index entry.
10817 2013-03-21 Eric Ludlam <zappo@gnu.org>
10819 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10820 Inhibit read only while inserting objects.
10822 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10824 * progmodes/cfengine.el: Update docs to mention
10825 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10826 symbol motion. Remove "_" from the word syntax.
10828 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10830 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10831 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10833 2013-03-20 Juri Linkov <juri@jurta.org>
10835 * info.el (Info-next-reference-or-link)
10836 (Info-prev-reference-or-link): New functions.
10837 (Info-next-reference, Info-prev-reference): Use them.
10838 (Info-try-follow-nearest-node): Handle footnote navigation.
10839 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10841 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10843 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10844 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10846 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10848 Suppress unnecessary non-ASCII chatter during build process.
10849 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10850 (batch-skkdic-convert): Suppress most of the chatter.
10851 It's not needed so much now that machines are faster,
10852 and its non-ASCII component was confusing; see Dmitry Gutov in
10853 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10855 2013-03-20 Leo Liu <sdl.web@gmail.com>
10857 * ido.el (ido-chop): Fix bug#10994.
10859 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10861 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10863 (whitespace-color-on, whitespace-color-off):
10864 Use `font-lock-fontify-buffer' (Bug#13817).
10866 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10868 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10869 remapping in mode-line.
10870 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10872 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10874 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10875 value for `whitespace-line' face (Bug#13875).
10876 (whitespace-font-lock-keywords): Change description.
10877 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10878 the constructed keywords instead.
10879 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10881 2013-03-19 Leo Liu <sdl.web@gmail.com>
10883 * progmodes/compile.el (compilation-display-error): New command.
10884 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10887 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10889 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10891 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10893 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10895 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10897 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10899 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10900 * net/tramp-gvfs.el (top):
10901 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10902 (tramp-handle-shell-command): Use it.
10903 (tramp-dissect-file-name): Raise an error when hostname is a
10904 method name, and neither method nor user is specified.
10906 * net/trampver.el: Update release number.
10908 2013-03-18 Leo Liu <sdl.web@gmail.com>
10910 Make sure eldoc can be turned off properly.
10911 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10913 (eldoc-display-message-p): Revert last change.
10914 (eldoc-display-message-no-interference-p)
10915 (eldoc-print-current-symbol-info): Tweak.
10917 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10919 * doc-view.el (doc-view-new-window-function): Check the new window
10920 overlay's display property instead the char property of the
10921 buffer's first char. Use `with-selected-window' instead of
10922 `save-window-excursion' with `select-window'.
10923 (doc-view-document->bitmap): Check the current doc-view overlay's
10924 display property instead the char property of the buffer's first char.
10926 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10928 Automate the build of ja-dic.el (Bug#13984).
10929 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10930 from the input, rather than assume that it's been done for us by the
10931 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10932 the current date into a ja-dic.el comment, as that complicates
10933 regression testing.
10935 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10937 * whitespace.el: Fix double evaluation.
10938 (whitespace-space, whitespace-hspace, whitespace-tab)
10939 (whitespace-newline, whitespace-trailing, whitespace-line)
10940 (whitespace-space-before-tab, whitespace-indentation)
10941 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10943 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10944 (whitespace-color-on): Use a single font-lock-add-keywords call.
10945 Fix double-evaluation of face variables.
10947 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10949 * net/tramp-adb.el (tramp-adb-parse-device-names):
10950 Use `start-process' instead of `call-process'. Otherwise, the
10951 function might be blocked under MS Windows. (Bug#13299)
10953 2013-03-17 Leo Liu <sdl.web@gmail.com>
10955 Extend eldoc to display info in the mode-line. (Bug#13978)
10956 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
10957 (eldoc-mode-line-string): New variable.
10958 (eldoc-minibuffer-message): New function.
10959 (eldoc-message-function): New variable.
10960 (eldoc-message): Use it.
10961 (eldoc-display-message-p)
10962 (eldoc-display-message-no-interference-p):
10963 Support eldoc-post-insert-mode.
10965 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
10966 (eval-expression): Run it.
10968 2013-03-17 Roland Winkler <winkler@gnu.org>
10970 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
10971 strings in the list of return values.
10973 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
10975 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
10976 radix before checking for HMS forms.
10978 2013-03-16 Leo Liu <sdl.web@gmail.com>
10980 * progmodes/scheme.el: Add indentation and font-locking for λ.
10983 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
10985 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
10986 token before point (bug#13942).
10988 2013-03-16 Leo Liu <sdl.web@gmail.com>
10990 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
10992 2013-03-16 Eli Zaretskii <eliz@gnu.org>
10994 * startup.el (command-line-normalize-file-name): Fix handling of
10995 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
10996 <xfq.free@gmail.com> in
10997 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
10999 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11001 Sync with Tramp 2.2.7.
11003 * net/trampver.el: Update release number.
11005 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11007 * doc-view.el: Fix bug#13887.
11008 (doc-view-insert-image): Don't modify overlay associated to
11009 non-live windows, and implement horizontal centering of image in
11010 case it's smaller than the window.
11011 (doc-view-new-window-function): Force redisplay of new windows on
11014 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11016 * saveplace.el (save-place-alist-to-file): Don't sort
11017 `save-place-alist', just pretty-print it (bug#13882).
11019 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11021 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11022 Check whether `default-file-name-coding-system' is bound.
11023 It isn't in XEmacs.
11025 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11027 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11028 backquotes for `obsolete' (bug#13929).
11030 * international/mule.el (find-auto-coding): Include file name in
11031 obsolescence warning (bug#13922).
11033 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11035 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11036 for CFEngine 3-specific indentation.
11037 (cfengine3-indent-line): Use it. Fix up category regex.
11038 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11040 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11042 * type-break.el (type-break-file-name):
11043 * textmodes/remember.el (remember-data-file):
11044 * strokes.el (strokes-file):
11045 * shadowfile.el (shadow-initialize):
11046 * saveplace.el (save-place-file):
11047 * ps-bdf.el (bdf-cache-file):
11048 * progmodes/idlwave.el (idlwave-config-directory):
11049 * net/quickurl.el (quickurl-url-file):
11050 * international/kkc.el (kkc-init-file-name):
11051 * ido.el (ido-save-directory-list-file):
11052 * emulation/viper.el (viper-custom-file-name):
11053 * emulation/vip.el (vip-startup-file):
11054 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11055 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11057 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11059 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11060 * language/thai-word.el: Switch to UTF-8.
11062 See ChangeLog.16 for earlier changes.
11064 ;; Local Variables:
11068 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11070 This file is part of GNU Emacs.
11072 GNU Emacs is free software: you can redistribute it and/or modify
11073 it under the terms of the GNU General Public License as published by
11074 the Free Software Foundation, either version 3 of the License, or
11075 (at your option) any later version.
11077 GNU Emacs is distributed in the hope that it will be useful,
11078 but WITHOUT ANY WARRANTY; without even the implied warranty of
11079 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11080 GNU General Public License for more details.
11082 You should have received a copy of the GNU General Public License
11083 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.