1 2013-12-18 Chong Yidong <cyd@gnu.org>
3 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
7 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
10 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
12 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
14 2013-12-18 Glenn Morris <rgm@gnu.org>
16 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
17 * cus-start.el (load-prefer-newer): New option.
19 2013-12-18 Le Wang <l26wang@gmail.com>
21 * comint.el (comint-previous-matching-input-from-input): Retain
24 2013-12-18 Chong Yidong <cyd@gnu.org>
26 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
28 2013-12-18 Glenn Morris <rgm@gnu.org>
30 * mail/emacsbug.el (report-emacs-bug):
31 Only mention enable-multibyte-characters if non-standard.
33 2013-12-17 Juri Linkov <juri@jurta.org>
35 * arc-mode.el (archive-extract-by-file): Check if directory exists
36 before deletion to not show irrelevant errors if it doesn't exist.
38 2013-12-17 Juri Linkov <juri@jurta.org>
40 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
43 * net/eww.el (browse-web): Add alias to `eww'.
44 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
45 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
47 * net/browse-url.el (browse-url-browser-function): Move `eww'
48 closer to similar functions.
50 * startup.el (fancy-startup-screen, fancy-about-screen):
51 Set browse-url-browser-function to eww-browse-url locally.
54 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
56 * window.el (window--pixel-to-total): Remove unused `mini' var.
57 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
58 (split-window): Remove unused `new' var.
59 (window--display-buffer): Remove unused `frame' and `delta' vars.
60 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
63 2013-12-17 Martin Rudalics <rudalics@gmx.at>
65 * dired.el (dired-mark-pop-up):
66 * register.el (register-preview): Don't bind
67 split-height-threshold here since it's now done in
68 display-buffer-below-selected.
70 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
72 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
73 xterm-rgb-convert-to-16bit.
74 (rxvt-register-default-colors): Standardize with
75 xterm-register-default-colors (Bug#14078).
77 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
79 * simple.el (kill-region): Pass mark first, then point, so that
80 kill-append works right (Bug#12819).
81 (copy-region-as-kill, kill-ring-save): Likewise.
83 2013-12-17 Leo Liu <sdl.web@gmail.com>
85 * net/rcirc.el (rcirc-add-face):
86 * eshell/em-prompt.el (eshell-emit-prompt):
87 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
90 2013-12-17 Chong Yidong <cyd@gnu.org>
92 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
93 Suggested by Xue Fuqiao.
95 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
97 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
99 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
101 * net/shr.el (shr-insert-document): Remove unused var
102 `shr-preliminary-table-render'.
103 (shr-rescale-image): Remove unused arg `force'.
104 (shr-put-image): Update calls accordingly.
105 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
107 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
109 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
110 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
111 :close-all, to see which indentation method to use (Bug#16116).
112 (smie-rules-function): Document the method :close-all.
114 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
116 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
118 * net/eww.el (eww-display-html): If we can't find the anchor we're
119 looking for, then go to point-min.
121 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
123 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
124 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
125 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
126 Expand dir too, in case it's relative.
128 2013-12-16 Juri Linkov <juri@jurta.org>
130 * desktop.el (desktop-auto-save-timeout): Change default to
131 `auto-save-timeout'. Doc fix.
132 (desktop-save): Skip the timestamp in desktop-saved-frameset
133 when checking for auto-save changes.
134 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
135 `desktop-auto-save' is called repeatedly by the idle timer.
136 (desktop-auto-save-set-timer): Replace `run-with-timer' with
137 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
140 2013-12-16 Juri Linkov <juri@jurta.org>
142 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
144 (isearch-pre-command-hook): Check `this-command' for symbolp.
146 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
148 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
150 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
152 * progmodes/cfengine.el (cfengine3--current-word): Remove.
153 (cfengine3--current-function): Bring in the current-function
154 functionality from `cfengine3--current-word'.
155 (cfengine3-completion-function): Bring in the
156 bounds-of-current-word functionality from
157 `cfengine3--current-word'.
159 2013-12-16 Martin Rudalics <rudalics@gmx.at>
161 * window.el (display-buffer-below-selected):
162 Bind split-height-threshold to 0 as suggested by Juri Linkov.
164 2013-12-16 Leo Liu <sdl.web@gmail.com>
166 * progmodes/compile.el (compile-goto-error): Do not push-mark.
167 Remove NOMSG arg and all uses changed.
169 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
171 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
172 (cua--deactivate-rectangle): Don't deactivate the mark.
173 (cua-set-rectangle-mark): Don't set mark-active since
174 cua--activate-rectangle already does it for us.
175 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
176 non-rectangular region.
178 * emulation/cua-base.el (cua-repeat-replace-region):
179 Use with-current-buffer.
181 * net/gnutls.el: Use cl-lib.
182 (gnutls-negotiate): `mapcan' -> cl-mapcan.
184 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
186 * emacs-lisp/package.el (package-built-in-p): Support both
187 built-in and the package.el converted package descriptions.
188 (package-show-package-list): Allow keywords.
189 (package-keyword-button-action): Use it instead of
190 `finder-list-matches'.
191 (package-menu-filter-interactive): Interactive filtering (by
193 (package-menu--generate): Support keywords and change keymappings
194 and headers when they are given.
195 (package--has-keyword-p): Helper function.
196 (package-menu--refresh): Use it.
197 (package--mapc): Helper function.
198 (package-all-keywords): Use it.
199 (package-menu-mode-map): Set up menu items and keybindings to
200 provide a filtering UI.
202 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
204 * net/gnutls.el (gnutls-verify-error): New defcustom to control
205 the behavior when a certificate fails validation. Defaults to
206 old behavior: never abort, just warn.
207 (gnutls-negotiate): Use it.
209 2013-12-14 Martin Rudalics <rudalics@gmx.at>
211 * window.el (display-buffer-below-selected): Never split window
212 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
214 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
216 * emacs-lisp/package.el (package--prepare-dependencies): New function.
217 (package-buffer-info): Use it (bug#15108).
219 * icomplete.el (icomplete-completions): Make sure the prefix is already
220 displayed elsewhere before hiding it.
222 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
224 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
225 open-paren tokens when preceded by a open-paren, too.
226 (ruby-smie-rules): Handle virtual indentation after open-paren
227 tokens specially. If there is code between it and eol, return the
228 column where is starts (Bug#16118).
230 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
232 * progmodes/cfengine.el: Fix `add-hook' doc.
233 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
234 (cfengine3--current-word): Fix parameters.
235 (cfengine3-make-syntax-cache): Simplify further.
236 (cfengine3-completion-function, cfengine3--current-function):
237 Use `assq' for symbols.
238 (cfengine3--current-function): Fix `cfengine3--current-word' call.
240 2013-12-13 Glenn Morris <rgm@gnu.org>
242 * loadup.el (load-path): Warn if site-load or site-init changes it.
243 No more need to reset it when bootstrapping.
245 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
247 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
248 locations for cf-promises.
249 (cfengine-mode-syntax-functions-regex): New caching variable.
250 (cfengine3-fallback-syntax): Fallback syntax for cases where
251 cf-promises doesn't run.
252 (cfengine3--current-word): Reimplement using
253 `cfengine-mode-syntax-functions-regex'.
254 (cfengine3-completion-function, cfengine3--current-function):
255 Use `cfengine3-make-syntax-cache' directly.
256 (cfengine3-clear-syntax-cache): New function.
257 (cfengine3-make-syntax-cache): Simplify and create
258 `cfengine-mode-syntax-functions-regex' on demand.
259 (cfengine3-format-function-docstring): Don't call
260 `cfengine3-make-syntax-cache' explicitly.
262 2013-12-13 Martin Rudalics <rudalics@gmx.at>
264 Fix windmove-find-other-window broken after pixelwise resizing
266 * windmove.el (windmove-other-window-loc): Revert change from
268 (windmove-find-other-window): Call window-in-direction.
269 * window.el (window-in-direction): New arguments SIGN, WRAP and
270 MINI to emulate original windmove-find-other-window behavior.
272 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
274 * simple.el (blink-matching--overlay): New variable.
275 (blink-matching-open): Instead of moving point, highlight the
276 matching paren with an overlay
277 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
279 * faces.el (paren-showing-faces, show-paren-match)
280 (show-paren-mismatch): Move from paren.el.
282 2013-12-13 Leo Liu <sdl.web@gmail.com>
284 * indent.el (indent-region): Disable progress reporter in
285 minibuffer. (Bug#16108)
287 * bindings.el (visual-order-cursor-movement): Fix version.
289 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
291 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
292 Also match after beginning of line.
293 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
294 files. Thanks to Russell Sim. (Bug#15378)
296 2013-12-13 Juri Linkov <juri@jurta.org>
298 * simple.el <Keypad support>: Remove key bindings duplicated
299 with bindings.el. (Bug#14397)
301 2013-12-13 Juri Linkov <juri@jurta.org>
303 * comint.el (comint-mode-map): Replace `delete-char' with
304 `delete-forward-char'. (Bug#16109)
306 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
308 * progmodes/python.el (python-indent-calculate-indentation):
309 Fix de-denters cornercase. (Bug#15731)
311 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
313 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
314 (advice--make): Pay attention to `depth'.
315 (advice--make-1): Don't autoload commands eagerly.
316 * emacs-lisp/elp.el (elp-instrument-function):
317 * emacs-lisp/trace.el (trace-function-internal):
318 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
320 * iswitchb.el (iswitchb-mode): Don't belittle ido.
322 2013-12-12 Eli Zaretskii <eliz@gnu.org>
324 * term/w32-win.el (w32-handle-dropped-file):
325 * startup.el (normal-top-level):
326 * net/browse-url.el (browse-url-file-url):
327 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
328 decode file names using 'utf-8' rather than
329 file-name-coding-system.
331 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
333 * progmodes/python.el (python-indent-context)
334 (python-indent-calculate-indentation): Fix auto-identation
335 behavior for comment blocks. (Bug#15916)
337 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
339 * progmodes/python.el (python-indent-calculate-indentation):
340 When determining indentation, don't treat "return", "pass", etc., as
341 operators when they are just string constituents. (Bug#15812)
343 2013-12-12 Juri Linkov <juri@jurta.org>
345 * uniquify.el (uniquify-buffer-name-style): Change default to
346 `post-forward-angle-brackets'.
348 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
349 `uniquify'. Change default to `post-forward-angle-brackets'.
351 2013-12-11 Glenn Morris <rgm@gnu.org>
353 * emacs-lisp/package.el (finder-list-matches):
354 Autoload rather than falsely declaring.
356 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
358 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
359 (eww-mode-map): Use them.
361 2013-12-11 Martin Rudalics <rudalics@gmx.at>
363 * window.el (display-buffer-in-side-window): Fix doc-string
366 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
368 * vc/vc-git.el: Silence byte-compiler warnings.
369 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
370 (log-edit-set-header): Declare.
372 2013-12-11 Eli Zaretskii <eliz@gnu.org>
374 * Makefile.in (custom-deps, finder-data): Run output file names
375 through unmsys--file-name. (Bug#16099)
377 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
379 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
380 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
382 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
383 instead of deleting the selection "by hand" (bug#16098).
384 Rely on insert-for-yank to yank rectangles.
385 (cua-highlight-region-shift-only): Mark obsolete.
386 (cua-mode): Don't enable/disable transient-mark-mode,
387 shift-select-mode (cua-mode works both with and without them), and
388 pc-selection-mode (obsolete).
389 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
390 (cua--deactivate-rectangle): Deactivate it.
392 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
393 (delete-selection-helper): Make sure yank starts at the top of the
395 (minibuffer-keyboard-quit): Use region-active-p.
397 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
399 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
400 to `delete' (bug#16109).
402 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
404 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
405 info manual and show keybindings and set `:group' keyword.
407 2013-12-11 Juri Linkov <juri@jurta.org>
409 * delsel.el (delete-active-region): Let-bind `this-command'
410 to prevent `kill-region' from changing its original value.
411 (delete-selection-helper): Handle `overwrite-mode' for the type
412 `kill' exactly the same way as for the type `t'.
413 (insert-char, quoted-insert, reindent-then-newline-and-indent):
414 Support more commands. (Bug#13312)
416 2013-12-11 Juri Linkov <juri@jurta.org>
418 * bindings.el: Map kp keys to non-kp keys systematically
419 with basic modifiers control, meta and shift. (Bug#14397)
421 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
423 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
424 "Close browser" menu items. Fix wrong function of "List
427 2013-12-11 Juri Linkov <juri@jurta.org>
429 * misearch.el (multi-isearch-buffers): Set the value of
430 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
431 arg of isearch-forward to t.
432 (multi-isearch-buffers-regexp): Set the value of
433 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
434 arg of isearch-forward-regexp to t.
435 (multi-isearch-files): Set the value of
436 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
437 arg of isearch-forward to t.
438 (multi-isearch-files-regexp): Set the value of
439 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
440 arg of isearch-forward-regexp to t. (Bug#16035)
442 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
443 arg of isearch-forward to t.
444 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
445 arg of isearch-forward-regexp to t.
446 (dired-isearch-filter-filenames): Remove unnecessary check for
447 `dired-isearch-filenames'.
449 * comint.el (comint-history-isearch-backward):
450 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
451 (comint-history-isearch-backward-regexp):
452 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
454 2013-12-10 Eli Zaretskii <eliz@gnu.org>
456 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
457 unmsys--file-name. (Bug#16099)
459 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
461 * emacs-lisp/package.el (package-keyword-button-action):
462 Remove finder.el require dependency.
464 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
466 * emacs-lisp/package.el: Require finder.el.
467 (describe-package-1): Add keyword buttons.
468 (package-make-button): New convenience function.
469 (package-keyword-button-action): Keyword button action using
470 `finder-list-matches'
472 2013-12-09 Eli Zaretskii <eliz@gnu.org>
474 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
477 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
479 * autorevert.el (auto-revert-notify-add-watch): Do not handle
482 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
484 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
485 after the end of a percent literal.
487 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
489 * progmodes/ruby-mode.el (ruby-forward-string): Document.
490 Handle caret-delimited strings (Bug#16079).
492 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
494 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
495 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
496 `ruby-parse-partial' (Bug#16078).
498 2013-12-09 Leo Liu <sdl.web@gmail.com>
500 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
502 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
504 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
505 (js-switch-indent-offset): New option.
506 (js--proper-indentation): Use it. And handle the case when
507 "default" is actually a key in an object literal.
508 (js--same-line): New function.
509 (js--multi-line-declaration-indentation): Use it.
510 (js--indent-in-array-comp, js--array-comp-indentation):
512 (js--proper-indentation): Use them, to handle array comprehension
515 2013-12-08 Leo Liu <sdl.web@gmail.com>
517 * progmodes/flymake.el (flymake-highlight-line): Re-write.
518 (flymake-make-overlay): Remove arg MOUSE-FACE.
519 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
521 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
523 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
525 (redisplay-highlight-region-function): Use it.
527 * emulation/cua-base.el (cua--explicit-region-start)
528 (cua--last-region-shifted): Remove.
529 (cua--deactivate): Use deactivate-mark.
530 (cua--pre-command-handler-1): Don't handle shift-selection.
531 (cua--post-command-handler-1): Don't change transient-mark-mode.
532 (cua--select-keymaps): Use region-active-p rather than
533 cua--explicit-region-start or cua--last-region-shifted.
534 (cua-mode): Enable shift-select-mode.
536 2013-12-08 Leo Liu <sdl.web@gmail.com>
538 * progmodes/flymake.el (flymake-popup-current-error-menu):
539 Rename from flymake-display-err-menu-for-current-line. Reimplement.
540 (flymake-posn-at-point-as-event, flymake-popup-menu)
541 (flymake-make-emacs-menu): Remove. (Bug#16077)
543 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
545 * rect.el (rectangle-mark-mode): Activate mark even if
546 transient-mark-mode is off (bug#16066).
547 (rectangle--highlight-for-redisplay): Fix boundary condition when point
548 is > mark and at bolp.
550 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
551 (region-extract-function): Use it.
552 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
553 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
555 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
556 kill-ring-save, kill-region, delete-char, delete-forward-char.
557 Ignore self-insert-iso.
559 * emulation/cua-gmrk.el (cua--init-global-mark):
560 Ignore `self-insert-iso'.
562 * emulation/cua-base.el (cua--prefix-copy-handler)
563 (cua--prefix-cut-handler): Rely on region-extract-function rather than
564 checking cua--rectangle.
565 (cua-delete-region): Use region-extract-function.
566 (cua-replace-region): Delete function.
567 (cua-copy-region, cua-cut-region): Obey region-extract-function.
568 (cua--pre-command-handler-1): Don't do the delete-selection thing.
569 (cua--self-insert-char-p): Ignore `self-insert-iso'.
570 (cua--init-keymaps): Don't remap delete-selection commands.
571 (cua-mode): Use delete-selection-mode instead of rolling our own
574 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
575 Obey region-extract-function.
577 Make registers and delete-selection-mode work on rectangles.
578 * register.el (describe-register-1): Don't modify the register's value.
579 (copy-to-register): Obey region-extract-function.
580 * delsel.el (delete-active-region): Obey region-extract-function.
582 2013-12-08 Leo Liu <sdl.web@gmail.com>
584 * progmodes/flymake.el (flymake, flymake-error-bitmap)
585 (flymake-warning-bitmap, flymake-fringe-indicator-position)
586 (flymake-compilation-prevents-syntax-check)
587 (flymake-start-syntax-check-on-newline)
588 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
589 (flymake-start-syntax-check-on-find-file, flymake-log-level)
590 (flymake-xml-program, flymake-master-file-dirs)
591 (flymake-master-file-count-limit)
592 (flymake-allowed-file-name-masks): Relocate.
593 (flymake-makehash, flymake-float-time)
594 (flymake-replace-regexp-in-string, flymake-split-string)
595 (flymake-get-temp-dir): Remove.
596 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
597 (flymake-current-row, flymake-selected-frame)
598 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
599 related functions. (Bug#16077)
601 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
603 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
605 2013-12-07 Tassilo Horn <tsdh@gnu.org>
607 * help-fns.el (describe-function-1): Use new advice-* functions
608 rather than old ad-* functions. Fix function type description and
609 source links for advised functions and subrs.
611 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
613 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
615 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
617 * progmodes/compile.el (compilation-start):
618 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
620 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
621 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
623 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
625 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
626 Touch up the last change.
628 2013-12-06 Leo Liu <sdl.web@gmail.com>
630 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
631 (inferior-octave-startup): Always use "octave> " for prompt.
632 (octave-goto-function-definition)
633 (octave-sync-function-file-names)
634 (octave-find-definition-default-filename): Remove redundant backquotes.
636 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
638 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
640 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
641 where appropriate already.
642 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
643 end of method names (Bug#15874).
645 2013-12-06 Juri Linkov <juri@jurta.org>
647 * isearch.el (isearch--saved-overriding-local-map):
648 New internal variable.
649 (isearch-mode): Set it to the initial value of
650 `overriding-terminal-local-map'.
651 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
652 with `isearch--saved-overriding-local-map'. (Bug#16035)
654 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
656 * progmodes/octave.el (inferior-octave-completion-table):
657 Turn back into function, use `completion-table-with-cache'
658 (Bug#11906). Update all references.
660 * minibuffer.el (completion-table-with-cache): New function.
662 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
664 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
666 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
668 * net/eww.el (eww-current-source): New variable to store page
670 (eww-display-html, eww-mode, eww-save-history)
671 (eww-restore-history): Use it.
672 (eww-view-source): New command to view page source.
673 Opportunistically uses `html-mode' to highlight the buffer.
674 (eww-mode-map): Install it.
676 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
678 * net/dbus.el (dbus-unregister-service)
679 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
681 (dbus-unregister-service): Skip :serial entries in
682 `dbus-registered-objects-table'.
683 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
685 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
687 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
688 around keywords with extra `split-string' argument.
690 2013-12-04 Martin Rudalics <rudalics@gmx.at>
692 * windmove.el (windmove-other-window-loc): Handle navigation
693 between windows (excluding the minibuffer window - Bug#16017).
695 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
697 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
698 in D-Bus type syntax.
699 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
700 preserve unibyte strings. (Bug#16048)
702 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
704 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
705 Call force-mode-line-update is the proper buffer (bug#16042).
707 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
709 * vc/log-edit.el (log-edit-add-new-comment): Rename to
710 `log-edit-remember-comment', make argument optional. Adjust all
712 (log-edit-mode): Add `log-edit-remember-comment' to
713 `kill-buffer-hook' locally.
714 (log-edit-kill-buffer): Don't remember comment explicitly since
715 the buffer is killed anyway.
717 2013-12-04 Juri Linkov <juri@jurta.org>
719 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
720 add-hook and remove-hook for multi-buffer search. (Bug#16035)
722 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
724 * notifications.el (notifications-close-notification): Call the
725 D-Bus method with ID being a `:uint32'. (Bug#16030)
727 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
729 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
731 2013-12-03 Juri Linkov <juri@jurta.org>
733 * progmodes/compile.el (compilation-start): Rename window alist
734 entry `no-display-ok' to `allow-no-window'.
736 * simple.el (shell-command): Add window alist entry
737 `allow-no-window' to `display-buffer'.
738 (async-shell-command): Doc fix.
740 * window.el (display-buffer-no-window): New action function.
741 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
743 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
745 * vc/log-edit.el (log-edit-set-header): Extract from
746 `log-edit-toggle-header'.
747 (log-edit-extract-headers): Separate the summary, when extracted
748 from header, from the rest of the message with an empty line.
750 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
751 line, if present, to the Summary header.
753 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
755 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
756 in current-buffer (bug#16029).
758 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
760 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
761 (debugger-mode-map): Bind it.
762 (debugger--backtrace-base): New function.
763 (debugger-eval-expression): Use it.
764 (debugger-frame-number): Skip local vars when present.
765 (debugger--locals-visible-p, debugger--insert-locals)
766 (debugger--show-locals, debugger--hide-locals): New functions.
768 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
770 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
772 (tramp-get-remote-locale): New defun.
773 (tramp-open-connection-setup-interactive-shell): Use it.
775 2013-12-02 Leo Liu <sdl.web@gmail.com>
777 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
779 * progmodes/sh-script.el (sh-shell-process):
780 * progmodes/octave.el (inferior-octave-process-live-p):
781 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
782 (gdb-inferior-io-sentinel):
783 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
785 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
787 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
788 `save-selected-window' to `log-edit-hide-buf'. This makes
789 `log-edit-show-files' idempotent.
790 (log-edit-show-files): Mark the new window as dedicated.
792 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
794 * vc/log-edit.el (log-edit-mode-map): Add binding for
795 `log-edit-kill-biffer'.
796 (log-edit-hide-buf): Add a FIXME comment.
797 (log-edit-add-new-comment): New function, extracted from
799 (log-edit-done, log-edit-add-to-changelog): Use it.
800 (log-edit-kill-buffer): New command.
802 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
804 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
805 instead of killing the buffer.
807 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
809 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
811 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
813 * net/eww.el (eww-form-checkbox-selected-symbol)
814 (eww-form-checkbox-symbol): New customizable variable.
815 (eww-form-checkbox, eww-toggle-checkbox):
816 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
818 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
819 (shr--get-media-pref, shr--extract-best-source): New function.
820 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
821 no :src tag was specified.
823 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
824 (eww-render): Handle `eww-use-external-browser-for-content-type'.
825 Use \\` to match beginning of string instead of ^.
826 (eww-browse-with-external-browser): Provide optional URL parameter.
827 (eww-render): Set `eww-current-title' back to "".
829 * net/shr.el (shr-tag-video): Display content for video if no
831 (shr-tag-audio): Add support for <audio> tag.
833 * net/eww.el (eww-text-input-types): : New const.
834 (eww-process-text-input): Treat input types in
835 `eww-text-input-types' as text.
837 * net/shr.el (shr-tag-table): Fix comment typo.
839 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
841 * net/eww.el (eww-follow-link): New command to avoid reloading
842 pages when we follow #target links (bug#15243).
843 (eww-quit): Special mode buffers shouldn't query before exiting.
845 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
847 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
850 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
852 * net/eww.el (eww-restore-history): Update the window title after
853 moving in the history.
854 (eww-current-dom): New variable used to save the current DOM.
856 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
858 * vc/log-edit.el (log-edit-mode-map): Add binding for
859 `log-edit-beginning-of-line'.
860 (log-edit-setup-add-author): New user option.
861 (log-edit-beginning-of-line): New command.
862 (log-edit): Move major mode call above the contents setup so that
863 the local variable values are already applied.
864 (log-edit): Only insert "Author: " when
865 `log-edit-setup-add-author' is non-nil.
866 (log-edit): When SETUP is non-nil, position point after ": "
867 instead of point-min.
869 2013-12-01 Glenn Morris <rgm@gnu.org>
871 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
873 2013-11-30 Eli Zaretskii <eliz@gnu.org>
875 * startup.el (fancy-splash-frame): On MS-Windows, trigger
876 redisplay to make sure the initial frame gets a chance to become
879 2013-11-30 Martin Rudalics <rudalics@gmx.at>
881 Support resizing frames and windows pixelwise.
882 * cus-start.el (frame-resize-pixelwise)
883 (window-resize-pixelwise): New entries.
884 * emacs-lisp/debug.el (debug): Use window-total-height instead
885 of window-total-size.
886 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
887 * help.el (describe-bindings-internal): Call help-buffer
888 (temp-buffer-max-width): New option.
889 (resize-temp-buffer-window, help-window-setup)
890 (with-help-window): Rewrite.
891 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
893 * window.el (frame-char-size, window-min-pixel-height)
894 (window-safe-min-pixel-height, window-safe-min-pixel-width)
895 (window-min-pixel-width, window-safe-min-pixel-size)
896 (window-combination-p, window-safe-min-size)
897 (window-resizable-p, window--size-to-pixel)
898 (window--pixel-to-size, window--resize-apply-p): New functions.
899 (window-safe-min-height): Fix doc-string.
900 (window-size, window-min-size, window--min-size-1)
901 (window-sizable, window-sizable-p, window--min-delta-1)
902 (window-min-delta, window--max-delta-1, window-max-delta)
903 (window--resizable, window--resizable-p, window-resizable)
904 (window-full-height-p, window-full-width-p, window-at-side-p)
905 (window--in-direction-2, window-in-direction)
906 (window--resize-reset-1, window--resize-mini-window)
907 (window-resize, window-resize-no-error)
908 (window--resize-child-windows-normal)
909 (window--resize-child-windows, window--resize-siblings)
910 (window--resize-this-window, window--resize-root-window)
911 (window--resize-root-window-vertically)
912 (adjust-window-trailing-edge, enlarge-window, shrink-window)
913 (maximize-window, minimize-window, delete-window)
914 (quit-restore-window, window-split-min-size, split-window)
915 (balance-windows-2, balance-windows)
916 (balance-windows-area-adjust, balance-windows-area)
917 (window--state-get-1, window-state-get, window--state-put-1)
918 (window--state-put-2, window-state-put)
919 (display-buffer-record-window, window--display-buffer):
920 Make functions handle pixelwise sizing of windows.
921 (display-buffer--action-function-custom-type)
922 (display-buffer-fallback-action):
923 Add display-buffer-in-previous-window.
924 (display-buffer-use-some-window): Resize window to height it had
926 (fit-window-to-buffer-horizontally): New option.
927 (fit-frame-to-buffer): Describe new values.
928 (fit-frame-to-buffer-bottom-margin): Replace with
929 fit-frame-to-buffer-margins.
930 (window--sanitize-margin): New function.
931 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
932 using window-text-pixel-size.
934 2013-11-30 Glenn Morris <rgm@gnu.org>
936 * emacs-lisp/bytecomp.el (byte-compile-form):
937 Make the `interactive-only' warning like the `obsolete' one.
938 * comint.el (comint-run):
939 * files.el (insert-file-literally, insert-file):
940 * replace.el (replace-string, replace-regexp):
941 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
942 (goto-line, insert-buffer, next-line, previous-line):
943 Tweak `interactive-only' spec.
945 Stop keeping (most) generated cedet grammar files in the repository.
946 * Makefile.in (semantic): New.
947 (compile-main): Depend on semantic.
949 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
951 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
952 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
954 * uniquify.el (uniquify-buffer-name-style): Change default.
956 * loadup.el: Preload "uniquify".
958 * time.el (display-time-update): Update all mode lines (bug#15999).
960 * electric.el (electric-indent-mode): Enable by default.
961 * loadup.el: Preload "electric".
963 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
965 * emacs-lisp/helpers.el (string-empty-p): New function.
966 (string-blank-p): New function.
968 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
970 * imenu.el (imenu--index-alist): Add missing dot to the docstring
973 2013-11-29 Andreas Politz <politza@fh-trier.de>
974 * imenu.el (imenu--subalist-p): Don't error on non-conses and
975 allow non-lambda lists as functions.
976 (imenu--in-alist): Don't recurse into non-subalists.
977 (imenu): Don't pass function itself as an argument (Bug#14029).
979 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
981 * progmodes/python.el (python-mode-map): Remove binding for ":".
982 (python-indent-electric-colon): Remove command.
983 (python-indent-post-self-insert-function): Integrate the previous code
984 of python-indent-electric-colon. Make it conditional on
985 electric-indent-mode.
986 (python-mode): Add ?: to electric-indent-chars.
987 Move python-indent-post-self-insert-function to the end of
988 post-self-insert-hook.
990 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
992 * doc-view.el (doc-view-goto-page): Update mode-line.
994 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
996 2013-11-27 Glenn Morris <rgm@gnu.org>
998 * international/charprop.el, international/uni-bidi.el:
999 * international/uni-category.el, international/uni-combining.el:
1000 * international/uni-comment.el, international/uni-decimal.el:
1001 * international/uni-decomposition.el, international/uni-digit.el:
1002 * international/uni-lowercase.el, international/uni-mirrored.el:
1003 * international/uni-name.el, international/uni-numeric.el:
1004 * international/uni-old-name.el, international/uni-titlecase.el:
1005 * international/uni-uppercase.el:
1006 Remove generated files from VCS repository.
1008 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1010 * filenotify.el (file-notify-add-watch): Don't special-case
1011 w32notify when computing the directory to watch.
1013 2013-11-27 Glenn Morris <rgm@gnu.org>
1015 Make bootstrap without generated uni-*.el files possible again.
1016 * loadup.el: Update command-line-args checking for unidata-gen.
1017 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1018 * composite.el, international/characters.el:
1019 Handle unicode tables being undefined.
1021 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1022 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1023 (compile-main): Depend on leim rule.
1025 * loadup.el: Move leim-list.el to leim/ subdirectory.
1026 * startup.el (normal-top-level): No more leim directory.
1027 * international/ja-dic-cnv.el (skkdic-convert):
1028 Disable version-control and autoloads in output files.
1029 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1030 Disable version-control and autoloads in output files.
1031 * leim/quail: Move here from ../leim.
1032 * leim/quail/hangul.el (hangul-input-method-activate):
1033 Add autoload cookie.
1034 (generated-autoload-load-name): Set file-local value.
1035 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1036 (generated-autoload-load-name): Set file-local value.
1038 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1040 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1041 (eww-add-bookmark): ask confirmation when add to bookmarks
1042 (eww-quit): ask confirmation before quitting eww
1044 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1046 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1047 reading output from Diff on MS-Windows and MS-DOS.
1049 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1051 * emacs-lisp/helpers.el (string-reverse): New function.
1053 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1055 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1056 names on MS Windows, like "/[::1]:".
1058 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1061 2013-11-26 Glenn Morris <rgm@gnu.org>
1063 * progmodes/python.el (python-indent-guess-indent-offset):
1064 Avoid corner-case error. (Bug#15975)
1066 Preload leim-list.el. (Bug#4789)
1067 * loadup.el: Load leim-list.el when found.
1068 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1070 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1072 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1074 * emacs-lisp/helpers.el (string-join): New function.
1076 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1078 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1079 Mark as obsolete and replace it with a symbol property.
1080 (byte-compile-form): Use new 'interactive-only property.
1081 * comint.el, files.el, replace.el, simple.el:
1082 Apply new 'interactive-only properly.
1084 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1086 * window.el (display-buffer-at-bottom): Make sure that
1087 split-window-sensibly creates the new window on bottom
1090 2013-11-23 David Kastrup <dak@gnu.org>
1092 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1093 on the conflict markers when available.
1094 (smerge--get-marker): New function.
1095 (smerge-end-re, smerge-base-re): Add subgroup.
1097 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1099 * frame.el (handle-focus-in, handle-focus-out): Add missing
1102 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1104 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1105 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1107 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1109 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1110 (gomoku--last-pos): New var.
1111 (gomoku--intangible-chars): New const.
1112 (gomoku--intangible): New function.
1113 (gomoku-mode): Use it. Derive from special-mode.
1114 (gomoku-move-up): Adjust line count.
1115 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1116 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1117 Simplify accordingly.
1119 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1120 Remove blink-cursor code.
1121 (blink-cursor-timer-function, blink-cursor-suspend):
1122 Don't special-case GUIs.
1123 (blink-cursor-mode): Use focus-in/out-hook.
1125 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1127 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1128 work when annotation is invisible (Bug#13886).
1130 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1132 * json.el (json-alist-p): Only return non-nil if the alist has
1133 simple keys (Bug#13518).
1135 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1137 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1138 when control-statement is the first statement in a buffer (Bug#15956).
1140 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1142 * imenu.el (imenu-generic-skip-comments-and-strings):
1143 New option (Bug#15560).
1144 (imenu--generic-function): Use it.
1146 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1148 * minibuffer.el (completion--in-region-1): Scroll the correct
1151 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1153 * emacs-lisp/helpers.el: Add some string helpers.
1154 (string-trim-left): Removes leading whitespace.
1155 (string-trim-right): Removes trailing whitespace.
1156 (string-trim): Removes leading and trailing whitespace.
1158 * subr.el (string-suffix-p): New function.
1160 2013-11-23 Glenn Morris <rgm@gnu.org>
1162 * progmodes/python.el (python-shell-send-file):
1163 Add option to delete file when done. (Bug#15647)
1164 (python-shell-send-string, python-shell-send-region): Use it.
1166 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1168 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1169 to set buffer-read-only to t, never to nil. (Bug#15938)
1171 * textmodes/tex-mode.el (latex-noindent-environments):
1172 Add safe-local-variable property. (Bug#15936)
1174 2013-11-23 Glenn Morris <rgm@gnu.org>
1176 * textmodes/enriched.el (enriched-mode): Doc fix.
1177 * emacs-lisp/authors.el (authors-renamed-files-alist):
1178 Add enriched.doc -> enriched.txt.
1180 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1182 2013-11-22 Leo Liu <sdl.web@gmail.com>
1184 * progmodes/octave.el (inferior-octave-startup): Spit out error
1187 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1189 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1192 (ruby-encoding-magic-comment-style): Add :version.
1194 2013-11-22 Leo Liu <sdl.web@gmail.com>
1196 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1198 (octave-help-mode): Adapt to change to help-mode-finish to use
1199 derived-mode-p on 2013-09-17.
1200 (inferior-octave-prompt): Also match octave-gui.
1201 (octave-kill-process): Don't ask twice. (Bug#10564)
1203 2013-11-22 Leo Liu <sdl.web@gmail.com>
1205 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1206 (inferior-octave-startup, inferior-octave-check-process)
1207 (inferior-octave-track-window-width-change)
1208 (octave-completion-at-point, octave-eldoc-function): Use it.
1209 (octave-kill-process): Provide confirmation. (Bug#10564)
1211 2013-11-21 Leo Liu <sdl.web@gmail.com>
1213 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1214 Fix obsolete variable comment-use-global-state.
1216 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1218 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1219 Add `octave-source-file'.
1220 (octave-source-file): New function. (Bug#15935)
1222 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1224 * net/eww.el (eww-local-regex): New variable.
1225 (eww): Use it to detect localhost and similar.
1227 2013-11-21 Leo Liu <sdl.web@gmail.com>
1229 Add completion for command `ag'.
1230 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1231 (pcomplete/ag): New function.
1232 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1234 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1236 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1238 (make-obsolete): Remove interactive spec.
1240 2013-11-21 Glenn Morris <rgm@gnu.org>
1242 * startup.el (command-line-1): Use path-separator with -L.
1244 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1246 * emacs-lisp/package.el (describe-package-1): Add package archive
1249 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1251 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1252 Change default to "# encoding: %s" to differentiate it from the
1253 default Ruby encoding comment template.
1255 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1257 * ses.el (ses-mode): Doc fix. (Bug#14748)
1259 2013-11-20 Leo Liu <sdl.web@gmail.com>
1261 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1263 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1265 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1266 when rebase or bisect are in progress.
1268 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1270 * filenotify.el (file-notify-add-watch): Doc fix.
1272 2013-11-19 Leo Liu <sdl.web@gmail.com>
1274 * obsolete/rcompile.el: Mark obsolete.
1276 * progmodes/compile.el (compilation-start)
1277 (compilation-goto-locus, compilation-find-file):
1278 Pass no-display-ok and handle nil value from display-buffer.
1281 * window.el (display-buffer-alist, display-buffer): Document the
1282 new parameter no-display-ok. Return either a window or nil
1283 but never a non-window value.
1285 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1287 * electric.el (electric-indent-mode-map): Remove.
1288 (electric-indent-mode): Change the global-map instead (bug#15915).
1290 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1293 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1295 * emacs-lisp/nadvice.el (remove-function): Align with
1296 add-function's behavior.
1298 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1299 (gdb--string-regexp): New constant.
1300 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1301 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1302 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1304 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1305 Adjust use accordingly.
1306 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1308 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1310 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1311 interpolation curlies (Bug#15914).
1313 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1315 * calc/calc.el (calc-context-sensitive-enter): New variable.
1316 (calc-enter): Use `calc-context-sensitive-enter'.
1318 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1320 * progmodes/cfengine.el: Version bump.
1321 (cfengine-cf-promises): New defcustom to locate cf-promises.
1322 (cfengine3-vartypes): Add new "data" type.
1323 (cfengine3--current-word): New function to get current name-like
1325 (cfengine3--current-function): New function to look up a CFEngine
1326 function's definition.
1327 (cfengine3-format-function-docstring): New function.
1328 (cfengine3-make-syntax-cache): New function.
1329 (cfengine3-documentation-function): New function: ElDoc glue.
1330 (cfengine3-completion-function): New function: completion glue.
1331 (cfengine3-mode): Set `compile-command',
1332 `eldoc-documentation-function', and add to
1333 `completion-at-point-functions'.
1335 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1337 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1338 `tramp-current-connection'.
1340 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1342 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1343 nil/self/true/false with "end of symbol".
1345 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1347 * subr.el (version-regexp-alist): Fix a typo.
1349 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1351 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1352 "en_US.utf8" and "LC_CTYPE" to "".
1353 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1354 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1356 2013-11-15 Leo Liu <sdl.web@gmail.com>
1358 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1360 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1362 * progmodes/gud.el (ctl-x-map):
1363 Remove C-x SPC binding. (Bug#12342)
1364 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1366 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1368 * subr.el (version-regexp-alist):
1369 Recognize hg, svn and darcs versions as snapshot versions.
1371 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1372 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1373 (ruby--encoding-comment-required-p): Extract from
1374 `ruby-mode-set-encoding'.
1375 (ruby-mode-set-encoding): Add the ability to always insert an
1376 utf-8 encoding comment. Fix and simplify coding comment update
1379 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1381 * net/tramp-gvfs.el (top): Run init code only when
1382 `tramp-gvfs-enabled' is not nil.
1383 (tramp-gvfs-enabled): Check also :system bus.
1385 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1387 Sync with upstream verilog-mode revision 78e66ba.
1388 * progmodes/verilog-mode.el (verilog-end-of-defun)
1389 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1390 (verilog-get-end-of-defun): Remove unused argument.
1391 (verilog-comment-depth): Remove unused local `e'.
1392 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1393 Don't pass arg to verilog-get-end-of-defun.
1395 2013-11-14 Glenn Morris <rgm@gnu.org>
1397 * obsolete/assoc.el (aget): Prefix dynamic variable.
1399 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1401 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1403 * widget.el, hfy-cmap.el: Remove bogus package version number.
1405 2013-11-13 Glenn Morris <rgm@gnu.org>
1407 * replace.el (replace-eval-replacement):
1408 Try to give more helpful error message. (Bug#15836)
1410 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1411 (archive-7z-update): Avoid custom type mismatches.
1413 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1415 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1417 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1418 address can be empty.
1420 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1421 Accept nil SWITCHES.
1422 (tramp-gvfs-handle-write-region): Implement APPEND.
1424 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1426 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1427 binary "|" operator and closing block args delimiter.
1428 Remove FIXME comment referring to Ruby 1.8-only syntax.
1429 (ruby-smie--implicit-semi-p): Not after "|" operator.
1430 (ruby-smie--closing-pipe-p): New function.
1431 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1432 (ruby-smie-rules): Indent after "|".
1434 2013-11-12 Glenn Morris <rgm@gnu.org>
1436 * ps-print.el (ps-face-attribute-list):
1437 Handle anonymous faces. (Bug#15827)
1439 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1441 * window.el (display-buffer-other-frame): Fix doc-string.
1444 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1446 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1448 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1450 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1451 (tramp-sh-handle-file-local-copy): Don't write a message when
1452 saving temporary files.
1454 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1455 both directories are remote.
1456 (tramp-smb-handle-directory-files): Do not return double entries.
1457 Do not expand full file names.
1458 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1459 (tramp-smb-handle-write-region): Implement APPEND.
1460 (tramp-smb-get-stat-capability): Fix a stupid bug.
1462 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1464 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1466 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1468 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1469 throwing error over malformed let/let* (bug#15814).
1471 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1473 * iswitchb.el (iswitchb-mode): Mark obsolete.
1475 2013-11-11 Glenn Morris <rgm@gnu.org>
1477 * international/uni-bidi.el, international/uni-category.el:
1478 * international/uni-name.el, international/uni-numeric.el:
1479 Regenerate for Unicode 6.3.0.
1481 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1483 * net/tramp.el (tramp-methods):
1484 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1485 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1487 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1489 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1490 Force highlighting text after Summary keyword in doc face for rpm.
1492 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1494 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1495 available and the word has no wildcards, append one to the grep pattern.
1496 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1497 (ispell-complete-word): Call `ispell-lookup-words' with the value
1498 independent of `ispell-look-p'.
1500 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1502 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1504 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1507 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1509 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1510 (ruby-font-lock-keywords): Use backquote.
1512 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1514 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1515 (ruby-smie--backward-token): Only consider full-string matches.
1517 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1519 * faces.el (describe-face): Add distant-foreground.
1521 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1523 * progmodes/ruby-mode.el: Improve encoding comment handling.
1524 (ruby-encoding-magic-comment-style): New option.
1525 (ruby-custom-encoding-magic-comment-template): New option.
1526 (ruby--insert-coding-comment, ruby--detect-encoding):
1527 New functions extracted from `ruby-mode-set-encoding'.
1528 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1529 to control the style of the auto-inserted encoding comment.
1531 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1533 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1534 Use `smie-backward-sexp' with token argument.
1536 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1538 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1539 Remove instrumentation code.
1541 2013-11-08 Glenn Morris <rgm@gnu.org>
1543 * progmodes/autoconf.el (autoconf-mode):
1544 Tweak comment-start-skip. (Bug#15822)
1546 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1548 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1549 at bobp (bug#15826).
1550 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1552 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1554 * man.el (Man-start-calling): New macro, extracted from
1555 Man-getpage-in-background.
1556 (Man-getpage-in-background): Use it.
1557 (Man-update-manpage): New command.
1558 (Man-mode-map): Bind it.
1560 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1562 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1563 of "and", "or", "&&" and "||".
1564 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1565 argument. Prohibit opening curly brace because it could only be a
1566 block opener in that position.
1567 (ruby-smie--forward-token, ruby-smie--backward-token):
1568 Separate "|" from "&" or "*" going after it. That can happen in block
1570 (ruby-smie--indent-to-stmt): New function, seeks the end of
1571 previous statement or beginning of buffer.
1572 (ruby-smie-rules): Use it.
1573 (ruby-smie-rules): Check if there's a ":" before a curly block
1574 opener candidate; if there is, it's a hash.
1576 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1578 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1579 (cl--block-wrapper): Fix last accidental change.
1581 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1583 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1584 Instrument, in order to hunt failure on hydra.
1586 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1588 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1589 malformed bindings form (bug#15814).
1591 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1593 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1594 "." compared to " @ ". This incidentally fixes some indentation
1596 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1597 (ruby-smie-grammar): New tokens: "and" and "or".
1598 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1599 Exclude "and" and "or". Remove "do" in order to work around token
1601 (ruby-smie-rules): Add all infix tokens. Handle the case of
1602 beginning-of-buffer.
1604 2013-11-06 Glenn Morris <rgm@gnu.org>
1606 * Makefile.in (setwins_almost, setwins_for_subdirs):
1607 Avoid accidental matches.
1609 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1611 * menu-bar.el (popup-menu): Use key-binding.
1613 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1615 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1616 menus, support also the menus produced by minor modes.
1619 2013-11-06 Leo Liu <sdl.web@gmail.com>
1621 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1622 DISTANCE to bound the search. All uses changed. (Bug#15808)
1624 2013-11-06 Glenn Morris <rgm@gnu.org>
1626 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1627 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1628 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1630 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1632 * electric.el (electric-indent-just-newline): New command.
1633 (electric-indent-mode-map): New keymap.
1634 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1635 Re-add :group which weren't redundant.
1637 * electric.el (electric-indent-local-mode): New minor mode.
1638 (electric-indent-functions-without-reindent): New var.
1639 (electric-indent-post-self-insert-function): Use it.
1640 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1642 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1644 * international/quail.el (quail-help): Be more explicit about the
1645 meaning of the labels shown on the keys. (Bug#15800)
1647 * startup.el (normal-top-level): Load the subdirs.el files before
1648 setting the locale environment. (Bug#15805)
1650 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1652 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1653 via arguments so as to get the right ones (bug#15418).
1655 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1657 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1659 Fix problems found while writing a test suite.
1661 * net/tramp-compat.el (tramp-compat-load): New defun.
1662 * net/tramp.el (tramp-handle-load): Use it.
1664 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1665 "(numberp ok-if-already-exists)" correctly.
1667 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1669 * international/characters.el (glyphless-char-display-control):
1672 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1674 * progmodes/python.el (python-mode):
1675 * progmodes/scheme.el (scheme-mode):
1676 * progmodes/prolog.el (prolog-mode):
1677 * progmodes/ruby-mode.el (ruby-mode):
1678 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1679 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1681 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1683 * rect.el (rectangle--highlight-for-redisplay):
1684 * emacs-lisp/smie.el (smie--next-indent-change):
1685 Use buffer-chars-modified-tick.
1687 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1689 * electric.el (electric-indent-post-self-insert-function):
1690 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1692 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1694 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1696 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1698 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1701 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1703 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1705 * progmodes/python.el: Fix up last change.
1706 (python-shell--save-temp-file): New function.
1707 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1708 `string' comes from the current buffer.
1709 (python-shell-send-string-no-output): Remove `msg' arg.
1710 (python--use-fake-loc): New var.
1711 (python-shell-buffer-substring): Obey it. Try to compensate for the
1712 extra coding line added by python-shell--save-temp-file.
1713 (python-shell-send-region): Use python-shell--save-temp-file and
1714 python-shell-send-file directly. Add `nomain' argument.
1715 (python-shell-send-buffer): Use python-shell-send-region.
1716 (python-electric-pair-string-delimiter): New function.
1717 (python-mode): Use it.
1719 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1721 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1722 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1723 environment and decoding all of the default-directory's to here
1725 (command-line): Decode also argv[0].
1727 * loadup.el: Error out if default-directory is a multibyte string
1728 when we are dumping.
1730 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1732 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1734 * emacs-lisp/package.el (package-menu-mode)
1735 (package-menu--print-info, package-menu--archive-predicate):
1736 Add Archive column to package list.
1738 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1740 Fix problems found while writing a test suite.
1742 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1743 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1744 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1745 to nil when running original file name handler. Otherwise,
1746 there are problems with constructs like "$$FOO".
1748 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1751 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1753 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1755 * subr.el (version<, version<=, version=):
1756 Update docstrings with information for snapshot versions.
1758 * helpers.el: New library for misc helper functions.
1759 (hash-table-keys): New function returning a list of hash keys.
1760 (hash-table-values): New function returning a list of hash values.
1762 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1764 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1765 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1767 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1769 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1770 checking whether point is after a 1-letter word.
1772 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1774 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1775 Don't infloop when expanding region over `multiline' syntax-type that
1776 begins a line (bug#15778).
1778 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1780 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1781 Make it into a proper minor mode.
1782 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1783 (rectangle-mark-mode-map): New keymap.
1784 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1786 2013-11-04 Glenn Morris <rgm@gnu.org>
1788 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1790 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1792 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1793 (ruby-smie-rules): Use smie-rule-parent instead.
1795 * emacs-lisp/smie.el (smie-rule-parent): Always call
1796 smie-indent-virtual rather than only for hanging tokens.
1797 (smie--next-indent-change): New helper command.
1799 2013-11-03 Glenn Morris <rgm@gnu.org>
1801 * Makefile.in (abs_srcdir): Remove.
1802 (emacs): Unset EMACSLOADPATH.
1804 2013-11-02 Glenn Morris <rgm@gnu.org>
1806 * Makefile.in (EMACS): Use a relative filename.
1807 (abs_top_builddir): Remove.
1808 (custom-deps, finder-data, autoloads): Use --chdir.
1810 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1812 Use relative filenames in TAGS files.
1813 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1814 (lisptagsfiles4, TAGS): Use relative file names.
1815 (TAGS-LISP): Remove.
1816 (maintainer-clean): No more TAGS-LISP file.
1818 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1819 (lisptagsfiles4): Use absolute filenames again.
1820 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1821 Remove all *loaddefs files, not just the first. Remove esh-groups.
1822 (maintainer-clean): Delete TAGS, TAGS-LISP.
1824 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1826 * emacs-lisp/package.el (package-version-join):
1827 Recognize snapshot versions.
1829 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1831 * subr.el (version-regexp-alist): Add support for snapshot versions.
1833 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1835 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1836 New function, replacement for `smie-rule-parent' for when we want to
1837 skip over our direct parent if it's an assignment token..
1838 (ruby-smie-rules): Use it.
1840 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1842 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1843 unconditionally. Remove now unnecessary forward declarations.
1844 Remove XEmacs-specific setup.
1845 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1846 (ruby-font-lock-syntactic-keywords)
1847 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1848 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1849 (ruby-here-doc-end-syntax): Remove.
1850 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1851 defined as function.
1853 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1855 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1857 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1859 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1860 table and abbrev table, `define-derived-mode' does that for us
1863 2013-11-01 Glenn Morris <rgm@gnu.org>
1865 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1866 files is atomic for some time, so no parallel compilation issues).
1868 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1870 * faces.el (face-x-resources): Add :distant-foreground.
1871 (region): Use :distant-foreground for gtk and ns.
1873 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1875 Allow multiple bibliographies when BibLaTeX is used rather than
1877 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1878 (reftex-locate-bibliography-files): Us it.
1880 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1882 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1883 allow comments in pbm files.
1885 * term/w32-win.el (dynamic-library-alist): Support newer versions
1886 of libjpeg starting with v7: look only for the DLL from the
1887 version against which Emacs was built.
1888 Support versions of libpng beyond 1.4.x.
1889 Support libtiff v4.x.
1891 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1893 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1894 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1896 (ruby-deep-arglist): Add property :type.
1898 2013-10-31 Glenn Morris <rgm@gnu.org>
1900 * Makefile.in (custom-deps, finder-data): No need to setq the target
1901 variables, we are in the right directory and the defaults work fine.
1903 2013-10-30 Glenn Morris <rgm@gnu.org>
1905 * Makefile.in (autoloads): Do not use abs_lisp.
1907 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1908 `newline' does not respect `standard-output', so use `princ'.
1910 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1912 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1913 * buff-menu.el (Buffer-menu--unmark): New function.
1914 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1916 2013-10-30 Glenn Morris <rgm@gnu.org>
1918 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1920 * emacs-lisp/package.el (lm-homepage): Declare.
1922 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1925 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1927 * Makefile.in (finder-data, autoloads, update-subdirs)
1928 (compile-main, compile-clean, compile-always, bootstrap-clean):
1929 Check return value of cd.
1930 (compile-calc): Remove.
1932 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1934 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1936 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1937 (byte-compile-and-folded): New function.
1938 (=, <, >, <=, >=): Use it.
1940 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1941 (path-separator, null-device, buffer-file-coding-system)
1942 (lpr-headers-switches): Check system-type before modifying them.
1943 (find-buffer-file-type-coding-system): Mark obsolete.
1944 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1945 find-file-not-found-set-buffer-file-coding-system.
1946 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1947 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1948 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1949 (w32-direct-print-region-helper, w32-direct-print-region-function)
1950 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1951 * startup.el (normal-top-level-add-subdirs-to-load-path):
1952 * ps-print.el (ps-print-region-function):
1953 * lpr.el (print-region-function): Use new name.
1955 * subr.el (custom-declare-variable-early): Remove function.
1956 (custom-declare-variable-list): Remove var.
1957 (error, user-error): Remove `while' loop.
1958 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1959 (user-emacs-directory-warning, locate-user-emacs-file):
1961 * simple.el (read-quoted-char-radix, read-quoted-char):
1962 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1964 * custom.el (custom-declare-variable-list): Don't process
1965 custom-declare-variable-list.
1967 * progmodes/python.el (python-shell-get-buffer): New function.
1968 (python-shell-get-process): Use it.
1969 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1970 Python which encoding was used. Don't split-string since we only care
1971 about the first line. Return the temp-file, if applicable.
1972 (python-shell-send-region): Tell compile.el how to turn locations in
1973 the temp-file into locations in the source buffer.
1975 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1977 * subr.el (undefined): Add missing behavior from the C code for
1980 * rect.el: Use lexical-binding. Add new rectangular region support.
1981 (rectangle-mark): New command.
1982 (rectangle--region): New var.
1983 (deactivate-mark-hook): Reset rectangle--region.
1984 (rectangle--extract-region, rectangle--insert-for-yank)
1985 (rectangle--highlight-for-redisplay)
1986 (rectangle--unhighlight-for-redisplay): New functions.
1987 (region-extract-function, redisplay-unhighlight-region-function)
1988 (redisplay-highlight-region-function): Use them to handle
1990 * simple.el (region-extract-function): New var.
1991 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1992 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1993 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1994 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1995 (redisplay-unhighlight-region-function)
1996 (redisplay-highlight-region-function): New vars.
1997 (redisplay--update-region-highlight): New function.
1998 (pre-redisplay-function): Use it.
1999 (exchange-point-and-mark): Don't deactivate the mark before
2000 reactivate-it anyway.
2001 * comint.el (comint-kill-region): Remove yank-handler argument.
2002 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2003 (delete-char): Remove property, since it's now part of their
2005 (self-insert-iso): Remove property since this command doesn't exist.
2007 * emacs-lisp/package.el (package--download-one-archive)
2008 (describe-package-1): Don't query the user about final newline.
2010 2013-10-29 Daniel Colascione <dancol@dancol.org>
2012 * net/tramp.el (tramp-methods): Document new functionality.
2013 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2014 tramp-hostname-checker if method provides one instead of scanning
2015 argument list for "%h" to decide hostname acceptability.
2017 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2019 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2020 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2021 Handle COPY-CONTENTS. (Bug#15737)
2023 2013-10-28 Daiki Ueno <ueno@gnu.org>
2026 (epa-file-cache-passphrase-for-symmetric-encryption):
2027 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2029 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2031 * image.el (defimage):
2032 (image-load-path): Doc fixes.
2034 2013-10-27 Alan Mackenzie <acm@muc.de>
2036 Indent statements in macros following "##" correctly.
2037 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2038 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2040 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2042 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2044 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2046 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2047 after `=' is probably a new expression.
2049 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2051 * man.el (man-imenu-title): New option.
2052 (Man-mode-map): Add menu. (Bug#15722)
2053 (Man-mode): Add imenu to menu.
2055 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2057 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2058 specific in what the first arg can be: a non-keyword word,
2059 string/regexp/percent literal opener, opening paren, or unary
2060 operator followed directly by word.
2062 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2064 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2065 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2066 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2067 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2068 Remove vars, they do not apply any more.
2069 (prolog-mode-abbrev-table): Remove redundant declaration.
2070 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2071 (prolog-use-smie): Remove.
2072 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2073 supported by prolog-electric-if-then-else-flag.
2074 (prolog-mode-variables, prolog-menu): Use setq-local.
2075 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2076 Remove binding to `Backspace' since this key doesn't exist anyway.
2077 Remove bindings for electric self-inserting keys.
2078 (prog-mode): Assume it's defined.
2079 (prolog-post-self-insert): New function.
2080 (prolog-mode): Use it.
2081 (prolog-indent-line, prolog-indent-level)
2082 (prolog-find-indent-of-matching-paren)
2083 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2084 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2085 (prolog-goto-next-paren, prolog-in-string-or-comment)
2086 (prolog-tokenize, prolog-inside-mline-comment)
2087 (prolog-find-start-of-mline-comment): Remove functions.
2088 (prolog-find-unmatched-paren, prolog-clause-end)
2089 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2090 (prolog-electric--if-then-else): Rename from
2091 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2092 (prolog-tokenize-searchkey): Remove const.
2093 (prolog-clause-info): Use forward-sexp.
2094 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2095 (prolog-electric-if-then-else): Remove commands.
2096 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2097 for use in post-self-insert-hook.
2098 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2099 for use in post-self-insert-hook.
2100 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2101 for use in post-self-insert-hook.
2102 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2103 adapt it for use in post-self-insert-hook.
2105 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2107 * emacs-lisp/ert.el (ert-run-tests-interactively):
2108 Use `completing-read'. (Bug#9756)
2110 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2112 * simple.el (line-move): Call line-move-1 instead of
2113 line-move-visual when the current window hscroll is zero, but
2114 temporary-goal-column indicates we will need to hscroll as result
2115 of the movement. (Bug#15712)
2117 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2119 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2120 capitalization. Use :visible instead of :active.
2121 Fix `ruby-indent-exp' reference. Add menu items for the generic
2122 commands that are used with SMIE.
2123 (ruby-do-end-to-brace): Insert space after `{'.
2125 2013-10-25 John Anthony <john@jo.hnanthony.com>
2127 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2129 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2131 2013-10-25 Glenn Morris <rgm@gnu.org>
2133 * vc/vc.el (vc-print-log): Don't use a working revision unless
2134 one was explicitly specified. (Bug#15322)
2136 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2138 * subr.el (add-to-list): Preserve return value in compiler-macro
2141 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2143 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2144 result. Ask user to retry using '-all' flag. (Bug#15701)
2146 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2148 * emacs-lisp/smie.el: New smie-config system.
2149 (smie-config): New defcustom.
2150 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2151 (smie-config-guess, smie-config-save): New commands.
2152 (smie-config--mode-local, smie-config--buffer-local)
2153 (smie-config--trace, smie-config--modefuns): New vars.
2154 (smie-config--advice, smie-config--mode-hook)
2155 (smie-config--setter, smie-config-local, smie-config--get-trace)
2156 (smie-config--guess-value, smie-config--guess): New functions.
2157 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2158 text properties. Treat "string fence" syntax like string syntax.
2160 * progmodes/sh-script.el (sh-use-smie): Change default.
2161 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2162 (sh-var-value): Simplify by CSE.
2163 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2164 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2166 (sh-guess-basic-offset): Use cl-incf.
2167 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2169 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2171 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2174 2013-10-24 Glenn Morris <rgm@gnu.org>
2176 * Makefile.in (abs_top_srcdir): Remove.
2177 (update-subdirs): Use relative path to update-subdirs.
2179 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2181 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2182 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2183 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2184 Call unmsys--file-name before expand-file-name, not after it.
2186 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2188 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2189 (ert-test-skipped): New error.
2190 (ert-skip, ert-stats-skipped): New defuns.
2191 (ert--skip-unless): New macro.
2192 (ert-test-skipped): New struct.
2193 (ert--run-test-debugger, ert-test-result-type-p)
2194 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2195 (ert--stats-set-test-and-result, ert-char-for-test-result)
2196 (ert-string-for-test-result, ert-run-tests-batch)
2197 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2198 Handle skipped tests. (Bug#9803)
2200 2013-10-24 Glenn Morris <rgm@gnu.org>
2202 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2204 * Makefile.in (abs_top_srcdir): New, set by configure.
2205 (update-subdirs): Correct build-aux location.
2207 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2209 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2210 value, whether we could auto-deduce `backend', or not.
2212 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2213 with parameters" example. Simplify the "is it block or is it
2214 hash" check, but also make it more thorough.
2216 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2218 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2220 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2222 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2225 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2228 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2230 * progmodes/compile.el (compilation-directory-matcher)
2231 (compilation-page-delimiter):
2232 Support GNU Make-4.0 directory quoting. (Bug#15678)
2234 2013-10-23 Leo Liu <sdl.web@gmail.com>
2236 * ido.el (ido-tidy): Handle read-only text.
2238 2013-10-23 Glenn Morris <rgm@gnu.org>
2240 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2241 (emacs, compile, compile-always):
2242 Quote entities that might contain whitespace.
2243 (custom-deps, finder-data, autoloads): Use abs_lisp.
2244 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2245 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2246 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2248 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2250 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2251 Use `following-char'.
2253 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2255 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2256 * progmodes/ruby-mode.el (ruby-smie-rules):
2257 Remove corresponding workaround. Fix indentation rule of ";" so it
2258 also applies when ";" is the parent.
2260 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2262 * frame.el (display-screens, display-pixel-height)
2263 (display-pixel-width, display-mm-width, display-backing-store)
2264 (display-save-under, display-planes, display-color-cells)
2265 (display-visual-class, display-monitor-attributes-list):
2266 Mention the optional ‘display’ argument in doc strings.
2268 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2270 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2271 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2273 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2275 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2276 TODO. Add "." after " @ ".
2277 (ruby-smie--at-dot-call): New function. Checks if point at method
2278 call with explicit target.
2279 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2280 to the method name tokens when it precedes them.
2281 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2282 (ruby-smie-rules): Add rule for indentation before and after "."
2285 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2287 * textmodes/remember.el (remember-diary-extract-entries):
2290 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2293 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2295 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2296 (ruby-smie--implicit-semi-p): Add new operator chars.
2298 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2300 (ruby-smie--args-separator-p): Check that there's no newline
2301 between method call and its arguments.
2303 2013-10-20 Alan Mackenzie <acm@muc.de>
2305 Allow comma separated lists after Java "implements".
2307 * progmodes/cc-engine.el (c-backward-over-enum-header):
2309 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2310 from a "disallowed" list in enum fontification.
2312 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2314 * startup.el (default-frame-background-mode): Remove unused defvar.
2316 * progmodes/verilog-mode.el (verilog-mode): Don't set
2317 comment-indent-function globally.
2319 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2321 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2322 Move Info menu item creation to ns-win.el.
2324 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2327 * menu-bar.el: Move GNUStep specific menus...
2329 * term/ns-win.el (ns-initialize-window-system): ... to here.
2331 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2333 * simple.el (newline): Only run post-self-insert-hook when
2334 called interactively.
2336 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2338 * icomplete.el (icomplete-with-completion-tables): Add :version.
2340 2013-10-19 Alan Mackenzie <acm@muc.de>
2342 Fix fontification bugs with constructors and const.
2344 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2345 CASE 2) Remove the check for the absence of a suffix construct
2346 after a function declaration with only types (no identifiers) in
2347 the parentheses. Also, accept a function declaration with just a
2348 type inside the parentheses, if this type can be positively
2349 recognised as such, or if a prefix keyword like "explicit" nails
2350 down the construct as a declaration.
2352 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2354 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2355 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2356 the problem whereby selecting a menu item that leads to a
2357 minibuffer prompt moves the cursor out of the minibuffer window,
2358 making it hard to type at the prompt. Suggested by Stefan Monnier
2359 <monnier@iro.umontreal.ca>.
2361 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2363 * menu-bar.el: Don't make Services menu.
2365 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2367 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2368 (ffap-alist): Use ffap-c++-mode for c++-mode.
2369 (ffap-c++-path): New variable.
2370 (ffap-c++-mode): New function.
2372 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2374 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2376 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2378 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2379 introduced on 2013-09-08, which results in an infinite loop
2380 requesting a password.
2382 2013-10-18 Glenn Morris <rgm@gnu.org>
2384 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2386 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2388 Sync with upstream verilog-mode revision 1a6ecec7.
2389 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2390 (verilog-mode-release-date): Remove.
2391 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2392 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2393 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2394 (verilog-auto-tieoff-ignore-regexp)
2395 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2396 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2397 (verilog-signals-with, verilog-dir-cache-preserving)
2398 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2400 (verilog-case-fold): New option, to control case folding in
2401 regexp searches, bug597.
2402 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2403 (verilog-string-match-fold, verilog-in-paren-count)
2404 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2405 (verilog-at-close-struct-p): New functions.
2406 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2407 (verilog-forward-sexp, verilog-set-auto-endcomments):
2408 (verilog-leap-to-case-head): Handle "unique0" case.
2409 (verilog-in-constraint-re): New constant.
2410 (verilog-keywords, verilog-type-font-keywords):
2411 Add some SystemVerilog 1800-2012 keywords.
2412 (verilog-label-be): Remove unimplemented argument, bug669.
2413 (verilog-batch-execute-func): When batch expanding clear
2414 create-lockfiles to prevent spurious user locks when a file ends
2416 (verilog-calculate-indent, verilog-calc-1)
2417 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2418 (verilog-do-indent): Fix indentation of nested constraints
2420 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2421 (verilog-auto-inst-param): Use verilog-string-match-fold.
2422 (verilog-read-inst-module-matcher):
2423 Fix AUTOINST on gate primitives with #1.
2424 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2425 Reads all user-defined typed variables.
2426 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2427 (verilog-signals-matching-regexp)
2428 (verilog-signals-not-matching-regexp, verilog-auto):
2429 Respect verilog-case-fold.
2430 (verilog-diff-report): Fix line count.
2431 (verilog-auto-assign-modport): Remove unused local `modi'.
2432 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2433 better handle multidimensional arrays.
2434 Fix packed array ports misadding bit index in AUTOINST, bug637.
2435 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2436 to not double-declare existing outputs and inputs, respectively.
2437 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2438 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2439 (verilog-sk-uvm-component): New skeleton.
2440 (verilog-submit-bug-report): Add verilog-case-fold,
2441 remove verilog-mode-release-date.
2443 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2445 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2448 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2450 * textmodes/remember.el (remember): set buffer-offer-save in
2451 remember buffers (bug#13566).
2453 2013-10-18 Daniel Colascione <dancol@dancol.org>
2455 When evaluating forms in ielm, direct standard output to ielm
2456 buffer. Add new ielm-return-for-effect command. Remove trailing
2457 whitespace throughout.
2459 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2460 (ielm-return-for-effect): New command.
2461 (ielm-send-input): Accept optional `for-effect' parameter.
2462 (ielm-eval-input): Accept optional `for-effect' parameter.
2463 Bind `standard-output' to stream we create using
2464 `ielm-standard-output-impl'. Suppress printing result when
2466 (ielm-standard-output-impl): New function.
2467 (inferior-emacs-lisp-mode): Explain new features in documentation.
2469 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2473 * net/tramp.el (tramp-debug-message): Do not check for connection
2475 (tramp-message): Use "vector" connection property.
2477 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2478 (tramp-equal-remote, tramp-eshell-directory-change)
2479 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2480 (tramp-adb-handle-rename-file)
2481 * net/tramp-cmds.el (tramp-list-remote-buffers)
2482 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2483 * net/tramp-compat.el (tramp-compat-process-running-p)
2484 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2485 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2486 (tramp-gvfs-handle-rename-file)
2487 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2488 (tramp-set-file-uid-gid)
2489 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2490 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2493 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2494 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2495 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2496 (tramp-gw-open-network-stream): Suppress unrelated traces.
2498 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2499 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2500 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2501 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2502 connection property.
2504 * net/tramp-cache.el (top): Suppress traces when reading
2507 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2508 Refactor common code. Improve debug message.
2509 (tramp-maybe-open-connection)
2510 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2511 connection buffer too early.
2513 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2514 from `tramp-smb-actions-with-acl'.
2515 (tramp-smb-actions-set-acl): New defconst.
2516 (tramp-smb-handle-copy-directory)
2517 (tramp-smb-action-get-acl): New defun, renamed from
2518 `tramp-smb-action-with-acl'.
2519 (tramp-smb-action-set-acl): New defun.
2520 (tramp-smb-handle-set-file-acl): Rewrite.
2522 2013-10-17 Glenn Morris <rgm@gnu.org>
2524 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2526 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2528 * skeleton.el (skeleton-newline): Remove.
2529 (skeleton-internal-1): Use (insert "\n") instead.
2531 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2534 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2535 forward-sexp-function while we redo its job (bug#15613).
2537 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2539 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2540 represented by lists.
2542 2013-10-16 Glenn Morris <rgm@gnu.org>
2544 * tmm.el (tmm--history): New dynamic variable.
2545 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2547 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2549 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2550 (tramp-smb-errors): Add error messages.
2551 (tramp-smb-actions-with-acl): New defconst.
2552 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2553 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2554 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2555 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2556 (tramp-smb-get-stat-capability): Fix tests.
2558 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2560 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2563 2013-10-16 Glenn Morris <rgm@gnu.org>
2565 * ansi-color.el (ansi-color-drop-regexp):
2566 Add 1J, 1K, 2K. (Bug#15617)
2568 * files.el (hack-local-variables--warned-lexical): New.
2569 (hack-local-variables):
2570 Warn about misplaced lexical-binding. (Bug#15616)
2572 * net/eww.el (eww-render): Always set eww-current-url,
2573 and update header line. (Bug#15622)
2574 (eww-display-html): ... Rather than just doing it here.
2576 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2578 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2579 menu navigations commands.
2581 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2583 * progmodes/subword.el (subword-capitalize): Be careful when
2584 the search for [[:alpha:]] fails (bug#15580).
2586 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2588 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2589 to commands that scroll the menu.
2591 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2593 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2594 Handle methods ending with `?' and `!'.
2596 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2598 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2599 `japanese-cp932' to `cp932' to fix the problem where saving a
2600 source file written in Shift_JIS twice would end up having
2601 `coding: japanese-cp932' which Ruby could not recognize.
2602 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2603 in `ruby-encoding-map'.
2604 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2605 doesn't need to be explicitly declared in magic comment.
2606 (ruby-encoding-map): Add type declaration for better customize UI.
2608 2013-10-13 Glenn Morris <rgm@gnu.org>
2610 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2611 Occur buffers are read-only. http://bugs.debian.org/720775
2613 * emacs-lisp/authors.el (authors-fixed-entries):
2614 Comment out old alpha stuff.
2616 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2618 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2619 to `after-save-hook' instead of `before-save-hook'.
2620 (ruby-mode-set-encoding): Use the value of coding system used to
2621 write the file. Call `basic-save-buffer-1' after modifying the
2624 2013-10-13 Alan Mackenzie <acm@muc.de>
2626 Fix indentation/fontification of Java enum with
2627 "implements"/generic.
2629 * progmodes/cc-engine.el (c-backward-over-enum-header):
2630 Extracted from the three other places and enhanced to handle generics.
2631 (c-inside-bracelist-p): Uses new function above.
2632 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2634 (c-font-lock-enum-tail): Uses new function above.
2636 2013-10-13 Kenichi Handa <handa@gnu.org>
2638 * international/mule-cmds.el (select-safe-coding-system): Remove a
2639 superfluous condition in chekcing whether a coding system is safe
2642 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2644 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2646 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2648 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2650 2013-10-13 Glenn Morris <rgm@gnu.org>
2652 * menu-bar.el (menu-bar-update-buffers):
2653 Unify Buffers menu prompt string. (Bug#15576)
2655 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2657 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2659 (authors-fixed-entries): Use accented form of name.
2661 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2663 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2664 method calls (bug#15594).
2665 (ruby-smie--args-separator-p): New function.
2666 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2667 recognize paren-free method calls.
2669 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2670 internals of universal-argument.
2672 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2674 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2675 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2676 dropped menu on second mouse click on the menu bar.
2678 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2680 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2681 (explicit-shell-file-name): Declare.
2682 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2683 (sh-completion-at-point-function): New function.
2685 (sh-smie--keyword-p): Remove unused argument.
2686 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2688 (sh-set-shell): Always setup SMIE, even if we use the
2689 old indentation code.
2691 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2693 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2695 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2696 predicate would return nil are almost non-existent.
2697 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2699 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2700 cache also after commands that modify the buffer but don't move
2703 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2705 * env.el (substitute-env-in-file-name): New function.
2706 (substitute-env-vars): Extend the meaning of the optional arg.
2708 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2710 * term/w32-win.el (dynamic-library-alist): Define separate lists
2711 of GIF DLLs for versions before and after 5.0.0 of giflib.
2714 2013-10-10 João Távora <joaotavora@gmail.com>
2716 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2717 not locked, use last revision and current source as
2718 defaults. (Bug#15569)
2720 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2722 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2725 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2727 * window.el (pop-to-buffer-same-window): Fix doc-string.
2730 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2732 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2734 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2736 * calendar/icalendar.el (icalendar-import-file):
2737 Fix interactive spec. (Bug#15482)
2739 2013-10-10 Glenn Morris <rgm@gnu.org>
2741 * desktop.el (desktop-save): Default to saving in .emacs.d,
2742 since PWD is no longer in desktop-path by default. (Bug#15319)
2744 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2745 now that text mode has a menu with the same entry.
2746 (menu-bar-text-mode-auto-fill): Remove now unused func.
2747 * textmodes/text-mode.el (text-mode-map):
2748 Use auto-fill help text from menu-bar.el.
2750 2013-10-10 John Anthony <john@jo.hnanthony.com>
2752 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2754 2013-10-09 Juri Linkov <juri@jurta.org>
2756 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2757 instead of this-command-keys. Add universal-argument-more and
2758 universal-argument-minus to the list of prefix commands. (Bug#15568)
2760 2013-10-09 Glenn Morris <rgm@gnu.org>
2762 * vc/vc-svn.el (vc-svn-create-repo):
2763 Expand paths in file://... url. (Bug#15446)
2765 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2767 (authors): Remove unused local variables.
2769 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2771 * profiler.el: Create a more coherent calltree from partial backtraces.
2772 (profiler-format): Hide the tail with `invisible' so that C-s can still
2773 find the hidden elements.
2774 (profiler-calltree-depth): Don't recurse so enthusiastically.
2775 (profiler-function-equal): New hash-table-test.
2776 (profiler-calltree-build-unified): New function.
2777 (profiler-calltree-build): Use it.
2778 (profiler-report-make-name-part): Indent the calltree less.
2779 (profiler-report-mode): Add visibility specs for profiler-format.
2780 (profiler-report-expand-entry, profiler-report-toggle-entry):
2781 Expand the whole subtree when provided with a prefix arg.
2783 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2785 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2787 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2788 hanging iuwu-mod token.
2789 (ruby-smie--forward-token): Do not include a dot after a token in
2791 (ruby-smie--backward-token): Likewise.
2793 2013-10-08 Juri Linkov <juri@jurta.org>
2795 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2796 to isearch-other-control-char.
2797 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2798 and isearch-post-command-hook to post-command-hook.
2799 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2800 and isearch-post-command-hook from post-command-hook.
2801 (isearch-unread-key-sequence)
2802 (isearch-reread-key-sequence-naturally)
2803 (isearch-lookup-scroll-key, isearch-other-control-char)
2804 (isearch-other-meta-char): Remove functions.
2805 (isearch-pre-command-hook, isearch-post-command-hook):
2806 New functions based on isearch-other-meta-char rewritten
2807 relying on the new behavior of overriding-terminal-local-map
2808 that does not replace the local keymaps any more. (Bug#15200)
2810 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2812 Support menus on text-mode terminals.
2813 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2816 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2818 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2819 Move here from mouse.el.
2820 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2822 (tty-menu-navigation-map): New map for TTY menu navigation.
2824 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2826 * frame.el (display-mouse-p): Report text-mode mouse as available
2828 (display-popup-menus-p): Report availability if mouse is
2829 available; don't condition on window-system.
2831 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2832 (tty-menu-selected-face): New faces.
2834 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2836 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2837 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2838 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2839 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2841 (lisp-mode-variables): New `elisp' argument.
2842 (emacs-lisp-mode): Use it.
2843 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2844 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2846 * indent.el: Use lexical-binding.
2847 (indent-region): Add progress reporter.
2848 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2850 (indent--next-tab-stop): New function to implement this behavior.
2851 (tab-to-tab-stop, move-to-tab-stop): Use it.
2853 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2855 * indent.el (indent-rigidly--current-indentation): New function.
2856 (indent-rigidly-map): New var.
2857 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2859 2013-10-08 Bastien Guerry <bzg@gnu.org>
2861 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2863 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2865 * progmodes/perl-mode.el: Use lexical-binding.
2866 Remove redundant :group args.
2867 (perl-nochange): Change default to be closer to other major modes's
2869 (perl-indent-line): Don't consider text on current line as a
2870 valid beginning of function from which to indent.
2872 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2873 with more than one argument (bug#15538).
2875 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2877 * vc/pcvs.el: Use lexical-binding.
2878 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2879 environment of `eval'.
2880 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2881 than a list of expressions. Adjust callers.
2882 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2884 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2886 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2887 case of the dot in a chained method call being on the following line.
2889 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2891 * electric.el (electric-indent-inhibit): New var.
2892 (electric-indent-post-self-insert-function): Use it.
2893 * progmodes/python.el (python-mode): Set it.
2895 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2898 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2900 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2901 (css-mode): Use electric-indent-chars.
2903 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2904 (font-lock-beg, font-lock-end): Move before first use.
2905 (nxml-mode): Use syntax-propertize-function.
2906 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2907 (nxml-extend-after-change-region): Remove.
2908 * nxml/xmltok.el: Use lexical-binding.
2909 (xmltok-save): Use `declare'.
2910 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2911 * nxml/nxml-util.el: Use lexical-binding.
2912 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2914 * nxml/nxml-ns.el: Use lexical-binding.
2915 (nxml-ns-save): Use `declare'.
2916 (nxml-ns-prefixes-for): Avoid add-to-list.
2917 * nxml/rng-match.el: Use lexical-binding.
2918 (rng--ipattern): Use cl-defstruct.
2919 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2920 (rng-cons-group-after, rng-subst-group-after)
2921 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2922 Use closures instead of `(lambda...).
2924 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2926 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2929 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2930 Use `tramp-handle-insert-file-contents'.
2931 (tramp-gvfs-handle-insert-file-contents): Remove function.
2933 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2934 Use `save-restriction' in order to keep markers.
2936 * net/trampver.el: Update release number.
2938 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2940 * progmodes/compile.el (compilation-parse-errors):
2941 Use compilation--put-prop.
2942 (compilation--ensure-parse): Check compilation-multiline.
2944 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2946 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2949 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2951 * progmodes/ruby-mode.el: Fix recently added tests.
2952 (ruby-smie-grammar): Add - and +.
2953 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2954 (ruby-smie--backward-id): New functions.
2955 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2956 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2959 2013-10-07 Leo Liu <sdl.web@gmail.com>
2961 * register.el (register-preview-delay)
2962 (register-preview-functions): New variables.
2963 (register-read-with-preview, register-preview)
2964 (register-describe-oneline): New functions.
2965 (point-to-register, window-configuration-to-register)
2966 (frame-configuration-to-register, jump-to-register)
2967 (number-to-register, view-register, insert-register)
2968 (copy-to-register, append-to-register, prepend-to-register)
2969 (copy-rectangle-to-register): Use register-read-with-preview to
2970 read register. (Bug#15525)
2972 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2974 * net/network-stream.el (network-stream-open-starttls): Don't add
2975 --insecure if it's already present, because that gnutls-cli
2976 rejects getting that parameter twice.
2978 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2980 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2983 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2985 * newcomment.el (comment-use-global-state): Change default value
2986 to t, mark obsolete (Bug#15251).
2987 (comment-beginning): In addition to `comment-to-syntax', check the
2988 value of `comment-use-global-state'.
2990 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2992 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2993 (ruby-comment-column): Follow the global default, by default.
2994 (ruby-smie-grammar): Add assignment syntax.
2995 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2996 open-paren, a comma, or a \.
2997 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2998 and line continuations.
2999 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3000 followed by implicit semi-colons. Add rule for string concatenation
3001 and for indentation at BOB.
3002 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3004 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3005 calling next-sexp, since next-token may have skipped chars which
3006 next-sexp doesn't know should be skipped!
3008 2013-10-05 Leo Liu <sdl.web@gmail.com>
3010 * progmodes/octave.el (octave-send-region):
3011 Call compilation-forget-errors.
3013 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3015 * vc/vc-svn.el (vc-svn-find-admin-dir):
3016 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3017 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3018 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3019 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3021 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3023 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3025 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3027 * subr.el (read-passwd): Hide chars even when called within a context
3028 where after-change-functions is disabled (bug#15501).
3029 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3030 until we removed ourself from overriding-terminal-local-map.
3032 2013-10-04 Leo Liu <sdl.web@gmail.com>
3034 * progmodes/octave.el (inferior-octave-mode):
3035 Call compilation-forget-errors.
3037 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3039 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3041 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3043 * net/secrets.el (secrets-create-collection): Add optional
3044 argument ALIAS. Use proper Label keyword. Append ALIAS as
3045 dbus-call-method argument. (Bug#15516)
3047 2013-10-04 Leo Liu <sdl.web@gmail.com>
3049 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3050 (inferior-octave-compilation-font-lock-keywords): New variables.
3051 (compilation-error-regexp-alist)
3052 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3053 (inferior-octave-mode): Use compilation-shell-minor-mode.
3055 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3057 * minibuffer.el (completion--replace): Be careful that `end' might be
3060 2013-10-03 Daiki Ueno <ueno@gnu.org>
3062 Add support for package signature checking.
3063 * emacs-lisp/package.el (url-http-file-exists-p)
3064 (epg-make-context, epg-context-set-home-directory)
3065 (epg-verify-string, epg-context-result-for)
3066 (epg-signature-status, epg-signature-to-string)
3067 (epg-check-configuration, epg-configuration)
3068 (epg-import-keys-from-file): Declare.
3069 (package-check-signature): New user option.
3070 (package-unsigned-archives): New user option.
3071 (package-desc): Add `signed' field.
3072 (package-load-descriptor): Set `signed' field if .signed file exists.
3073 (package--archive-file-exists-p): New function.
3074 (package--check-signature): New function.
3075 (package-install-from-archive): Check package signature.
3076 (package--download-one-archive): Check archive signature.
3077 (package-delete): Remove .signed file.
3078 (package-import-keyring): New command.
3079 (package-refresh-contents): Import default keyring.
3080 (package-desc-status): Add "unsigned" status.
3081 (describe-package-1, package-menu--print-info)
3082 (package-menu-mark-delete, package-menu--find-upgrades)
3083 (package-menu--status-predicate): Support "unsigned" status.
3085 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3087 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3088 the new compilation scheme using the new byte-codes.
3090 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3091 (byte-pophandler): New byte codes.
3092 (byte-goto-ops): Adjust accordingly.
3093 (byte-compile--use-old-handlers): New var.
3094 (byte-compile-catch): Use new byte codes depending on
3095 byte-compile--use-old-handlers.
3096 (byte-compile-condition-case--old): Rename from
3097 byte-compile-condition-case.
3098 (byte-compile-condition-case--new): New function.
3099 (byte-compile-condition-case): New function that dispatches depending
3100 on byte-compile--use-old-handlers.
3101 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3104 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3105 Optimize under `condition-case' and `catch' if
3106 byte-compile--use-old-handlers is nil.
3107 (disassemble-offset): Handle new bytecodes.
3109 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3111 * subr.el (error): Use `declare'.
3112 (decode-char, encode-char): Use advertised-calling-convention instead
3113 of the docstring to discourage use of the `restriction' arg.
3115 2013-10-03 Daiki Ueno <ueno@gnu.org>
3117 * epg.el (epg-verify-file): Add a comment saying that it does not
3118 notify verification error as a return value nor a signal.
3119 (epg-verify-string): Ditto.
3121 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3123 * progmodes/compile.el (compilation-start): Try globbing the arg to
3126 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3128 Sync with Tramp 2.2.8.
3130 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3131 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3132 * net/trampver.el: Update release number.
3134 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3136 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3137 and default-process-coding-system for darwin only.
3139 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3141 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3143 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3145 * vc/vc-git.el (vc-git-grep): Disable pager.
3147 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3149 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3150 Use :url instead of :homepage, as per
3151 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3153 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3154 non-nil, use `syntax-ppss' (Bug#15251).
3156 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3158 * progmodes/octave.el (inferior-octave-startup-file):
3159 Prefer ~/.emacs.d/init_octave.m.
3161 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3163 * emacs-lisp/package.el (package-desc-from-define):
3164 Accept additional arguments as plist, convert them to an alist and store
3165 them in the `extras' slot.
3166 (package-generate-description-file): Convert extras alist back to
3167 plist and append to the `define-package' form arguments.
3168 (package--alist-to-plist): New function.
3169 (package--ac-desc): Add `extras' slot.
3170 (package--add-to-archive-contents): Check if the archive-contents
3171 vector is long enough, and if it is, pass its `extras' slot value
3172 to `package-desc-create'.
3173 (package-buffer-info): Call `lm-homepage', pass the returned value
3174 to `package-desc-from-define'.
3175 (describe-package-1): Render the homepage button (Bug#13291).
3177 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3178 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3180 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3182 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3183 and default-process-coding-system to utf-8-unix (Bug#15402).
3185 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3187 * subr.el (looking-back): Do not recommend using looking-back.
3189 2013-09-28 Alan Mackenzie <acm@muc.de>
3191 Fix indentation/fontification of Java enum with "implements".
3193 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3194 regexp which matches "implements", etc., in Java.
3195 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3196 specifier clauses coming after "enum".
3197 * progmodes/cc-fonts.el (c-font-lock-declarations)
3198 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3201 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3203 * faces.el (region): Change ns_selection_color to
3204 ns_selection_fg_color, add ns_selection_bg_color.
3206 2013-09-28 Leo Liu <sdl.web@gmail.com>
3208 * progmodes/octave.el (inferior-octave-completion-table)
3209 (inferior-octave-completion-at-point): Minor tweaks.
3211 * textmodes/ispell.el (ispell-lookup-words): Rename from
3212 lookup-words. (Bug#15460)
3213 (lookup-words): Obsolete.
3214 (ispell-complete-word, ispell-command-loop): All uses changed.
3216 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3218 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3219 (octave-mode-menu): Add octave-send-buffer.
3220 (octave-send-buffer): New function.
3222 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3224 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3226 (octave-mode-menu): Add octave-lookfor.
3227 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3229 (octave-lookfor): New function.
3231 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3233 * emacs-lisp/cl-macs.el:
3234 (cl--loop-destr-temps): Remove.
3235 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3237 (cl--loop-set-iterator-function): New function.
3238 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3239 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3240 Bind `it' with `let' instead of substituting it with `cl-subst'.
3241 (cl--unused-var-p): New function.
3242 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3243 Eliminate some unused variable warnings (bug#15326).
3245 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3247 * doc-view.el (doc-view-scale-reset): Rename from
3248 `doc-view-reset-zoom-level'.
3249 (doc-view-scale-adjust): New command.
3250 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3251 `doc-view-scale-adjust'.
3253 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3255 * doc-view.el (doc-view-reset-zoom-level): New command.
3256 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3257 zoom commands (bug#15466).
3259 2013-09-26 Kenichi Handa <handa@gnu.org>
3261 * international/quail.el (quail-help): Make it not a command.
3263 2013-09-26 Leo Liu <sdl.web@gmail.com>
3265 * minibuffer.el (completion-all-sorted-completions): Make args
3266 optional as they are.
3268 2013-09-25 Daniel Colascione <dancol@dancol.org>
3270 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3271 specs are and that they're not evaluated.
3273 2013-09-24 Sam Steingold <sds@gnu.org>
3275 * midnight.el (clean-buffer-list-kill-regexps)
3276 (clean-buffer-list-kill-buffer-names): Update for the new Man
3277 buffer naming which includes the object name.
3279 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3281 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3282 (eshell-parse-command, eshell-parse-pipeline): Use it since
3283 eshell-separate-commands requires a dynamic scoped var.
3284 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3286 2013-09-23 Leo Liu <sdl.web@gmail.com>
3288 * autoinsert.el (auto-insert-alist): Make the value of
3289 lexical-binding match its file setting.
3291 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3293 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3295 * autoarg.el (autoarg-kp-digit-argument):
3296 * electric.el (Electric-command-loop):
3297 * kmacro.el (kmacro-step-edit-insert):
3298 Do not set universal-argument-num-events.
3300 2013-09-22 Leo Liu <sdl.web@gmail.com>
3302 * files.el (interpreter-mode-alist): Add octave.
3304 2013-09-21 Alan Mackenzie <acm@muc.de>
3306 C++: fontify identifier in declaration following "public:" correctly.
3307 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3308 to match "public", etc.
3309 (c-decl-prefix-re): Add ":" into the C++ value.
3310 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3311 bit. Add a check for a ":" preceded by "public", etc.
3313 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3315 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3316 recognized by GDB 7.5 and later.
3318 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3320 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3322 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3324 * subr.el (internal--call-interactively): New const.
3325 (called-interactively-p): Use it (bug#3984).
3327 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3329 * vc/pcvs.el (cvs-mode-ignore):
3330 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3331 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3333 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3335 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3336 (eshell-ls-orig-insert-directory): Remove.
3337 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3338 (eshell-ls-use-in-dired): Use advice-add/remove.
3339 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3340 Add `orig-fun' arg for use in :around advice.
3341 Make it check (redundantly) eshell-ls-use-in-dired.
3343 2013-09-19 Glenn Morris <rgm@gnu.org>
3345 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3347 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3349 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3351 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3353 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3354 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3355 (tramp-get-remote-python): New defuns.
3356 (tramp-get-remote-uid-with-perl)
3357 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3358 contributed by yary <not.com@gmail.com> (tiny change).
3359 (tramp-get-remote-uid-with-python)
3360 (tramp-get-remote-gid-with-python): New defuns. Python code
3361 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3362 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3364 2013-09-19 Glenn Morris <rgm@gnu.org>
3366 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3368 * eshell/em-unix.el (eshell-remove-entries):
3369 Rename argument to avoid name-clash with global `top-level'.
3371 * eshell/esh-proc.el (eshell-kill-process-function):
3372 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3373 (eshell-reset-after-proc): Remove unused arg `proc'.
3375 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3376 (directory-files-and-attributes): Mark unused arg.
3378 * eshell/em-unix.el (eshell-remove-entries):
3379 Remove unused arg `path'. Update callers.
3381 * eshell/em-hist.el (eshell-hist-parse-arguments):
3382 Remove unused arg `silent'. Update callers.
3384 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3385 Fix (f)boundp mix-up.
3387 * eshell/em-smart.el (eshell-smart-scroll-window)
3388 (eshell-disable-after-change):
3389 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3391 2013-09-18 Alan Mackenzie <acm@muc.de>
3393 Fix fontification of type when followed by "const".
3394 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3395 "known" types from fontification.
3397 2013-09-18 Glenn Morris <rgm@gnu.org>
3399 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3400 (chart-face-list): Drop Emacsen without display-color-p.
3402 * net/eww.el (libxml-parse-html-region): Declare.
3403 (eww-display-html): Explicit error if no libxml2 support.
3405 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3407 * image.el (image-type-from-buffer, image-multi-frame-p):
3408 Remove --without-x warning/error.
3410 * mouse.el (mouse-yank-primary):
3411 * term.el (term-mouse-paste):
3412 Reorder to silence --without-x compilation.
3414 * mpc.el (doc-view-mode): Silence --without-x compilation.
3416 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3417 Silence --without-x compilation.
3419 * progmodes/gud.el (gud-find-file, gud-mode):
3420 Silence --without-x compilation.
3421 (tooltip-mode): Declare.
3423 * wdired.el (dired-backup-overwrite): Remove declaration.
3424 (wdired-mode-map): Add doc string.
3426 * custom.el (x-get-resource): Declare.
3428 * eshell/em-glob.el (ange-cache):
3429 * eshell/em-unix.el (ange-cache): Declare.
3431 * faces.el (x-display-list, x-open-connection, x-get-resource):
3434 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3435 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3438 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3440 * net/gnutls.el (gnutls-log-level): Declare.
3442 * net/shr.el (image-size, image-animate): Declare.
3444 * simple.el (font-info): Declare.
3446 * subr.el (x-popup-dialog): Declare.
3448 * term/common-win.el (x-select-enable-primary)
3449 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3452 * term/ns-win.el (x-handle-args): Declare.
3454 * term/x-win.el (x-select-enable-clipboard): Declare.
3456 * term/w32-win.el (create-default-fontset): Declare.
3458 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3461 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3462 (fit-frame-to-buffer): Explicit error if --without-x.
3463 (mouse-autoselect-window-select): Silence compiler.
3465 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3467 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3468 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3469 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3470 * eshell/esh-util.el (eshell-sublist):
3471 Remove unused local variables.
3473 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3475 * textmodes/two-column.el: Make 2C-split work for --without-x.
3476 (scroll-bar-columns): Autoload.
3477 (top-level): Require fringe when compiling.
3479 2013-09-18 Leo Liu <sdl.web@gmail.com>
3481 * subr.el (add-hook): Robustify to handle closure as well.
3483 2013-09-17 Glenn Morris <rgm@gnu.org>
3485 * simple.el (messages-buffer-mode-map): Unbind "g".
3487 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3489 * help-mode.el (help-mode-finish): Use derived-mode-p.
3490 Remove obsolete highlighting.
3492 * play/life.el (life-mode): Use define-derived-mode. Derive from
3494 (life): Let-bind inhibit-read-only.
3495 (life-setup): Avoid `setq'. Use `life-mode'.
3497 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3498 which should not be needed any more.
3499 (package-menu-refresh, package-menu-describe-package): Use user-error.
3501 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3502 (eshell-post-rewrite-command-hook): Make obsolete.
3503 (eshell-parse-command): Simplify.
3504 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3505 (eshell--cmd): Declare.
3506 (eshell-parse-pipeline): Remove unused var `final-p'.
3507 Pass a dynvar to eshell-post-rewrite-command-hook.
3508 Implement the new eshell-post-rewrite-command-function.
3509 (eshell-invoke-directly): Remove unused arg `input'.
3510 * eshell/esh-io.el (eshell-io-initialize):
3511 Use eshell-post-rewrite-command-function (bug#15399).
3512 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3513 adjust to new calling convention.
3514 (eshell-create-handles): Rename args to avoid clashing with dynvar
3517 2013-09-17 Glenn Morris <rgm@gnu.org>
3519 * simple.el (messages-buffer-mode): New major mode.
3520 (messages-buffer): New function.
3521 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3522 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3523 (ert-run-test): Use `messages-buffer' function.
3524 (ert--force-message-log-buffer-truncation): Ignore read-only.
3525 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3526 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3528 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3530 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3532 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3534 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3536 * icomplete.el (icomplete-in-buffer): New var.
3537 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3538 vars and replace them with functions.
3539 (icomplete-minibuffer-setup): Adjust accordingly.
3540 (icomplete--completion-table, icomplete--completion-predicate)
3541 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3543 (icomplete-forward-completions, icomplete-backward-completions)
3544 (icomplete-simple-completing-p, icomplete-exhibit)
3545 (icomplete-completions): Use them.
3546 (icomplete--in-region-buffer): New var.
3547 (icomplete--in-region-setup): New function.
3548 (icomplete-mode): Use it.
3550 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3552 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3553 return args and options.
3554 (eshell-eval-using-options): Use the new return value of
3555 eshell--do-opts to set the options's vars in their scope.
3556 (eshell--set-option): Rename from eshell-set-option.
3558 (eshell--process-option): Rename from eshell-process-option.
3560 (eshell--process-args): Use an `opt-vals' alist to store the options's
3561 values during their processing and return them additionally to the
3564 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3566 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3567 continuation character an operator, as far as indentation is
3568 concerned (Bug#15369).
3570 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3572 * window.el (window--state-put-2): Don't process buffer state
3573 when buffer doesn't exist any more (Bug#15382).
3575 2013-09-15 Glenn Morris <rgm@gnu.org>
3577 * eshell/em-unix.el (eshell/rm):
3578 Make -f ignore missing files. (Bug#15373)
3580 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3581 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3582 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3584 2013-09-14 Glenn Morris <rgm@gnu.org>
3586 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3588 2013-09-13 Glenn Morris <rgm@gnu.org>
3590 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3591 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3593 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3595 * frame.el (x-focus-frame): Mark as declared in frame.c.
3597 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3599 * ls-lisp.el: Use advice-add.
3600 (original-insert-directory): Remove.
3601 (ls-lisp--insert-directory): Rename from insert-directory; add
3602 `orig-fun' argument.
3603 (insert-directory): Advise.
3605 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3607 * term.el (term-emulate-terminal): Decode the command string
3608 before passing it to term-command-hook. (Bug#15337)
3610 2013-09-13 Glenn Morris <rgm@gnu.org>
3612 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3614 * eshell/esh-ext.el (eshell-search-path): Declare.
3616 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3617 Otherwise an error occurs if eshell-dirs module not loaded.
3619 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3621 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3623 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3624 `tramp-check-proper-host'. Check for a valid method name.
3626 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3627 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3628 * net/tramp-sh.el (tramp-maybe-open-connection):
3629 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3631 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3632 also for hash values.
3634 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3636 * term/ns-win.el (parameters): Don't declare as dynamic.
3637 (before-make-frame-hook): Don't add ineffective function.
3639 * eshell/*.el: Use lexical-binding (bug#15231).
3641 2013-09-12 Kenichi Handa <handa@gnu.org>
3643 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3645 2013-09-12 Glenn Morris <rgm@gnu.org>
3647 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3648 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3650 * subr.el (do-after-load-evaluation): Also give compiler warnings
3651 when obsolete files are used (except by obsolete files).
3653 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3654 in the status output, assume `filename' is the first. (Bug#15322)
3656 * vc/vc.el (vc-deduce-fileset): Doc fix.
3658 * calc/calc-help.el (Info-goto-node):
3659 * progmodes/cperl-mode.el (Info-find-node):
3660 * vc/ediff.el (Info-goto-node): Update declarations.
3662 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3664 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3665 (vc-bzr-pull): Require vc-dispatcher.
3666 * vc/vc-git.el (vc-compilation-mode): Declare.
3667 (vc-git-pull): Require vc-dispatcher.
3669 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3671 * progmodes/octave.el (help-button-action): Declare.
3673 * shell.el (shell-directory-tracker): Output error as a message
3674 rather than just returning it as a string.
3675 (shell-process-pushd): Remove useless use of message.
3677 * dframe.el (dframe-timer-fn):
3678 * files.el (dir-locals-read-from-file):
3679 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3681 * reveal.el (reveal-post-command):
3682 * saveplace.el (load-save-place-alist-from-file):
3683 * shell.el (shell-resync-dirs):
3684 * w32-common-fns.el (x-get-selection-value):
3685 * emacs-lisp/copyright.el (copyright-find-copyright):
3686 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3687 * emulation/tpu-edt.el (tpu-copy-keyfile):
3688 * play/bubbles.el (bubbles--mark-neighbourhood):
3689 * progmodes/executable.el
3690 (executable-make-buffer-file-executable-if-script-p):
3691 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3693 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3695 Cleanup Eshell to rely less on dynamic scoping.
3696 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3697 last-value, and ext-command here. Bind `args' closer to `body'.
3698 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3699 (eshell--args): Declare new dynamic var.
3700 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3701 last-value, and ext-command. Pass `args' to `body'.
3702 (eshell-process-args): Bind eshell--args.
3703 (eshell-set-option): Use eshell--args.
3704 * eshell/eshell.el (eshell): Use derived-mode-p.
3705 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3706 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3707 (eshell-glob-function): Declare.
3708 * eshell/esh-util.el: Require cl-lib.
3709 (eshell-read-hosts-file): Avoid add-to-list.
3710 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3712 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3714 (eshell/diff): Remove unused var `err'.
3715 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3717 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3718 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3720 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3721 Move declaration before first use.
3722 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3723 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3726 2013-09-12 Glenn Morris <rgm@gnu.org>
3728 * term/ns-win.el (global-map): Remove binding for ispell-next,
3729 deleted 1999-05-29. (Bug#15357)
3731 2013-09-11 Glenn Morris <rgm@gnu.org>
3733 * echistory.el (electric-command-history): Remove call to deleted func.
3735 * play/landmark.el (landmark-mode): Fix typos.
3737 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3738 Check cvs-sort-ignore-file is bound.
3740 * savehist.el: No need for cl when compiling on Emacs.
3742 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3744 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3746 (eshell-self-insert-command, eshell-send-invisible):
3747 Remove unused argument.
3748 (eshell-handle-control-codes): Remove unused var `orig'.
3749 Avoid delete-backward-char.
3751 * files.el (set-auto-mode): Simplify a bit further.
3753 2013-09-11 Glenn Morris <rgm@gnu.org>
3755 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3756 (set-auto-mode): Don't regexp-quote elements.
3757 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3758 * progmodes/cc-mode.el (interpreter-mode-alist):
3759 * progmodes/ruby-mode.el (interpreter-mode-alist):
3760 Revert previous change.
3762 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3764 * play/snake.el (snake-mode):
3765 * play/mpuz.el (mpuz-mode):
3766 * play/landmark.el (lm-mode):
3767 * play/blackbox.el (blackbox-mode):
3768 * play/5x5.el (5x5-mode):
3769 * obsolete/options.el (Edit-options-mode):
3770 * net/quickurl.el (quickurl-list-mode):
3771 * net/newst-treeview.el (newsticker-treeview-mode):
3772 * mail/rmailsum.el (rmail-summary-mode):
3773 * mail/mspools.el (mspools-mode):
3774 * locate.el (locate-mode):
3775 * ibuffer.el (ibuffer-mode):
3776 * emulation/ws-mode.el (wordstar-mode):
3777 * emacs-lisp/debug.el (debugger-mode):
3778 * array.el (array-mode):
3779 * net/eudc.el (eudc-mode): Use define-derived-mode.
3780 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3781 Move initialization into declaration.
3782 (mairix-searches-mode): Use define-derived-mode.
3783 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3784 (eudc-edit-hotlist): Use dolist.
3785 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3786 (Man-mode): Use define-derived-mode.
3787 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3788 (Info-edit-mode): Use define-derived-mode.
3789 (Info-cease-edit): Use Info-mode.
3790 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3792 (eshell-mode): Use define-derived-mode.
3793 * chistory.el (command-history-mode-map): Rename from
3794 command-history-map.
3795 (command-history-mode): Use define-derived-mode.
3796 (Command-history-setup): Remove function.
3797 * calc/calc.el (calc-trail-mode-map): New var.
3798 (calc-trail-mode): Use define-derived-mode.
3799 (calc-trail-buffer): Set calc-main-buffer manually.
3800 * bookmark.el (bookmark-insert-annotation): New function.
3801 (bookmark-edit-annotation): Use it.
3802 (bookmark-edit-annotation-mode): Make it a proper major mode.
3803 (bookmark-send-edited-annotation): Use derived-mode-p.
3804 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3805 closer to its ideal place. Use \' to match EOS.
3807 * profiler.el (profiler-calltree-find): Use function-equal.
3809 2013-09-10 Glenn Morris <rgm@gnu.org>
3811 * files.el (interpreter-mode-alist): Convert to regexps.
3812 (set-auto-mode): Adapt for this. (Bug#15306)
3813 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3814 Comment out unused variable.
3815 * progmodes/cc-mode.el (interpreter-mode-alist):
3816 * progmodes/python.el (interpreter-mode-alist):
3817 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3818 * progmodes/sh-script.el (sh-set-shell):
3819 No longer use interpreter-mode-alist to get list of shells.
3821 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3823 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3825 * simple.el: Use set-temporary-overlay-map for universal-argument.
3826 (universal-argument-map): Don't use default-bindings (bug#15317).
3827 Bind switch-frame explicitly. Replace universal-argument-minus with
3828 a conditional binding.
3829 (universal-argument-num-events, saved-overriding-map): Remove.
3830 (restore-overriding-map): Remove.
3831 (universal-argument--mode): Rename from save&set-overriding-map,
3833 (universal-argument, universal-argument-more, negative-argument)
3834 (digit-argument): Adjust accordingly.
3835 (universal-argument-minus): Remove.
3836 (universal-argument-other-key): Remove.
3838 * subr.el (with-demoted-errors): Add `format' argument.
3840 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3842 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3843 `tramp-cleanup-connection'.
3845 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3846 parameters KEEP-DEBUG and KEEP-PASSWORD.
3848 * net/tramp.el (tramp-file-name-handler):
3849 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3850 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3851 (tramp-maybe-open-connection):
3852 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3853 Use `tramp-cleanup-connection'.
3855 * net/tramp-sh.el (tramp-maybe-open-connection):
3856 Catch 'uname-changed inside the progress reporter.
3858 2013-09-10 Glenn Morris <rgm@gnu.org>
3860 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3862 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3863 returns "alternate access method" in mode (eg "-rw-r--r--.").
3865 2013-09-08 Glenn Morris <rgm@gnu.org>
3867 * saveplace.el (load-save-place-alist-from-file):
3868 Demote errors. (Bug#15305)
3870 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3872 Improve compatibility with older Emacsen, and XEmacs.
3874 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3875 only if it is bound. It isn't for XEmacs.
3876 (with-tramp-progress-reporter): Do not let-bind `result'.
3877 This yields to scoping errors in XEmacs.
3878 (tramp-handle-make-auto-save-file-name): New function, moved from
3881 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3882 for `make-auto-save-file-name'.
3883 (tramp-adb--gnu-switches-to-ash):
3884 Use `tramp-compat-replace-regexp-in-string'.
3886 * net/tramp-cache.el (tramp-cache-print): Call
3887 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3889 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3890 bound. It isn't for XEmacs.
3892 * net/tramp-compat.el (tramp-compat-copy-file):
3893 Catch `wrong-number-of-arguments' error.
3894 (tramp-compat-replace-regexp-in-string): New defun.
3896 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3897 for `make-auto-save-file-name'.
3898 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3900 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3901 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3902 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3904 * net/tramp-gw.el (tramp-gw-open-network-stream):
3905 Use `tramp-compat-replace-regexp-in-string'.
3907 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3908 Call `tramp-handle-make-auto-save-file-name'.
3909 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3910 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3911 (tramp-sh-file-inotifywait-process-filter):
3912 Use `tramp-compat-replace-regexp-in-string'.
3913 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3915 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3916 for `make-auto-save-file-name'.
3917 (tramp-smb-handle-copy-directory):
3918 Call `tramp-compat-replace-regexp-in-string'.
3919 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3920 (tramp-smb-handle-copy-file): Improve error message.
3921 (tramp-smb-handle-rename-file): Rename directly only in case
3922 `newname' does not exist yet. This is a restriction of smbclient.
3923 (tramp-smb-maybe-open-connection): Rerun the function only when
3924 `auth-sources' is non-nil.
3926 2013-09-08 Kenichi Handa <handa@gnu.org>
3928 * international/characters.el: Set category "^" (Combining) for
3931 2013-09-07 Alan Mackenzie <acm@muc.de>
3933 Correctly fontify Java class constructors.
3934 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3936 (c-recognize-typeless-decls): Set the Java value to t.
3937 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3938 While handling a "(", add a check for, effectively, Java, and handle a
3939 "typeless" declaration there.
3941 2013-09-07 Roland Winkler <winkler@gnu.org>
3943 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3944 field subtitle for entry type book.
3946 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3948 * minibuffer.el: Make minibuffer-complete call completion-in-region
3949 rather than other way around.
3950 (completion--some, completion-pcm--find-all-completions):
3951 Don't delay signals when debugging.
3952 (minibuffer-completion-contents): Beware fields within the
3953 minibuffer contents.
3954 (completion-all-sorted-completions): Use defvar-local.
3955 (completion--do-completion, completion--cache-all-sorted-completions)
3956 (completion-all-sorted-completions, minibuffer-force-complete):
3957 Add args `beg' and `end'.
3958 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3959 (minibuffer-complete): Use completion-in-region.
3960 (completion-complete-and-exit): New fun, extracted from
3961 minibuffer-complete-and-exit.
3962 (minibuffer-complete-and-exit): Use it.
3963 (completion--complete-and-exit): Rename from
3964 minibuffer--complete-and-exit.
3965 (completion-in-region--single-word): New function, extracted from
3966 minibuffer-complete-word.
3967 (minibuffer-complete-word): Use it.
3968 (display-completion-list): Make `common-substring' argument obsolete.
3969 (completion--in-region): Call completion--in-region-1 instead of
3970 minibuffer-complete.
3971 (completion-help-at-point): Pass boundaries to
3972 minibuffer-completion-help as args rather than via an overlay.
3973 (completion-pcm--string->pattern): Use `any-delim'.
3974 (completion-pcm--optimize-pattern): New function.
3975 (completion-pcm--pattern->regex): Handle `any-delim'.
3976 * icomplete.el (icomplete-forward-completions)
3977 (icomplete-backward-completions, icomplete-completions):
3978 Adjust calls to completion-all-sorted-completions and
3979 completion--cache-all-sorted-completions.
3980 (icomplete-with-completion-tables): Default to t.
3981 * emacs-lisp/crm.el (crm--current-element): Rename from
3982 crm--select-current-element. Don't put an overlay but return the
3984 (crm--completion-command): Take two new args to bind to the boundaries.
3985 (crm-completion-help): Adjust accordingly.
3986 (crm-complete): Use completion-in-region.
3987 (crm-complete-word): Use completion-in-region--single-word.
3988 (crm-complete-and-exit): Use completion-complete-and-exit.
3990 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3992 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3995 2013-09-06 Juri Linkov <juri@jurta.org>
3997 * info.el (Info-display-images-node): When image file doesn't exist
3998 display text version of the image if it's provided in the Info file.
3999 Otherwise, display the location of missing image from SRC attribute.
4000 Add help-echo text property from ALT attribute. (Bug#15279)
4002 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4004 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4005 (edit-abbrevs-mode): Use define-derived-mode.
4007 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4008 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4010 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4011 Use define-derived-mode.
4013 * epg.el (epg-start-encrypt): Minor CSE simplification.
4015 2013-09-06 William Xu <william.xwl@gmail.com>
4017 * arc-mode.el: Add support for 7za (bug#15264).
4018 (archive-7z-program): New var.
4019 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4020 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4021 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4023 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4027 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4028 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4029 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4030 (tramp-postfix-host-format, tramp-file-name-regexp)
4031 (tramp-completion-file-name-regexp)
4032 (tramp-completion-dissect-file-name)
4033 (tramp-handle-substitute-in-file-name): Remove 'url case.
4034 (tramp-file-name-regexp-url)
4035 (tramp-completion-file-name-regexp-url): Remove constants.
4037 2013-09-06 Glenn Morris <rgm@gnu.org>
4039 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4041 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4043 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4044 keywords" below "here-doc beginnings" (Bug#15270).
4046 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4048 * subr.el (pop): Use `car-safe'.
4049 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4050 to detect unused `pop' return value.
4052 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4054 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4055 (python-fill-string): Remove unused var `marker'.
4056 (python-skeleton-add-menu-items): Remove unused var `items'.
4058 * international/mule-cmds.el: Require CL.
4059 (find-coding-systems-for-charsets): Avoid add-to-list.
4060 (sanitize-coding-system-list): New function, extracted from
4061 select-safe-coding-system-interactively.
4062 (select-safe-coding-system-interactively): Use it.
4063 (read-input-method-name): Accept symbols for `default'.
4065 * emacs-lisp/advice.el (defadvice): Add indent rule.
4067 2013-09-05 Daniel Hackney <dan@haxney.org>
4071 * net/browse-url.el:
4074 * net/eudcb-ldap.el:
4087 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4088 byte compiler. Remove some unused let-bound variables.
4090 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4092 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4093 a "ref-cell", since it gets better optimized (bug#14883).
4095 2013-09-05 Glenn Morris <rgm@gnu.org>
4097 * progmodes/cc-awk.el (c-forward-sws): Declare.
4099 2013-09-04 Glenn Morris <rgm@gnu.org>
4101 * generic-x.el [rul-generic-mode]: Require cc-mode.
4102 (c++-mode-syntax-table): Declare.
4103 (rul-generic-mode-syntax-table): Init in the defvar.
4105 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4107 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4108 (vc-do-command, vc-set-async-update):
4109 * vc/vc-mtn.el (vc-mtn-dir-status):
4110 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4111 (vc-hg-pull, vc-hg-merge-branch):
4112 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4113 (vc-git-merge-branch):
4114 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4115 (vc-cvs-dir-status-files):
4116 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4117 (vc-bzr-dir-status-files):
4118 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4119 * vc/vc-annotate.el: Use lexical-binding.
4120 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4121 (vc-sentinel-movepoint): Declare.
4122 (vc-annotate): Don't use `goto-line'.
4123 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4124 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4125 (vc-sentinel-movepoint): Declare.
4126 * vc/vc-svn.el: Use lexical-binding.
4127 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4129 * vc/vc-rcs.el: Use lexical-binding.
4131 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4132 `deleted'. Don't drop errors silently.
4134 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4136 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4138 * vc/vc.el (vc-ignore): Rewrite.
4139 (vc-default-ignore): New function.
4140 (vc-default-ignore-completion-table): Use find-ignore-file.
4142 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4143 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4144 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4145 Remove. Most code moved to vc.el.
4147 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4149 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4150 * net/tramp-smb.el (tramp-smb-get-file-entries):
4151 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4152 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4154 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4156 (eww-change-select): Remove unused var `properties'.
4157 (eww-make-unique-file-name): Remove unused var `base'.
4159 * finder.el (finder-compile-keywords): Don't mess with windows.
4161 * calculator.el (calculator-funcall): Fix typo in last change.
4163 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4165 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4166 <pkg>-autoloads.el file stop us.
4168 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4169 warnings, and factor out common code.
4171 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4173 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4174 two-character operators and whether the character preceding them
4175 changes their meaning (Bug#15208).
4177 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4179 Format code sent to Python shell for robustness.
4180 * progmodes/python.el (python-shell-buffer-substring):
4182 (python-shell-send-region, python-shell-send-buffer): Use it.
4184 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4186 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4187 * net/tramp.el (tramp-user-error): ... here.
4188 (tramp-find-method, tramp-check-proper-host)
4189 (tramp-dissect-file-name, tramp-debug-message)
4190 (tramp-handle-shell-command):
4191 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4192 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4194 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4196 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4198 * avoid.el (mouse-avoidance-point-position)
4199 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4202 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4204 * progmodes/python.el (python-shell-completion-get-completions):
4205 Drop use of deleted `comint-last-prompt-overlay'.
4206 (python-nav-if-name-main): New command.
4208 2013-09-01 Glenn Morris <rgm@gnu.org>
4210 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4211 Avoid leading space in $wins. Otherwise the sed command used by
4212 eg compile-main ends up containing "/*.el". (Bug#15170)
4214 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4216 2013-08-30 Glenn Morris <rgm@gnu.org>
4218 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4219 Fix is-this-a-directory logic. (Bug#15220)
4221 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4223 * textmodes/css-mode.el: Use SMIE.
4224 (css-smie-grammar): New var.
4225 (css-smie--forward-token, css-smie--backward-token)
4226 (css-smie-rules): New functions.
4227 (css-mode): Use them.
4228 (css-navigation-syntax-table): Remove var.
4229 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4230 (css-indent-calculate, css-indent-line): Remove functions.
4232 Misc changes to reduce use of `(lambda...); and other cleanups.
4233 * cus-edit.el: Use lexical-binding.
4234 (customize-push-and-save, customize-apropos)
4235 (custom-buffer-create-internal): Use closures.
4236 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4237 * progmodes/ada-xref.el: Use setq.
4238 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4239 * dframe.el: Use lexical-binding.
4240 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4241 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4242 * descr-text.el: Use lexical-binding.
4243 (describe-text-widget, describe-text-sexp, describe-property-list):
4245 * comint.el (comint-history-isearch-push-state): Use a closure.
4246 * calculator.el: Use lexical-binding.
4247 (calculator-number-to-string): Make it work with lexical-binding.
4248 (calculator-funcall): Same and use cl-letf.
4250 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4251 (lisp--company-doc-string, lisp--company-location): New functions.
4252 (lisp-completion-at-point): Use them to improve Company support.
4254 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4255 params of lambda expressions.
4256 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4257 (ruby-smie--opening-pipe-p): New function.
4258 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4259 symbols and matched |...| for formal params.
4260 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4261 from being treated as hanging. Handle "rescue".
4263 2013-08-29 Glenn Morris <rgm@gnu.org>
4265 * progmodes/cc-engine.el (c-pull-open-brace):
4266 Move definition before use.
4268 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4270 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4271 are immutable. Don't use `unsafe' any more.
4272 (cl--defsubst-expand): Don't substitute at the same time as keeping
4273 a residual unused let-binding. Don't use `unsafe' any more.
4275 2013-08-29 Glenn Morris <rgm@gnu.org>
4277 * calendar/cal-china.el (calendar-chinese-year-cache):
4280 * nxml/nxml-util.el (nxml-debug-clear-inside):
4281 Use cl-loop rather than loop.
4283 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4285 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4287 2013-08-28 Glenn Morris <rgm@gnu.org>
4289 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4291 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4293 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4295 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4297 * simple.el (repeat-complex-command--called-interactively-skip):
4299 (repeat-complex-command): Use it (bug#14136).
4301 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4302 (c-define-abbrev-table): Add `doc' argument.
4303 (c-mode-abbrev-table, c++-mode-abbrev-table)
4304 (objc-mode-abbrev-table, java-mode-abbrev-table)
4305 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4306 (awk-mode-abbrev-table): Use it.
4307 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4308 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4309 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4310 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4311 Move initialization into the declaration; and remove any
4314 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4315 and dynamic let binding.
4317 * vc/smerge-mode.el: Remove redundant :group args.
4319 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4322 2013-08-28 Juri Linkov <juri@jurta.org>
4324 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4325 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4326 (isearch-other-meta-char): Handle an undefined shifted printing
4327 character by downshifting it. (Bug#15200)
4329 2013-08-28 Juri Linkov <juri@jurta.org>
4331 * isearch.el (isearch-search): Change regexp error message for
4332 non-regexp searches. (Bug#15166)
4334 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4336 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4337 for portability to hosts where /bin/sh has problems.
4339 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4341 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4343 2013-08-27 Juri Linkov <juri@jurta.org>
4345 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4346 in the keyboard macro. (Bug#15126)
4348 2013-08-27 Juri Linkov <juri@jurta.org>
4350 * isearch.el (isearch-quote-char): Comment out converting unibyte
4351 to multibyte, thus syncing with its `quoted-insert' counterpart.
4354 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4356 * window.el (display-buffer-use-some-window): Add missing
4357 argument in call of get-largest-window (Bug#15185).
4358 Reported by Stephen Leake.
4360 2013-08-27 Glenn Morris <rgm@gnu.org>
4362 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4364 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4366 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4367 from a matcher-function unless there's no more matches (bug#15161).
4369 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4371 * minibuffer.el: Revert change from 2013-08-20.
4373 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4374 with text property `tramp-default', if appropriate.
4375 (tramp-check-proper-host): New defun.
4376 (tramp-dissect-file-name): Do not check hostname. Revert change
4378 (tramp-backtrace): Make VEC-OR-PROC optional.
4380 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4381 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4382 * net/tramp-sh.el (tramp-maybe-open-connection):
4383 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4384 Apply `tramp-check-proper-host'.
4386 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4388 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4389 lambda expression in order to have `describe-variable' display it.
4391 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4393 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4394 BUF can be optional. (Bug#15186)
4396 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4398 * progmodes/flymake.el (flymake-get-real-file-name-function):
4399 Fix broken customization. (Bug#15184)
4401 2013-08-25 Alan Mackenzie <acm@muc.de>
4403 Improve indentation of bracelists defined by macros (without "=").
4405 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4406 expansion begins with "{", regard it as bracelist when it doesn't
4409 Parse C++ inher-intro when there's a template split over 2 lines.
4411 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4412 rigorously the search for "class" etc. followed by ":".
4414 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4415 random languages a regexp which never matches rather than nil.
4417 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4419 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4420 (c-awk-regexp-one-line-possibly-open-char-list-re)
4421 (c-awk-one-line-possibly-open-regexp-re)
4422 (c-awk-one-line-non-syn-ws*-re): Remove.
4423 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4424 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4425 (c-awk-space*-unclosed-regexp-/-re): New constants.
4426 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4427 aren't regexp delimiters.
4429 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4430 handling for a rare situation in AWK Mode involving unterminated
4433 2013-08-23 Glenn Morris <rgm@gnu.org>
4435 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4437 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4439 * files.el (create-file-buffer): If the result would begin with
4440 spaces, prepend a "|" instead of removing them. (Bug#15162)
4442 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4444 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4445 text-properties (bug#15155).
4447 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4449 (calc-keypad-redraw): Remove unused var `pad'.
4450 (calc-keypad-press): Remove unused var `menu'.
4452 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4454 * window.el (display-buffer-pop-up-frame):
4455 Call pop-up-frame-function with BUFFER current so `make-frame' will
4456 use it as the new frame's buffer (Bug#15133).
4458 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4460 * calendar/timeclock.el: Minor cleanups.
4461 (timeclock-ask-before-exiting, timeclock-use-display-time):
4463 (timeclock-modeline-display): Define as alias before the
4465 (timeclock-mode-line-display): Use define-minor-mode.
4466 (timeclock-day-list-template): Make it a function, add an argument.
4467 (timeclock-day-list-required, timeclock-day-list-length)
4468 (timeclock-day-list-debt, timeclock-day-list-span)
4469 (timeclock-day-list-break): Adjust calls accordingly.
4471 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4473 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4474 Use read--expression so that completion works again.
4476 2013-08-21 Sam Steingold <sds@gnu.org>
4478 Add rudimentary inferior shell interaction
4479 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4480 (sh-set-shell): Reset it.
4481 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4482 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4484 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4486 * align.el: Use lexical-binding.
4487 (align-region): Simplify accordingly.
4489 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4491 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4493 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4496 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4500 * net/tramp-cmds.el:
4502 * net/tramp-gvfs.el:
4504 * net/tramp-sh.el: Don't wrap external variable declarations by
4505 `eval-when-compile'.
4507 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4509 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4510 now that Emacs supports ImageMagick animations.
4512 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4514 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4515 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4517 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4519 * window.el (mouse-autoselect-window-select): Do autoselect when
4520 mouse pointer is on margin.
4522 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4524 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4526 2013-08-16 Glenn Morris <rgm@gnu.org>
4528 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4529 Handle "Remote Directory" response of some clients. (Bug#15058)
4531 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4532 Tweak warning. (Bug#14926)
4534 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4535 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4537 * image-mode.el (image-mode-map): Add menu items to reverse,
4538 increase, decrease, reset animation speed.
4539 (image--set-speed, image-increase-speed, image-decrease-speed)
4540 (image-reverse-speed, image-reset-speed): New functions.
4541 (image-mode-map): Add bindings for speed commands.
4543 * image.el (image-animate-get-speed, image-animate-set-speed):
4545 (image-animate-timeout): Respect image :speed property.
4547 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4549 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4550 previous line (bug#15101).
4551 (debugger-eval-expression, debugger-record-expression):
4552 Use read--expression (bug#15102).
4554 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4556 Remove byte compiler warnings, visible when compiling with
4557 `byte-compile-force-lexical-warnings' set to t.
4559 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4560 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4561 (tramp-handle-unhandled-file-name-directory)
4562 (tramp-handle-file-notify-add-watch, tramp-action-login)
4563 (tramp-action-succeed, tramp-action-permission-denied)
4564 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4567 * net/tramp-adb.el (tramp-adb-parse-device-names)
4568 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4569 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4570 (tramp-adb-handle-file-truename): Remove unused arguments.
4572 * net/tramp-cache.el (tramp-flush-directory-property)
4573 (tramp-flush-connection-property, tramp-list-connections)
4574 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4576 * net/tramp-compat.el (tramp-compat-make-temp-file):
4577 Rename FILENAME to F.
4579 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4580 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4581 (tramp-zeroconf-parse-workstation-device-names)
4582 (tramp-zeroconf-parse-webdav-device-names)
4583 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4585 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4586 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4588 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4590 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4591 (tramp-sh-handle-insert-file-contents-literally)
4592 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4594 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4595 Remove unused variables.
4597 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4598 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4599 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4601 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4602 Make them a defconst.
4603 (tramp-uuencode-region): Remove unused variable.
4605 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4607 * frameset.el (frameset--prop-setter): New function.
4608 (frameset-prop): Add gv-setter declaration.
4609 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4610 parameter was already set in FILTERED. Doc fix.
4611 (frameset--record-minibuffer-relationships): Allow saving a
4612 minibufferless frame without its corresponding minibuffer frame.
4613 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4614 frame, if the frame id matches.
4615 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4616 frames before orphaned ones.
4617 (frameset-restore): Warn about orphaned windows, instead of error out.
4619 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4621 * window.el (window-make-atom): Don't overwrite parameter
4623 (display-buffer-in-atom-window): Handle special case where we
4624 split an already atomic window.
4625 (window--major-non-side-window, display-buffer-in-side-window)
4626 (window--side-check): Ignore minibuffer window when walking
4628 (window-deletable-p): Return 'frame only if no other frame uses
4629 our minibuffer window.
4630 (record-window-buffer): Run buffer-list-update-hook.
4631 (split-window): Make sure window--check-frame won't destroy an
4632 existing atomic window in case the new window gets nested
4634 (display-buffer-at-bottom): Ignore minibuffer window when
4635 walking window tree. Don't split a side window.
4636 (pop-to-buffer): Don't set-buffer here, the select-window call
4638 (mouse-autoselect-window-select): Autoselect only if we are in the
4639 text portion of the window.
4641 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4643 * net/shr.el (shr-parse-image-data): New function to grab both the
4644 data itself and the Content-Type.
4645 (shr-put-image): Use it.
4647 * net/eww.el (eww-display-image): Ditto.
4649 * image.el (image-content-type-suffixes): New variable.
4651 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4653 * progmodes/python.el (python-imenu--build-tree)
4654 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4656 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4658 * simple.el (backward-word): Mention the optional argument.
4660 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4662 * frameset.el (frameset--make): Rename constructor from make-frameset.
4663 (frameset-p, frameset-valid-p): Don't autoload.
4664 (frameset-valid-p): Use normal accessors.
4666 2013-08-13 Glenn Morris <rgm@gnu.org>
4668 * progmodes/compile.el (compile-command): Tweak example in doc.
4669 * obsolete/scribe.el (scribe-mode):
4670 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4672 * mail/feedmail.el (feedmail-confirm-outgoing)
4673 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4675 * cus-start.el (truncate-partial-width-windows): Fix type.
4677 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4679 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4681 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4683 * emacs-lisp/timer.el (timer--time-setter): New function.
4684 (timer--time): Use it as gv-setter.
4686 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4687 setter is not a symbol.
4689 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4691 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4692 if sending fails. This makes debugging easier.
4694 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4696 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4697 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4698 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4700 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4702 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4704 2013-08-12 Glenn Morris <rgm@gnu.org>
4706 * format.el (format-annotate-function):
4707 Handle read-only text properties in the source. (Bug#14887)
4709 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4711 * net/eww.el (eww-display-html): Ignore coding system errors.
4712 One web site uses "utf-8lias" as the coding system.
4714 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4716 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4718 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4720 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4721 (tutorial--detailed-help): Remove unused local variables.
4722 (tutorial--save-tutorial-to): Use ignore-errors.
4723 (help-with-tutorial): Use looking-at-p.
4725 * view.el (view-buffer-other-window, view-buffer-other-frame):
4726 Mark unused arguments.
4728 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4729 (woman-select-symbol-fonts, woman, woman-find-file)
4730 (woman-insert-file-contents, woman-non-underline-faces):
4732 (woman1-unquote): Move declaration.
4734 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4735 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4736 argument. Remove unused local variable.
4737 (xml-parse-elem-type): Use string-match-p.
4738 (xml-substitute-numeric-entities): Use ignore-errors.
4740 * calculator.el (calculator): Mark unused argument.
4741 (calculator-paste, calculator-quit, calculator-integer-p):
4743 (calculator-string-to-number, calculator-decimal, calculator-exp)
4744 (calculator-op-or-exp): Use string-match-p.
4746 * dired.el (dired-buffer-more-recently-used-p): Declare.
4747 (dired-insert-set-properties, dired-insert-old-subdirs):
4750 * dired-aux.el (dired-compress): Use ignore-errors.
4751 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4752 (dired-do-async-shell-command, dired-do-shell-command)
4753 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4754 (dired-insert-subdir-validate): Use string-match-p.
4755 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4756 (dired-add-entry): Use string-match-p, looking-at-p.
4757 (dired-insert-subdir-newpos): Remove unused local variable.
4759 * filenotify.el (file-notify-callback): Remove unused local variable.
4761 * filesets.el (filesets-error): Mark unused argument.
4762 (filesets-which-command-p, filesets-filter-dir-names)
4763 (filesets-directory-files, filesets-get-external-viewer)
4764 (filesets-ingroup-get-data): Use string-match-p.
4766 * find-file.el (ff-other-file-name, ff-other-file-name)
4767 (ff-find-the-other-file, ff-cc-hh-converter):
4768 Remove unused local variables.
4769 (ff-get-file-name): Use string-match-p.
4770 (ff-all-dirs-under): Use ignore-errors.
4772 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4773 (follow-select-if-visible): Remove unused local variable.
4775 * forms.el (read-file-filter): Move declaration.
4776 (forms--make-format, forms--make-parser, forms-insert-record):
4777 Quote function with #'.
4778 (forms--update): Use string-match-p. Quote function with #'.
4780 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4781 (help-make-xrefs): Use looking-at-p.
4782 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4784 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4785 (ibuffer-confirm-operation-on): Use string-match-p.
4787 * msb.el (msb-item-handler, msb-dired-item-handler):
4788 Mark unused arguments.
4790 * ses.el (ses-decode-cell-symbol)
4791 (ses-kill-override): Remove unused local variable.
4792 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4793 (ses-load): Use ignore-errors, looking-at-p.
4794 (ses-jump-safe): Use ignore-errors.
4795 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4797 * tabify.el (untabify, tabify): Mark unused arguments.
4799 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4800 Mark unused argument.
4801 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4802 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4804 * emacs-lisp/timer.el (timer--time): Define setter with
4805 gv-define-setter to avoid deprecation warning.
4807 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4808 (*record-cmpl-statistics-p*): Remove (was commented out).
4809 (cmpl-statistics-block): Remove (body was commented out).
4810 All callers changed.
4811 (add-completions-from-buffer, load-completions-from-file):
4812 Remove unused variables.
4814 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4816 * filecache.el (file-cache-delete-file-list):
4817 Print message only when told so.
4818 (file-cache-files-matching): Use #' in mapconcat argument.
4820 * ffap.el (ffap-url-at-point): Fix reference to variable
4821 thing-at-point-default-mail-uri-scheme.
4823 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4825 * subr.el (define-error): New function.
4826 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4827 error-file-not-found and define with define-error.
4828 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4829 and define with define-error.
4830 * userlock.el (file-locked, file-supersession):
4831 * simple.el (mark-inactive):
4832 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4833 * progmodes/ada-mode.el (ada-mode-errors):
4834 * play/life.el (life-extinct):
4835 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4836 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4837 * nxml/rng-util.el (rng-error):
4838 * nxml/rng-uri.el (rng-uri-error):
4839 * nxml/rng-match.el (rng-compile-error):
4840 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4841 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4842 * nxml/nxml-rap.el (nxml-scan-error):
4843 * nxml/nxml-outln.el (nxml-outline-error):
4844 * net/soap-client.el (soap-error):
4845 * net/gnutls.el (gnutls-error):
4846 * net/ange-ftp.el (ftp-error):
4847 * mpc.el (mpc-proc-error):
4848 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4849 (json-number-format, json-string-escape, json-string-format)
4850 (json-key-format, json-object-format):
4851 * jka-compr.el (compression-error):
4852 * international/quail.el (quail-error):
4853 * international/kkc.el (kkc-error):
4854 * emacs-lisp/ert.el (ert-test-failed):
4855 * calc/calc.el (calc-error, inexact-result, math-overflow)
4857 * bookmark.el (bookmark-error-no-filename):
4858 * epg.el (epg-error): Define with define-error.
4860 * time.el (display-time-event-handler)
4861 (display-time-next-load-average): Don't call sit-for since it seems
4862 unnecessary (bug#15045).
4864 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4865 Use #' instead of ' to quote functions.
4866 (checkdoc-output-mode): Use setq-local.
4867 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4868 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4869 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4870 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4871 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4872 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4873 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4874 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4876 * ido.el (ido-completion-help): Fix up compiler warning.
4878 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4880 * frameset.el (frameset-p): Add autoload cookie.
4881 (frameset--jump-to-register): New function, based on code moved from
4883 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4885 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4886 (frameset-restore, frameset-save, frameset-session-filter-alist):
4887 Remove declarations.
4888 (register-alist): Doc fix.
4889 (frameset-to-register): Move to frameset.el.
4890 (jump-to-register, describe-register-1): Remove frameset-specific code.
4892 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4894 * allout-widgets.el (allout-widgets-pre-command-business)
4895 (allout-widgets-post-command-business)
4896 (allout-widgets-after-change-handler)
4897 (allout-decorate-item-and-context, allout-set-boundary-marker)
4898 (allout-body-modification-handler)
4899 (allout-graphics-modification-handler): Mark ignored arguments.
4900 (allout-widgets-post-command-business)
4901 (allout-widgets-exposure-change-processor)
4902 (allout-widgets-exposure-undo-processor)
4903 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4904 (allout-parse-item-at-point, allout-decorate-item-guides)
4905 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4906 * allout.el (epa-passphrase-callback-function): Declare.
4907 (allout-overlay-insert-in-front-handler)
4908 (allout-overlay-interior-modification-handler)
4909 (allout-isearch-end-handler, allout-chart-siblings)
4910 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4911 (allout-yank-processing, allout-process-exposed)
4912 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4913 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4914 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4915 (lisp-indent-defform): Mark ignored arguments.
4916 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4917 (calculate-lisp-indent): Remove unused variables.
4918 * international/characters.el (indian-2-column, arabic-2-column)
4919 (tibetan): Mark ignored arguments.
4920 (use-cjk-char-width-table): Mark ignored arguments.
4921 Remove unused variables.
4922 * international/fontset.el (build-default-fontset-data)
4923 (x-compose-font-name, create-fontset-from-fontset-spec):
4924 Mark ignored arguments.
4925 (fontset-plain-name): Remove unused variables.
4926 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4927 (keyboard-coding-system): Mark ignored arguments.
4928 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4929 * help.el (resize-temp-buffer-window):
4930 * window.el (display-buffer-in-major-side-window)
4931 (display-buffer-in-side-window, display-buffer-in-previous-window):
4932 Remove unused variables.
4933 * isearch.el (isearch-forward-symbol):
4934 * version.el (emacs-bzr-version-bzr):
4935 * international/mule-cmds.el (current-language-environment):
4936 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4938 * term/pc-win.el (x-list-fonts, x-display-planes)
4939 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4940 (x-server-version, x-display-screens, x-display-mm-height)
4941 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4942 (x-selection-owner-p, x-own-selection-internal)
4943 (x-disown-selection-internal, x-get-selection-internal)
4944 (msdos-initialize-window-system):
4945 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4946 * term/x-win.el (x-handle-no-bitmap-icon):
4947 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4948 (vc-default-find-file-hook, vc-default-extra-menu):
4949 Mark ignored arguments.
4951 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4953 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4954 break-condition in the context of the debugged code (bug#12685).
4956 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4959 Do not use an overlay to highlight the last prompt. (Bug#14744)
4960 (comint-mode): Make comint-last-prompt buffer local.
4961 (comint-last-prompt): New variable.
4962 (comint-last-prompt-overlay): Remove. Superseded by
4964 (comint-snapshot-last-prompt, comint-output-filter):
4965 Use comint-last-prompt.
4967 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4969 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4970 (frameset-save): Check validity of the resulting frameset.
4972 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4974 * ido.el (ido-record-command): Add doc string.
4976 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4978 * frameset.el (frameset): Do not disable creation of the default
4979 frameset-p predicate. Doc fix.
4980 (frameset-valid-p): New function, copied from the old predicate-p.
4981 Add additional checks.
4982 (frameset-restore): Check with frameset-valid-p.
4983 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4984 (frameset-name, frameset-description, frameset-properties)
4985 (frameset-states): Add docstring.
4986 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4987 (frameset-filter-alist): Doc fixes.
4989 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4991 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4993 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4995 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4996 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4997 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4998 (byte-compile-normal-call): Remove obsolescence check.
5000 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5002 * frameset.el (frameset-restore): Doc fix.
5004 * register.el (frameset-frame-id, frameset-frame-with-id)
5005 (frameset-p, frameset-restore, frameset-save): Declare.
5006 (register-alist): Document framesets.
5007 (frameset-session-filter-alist): Declare.
5008 (frameset-to-register): New function.
5009 (jump-to-register): Implement jumping to framesets. Doc fix.
5010 (describe-register-1): Describe framesets.
5012 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5014 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5016 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5017 Use lexical-binding.
5019 * frameset.el (frameset): Use type vector, not list (incompatible
5020 change). Do not declare a new constructor, use the default one.
5021 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5022 `name' and `description', respectively, and add read-only slot
5023 `timestamp'. Doc fixes.
5024 (frameset-copy, frameset-persistent-filter-alist)
5025 (frameset-filter-alist, frameset-switch-to-gui-p)
5026 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5027 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5028 (frameset-filter-iconified, frameset-keep-original-display-p):
5030 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5031 Rename from frameset-filter-(save|restore)-param. All callers changed.
5033 (frameset-p): Adapt to change to vector and be more thorough.
5034 Change arg name to OBJECT. Doc fix.
5035 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5036 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5037 All callers changed.
5038 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5039 All callers changed.
5040 (frameset--record-minibuffer-relationships): Rename from
5041 frameset--process-minibuffer-frames. All callers changed.
5042 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5043 Use new default constructor (again). Doc fix.
5044 (frameset--find-frame-if): Rename from `frameset--find-frame.
5045 All callers changed.
5046 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5047 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5049 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5050 PARAMETERS and WINDOW-STATE, respectively.
5051 (frameset-restore): Add new keyword argument PREDICATE.
5052 Reset frameset--target-display to nil. Doc fix.
5054 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5056 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5058 (bat-mode-syntax-table): Mark \n as end-of-comment.
5059 (bat-font-lock-keywords): Remove comment rule.
5061 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5062 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5064 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5065 (byte-compile-callargs-warn): Use `push'.
5066 (byte-compile-arglist-warn): Ignore higher-order "calls".
5067 (byte-compile-file-form-autoload): Use `pcase'.
5068 (byte-compile-function-form): If quoting a symbol, check that it exists.
5070 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5072 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5073 and add a few popular commands found in batch files.
5074 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5075 (dos-mode): Doc fixes.
5077 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5079 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5080 (dos-mode): Use setq-local. Add space after "rem".
5081 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5082 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5084 2013-08-07 Arni Magnusson <arnima@hafro.is>
5086 * progmodes/dos.el: New file.
5087 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5090 2013-08-06 Glenn Morris <rgm@gnu.org>
5092 * calendar/calendar.el: Add new faces, and day-header-array.
5093 (calendar-weekday-header, calendar-weekend-header)
5094 (calendar-month-header): New faces.
5095 (calendar-day-header-construct): New function.
5096 (calendar-day-header-width): Also :set calendar-day-header-array.
5097 (calendar-american-month-header, calendar-european-month-header)
5098 (calendar-iso-month-header): Use calendar- faces.
5099 (calendar-generate-month):
5100 Use calendar-day-header-array for day headers; apply faces to them.
5101 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5102 (calendar-abbrev-construct): Add optional maxlen argument.
5103 (calendar-day-name-array): Doc fix.
5104 (calendar-day-name-array, calendar-abbrev-length)
5105 (calendar-day-abbrev-array):
5106 Also :set calendar-day-header-array, and maybe redraw.
5107 (calendar-day-header-array): New option. (Bug#15007)
5108 (calendar-font-lock-keywords): Set to nil and make obsolete.
5109 (calendar-day-name): Add option to use header array.
5111 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5113 * net/shr.el (shr-render-td): Remove debugging.
5114 (shr-render-td): Make width computation consistent by defaulting
5115 all zero-width columns to 10 characters. This may not be optimal,
5116 but it's at least consistent.
5117 (shr-make-table-1): Redo last change to fix the real problem in
5120 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5122 * files.el (cache-long-line-scans):
5123 Make obsolete alias to `cache-long-scans'.
5125 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5127 * frameset.el (frameset, frameset-filter-alist)
5128 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5129 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5130 (frameset-compute-pos): Rename from frameset--compute-pos,
5132 (frameset-move-onscreen): Use frameset-compute-pos.
5133 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5135 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5136 Fix typos in docstrings.
5138 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5140 * frame.el (get-other-frame): Tiny cleanup.
5142 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5144 * vc/vc.el (vc-default-ignore-completion-table):
5145 Silence byte-compiler warning.
5147 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5148 slot , which can indeed be nil.
5149 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5150 Move entry for `left' from persistent to live filter alist.
5151 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5153 (frameset-filter-params): When restoring a frame, copy items added to
5154 `filtered', to avoid unwittingly modifying the original parameters.
5155 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5156 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5158 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5159 to use looking-at-p instead of looking-at. (Bug#15028)
5161 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5163 Revert introduction of isearch-filter-predicates (bug#14714).
5164 Rely on add-function instead.
5165 * isearch.el (isearch-filter-predicates): Rename it back to
5166 isearch-filter-predicate.
5167 (isearch-message-prefix): Use advice-function-mapc and advice
5168 properties to get the isearch-message-prefix.
5169 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5170 instead of run-hook-with-args-until-failure.
5171 (isearch-filter-visible): Not obsolete any more.
5172 * loadup.el: Preload nadvice.
5173 * replace.el (perform-replace): Revert to funcall
5174 instead of run-hook-with-args-until-failure.
5175 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5176 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5177 dired-isearch-filenames-toggle; make it into a proper minor mode.
5178 Use add/remove-function.
5179 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5180 Call the minor-mode rather than add/remove-hook.
5181 (dired-isearch-filter-filenames):
5182 Remove isearch-message-prefix property.
5183 * info.el (Info--search-loop): New function, extracted from Info-search.
5184 Funcall isearch-filter-predicate instead of
5185 run-hook-with-args-until-failure isearch-filter-predicates.
5186 (Info-search): Use it.
5187 (Info-mode): Use isearch-filter-predicate instead of
5188 isearch-filter-predicates.
5190 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5192 Do not call to `selected-window' where it is assumed by default.
5193 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5194 `window-hscroll', `window-width', `window-height', `window-buffer',
5195 `window-frame', `window-start', `window-point', `next-window'
5196 and `window-display-table'.
5197 * abbrev.el (abbrev--default-expand):
5198 * bs.el (bs--show-with-configuration):
5199 * buff-menu.el (Buffer-menu-mouse-select):
5200 * calc/calc.el (calc):
5201 * calendar/calendar.el (calendar-generate-window):
5202 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5204 * comint.el (send-invisible, comint-dynamic-complete-filename)
5205 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5206 * completion.el (complete):
5207 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5208 * disp-table.el (describe-current-display-table):
5209 * doc-view.el (doc-view-insert-image):
5210 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5211 * ehelp.el (with-electric-help):
5212 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5213 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5214 * emacs-lisp/helper.el (Helper-help-scroller):
5215 * emulation/cua-base.el (cua--post-command-handler-1):
5216 * eshell/esh-mode.el (eshell-output-filter):
5217 * ffap.el (ffap-gnus-wrapper):
5218 * help-macro.el (make-help-screen):
5219 * hilit-chg.el (highlight-compare-buffers):
5220 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5221 * hl-line.el (global-hl-line-highlight):
5222 * icomplete.el (icomplete-simple-completing-p):
5223 * isearch.el (isearch-done):
5224 * jit-lock.el (jit-lock-stealth-fontify):
5225 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5226 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5227 * mpc.el (mpc-tagbrowser, mpc):
5228 * net/rcirc.el (rcirc-any-buffer):
5229 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5230 * play/landmark.el (landmark-max-width, landmark-max-height):
5231 * play/zone.el (zone):
5232 * progmodes/compile.el (compilation-goto-locus):
5233 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5234 * progmodes/etags.el (find-tag-other-window):
5235 * progmodes/fortran.el (fortran-column-ruler):
5236 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5237 * progmodes/verilog-mode.el (verilog-point-text):
5238 * reposition.el (reposition-window):
5239 * rot13.el (toggle-rot13-mode):
5240 * server.el (server-switch-buffer):
5241 * shell.el (shell-dynamic-complete-command)
5242 (shell-dynamic-complete-environment-variable):
5243 * simple.el (insert-buffer, set-selective-display)
5244 (delete-completion-window):
5245 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5246 (speedbar-recenter):
5247 * startup.el (fancy-splash-head):
5248 * textmodes/ispell.el (ispell-command-loop):
5249 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5250 * tutorial.el (help-with-tutorial):
5251 * vc/add-log.el (add-change-log-entry):
5252 * vc/compare-w.el (compare-windows):
5253 * vc/ediff-help.el (ediff-indent-help-message):
5254 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5255 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5256 (ediff-setup-control-frame):
5257 * vc/emerge.el (emerge-position-region):
5258 * vc/pcvs-util.el (cvs-bury-buffer):
5259 * window.el (walk-windows, mouse-autoselect-window-select):
5260 * winner.el (winner-set-conf, winner-undo): Related users changed.
5262 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5264 * frameset.el (frameset--set-id): Doc fix.
5265 (frameset-frame-id, frameset-frame-id-equal-p)
5266 (frameset-locate-frame-id): New functions.
5267 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5268 (frameset-restore): Use them.
5270 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5272 Do not call to `selected-frame' where it is assumed by default.
5273 Affected functions are `raise-frame', `redraw-frame',
5274 `frame-first-window', `frame-terminal' and `delete-frame'.
5275 * calendar/appt.el (appt-disp-window):
5276 * epg.el (epg-wait-for-completion):
5277 * follow.el (follow-delete-other-windows-and-split)
5278 (follow-avoid-tail-recenter):
5279 * international/mule.el (set-terminal-coding-system):
5280 * mail/rmail.el (rmail-mail-return):
5281 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5282 * progmodes/f90.el (f90-add-imenu-menu):
5283 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5284 * server.el (server-switch-buffer):
5285 * simple.el (delete-completion-window):
5287 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5288 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5289 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5290 * vc/ediff.el (ediff-documentation): Related users changed.
5291 * frame.el (selected-terminal): Remove the leftover.
5293 2013-08-05 Glenn Morris <rgm@gnu.org>
5295 * calendar/calendar.el (calendar-generate-month):
5296 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5297 (calendar-generate-month, calendar-font-lock-keywords):
5298 Fix for calendar-day-header-width > length of any day name.
5300 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5302 * desktop.el (desktop-clear): Use new name of sort predicate.
5304 * frameset.el (frameset): Add docstring. Move :version property to its
5306 (frameset-copy): Rename from copy-frameset.
5307 (frameset-p): Check more thoroughly.
5308 (frameset-prop): Do not check for :version, which is no longer a prop.
5309 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5310 Use new :never value instead of t.
5311 (frameset-filter-alist): Expand and clarify docstring.
5312 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5313 (frameset-filter-minibuffer, frameset-filter-save-param)
5314 (frameset-filter-restore-param, frameset-filter-iconified):
5315 Add pointer to docstring of frameset-filter-alist.
5316 (frameset-filter-params): Rename filter values to be more meaningful:
5317 :never instead of t, and reverse the meanings of :save and :restore.
5318 (frameset--process-minibuffer-frames): Clarify error message.
5319 (frameset-save): Avoid unnecessary and confusing call to framep.
5320 Use new BOA constructor for framesets.
5321 (frameset--reuse-list): Doc fix.
5322 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5323 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5324 (frameset-minibufferless-first-p): Doc fix.
5325 Rename from frameset-sort-frames-for-deletion.
5326 (frameset-restore): Doc fixes. Use new function names.
5327 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5329 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5331 * desktop.el (desktop-restore-forces-onscreen)
5332 (desktop-restore-reuses-frames): Document :keyword constant values.
5333 (desktop-filter-parameters-alist): Remove, now identical to
5334 frameset-filter-alist.
5335 (desktop--filter-tty*): Remove, moved to frameset.el.
5336 (desktop-save-frameset, desktop-restore-frameset):
5337 Do not pass :filters argument.
5339 * frameset.el (frameset-live-filter-alist)
5340 (frameset-persistent-filter-alist): New variables.
5341 (frameset-filter-alist): Use them. Add autoload cookie.
5342 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5343 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5344 `frameset--id' (it's supposed to be internal to frameset.el).
5345 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5346 (frameset--initial-params): New function.
5347 (frameset--get-frame): Use it. Doc fix.
5348 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5349 Accept :all, not 'all.
5350 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5351 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5352 with fbound symbols. Fix frame id matching, and remove matching ids if
5353 the frame being restored is deleted. Obey :delete.
5355 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5357 * subr.el (macrop): New function.
5358 (text-clone--maintaining): New var.
5359 (text-clone--maintain): Rename from text-clone-maintain. Use it
5360 instead of inhibit-modification-hooks.
5362 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5363 a proxy, so as handle autoloads and redefinitions of the target.
5364 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5366 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5367 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5368 (pcase--mutually-exclusive-p): New function.
5369 (pcase--split-consp): Use it.
5370 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5371 mutually exclusive with the current predicate.
5373 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5374 (edebug-macrop): Remove. Use `macrop' instead.
5375 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5377 * eshell/esh-cmd.el (eshell-macrop):
5378 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5380 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5382 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5383 (advice-mapc): New function, using it.
5384 (advice-function-member-p): New function.
5385 (advice--normalize): Store the cdr in advice--saved-rewrite since
5386 that's the part that will be changed.
5387 (advice--symbol-function): New function.
5388 (advice-remove): Handle removal before the function is defined.
5389 Adjust to new advice--saved-rewrite.
5390 (advice-member-p): Use advice-function-member-p and
5391 advice--symbol-function.
5393 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5395 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5396 (frameset-filter-minibuffer): Doc fix.
5397 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5398 (frameset--set-id, frameset--process-minibuffer-frames)
5399 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5400 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5402 * desktop.el (desktop-clear): Only delete frames when called
5403 interactively and desktop-restore-frames is non-nil. Doc fix.
5404 (desktop-read): Set desktop-saved-frameset to nil.
5406 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5408 * vc/vc.el (vc-ignore): Rewrite.
5409 (vc-default-ignore-completion-table):
5411 (vc--add-line, vc--remove-regexp): New functions.
5413 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5414 (vc-svn-ignore-completion-table): New function.
5416 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5417 (vc-hg-ignore-completion-table):
5418 (vc-hg-find-ignore-file): New functions.
5420 * vc/vc-git.el (vc-git-ignore): Rewrite.
5421 (vc-git-ignore-completion-table):
5422 (vc-git-find-ignore-file): New functions.
5424 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5426 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5427 (vc-bzr-ignore-completion-table):
5428 (vc-bzr-find-ignore-file): New functions.
5430 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5432 * frameset.el (frameset-prop): New function and setter.
5433 (frameset-save): Do not modify frame list passed by the caller.
5435 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5437 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5439 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5441 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5442 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5444 * custom.el (custom-initialize-default, custom-initialize-set)
5445 (custom-initialize-reset, custom-initialize-changed): Affect the
5446 toplevel-default-value (bug#6275, bug#14586).
5447 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5450 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5452 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5453 Add cl-def* expressions.
5455 * frameset.el (frameset-filter-params): Fix order of arguments.
5457 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5459 Move code related to saving frames to frameset.el.
5460 * desktop.el: Require frameset.
5461 (desktop-restore-frames): Doc fix.
5462 (desktop-restore-reuses-frames): Rename from
5463 desktop-restoring-reuses-frames.
5464 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5465 (desktop-clear): Clear frames too.
5466 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5467 (desktop--filter-tty*, desktop-save, desktop-read):
5468 Use frameset functions.
5469 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5470 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5471 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5472 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5473 (desktop--process-minibuffer-frames, desktop-save-frames)
5474 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5475 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5476 (desktop--sort-states, desktop-restoring-frames-p)
5477 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5478 (desktop-restoring-frameset-p, desktop-restore-frameset)
5479 (desktop--check-dont-save, desktop-save-frameset): New functions.
5480 (desktop--app-id): New constant.
5481 (desktop-first-buffer, desktop-buffer-ok-count)
5482 (desktop-buffer-fail-count): Move before first use.
5483 * frameset.el: New file.
5485 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5487 * files.el: Use lexical-binding.
5488 (dir-locals-read-from-file): Remove unused `err' variable.
5489 (hack-dir-local-variables--warned-coding): New var.
5490 (hack-dir-local-variables): Use it to avoid repeated warnings.
5491 (make-backup-file-name--default-function): New function.
5492 (make-backup-file-name-function): Use it as default.
5493 (buffer-stale--default-function): New function.
5494 (buffer-stale-function): Use it as default.
5495 (revert-buffer-insert-file-contents--default-function): New function.
5496 (revert-buffer-insert-file-contents-function): Use it as default.
5497 (insert-directory): Avoid add-to-list.
5499 * autorevert.el (auto-revert-handler): Simplify.
5500 Use buffer-stale--default-function.
5502 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5504 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5506 * whitespace.el (whitespace-ensure-local-variables): New function.
5507 (whitespace-cleanup-region): Call it.
5508 (whitespace-turn-on): Call it.
5510 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5512 Complete file name handlers.
5514 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5515 (tramp-handle-verify-visited-file-modtime)
5516 (tramp-handle-file-notify-rm-watch): New functions.
5517 (tramp-call-process): Do not bind `default-directory'.
5519 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5520 Order alphabetically.
5521 [access-file, add-name-to-file, dired-call-process]:
5522 [dired-compress-file, file-acl, file-notify-rm-watch]:
5523 [file-ownership-preserved-p, file-selinux-context]:
5524 [make-directory-internal, make-symbolic-link, set-file-acl]:
5525 [set-file-selinux-context, set-visited-file-modtime]:
5526 [verify-visited-file-modtime]: Add handler.
5527 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5529 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5530 [file-notify-add-watch, file-notify-rm-watch]:
5531 [set-file-times, set-visited-file-modtime]:
5532 [verify-visited-file-modtime]: Add handler.
5533 (with-tramp-gvfs-error-message)
5534 (tramp-gvfs-handle-set-visited-file-modtime)
5535 (tramp-gvfs-fuse-file-name): Remove.
5536 (tramp-gvfs-handle-file-notify-add-watch)
5537 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5538 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5540 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5541 Order alphabetically.
5542 [file-notify-rm-watch ]: Use default Tramp handler.
5543 [executable-find]: Remove private handler.
5544 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5545 `default-directory'.
5546 (tramp-sh-handle-executable-find)
5547 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5548 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5549 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5550 Do not use `format' in `tramp-message'.
5552 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5553 [file-notify-rm-watch, set-visited-file-modtime]:
5554 [verify-visited-file-modtime]: Add handler.
5555 (tramp-smb-call-winexe): Do not bind `default-directory'.
5557 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5559 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5561 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5563 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5565 (log-view-diff-changeset): Same.
5566 (log-view-diff-common): Call backend command `previous-revision'
5567 to find out the previous revision, in both cases. Swap the
5568 variables `to' and `fr', so that `fr' usually refers to the
5569 earlier revision (Bug#14989).
5571 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5573 * ibuf-ext.el (ibuffer-filter-by-filename):
5574 Make it work with dired buffers too.
5576 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5578 * emacs-lisp/re-builder.el (reb-color-display-p):
5579 * files.el (save-buffers-kill-terminal):
5580 * net/browse-url.el (browse-url):
5581 * server.el (server-save-buffers-kill-terminal):
5582 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5583 Prefer nil to selected-frame for the first arg of frame-parameter.
5585 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5587 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5589 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5591 * minibuffer.el (completion--twq-all): Try and preserve each
5592 completion's case choice (bug#14907).
5594 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5596 * net/network-stream.el (open-network-stream): Mention the new
5597 :nogreeting parameter.
5598 (network-stream-open-starttls): Use the :nogreeting parameter
5601 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5603 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5604 more natural than popping.
5606 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5607 (shr-urlify): Highlight under mouse.
5609 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5611 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5613 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5615 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5618 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5619 point-min==1. Fix search string. Fix parentheses missing.
5621 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5622 assume point-min==1. Fix search string. Fix parentheses missing.
5624 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5626 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5629 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5631 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5632 initial frame is minibuffer-less. (Bug#14841)
5634 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5636 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5639 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5640 (tramp-maybe-open-connection): Use it.
5642 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5644 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5645 minimal set of parameters passed when creating a frame, because
5646 the minibuffer status of a frame cannot be changed later.
5648 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5650 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5651 replace-regexp-in-string and inadvertent omissions in previous change.
5652 (todo-filter-items): Ensure only file names are comma-separated in
5653 name of filtered items buffer.
5655 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5657 * desktop.el: Optionally force offscreen frames back onscreen.
5658 (desktop-restoring-reuses-frames): New option.
5659 (desktop--compute-pos, desktop--move-onscreen): New functions.
5660 (desktop--make-frame): Use desktop--move-onscreen.
5662 2013-07-27 Alan Mackenzie <acm@muc.de>
5664 Fontify a Java generic method as a function.
5665 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5668 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5670 * calendar/todo-mode.el: Add command to rename todo files.
5671 (todo-rename-file): New command.
5672 (todo-key-bindings-t): Add key binding for it. Change the
5673 bindings of todo-filter-regexp-items(-multifile) to use `x'
5674 instead of `r', since the latter is better suited to the new
5677 2013-07-27 Alan Mackenzie <acm@muc.de>
5679 Make Java try-with-resources statement parse properly.
5680 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5681 (c-block-stmt-1-2-key): New language constants/variables.
5682 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5683 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5684 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5685 with c-block-stmt-1-2-key.
5687 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5689 * desktop.el (desktop--make-frame): Apply most frame parameters after
5690 creating the frame to force (partially or totally) offscreen frames to
5691 be restored as such.
5693 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5695 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5698 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5700 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5701 `base' arg of backtrace-frame.
5703 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5705 * simple.el (list-processes): Doc fix.
5707 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5709 * desktop.el (desktop--select-frame):
5710 Try harder to reuse existing frames.
5712 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5714 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5715 (edebug-eval): Use backtrace-eval.
5716 (edebug--display, edebug--recursive-edit): Don't let-bind the
5717 edebug-outer-* vars that keep track of variables we locally let-bind.
5718 (edebug-outside-excursion): Don't restore outside values of locally
5720 (edebug--display): Use user-error.
5721 (cl-lexical-debug, cl-debug-env): Remove.
5723 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5725 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5726 are restored to be sure that they are visible before deleting any
5729 2013-07-26 Matthias Meulien <orontee@gmail.com>
5731 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5732 vc-print-root-log. (Bug#14948)
5734 2013-07-26 Richard Stallman <rms@gnu.org>
5736 Add aliases for encrypting mail.
5737 * epa.el (epa-mail-aliases): New option.
5738 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5739 Bind inhibit-read-only so read-only text doesn't ruin everything.
5740 (epa-mail-default-recipients): New subroutine broken out.
5741 Handle epa-mail-aliases.
5743 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5745 Add support for lexical variables to the debugger's `e' command.
5746 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5747 vars, except for debugger-outer-match-data.
5748 (debugger-frame-number): Move check for "on a function call" from
5749 callers into it. Add `skip-base' argument.
5750 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5751 (debugger-env-macro): Only reset the state stored in non-variables,
5752 i.e. current-buffer and match-data.
5753 (debugger-eval-expression): Rewrite using backtrace-eval.
5754 * subr.el (internal--called-interactively-p--get-frame): Remove.
5755 (called-interactively-p):
5756 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5757 `base' arg of backtrace-frame instead.
5759 2013-07-26 Glenn Morris <rgm@gnu.org>
5761 * align.el (align-regexp): Doc fix. (Bug#14857)
5762 (align-region): Explicit error if subexpression missing/does not match.
5764 * simple.el (global-visual-line-mode):
5765 Do not duplicate the mode lighter. (Bug#14858)
5767 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5769 * window.el (display-buffer): In display-buffer bind
5770 split-window-keep-point to t, bug#14829.
5772 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5774 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5775 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5776 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5777 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5779 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5780 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5782 2013-07-25 Glenn Morris <rgm@gnu.org>
5784 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5786 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5788 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5789 parameter to modify-frame-parameters if the value has not changed;
5790 this is a workaround for bug#14949.
5791 (desktop--make-frame): On cl-delete-if call, check parameter name,
5794 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5796 * vc/vc.el (vc-ignore): New function.
5798 * vc/vc-svn.el (vc-svn-ignore): New function.
5800 * vc/vc-hg.el (vc-hg-ignore): New function.
5802 * vc/vc-git.el (vc-git-ignore): New function.
5804 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5805 (vc-dir-ignore): New function.
5807 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5808 (cvs-append-to-ignore): Move here from pcvs.el.
5810 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5812 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5814 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5816 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5817 (desktop-restore-frames): Warn when deleting an existing frame failed.
5819 2013-07-24 Glenn Morris <rgm@gnu.org>
5821 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5823 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5825 * filenotify.el (file-notify-supported-p):
5826 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5829 * autorevert.el (auto-revert-use-notify):
5830 (auto-revert-notify-add-watch):
5831 * net/tramp.el (tramp-file-name-for-operation):
5832 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5833 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5834 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5835 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5836 Remove `file-notify-supported-p' entry.
5838 2013-07-24 Glenn Morris <rgm@gnu.org>
5840 * printing.el: Replace all uses of deleted ps-windows-system,
5841 ps-lp-system, ps-flatten-list with lpr- versions.
5843 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5845 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5846 checked with memq (bug#14935).
5848 * files.el (revert-buffer-function): Use a non-nil default.
5849 (revert-buffer-preserve-modes): Declare var to
5850 provide access to the `preserve-modes' argument.
5851 (revert-buffer): Let-bind it.
5852 (revert-buffer--default): New function, extracted from revert-buffer.
5854 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5856 * lpr.el: Signal print errors more prominently.
5857 (print-region-function): Don't default to nil.
5858 (lpr-print-region): New function, extracted from print-region-1.
5859 Check lpr's return value and signal an error in case of problem.
5860 (print-region-1): Use it.
5861 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5863 (ps-printer-name): Default to nil.
5864 (ps-printer-name-option): Default to lpr-printer-switch.
5865 (ps-print-region-function): Don't default to nil.
5866 (ps-postscript-code-directory): Simplify default.
5867 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5868 (ps-string-list, ps-eval-switch, ps-flatten-list)
5869 (ps-flatten-list-1): Remove.
5870 (ps-multibyte-buffer): Avoid setq.
5871 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5872 (print-region-function, ps-print-region-function): Don't set them here.
5874 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5876 * ido.el (ido-fractionp):
5877 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5878 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5879 (ido-max-directory-size, ido-max-dir-file-cache)
5880 (ido-decorations): Doc fix.
5882 * ansi-color.el: Fix old URL.
5884 2013-07-23 Michael R. Mauger <michael@mauger.com>
5886 * progmodes/sql.el: Version 3.3
5887 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5888 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5889 (sql-interactive-remove-continuation-prompt): Rewrite, use
5890 functions above. Fix continuation prompt and complete output line
5892 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5893 redirected output buffer.
5894 (sql-mode): Restore deleted code (Bug#13591).
5896 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5898 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5900 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5902 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5904 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5905 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5906 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5908 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5910 * desktop.el (desktop-clear): Simplify; remove useless checks
5911 against invalid buffer names.
5912 (desktop-list*): Use cl-list*.
5913 (desktop-buffer-info, desktop-create-buffer): Simplify.
5915 2013-07-23 Leo Liu <sdl.web@gmail.com>
5917 * bookmark.el (bookmark-make-record): Restore NAME as a default
5920 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5922 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5923 extracted from autoload--insert-text.
5924 (autoload--insert-text): Remove.
5925 (autoload--print-cookie-text): New function, extracted from
5926 autoload--insert-cookie-text.
5927 (autoload--insert-cookie-text): Remove.
5928 (autoload-generate-file-autoloads): Adjust calls accordingly.
5930 * winner.el (winner-hook-installed-p): Remove.
5931 (winner-mode): Simplify accordingly.
5933 * subr.el (add-to-list): Fix compiler-macro when `append' is
5934 not constant. Don't use `cl-member' for the base case.
5936 * progmodes/subword.el: Fix boundary case (bug#13758).
5937 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5939 (subword-backward-regexp): Make it a constant.
5940 (subword-forward-internal): Don't treat a trailing capital as the
5941 beginning of a word.
5943 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5945 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5946 global value of tabulated-list-revert-hook (bug#14930).
5948 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5950 * desktop.el: Require 'cl-lib.
5951 (desktop-before-saving-frames-functions): New hook.
5952 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5953 for frames being saved. Rename from desktop--save-minibuffer-frames.
5954 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5955 Do not save frames with non-nil `desktop-dont-save' parameter.
5956 Filter out deleted frames.
5957 (desktop--find-frame): Use cl-find-if.
5958 (desktop--select-frame): Use cl-(first|second|third) to access values
5960 (desktop--make-frame): Use cl-delete-if.
5961 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5962 (desktop-restore-frames): Use cl-(first|second|third) to access values
5963 of desktop-mini. Look for visible frame at the end, not while
5966 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5967 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5968 Use string-match-p, looking-at-p (bug#14927).
5970 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5972 * desktop.el (desktop-saved-frame-states):
5973 Rename from desktop--saved-states; all users changed.
5974 (desktop-save-frames): Rename from desktop--save-frames.
5975 Do not save state to desktop file.
5976 (desktop-save): Save desktop-saved-frame-states to desktop file
5978 (desktop-restoring-frames-p): New function.
5979 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5980 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5981 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5983 * desktop.el: Correctly restore iconified frames.
5984 (desktop--filter-iconified-position): New function.
5985 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5987 2013-07-20 Glenn Morris <rgm@gnu.org>
5989 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5990 Let `message' do the formatting.
5991 (def-gdb-preempt-display-buffer): Add explicit format.
5993 * image-dired.el (image-dired-track-original-file):
5994 Use with-current-buffer.
5995 (image-dired-track-thumbnail): Use with-current-buffer.
5996 Avoid changing point of wrong window.
5998 * image-dired.el (image-dired-track-original-file):
5999 Avoid changing point of wrong window. (Bug#14909)
6001 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6003 * progmodes/gdb-mi.el (gdb-done-or-error):
6004 Guard against "%" in gdb output. (Bug#14127)
6006 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6008 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6011 * international/mule.el (coding-system-iso-2022-flags): Fix last
6014 2013-07-20 Kenichi Handa <handa@gnu.org>
6016 * international/mule.el (coding-system-iso-2022-flags):
6017 Add `8-bit-level-4'. (Bug#8522)
6019 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6021 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6024 * net/eww.el (eww-process-text-input): Allow inputting when the
6025 point is at the start of the line, as the properties aren't
6028 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6031 2013-07-19 Richard Stallman <rms@gnu.org>
6033 * epa.el (epa-popup-info-window): Doc fix.
6035 * subr.el (split-string): New arg TRIM.
6037 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6039 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6040 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6042 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6044 * filenotify.el (file-notify--library): Rename from
6045 `file-notify-support'. Do not autoload. Adapt all uses.
6046 (file-notify-supported-p): New defun.
6048 * autorevert.el (auto-revert-use-notify):
6049 Use `file-notify-supported-p' instead of `file-notify-support'.
6051 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6053 * net/tramp.el (tramp-file-name-for-operation):
6054 Add `file-notify-supported-p'.
6056 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6058 (tramp-sh-file-name-handler-alist): Add it as handler for
6059 `file-notify-supported-p '.
6061 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6062 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6063 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6064 Add `ignore' as handler for `file-notify-*' functions.
6066 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6068 * simple.el (line-move-partial, line-move): Don't start vscroll or
6069 scroll-up if the current line is not taller than the window.
6072 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6074 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6075 highlight question marks in the method names as strings.
6076 (ruby-block-beg-keywords): Inline.
6077 (ruby-font-lock-keyword-beg-re): Extract from
6078 `ruby-font-lock-keywords'.
6080 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6082 * frame.el (blink-cursor-blinks): New defcustom.
6083 (blink-cursor-blinks-done): New defvar.
6084 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6085 (blink-cursor-timer-function): Check if number of blinks has been
6087 (blink-cursor-suspend, blink-cursor-check): New defuns.
6089 2013-07-15 Glenn Morris <rgm@gnu.org>
6091 * edmacro.el (edmacro-format-keys): Fix previous change.
6093 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6095 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6096 The hack didn't work outside English locales anyway.
6098 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6100 * simple.el (define-alternatives): Rename from alternatives-define,
6101 per RMS' suggestion.
6103 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6105 * desktop.el (desktop-restore-frames): Change default to t.
6106 (desktop-restore-in-current-display): Now offer more options.
6107 (desktop-restoring-reuses-frames): New customization option.
6108 (desktop--saved-states): Doc fix.
6109 (desktop-filter-parameters-alist): New variable, renamed and expanded
6110 from desktop--excluded-frame-parameters.
6111 (desktop--target-display): New variable.
6112 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6113 (desktop--filter-tty*, desktop--filter-*-color)
6114 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6115 (desktop--filter-save-desktop-parm)
6116 (desktop-restore-in-original-display-p): New functions.
6117 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6118 (desktop--save-minibuffer-frames): New function, inspired by a similar
6119 function from Martin Rudalics.
6120 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6121 (desktop--restore-in-this-display-p): Remove.
6122 (desktop--find-frame): Rename from desktop--find-frame-in-display
6123 and add predicate argument.
6124 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6125 (desktop--reuse-list): New variable.
6126 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6128 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6130 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6132 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6134 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6136 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6137 Highlight conversion methods on Kernel.
6139 2013-07-13 Alan Mackenzie <acm@muc.de>
6141 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6142 and comment it out. This out-commenting enables certain C++
6143 declarations to be parsed correctly.
6145 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6147 * international/mule.el (define-coding-system): Doc fix.
6149 * simple.el (default-font-height): Don't call font-info if the
6150 frame's default font didn't change since the frame was created.
6153 2013-07-13 Leo Liu <sdl.web@gmail.com>
6155 * ido.el (ido-read-file-name): Guard against non-symbol value.
6157 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6159 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6162 2013-07-13 Leo Liu <sdl.web@gmail.com>
6164 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6165 ido-set-matches call. (Bug#6852)
6167 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6169 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6170 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6172 (ruby-font-lock-keywords): Distinguish calls to functions with
6173 module-like names from module references. Highlight character
6176 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6178 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6179 (gdb-send): Handle continued commands. (Bug#14847)
6181 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6183 * desktop.el (desktop--v2s): Remove unused local variable.
6184 (desktop-save-buffer): Make defvar-local; adjust docstring.
6185 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6186 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6188 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6190 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6192 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6194 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6197 2013-07-12 Glenn Morris <rgm@gnu.org>
6199 * doc-view.el: Require cl-lib at runtime too.
6200 (doc-view-remove-if): Remove.
6201 (doc-view-search-next-match, doc-view-search-previous-match):
6204 * edmacro.el: Require cl-lib at runtime too.
6205 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6206 (edmacro-mismatch, edmacro-subseq): Remove.
6208 * shadowfile.el: Require cl-lib.
6209 (shadow-remove-if): Remove.
6210 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6213 * wid-edit.el: Require cl-lib.
6214 (widget-choose): Use cl-remove-if.
6215 (widget-remove-if): Remove.
6217 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6218 (ebrowse-delete-if-not): Remove.
6219 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6220 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6221 Use cl-delete-if-not.
6223 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6225 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6226 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6228 2013-07-12 Leo Liu <sdl.web@gmail.com>
6230 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6232 2013-07-11 Glenn Morris <rgm@gnu.org>
6234 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6235 (edebug-gensym-index, edebug-gensym):
6236 Remove reimplementation of cl-gensym.
6237 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6239 * thumbs.el: Require cl-lib at run-time too.
6240 (thumbs-gensym-counter, thumbs-gensym):
6241 Remove reimplementation of cl-gensym.
6242 (thumbs-temp-file): Use cl-gensym.
6244 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6245 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6246 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6247 (ert--union, ert--gensym-counter, ert--gensym-counter)
6248 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6249 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6250 (ert-make-test-unbound, ert--expand-should-1)
6251 (ert--expand-should, ert--should-error-handle-error)
6252 (should-error, ert--explain-equal-rec)
6253 (ert--plist-difference-explanation, ert-select-tests)
6254 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6255 Use cl-lib functions rather than reimplementations.
6257 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6259 * net/tramp.el (tramp-methods): Extend docstring.
6260 (tramp-connection-timeout): New defcustom.
6261 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6262 (with-tramp-progress-reporter): Simplify.
6263 (tramp-process-actions): Improve messages.
6265 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6266 * net/tramp-sh.el (tramp-maybe-open-connection):
6267 Use `tramp-connection-timeout'.
6268 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6271 2013-07-11 Leo Liu <sdl.web@gmail.com>
6273 * ido.el (ido-read-file-name): Conform to the requirements of
6274 read-file-name. (Bug#11861)
6275 (ido-read-directory-name): Conform to the requirements of
6276 read-directory-name.
6278 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6280 * subr.el (delay-warning): New function.
6282 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6284 * simple.el (default-line-height): New function.
6285 (line-move-partial, line-move): Use it instead of computing the
6287 (line-move-partial): Always compute ROWH. If the last line is
6288 partially-visible, but its text is completely visible, allow
6289 cursor to enter such a partially-visible line.
6291 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6293 Improve error messages. (Bug#14808)
6295 * net/tramp.el (tramp-current-connection): New defvar, moved from
6297 (tramp-message-show-progress-reporter-message): Remove, not
6299 (tramp-error-with-buffer): Show message in minibuffer.
6300 Discard input before waiting. Reset connection timestamp.
6301 (with-tramp-progress-reporter): Improve messages.
6302 (tramp-process-actions): Use progress reporter. Delete process in
6303 case of error. Improve messages.
6305 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6306 Call `tramp-error-with-buffer' with vector and buffer.
6307 (tramp-current-connection): Remove.
6308 (tramp-maybe-open-connection): The car of
6309 `tramp-current-connection' are the first 3 slots of the vector.
6311 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6313 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6314 inside continued strings.
6316 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6318 Timestamp fixes for undo (Bug#14824).
6319 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6321 2013-07-10 Leo Liu <sdl.web@gmail.com>
6323 * files.el (require-final-newline): Allow safe local value.
6326 2013-07-09 Leo Liu <sdl.web@gmail.com>
6328 * ido.el (ido-read-directory-name): Handle fallback.
6329 (ido-read-file-name): Update DIR to ido-current-directory.
6331 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6333 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6335 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6336 "autoload". Remove "warn lower camel case" section, previously
6337 commented out. Highlight negation char. Do not highlight the
6338 target in singleton method definitions.
6340 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6342 * faces.el (tty-setup-hook): Declare the hook.
6344 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6345 and detect when a guard/pred depends on local vars (bug#14773).
6346 (pcase--u1): Adjust caller.
6348 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6350 * simple.el (line-move-partial, line-move): Account for
6352 (line-move-partial): Avoid setting vscroll when the last
6353 partially-visible line in window is of default height.
6355 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6357 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6360 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6362 * subr.el (read-quoted-char): Remove unused local variable `char'.
6364 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6366 * ediff.el (ediff-version): Version update.
6367 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6368 (ediff-merge-with-ancestor-command, ediff-directories-command)
6369 (ediff-directories3-command, ediff-merge-directories-command)
6370 (ediff-merge-directories-with-ancestor-command): New functions.
6371 All are command-line interfaces to ediff: to facilitate calling
6372 Emacs with the appropriate ediff functions invoked.
6374 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6375 (viper-save-kill-buffer): Check if buffer is modified.
6377 * viper.el (viper-version): Version update.
6378 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6380 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6382 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6383 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6384 (viper-intercept-ESC-key): Simplify.
6385 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6386 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6387 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6388 (viper-setup-ESC-to-escape): New functions.
6389 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6390 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6392 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6394 * simple.el (default-font-height, window-screen-lines):
6396 (line-move, line-move-partial): Use them instead of
6397 frame-char-height and window-text-height. This makes scrolling
6398 text smoother when the buffer's default face uses a font that is
6399 different from the frame's default font.
6401 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6403 * files.el (write-file): Do not display confirm dialog for NS,
6404 it does its own dialog, which can't be cancelled (Bug#14578).
6406 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6408 * simple.el (line-move-partial): Adjust the row returned by
6409 posn-at-point for the current window-vscroll. (Bug#14567)
6411 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6413 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6414 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6417 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6419 * window.el (window-state-put-stale-windows): New variable.
6420 (window--state-put-2): Save list of windows without matching buffer.
6421 (window-state-put): Remove "bufferless" windows if possible.
6423 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6425 * simple.el (alternatives-define): Remove leftover :group keyword.
6428 2013-07-06 Leo Liu <sdl.web@gmail.com>
6430 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6431 (ido-enable-virtual-buffers): New variable.
6432 (ido-buffer-internal, ido-toggle-virtual-buffers)
6433 (ido-make-buffer-list): Use it.
6434 (ido-exhibit): Support turning on and off virtual buffers
6437 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6439 * simple.el (alternatives-define): New macro.
6441 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6443 * subr.el (read-quoted-char): Use read-key.
6444 (sit-for): Let read-event decode tty input (bug#14782).
6446 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6448 * calendar/todo-mode.el: Add handling of file deletion, both by
6449 mode command and externally. Fix various related bugs.
6450 Clarify Commentary and improve some documentation strings and code.
6451 (todo-delete-file): New command.
6452 (todo-check-file): New function.
6453 (todo-show): Handle external deletion of the file we're trying to
6454 show (bug#14688). Replace called-interactively-p by an optional
6455 prefix argument to avoid problematic interaction with catch form
6456 when byte compiled (bug#14702).
6457 (todo-quit): Handle external deletion of the archive's todo file.
6458 Make sure the buffer that was visiting the archive file is still
6459 live before trying to bury it.
6460 (todo-category-completions): Handle external deletion of any
6461 category completion files.
6462 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6463 of todo files, in case of external deletion.
6464 (todo-add-file): Replace unnecessary setq by let-binding.
6465 (todo-find-archive): Check whether there are any archives.
6466 Replace unnecessary setq by let-binding.
6467 (todo-archive-done-item): Use find-file-noselect to get the
6468 archive buffer whether or not the archive already exists.
6469 Remove superfluous code. Use file size instead of buffer-file-name to
6470 check if the archive is new; if it is, update list of archives.
6471 (todo-default-todo-file): Allow nil to be a valid value for when
6472 there are no todo files.
6473 (todo-reevaluate-default-file-defcustom): Use corrected definition
6474 of todo-default-todo-file.
6475 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6476 (todo-delete-category, todo-show-categories-table)
6477 (todo-category-number): Clarify comment.
6478 (todo-filter-items): Clarify documentation string.
6479 (todo-show-current-file, todo-display-as-todo-file)
6480 (todo-reset-and-enable-done-separator): Tweak documentation string.
6481 (todo-done-separator): Make separator length window-width, since
6482 bug#2749 is now fixed.
6484 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6486 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6487 Support both "gvfs-monitor-dir" and "inotifywait".
6488 (tramp-sh-file-inotifywait-process-filter): Rename from
6489 `tramp-sh-file-notify-process-filter'.
6490 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6491 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6493 2013-07-05 Leo Liu <sdl.web@gmail.com>
6495 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6497 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6499 * frame.el (display-pixel-height, display-pixel-width)
6500 (display-mm-height, display-mm-width): Mention behavior on
6501 multi-monitor setups in docstrings.
6502 (w32-display-monitor-attributes-list): Declare function.
6503 (display-monitor-attributes-list): Use it.
6505 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6507 * filenotify.el: New package.
6509 * autorevert.el (top): Require filenotify.el.
6510 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6512 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6513 (auto-revert-notify-handler): Use `file-notify-*' functions.
6515 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6517 * net/tramp.el (tramp-file-name-for-operation):
6518 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6520 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6521 for `file-notify-add-watch' and `file-notify-rm-watch'.
6522 (tramp-process-sentinel): Improve trace.
6523 (tramp-sh-handle-file-notify-add-watch)
6524 (tramp-sh-file-notify-process-filter)
6525 (tramp-sh-handle-file-notify-rm-watch)
6526 (tramp-get-remote-inotifywait): New defuns.
6528 2013-07-03 Juri Linkov <juri@jurta.org>
6530 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6531 call of `occur-read-primary-args' to interactive spec.
6533 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6534 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6536 2013-07-03 Matthias Meulien <orontee@gmail.com>
6538 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6539 `Buffer-menu-multi-occur'. Add it to the menu.
6540 (Buffer-menu-mode): Document it in docstring.
6541 (Buffer-menu-multi-occur): New command. (Bug#14673)
6543 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6545 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6546 keywords and built-ins.
6548 2013-07-03 Glenn Morris <rgm@gnu.org>
6550 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6552 Make info-xref checks case-sensitive by default
6553 * info.el (Info-find-node, Info-find-in-tag-table)
6554 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6555 Add option for exact case matching of nodes.
6556 * info-xref.el (info-xref): New custom group.
6557 (info-xref-case-fold): New option.
6558 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6560 2013-07-03 Leo Liu <sdl.web@gmail.com>
6562 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6564 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6566 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6567 middle of block statement initially, lower the depth. Remove
6568 FIXME comment, not longer valid. Remove middle of block statement
6569 detection, no need to do that anymore since we've been using
6570 `ruby-parse-region' here.
6572 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6574 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6576 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6578 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6580 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6582 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6583 (desktop-restore-in-current-display): New customization option.
6584 (desktop--excluded-frame-parameters): Add `font'.
6585 (desktop--save-frames): Rename from desktop--save-windows.
6586 (desktop--restore-in-this-display-p): New function.
6587 (desktop--make-full-frame): Remove unwanted width/height from
6588 full(width|height) frames.
6589 (desktop--restore-frames): Rename from desktop--restore-windows.
6590 Obey desktop-restore-current-display. Do not delete old frames or
6591 select a new frame unless we were able to restore at least one frame.
6593 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6595 * files.el (find-file-noselect): Simplify conditional expression.
6597 * remember.el (remember-append-to-file):
6598 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6600 Add `remember-notes' function to store random notes across Emacs
6602 * remember.el (remember-data-file): Add :set callback to affect
6603 notes buffer (if any).
6604 (remember-notes): New command.
6605 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6606 New defcustoms for the `remember-notes' function.
6607 (remember-notes-save-and-bury-buffer): New command.
6608 (remember-notes-mode-map): New variable.
6609 (remember-mode): New minor mode.
6610 (remember-notes--kill-buffer-query): New function.
6611 * startup.el (initial-buffer-choice): Add notes to custom type.
6613 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6615 * bindings.el (right-char, left-char): Don't call sit-for, this is
6616 no longer needed. Use arithmetic comparison only for numerical
6619 * international/mule-cmds.el (select-safe-coding-system):
6620 Handle the case of FROM being a string correctly. (Bug#14755)
6622 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6624 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6625 progression on degenerate tables.
6626 (shr-rescale-image): ImageMagick animated images currently don't work.
6628 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6630 Some fixes and improvements for desktop frame restoration.
6631 It is still experimental and disabled by default.
6632 * desktop.el (desktop--save-windows): Put the selected frame at
6633 the head of the list.
6634 (desktop--make-full-frame): New function.
6635 (desktop--restore-windows): Try to re-select the frame that was
6636 selected upon saving. Do not abort if some frames fail to restore,
6637 just show an error message and continue. Set up maximized frames
6638 so they have default non-maximized dimensions.
6640 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6642 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6643 Don't start heredoc inside a string or comment.
6645 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6647 * bindings.el (visual-order-cursor-movement): New defcustom.
6648 (right-char, left-char): Provide visual-order cursor motion by
6649 calling move-point-visually. Update the doc strings.
6651 2013-06-28 Kenichi Handa <handa@gnu.org>
6653 * international/mule.el (define-coding-system): New coding system
6654 properties :inhibit-null-byte-detection,
6655 :inhibit-iso-escape-detection, and :prefer-utf-8.
6656 (set-buffer-file-coding-system): If :charset-list property of
6657 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6658 appropriate for setting.
6660 * international/mule-cmds.el (select-safe-coding-system):
6661 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6662 multibyte characters, return utf-8 (or one of its siblings).
6664 * international/mule-conf.el (prefer-utf-8): New coding system.
6665 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6668 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6670 * net/shr.el (shr-render-region): New function.
6672 * net/eww.el: Autoload `eww-browse-url'.
6674 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6676 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6677 Adapt to `package-desc-version' being a list.
6678 Use `package--ac-desc-version' to retrieve version from a package
6681 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6683 New experimental feature to save&restore window and frame setup.
6684 * desktop.el (desktop-save-windows): New defcustom.
6685 (desktop--saved-states): New var.
6686 (desktop--excluded-frame-parameters): New defconst.
6687 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6688 (desktop--restore-windows, desktop--save-windows): New functions.
6689 (desktop-save): Call `desktop--save-windows'.
6690 (desktop-read): Call `desktop--restore-windows'.
6692 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6694 * net/shr.el (add-face-text-property): Remove compat definition.
6696 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6698 * info.el (Info-try-follow-nearest-node): Move search for footnote
6699 above search for node name to prevent missing a footnote (bug#14717).
6701 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6703 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6705 2013-06-27 Leo Liu <sdl.web@gmail.com>
6707 * net/eww.el (eww-read-bookmarks): Check file size.
6709 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6711 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6712 advice--pending if newdef is nil or an autoload (bug#13820).
6713 (advice-mapc): New function.
6715 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6717 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6719 (eww-mode-map): Add a menu bar.
6720 (eww-add-bookmark): New command.
6721 (eww-bookmark-mode): New mode and commands.
6722 (eww-add-bookmark): Remove newlines from the title.
6723 (eww-bookmark-browse): Don't bug out if it's the only window.
6725 2013-06-26 Glenn Morris <rgm@gnu.org>
6727 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6728 (hfy-size): Handle ttys. (Bug#14668)
6730 * info-xref.el: Update for Texinfo 5 change in *note format.
6731 (info-xref-node-re, info-xref-note-re): New constants.
6732 (info-xref-check-buffer): Use info-xref-note-re.
6734 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6736 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6738 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6739 nil terminate the loop (bug#14718).
6741 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6743 * net/eww.el: Rework history traversal. When going forward/back,
6744 put these actions into the history, too, so that they can be
6746 (eww-render): Move the history reset to the correct buffer.
6748 2013-06-25 Juri Linkov <juri@jurta.org>
6750 * files-x.el (modify-dir-local-variable): Change the header comment
6751 in the file with directory local variables. (Bug#14692)
6753 * files-x.el (read-file-local-variable-value): Add `default'.
6756 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6758 * net/eww.el (eww-make-unique-file-name): Create a unique file
6759 name before saving to entering `y' accidentally asynchronously.
6761 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6763 * net/eww.el (eww-download): New command and keystroke.
6765 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6767 * net/eww.el (eww-copy-page-url): Change name of command.
6769 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6770 be more consistent with Info and dired.
6772 * net/eww.el (eww-mode-map): Ditto.
6774 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6776 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6777 packages from archives.
6778 (package-archive-contents): Change format; include obsolete packages.
6779 (package-desc): Use `dir' to mark builtin packages.
6780 (package--from-builtin): Set the `dir' field to `builtin'.
6781 (generated-autoload-file, version-control): Declare.
6782 (package-compute-transaction): Change first arg and return value to be
6783 lists of package-descs. Adjust to new package-archive-contents format.
6784 (package--add-to-archive-contents): Adjust to new
6785 package-archive-contents format.
6786 (package-download-transaction): Arg is now a list of package-descs.
6787 (package-install): If `pkg' is a package name, pass it as
6788 a requirement, so it is subject to the usual (e.g. disabled) checks.
6789 (describe-package): Accept package-desc as well.
6790 (describe-package-1): Describe a specific package-desc. Add links to
6791 other package-descs for the same package name.
6792 (package-menu-describe-package): Pass the actual package-desc.
6793 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6795 (package-desc-status): New function.
6796 (package-menu--refresh): New function, extracted
6797 from package-menu--generate.
6798 (package-menu--generate): Use it.
6799 (package-delete): Update package-alist.
6800 (package-menu-execute): Don't call package-initialize.
6802 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6803 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6804 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6805 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6806 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6807 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6809 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6811 * window.el (window--state-get-1): Workaround for bug#14527.
6812 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6814 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6816 * net/eww.el (eww-back-url): Implement the history by stashing all
6817 the data into a list.
6818 (eww-forward-url): Allow going forward in the history, too.
6820 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6822 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6823 for values and use read--expression for expressions (bug#14710).
6824 (read-file-local-variable): Avoid setq.
6825 (read-file-local-variable-mode): Use minor-mode-list.
6827 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6829 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6832 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6834 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6835 Update imenu-support when dialect changes.
6837 2013-06-25 Leo Liu <sdl.web@gmail.com>
6839 * ido.el (ido-read-internal): Allow forward slash on windows.
6841 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6843 * net/eww.el (eww): Start of strings is \\`, not ^.
6845 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6847 * net/shr.el (shr-browse-url): Fix interactive spec.
6849 * net/eww.el (eww): Add a trailing slash to domain names.
6851 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6853 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6855 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6857 * net/shr.el (shr-browse-url): Use an external browser if given a
6860 * net/eww.el (eww-external-browser): Move to shr.
6862 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6864 * net/eww.el (eww): Work more correctly for file: URLs.
6865 (eww-detect-charset): Allow quoted charsets.
6866 (eww-yank-page-url): New command and keystroke.
6868 2013-06-24 Daiki Ueno <ueno@gnu.org>
6870 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6871 file name of gpg executable.
6872 (epg-context-program): New function.
6873 (epg-context-home-directory): New function.
6874 (epg-context-set-program): New function.
6875 (epg-context-set-home-directory): New function.
6876 (epg--start): Use `epg-context-program' instead of
6878 (epg--list-keys-1): Likewise.
6880 2013-06-24 Leo Liu <sdl.web@gmail.com>
6882 * ido.el (ido-read-internal): Fix bug#14620.
6884 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6886 * faces.el (face-documentation): Simplify.
6887 (read-face-attribute, tty-find-type, x-resolve-font-name):
6888 Use `string-match-p'.
6889 (list-faces-display): Use `string-match-p'. Simplify.
6890 (face-spec-recalc): Check face to avoid face alias loops.
6891 (read-color): Use `string-match-p' and non-capturing parenthesis.
6893 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6895 * net/shr.el (shr-rescale-image): Use the new
6896 :max-width/:max-height functionality.
6898 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6900 * net/eww.el (eww-search-prefix): New variable.
6902 (eww-external-browser): New variable.
6903 (eww-mode-map): New keystroke.
6904 (eww-browse-with-external-browser): New command.
6906 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6908 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6910 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6911 Don't skip aligning the next header field when padding is 0;
6912 otherwise, field width is not respected unless the title is as
6915 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6917 * emacs-lisp/package.el (package-el-version): Remove.
6918 (package-process-define-package): Fix inf-loop.
6919 (package-install): Allow symbols as arguments again.
6921 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6923 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6924 add some more keyword-like methods.
6925 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6927 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6929 * bs.el (bs-buffer-show-mark): Make defvar-local.
6930 (bs-mode): Use setq-local.
6932 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6933 (emacs-lock--try-unlocking): Make defvar-local.
6935 2013-06-22 Glenn Morris <rgm@gnu.org>
6937 * play/cookie1.el (cookie-apropos): Minor simplification.
6939 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6941 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6943 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6944 `regexp-opt', it breaks the build during dumping.
6946 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6948 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6949 Highlight keyword-like methods on Kernel and Module with
6950 font-lock-builtin-face.
6951 (auto-mode-alist): Consolidate different entries into one regexp
6952 and add more *file-s.
6954 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6956 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6958 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6959 (diary-entry): Use it in the action of this button type instead of
6962 * calendar/todo-mode.el: New version.
6963 (todo-add-category): Append new category to end of file and give
6964 it the highest number, instead of putting it at the beginning and
6965 giving it 0. Incorporate noninteractive functionality.
6966 (todo-forward-category): Adapt to 1-based category numbering.
6967 Allow skipping over archived categories.
6968 (todo-backward-category): Derive from todo-forward-category.
6969 (todo-backward-item, todo-forward-item): Make noninteractive and
6970 delegate interactive part to new commands. Make sensitive to done items.
6971 (todo-categories): Make value an alist of category names and
6972 vectors of item counts.
6973 (todo-category-beg): Make a defconst.
6974 (todo-category-number): Use 1 instead of 0 as initial value.
6975 (todo-category-select): Make sensitive to overlays, optional item
6976 highlighting and done items.
6977 (todo-delete-item): Make sensitive to overlays and marked and done items.
6978 (todo-edit-item): Make sensitive to overlays and editing of
6979 date/time header optional. Add format checks.
6980 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6981 no-op if point is not on an item. Advertise using todo-edit-quit.
6982 (todo-edit-mode): Make sensitive to new format, font-locking, and
6983 multiple todo files.
6984 (todo-insert-item, todo-insert-item-here): Derive from
6985 todo-basic-insert-item and extend functionality.
6986 (todo-item-end, todo-item-start): Make sensitive to done items.
6987 (todo-item-string): Don't return text properties. Restore point.
6988 (todo-jump-to-category): Make sensitive to multiple todo files and
6989 todo archives. Use extended category completion.
6990 (todo-lower-item, todo-raise-item): Rename to *-priority and
6991 derive from todo-set-item-priority.
6992 (todo-mode): Derive from special-mode. Make sensitive to new
6993 format, font-locking and multiple todo files. Make read-only.
6994 (todo-mode-map): Don't suppress digit keys, so they can supply
6995 prefix arguments. Add many new key bindings.
6996 (todo-prefix): Insert as an overlay instead of file text.
6997 Change semantics from diary date expression to purely visual mark.
6998 (todo-print): Rename to todo-print-buffer. Make buffer display
6999 features printable. Remove option to restrict number of items
7000 printed. Add option to print to file.
7001 (todo-print-function): Rename to todo-print-buffer-function.
7002 (todo-quit): Extend to handle exiting new todo modes.
7003 (todo-remove-item): Make sensitive to overlays.
7004 (todo-save): Extend to buffers of filtered items.
7005 (todo-show): Make sensitive to done items, multiple todo files and
7006 new todo modes. Offer to convert legacy todo file before creating
7007 first new todo file.
7008 (todo-show-priorities): Rename to todo-top-priorities.
7009 Change semantics of value 0.
7010 (todo-top-priorities): Rename to todo-filter-top-priorities,
7011 derive from todo-filter-items and extend functionality.
7012 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7013 and extend functionality to other types of filtered items.
7014 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7015 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7016 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7017 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7018 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7019 (todo-edit-mode-hook, todo-entry-prefix-function)
7020 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7021 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7022 (todo-initials, todo-insert-threshold, todo-item-string-start)
7023 (todo-line-string, todo-menu, todo-mode-hook)
7024 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7025 (todo-print-priorities, todo-remove-separator)
7026 (todo-save-top-priorities-too, todo-string-count-lines)
7027 (todo-string-multiline-p, todo-time-string-format)
7028 (todo-tmp-buffer-name): Remove.
7029 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7030 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7031 (todo-edit-category-diary-inclusion)
7032 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7033 (todo-edit-file, todo-edit-item-date-day)
7034 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7035 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7036 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7037 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7038 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7039 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7040 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7041 (todo-filter-top-priorities-multifile, todo-find-archive)
7042 (todo-find-filtered-items-file, todo-go-to-source-item)
7043 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7044 (todo-jump-to-archive-category, todo-lower-category)
7045 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7046 (todo-move-category, todo-move-item, todo-next-button)
7047 (todo-next-item, todo-padded-string, todo-powerset)
7048 (todo-previous-button, todo-previous-item)
7049 (todo-print-buffer-to-file, todo-raise-category)
7050 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7051 (todo-set-category-number, todo-set-item-priority)
7052 (todo-set-top-priorities-in-category)
7053 (todo-set-top-priorities-in-file, todo-show-categories-table)
7054 (todo-sort-categories-alphabetically-or-numerically)
7055 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7056 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7057 (todo-toggle-item-header, todo-toggle-item-highlighting)
7058 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7059 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7060 (todo-unarchive-items, todo-unmark-category): New commands.
7061 (todo-absolute-file-name, todo-add-to-buffer-list)
7062 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7063 (todo-basic-insert-item, todo-category-completions)
7064 (todo-category-number, todo-category-string-matcher-1)
7065 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7066 (todo-check-format, todo-clear-matches)
7067 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7068 (todo-current-category, todo-date-string-matcher)
7069 (todo-define-insertion-command, todo-diary-expired-matcher)
7070 (todo-diary-goto-entry, todo-diary-item-p)
7071 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7072 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7073 (todo-done-item-section-p, todo-done-separator)
7074 (todo-done-string-matcher, todo-files, todo-filter-items)
7075 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7076 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7077 (todo-insert-category-line, todo-insert-item-from-calendar)
7078 (todo-insert-sort-button, todo-insert-with-overlays)
7079 (todo-insertion-command-name, todo-insertion-key-bindings)
7080 (todo-label-to-key, todo-longest-category-name-length)
7081 (todo-make-categories-list, todo-mode-external-set)
7082 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7083 (todo-modes-set-3, todo-multiple-filter-files)
7084 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7085 (todo-read-category, todo-read-date, todo-read-dayname)
7086 (todo-read-file-name, todo-read-time)
7087 (todo-reevaluate-category-completions-files-defcustom)
7088 (todo-reevaluate-default-file-defcustom)
7089 (todo-reevaluate-filelist-defcustoms)
7090 (todo-reevaluate-filter-files-defcustom)
7091 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7092 (todo-reset-done-separator, todo-reset-done-separator-string)
7093 (todo-reset-done-string, todo-reset-global-current-todo-file)
7094 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7095 (todo-reset-prefix, todo-set-categories)
7096 (todo-set-date-from-calendar, todo-set-show-current-file)
7097 (todo-set-top-priorities, todo-short-file-name)
7098 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7099 (todo-total-item-counts, todo-update-buffer-list)
7100 (todo-update-categories-display, todo-update-categories-sexp)
7101 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7103 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7105 (todo-categories, todo-display, todo-edit, todo-faces)
7106 (todo-filtered): New defgroups.
7107 (todo-archived-only, todo-button, todo-category-string, todo-date)
7108 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7109 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7110 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7111 (todo-add-item-if-new-category, todo-always-add-time-string)
7112 (todo-categories-align, todo-categories-archived-label)
7113 (todo-categories-category-label, todo-categories-diary-label)
7114 (todo-categories-done-label, todo-categories-number-separator)
7115 (todo-categories-todo-label, todo-categories-totals-label)
7116 (todo-category-completions-files, todo-completion-ignore-case)
7117 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7118 (todo-done-separator-string, todo-done-string)
7119 (todo-files-function, todo-filter-done-items, todo-filter-files)
7120 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7121 (todo-initial-category, todo-initial-file, todo-item-mark)
7122 (todo-legacy-date-time-regexp, todo-mode-line-function)
7123 (todo-nondiary-marker, todo-number-prefix)
7124 (todo-print-buffer-function, todo-show-current-file)
7125 (todo-show-done-only, todo-show-first, todo-show-with-done)
7126 (todo-skip-archived-categories, todo-top-priorities-overrides)
7127 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7128 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7130 (todo-category-done, todo-date-pattern, todo-date-string-start)
7131 (todo-diary-items-buffer, todo-done-string-start)
7132 (todo-filtered-items-buffer, todo-item-start)
7133 (todo-month-abbrev-array, todo-month-name-array)
7134 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7135 (todo-top-priorities-buffer): New defconsts.
7136 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7137 (todo-categories-with-marks, todo-category-string-face)
7138 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7139 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7140 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7141 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7142 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7143 (todo-font-lock-keywords, todo-global-current-todo-file)
7144 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7145 (todo-insertion-commands-args)
7146 (todo-insertion-commands-args-genlist)
7147 (todo-insertion-commands-names, todo-insertion-map)
7148 (todo-key-bindings-t, todo-key-bindings-t+a)
7149 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7150 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7151 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7152 (todo-visited): New variables.
7154 2013-06-21 Glenn Morris <rgm@gnu.org>
7156 * play/cookie1.el (cookie-apropos): Add optional display argument.
7157 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7158 (psychoanalyze-pinhead): Use cookie-doctor.
7160 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7162 * emacs-lisp/package.el (tar-get-file-descriptor)
7163 (tar--extract): Declare.
7165 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7167 Extend flymake's warning predicate to be a function (bug#14217).
7168 * progmodes/flymake.el (flymake-warning-predicate): New.
7169 (flymake-parse-line): Use it.
7170 (flymake-warning-re): Make obsolete alias to
7171 `flymake-warning-predicate'.
7173 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7175 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7176 (package-obsolete-list): Remove.
7177 (package-activate): Remove min-version argument. Add `force' argument.
7178 Adjust to new package-alist format.
7179 (package-mark-obsolete): Remove.
7180 (package-unpack): Force reload of the package's autoloads.
7181 (package-installed-p): Check builtins if the installed package is not
7183 (package-initialize): Don't reset package-obsolete-list.
7184 Don't specify which package version to activate.
7185 (package-process-define-package, describe-package-1)
7186 (package-menu--generate): Adjust to new package-alist format.
7188 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7190 * allout-widgets.el (allout-widgets-mode-off)
7191 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7192 (allout-widgets-post-command-business)
7193 (allout-widgets-after-copy-or-kill-function)
7194 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7195 (allout-decorate-item-and-context)
7196 (allout-graphics-modification-handler): Fix typos in docstrings.
7197 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7199 * cmuscheme.el (scheme-start-file): Doc fix.
7200 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7201 (scheme-input-filter): Use `string-match-p'.
7203 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7205 * dired-x.el: Use Dired consistently in docstrings.
7207 * dired.el: Use Dired consistently in docstrings.
7208 (dired-readin, dired-mode): Use `setq-local'.
7209 (dired-switches-alist): Make defvar-local.
7210 (dired-buffers-for-dir): Use `zerop'.
7211 (dired-safe-switches-p, dired-switches-escape-p)
7212 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7213 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7214 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7215 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7216 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7217 (dired-toggle-marks, dired-mark-files-containing-regexp)
7218 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7219 (dired-flag-auto-save-files, dired-flag-backup-files):
7221 (dired-mark-files-regexp, dired-build-subdir-alist):
7222 Use `string-match-p', `looking-at-p'.
7224 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7225 (direct-print-region-helper): Use `string-match-p'.
7227 2013-06-21 Leo Liu <sdl.web@gmail.com>
7229 * comint.el (comint-redirect-results-list-from-process):
7232 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7234 * net/eww.el (eww-update-header-line-format): Quote % characters.
7236 2013-06-21 Glenn Morris <rgm@gnu.org>
7238 * play/cookie1.el (cookie): New custom group.
7239 (cookie-file): New option.
7240 (cookie-check-file): New function.
7241 (cookie): Make it interactive. Make start and end messages optional.
7242 Interactively, display the result. Default to cookie-file.
7243 (cookie-insert): Default to cookie-file.
7244 (cookie-snarf): Make start and end messages optional.
7245 Default to cookie-file. Use with-temp-buffer.
7246 (cookie-read): Rename from read-cookie.
7247 Make start and end messages optional. Default to cookie-file.
7248 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7250 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7251 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7253 2013-06-21 Leo Liu <sdl.web@gmail.com>
7255 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7257 2013-06-21 Glenn Morris <rgm@gnu.org>
7259 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7261 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7262 Daniel Hackney <dan@haxney.org>
7264 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7265 Consolidate the single-file vs tarball code.
7266 (package-desc-suffix): New function.
7267 (package-desc-full-name): Don't bother inlining it.
7268 (package-load-descriptor): Return the new package-desc.
7269 (package-mark-obsolete): Remove unused arg `package'.
7270 (package-unpack): Make it work for single files as well.
7271 Make it update package-alist.
7272 (package--make-autoloads-and-stuff): Rename from
7273 package--make-autoloads-and-compile. Don't compile any more.
7274 (package--compile): New function.
7275 (package-generate-description-file): New function, extracted from
7276 package-unpack-single.
7277 (package-unpack-single): Remove.
7278 (package--with-work-buffer): Add indentation and debugging info.
7279 (package-download-single): Remove.
7280 (package-install-from-archive): Rename from package-download-tar, make
7281 it take a pkg-desc, and make it work for single files as well.
7282 (package-download-transaction): Simplify.
7283 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7284 external tar program.
7285 (package-install-from-buffer): Remove `pkg-desc' argument.
7286 Use package-tar-file-info for tar-mode buffers.
7287 (package-install-file): Simplify accordingly.
7288 (package-archive-base): Change to take a pkg-desc.
7289 * tar-mode.el (tar--check-descriptor): New function, extracted from
7291 (tar-get-descriptor): Use it.
7292 (tar-get-file-descriptor): New function.
7293 (tar--extract): New function, extracted from tar-extract.
7294 (tar--extract): Use it.
7295 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7296 case the summary uses non-ascii. Adjust to new calling convention of
7297 package-tar-file-info.
7299 2013-06-21 Leo Liu <sdl.web@gmail.com>
7301 * comint.el (comint-redirect-results-list-from-process):
7302 Fix random delay. (Bug#14681)
7304 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7306 * profiler.el (profiler-format-number): Use log, not log10.
7308 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7310 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7312 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7314 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7315 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7317 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7318 (AUTOGENEL): ... here.
7319 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7320 (cl--defsubst-expand): Use it.
7322 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7324 * subr.el (log10): Move here from C code, and declare as obsolete.
7325 All uses of (log10 X) replaced with (log X 10).
7327 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7329 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7330 Declare with `defvar-local'.
7331 (tabulated-list-use-header-line, tabulated-list-entries)
7332 (tabulated-list-padding, tabulated-list-printer)
7333 (tabulated-list-sort-key): Declare with `defvar-local'.
7334 (tabulated-list-init-header, tabulated-list-print-fake-header):
7337 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7339 * arc-mode.el (archive-mode): Add `archive-write-file' to
7340 `write-contents-functions' also for remote files. (Bug#14652)
7342 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7344 * cus-edit.el (custom-commands): Fix typos.
7345 (custom-display): Fix tooltip text.
7346 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7347 Fix typos in docstrings.
7348 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7349 (custom-unlispify-menu-entry, custom-magic-value-create)
7350 (custom-add-see-also, custom-group-value-create): Use ?\s.
7351 (custom-guess-type, customize-apropos, editable-field)
7352 (custom-face-value-create): Use `string-match-p'.
7353 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7355 * custom.el (custom-load-symbol): Use `string-match-p'.
7357 * ansi-color.el: Convert to lexical binding.
7358 (ansi-colors): Fix URL.
7359 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7360 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7361 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7363 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7365 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7367 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7369 2013-06-19 Tom Tromey <tromey@redhat.com>
7371 * net/eww.el (eww-top-url): Remove.
7372 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7373 (eww-render): Set new variables. Don't set eww-top-url.
7374 (eww-handle-link): Handle "prev", "home", and "contents".
7375 Downcase the rel text.
7376 (eww-top-url): Choose best top URL.
7378 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7380 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7381 relying in widget.el. Using widget.el leads to too many
7382 user interface inconsistencies.
7383 (eww-self-insert): Implement entering commands in text fields.
7384 (eww-process-text-input): New function to make text input field editing
7386 (eww-submit): Rewrite to use the new-style form methods.
7387 (eww-select-display): Display the correct selected item.
7388 (eww-change-select): Implement changing the select value.
7389 (eww-toggle-checkbox): Implement radio/checkboxes.
7390 (eww-update-field): Fix compilation error.
7391 (eww-tag-textarea): Implement <textarea>.
7393 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7394 we don't shadow mode-specific bindings.
7396 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7399 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7401 2013-06-19 Glenn Morris <rgm@gnu.org>
7403 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7405 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7407 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7410 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7412 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7414 * net/browse-url.el (browse-url-browser-function):
7415 `eww-browse-url' has the right calling signature, `eww' does not.
7417 2013-06-19 Glenn Morris <rgm@gnu.org>
7419 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7420 Only eval autoloaded macros.
7421 (byte-compile-autoload): Only give the macro warning for macros.
7423 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7424 (ps-underlined-faces): Declare.
7426 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7427 (speedbar-add-supported-extension): Declare.
7429 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7430 Don't include a date stamp in the header of the generated file;
7431 it leads to needless differences between output files.
7433 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7435 * net/secrets.el (secrets-struct-secret-content-type):
7436 Replace check of introspection data by a test call of "CreateItem".
7437 Some servers do not offer introspection.
7439 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7441 * electric.el (electric-pair-mode): Improve interaction with
7442 electric-layout-mode.
7443 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7444 (electric-pair-syntax): Use text-mode-syntax-table in comments
7446 (electric-pair--insert): New function.
7447 (electric-pair-post-self-insert-function): Use it and
7448 electric--after-char-pos.
7450 2013-06-19 Leo Liu <sdl.web@gmail.com>
7452 * progmodes/octave.el (octave-help): Fix regexp.
7454 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7456 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7457 (shr-table-horizontal-line): Allow nil as a value, and change the
7459 (shr-insert-table-ruler): Respect the nil value.
7461 2013-06-18 Tom Tromey <tromey@barimba>
7463 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7465 (eww-open-file): New defun.
7466 (eww-render): Initialize new variables.
7467 (eww-display-html): Handle "link" and "a".
7468 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7469 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7470 (eww-back-url): Rename from eww-previous-url.
7471 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7474 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7476 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7477 Distinguish ternary operator tokens from slash symbol and slash
7480 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7482 Convert symbol prettification into minor mode and global minor mode.
7484 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7485 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7486 (prettify-symbols--keywords): Rename from
7487 `prog-prettify-symbols-alist' and make a local defvar.
7488 (prettify-symbols--compose-symbol): Rename from
7489 `prog--prettify-font-lock-compose-symbol'.
7490 (prettify-symbols--make-keywords): Rename from
7491 `prog-prettify-font-lock-symbols-keywords' and simplify.
7492 (prog-prettify-install): Remove.
7493 (prettify-symbols-mode): New minor mode, based on
7494 `prog-prettify-install'.
7495 (turn-on-prettify-symbols-mode): New function.
7496 (global-prettify-symbols-mode): New globalized minor mode.
7498 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7499 * progmodes/cfengine.el (cfengine3-mode):
7500 * progmodes/perl-mode.el (perl-mode): Don't call
7501 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7503 2013-06-18 Juri Linkov <juri@jurta.org>
7505 * files-x.el (modify-file-local-variable-message): New function.
7506 (modify-file-local-variable)
7507 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7508 and call `modify-file-local-variable-message' when it's non-nil.
7509 (add-file-local-variable, delete-file-local-variable)
7510 (add-file-local-variable-prop-line)
7511 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7512 and use it. (Bug#9820)
7514 2013-06-18 Juri Linkov <juri@jurta.org>
7516 * emulation/vi.el (vi-shell-op):
7517 * emulation/vip.el (vip-execute-com, ex-command):
7518 * emulation/viper-cmd.el (viper-exec-bang):
7519 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7520 the call of `shell-command-on-region'. (Bug#14637)
7522 * simple.el (shell-command-on-region): Doc fix.
7524 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7526 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7529 2013-06-18 Glenn Morris <rgm@gnu.org>
7531 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7533 * newcomment.el (comment-search-forward, comment-search-backward):
7534 Doc fix. (Bug#14376)
7536 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7538 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7539 (buffer-face-mode-invoke): Doc fix.
7541 2013-06-18 Matthias Meulien <orontee@gmail.com>
7543 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7544 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7546 2013-06-18 Glenn Morris <rgm@gnu.org>
7548 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7549 Replace obsolete function generic-make-keywords with its expansion.
7551 * progmodes/python.el (ffap-alist): Declare.
7553 * textmodes/reftex.el (bibtex-mode-map): Declare.
7555 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7557 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7558 (package-unpack, package-unpack-single): Return the pkg-dir.
7559 (package-download-transaction): Use it to update package-alist.
7561 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7563 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7566 2013-06-17 Juri Linkov <juri@jurta.org>
7568 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7570 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7572 * emacs-lisp/package.el (package-load-descriptor):
7573 Remove `with-syntax-table' call, `read' doesn't need it.
7574 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7576 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7578 * startup.el (command-line): Expand package name returned by
7579 `package--description-file' (bug#14639).
7581 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7583 * emacs-lisp/package.el (package-load-descriptor): Do not call
7584 `emacs-lisp-mode', just use its syntax table.
7586 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7588 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7589 `font-lock-extra-managed-props' if any prettifying keyword is added.
7590 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7591 (prog-mode): Use `setq-local'.
7593 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7595 * international/characters.el (standard-case-table): Set syntax of ?»
7596 and ?« to punctuation.
7598 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7600 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7601 Save relevant match data before calling `syntax-ppss' (bug#14595).
7603 2013-06-15 Juri Linkov <juri@jurta.org>
7605 * files-x.el (modify-file-local-variable-prop-line): Add local
7606 variables to the end of the existing comment on the first line.
7607 Use `file-auto-mode-skip' to skip interpreter magic line,
7608 and also skip XML declaration.
7610 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7612 * startup.el (package--builtin-versions): New var.
7613 (package-subdirectory-regexp): Remove.
7614 (package--description-file): Hard code its value instead.
7616 * emacs-lisp/package.el: Don't activate packages older than builtin.
7617 (package-obsolete-list): Rename from package-obsolete-alist, and make
7618 it into a simple list of package-desc.
7619 (package-strip-version): Remove.
7620 (package-built-in-p): Use package--builtin-versions.
7621 (package-mark-obsolete): Simplify.
7622 (package-process-define-package): Mark it obsolete if older than the
7624 (package-handle-response): Use line-end-position.
7625 (package-read-archive-contents, package--download-one-archive):
7627 (package--add-to-archive-contents): Skip if older than the builtin or
7629 (package-menu-describe-package): Fix last change.
7630 (package-list-unversioned): New var.
7631 (package-menu--generate): Use it.
7633 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7634 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7635 (autoload-builtin-package-versions): New variable.
7636 (autoload-generate-file-autoloads): Use them.
7637 Remove the list of autoloaded functions/macros from the
7638 (autoload...) comments.
7640 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7642 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7644 * simple.el (line-move-partial): Don't jump to the next screen
7645 line as soon as it becomes visible. Instead, continue enlarging
7646 the vscroll until the portion of a tall screen line that's left on
7647 display is about the height of the frame's default font.
7650 2013-06-15 Glenn Morris <rgm@gnu.org>
7652 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7653 compilation-error-regexp-alist void, or local while let-bound.
7655 * progmodes/make-mode.el (makefile-mode-syntax-table):
7656 Treat "=" as punctuation. (Bug#14614)
7658 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7660 * help-fns.el (describe-variable):
7661 Add extra line for permanent-local variables.
7663 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7665 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7666 Add export, import, library. (Bug#9164)
7667 (library): Set indent function.
7669 2013-06-14 Glenn Morris <rgm@gnu.org>
7671 * term/xterm.el (xterm--query):
7672 Stop after first matching handler. (Bug#14615)
7674 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7676 Add support for dired in saveplace.
7677 * dired.el (dired-initial-position-hook): New variable.
7678 (dired-initial-position): Call hook to place cursor position.
7679 * saveplace.el (save-place-to-alist): Add dired position.
7680 (save-place-dired-hook): New function.
7682 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7684 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7685 through a symbol rather than letrec.
7687 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7688 (package-desc): Add `dir' field.
7689 (package-desc-full-name): New function.
7690 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7691 (package-maybe-load-descriptor): Remove.
7692 (package-load-all-descriptors): Just call package-load-descriptor.
7693 (package--disabled-p): New function.
7694 (package-desc-vers, package-desc-doc): Remove aliases.
7695 (package--dir): Remove function.
7696 (package-activate): Check if a package is disabled.
7697 (package-process-define-package): New function, extracted from
7699 (define-package): Turn into a place holder.
7700 (package-unpack-single, package-tar-file-info):
7701 Use package--description-file.
7702 (package-compute-transaction): Use package--disabled-p.
7703 (package-download-transaction): Don't call
7704 package-maybe-load-descriptor since they're all loaded anyway.
7705 (package-install): Change argument to be a pkg-desc.
7706 (package-delete): Use a single pkg-desc argument.
7707 (describe-package-1): Use package-desc-dir instead of package--dir.
7708 Use package-desc property instead of package-symbol.
7709 (package-install-button-action): Adjust accordingly.
7710 (package--push): Rewrite.
7711 (package-menu--print-info): Adjust accordingly. Change the ID format
7713 (package-menu-describe-package, package-menu-get-status)
7714 (package-menu--find-upgrades, package-menu-mark-upgrades)
7715 (package-menu-execute, package-menu--name-predicate):
7717 * startup.el (package--description-file): New function.
7718 (command-line): Use it.
7719 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7720 Use package-desc-version.
7722 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7723 (byte-compile-preprocess): Use it.
7724 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7725 can't quite recognize.
7726 (byte-compile-add-to-list): Remove.
7727 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7728 (cconv-closure-convert): Add assertion.
7730 * emacs-lisp/map-ynp.el: Use lexical-binding.
7731 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7732 Factor out some repeated code.
7734 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7736 * subr.el (with-eval-after-load): New macro.
7737 (eval-after-load): Allow form to be a function.
7738 take advantage of lexical-binding.
7739 (do-after-load-evaluation): Use dolist and adjust to new format.
7740 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7742 2013-06-13 Juri Linkov <juri@jurta.org>
7744 * replace.el (perform-replace): Display "symbol " and other search
7745 modes from `isearch-message-prefix' in the *Help* buffer.
7747 * isearch.el (isearch-query-replace): Add " symbol" and other
7748 possible search modes from `isearch-message-prefix' to the prompt.
7749 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7750 when reading a regexp to collect.
7752 2013-06-13 Juri Linkov <juri@jurta.org>
7754 * isearch.el (word-search-regexp): Match whitespace if the search
7755 string begins or ends in whitespace. The LAX arg is applied to
7756 both ends of the search string. Use `regexp-quote' and explicit
7757 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7758 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7759 boundaries are replaced with symbol boundaries, and characters
7760 between symbols match non-word non-symbol syntax. (Bug#14602)
7762 2013-06-13 Juri Linkov <juri@jurta.org>
7764 * isearch.el (isearch-del-char): Don't exceed the length of
7765 `isearch-string' by the prefix arg. (Bug#14563)
7767 2013-06-13 Juri Linkov <juri@jurta.org>
7769 * isearch.el (isearch-yank-word, isearch-yank-line)
7770 (isearch-char-by-name, isearch-quote-char)
7771 (isearch-printing-char, isearch-process-search-char):
7772 Add optional count prefix arg. (Bug#14563)
7774 * international/isearch-x.el
7775 (isearch-process-search-multibyte-characters):
7776 Add optional count prefix arg.
7778 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7780 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7781 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7784 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7786 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7788 2013-06-13 Glenn Morris <rgm@gnu.org>
7790 * startup.el (tty-handle-args):
7791 Don't just discard "--" and anything after. (Bug#14608)
7793 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7795 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7797 Implement changes in Secret Service API. Make it backward compatible.
7798 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7799 (secrets-create-item): Use it. Prefix properties with interface.
7801 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7803 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7804 (term-emulate-terminal): Respect term-suppress-hard-newline.
7806 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7808 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7809 Only remove a `thumb-file' overlay. (Bug#14548)
7811 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7813 * mail/reporter.el (reporter-submit-bug-report):
7814 Handle missing package-name. (Bug#14600)
7816 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7818 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7819 (reftex-citation-prompt, reftex-default-bibliography)
7820 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7821 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7822 (reftex-bib-sort-author, reftex-bib-sort-year)
7823 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7824 (reftex-extract-bib-entries-from-thebibliography)
7825 (reftex-get-bibkey-default, reftex-get-bib-names)
7826 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7827 (reftex-format-bib-entry, reftex-parse-bibitem)
7828 (reftex-format-bibitem, reftex-do-citation)
7829 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7830 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7831 (reftex-insert-bib-matches, reftex-format-citation)
7832 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7833 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7834 existing comments into docstrings.
7836 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7838 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7840 2013-06-12 Andreas Schwab <schwab@suse.de>
7842 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7843 for auto-save files.
7845 2013-06-12 Glenn Morris <rgm@gnu.org>
7847 * ido.el (ido-delete-ignored-files): Remove.
7848 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7849 Go back to calling ido-ignore-item-p directly.
7851 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7853 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7855 * ido.el (ido-delete-ignored-files): New function,
7856 split from ido-make-file-list-1.
7857 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7858 (ido-make-file-list-1): Use ido-delete-ignored-files.
7860 2013-06-12 Leo Liu <sdl.web@gmail.com>
7862 * progmodes/octave.el (inferior-octave-startup)
7863 (inferior-octave-completion-table)
7864 (inferior-octave-track-window-width-change)
7865 (octave-eldoc-function-signatures, octave-help)
7866 (octave-find-definition): Use single quoted strings.
7867 (inferior-octave-startup-args): Change default value.
7868 (inferior-octave-startup): Do not hard code "-i" and
7869 "--no-line-editing".
7870 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7871 (inferior-octave-directory-tracker): Use it.
7872 (octave-goto-function-definition): Robustify.
7873 (octave-help): Support highlighting operators in 'See also'.
7874 (octave-find-definition): Find subfunctions only in Octave mode.
7876 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7878 * help-fns.el (help-fns--compiler-macro): If the handler function is
7879 named, then put a link to it.
7880 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7881 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7883 (cl-eval-when): Simplify debug spec.
7884 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7885 compiler-macro function instead of setting `compiler-macro-file'.
7887 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7889 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7890 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7892 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7893 Daniel Hackney <dan@haxney.org>
7895 First part of Daniel Hackney's patch to package.el.
7896 * emacs-lisp/package.el: Use defstruct.
7897 (package-desc): New, main struct.
7898 (package--bi-desc, package--ac-desc): New structs, used to describe the
7899 format in external files.
7900 (package-desc-vers): Replace with package-desc-version accessor.
7901 (package-desc-doc): Replace with package-desc-summary accessor.
7902 (package-activate-1): Remove `package' arg since the pkg-vec now
7904 (define-package): Use package-desc-from-define.
7905 (package-unpack-single): Change file-name arg to be a symbol.
7906 (package--add-to-archive-contents): Use package-desc-create and new
7907 accessor functions to package--ac-desc.
7908 (package-buffer-info, package-tar-file-info): Return a package-desc.
7909 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7910 arg to be a package-desc.
7911 (package-install-file): Adjust accordingly. Use \' to match EOS.
7912 (package--from-builtin): New function.
7913 (describe-package-1, package-menu--generate): Use it.
7914 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7915 (package-generate-autoloads): Idem and return the name of the file.
7916 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7917 Change pkg-info arg to be a package-desc.
7918 Use package-make-ac-desc.
7919 (package-upload-file): Use \' to match EOS.
7920 * finder.el (finder-compile-keywords): Use package-make-builtin.
7922 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7924 * vc/vc.el (vc-deduce-fileset): Change error message.
7925 (vc-read-backend): New function.
7926 (vc-next-action): Use it.
7928 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7930 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7931 (prolog-font-lock-keywords): Use regexp-opt instead.
7932 Don't manually highlight strings.
7933 (prolog-mode-variables): Simplify comment-start-skip.
7934 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7936 * emacs-lisp/generic.el (generic--normalise-comments)
7937 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7938 (generic-mode-set-comments): Use them.
7939 (generic-bracket-support): Use setq-local.
7940 (generic-make-keywords-list): Declare obsolete.
7942 2013-06-11 Glenn Morris <rgm@gnu.org>
7944 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7945 Prettify after setting font-lock-defaults. (Bug#14574)
7947 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7949 * replace.el (query-replace, occur-read-regexp-defaults-function)
7951 * subr.el (declare-function, number-sequence, local-set-key)
7952 (substitute-key-definition, locate-user-emacs-file)
7953 (with-silent-modifications, split-string, eval-after-load):
7954 Fix typos, remove unneeded backslashes and reflow some docstrings.
7956 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7958 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7959 default for Elisp files.
7961 2013-06-11 Glenn Morris <rgm@gnu.org>
7963 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7964 although define-derived-mode was doing this anyway. (Bug#14583)
7966 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7968 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7969 Fix make-variable-buffer-local call to refer to the correct variable.
7971 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7973 * eshell/em-term.el (eshell-visual-commands)
7974 (eshell-visual-subcommands, eshell-visual-options):
7975 Add summary line to docstrings. Add cross-references.
7977 2013-06-10 Glenn Morris <rgm@gnu.org>
7979 * epa.el (epa-read-file-name): New function. (Bug#14510)
7980 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7982 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7984 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7985 output redirection to be ignored with visual commands.
7987 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7989 * eshell/em-term.el (eshell-visual-command-p): New function.
7990 (eshell-term-initialize): Move long lambda to separate function
7991 eshell-visual-command-p.
7992 * eshell/em-dirs.el (eshell-dirs-initialise):
7993 * eshell/em-script.el (eshell-script-initialize):
7994 Add missing #' to lambda.
7996 2013-06-08 Leo Liu <sdl.web@gmail.com>
7998 * progmodes/octave.el (octave-add-log-current-defun): New function.
7999 (octave-mode): Set add-log-current-defun-function.
8000 (octave-goto-function-definition): Do not move point if not found.
8001 (octave-find-definition): Enhance to try subfunctions first.
8003 2013-06-08 Glenn Morris <rgm@gnu.org>
8005 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8006 (byte-compile-backward-char, byte-compile-backward-word):
8007 Improve previous change, to handle non-explicit nil.
8009 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8011 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8012 (smie--opener/closer-at-point): New function.
8013 (smie--matching-block-data): Use it. Don't match from right after an
8014 opener or right before a closer. Obey smie-blink-matching-inners.
8015 Don't signal a mismatch for repeated inners like "switch..case..case".
8017 2013-06-07 Leo Liu <sdl.web@gmail.com>
8019 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8021 (octave-function-header-regexp): Fix. (Bug#14570)
8022 (octave-help-mode-finish-hook, octave-help-mode-finish):
8023 Remove. Just use temp-buffer-show-hook.
8025 * newcomment.el (comment-search-backward): Revert last change.
8028 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8030 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8032 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8033 through xargs, to avoid failure due to MS-Windows limitations on
8034 command-line length.
8036 2013-06-06 Glenn Morris <rgm@gnu.org>
8038 * font-lock.el (lisp-font-lock-keywords-2):
8039 Treat user-error like error.
8041 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8042 (byte-compile-backward-char, byte-compile-backward-word):
8043 Handle explicit nil arguments. (Bug#14565)
8045 2013-06-05 Alan Mackenzie <acm@muc.de>
8047 * isearch.el (isearch-allow-prefix): New user option.
8048 (isearch-other-meta-char): Don't exit isearch when a prefix
8049 argument is typed whilst `isearch-allow-prefix' is non-nil.
8052 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8054 * autorevert.el (auto-revert-notify-handler): Use memq.
8055 Hide assertion failure.
8057 * skeleton.el: Use cl-lib.
8058 (skeleton-further-elements): Use defvar-local.
8059 (skeleton-insert): Use cl-progv.
8061 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8063 * progmodes/prog-mode.el (prog-prettify-symbols)
8064 (prog-prettify-install): Update docstrings.
8066 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8068 * simple.el: Move all the prog-mode code to prog-mode.el.
8069 * progmodes/prog-mode.el: New file.
8070 * loadup.el: Add prog-mode.el.
8072 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8074 * simple.el (prog-prettify-symbols): Add version.
8075 (prog-prettify-install): Add convenience function to prettify symbols.
8077 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8078 (perl--augmented-font-lock-keywords-1)
8079 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8080 variables and use it.
8082 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8083 (cfengine3-mode): Remove unneeded variable and use it.
8085 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8086 (lisp--augmented-font-lock-keywords-1)
8087 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8088 Remove unneeded variables and use it.
8090 2013-06-05 João Távora <joaotavora@gmail.com>
8092 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8093 to point when opening the connection. (Bug#14380)
8095 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8097 * subr.el (load-history-regexp, load-history-filename-element)
8098 (eval-after-load, after-load-functions, do-after-load-evaluation)
8099 (eval-next-after-load, display-delayed-warnings)
8100 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8101 definition of save-match-data.
8102 (overriding-local-map): Remove accidental obsolescence declaration.
8104 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8106 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8108 Generalize symbol prettify support to prog-mode and implement it
8109 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8110 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8111 (prog--prettify-font-lock-compose-symbol)
8112 (prog-prettify-font-lock-symbols-keywords): New variables and
8113 functions to support symbol prettification.
8114 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8115 (lisp--augmented-font-lock-keywords-1)
8116 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8117 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8118 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8119 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8120 Implement prettify of -> => :: strings.
8121 * progmodes/perl-mode.el (perl-prettify-symbols)
8122 (perl--font-lock-compose-symbol)
8123 (perl--font-lock-symbols-keywords): Move to prog-mode.
8124 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8125 (perl-font-lock-keywords-1)
8126 (perl-font-lock-keywords-2): Remove explicit prettify support.
8127 (perl--augmented-font-lock-keywords)
8128 (perl--augmented-font-lock-keywords-1)
8129 (perl--augmented-font-lock-keywords-2, perl-mode):
8130 Implement prettify support.
8132 2013-06-05 Leo Liu <sdl.web@gmail.com>
8134 Re-implement smie matching block highlight using
8135 show-paren-data-function. (Bug#14395)
8136 * emacs-lisp/smie.el (smie-matching-block-highlight)
8137 (smie--highlight-matching-block-overlay)
8138 (smie--highlight-matching-block-lastpos)
8139 (smie-highlight-matching-block)
8140 (smie-highlight-matching-block-mode): Remove.
8141 (smie--matching-block-data-cache): New variable.
8142 (smie--matching-block-data): New function.
8143 (smie-setup): Use smie--matching-block-data for
8144 show-paren-data-function.
8146 * progmodes/octave.el (octave-mode-menu): Fix.
8147 (octave-find-definition): Skip garbage lines.
8149 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8151 Fix compilation error with simultaneous dynamic+lexical scoping.
8152 Add warning when a defvar appears after the first let-binding.
8153 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8154 (byte-compile-close-variables): Initialize it.
8155 (byte-compile--declare-var): New function.
8156 (byte-compile-file-form-defvar)
8157 (byte-compile-file-form-define-abbrev-table)
8158 (byte-compile-file-form-custom-declare-variable): Use it.
8159 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8160 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8161 (byte-compile-bind): Handle dynamic bindings that shadow
8163 (byte-compile-unbind): Make arg non-optional.
8164 (byte-compile-let): Simplify.
8165 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8166 (cconv--analyse-function, cconv-analyse-form): Populate it.
8167 Protect byte-compile-bound-variables to limit the scope of defvars.
8168 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8169 Remove unneeded rule for `declare'.
8171 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8172 so as to avoid depending on cl-adjoin at run-time.
8173 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8175 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8176 (macroexp--warn-and-return): Use it.
8178 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8180 * lisp/subr.el: Convert to lexical binding.
8181 (overriding-local-map): Make obsolete.
8182 (add-to-list): Doc fix. Add compiler macro.
8183 (read-key): Swap values of local maps.
8185 2013-06-05 Leo Liu <sdl.web@gmail.com>
8187 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8189 2013-06-04 Leo Liu <sdl.web@gmail.com>
8191 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8192 (compilation-auto-jump): Suppress the "Mark set" message to give
8193 way to exit message.
8195 2013-06-04 Alan Mackenzie <acm@muc.de>
8197 Remove faulty optimisation from indentation calculation.
8198 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8199 search limit based on 2000 characters back from indent-point.
8201 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8203 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8205 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8207 * emacs-lisp/lisp.el: Use lexical-binding.
8208 (lisp--local-variables-1, lisp--local-variables): New functions.
8209 (lisp--local-variables-completion-table): New var.
8210 (lisp-completion-at-point): Use it complete let-bound vars.
8212 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8213 eagerly (bug#14422).
8215 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8217 * autorevert.el (auto-revert-notify-enabled)
8218 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8219 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8220 (auto-revert-notify-handler): Handle also gfilenotify.
8222 * subr.el (file-notify-handle-event): New defun. Replacing ...
8223 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8226 2013-06-03 Juri Linkov <juri@jurta.org>
8228 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8229 `M-s h .'. (Bug#14427)
8231 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8232 command `hi-lock-face-symbol-at-point'.
8233 (hi-lock-face-symbol-at-point): New command.
8234 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8235 (hi-lock-menu): Add `highlight-symbol-at-point'.
8236 (hi-lock-mode): Doc fix.
8238 * isearch.el (isearch-forward-symbol-at-point): New command.
8239 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8240 (isearch-highlight-regexp): Add a regexp which matches
8241 words/symbols for word/symbol mode.
8243 * subr.el (find-tag-default-bounds): New function with the body
8244 mostly moved from `find-tag-default'.
8245 (find-tag-default): Move most code to `find-tag-default-bounds',
8246 call it and apply `buffer-substring-no-properties' afterwards.
8248 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8250 * eshell/em-term.el (eshell-term-initialize):
8251 Use `cl-intersection' rather than `intersection'.
8253 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8255 * vc/log-view.el: Doc fix.
8256 (log-view-mode-map): Copy keymap from `special-mode-map'.
8258 2013-06-02 Eric Ludlam <zappo@gnu.org>
8260 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8261 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8262 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8263 (eieio-unbound, eieio-default-superclass)
8264 (eieio--define-field-accessors, method-static, method-before)
8265 (method-primary, method-after, method-num-lists)
8266 (method-generic-before, method-generic-primary)
8267 (method-generic-after, method-num-slots)
8268 (eieio-specialized-key-to-generic-key)
8269 (eieio--check-type, class-v, class-p)
8270 (eieio-class-name, define-obsolete-function-alias)
8271 (eieio-class-parents-fast, eieio-class-children-fast)
8272 (same-class-fast-p, class-constructor, generic-p)
8273 (generic-primary-only-p, generic-primary-only-one-p)
8274 (class-option-assoc, class-option, eieio-object-p)
8275 (class-abstract-p, class-method-invocation-order)
8276 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8277 (eieio-class-un-autoload, eieio-defclass)
8278 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8279 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8280 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8281 (eieio-defgeneric-reset-generic-form)
8282 (eieio-defgeneric-form-primary-only)
8283 (eieio-defgeneric-reset-generic-form-primary-only)
8284 (eieio-defgeneric-form-primary-only-one)
8285 (eieio-defgeneric-reset-generic-form-primary-only-one)
8286 (eieio-unbind-method-implementations)
8287 (eieio--defmethod, eieio--typep)
8288 (eieio-perform-slot-validation, eieio-validate-slot-value)
8289 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8290 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8291 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8292 (eieio-slot-name-index, eieio-class-slot-name-index)
8293 (eieio-set-defaults, eieio-initarg-to-attribute)
8294 (eieio-attribute-to-initarg, eieio-c3-candidate)
8295 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8296 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8297 (eieio-class-precedence-list, eieio-generic-call-methodname)
8298 (eieio-generic-call-arglst, eieio-generic-call-key)
8299 (eieio-generic-call-next-method-list)
8300 (eieio-pre-method-execution-functions, eieio-generic-call)
8301 (eieio-generic-call-primary-only, eieiomt-method-list)
8302 (eieiomt-optimizing-obarray, eieiomt-install)
8303 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8304 (eieio-generic-form, eieio-defmethod, make-obsolete)
8305 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8306 (defclass): Remove `eval-and-compile' from macro.
8307 (call-next-method, shared-initialize): Instead of using
8308 `scoped-class' variable, use new eieio--scoped-class, and
8309 eieio--with-scoped-class.
8310 (initialize-instance): Rename local variable 'scoped-class' to
8311 'this-class' to remove ambiguitity from old global.
8313 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8315 (eieio--scoped-class-stack): New variable.
8316 (eieio--scoped-class): New fcn.
8317 (eieio--with-scoped-class): New scoping macro.
8318 (eieio-defclass): Use pushnew instead of add-to-list.
8319 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8320 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8321 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8322 `scoped-class' variable, use new eieio--scoped-class, and
8323 eieio--with-scoped-class.
8325 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8327 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8329 * eshell/esh-ext.el (eshell-external-command): Pass args to
8330 `eshell-find-interpreter'.
8331 (eshell-find-interpreter): Add new second parameter ARGS.
8333 * eshell/em-script.el (eshell-script-initialize): Add second arg
8334 to the function added as MATCH to `eshell-interpreter-alist'.
8336 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8337 the function added as MATCH to `eshell-interpreter-alist'.
8339 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8340 (eshell-visual-options): New defcustom.
8341 (eshell-escape-control-x): Adapt docstring.
8342 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8343 `eshell-visual-options' in addition to `eshell-visual-commands'.
8344 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8346 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8348 * progmodes/python.el (python-indent-block-enders): Add break,
8349 continue and raise keywords.
8351 2013-06-01 Glenn Morris <rgm@gnu.org>
8353 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8355 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8356 * progmodes/cc-cmds.el (delete-forward-p):
8357 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8358 * progmodes/cc-engine.el (buffer-syntactic-context):
8359 * progmodes/cc-fonts.el (face-property-instance):
8360 * progmodes/cc-mode.el (set-keymap-parents):
8361 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8362 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8363 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8364 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8365 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8367 * progmodes/cc-vars.el (other): Emacs has this widget since
8368 at least 21.1, so don't (re)define it.
8370 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8371 Replace the obsolete alias pcomplete-arg-quote-list.
8373 2013-06-01 Leo Liu <sdl.web@gmail.com>
8375 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8377 (inferior-octave-minimal-columns)
8378 (inferior-octave-last-column-width): New variables.
8379 (inferior-octave-track-window-width-change): New function.
8380 (inferior-octave-mode): Adjust column width so that Octave output,
8381 for example from 'ls', can fit into the window nicely.
8383 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8385 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8386 Highlight expansions inside regexp literals.
8388 2013-05-31 Glenn Morris <rgm@gnu.org>
8390 * obsolete/sym-comp.el (symbol-complete):
8391 Replace obsolete completion-annotate-function.
8393 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8395 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8397 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8398 New function, checks if point is inside a literal that allows
8399 expression expansion.
8400 (ruby-syntax-propertize-expansion): Use it.
8401 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8404 2013-05-30 Juri Linkov <juri@jurta.org>
8406 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8408 (isearch-invisible): New variable.
8409 (isearch-forward): Doc fix.
8410 (isearch-mode): Set `isearch-invisible'
8411 to the value of `search-invisible'.
8412 (isearch-toggle-case-fold): Doc fix.
8413 (isearch-toggle-invisible): New command.
8414 (isearch-query-replace): Let-bind `search-invisible'
8415 to the value of `isearch-invisible'.
8416 (isearch-search): Use `isearch-invisible' instead of
8417 `search-invisible'. Let-bind `search-invisible'
8418 to the value of `isearch-invisible'. (Bug#11378)
8420 2013-05-30 Juri Linkov <juri@jurta.org>
8422 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8423 call when `query-flag' is nil and `search-invisible' is non-nil.
8426 2013-05-30 Glenn Morris <rgm@gnu.org>
8428 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8430 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8431 (cc-require): Suppress spurious "noruntime" warnings.
8432 (cc-require-when-compile): Use fboundp, for sake of compiler.
8434 * progmodes/cc-mode.el: Move load of cc-vars before that of
8435 cc-langs (which in turn loads cc-vars), to quieten compiler.
8437 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8439 * paren.el: Simplify the code.
8440 (show-paren-mode): Always start the timer.
8441 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8442 (show-paren--overlay, show-paren--overlay-1): Rename from
8443 show-paren-overlay and show-paren-overlay-1, and initialize to an
8444 overlay rather than to nil.
8445 (show-paren-function): Misc cleanup and simplifications.
8447 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8449 * paren.el (show-paren-data-function): New hook.
8450 (show-paren--default): New function, extracted from show-paren-function.
8451 (show-paren-function): Use show-paren-data-function.
8453 2013-05-30 Glenn Morris <rgm@gnu.org>
8455 * ielm.el (ielm-map, ielm-complete-symbol):
8456 Use completion-at-point rather than obsolete functions.
8457 (inferior-emacs-lisp-mode): Doc fix.
8458 Set completion-at-point-functions, rather than
8459 comint-dynamic-complete-functions.
8461 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8462 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8463 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8465 * image.el (image-animated-p): Tweak definition.
8467 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8468 (rlogin-process-connection-type): Tweak default. Add set-after.
8469 (rlogin-host): Doc fix.
8470 (rlogin): Tweak prompt.
8471 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8473 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8474 * progmodes/tcl.el (inferior-tcl-mode-map):
8475 Use completion-at-point rather than obsolete alias.
8477 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8479 * minibuffer.el (read-file-name-completion-ignore-case):
8480 Move before completion--in-region, for eager macro expansion.
8482 2013-05-29 Juri Linkov <juri@jurta.org>
8484 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8485 for total count of matching lines. Add `global-matches' for total
8486 count of matches. Rename `matches' to `lines' for count of
8487 matching lines. Add `matches' for count of matches.
8488 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8489 to `prev-line' for line number of prev match endpt.
8490 Increment `matches' for every match. Print the number of
8491 matching lines in the header.
8492 (occur-context-lines): Rename `lines' to `curr-line'.
8493 Rename `prev-lines' to `prev-line'. (Bug#14017)
8495 2013-05-29 Juri Linkov <juri@jurta.org>
8497 * replace.el (perform-replace): Add `skip-read-only-count',
8498 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8499 Increment them for corresponding conditions and report the number
8500 of skipped occurrences in the final message. (Bug#11746)
8501 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8502 (replace-string, replace-regexp): Doc fix.
8504 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8506 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8508 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8509 prog-mode-map (bug#14504).
8511 2013-05-29 Leo Liu <sdl.web@gmail.com>
8513 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8514 (octave-help): Small simplification.
8516 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8517 off the highlight first.
8519 2013-05-29 Glenn Morris <rgm@gnu.org>
8521 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8522 Handle idlwave-last-system-routine-info-cons-cell being nil.
8524 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8525 (idlwave-write-paths): Simplify via with-temp-buffer.
8527 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8528 * emulation/cua-rect.el: Also load cua-base at run time.
8530 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8531 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8532 (cperl-imenu-on-info): Require imenu.
8534 2013-05-28 Alan Mackenzie <acm@muc.de>
8536 Handle "capitalised keywords" correctly.
8537 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8539 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8541 * eshell/em-unix.el: Add -r option to cp.
8543 2013-05-28 Glenn Morris <rgm@gnu.org>
8545 * vc/vc-arch.el (vc-exec-after): Declare.
8546 (vc-switches): Autoload.
8547 * vc/vc-bzr.el: No need to require vc when compiling.
8548 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8549 (vc-resynch-buffer, vc-dir-refresh): Declare.
8550 (vc-setup-buffer, vc-switches): Autoload.
8551 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8552 (vc-resynch-buffer): Declare.
8553 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8554 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8555 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8556 (grep-read-regexp, grep-read-files, grep-expand-template)
8557 (vc-dir-refresh): Declare.
8558 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8559 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8560 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8561 * vc/vc-mtn.el (vc-exec-after): Declare.
8562 (vc-switches): Autoload.
8563 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8564 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8565 (vc-file-tree-walk): Declare.
8566 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8567 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8568 (vc-tag-precondition, vc-rename-master): Autoload.
8569 * vc/vc-svn.el (vc-exec-after): Declare.
8570 (vc-switches, vc-setup-buffer): Autoload.
8571 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8573 (vc-resynch-buffer): Declare.
8575 * obsolete/fast-lock.el (byte-compile-warnings):
8576 Don't warn about obsolete features in this obsolete file.
8578 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8579 Move definition before use.
8581 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8582 (dun-unix-verbs): Remove dun-zippy.
8583 (dun-zippy): Remove function.
8585 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8587 2013-05-27 Juri Linkov <juri@jurta.org>
8589 * replace.el (replace-search): New function with code moved out
8590 from `perform-replace'.
8591 (replace-highlight, replace-dehighlight): Move function definitions
8592 up closer to `replace-search'. (Bug#11746)
8594 2013-05-27 Juri Linkov <juri@jurta.org>
8596 * replace.el (perform-replace): Ignore invisible matches.
8597 In addition to checking `query-replace-skip-read-only', also
8598 filter out matches by calling `run-hook-with-args-until-failure'
8599 on `isearch-filter-predicates', and also check `search-invisible'
8600 for t or call `isearch-range-invisible'.
8601 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8603 2013-05-27 Juri Linkov <juri@jurta.org>
8605 * isearch.el (isearch-filter-predicates): Rename from
8606 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8607 (isearch-message-prefix): Display text from the property
8608 `isearch-message-prefix' of the currently active filters.
8609 (isearch-search): Don't compare `isearch-filter-predicate' with
8610 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8611 on `isearch-filter-predicates'. Also check `search-invisible' for t
8612 or call `isearch-range-invisible'.
8613 (isearch-filter-visible): Make obsolete.
8614 (isearch-lazy-highlight-search):
8615 Call `run-hook-with-args-until-failure' on
8616 `isearch-filter-predicates' and use `isearch-range-invisible'.
8618 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8619 `isearch-filter-predicates' instead of `funcall'ing
8620 `isearch-filter-predicate'.
8621 (Info-mode): Set `Info-isearch-filter' to
8622 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8624 * dired-aux.el (dired-isearch-filter-predicate-orig):
8626 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8627 (dired-isearch-filenames-end): Add and remove
8628 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8629 instead of changing the value of `isearch-filter-predicate'.
8630 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8631 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8632 Put property `isearch-message-prefix' to "filename " on
8633 `dired-isearch-filter-filenames'.
8635 * wdired.el (wdired-change-to-wdired-mode):
8636 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8637 locally instead of changing `isearch-filter-predicate'.
8638 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8640 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8642 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8643 return the commit hash (Bug#14459). Also set the
8644 `vc-git-detached' property.
8645 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8646 (vc-git-mode-line-string): Use the same help-echo format whether
8647 in detached mode or not, because we know the actual revision now.
8648 When in detached mode, shorten the revision to 7 chars.
8650 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8652 * emacs-lisp/easy-mmode.el (define-minor-mode):
8653 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8654 mode hook and provide a docstring.
8656 2013-05-27 Alan Mackenzie <acm@muc.de>
8658 Remove spurious syntax-table text properties inserted by C-y.
8659 * progmodes/cc-mode.el (c-after-change): Also clear hard
8660 syntax-table property with value nil.
8662 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8664 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8665 when reading the events; the buffer layout shall not be changed.
8667 2013-05-27 Leo Liu <sdl.web@gmail.com>
8669 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8671 (inferior-octave-directory-tracker): Automatically re-sync
8673 (octave-help): Improve handling of 'See also'.
8675 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8677 * doc-view.el: Minor naming convention tweaks.
8678 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8680 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8681 even if there's no `display' property yet (bug#14435).
8683 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8685 * subr.el (unmsys--file-name): Rename from reveal-filename.
8687 * Makefile.in (custom-deps, finder-data, autoloads)
8688 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8689 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8690 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8692 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8694 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8695 error-completion on the first 2 args of condition-case (bug#14446).
8698 2013-05-25 Leo Liu <sdl.web@gmail.com>
8700 * comint.el (comint-previous-matching-input): Do not flood the
8701 *Messages* buffer with trivial messages.
8703 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8705 * progmodes/flymake.el (flymake-nop): Don't return a string.
8706 (flymake-set-at): Fix typo.
8708 * simple.el (read--expression): New function, extracted from
8709 eval-expression. Set completion-at-point-functions (bug#14465).
8710 (eval-expression, eval-minibuffer): Use it.
8712 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8714 * progmodes/flymake.el (flymake-save-buffer-in-file)
8715 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8716 (flymake-selected-frame, flymake-log, flymake-ins-after)
8717 (flymake-set-at, flymake-get-buildfile-from-cache)
8718 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8719 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8720 Refine the doc string.
8721 (flymake-get-file-name-mode-and-masks): Reformat.
8722 (flymake-get-real-file-name-function): Fix a minor bug.
8724 2013-05-24 Juri Linkov <juri@jurta.org>
8726 * progmodes/grep.el (grep-mode-font-lock-keywords):
8727 Support =linenumber= format used by git-grep for lines with
8728 function names. (Bug#13549)
8730 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8732 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8733 0 after a semi-colon; it works better for smie-auto-fill.
8734 (octave--indent-new-comment-line): New function.
8735 (octave-indent-new-comment-line): Use it (indirectly).
8736 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8737 modify comment-line-break-function.
8739 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8740 (smie-setup): Use add-function to set it.
8742 2013-05-24 Sam Steingold <sds@gnu.org>
8744 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8745 argument (before the `interactive' argument).
8747 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8749 * image-mode.el (image-mode-winprops): Add winprops to
8750 image-mode-winprops-alist before running
8751 image-mode-new-window-functions.
8752 * doc-view.el (doc-view-new-window-function): Don't delay
8753 doc-view-goto-page via timers (bug#14435).
8755 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8757 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8758 (doc-view-desktop-save-buffer): New function.
8759 (doc-view-restore-desktop-buffer): New function.
8760 (desktop-buffer-mode-handlers):
8761 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8763 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8764 `desktop-save-buffer' function.
8766 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8768 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8769 (tramp-gvfs-file-name-handler): Raise a user error when
8770 `tramp-gvfs-enabled' is nil.
8771 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8772 Do not raise a user error when loading package. (Bug#14447)
8774 * net/xesam.el: Move to obsolete/.
8776 2013-05-24 Glenn Morris <rgm@gnu.org>
8778 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8780 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8782 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8783 (Info-find-node, Man-getpage-in-background): Declare.
8785 * mail/unrmail.el (unrmail):
8786 Replace obsolete detect-coding-with-priority.
8788 * net/socks.el (socks-split-string): Use this rather than split-string.
8789 (socks-nslookup-host): Update for above change.
8790 (dynamic-choice, s5-dynamic-choice-match)
8791 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8792 Comment out unused code.
8794 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8795 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8796 (gud-tooltip-echo-area): Make obsolete.
8797 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8799 * progmodes/js.el (js--optimize-arglist): Declare.
8801 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8803 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8804 (ediff-window-C): Declare.
8806 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8807 Tweak requires to silence compiler.
8809 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8810 (he-search-string, he-tried-table, he-expand-list)
8811 (he-init-string, he-string-member, he-substitute-string)
8812 (he-reset-string): Declare.
8814 * obsolete/options.el (list-options): Use custom-variable-p,
8815 rather than obsolete alias.
8817 2013-05-23 Sam Steingold <sds@gnu.org>
8819 * simple.el (shell-command-on-region): Pass the `replace' argument
8820 down to `call-process-region' to comply with the doc as reported on
8821 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8823 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8825 * emacs-lisp/smie.el (smie-indent-forward-token)
8826 (smie-indent-backward-token): Handle string tokens (bug#14381).
8828 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8830 * ielm.el (ielm-menu): New menu.
8831 (inferior-emacs-lisp-mode): Set comment-start.
8833 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8835 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8836 Fix deactivate action.
8838 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8839 Add cleveref macros.
8841 * lisp/textmodes/reftex-parse.el
8842 (reftex-locate-bibliography-files): Accept options for
8843 bibliography commands.
8844 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8845 Add addbibresource. Basic Biblatex support.
8847 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8849 * net/tramp-gvfs.el (top):
8850 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8851 when loading package. (Bug#14447)
8853 2013-05-23 Glenn Morris <rgm@gnu.org>
8855 * progmodes/js.el: No need to load comint when compiling.
8856 (ring-insert, comint-send-string, comint-send-input)
8857 (comint-last-input-end, ido-chop): Declare.
8859 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8860 * vc/ediff-mult.el: Adjust requires.
8861 (ediff-directories-internal, ediff-directory-revisions-internal)
8862 (ediff-patch-file-internal): Declare.
8863 * vc/ediff-ptch.el: Adjust requires.
8864 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8865 (ediff-find-file): Autoload.
8866 * vc/ediff-util.el: No need to load ediff when compiling.
8867 (ediff-regions-internal): Declare.
8868 * vc/ediff-wind.el: Adjust requires.
8869 (ediff-compute-toolbar-width): Define when compiling.
8870 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8871 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8872 (dired-get-filename, dired-get-marked-files)
8873 (ediff-last-dir-patch, ediff-patch-default-directory)
8874 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8875 (ediff-patch-buffer-internal): Declare.
8877 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8878 (ispell-process, ispell-buffer-local-words, lm-summary)
8879 (lm-section-start, lm-section-end): Declare.
8880 (checkdoc-ispell-init): Simplify.
8882 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8883 (he-string-member, he-reset-string, he-substitute-string): Declare.
8885 * eshell/em-ls.el: Adjust requires.
8886 (eshell-glob-regexp): Declare.
8887 * eshell/em-tramp.el: Adjust requires.
8888 (eshell-parse-command): Autoload.
8889 * eshell/em-xtra.el: Adjust requires.
8890 (eshell-parse-command): Autoload.
8891 * eshell/esh-ext.el: Adjust requires.
8892 (eshell-parse-command, eshell-close-handles): Autoload.
8893 * eshell/esh-io.el: Adjust requires.
8894 (eshell-output-filter): Autoload.
8895 * eshell/esh-util.el: No need to load tramp when compiling.
8896 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8898 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8899 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8900 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8901 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8902 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8903 * eshell/esh-opt.el, eshell/esh-proc.el:
8904 * eshell/esh-var.el: Adjust requires.
8905 * eshell/eshell.el: Do not require esh-util twice.
8906 (eshell-add-input-to-history): Declare.
8907 (eshell-command): Check history module is active before using it.
8909 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8911 2013-05-22 Leo Liu <sdl.web@gmail.com>
8913 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8915 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8917 * autorevert.el (auto-revert-notify-add-watch)
8918 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8919 it indicates changes in file modification time.
8921 2013-05-22 Glenn Morris <rgm@gnu.org>
8923 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8924 Always delete the autoloaded function from the noruntime and
8925 unresolved functions lists.
8927 * allout.el: No need to load epa, epg, overlay when compiling.
8928 (epg-context-set-passphrase-callback, epg-list-keys)
8929 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8930 (epg-key-user-id-list): Declare.
8932 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8933 (viper-set-parsing-style-toggling-macro)
8934 (viper-set-emacs-state-searchstyle-macros):
8935 Use called-interactively-p on Emacs.
8936 (viper-looking-back): Make it an obsolete alias. Update callers.
8937 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8938 Use looking-back rather than viper-looking-back.
8939 (viper-tmp-insert-at-eob, viper-enlarge-region)
8940 (viper-read-string-with-history, viper-register-to-point)
8941 (viper-append-to-register, viper-change-state-to-vi)
8942 (viper-backward-char-carefully, viper-forward-char-carefully)
8943 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8944 (viper-change-state-to-emacs): Declare.
8945 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8946 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8947 * emulation/viper-mous.el: Do not load viper-cmd.
8948 (viper-backward-char-carefully, viper-forward-char-carefully)
8949 (viper-forward-word, viper-adjust-window): Declare.
8951 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8953 * progmodes/idlw-help.el (idlwave-help-fontify):
8954 Use called-interactively-p.
8956 * term/w32console.el (w32-get-console-codepage)
8957 (w32-get-console-output-codepage): Declare.
8959 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8960 Remove unnecessary declarations.
8961 (dframe-message): Doc fix.
8963 * info.el (dframe-select-attached-frame, dframe-current-frame):
8966 * speedbar.el (speedbar-message): Make it an obsolete alias.
8968 (speedbar-with-attached-buffer)
8969 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8970 (speedbar-with-writable): Use backquote.
8971 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8972 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8973 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8974 rather than speedbar- aliases.
8975 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8976 (speedbar-make-specialized-keymap, speedbar-insert-button)
8977 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8978 (speedbar-do-function-pointer): Declare.
8979 (rmail-speedbar-button, rmail-speedbar-find-file)
8980 (rmail-speedbar-move-message):
8981 Use dframe-with-attached-buffer rather than speedbar- alias.
8982 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8983 (dframe-message, speedbar-make-specialized-keymap)
8984 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8985 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8986 (speedbar-insert-button, dframe-select-attached-frame)
8987 (dframe-maybee-jump-to-attached-frame)
8988 (speedbar-change-initial-expansion-list)
8989 (speedbar-previously-used-expansion-list-name): Declare.
8990 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8991 Use dframe-message, dframe-with-attached-buffer rather than
8993 (gud-sentinel): Silence compiler.
8994 * progmodes/vhdl-mode.el (speedbar-refresh)
8995 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8996 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8997 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8998 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8999 (speedbar-file-lists, speedbar-make-tag-line)
9000 (speedbar-line-directory, speedbar-goto-this-file)
9001 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9002 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9003 (speedbar-make-button, speedbar-reset-scanners)
9004 (speedbar-files-item-info, speedbar-line-text)
9005 (speedbar-find-file-in-frame, speedbar-set-timer)
9006 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9007 (speedbar-with-writable): Do not (re)define it.
9008 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9009 rather than speedbar- alias.
9011 2013-05-21 Leo Liu <sdl.web@gmail.com>
9013 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9015 (octave-mode): Tweak fill-nobreak-predicate.
9016 (inferior-octave-startup): Check process to avoid infinite loop.
9017 (inferior-octave): Pop to buffer first to show abornmal process
9020 2013-05-21 Glenn Morris <rgm@gnu.org>
9022 * printing.el (pr-menu-bar): Define when compiling.
9024 2013-05-21 Leo Liu <sdl.web@gmail.com>
9026 * progmodes/octave.el (octave-auto-fill): Remove.
9027 (octave-indent-new-comment-line): Improve.
9028 (octave-mode): Use auto fill mode through
9029 comment-line-break-function and fill-nobreak-predicate.
9030 (octave-goto-function-definition): Support DEFUN_DLD.
9031 (octave-beginning-of-defun): Small tweak.
9032 (octave-help): Show parent directory.
9034 2013-05-21 Glenn Morris <rgm@gnu.org>
9036 * files.el (dired-unmark):
9037 * progmodes/gud.el (gdb-input): Update declarations.
9039 * calculator.el (electric, ehelp): No need to load when compiling.
9040 (Electric-command-loop, electric-describe-mode): Declare.
9042 * doc-view.el (doc-view-current-converter-processes): Move before use.
9044 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9045 Move MODE-set-explicitly definition before use.
9047 * international/mule-diag.el (mule-diag):
9048 Don't use obsolete window-system-version.
9050 * mail/feedmail.el (smtpmail): No need to load when compiling.
9051 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9053 * mail/mail-utils.el (rfc822): No need to load when compiling.
9054 (rfc822-addresses): Autoload it.
9055 (mail-strip-quoted-names): Trivial simplification.
9057 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9058 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9060 * net/snmp-mode.el (tempo): Don't duplicate requires.
9062 * progmodes/prolog.el (info): No need to load when compiling.
9063 (comint): Require before shell requires it.
9064 (Info-goto-node): Autoload it.
9065 (Info-follow-nearest-node): Declare.
9066 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9068 * textmodes/artist.el (picture-mode-exit): Declare.
9070 * textmodes/reftex-parse.el (reftex-parse-from-file):
9071 Trivial rewrite so the compiler can parse it better.
9073 2013-05-20 Leo Liu <sdl.web@gmail.com>
9075 * progmodes/octave.el (octave-help-mode-map)
9076 (octave-help-mode-finish-hook): New variables.
9077 (octave-help-mode, octave-help-mode-finish): New functions.
9078 (octave-help): Use octave-help-mode.
9080 2013-05-20 Glenn Morris <rgm@gnu.org>
9082 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9084 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9086 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9087 start at point, so that expansion starting right after opening
9088 slash in a regexp is recognized.
9089 (ruby-syntax-before-regexp-re): New defvar, extracted from
9090 ruby-syntax-propertize-function. Since the value of this regexp
9091 is looked up at runtime now, we should be able to turn
9092 `ruby-syntax-methods-before-regexp' into a defcustom later.
9093 (ruby-syntax-propertize-function): Split regexp matching into two
9094 parts, for opening and closing slashes. That allows us to skip
9095 over string interpolations and support multiline regexps.
9096 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9097 for them, which calls `ruby-syntax-propertize-expansion'.
9098 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9099 call to `ruby-syntax-propertize-function'.
9100 (ruby-syntax-propertize-expansion): Extracted from
9101 `ruby-syntax-propertize-expansions'. Handles one expansion.
9102 (ruby-syntax-propertize-percent-literal): Leave point right after
9103 the percent symbol, so that the expression expansion rule can
9104 propertize the contents.
9105 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9107 (ruby-syntax-propertize-expansions): Remove.
9109 2013-05-18 Juri Linkov <juri@jurta.org>
9111 * man.el (Man-default-man-entry): Remove `-' from the end
9112 of the default value. (Bug#14400)
9114 2013-05-18 Glenn Morris <rgm@gnu.org>
9116 * comint.el (comint-password-prompt-regexp):
9117 Allow "password for XXX" where XXX contains colons (eg https://...).
9119 2013-05-18 Leo Liu <sdl.web@gmail.com>
9121 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9122 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9123 (octave-source-directories): Don't check process.
9124 (octave-source-directories, octave-find-definition): Doc fix.
9126 2013-05-18 Glenn Morris <rgm@gnu.org>
9128 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9129 Remove backspace/delete bindings. (Bug#14392)
9131 * cus-dep.el (custom-make-dependencies): Sort the output.
9132 (custom-versions-load-alist): Convert comment to doc.
9134 2013-05-17 Leo Liu <sdl.web@gmail.com>
9136 * newcomment.el (comment-search-backward): Stricter in finding
9137 comment start. (Bug#14303)
9139 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9140 (octave-comment-start-skip): Properly anchored.
9142 2013-05-17 Leo Liu <sdl.web@gmail.com>
9144 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9145 Clean up when turned off. (Bug#14395)
9146 (smie--highlight-matching-block-overlay): No longer buffer-local.
9147 (smie-highlight-matching-block): Adjust.
9149 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9151 Doc string fix for "nanoseconds" (Bug#14406).
9152 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9153 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9155 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9157 * calc/calc-units.el (math-extract-units): Preserve powers
9160 2013-05-17 Leo Liu <sdl.web@gmail.com>
9162 * subr.el (delete-consecutive-dups): New function.
9163 * ido.el (ido-set-matches-1): Use it.
9164 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9165 * ido.el (ido-remove-consecutive-dups): Remove.
9167 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9169 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9170 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9171 regexp-opt's `words'.
9173 2013-05-16 Leo Liu <sdl.web@gmail.com>
9175 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9176 (smie--highlight-matching-block-overlay)
9177 (smie--highlight-matching-block-lastpos)
9178 (smie--highlight-matching-block-timer): New variables.
9179 (smie-highlight-matching-block): New function.
9180 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9181 (smie-setup): Conditionally enable smie-blink-matching-open.
9183 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9185 Sync with upstream verilog-mode r840.
9186 * progmodes/verilog-mode.el (verilog-mode-version)
9187 (verilog-mode-release-date): Update.
9188 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9189 (verilog-sig-tieoff): Fix string error on
9190 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9191 (verilog-read-decls): Fix parameters confusing
9192 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9194 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9196 * subr.el (reveal-filename): New function.
9198 * loadup.el: Compute Emacs executable versions on MS-Windows,
9199 where executables have the .exe extension. Add a hard link
9200 emacs-XX.YY.ZZ.exe on MS-Windows.
9202 * Makefile.in (XARGS_LIMIT): New variable.
9203 (custom-deps, finder-data, autoloads)
9204 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9205 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9206 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9207 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9209 2013-05-16 Leo Liu <sdl.web@gmail.com>
9211 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9212 (octave-mode-menu, octave-mode-map): Remove its uses.
9214 2013-05-16 Reto Zimmermann <reto@gnu.org>
9216 Sync with upstream vhdl mode v3.34.2.
9217 * progmodes/vhdl-mode.el: Use `push' throughout.
9218 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9219 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9220 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9221 (vhdl-actual-generic-name): New option to derive actual generic name.
9222 (vhdl-port-paste-signals): Replace formal by actual generics.
9223 (vhdl-beautify): New name for old group vhdl-align. Update users.
9224 (vhdl-beautify-options): New option.
9225 (vhdl-last-input-event): New compat alias. Use throughout.
9226 (vhdl-goto-line): Replace user level function `goto-line'.
9227 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9228 vhdl-fix-statement-buffer.
9229 (vhdl-create-mode-menu): Add some entries.
9230 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9231 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9232 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9233 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9234 to force statements on one line.
9235 (vhdl-remove-trailing-spaces-region):
9236 New, split from vhdl-remove-trailing-spaces.
9237 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9238 Respect vhdl-beautify-options.
9239 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9240 (vhdl-update-sensitivity-list): Not add with index if exists without.
9241 Not include array index with signal. Ignore keywords in comments.
9242 (vhdl-get-visible-signals): Regexp tweaks.
9243 (vhdl-template-component-inst): Handle empty library.
9244 (vhdl-template-type): Add template for 'enum' type.
9245 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9246 Use vhdl-replace-string.
9247 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9248 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9249 (vhdl-speedbar-initialize): Update for above name change.
9250 (vhdl-compose-wire-components): Fix in handling of constants.
9251 (vhdl-error-regexp-emacs-alist): New variable.
9252 (vhdl-error-regexp-add-emacs): New function;
9253 adds support for new compile.el (Emacs 22+)
9254 (vhdl-generate-makefile-1): Change target order for single lib. units.
9255 Allow use of absolute file names.
9257 2013-05-16 Leo Liu <sdl.web@gmail.com>
9259 * simple.el (prog-indent-sexp): Indent enclosing defun.
9261 2013-05-15 Glenn Morris <rgm@gnu.org>
9263 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9264 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9265 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9266 (whitespace-highlight): Move to whitespace group.
9268 * comint.el (comint-source):
9269 * pcmpl-linux.el (pcmpl-linux):
9270 * shell.el (shell-faces):
9271 * eshell/esh-opt.el (eshell-opt):
9272 * international/ccl.el (ccl): Remove empty custom groups.
9274 * completion.el (dynamic-completion-mode):
9275 * jit-lock.el (jit-lock-debug-mode):
9276 * minibuffer.el (completion-in-region-mode):
9277 * type-break.el (type-break-mode-line-message-mode)
9278 (type-break-query-mode):
9279 * emulation/tpu-edt.el (tpu-edt-mode):
9280 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9281 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9282 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9284 * term/xterm.el (xterm): Change parent group to terminals.
9286 * master.el (master): Remove empty custom group.
9287 (master-mode): Remove unused :group argument.
9288 * textmodes/refill.el (refill): Remove empty custom group.
9289 (refill-mode): Remove unused :group argument.
9291 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9293 * cus-dep.el: Provide a feature.
9294 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9295 Don't mistakenly ignore files whose basenames match a basename
9296 from preloaded-file-list (eg cedet/ede/simple.el).
9297 Add a fallback method for getting :group.
9299 2013-05-15 Juri Linkov <juri@jurta.org>
9301 * isearch.el (isearch-char-by-name): Rename from
9302 `isearch-insert-char-by-name'. Doc fix.
9303 (isearch-forward): Mention `isearch-char-by-name' in
9304 the docstring. (Bug#13348)
9306 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9307 `exit-minibuffer' instead of
9308 `isearch-nonincremental-exit-minibuffer'.
9309 (isearch-edit-string): Remove mention of
9310 `isearch-nonincremental-exit-minibuffer' from docstring.
9311 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9312 (isearch-forward-exit-minibuffer)
9313 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9315 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9317 * loadup.el: Just use unversioned DOC.
9319 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9320 literals as extending to EOB.
9321 (nxml-last-fontify-end): Remove unused variable.
9322 (nxml-after-change1): Use with-silent-modifications.
9323 (nxml-extend-after-change-region): Simplify.
9324 (nxml-extend-after-change-region1): Remove function.
9325 (nxml-after-change1): Don't adjust for dependent regions.
9326 (nxml-fontify-matcher): Simplify.
9327 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9328 (xmltok-add-dependent): Remove function.
9329 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9330 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9331 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9332 unclosed <[[, <?, comment, and other literals as extending to EOB.
9333 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9334 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9336 (rng-do-some-validation-1): Don't mark dependent regions.
9337 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9338 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9339 (nxml-clear-dependent-regions): Remove functions.
9340 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9341 (nxml-ensure-scan-up-to-date):
9342 Don't clear&mark dependent regions.
9344 2013-05-15 Leo Liu <sdl.web@gmail.com>
9346 * progmodes/octave.el (octave-goto-function-definition):
9347 Improve and fix callers.
9349 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9351 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9352 the setter (bug#14387).
9354 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9355 surrounding group (bug#14402).
9357 2013-05-14 Juri Linkov <juri@jurta.org>
9359 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9362 2013-05-14 Glenn Morris <rgm@gnu.org>
9364 * progmodes/f90.el (f90-imenu-generic-expression):
9365 Fix typo in 2013-05-08 change. (Bug#14402)
9367 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9369 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9370 Remove signals for which replies are never received.
9372 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9374 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9375 (gdb-handler-alist, gdb-handler-number): Remove variables.
9376 (gdb-handler-list): New variable.
9377 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9378 (gdb-pending-handler-p, gdb-handle-reply)
9379 (gdb-remove-all-pending-triggers): New functions.
9380 (gdb-discard-unordered-replies): New defcustom.
9381 (gdb-handler): New defstruct.
9382 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9383 instead of gdb-pending-triggers. Update docstring.
9384 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9385 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9386 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9387 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9388 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9389 (gdb-frame-handler): Pending triggers are now automatically managed.
9390 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9392 (gdb-input): Automatically handles pending triggers. Update docstring.
9393 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9394 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9396 (gdb-done-or-error): Now use gdb-handle-reply.
9398 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9400 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9403 2013-05-14 Glenn Morris <rgm@gnu.org>
9405 * subr.el (user-emacs-directory-warning): New option.
9406 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9408 2013-05-14 Leo Liu <sdl.web@gmail.com>
9410 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9412 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9413 (octave-font-lock-texinfo-comment): Fix invalid search bound
9414 error: wrong side of point.
9416 2013-05-14 Glenn Morris <rgm@gnu.org>
9418 * progmodes/flymake.el (flymake-xml-program): New option.
9419 (flymake-xml-init): Use it.
9421 * term/xterm.el: Provide a feature.
9423 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9425 2013-05-13 Glenn Morris <rgm@gnu.org>
9427 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9428 Add compat aliases as a hack workaround. (Bug#14384)
9430 2013-05-13 Leo Liu <sdl.web@gmail.com>
9432 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9434 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9436 (octave-comment-start-skip): Include %!.
9437 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9439 2013-05-12 Leo Liu <sdl.web@gmail.com>
9441 * progmodes/octave.el (inferior-octave-startup): Store the value
9442 of __octave_srcdir__ for octave-source-directories.
9443 (inferior-octave-check-process): New function refactored out of
9444 inferior-octave-send-list-and-digest.
9445 (octave-source-directories)
9446 (octave-find-definition-filename-function): New variables.
9447 (octave-source-directories)
9448 (octave-find-definition-default-filename): New functions.
9449 (octave-find-definition): Improve to find functions implemented in C++.
9451 2013-05-12 Glenn Morris <rgm@gnu.org>
9453 * calendar/diary-lib.el (diary-outlook-format-1):
9454 Don't include dayname in the output. (Bug#14349)
9456 2013-05-11 Glenn Morris <rgm@gnu.org>
9458 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9460 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9461 Treat cc-provide like provide.
9463 2013-05-11 Kevin Ryde <user42@zip.com.au>
9465 * cus-dep.el (custom-make-dependencies):
9466 Use generated-autoload-load-name for the sake of files such
9467 such cedet/semantic/bovine/c.el, where the base file name
9468 is not in load-path. (Bug#5277)
9470 2013-05-11 Glenn Morris <rgm@gnu.org>
9472 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9475 2013-05-11 Leo Liu <sdl.web@gmail.com>
9477 * progmodes/octave.el (octave-indent-comment): Improve.
9478 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9479 (octave-eldoc-function-signatures, octave-eldoc-function):
9481 (octave-mode, inferior-octave-mode): Add eldoc support.
9483 2013-05-11 Richard Stallman <rms@gnu.org>
9485 * epa.el (epa-decrypt-file): Take output file name as argument
9486 and read it using `interactive'.
9488 2013-05-11 Leo Liu <sdl.web@gmail.com>
9490 * progmodes/octave.el (octave-beginning-of-line)
9491 (octave-end-of-line): Check before using up-list because it jumps
9492 out of more syntactic contructs since moving to smie.
9493 (octave-indent-comment): New function.
9494 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9495 (octave-begin-keywords, octave-end-keywords)
9496 (octave-reserved-words, octave-smie-bnf-table)
9497 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9499 2013-05-11 Glenn Morris <rgm@gnu.org>
9501 * faces.el (internal-face-x-get-resource):
9502 * frame.el (ns-display-monitor-attributes-list):
9503 * calc/calc-aent.el (math-to-radians-2):
9504 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9507 * calc/calc-menu.el: Make it loadable in isolation.
9509 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9510 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9511 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9512 (eudc-bbdb-query-internal): Require 'bbdb.
9514 * lpr.el (lpr-headers-switches):
9515 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9517 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9519 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9521 * term.el (term-set-escape-char): Make it idempotent.
9523 2013-05-10 Leo Liu <sdl.web@gmail.com>
9525 * progmodes/octave.el (inferior-octave-completion-table):
9526 No longer a function and all uses changed. Use cache to speed up
9527 completion due to bug#11906.
9528 (octave-beginning-of-defun): Re-write to be more general.
9530 2013-05-10 Glenn Morris <rgm@gnu.org>
9532 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9534 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9536 * comint.el (comint-redirect-send-command-to-process): Use :around
9537 rather than :override for comint-redirect-filter.
9538 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9539 Call it instead of comint-redirect-original-filter-function (which
9540 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9542 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9544 * frame.el (display-monitor-attributes-list): Add NS case.
9545 (ns-display-monitor-attributes-list): Declare.
9547 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9549 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9551 2013-05-09 Glenn Morris <rgm@gnu.org>
9553 * international/fontset.el (vertical-centering-font-regexp):
9556 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9558 * bookmark.el (bookmark-search-delay):
9559 * cus-start.el (vertical-centering-font-regexp):
9560 * ps-mule.el (ps-mule-font-info-database-default):
9561 * ps-print.el (ps-default-fg, ps-default-bg):
9562 * type-break.el (type-break-good-break-interval):
9563 * whitespace.el (whitespace-indentation-regexp)
9564 (whitespace-space-after-tab-regexp):
9565 * emacs-lisp/testcover.el (testcover-1value-functions)
9566 (testcover-noreturn-functions, testcover-progn-functions)
9567 (testcover-prog1-functions):
9568 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9569 * eshell/em-glob.el (eshell-glob-translate-alist):
9570 * play/tetris.el (tetris-tty-colors):
9571 * progmodes/cpp.el (cpp-face-default-list):
9572 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9573 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9574 (idlwave-help-browser-generic-args):
9575 * progmodes/make-mode.el (makefile-special-targets-list):
9576 * progmodes/python.el (python-shell-virtualenv-path):
9577 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9578 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9579 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9580 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9581 * textmodes/reftex-vars.el (reftex-format-label-function):
9582 * textmodes/remember.el (remember-diary-file): Fix custom types.
9584 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9587 2013-05-09 Leo Liu <sdl.web@gmail.com>
9589 * progmodes/octave.el (inferior-octave-completion-at-point):
9590 Restore file completion. (Bug#14300)
9591 (inferior-octave-startup): Fix incorrect highlighting for the
9594 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9596 * progmodes/ruby-mode.el: First cut at SMIE support.
9597 (ruby-use-smie): New var.
9598 (ruby-smie-grammar): New constant.
9599 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9600 (ruby-smie--forward-token, ruby-smie--backward-token)
9601 (ruby-smie-rules): New functions.
9602 (ruby-mode-variables): Setup SMIE if applicable.
9604 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9606 * simple.el (line-move-visual): Signal beginning/end of buffer
9607 only if vertical-motion moved less than it was requested. Avoids
9608 silly incorrect error messages when there are display strings with
9609 multiple newlines at EOL.
9611 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9613 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9614 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9615 (prolog-char-quote-workaround):
9616 * progmodes/cperl-mode.el (cperl-under-as-char):
9617 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9619 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9621 (vhdl-mode-syntax-table-init): Remove.
9623 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9626 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9628 (ld-script-font-lock-keywords):
9629 Change regexps to use things like \_< and \_>.
9631 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9632 Change all regexps to use things like \_< and \_>.
9634 * progmodes/autoconf.el (autoconf-definition-regexp)
9635 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9636 Handle a _ with symbol syntax.
9637 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9639 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9640 Consolidate declaration.
9641 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9643 (ada-create-syntax-table): Remove.
9644 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9645 already has the right syntax nowadays.
9646 (ada-goto-next-word): Don't change the syntax of "_".
9648 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9651 2013-05-08 Sam Steingold <sds@gnu.org>
9653 * thingatpt.el (thing-at-point): Accept optional second argument
9654 NO-PROPERTIES to strip the text properties from the return value.
9655 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9656 to `thing-at-point' instead of stripping the properties ourselves.
9657 Also, when `thing-at-point' fails to find a url, prepend "http://"
9658 to the filename at point on the assumption that the user is
9659 pointing at something like gnu.org/gnu.
9661 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9663 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9664 * faces.el (crm-separator):
9665 Silence byte-compiler.
9667 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9668 (tool-bar-map): Remove unneeded defvars.
9670 2013-05-08 Leo Liu <sdl.web@gmail.com>
9672 Re-work a fix for bug#10994 based on Le Wang's patch.
9673 * ido.el (ido-remove-consecutive-dups): New helper.
9674 (ido-completing-read): Use it.
9675 (ido-chop): Revert fix for bug#10994.
9677 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9679 * cus-edit.el (custom-save-variables):
9680 Pretty-print long values. (Bug#14187)
9682 2013-05-08 Glenn Morris <rgm@gnu.org>
9684 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9685 (m4-mode-syntax-table): Init in the defvar.
9686 (m4-mode-abbrev-table): Let define-derived-mode define it.
9688 2013-05-08 Tom Tromey <tromey@redhat.com>
9690 * progmodes/m4-mode.el (m4-mode-syntax-table):
9691 Do not treat "_" as word constituent. (Bug#14167)
9693 2013-05-07 Glenn Morris <rgm@gnu.org>
9695 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9696 Remove explicit eshell-isearch-cancel-map.
9698 * progmodes/f90.el (f90-smart-end-names): New option.
9699 (f90-smart-end): Doc fix.
9700 (f90-end-block-optional-name): New constant.
9701 (f90-block-match): Respect f90-smart-end-names.
9703 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9705 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9706 about implicit semi-colons (bug#14218).
9708 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9710 * frame.el (display-monitor-attributes-list)
9711 (frame-monitor-attributes): New functions.
9713 2013-05-06 Leo Liu <sdl.web@gmail.com>
9715 * progmodes/octave.el (octave-syntax-propertize-function): Change
9716 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9717 (octave-font-lock-keywords): Use octave-operator-regexp.
9718 (octave-completion-at-point): Rename from
9719 octave-completion-at-point-function.
9720 (inferior-octave-directory-tracker): Robustify.
9721 (octave-text-functions): Remove and fix its uses. No such things
9724 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9726 * emacs-lisp/trace.el (trace--display-buffer): New function.
9727 (trace-make-advice): Use it.
9729 2013-05-06 Juri Linkov <juri@jurta.org>
9731 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9732 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9734 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9735 in the help string. (Bug#12985)
9737 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9739 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9741 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9743 * progmodes/perl-mode.el: Add support for here documents.
9744 (perl-syntax-propertize-function): Match here-doc markers.
9745 (perl-syntax-propertize-special-constructs): Find their end.
9746 (perl-imenu-generic-expression): Use [:alnum:].
9748 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9749 (advice--add-function): Refresh the advice if already present
9752 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9754 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9756 2013-05-06 Glenn Morris <rgm@gnu.org>
9758 * w32-fns.el (w32-charset-info-alist): Declare.
9760 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9761 of its defcustom properties.
9762 (eshell-cmpl-initialize): No need to load pcomplete.
9764 * generic-x.el: No need to require comint when compiling.
9766 * net/eudc-export.el: Make it loadable without bbdb.
9767 (top-level): Use require rather than load-library.
9768 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9769 (eudc-batch-export-records-to-bbdb)
9770 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9773 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9775 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9776 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9777 some tweaks, instead.
9779 2013-05-05 Leo Liu <sdl.web@gmail.com>
9781 * progmodes/octave.el (octave-font-lock-keywords)
9782 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9783 (inferior-octave-send-list-and-digest): Improve error message.
9784 (octave-mode, inferior-octave-mode): Use setq-local.
9785 (octave-help): Set info-lookup-mode.
9787 2013-05-05 Richard Stallman <rms@gnu.org>
9789 * vc/compare-w.el (compare-windows-whitespace):
9790 Treat no-break space as whitespace.
9792 * mail/rmailsum.el (rmail-summary-rmail-update):
9793 Detect empty summary and don't change selected message.
9794 (rmail-summary-goto-msg): Likewise.
9796 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9797 Doc fixes, rename args.
9799 2013-05-05 Alan Mackenzie <acm@muc.de>
9801 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9803 2013-05-05 Juri Linkov <juri@jurta.org>
9805 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9806 to not add the length of the summary segment to the return value.
9809 2013-05-05 Leo Liu <sdl.web@gmail.com>
9811 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9812 (inferior-octave-output-filter): Remove.
9813 (octave-send-region, inferior-octave-startup): Fix callers.
9814 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9815 (octave-binary-file-extensions): New user variable.
9816 (octave-find-definition): Confirm if opening binary files.
9817 (octave-help-file): Use octave-find-definition to get the binary
9819 (octave-help): Adjust for octave-help-file change.
9821 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9823 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9824 Merge the two entries that handle function definitions.
9825 (pascal--syntax-propertize): New const.
9826 (pascal-mode): Use it. Use setq-local.
9828 2013-05-04 Glenn Morris <rgm@gnu.org>
9830 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9831 (diary-from-outlook): Respect diary-from-outlook-function.
9833 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9835 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9836 Move the declaration from C.
9837 (read-minibuffer, eval-minibuffer): Move from C.
9838 (completion-setup-function): Avoid minibuffer-completion-contents.
9840 2013-05-03 Leo Liu <sdl.web@gmail.com>
9842 * progmodes/octave.el (octave-font-lock-keywords): Do not
9843 dehighlight 'end' in comments or strings.
9844 (octave-completing-read, octave-goto-function-definition):
9846 (octave-help-buffer): New user variable.
9847 (octave-help-file, octave-help-function): New button types.
9848 (octave-help): New command and bind it to C-h ;.
9849 (octave-find-definition): New command and bind it to M-.
9850 (user-error): Alias to error if not defined.
9852 2013-05-02 Leo Liu <sdl.web@gmail.com>
9854 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9856 (octave-font-lock-keywords): Include [ and {.
9858 2013-05-02 Leo Liu <sdl.web@gmail.com>
9860 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9861 (inferior-octave): Remove calling comint-mode and return the buffer.
9862 (inferior-octave-startup): Cosmetic changes.
9864 2013-05-02 Leo Liu <sdl.web@gmail.com>
9866 * progmodes/octave.el (octave-syntax-propertize-function):
9867 Include the case when ' is at line beginning. (Bug#14336)
9869 2013-05-02 Glenn Morris <rgm@gnu.org>
9871 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9872 * desktop.el (vc-dir-mode): Just autoload it here.
9874 2013-05-02 Alan Mackenzie <acm@muc.de>
9876 Eliminate variable c-standard-font-lock-fontify-region-function.
9877 * progmodes/cc-mode.el
9878 (c-standard-font-lock-fontify-region-function): Remove.
9879 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9881 2013-05-01 Leo Liu <sdl.web@gmail.com>
9883 * progmodes/octave.el: Compatible with older emacs-24 releases.
9884 (inferior-octave-has-built-in-variables): Remove. Built-in
9885 variables were removed from Octave in 2007.
9886 (inferior-octave-startup): Fix uses.
9887 (comint-line-beginning-position): Remove compatibility code for
9890 2013-05-01 Juri Linkov <juri@jurta.org>
9892 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9894 2013-05-01 Juri Linkov <juri@jurta.org>
9896 * comint.el (comint-previous-matching-input): Don't print message
9897 "History item: %d" when `isearch-mode' is active.
9898 (comint-history-isearch-message): Print message "History item: %d"
9899 when `comint-input-ring-index' is not empty and this function is
9900 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9902 2013-05-01 Leo Liu <sdl.web@gmail.com>
9904 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9905 definitions. Use completion-at-point to insert keywords.
9906 (octave-abbrev-start): Remove.
9907 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9909 2013-04-30 Leo Liu <sdl.web@gmail.com>
9911 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9914 2013-04-30 Alan Mackenzie <acm@muc.de>
9916 Handle arbitrarily long C++ member initialisation lists.
9917 * progmodes/cc-engine.el (c-back-over-member-initializers):
9919 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9920 (most) member init lists.
9922 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9924 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9927 2013-04-30 Leo Liu <sdl.web@gmail.com>
9929 * progmodes/octave.el (octave-variables): Remove. No builtin
9930 variables any more. All converted to functions.
9931 (octave-font-lock-keywords, octave-completion-at-point-function):
9933 (octave-font-lock-texinfo-comment): New user variable.
9934 (octave-texinfo-font-lock-keywords): New variable for texinfo
9936 (octave-function-comment-block): New face.
9937 (octave-font-lock-texinfo-comment): New function.
9938 (octave-mode): Font lock texinfo comment block.
9940 2013-04-29 Leo Liu <sdl.web@gmail.com>
9942 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9943 indexing expression.
9944 (octave-continuation-string): Do not use \.
9945 (inferior-octave-complete-impossible): Remove.
9946 (inferior-octave-completion-table)
9947 (inferior-octave-completion-at-point): Remove its uses.
9948 (inferior-octave-startup): completion_matches was introduced to
9949 Octave in 1996 so safe to assume it.
9950 (octave-function-file-comment): Improve to follow how Octave does it.
9951 (octave-update-function-file-comment): Tweak.
9953 2013-04-29 Leo Liu <sdl.web@gmail.com>
9955 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9956 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9957 (octave-function-file-comment): Fix typo.
9958 (octave-sync-function-file-names): Use read-char-choice.
9960 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9962 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9963 to t for the less important warnings.
9965 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9967 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9969 2013-04-27 Glenn Morris <rgm@gnu.org>
9971 * vc/log-view.el (log-view-current-entry):
9972 Treat "---" separator lines as part of the following rev. (Bug#14169)
9974 2013-04-27 Juri Linkov <juri@jurta.org>
9976 * subr.el (read-number): Doc fix about using it by interactive
9977 code letter `n'. (Bug#14254)
9979 2013-04-27 Juri Linkov <juri@jurta.org>
9981 * desktop.el (desktop-auto-save-timeout): New option.
9982 (desktop-file-checksum): New variable.
9983 (desktop-save): Add optional arg `auto-save' and don't auto-save
9985 (desktop-auto-save-timer): New variable.
9986 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9987 (after-init-hook): Call `desktop-auto-save-set-timer'.
9988 Suggested by Reuben Thomas <rrt@sc3d.org> in
9989 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9991 2013-04-27 Leo Liu <sdl.web@gmail.com>
9993 * progmodes/octave.el (octave-function-file-p)
9994 (octave-skip-comment-forward, octave-function-file-comment)
9995 (octave-update-function-file-comment): New functions.
9996 (octave-mode-map): Bind C-c ; to
9997 octave-update-function-file-comment.
9998 (octave-mode-menu): Add octave-update-function-file-comment.
9999 (octave-mode, inferior-octave-mode): Fix doc-string.
10000 (octave-insert-defun): Conform to Octave's coding convention.
10003 * files.el (basic-save-buffer): Don't let errors in
10004 before-save-hook prevent saving buffer.
10006 2013-04-20 Roland Winkler <winkler@gnu.org>
10008 * faces.el (read-face-name): Use completing-read if arg multiple
10011 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10013 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10014 displayed, move point to after the totals line.
10015 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10018 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10020 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10021 Add current dir to the load-path.
10022 (package-generate-autoloads): Don't rely on
10023 autoload-ensure-default-file.
10025 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10027 * textmodes/remember.el (remember-store-in-files): Document that
10028 the file name format is passed to `format-time-string'.
10030 2013-04-26 Leo Liu <sdl.web@gmail.com>
10032 * progmodes/octave.el (octave-sync-function-file-names): New function.
10033 (octave-mode): Use it in before-save-hook.
10035 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10037 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10040 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10041 \n and comment, even if it's not an implicit ; (bug#14218).
10043 2013-04-26 Glenn Morris <rgm@gnu.org>
10045 * subr.el (read-number): Once more use `read' rather than
10046 `string-to-number', to trap non-numeric input. (Bug#14254)
10048 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10050 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10051 Use `syntax-multiline' text property consistently instead of
10052 `font-lock-multiline'. (Bug#14237)
10054 2013-04-26 Glenn Morris <rgm@gnu.org>
10056 * emacs-lisp/shadow.el (list-load-path-shadows):
10057 No longer necessary to check for duplicate simple.el, since
10058 2012-07-07 change to init_lread to not include installation lisp
10059 directories in load-path when running uninstalled. (Bug#14270)
10061 2013-04-26 Leo Liu <sdl.web@gmail.com>
10063 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10064 (octave-mode, inferior-octave-mode): Use setq-local.
10065 (octave-not-in-string-or-comment-p): Rename to
10066 octave-in-string-or-comment-p.
10067 (octave-in-comment-p, octave-in-string-p)
10068 (octave-in-string-or-comment-p): Replace defsubst with defun.
10070 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10072 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10074 2013-04-25 Bastien Guerry <bzg@gnu.org>
10076 * textmodes/remember.el (remember-data-directory)
10077 (remember-directory-file-name-format): Fix custom types.
10079 2013-04-25 Leo Liu <sdl.web@gmail.com>
10081 * progmodes/octave.el (octave-completion-at-point-function):
10082 Make use of inferior octave process.
10083 (octave-initialize-completions): Remove.
10084 (inferior-octave-completion-table): New function.
10085 (inferior-octave-completion-at-point): Use it.
10086 (octave-completion-alist): Remove.
10088 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10090 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10091 (opascal-mode-syntax-table): New var.
10092 (opascal-literal-kind, opascal-is-literal-end)
10093 (opascal-literal-token-at): Rewrite.
10094 (opascal--literal-start-re, opascal-font-lock-keywords)
10095 (opascal--syntax-propertize): New constants.
10096 (opascal-font-lock-defaults): Adjust.
10097 (opascal-mode): Use them. Set comment-<foo> variables as well.
10098 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10099 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10100 (delphi-other-face, opascal-other-face): Remove face variables.
10101 (opascal-save-state): Remove macro.
10102 (opascal-fontifying-progress-step): Remove constant.
10103 (opascal--ignore-changes): Remove var.
10104 (opascal-set-token-property, opascal-parse-next-literal)
10105 (opascal-is-stable-literal, opascal-complete-literal)
10106 (opascal-is-literal-start, opascal-face-of)
10107 (opascal-parse-region, opascal-parse-region-until-stable)
10108 (opascal-fontify-region, opascal-after-change)
10109 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10110 (opascal-debug-parse-region, opascal-debug-parse-window)
10111 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10112 (opascal-debug-fontify-buffer): Remove.
10113 (opascal-debug-mode-map): Adjust accordingly.
10115 2013-04-25 Leo Liu <sdl.web@gmail.com>
10117 Merge octave-mod.el and octave-inf.el into octave.el with some
10119 * progmodes/octave.el: New file renamed from octave-mod.el.
10120 * progmodes/octave-inf.el: Merged into octave.el.
10121 * progmodes/octave-mod.el: Renamed to octave.el.
10123 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10125 * textmodes/reftex-vars.el
10126 (reftex-label-ignored-macros-and-environments): New defcustom.
10128 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10130 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10132 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10133 (smie-indent-keyword): Improve the check to ensure that the next
10134 comment is really on the same line.
10135 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10137 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10138 semi-colons if the line is not otherwise empty (bug#14218).
10140 2013-04-25 Glenn Morris <rgm@gnu.org>
10142 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10144 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10146 * progmodes/opascal.el (opascal-set-token-property): Rename from
10147 opascal-set-text-properties and only set `token' (bug#14134).
10148 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10149 (opascal-literal-text-properties): Remove.
10150 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10153 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10155 * textmodes/remember.el (remember-handler-functions): Add an
10156 option for a new handler `remember-store-in-files'.
10157 (remember-data-directory, remember-directory-file-name-format):
10159 (remember-store-in-files): New function to store remember notes
10160 as separate files within a directory.
10162 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10164 * progmodes/compile.el (compilation-next-error-function):
10165 Pass "formats" to compilation-find-file (bug#11777).
10167 2013-04-24 Glenn Morris <rgm@gnu.org>
10169 * vc/vc-bzr.el (vc-bzr-print-log):
10170 * vc/vc-hg.el (vc-hg-print-log):
10171 * vc/vc-svn.el (vc-svn-print-log):
10172 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10174 * vc/vc-bzr.el (vc-bzr-print-log):
10175 * vc/vc-cvs.el (vc-cvs-print-log):
10176 * vc/vc-git.el (vc-git-print-log):
10177 * vc/vc-hg.el (vc-hg-print-log):
10178 * vc/vc-mtn.el (vc-mtn-print-log):
10179 * vc/vc-rcs.el (vc-rcs-print-log):
10180 * vc/vc-sccs.el (vc-sccs-print-log):
10181 * vc/vc-svn.el (vc-svn-print-log):
10182 * vc/vc.el (vc-print-log-internal): Doc fixes.
10184 2013-04-23 Glenn Morris <rgm@gnu.org>
10186 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10187 Remove venerable code attempting to avoid substitute-command-keys.
10189 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10191 * textmodes/reftex-vars.el (reftex-label-regexps):
10192 Call `reftex-compile-variables' after changes to this variable.
10194 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10196 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10197 Use lexical-binding.
10198 (jit-lock-force-redisplay): Use markers, check buffer's continued
10199 existence and beware narrowed buffers.
10200 (jit-lock-fontify-now): Adjust call accordingly.
10202 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10204 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10205 to avoid misleading the user.
10207 2013-04-22 Leo Liu <sdl.web@gmail.com>
10209 * info-look.el: Prefer latex2e.info. (Bug#14240)
10211 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10213 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10215 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10216 * net/tramp.el (tramp-call-process): ... here.
10217 (tramp-set-completion-function, tramp-parse-putty):
10218 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10219 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10220 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10221 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10222 (tramp-call-local-coding-command): Use `tramp-call-process'
10223 instead of `tramp-compat-call-process'.
10225 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10226 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10227 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10228 (tramp-find-inline-compress): Improve traces.
10229 (tramp-maybe-send-script): Check for Perl binary.
10230 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10232 2013-04-22 Daiki Ueno <ueno@gnu.org>
10234 * epg.el (epg-context-pinentry-mode): New function.
10235 (epg-context-set-pinentry-mode): New function.
10236 (epg--start): Pass --pinentry-mode option to gpg command.
10238 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10240 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10241 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10242 `completion-at-point'. (Bug#13774)
10244 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10245 default key binding for `describe-distribution' has been moved to
10246 `C-h C-o'. (Bug#13970)
10248 2013-04-21 Glenn Morris <rgm@gnu.org>
10250 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10252 (vc-print-log): Clarify interactive prompt.
10254 2013-04-20 Glenn Morris <rgm@gnu.org>
10256 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10257 No longer include timestamp etc information.
10259 2013-04-20 Roland Winkler <winkler@gnu.org>
10261 * faces.el (read-face-name): Bug fix, return just one face if arg
10262 multiple is nil. (Bug#14209)
10264 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10266 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10267 (remove-function): Autoload.
10269 * comint.el (comint-redirect-original-filter-function): Remove.
10270 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10271 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10272 (vc-cvs-annotate-command):
10273 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10274 * progmodes/prolog.el (prolog-consult-compile):
10275 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10276 Use add/remove-function instead.
10277 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10278 (gud-tooltip-process-output, gud-tooltip-tips):
10279 Use add/remove-function instead.
10280 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10281 (scheme-interaction-mode, exit-scheme-interaction-mode):
10282 Use add/remove-function instead.
10284 * vc/vc-dispatcher.el: Use lexical-binding.
10285 (vc--process-sentinel): Rename from vc-process-sentinel.
10286 Change last arg to be the code to run. Don't use vc-previous-sentinel
10287 and vc-sentinel-commands any more.
10288 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10289 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10291 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10293 * progmodes/sh-script.el (sh-imenu-generic-expression):
10294 Handle function names with a single character. (Bug#14111)
10296 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10298 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10299 for subroutines defined in an eval (bug#14182).
10301 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10303 * bookmark.el (bookmark-completing-read): Improve handling of empty
10304 string (bug#14176).
10306 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10308 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10310 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10312 New faster Imenu implementation (bug#14058).
10313 * progmodes/python.el:
10314 (python-imenu-prev-index-position):
10315 (python-imenu-format-item-label-function)
10316 (python-imenu-format-parent-item-label-function)
10317 (python-imenu-format-parent-item-jump-label-function):
10319 (python-imenu-format-item-label)
10320 (python-imenu-format-parent-item-label)
10321 (python-imenu-format-parent-item-jump-label)
10322 (python-imenu--put-parent, python-imenu--build-tree)
10323 (python-imenu-create-index, python-imenu-create-flat-index)
10324 (python-util-popn): New functions.
10325 (python-mode): Set imenu-create-index-function to
10326 python-imenu-create-index.
10328 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10330 * winner.el (winner-active-region): Use region-active-p, activate-mark
10331 and deactivate-mark (bug#14225).
10333 * simple.el (deactivate-mark): Don't inline it.
10335 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10337 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10339 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10341 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10342 file extensions from the archive-mode entry in order to prefer
10343 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10345 2013-04-18 Leo Liu <sdl.web@gmail.com>
10347 * bindings.el (help-event-list): Add ?\?.
10349 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10351 * subr.el (with-wrapper-hook): Declare obsolete.
10352 * simple.el (filter-buffer-substring-function): New hook.
10353 (filter-buffer-substring): Use it.
10354 (filter-buffer-substring-functions): Mark obsolete.
10355 * minibuffer.el (completion-in-region-function): New hook.
10356 (completion-in-region): Use it.
10357 (completion-in-region-functions): Mark obsolete.
10358 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10359 * abbrev.el (abbrev-expand-function): New hook.
10360 (expand-abbrev): Use it.
10361 (abbrev-expand-functions): Mark obsolete.
10362 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10363 and :filter-return.
10365 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10367 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10368 and do not care about match data.
10370 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10372 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10373 completion tables when completing error conditions and
10374 `declare' arguments.
10375 (lisp-complete-symbol, field-complete): Mark as obsolete.
10376 (check-parens): Unmatched parens are user errors.
10377 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10379 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10381 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10382 command changed buffer (ie. `flyspell-pre-buffer' is not current
10383 buffer), which prevents making decisions based on invalid value of
10384 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10385 cause an error when `flyspell-pre-point' was nil after switching
10387 (flyspell-post-command-hook): No longer needs to change buffers when
10388 checking pre-word. While at it remove unnecessary progn.
10390 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10392 * textmodes/ispell.el (ispell-add-per-file-word-list):
10393 Fix `flyspell-correct-word-before-point' error when accepting
10394 words and `coment-padding' is an integer by using
10395 `comment-normalize-vars' (Bug #14214).
10397 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10399 New defun movement commands.
10400 * progmodes/python.el (python-nav--syntactically)
10401 (python-nav--forward-defun, python-nav-backward-defun)
10402 (python-nav-forward-defun): New functions.
10404 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10406 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10407 (python-syntax-context): Use named compiler-macro for backwards
10408 compatibility with Emacs 24.x.
10410 2013-04-17 Leo Liu <sdl.web@gmail.com>
10412 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10413 octave-hide-process-buffer.
10415 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10417 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10420 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10422 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10423 Fix adjustment of offset when receiving incomplete responses from GDB
10426 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10428 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10429 python-mode-abbrev-table.
10430 (python-skeleton-define): Adjust accordingly.
10431 (python-mode-abbrev-table): New table that inherits from it so that
10432 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10434 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10435 (abbrev-symbol): Use it.
10436 (abbrev--before-point): Use it since we already handle inheritance.
10438 2013-04-16 Leo Liu <sdl.web@gmail.com>
10440 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10441 binding to info-lookup-symbol.
10443 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10445 * minibuffer.el (completion--twq-all):
10446 * term/ns-win.el (ns-initialize-window-system):
10447 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10449 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10451 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10454 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10456 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10458 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10459 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10461 (ruby-end-of-defun): Remove the unused arg, change the docstring
10462 to reflect that this function is only used as the value of
10463 `end-of-defun-function'.
10464 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10465 to reflect an earlier change that beginning/end-of-defun functions
10466 jump between methods in a class definition, as well as top-level
10469 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10471 * minibuffer.el (minibuffer-complete): Don't just scroll
10472 a *Completions* that's been iconified.
10473 (minibuffer-force-complete): Make sure repetitions do cycle when going
10474 through completion-in-region -> minibuffer-complete.
10476 2013-04-15 Alan Mackenzie <acm@muc.de>
10478 Correct the placement of c-cpp-delimiters when there're #s not at
10481 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10482 place a submatch around the #.
10483 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10484 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10487 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10489 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10490 (advice--member-p): New arg `name'.
10491 (advice--add-function, advice-member-p): Use it (bug#14202).
10493 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10495 Reformulate java imenu-generic-expression.
10496 The old expression contained ill formed regexps.
10498 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10499 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10500 (cc-imenu-java-method-arg-regexp): New defconsts.
10501 (cc-imenu-java-build-type-args-regex): New defun.
10502 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10503 handling of spaces in the regexp.
10505 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10507 * textmodes/ispell.el (ispell-command-loop): Remove
10508 flyspell highlight of a word when ispell accepts it (bug #14178).
10510 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10512 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10513 uses code from the previous `ange-ftp-run-real-handler'.
10514 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10515 only in case that function exist. This is needed for proper
10516 unloading of Tramp.
10518 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10520 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10522 * textmodes/reftex.el (reftex-compile-variables): Use it.
10524 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10526 * files.el (normal-mode): Only use default major-mode if no other mode
10529 * emacs-lisp/trace.el (trace-values): New function.
10531 * files.el: Allow : in local variables (bug#14089).
10532 (hack-local-variable-regexp): New var.
10533 (hack-local-variables-prop-line, hack-local-variables): Use it.
10535 2013-04-13 Roland Winkler <winkler@gnu.org>
10537 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10538 data before it gets modified by bibtex-beginning-of-entry.
10540 2013-04-13 Roland Winkler <winkler@gnu.org>
10542 * textmodes/bibtex.el (bibtex-url): Doc fix.
10544 2013-04-13 Roland Winkler <winkler@gnu.org>
10546 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10547 does not visit a BibTeX file, exclude it from the list of buffers
10548 returned by bibtex-initialize.
10550 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10552 * window.el (split-window): Remove interactive form, since as a
10553 command this function is a special case of split-window-below.
10554 Correct doc string.
10556 2013-04-12 Roland Winkler <winkler@gnu.org>
10558 * faces.el (read-face-name): Do not override value of arg default.
10559 Allow single faces and strings as default values. Remove those
10560 elements from return value that are not faces.
10561 (describe-face): Simplify.
10562 (face-at-point): New optional args thing and multiple so that this
10563 function can provide the same functionality previously provided by
10565 (make-face-bold, make-face-unbold, make-face-italic)
10566 (make-face-unitalic, make-face-bold-italic, invert-face)
10567 (modify-face, read-face-and-attribute): Use face-at-point.
10569 * cus-edit.el (customize-face, customize-face-other-window)
10570 * cus-theme.el (custom-theme-add-face)
10571 * face-remap.el (buffer-face-set)
10572 * facemenu.el (facemenu-set-face): Use face-at-point.
10574 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10576 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10578 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10580 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10581 off leading { and trailing } from field values.
10583 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10585 * emacs-lisp/timer.el (timer--check): New function.
10586 (timer--time, timer-set-function, timer-event-handler): Use it.
10587 (timer-set-idle-time): Simplify.
10588 (timer--activate): CSE.
10589 (timer-event-handler): Give more info in error message.
10590 (internal-timer-start-idle): New function, moved from C.
10592 * mpc.el (mpc-proc): Add `restart' argument.
10593 (mpc-proc-cmd): Use it.
10594 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10595 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10598 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10600 * progmodes/sh-script.el: Implement `sh-mode' own
10601 `add-log-current-defun-function' (bug#14112).
10602 (sh-current-defun-name): New function.
10603 (sh-mode): Use the function.
10605 2013-04-09 Bastien Guerry <bzg@gnu.org>
10607 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10609 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10611 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10613 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10616 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10618 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10621 2013-04-07 Leo Liu <sdl.web@gmail.com>
10623 * pcmpl-x.el: New file.
10625 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10627 Do not set x-display-name until X connection is established.
10628 This is needed to prevent from weird situation described at
10629 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10630 * frame.el (make-frame): Set x-display-name after call to
10631 window system initialization function, not before.
10632 * term/x-win.el (x-initialize-window-system): Add optional
10633 display argument and use it.
10634 * term/w32-win.el (w32-initialize-window-system):
10635 * term/ns-win.el (ns-initialize-window-system):
10636 * term/pc-win.el (msdos-initialize-window-system):
10637 Add compatible optional display argument.
10639 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10641 * files.el (normal-backup-enable-predicate): On MS-Windows and
10642 MS-DOS compare truenames of temporary-file-directory and of the
10643 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10644 don't fail comparison by compare-strings. Also, compare file
10645 names case-insensitively on MS-Windows and MS-DOS.
10647 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10649 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10650 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10652 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10654 * whitespace.el (whitespace-color-on, whitespace-color-off):
10655 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10657 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10659 * ispell.el (ispell-set-spellchecker-params):
10660 Really set `ispell-args' for all equivs.
10662 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10664 * ido.el (ido-completions): Use extra elements of ido-decorations
10666 (ido-decorations): Update docstring.
10668 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10670 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10671 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10672 nil during initialization, in order not to miss changes since the
10673 file was opened. (Bug#14140)
10675 2013-04-05 Leo Liu <sdl.web@gmail.com>
10677 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10679 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10681 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10683 2013-04-04 Glenn Morris <rgm@gnu.org>
10685 * electric.el (electric-pair-inhibit-predicate): Add :version.
10687 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10689 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10690 when a package is required several times (bug#14082).
10692 2013-04-04 Roland Winkler <winkler@gnu.org>
10694 * faces.el (read-face-name): Behave as promised by the docstring.
10695 Assume that arg default is a list of faces.
10696 (describe-face): Call read-face-name with list of default faces.
10698 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10700 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10701 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10702 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10704 (bookmark-exit-hook-internal): Save even if list is empty.
10706 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10708 * emacs-lisp/package.el (package-pinned-packages): New var.
10709 (package--add-to-archive-contents): Obey it (bug#14118).
10711 2013-04-03 Alan Mackenzie <acm@muc.de>
10713 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10714 Also adapt to the new values of element 7 of a parse state.
10716 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10717 parameter `not-in-delimiter'. Handle being inside comment opener.
10718 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10719 character in case we're typing a '*' after a '/'.
10720 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10721 instead by passing the parameter to c-state-pp-to-literal.
10723 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10724 for elt. 7 of a parse state.
10726 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10728 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10729 * international/latin1-disp.el, international/mule-util.el:
10730 * language/cyril-util.el, language/european.el, language/ind-util.el:
10731 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10732 * language/tibetan.el, language/viet-util.el:
10733 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10735 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10737 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10738 (electric-pair-post-self-insert-function): Use it.
10739 (electric-pair-default-inhibit): New function, extracted from
10740 electric-pair-post-self-insert-function.
10742 2013-03-31 Roland Winkler <winkler@gnu.org>
10744 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10746 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10748 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10750 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10752 Un-indent after "pass" and "return" statements (Bug#13888)
10753 * progmodes/python.el (python-indent-block-enders): New var.
10754 (python-indent-calculate-indentation): Use it.
10756 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10758 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10759 defun. Defining it as defalias could introduce too eager
10760 byte-compiler optimization. (Bug#14030)
10762 2013-03-30 Chong Yidong <cyd@gnu.org>
10764 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10766 2013-03-30 Leo Liu <sdl.web@gmail.com>
10768 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10769 (kmacro-execute-from-register): Pass the keyboard macro to
10770 kmacro-call-macro or repeating won't work correctly.
10772 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10774 * progmodes/subword.el: Back to using `forward-symbol'.
10776 * subr.el (forward-whitespace, forward-symbol)
10777 (forward-same-syntax): Move from thingatpt.el.
10779 2013-03-29 Leo Liu <sdl.web@gmail.com>
10781 * kmacro.el (kmacro-to-register): New command.
10782 (kmacro-execute-from-register): New function.
10783 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10785 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10787 * mpc.el: Use defvar-local and setq-local.
10788 (mpc--proc-connect): Connection failures are not bugs.
10789 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10790 (mpc-volume-map): Bind to the up-events.
10792 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10794 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10795 instead of `forward-symbol'.
10797 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10799 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10800 (edebug--recursive-edit): Use it.
10801 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10802 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10804 2013-03-28 Leo Liu <sdl.web@gmail.com>
10806 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10808 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10810 * facemenu.el (list-colors-callback): New defvar.
10811 (list-colors-redisplay): New function.
10812 (list-colors-display): Install list-colors-redisplay as the
10813 revert-buffer-function. (Bug#14063)
10815 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10817 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10818 and suffixes don't overlap (bug#14061).
10820 * case-table.el: Use lexical-binding.
10821 (case-table-get-table): New function.
10822 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10824 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10826 * progmodes/subword.el: Add `superword-mode' to do word motion
10827 over symbol_words (parallels and leverages `subword-mode' which
10828 does word motion inside MixedCaseWords).
10830 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10832 * eshell/em-unix.el: Move su and sudo to...
10833 * eshell/em-tramp.el: ...Eshell tramp module.
10835 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10837 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10838 Change return value to be a sexp. Delay `get-buffer' to after
10839 restoring the desktop (bug#13951).
10841 2013-03-26 Leo Liu <sdl.web@gmail.com>
10843 * register.el: Move semantic tag handling back to
10844 cedet/semantic/senator.el. (Bug#14052)
10846 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10848 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10849 into the prompt either (bug#13963).
10851 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10853 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10854 part of "(error-foo)".
10856 2013-03-24 Juri Linkov <juri@jurta.org>
10858 * replace.el (list-matching-lines-prefix-face): New defcustom.
10859 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10860 `occur-engine' if `face-differs-from-default-p' returns t.
10861 (occur-engine): Add `,' inside backquote construct to evaluate
10862 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10863 Pass `prefix-face' to the functions `occur-context-lines' and
10864 `occur-engine-add-prefix'.
10865 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10866 `prefix-face' and propertize the prefix with `prefix-face'.
10869 2013-03-24 Leo Liu <sdl.web@gmail.com>
10871 * nxml/rng-valid.el (rng-validate-while-idle)
10872 (rng-validate-quick-while-idle): Guard against deleted buffer.
10875 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10876 is the last entry in kill-buffer-hook.
10878 * files.el (kill-buffer-hook): Doc fix.
10880 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10882 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10883 Make it safe-local.
10885 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10887 2013-03-23 Leo Liu <sdl.web@gmail.com>
10889 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10892 * nxml/rng-valid.el (rng-validate-mode)
10893 (rng-after-change-function, rng-do-some-validation):
10894 * nxml/rng-maint.el (rng-validate-buffer):
10895 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10896 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10897 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10898 (nxml-extend-after-change-region): Use with-silent-modifications.
10900 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10903 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10904 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10905 timer-idle-list. (Bug#13999)
10907 2013-03-23 Juri Linkov <juri@jurta.org>
10909 * info.el (info-index-match): New face.
10910 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10911 main pattern and add text properties with the new face to matches
10912 in index entries relative to the beginning of the index entry.
10915 2013-03-21 Eric Ludlam <zappo@gnu.org>
10917 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10918 Inhibit read only while inserting objects.
10920 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10922 * progmodes/cfengine.el: Update docs to mention
10923 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10924 symbol motion. Remove "_" from the word syntax.
10926 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10928 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10929 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10931 2013-03-20 Juri Linkov <juri@jurta.org>
10933 * info.el (Info-next-reference-or-link)
10934 (Info-prev-reference-or-link): New functions.
10935 (Info-next-reference, Info-prev-reference): Use them.
10936 (Info-try-follow-nearest-node): Handle footnote navigation.
10937 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10939 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10941 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10942 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10944 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10946 Suppress unnecessary non-ASCII chatter during build process.
10947 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10948 (batch-skkdic-convert): Suppress most of the chatter.
10949 It's not needed so much now that machines are faster,
10950 and its non-ASCII component was confusing; see Dmitry Gutov in
10951 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10953 2013-03-20 Leo Liu <sdl.web@gmail.com>
10955 * ido.el (ido-chop): Fix bug#10994.
10957 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10959 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10961 (whitespace-color-on, whitespace-color-off):
10962 Use `font-lock-fontify-buffer' (Bug#13817).
10964 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10966 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10967 remapping in mode-line.
10968 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10970 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10972 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10973 value for `whitespace-line' face (Bug#13875).
10974 (whitespace-font-lock-keywords): Change description.
10975 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10976 the constructed keywords instead.
10977 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10979 2013-03-19 Leo Liu <sdl.web@gmail.com>
10981 * progmodes/compile.el (compilation-display-error): New command.
10982 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10985 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10987 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10989 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10991 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10993 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10995 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10997 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10998 * net/tramp-gvfs.el (top):
10999 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11000 (tramp-handle-shell-command): Use it.
11001 (tramp-dissect-file-name): Raise an error when hostname is a
11002 method name, and neither method nor user is specified.
11004 * net/trampver.el: Update release number.
11006 2013-03-18 Leo Liu <sdl.web@gmail.com>
11008 Make sure eldoc can be turned off properly.
11009 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11011 (eldoc-display-message-p): Revert last change.
11012 (eldoc-display-message-no-interference-p)
11013 (eldoc-print-current-symbol-info): Tweak.
11015 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11017 * doc-view.el (doc-view-new-window-function): Check the new window
11018 overlay's display property instead the char property of the
11019 buffer's first char. Use `with-selected-window' instead of
11020 `save-window-excursion' with `select-window'.
11021 (doc-view-document->bitmap): Check the current doc-view overlay's
11022 display property instead the char property of the buffer's first char.
11024 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11026 Automate the build of ja-dic.el (Bug#13984).
11027 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11028 from the input, rather than assume that it's been done for us by the
11029 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11030 the current date into a ja-dic.el comment, as that complicates
11031 regression testing.
11033 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11035 * whitespace.el: Fix double evaluation.
11036 (whitespace-space, whitespace-hspace, whitespace-tab)
11037 (whitespace-newline, whitespace-trailing, whitespace-line)
11038 (whitespace-space-before-tab, whitespace-indentation)
11039 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11041 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11042 (whitespace-color-on): Use a single font-lock-add-keywords call.
11043 Fix double-evaluation of face variables.
11045 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11047 * net/tramp-adb.el (tramp-adb-parse-device-names):
11048 Use `start-process' instead of `call-process'. Otherwise, the
11049 function might be blocked under MS Windows. (Bug#13299)
11051 2013-03-17 Leo Liu <sdl.web@gmail.com>
11053 Extend eldoc to display info in the mode-line. (Bug#13978)
11054 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11055 (eldoc-mode-line-string): New variable.
11056 (eldoc-minibuffer-message): New function.
11057 (eldoc-message-function): New variable.
11058 (eldoc-message): Use it.
11059 (eldoc-display-message-p)
11060 (eldoc-display-message-no-interference-p):
11061 Support eldoc-post-insert-mode.
11063 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11064 (eval-expression): Run it.
11066 2013-03-17 Roland Winkler <winkler@gnu.org>
11068 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11069 strings in the list of return values.
11071 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11073 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11074 radix before checking for HMS forms.
11076 2013-03-16 Leo Liu <sdl.web@gmail.com>
11078 * progmodes/scheme.el: Add indentation and font-locking for λ.
11081 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11083 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11084 token before point (bug#13942).
11086 2013-03-16 Leo Liu <sdl.web@gmail.com>
11088 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11090 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11092 * startup.el (command-line-normalize-file-name): Fix handling of
11093 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11094 <xfq.free@gmail.com> in
11095 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11097 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11099 Sync with Tramp 2.2.7.
11101 * net/trampver.el: Update release number.
11103 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11105 * doc-view.el: Fix bug#13887.
11106 (doc-view-insert-image): Don't modify overlay associated to
11107 non-live windows, and implement horizontal centering of image in
11108 case it's smaller than the window.
11109 (doc-view-new-window-function): Force redisplay of new windows on
11112 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11114 * saveplace.el (save-place-alist-to-file): Don't sort
11115 `save-place-alist', just pretty-print it (bug#13882).
11117 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11119 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11120 Check whether `default-file-name-coding-system' is bound.
11121 It isn't in XEmacs.
11123 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11125 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11126 backquotes for `obsolete' (bug#13929).
11128 * international/mule.el (find-auto-coding): Include file name in
11129 obsolescence warning (bug#13922).
11131 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11133 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11134 for CFEngine 3-specific indentation.
11135 (cfengine3-indent-line): Use it. Fix up category regex.
11136 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11138 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11140 * type-break.el (type-break-file-name):
11141 * textmodes/remember.el (remember-data-file):
11142 * strokes.el (strokes-file):
11143 * shadowfile.el (shadow-initialize):
11144 * saveplace.el (save-place-file):
11145 * ps-bdf.el (bdf-cache-file):
11146 * progmodes/idlwave.el (idlwave-config-directory):
11147 * net/quickurl.el (quickurl-url-file):
11148 * international/kkc.el (kkc-init-file-name):
11149 * ido.el (ido-save-directory-list-file):
11150 * emulation/viper.el (viper-custom-file-name):
11151 * emulation/vip.el (vip-startup-file):
11152 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11153 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11155 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11157 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11158 * language/thai-word.el: Switch to UTF-8.
11160 See ChangeLog.16 for earlier changes.
11162 ;; Local Variables:
11166 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11168 This file is part of GNU Emacs.
11170 GNU Emacs is free software: you can redistribute it and/or modify
11171 it under the terms of the GNU General Public License as published by
11172 the Free Software Foundation, either version 3 of the License, or
11173 (at your option) any later version.
11175 GNU Emacs is distributed in the hope that it will be useful,
11176 but WITHOUT ANY WARRANTY; without even the implied warranty of
11177 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11178 GNU General Public License for more details.
11180 You should have received a copy of the GNU General Public License
11181 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.