1 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
3 * term/ns-win.el: Require dnd.
4 (global-map): Remove drag items.
5 (ns-insert-text, ns-set-foreground-at-mouse)
6 (ns-set-background-at-mouse): Remove
7 (ns-drag-n-drop, ns-drag-n-drop-other-frame)
8 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame): New
11 2013-12-19 Glenn Morris <rgm@gnu.org>
13 * emacs-lisp/ert.el (ert-select-tests):
14 Fix string/symbol mixup. (Bug#16121)
16 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
18 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
19 keywords to their parent.
21 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
23 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
24 first arg to be a string (fixed dead code), or an operator symbol.
25 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
27 (ruby-smie-rules): Remove parent token check in the `.' clause, it
28 did nothing. Don't respond to `(:after ".")', it will be called
29 with :before anyway. Remove the ` @ ' rule, it didn't seem to
30 change anything. Only return indentation for binary operators
31 when they are hanging. De-dent opening paren when its parent is
32 `.', otherwise it looks bad when the dot is not at bol or eol
35 2013-12-19 Juri Linkov <juri@jurta.org>
37 * replace.el (query-replace-read-args): Split a non-negative arg
38 and a negative arg into separate elements.
39 (query-replace, query-replace-regexp, replace-string)
40 (replace-regexp): Add arg `backward'. Doc fix.
41 (replace-match-maybe-edit): When new arg `backward' is non-nil,
42 move point to the beginning of the match.
43 (replace-search, replace-highlight): Use new arg `backward'
44 to set the value of `isearch-forward'.
45 (perform-replace): Add arg `backward' and use it to perform
46 replacement backward. (Bug#14979)
48 * isearch.el (isearch-query-replace): Use a negative prefix arg
49 to call `perform-replace' with a non-nil arg `backward'.
51 2013-12-18 Juri Linkov <juri@jurta.org>
53 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
54 to the default list. Move `log-edit-show-files' to the end.
55 Add more available functions to options.
56 (log-edit): Move default specific settings to
57 `log-edit-insert-message-template'. Don't move point.
58 (log-edit-insert-message-template): New function.
59 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
62 2013-12-18 Juri Linkov <juri@jurta.org>
64 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
65 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
67 2013-12-18 Leo Liu <sdl.web@gmail.com>
69 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
71 2013-12-18 Eli Zaretskii <eliz@gnu.org>
73 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
74 formats for displaying file sizes when the -s switch is given.
75 Instead, compute a separate format for displaying the size in
76 blocks, which is displayed in addition to the "regular" size.
77 When -h is given in addition to -s, produce size in blocks in
78 human-readable form as well. (Bug#16179)
80 2013-12-18 Tassilo Horn <tsdh@gnu.org>
82 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Reference
83 tables with ~\ref{...} instead of only \ref{...}.
85 2013-12-18 Chong Yidong <cyd@gnu.org>
87 * cus-edit.el (custom-magic-alist): Fix "themed" description
90 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
91 is non-nil, do not create a new entry in the symbol's theme-value
92 or theme-face property; update theme-settings only (Bug#14664).
93 (custom-available-themes): Doc fix.
95 * cus-theme.el (custom-new-theme-mode-map): Add bindings
98 * replace.el (occur-engine): Avoid infloop (Bug#7593).
100 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
102 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
105 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
107 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
109 2013-12-18 Glenn Morris <rgm@gnu.org>
111 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
112 * cus-start.el (load-prefer-newer): New option.
114 2013-12-18 Le Wang <l26wang@gmail.com>
116 * comint.el (comint-previous-matching-input-from-input): Retain
119 2013-12-18 Chong Yidong <cyd@gnu.org>
121 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
123 2013-12-18 Glenn Morris <rgm@gnu.org>
125 * mail/emacsbug.el (report-emacs-bug):
126 Only mention enable-multibyte-characters if non-standard.
128 2013-12-17 Juri Linkov <juri@jurta.org>
130 * arc-mode.el (archive-extract-by-file): Check if directory exists
131 before deletion to not show irrelevant errors if it doesn't exist.
133 2013-12-17 Juri Linkov <juri@jurta.org>
135 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
138 * net/eww.el (browse-web): Add alias to `eww'.
139 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
140 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
142 * net/browse-url.el (browse-url-browser-function): Move `eww'
143 closer to similar functions.
145 * startup.el (fancy-startup-screen, fancy-about-screen):
146 Set browse-url-browser-function to eww-browse-url locally.
149 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
151 * window.el (window--pixel-to-total): Remove unused `mini' var.
152 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
153 (split-window): Remove unused `new' var.
154 (window--display-buffer): Remove unused `frame' and `delta' vars.
155 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
158 2013-12-17 Martin Rudalics <rudalics@gmx.at>
160 * dired.el (dired-mark-pop-up):
161 * register.el (register-preview): Don't bind
162 split-height-threshold here since it's now done in
163 display-buffer-below-selected.
165 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
167 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
168 xterm-rgb-convert-to-16bit.
169 (rxvt-register-default-colors): Standardize with
170 xterm-register-default-colors (Bug#14078).
172 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
174 * simple.el (kill-region): Pass mark first, then point, so that
175 kill-append works right (Bug#12819).
176 (copy-region-as-kill, kill-ring-save): Likewise.
178 2013-12-17 Leo Liu <sdl.web@gmail.com>
180 * net/rcirc.el (rcirc-add-face):
181 * eshell/em-prompt.el (eshell-emit-prompt):
182 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
185 2013-12-17 Chong Yidong <cyd@gnu.org>
187 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
188 Suggested by Xue Fuqiao.
190 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
192 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
194 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
196 * net/shr.el (shr-insert-document): Remove unused var
197 `shr-preliminary-table-render'.
198 (shr-rescale-image): Remove unused arg `force'.
199 (shr-put-image): Update calls accordingly.
200 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
202 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
204 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
205 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
206 :close-all, to see which indentation method to use (Bug#16116).
207 (smie-rules-function): Document the method :close-all.
209 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
211 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
213 * net/eww.el (eww-display-html): If we can't find the anchor we're
214 looking for, then go to point-min.
216 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
218 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
219 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
220 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
221 Expand dir too, in case it's relative.
223 2013-12-16 Juri Linkov <juri@jurta.org>
225 * desktop.el (desktop-auto-save-timeout): Change default to
226 `auto-save-timeout'. Doc fix.
227 (desktop-save): Skip the timestamp in desktop-saved-frameset
228 when checking for auto-save changes.
229 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
230 `desktop-auto-save' is called repeatedly by the idle timer.
231 (desktop-auto-save-set-timer): Replace `run-with-timer' with
232 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
235 2013-12-16 Juri Linkov <juri@jurta.org>
237 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
239 (isearch-pre-command-hook): Check `this-command' for symbolp.
241 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
243 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
245 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
247 * progmodes/cfengine.el (cfengine3--current-word): Remove.
248 (cfengine3--current-function): Bring in the current-function
249 functionality from `cfengine3--current-word'.
250 (cfengine3-completion-function): Bring in the
251 bounds-of-current-word functionality from
252 `cfengine3--current-word'.
254 2013-12-16 Martin Rudalics <rudalics@gmx.at>
256 * window.el (display-buffer-below-selected):
257 Bind split-height-threshold to 0 as suggested by Juri Linkov.
259 2013-12-16 Leo Liu <sdl.web@gmail.com>
261 * progmodes/compile.el (compile-goto-error): Do not push-mark.
262 Remove NOMSG arg and all uses changed.
264 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
266 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
267 (cua--deactivate-rectangle): Don't deactivate the mark.
268 (cua-set-rectangle-mark): Don't set mark-active since
269 cua--activate-rectangle already does it for us.
270 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
271 non-rectangular region.
273 * emulation/cua-base.el (cua-repeat-replace-region):
274 Use with-current-buffer.
276 * net/gnutls.el: Use cl-lib.
277 (gnutls-negotiate): `mapcan' -> cl-mapcan.
279 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
281 * emacs-lisp/package.el (package-built-in-p): Support both
282 built-in and the package.el converted package descriptions.
283 (package-show-package-list): Allow keywords.
284 (package-keyword-button-action): Use it instead of
285 `finder-list-matches'.
286 (package-menu-filter-interactive): Interactive filtering (by
288 (package-menu--generate): Support keywords and change keymappings
289 and headers when they are given.
290 (package--has-keyword-p): Helper function.
291 (package-menu--refresh): Use it.
292 (package--mapc): Helper function.
293 (package-all-keywords): Use it.
294 (package-menu-mode-map): Set up menu items and keybindings to
295 provide a filtering UI.
297 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
299 * net/gnutls.el (gnutls-verify-error): New defcustom to control
300 the behavior when a certificate fails validation. Defaults to
301 old behavior: never abort, just warn.
302 (gnutls-negotiate): Use it.
304 2013-12-14 Martin Rudalics <rudalics@gmx.at>
306 * window.el (display-buffer-below-selected): Never split window
307 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
309 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
311 * emacs-lisp/package.el (package--prepare-dependencies): New function.
312 (package-buffer-info): Use it (bug#15108).
314 * icomplete.el (icomplete-completions): Make sure the prefix is already
315 displayed elsewhere before hiding it.
317 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
319 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
320 open-paren tokens when preceded by a open-paren, too.
321 (ruby-smie-rules): Handle virtual indentation after open-paren
322 tokens specially. If there is code between it and eol, return the
323 column where is starts (Bug#16118).
325 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
327 * progmodes/cfengine.el: Fix `add-hook' doc.
328 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
329 (cfengine3--current-word): Fix parameters.
330 (cfengine3-make-syntax-cache): Simplify further.
331 (cfengine3-completion-function, cfengine3--current-function):
332 Use `assq' for symbols.
333 (cfengine3--current-function): Fix `cfengine3--current-word' call.
335 2013-12-13 Glenn Morris <rgm@gnu.org>
337 * loadup.el (load-path): Warn if site-load or site-init changes it.
338 No more need to reset it when bootstrapping.
340 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
342 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
343 locations for cf-promises.
344 (cfengine-mode-syntax-functions-regex): New caching variable.
345 (cfengine3-fallback-syntax): Fallback syntax for cases where
346 cf-promises doesn't run.
347 (cfengine3--current-word): Reimplement using
348 `cfengine-mode-syntax-functions-regex'.
349 (cfengine3-completion-function, cfengine3--current-function):
350 Use `cfengine3-make-syntax-cache' directly.
351 (cfengine3-clear-syntax-cache): New function.
352 (cfengine3-make-syntax-cache): Simplify and create
353 `cfengine-mode-syntax-functions-regex' on demand.
354 (cfengine3-format-function-docstring): Don't call
355 `cfengine3-make-syntax-cache' explicitly.
357 2013-12-13 Martin Rudalics <rudalics@gmx.at>
359 Fix windmove-find-other-window broken after pixelwise resizing
361 * windmove.el (windmove-other-window-loc): Revert change from
363 (windmove-find-other-window): Call window-in-direction.
364 * window.el (window-in-direction): New arguments SIGN, WRAP and
365 MINI to emulate original windmove-find-other-window behavior.
367 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
369 * simple.el (blink-matching--overlay): New variable.
370 (blink-matching-open): Instead of moving point, highlight the
371 matching paren with an overlay
372 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
374 * faces.el (paren-showing-faces, show-paren-match)
375 (show-paren-mismatch): Move from paren.el.
377 2013-12-13 Leo Liu <sdl.web@gmail.com>
379 * indent.el (indent-region): Disable progress reporter in
380 minibuffer. (Bug#16108)
382 * bindings.el (visual-order-cursor-movement): Fix version.
384 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
386 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
387 Also match after beginning of line.
388 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
389 files. Thanks to Russell Sim. (Bug#15378)
391 2013-12-13 Juri Linkov <juri@jurta.org>
393 * simple.el <Keypad support>: Remove key bindings duplicated
394 with bindings.el. (Bug#14397)
396 2013-12-13 Juri Linkov <juri@jurta.org>
398 * comint.el (comint-mode-map): Replace `delete-char' with
399 `delete-forward-char'. (Bug#16109)
401 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
403 * progmodes/python.el (python-indent-calculate-indentation):
404 Fix de-denters cornercase. (Bug#15731)
406 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
408 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
409 (advice--make): Pay attention to `depth'.
410 (advice--make-1): Don't autoload commands eagerly.
411 * emacs-lisp/elp.el (elp-instrument-function):
412 * emacs-lisp/trace.el (trace-function-internal):
413 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
415 * iswitchb.el (iswitchb-mode): Don't belittle ido.
417 2013-12-12 Eli Zaretskii <eliz@gnu.org>
419 * term/w32-win.el (w32-handle-dropped-file):
420 * startup.el (normal-top-level):
421 * net/browse-url.el (browse-url-file-url):
422 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
423 decode file names using 'utf-8' rather than
424 file-name-coding-system.
426 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
428 * progmodes/python.el (python-indent-context)
429 (python-indent-calculate-indentation): Fix auto-identation
430 behavior for comment blocks. (Bug#15916)
432 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
434 * progmodes/python.el (python-indent-calculate-indentation):
435 When determining indentation, don't treat "return", "pass", etc., as
436 operators when they are just string constituents. (Bug#15812)
438 2013-12-12 Juri Linkov <juri@jurta.org>
440 * uniquify.el (uniquify-buffer-name-style): Change default to
441 `post-forward-angle-brackets'.
443 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
444 `uniquify'. Change default to `post-forward-angle-brackets'.
446 2013-12-11 Glenn Morris <rgm@gnu.org>
448 * emacs-lisp/package.el (finder-list-matches):
449 Autoload rather than falsely declaring.
451 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
453 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
454 (eww-mode-map): Use them.
456 2013-12-11 Martin Rudalics <rudalics@gmx.at>
458 * window.el (display-buffer-in-side-window): Fix doc-string
461 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
463 * vc/vc-git.el: Silence byte-compiler warnings.
464 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
465 (log-edit-set-header): Declare.
467 2013-12-11 Eli Zaretskii <eliz@gnu.org>
469 * Makefile.in (custom-deps, finder-data): Run output file names
470 through unmsys--file-name. (Bug#16099)
472 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
474 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
475 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
477 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
478 instead of deleting the selection "by hand" (bug#16098).
479 Rely on insert-for-yank to yank rectangles.
480 (cua-highlight-region-shift-only): Mark obsolete.
481 (cua-mode): Don't enable/disable transient-mark-mode,
482 shift-select-mode (cua-mode works both with and without them), and
483 pc-selection-mode (obsolete).
484 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
485 (cua--deactivate-rectangle): Deactivate it.
487 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
488 (delete-selection-helper): Make sure yank starts at the top of the
490 (minibuffer-keyboard-quit): Use region-active-p.
492 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
494 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
495 to `delete' (bug#16109).
497 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
499 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
500 info manual and show keybindings and set `:group' keyword.
502 2013-12-11 Juri Linkov <juri@jurta.org>
504 * delsel.el (delete-active-region): Let-bind `this-command'
505 to prevent `kill-region' from changing its original value.
506 (delete-selection-helper): Handle `overwrite-mode' for the type
507 `kill' exactly the same way as for the type `t'.
508 (insert-char, quoted-insert, reindent-then-newline-and-indent):
509 Support more commands. (Bug#13312)
511 2013-12-11 Juri Linkov <juri@jurta.org>
513 * bindings.el: Map kp keys to non-kp keys systematically
514 with basic modifiers control, meta and shift. (Bug#14397)
516 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
518 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
519 "Close browser" menu items. Fix wrong function of "List
522 2013-12-11 Juri Linkov <juri@jurta.org>
524 * misearch.el (multi-isearch-buffers): Set the value of
525 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
526 arg of isearch-forward to t.
527 (multi-isearch-buffers-regexp): Set the value of
528 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
529 arg of isearch-forward-regexp to t.
530 (multi-isearch-files): Set the value of
531 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
532 arg of isearch-forward to t.
533 (multi-isearch-files-regexp): Set the value of
534 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
535 arg of isearch-forward-regexp to t. (Bug#16035)
537 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
538 arg of isearch-forward to t.
539 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
540 arg of isearch-forward-regexp to t.
541 (dired-isearch-filter-filenames): Remove unnecessary check for
542 `dired-isearch-filenames'.
544 * comint.el (comint-history-isearch-backward):
545 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
546 (comint-history-isearch-backward-regexp):
547 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
549 2013-12-10 Eli Zaretskii <eliz@gnu.org>
551 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
552 unmsys--file-name. (Bug#16099)
554 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
556 * emacs-lisp/package.el (package-keyword-button-action):
557 Remove finder.el require dependency.
559 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
561 * emacs-lisp/package.el: Require finder.el.
562 (describe-package-1): Add keyword buttons.
563 (package-make-button): New convenience function.
564 (package-keyword-button-action): Keyword button action using
565 `finder-list-matches'
567 2013-12-09 Eli Zaretskii <eliz@gnu.org>
569 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
572 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
574 * autorevert.el (auto-revert-notify-add-watch): Do not handle
577 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
579 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
580 after the end of a percent literal.
582 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
584 * progmodes/ruby-mode.el (ruby-forward-string): Document.
585 Handle caret-delimited strings (Bug#16079).
587 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
589 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
590 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
591 `ruby-parse-partial' (Bug#16078).
593 2013-12-09 Leo Liu <sdl.web@gmail.com>
595 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
597 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
599 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
600 (js-switch-indent-offset): New option.
601 (js--proper-indentation): Use it. And handle the case when
602 "default" is actually a key in an object literal.
603 (js--same-line): New function.
604 (js--multi-line-declaration-indentation): Use it.
605 (js--indent-in-array-comp, js--array-comp-indentation):
607 (js--proper-indentation): Use them, to handle array comprehension
610 2013-12-08 Leo Liu <sdl.web@gmail.com>
612 * progmodes/flymake.el (flymake-highlight-line): Re-write.
613 (flymake-make-overlay): Remove arg MOUSE-FACE.
614 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
616 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
618 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
620 (redisplay-highlight-region-function): Use it.
622 * emulation/cua-base.el (cua--explicit-region-start)
623 (cua--last-region-shifted): Remove.
624 (cua--deactivate): Use deactivate-mark.
625 (cua--pre-command-handler-1): Don't handle shift-selection.
626 (cua--post-command-handler-1): Don't change transient-mark-mode.
627 (cua--select-keymaps): Use region-active-p rather than
628 cua--explicit-region-start or cua--last-region-shifted.
629 (cua-mode): Enable shift-select-mode.
631 2013-12-08 Leo Liu <sdl.web@gmail.com>
633 * progmodes/flymake.el (flymake-popup-current-error-menu):
634 Rename from flymake-display-err-menu-for-current-line. Reimplement.
635 (flymake-posn-at-point-as-event, flymake-popup-menu)
636 (flymake-make-emacs-menu): Remove. (Bug#16077)
638 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
640 * rect.el (rectangle-mark-mode): Activate mark even if
641 transient-mark-mode is off (bug#16066).
642 (rectangle--highlight-for-redisplay): Fix boundary condition when point
643 is > mark and at bolp.
645 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
646 (region-extract-function): Use it.
647 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
648 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
650 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
651 kill-ring-save, kill-region, delete-char, delete-forward-char.
652 Ignore self-insert-iso.
654 * emulation/cua-gmrk.el (cua--init-global-mark):
655 Ignore `self-insert-iso'.
657 * emulation/cua-base.el (cua--prefix-copy-handler)
658 (cua--prefix-cut-handler): Rely on region-extract-function rather than
659 checking cua--rectangle.
660 (cua-delete-region): Use region-extract-function.
661 (cua-replace-region): Delete function.
662 (cua-copy-region, cua-cut-region): Obey region-extract-function.
663 (cua--pre-command-handler-1): Don't do the delete-selection thing.
664 (cua--self-insert-char-p): Ignore `self-insert-iso'.
665 (cua--init-keymaps): Don't remap delete-selection commands.
666 (cua-mode): Use delete-selection-mode instead of rolling our own
669 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
670 Obey region-extract-function.
672 Make registers and delete-selection-mode work on rectangles.
673 * register.el (describe-register-1): Don't modify the register's value.
674 (copy-to-register): Obey region-extract-function.
675 * delsel.el (delete-active-region): Obey region-extract-function.
677 2013-12-08 Leo Liu <sdl.web@gmail.com>
679 * progmodes/flymake.el (flymake, flymake-error-bitmap)
680 (flymake-warning-bitmap, flymake-fringe-indicator-position)
681 (flymake-compilation-prevents-syntax-check)
682 (flymake-start-syntax-check-on-newline)
683 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
684 (flymake-start-syntax-check-on-find-file, flymake-log-level)
685 (flymake-xml-program, flymake-master-file-dirs)
686 (flymake-master-file-count-limit)
687 (flymake-allowed-file-name-masks): Relocate.
688 (flymake-makehash, flymake-float-time)
689 (flymake-replace-regexp-in-string, flymake-split-string)
690 (flymake-get-temp-dir): Remove.
691 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
692 (flymake-current-row, flymake-selected-frame)
693 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
694 related functions. (Bug#16077)
696 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
698 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
700 2013-12-07 Tassilo Horn <tsdh@gnu.org>
702 * help-fns.el (describe-function-1): Use new advice-* functions
703 rather than old ad-* functions. Fix function type description and
704 source links for advised functions and subrs.
706 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
708 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
710 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
712 * progmodes/compile.el (compilation-start):
713 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
715 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
716 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
718 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
720 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
721 Touch up the last change.
723 2013-12-06 Leo Liu <sdl.web@gmail.com>
725 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
726 (inferior-octave-startup): Always use "octave> " for prompt.
727 (octave-goto-function-definition)
728 (octave-sync-function-file-names)
729 (octave-find-definition-default-filename): Remove redundant backquotes.
731 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
733 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
735 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
736 where appropriate already.
737 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
738 end of method names (Bug#15874).
740 2013-12-06 Juri Linkov <juri@jurta.org>
742 * isearch.el (isearch--saved-overriding-local-map):
743 New internal variable.
744 (isearch-mode): Set it to the initial value of
745 `overriding-terminal-local-map'.
746 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
747 with `isearch--saved-overriding-local-map'. (Bug#16035)
749 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
751 * progmodes/octave.el (inferior-octave-completion-table):
752 Turn back into function, use `completion-table-with-cache'
753 (Bug#11906). Update all references.
755 * minibuffer.el (completion-table-with-cache): New function.
757 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
759 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
761 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
763 * net/eww.el (eww-current-source): New variable to store page
765 (eww-display-html, eww-mode, eww-save-history)
766 (eww-restore-history): Use it.
767 (eww-view-source): New command to view page source.
768 Opportunistically uses `html-mode' to highlight the buffer.
769 (eww-mode-map): Install it.
771 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
773 * net/dbus.el (dbus-unregister-service)
774 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
776 (dbus-unregister-service): Skip :serial entries in
777 `dbus-registered-objects-table'.
778 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
780 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
782 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
783 around keywords with extra `split-string' argument.
785 2013-12-04 Martin Rudalics <rudalics@gmx.at>
787 * windmove.el (windmove-other-window-loc): Handle navigation
788 between windows (excluding the minibuffer window - Bug#16017).
790 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
792 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
793 in D-Bus type syntax.
794 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
795 preserve unibyte strings. (Bug#16048)
797 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
799 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
800 Call force-mode-line-update is the proper buffer (bug#16042).
802 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
804 * vc/log-edit.el (log-edit-add-new-comment): Rename to
805 `log-edit-remember-comment', make argument optional. Adjust all
807 (log-edit-mode): Add `log-edit-remember-comment' to
808 `kill-buffer-hook' locally.
809 (log-edit-kill-buffer): Don't remember comment explicitly since
810 the buffer is killed anyway.
812 2013-12-04 Juri Linkov <juri@jurta.org>
814 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
815 add-hook and remove-hook for multi-buffer search. (Bug#16035)
817 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
819 * notifications.el (notifications-close-notification): Call the
820 D-Bus method with ID being a `:uint32'. (Bug#16030)
822 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
824 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
826 2013-12-03 Juri Linkov <juri@jurta.org>
828 * progmodes/compile.el (compilation-start): Rename window alist
829 entry `no-display-ok' to `allow-no-window'.
831 * simple.el (shell-command): Add window alist entry
832 `allow-no-window' to `display-buffer'.
833 (async-shell-command): Doc fix.
835 * window.el (display-buffer-no-window): New action function.
836 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
838 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
840 * vc/log-edit.el (log-edit-set-header): Extract from
841 `log-edit-toggle-header'.
842 (log-edit-extract-headers): Separate the summary, when extracted
843 from header, from the rest of the message with an empty line.
845 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
846 line, if present, to the Summary header.
848 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
850 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
851 in current-buffer (bug#16029).
853 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
855 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
856 (debugger-mode-map): Bind it.
857 (debugger--backtrace-base): New function.
858 (debugger-eval-expression): Use it.
859 (debugger-frame-number): Skip local vars when present.
860 (debugger--locals-visible-p, debugger--insert-locals)
861 (debugger--show-locals, debugger--hide-locals): New functions.
863 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
865 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
867 (tramp-get-remote-locale): New defun.
868 (tramp-open-connection-setup-interactive-shell): Use it.
870 2013-12-02 Leo Liu <sdl.web@gmail.com>
872 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
874 * progmodes/sh-script.el (sh-shell-process):
875 * progmodes/octave.el (inferior-octave-process-live-p):
876 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
877 (gdb-inferior-io-sentinel):
878 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
880 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
882 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
883 `save-selected-window' to `log-edit-hide-buf'. This makes
884 `log-edit-show-files' idempotent.
885 (log-edit-show-files): Mark the new window as dedicated.
887 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
889 * vc/log-edit.el (log-edit-mode-map): Add binding for
890 `log-edit-kill-biffer'.
891 (log-edit-hide-buf): Add a FIXME comment.
892 (log-edit-add-new-comment): New function, extracted from
894 (log-edit-done, log-edit-add-to-changelog): Use it.
895 (log-edit-kill-buffer): New command.
897 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
899 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
900 instead of killing the buffer.
902 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
904 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
906 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
908 * net/eww.el (eww-form-checkbox-selected-symbol)
909 (eww-form-checkbox-symbol): New customizable variable.
910 (eww-form-checkbox, eww-toggle-checkbox):
911 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
913 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
914 (shr--get-media-pref, shr--extract-best-source): New function.
915 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
916 no :src tag was specified.
918 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
919 (eww-render): Handle `eww-use-external-browser-for-content-type'.
920 Use \\` to match beginning of string instead of ^.
921 (eww-browse-with-external-browser): Provide optional URL parameter.
922 (eww-render): Set `eww-current-title' back to "".
924 * net/shr.el (shr-tag-video): Display content for video if no
926 (shr-tag-audio): Add support for <audio> tag.
928 * net/eww.el (eww-text-input-types): : New const.
929 (eww-process-text-input): Treat input types in
930 `eww-text-input-types' as text.
932 * net/shr.el (shr-tag-table): Fix comment typo.
934 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
936 * net/eww.el (eww-follow-link): New command to avoid reloading
937 pages when we follow #target links (bug#15243).
938 (eww-quit): Special mode buffers shouldn't query before exiting.
940 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
942 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
945 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
947 * net/eww.el (eww-restore-history): Update the window title after
948 moving in the history.
949 (eww-current-dom): New variable used to save the current DOM.
951 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
953 * vc/log-edit.el (log-edit-mode-map): Add binding for
954 `log-edit-beginning-of-line'.
955 (log-edit-setup-add-author): New user option.
956 (log-edit-beginning-of-line): New command.
957 (log-edit): Move major mode call above the contents setup so that
958 the local variable values are already applied.
959 (log-edit): Only insert "Author: " when
960 `log-edit-setup-add-author' is non-nil.
961 (log-edit): When SETUP is non-nil, position point after ": "
962 instead of point-min.
964 2013-12-01 Glenn Morris <rgm@gnu.org>
966 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
968 2013-11-30 Eli Zaretskii <eliz@gnu.org>
970 * startup.el (fancy-splash-frame): On MS-Windows, trigger
971 redisplay to make sure the initial frame gets a chance to become
974 2013-11-30 Martin Rudalics <rudalics@gmx.at>
976 Support resizing frames and windows pixelwise.
977 * cus-start.el (frame-resize-pixelwise)
978 (window-resize-pixelwise): New entries.
979 * emacs-lisp/debug.el (debug): Use window-total-height instead
980 of window-total-size.
981 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
982 * help.el (describe-bindings-internal): Call help-buffer
983 (temp-buffer-max-width): New option.
984 (resize-temp-buffer-window, help-window-setup)
985 (with-help-window): Rewrite.
986 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
988 * window.el (frame-char-size, window-min-pixel-height)
989 (window-safe-min-pixel-height, window-safe-min-pixel-width)
990 (window-min-pixel-width, window-safe-min-pixel-size)
991 (window-combination-p, window-safe-min-size)
992 (window-resizable-p, window--size-to-pixel)
993 (window--pixel-to-size, window--resize-apply-p): New functions.
994 (window-safe-min-height): Fix doc-string.
995 (window-size, window-min-size, window--min-size-1)
996 (window-sizable, window-sizable-p, window--min-delta-1)
997 (window-min-delta, window--max-delta-1, window-max-delta)
998 (window--resizable, window--resizable-p, window-resizable)
999 (window-full-height-p, window-full-width-p, window-at-side-p)
1000 (window--in-direction-2, window-in-direction)
1001 (window--resize-reset-1, window--resize-mini-window)
1002 (window-resize, window-resize-no-error)
1003 (window--resize-child-windows-normal)
1004 (window--resize-child-windows, window--resize-siblings)
1005 (window--resize-this-window, window--resize-root-window)
1006 (window--resize-root-window-vertically)
1007 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1008 (maximize-window, minimize-window, delete-window)
1009 (quit-restore-window, window-split-min-size, split-window)
1010 (balance-windows-2, balance-windows)
1011 (balance-windows-area-adjust, balance-windows-area)
1012 (window--state-get-1, window-state-get, window--state-put-1)
1013 (window--state-put-2, window-state-put)
1014 (display-buffer-record-window, window--display-buffer):
1015 Make functions handle pixelwise sizing of windows.
1016 (display-buffer--action-function-custom-type)
1017 (display-buffer-fallback-action):
1018 Add display-buffer-in-previous-window.
1019 (display-buffer-use-some-window): Resize window to height it had
1021 (fit-window-to-buffer-horizontally): New option.
1022 (fit-frame-to-buffer): Describe new values.
1023 (fit-frame-to-buffer-bottom-margin): Replace with
1024 fit-frame-to-buffer-margins.
1025 (window--sanitize-margin): New function.
1026 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1027 using window-text-pixel-size.
1029 2013-11-30 Glenn Morris <rgm@gnu.org>
1031 * emacs-lisp/bytecomp.el (byte-compile-form):
1032 Make the `interactive-only' warning like the `obsolete' one.
1033 * comint.el (comint-run):
1034 * files.el (insert-file-literally, insert-file):
1035 * replace.el (replace-string, replace-regexp):
1036 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1037 (goto-line, insert-buffer, next-line, previous-line):
1038 Tweak `interactive-only' spec.
1040 Stop keeping (most) generated cedet grammar files in the repository.
1041 * Makefile.in (semantic): New.
1042 (compile-main): Depend on semantic.
1044 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1046 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1047 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1049 * uniquify.el (uniquify-buffer-name-style): Change default.
1051 * loadup.el: Preload "uniquify".
1053 * time.el (display-time-update): Update all mode lines (bug#15999).
1055 * electric.el (electric-indent-mode): Enable by default.
1056 * loadup.el: Preload "electric".
1058 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1060 * emacs-lisp/helpers.el (string-empty-p): New function.
1061 (string-blank-p): New function.
1063 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1065 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1068 2013-11-29 Andreas Politz <politza@fh-trier.de>
1069 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1070 allow non-lambda lists as functions.
1071 (imenu--in-alist): Don't recurse into non-subalists.
1072 (imenu): Don't pass function itself as an argument (Bug#14029).
1074 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1076 * progmodes/python.el (python-mode-map): Remove binding for ":".
1077 (python-indent-electric-colon): Remove command.
1078 (python-indent-post-self-insert-function): Integrate the previous code
1079 of python-indent-electric-colon. Make it conditional on
1080 electric-indent-mode.
1081 (python-mode): Add ?: to electric-indent-chars.
1082 Move python-indent-post-self-insert-function to the end of
1083 post-self-insert-hook.
1085 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1087 * doc-view.el (doc-view-goto-page): Update mode-line.
1089 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1091 2013-11-27 Glenn Morris <rgm@gnu.org>
1093 * international/charprop.el, international/uni-bidi.el:
1094 * international/uni-category.el, international/uni-combining.el:
1095 * international/uni-comment.el, international/uni-decimal.el:
1096 * international/uni-decomposition.el, international/uni-digit.el:
1097 * international/uni-lowercase.el, international/uni-mirrored.el:
1098 * international/uni-name.el, international/uni-numeric.el:
1099 * international/uni-old-name.el, international/uni-titlecase.el:
1100 * international/uni-uppercase.el:
1101 Remove generated files from VCS repository.
1103 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1105 * filenotify.el (file-notify-add-watch): Don't special-case
1106 w32notify when computing the directory to watch.
1108 2013-11-27 Glenn Morris <rgm@gnu.org>
1110 Make bootstrap without generated uni-*.el files possible again.
1111 * loadup.el: Update command-line-args checking for unidata-gen.
1112 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1113 * composite.el, international/characters.el:
1114 Handle unicode tables being undefined.
1116 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1117 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1118 (compile-main): Depend on leim rule.
1120 * loadup.el: Move leim-list.el to leim/ subdirectory.
1121 * startup.el (normal-top-level): No more leim directory.
1122 * international/ja-dic-cnv.el (skkdic-convert):
1123 Disable version-control and autoloads in output files.
1124 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1125 Disable version-control and autoloads in output files.
1126 * leim/quail: Move here from ../leim.
1127 * leim/quail/hangul.el (hangul-input-method-activate):
1128 Add autoload cookie.
1129 (generated-autoload-load-name): Set file-local value.
1130 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1131 (generated-autoload-load-name): Set file-local value.
1133 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1135 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1136 (eww-add-bookmark): ask confirmation when add to bookmarks
1137 (eww-quit): ask confirmation before quitting eww
1139 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1141 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1142 reading output from Diff on MS-Windows and MS-DOS.
1144 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1146 * emacs-lisp/helpers.el (string-reverse): New function.
1148 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1150 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1151 names on MS Windows, like "/[::1]:".
1153 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1156 2013-11-26 Glenn Morris <rgm@gnu.org>
1158 * progmodes/python.el (python-indent-guess-indent-offset):
1159 Avoid corner-case error. (Bug#15975)
1161 Preload leim-list.el. (Bug#4789)
1162 * loadup.el: Load leim-list.el when found.
1163 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1165 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1167 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1169 * emacs-lisp/helpers.el (string-join): New function.
1171 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1173 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1174 Mark as obsolete and replace it with a symbol property.
1175 (byte-compile-form): Use new 'interactive-only property.
1176 * comint.el, files.el, replace.el, simple.el:
1177 Apply new 'interactive-only properly.
1179 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1181 * window.el (display-buffer-at-bottom): Make sure that
1182 split-window-sensibly creates the new window on bottom
1185 2013-11-23 David Kastrup <dak@gnu.org>
1187 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1188 on the conflict markers when available.
1189 (smerge--get-marker): New function.
1190 (smerge-end-re, smerge-base-re): Add subgroup.
1192 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1194 * frame.el (handle-focus-in, handle-focus-out): Add missing
1197 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1199 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1200 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1202 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1204 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1205 (gomoku--last-pos): New var.
1206 (gomoku--intangible-chars): New const.
1207 (gomoku--intangible): New function.
1208 (gomoku-mode): Use it. Derive from special-mode.
1209 (gomoku-move-up): Adjust line count.
1210 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1211 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1212 Simplify accordingly.
1214 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1215 Remove blink-cursor code.
1216 (blink-cursor-timer-function, blink-cursor-suspend):
1217 Don't special-case GUIs.
1218 (blink-cursor-mode): Use focus-in/out-hook.
1220 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1222 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1223 work when annotation is invisible (Bug#13886).
1225 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1227 * json.el (json-alist-p): Only return non-nil if the alist has
1228 simple keys (Bug#13518).
1230 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1232 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1233 when control-statement is the first statement in a buffer (Bug#15956).
1235 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1237 * imenu.el (imenu-generic-skip-comments-and-strings):
1238 New option (Bug#15560).
1239 (imenu--generic-function): Use it.
1241 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1243 * minibuffer.el (completion--in-region-1): Scroll the correct
1246 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1248 * emacs-lisp/helpers.el: Add some string helpers.
1249 (string-trim-left): Removes leading whitespace.
1250 (string-trim-right): Removes trailing whitespace.
1251 (string-trim): Removes leading and trailing whitespace.
1253 * subr.el (string-suffix-p): New function.
1255 2013-11-23 Glenn Morris <rgm@gnu.org>
1257 * progmodes/python.el (python-shell-send-file):
1258 Add option to delete file when done. (Bug#15647)
1259 (python-shell-send-string, python-shell-send-region): Use it.
1261 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1263 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1264 to set buffer-read-only to t, never to nil. (Bug#15938)
1266 * textmodes/tex-mode.el (latex-noindent-environments):
1267 Add safe-local-variable property. (Bug#15936)
1269 2013-11-23 Glenn Morris <rgm@gnu.org>
1271 * textmodes/enriched.el (enriched-mode): Doc fix.
1272 * emacs-lisp/authors.el (authors-renamed-files-alist):
1273 Add enriched.doc -> enriched.txt.
1275 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1277 2013-11-22 Leo Liu <sdl.web@gmail.com>
1279 * progmodes/octave.el (inferior-octave-startup): Spit out error
1282 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1284 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1287 (ruby-encoding-magic-comment-style): Add :version.
1289 2013-11-22 Leo Liu <sdl.web@gmail.com>
1291 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1293 (octave-help-mode): Adapt to change to help-mode-finish to use
1294 derived-mode-p on 2013-09-17.
1295 (inferior-octave-prompt): Also match octave-gui.
1296 (octave-kill-process): Don't ask twice. (Bug#10564)
1298 2013-11-22 Leo Liu <sdl.web@gmail.com>
1300 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1301 (inferior-octave-startup, inferior-octave-check-process)
1302 (inferior-octave-track-window-width-change)
1303 (octave-completion-at-point, octave-eldoc-function): Use it.
1304 (octave-kill-process): Provide confirmation. (Bug#10564)
1306 2013-11-21 Leo Liu <sdl.web@gmail.com>
1308 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1309 Fix obsolete variable comment-use-global-state.
1311 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1313 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1314 Add `octave-source-file'.
1315 (octave-source-file): New function. (Bug#15935)
1317 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1319 * net/eww.el (eww-local-regex): New variable.
1320 (eww): Use it to detect localhost and similar.
1322 2013-11-21 Leo Liu <sdl.web@gmail.com>
1324 Add completion for command `ag'.
1325 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1326 (pcomplete/ag): New function.
1327 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1329 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1331 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1333 (make-obsolete): Remove interactive spec.
1335 2013-11-21 Glenn Morris <rgm@gnu.org>
1337 * startup.el (command-line-1): Use path-separator with -L.
1339 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1341 * emacs-lisp/package.el (describe-package-1): Add package archive
1344 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1346 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1347 Change default to "# encoding: %s" to differentiate it from the
1348 default Ruby encoding comment template.
1350 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1352 * ses.el (ses-mode): Doc fix. (Bug#14748)
1354 2013-11-20 Leo Liu <sdl.web@gmail.com>
1356 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1358 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1360 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1361 when rebase or bisect are in progress.
1363 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1365 * filenotify.el (file-notify-add-watch): Doc fix.
1367 2013-11-19 Leo Liu <sdl.web@gmail.com>
1369 * obsolete/rcompile.el: Mark obsolete.
1371 * progmodes/compile.el (compilation-start)
1372 (compilation-goto-locus, compilation-find-file):
1373 Pass no-display-ok and handle nil value from display-buffer.
1376 * window.el (display-buffer-alist, display-buffer): Document the
1377 new parameter no-display-ok. Return either a window or nil
1378 but never a non-window value.
1380 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1382 * electric.el (electric-indent-mode-map): Remove.
1383 (electric-indent-mode): Change the global-map instead (bug#15915).
1385 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1388 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1390 * emacs-lisp/nadvice.el (remove-function): Align with
1391 add-function's behavior.
1393 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1394 (gdb--string-regexp): New constant.
1395 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1396 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1397 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1399 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1400 Adjust use accordingly.
1401 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1403 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1405 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1406 interpolation curlies (Bug#15914).
1408 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1410 * calc/calc.el (calc-context-sensitive-enter): New variable.
1411 (calc-enter): Use `calc-context-sensitive-enter'.
1413 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1415 * progmodes/cfengine.el: Version bump.
1416 (cfengine-cf-promises): New defcustom to locate cf-promises.
1417 (cfengine3-vartypes): Add new "data" type.
1418 (cfengine3--current-word): New function to get current name-like
1420 (cfengine3--current-function): New function to look up a CFEngine
1421 function's definition.
1422 (cfengine3-format-function-docstring): New function.
1423 (cfengine3-make-syntax-cache): New function.
1424 (cfengine3-documentation-function): New function: ElDoc glue.
1425 (cfengine3-completion-function): New function: completion glue.
1426 (cfengine3-mode): Set `compile-command',
1427 `eldoc-documentation-function', and add to
1428 `completion-at-point-functions'.
1430 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1432 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1433 `tramp-current-connection'.
1435 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1437 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1438 nil/self/true/false with "end of symbol".
1440 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1442 * subr.el (version-regexp-alist): Fix a typo.
1444 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1446 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1447 "en_US.utf8" and "LC_CTYPE" to "".
1448 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1449 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1451 2013-11-15 Leo Liu <sdl.web@gmail.com>
1453 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1455 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1457 * progmodes/gud.el (ctl-x-map):
1458 Remove C-x SPC binding. (Bug#12342)
1459 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1461 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1463 * subr.el (version-regexp-alist):
1464 Recognize hg, svn and darcs versions as snapshot versions.
1466 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1467 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1468 (ruby--encoding-comment-required-p): Extract from
1469 `ruby-mode-set-encoding'.
1470 (ruby-mode-set-encoding): Add the ability to always insert an
1471 utf-8 encoding comment. Fix and simplify coding comment update
1474 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1476 * net/tramp-gvfs.el (top): Run init code only when
1477 `tramp-gvfs-enabled' is not nil.
1478 (tramp-gvfs-enabled): Check also :system bus.
1480 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1482 Sync with upstream verilog-mode revision 78e66ba.
1483 * progmodes/verilog-mode.el (verilog-end-of-defun)
1484 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1485 (verilog-get-end-of-defun): Remove unused argument.
1486 (verilog-comment-depth): Remove unused local `e'.
1487 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1488 Don't pass arg to verilog-get-end-of-defun.
1490 2013-11-14 Glenn Morris <rgm@gnu.org>
1492 * obsolete/assoc.el (aget): Prefix dynamic variable.
1494 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1496 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1498 * widget.el, hfy-cmap.el: Remove bogus package version number.
1500 2013-11-13 Glenn Morris <rgm@gnu.org>
1502 * replace.el (replace-eval-replacement):
1503 Try to give more helpful error message. (Bug#15836)
1505 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1506 (archive-7z-update): Avoid custom type mismatches.
1508 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1510 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1512 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1513 address can be empty.
1515 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1516 Accept nil SWITCHES.
1517 (tramp-gvfs-handle-write-region): Implement APPEND.
1519 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1521 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1522 binary "|" operator and closing block args delimiter.
1523 Remove FIXME comment referring to Ruby 1.8-only syntax.
1524 (ruby-smie--implicit-semi-p): Not after "|" operator.
1525 (ruby-smie--closing-pipe-p): New function.
1526 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1527 (ruby-smie-rules): Indent after "|".
1529 2013-11-12 Glenn Morris <rgm@gnu.org>
1531 * ps-print.el (ps-face-attribute-list):
1532 Handle anonymous faces. (Bug#15827)
1534 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1536 * window.el (display-buffer-other-frame): Fix doc-string.
1539 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1541 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1543 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1545 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1546 (tramp-sh-handle-file-local-copy): Don't write a message when
1547 saving temporary files.
1549 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1550 both directories are remote.
1551 (tramp-smb-handle-directory-files): Do not return double entries.
1552 Do not expand full file names.
1553 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1554 (tramp-smb-handle-write-region): Implement APPEND.
1555 (tramp-smb-get-stat-capability): Fix a stupid bug.
1557 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1559 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1561 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1563 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1564 throwing error over malformed let/let* (bug#15814).
1566 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1568 * iswitchb.el (iswitchb-mode): Mark obsolete.
1570 2013-11-11 Glenn Morris <rgm@gnu.org>
1572 * international/uni-bidi.el, international/uni-category.el:
1573 * international/uni-name.el, international/uni-numeric.el:
1574 Regenerate for Unicode 6.3.0.
1576 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1578 * net/tramp.el (tramp-methods):
1579 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1580 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1582 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1584 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1585 Force highlighting text after Summary keyword in doc face for rpm.
1587 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1589 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1590 available and the word has no wildcards, append one to the grep pattern.
1591 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1592 (ispell-complete-word): Call `ispell-lookup-words' with the value
1593 independent of `ispell-look-p'.
1595 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1597 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1599 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1602 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1604 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1605 (ruby-font-lock-keywords): Use backquote.
1607 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1609 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1610 (ruby-smie--backward-token): Only consider full-string matches.
1612 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1614 * faces.el (describe-face): Add distant-foreground.
1616 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1618 * progmodes/ruby-mode.el: Improve encoding comment handling.
1619 (ruby-encoding-magic-comment-style): New option.
1620 (ruby-custom-encoding-magic-comment-template): New option.
1621 (ruby--insert-coding-comment, ruby--detect-encoding):
1622 New functions extracted from `ruby-mode-set-encoding'.
1623 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1624 to control the style of the auto-inserted encoding comment.
1626 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1628 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1629 Use `smie-backward-sexp' with token argument.
1631 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1633 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1634 Remove instrumentation code.
1636 2013-11-08 Glenn Morris <rgm@gnu.org>
1638 * progmodes/autoconf.el (autoconf-mode):
1639 Tweak comment-start-skip. (Bug#15822)
1641 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1643 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1644 at bobp (bug#15826).
1645 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1647 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1649 * man.el (Man-start-calling): New macro, extracted from
1650 Man-getpage-in-background.
1651 (Man-getpage-in-background): Use it.
1652 (Man-update-manpage): New command.
1653 (Man-mode-map): Bind it.
1655 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1657 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1658 of "and", "or", "&&" and "||".
1659 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1660 argument. Prohibit opening curly brace because it could only be a
1661 block opener in that position.
1662 (ruby-smie--forward-token, ruby-smie--backward-token):
1663 Separate "|" from "&" or "*" going after it. That can happen in block
1665 (ruby-smie--indent-to-stmt): New function, seeks the end of
1666 previous statement or beginning of buffer.
1667 (ruby-smie-rules): Use it.
1668 (ruby-smie-rules): Check if there's a ":" before a curly block
1669 opener candidate; if there is, it's a hash.
1671 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1673 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1674 (cl--block-wrapper): Fix last accidental change.
1676 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1678 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1679 Instrument, in order to hunt failure on hydra.
1681 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1683 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1684 malformed bindings form (bug#15814).
1686 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1688 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1689 "." compared to " @ ". This incidentally fixes some indentation
1691 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1692 (ruby-smie-grammar): New tokens: "and" and "or".
1693 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1694 Exclude "and" and "or". Remove "do" in order to work around token
1696 (ruby-smie-rules): Add all infix tokens. Handle the case of
1697 beginning-of-buffer.
1699 2013-11-06 Glenn Morris <rgm@gnu.org>
1701 * Makefile.in (setwins_almost, setwins_for_subdirs):
1702 Avoid accidental matches.
1704 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1706 * menu-bar.el (popup-menu): Use key-binding.
1708 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1710 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1711 menus, support also the menus produced by minor modes.
1714 2013-11-06 Leo Liu <sdl.web@gmail.com>
1716 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1717 DISTANCE to bound the search. All uses changed. (Bug#15808)
1719 2013-11-06 Glenn Morris <rgm@gnu.org>
1721 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1722 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1723 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1725 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1727 * electric.el (electric-indent-just-newline): New command.
1728 (electric-indent-mode-map): New keymap.
1729 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1730 Re-add :group which weren't redundant.
1732 * electric.el (electric-indent-local-mode): New minor mode.
1733 (electric-indent-functions-without-reindent): New var.
1734 (electric-indent-post-self-insert-function): Use it.
1735 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1737 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1739 * international/quail.el (quail-help): Be more explicit about the
1740 meaning of the labels shown on the keys. (Bug#15800)
1742 * startup.el (normal-top-level): Load the subdirs.el files before
1743 setting the locale environment. (Bug#15805)
1745 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1747 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1748 via arguments so as to get the right ones (bug#15418).
1750 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1752 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1754 Fix problems found while writing a test suite.
1756 * net/tramp-compat.el (tramp-compat-load): New defun.
1757 * net/tramp.el (tramp-handle-load): Use it.
1759 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1760 "(numberp ok-if-already-exists)" correctly.
1762 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1764 * international/characters.el (glyphless-char-display-control):
1767 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1769 * progmodes/python.el (python-mode):
1770 * progmodes/scheme.el (scheme-mode):
1771 * progmodes/prolog.el (prolog-mode):
1772 * progmodes/ruby-mode.el (ruby-mode):
1773 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1774 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1776 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1778 * rect.el (rectangle--highlight-for-redisplay):
1779 * emacs-lisp/smie.el (smie--next-indent-change):
1780 Use buffer-chars-modified-tick.
1782 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1784 * electric.el (electric-indent-post-self-insert-function):
1785 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1787 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1789 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1791 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1793 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1796 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1798 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1800 * progmodes/python.el: Fix up last change.
1801 (python-shell--save-temp-file): New function.
1802 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1803 `string' comes from the current buffer.
1804 (python-shell-send-string-no-output): Remove `msg' arg.
1805 (python--use-fake-loc): New var.
1806 (python-shell-buffer-substring): Obey it. Try to compensate for the
1807 extra coding line added by python-shell--save-temp-file.
1808 (python-shell-send-region): Use python-shell--save-temp-file and
1809 python-shell-send-file directly. Add `nomain' argument.
1810 (python-shell-send-buffer): Use python-shell-send-region.
1811 (python-electric-pair-string-delimiter): New function.
1812 (python-mode): Use it.
1814 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1816 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1817 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1818 environment and decoding all of the default-directory's to here
1820 (command-line): Decode also argv[0].
1822 * loadup.el: Error out if default-directory is a multibyte string
1823 when we are dumping.
1825 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1827 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1829 * emacs-lisp/package.el (package-menu-mode)
1830 (package-menu--print-info, package-menu--archive-predicate):
1831 Add Archive column to package list.
1833 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1835 Fix problems found while writing a test suite.
1837 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1838 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1839 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1840 to nil when running original file name handler. Otherwise,
1841 there are problems with constructs like "$$FOO".
1843 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1846 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1848 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1850 * subr.el (version<, version<=, version=):
1851 Update docstrings with information for snapshot versions.
1853 * helpers.el: New library for misc helper functions.
1854 (hash-table-keys): New function returning a list of hash keys.
1855 (hash-table-values): New function returning a list of hash values.
1857 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1859 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1860 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1862 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1864 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1865 checking whether point is after a 1-letter word.
1867 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1869 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1870 Don't infloop when expanding region over `multiline' syntax-type that
1871 begins a line (bug#15778).
1873 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1875 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1876 Make it into a proper minor mode.
1877 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1878 (rectangle-mark-mode-map): New keymap.
1879 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1881 2013-11-04 Glenn Morris <rgm@gnu.org>
1883 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1885 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1887 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1888 (ruby-smie-rules): Use smie-rule-parent instead.
1890 * emacs-lisp/smie.el (smie-rule-parent): Always call
1891 smie-indent-virtual rather than only for hanging tokens.
1892 (smie--next-indent-change): New helper command.
1894 2013-11-03 Glenn Morris <rgm@gnu.org>
1896 * Makefile.in (abs_srcdir): Remove.
1897 (emacs): Unset EMACSLOADPATH.
1899 2013-11-02 Glenn Morris <rgm@gnu.org>
1901 * Makefile.in (EMACS): Use a relative filename.
1902 (abs_top_builddir): Remove.
1903 (custom-deps, finder-data, autoloads): Use --chdir.
1905 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1907 Use relative filenames in TAGS files.
1908 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1909 (lisptagsfiles4, TAGS): Use relative file names.
1910 (TAGS-LISP): Remove.
1911 (maintainer-clean): No more TAGS-LISP file.
1913 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1914 (lisptagsfiles4): Use absolute filenames again.
1915 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1916 Remove all *loaddefs files, not just the first. Remove esh-groups.
1917 (maintainer-clean): Delete TAGS, TAGS-LISP.
1919 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1921 * emacs-lisp/package.el (package-version-join):
1922 Recognize snapshot versions.
1924 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1926 * subr.el (version-regexp-alist): Add support for snapshot versions.
1928 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1930 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1931 New function, replacement for `smie-rule-parent' for when we want to
1932 skip over our direct parent if it's an assignment token..
1933 (ruby-smie-rules): Use it.
1935 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1937 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1938 unconditionally. Remove now unnecessary forward declarations.
1939 Remove XEmacs-specific setup.
1940 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1941 (ruby-font-lock-syntactic-keywords)
1942 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1943 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1944 (ruby-here-doc-end-syntax): Remove.
1945 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1946 defined as function.
1948 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1950 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1952 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1954 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1955 table and abbrev table, `define-derived-mode' does that for us
1958 2013-11-01 Glenn Morris <rgm@gnu.org>
1960 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1961 files is atomic for some time, so no parallel compilation issues).
1963 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1965 * faces.el (face-x-resources): Add :distant-foreground.
1966 (region): Use :distant-foreground for gtk and ns.
1968 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1970 Allow multiple bibliographies when BibLaTeX is used rather than
1972 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1973 (reftex-locate-bibliography-files): Us it.
1975 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1977 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1978 allow comments in pbm files.
1980 * term/w32-win.el (dynamic-library-alist): Support newer versions
1981 of libjpeg starting with v7: look only for the DLL from the
1982 version against which Emacs was built.
1983 Support versions of libpng beyond 1.4.x.
1984 Support libtiff v4.x.
1986 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1988 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1989 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1991 (ruby-deep-arglist): Add property :type.
1993 2013-10-31 Glenn Morris <rgm@gnu.org>
1995 * Makefile.in (custom-deps, finder-data): No need to setq the target
1996 variables, we are in the right directory and the defaults work fine.
1998 2013-10-30 Glenn Morris <rgm@gnu.org>
2000 * Makefile.in (autoloads): Do not use abs_lisp.
2002 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2003 `newline' does not respect `standard-output', so use `princ'.
2005 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2007 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2008 * buff-menu.el (Buffer-menu--unmark): New function.
2009 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2011 2013-10-30 Glenn Morris <rgm@gnu.org>
2013 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2015 * emacs-lisp/package.el (lm-homepage): Declare.
2017 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2020 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2022 * Makefile.in (finder-data, autoloads, update-subdirs)
2023 (compile-main, compile-clean, compile-always, bootstrap-clean):
2024 Check return value of cd.
2025 (compile-calc): Remove.
2027 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2029 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2031 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2032 (byte-compile-and-folded): New function.
2033 (=, <, >, <=, >=): Use it.
2035 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2036 (path-separator, null-device, buffer-file-coding-system)
2037 (lpr-headers-switches): Check system-type before modifying them.
2038 (find-buffer-file-type-coding-system): Mark obsolete.
2039 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2040 find-file-not-found-set-buffer-file-coding-system.
2041 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2042 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2043 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2044 (w32-direct-print-region-helper, w32-direct-print-region-function)
2045 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2046 * startup.el (normal-top-level-add-subdirs-to-load-path):
2047 * ps-print.el (ps-print-region-function):
2048 * lpr.el (print-region-function): Use new name.
2050 * subr.el (custom-declare-variable-early): Remove function.
2051 (custom-declare-variable-list): Remove var.
2052 (error, user-error): Remove `while' loop.
2053 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2054 (user-emacs-directory-warning, locate-user-emacs-file):
2056 * simple.el (read-quoted-char-radix, read-quoted-char):
2057 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2059 * custom.el (custom-declare-variable-list): Don't process
2060 custom-declare-variable-list.
2062 * progmodes/python.el (python-shell-get-buffer): New function.
2063 (python-shell-get-process): Use it.
2064 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2065 Python which encoding was used. Don't split-string since we only care
2066 about the first line. Return the temp-file, if applicable.
2067 (python-shell-send-region): Tell compile.el how to turn locations in
2068 the temp-file into locations in the source buffer.
2070 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2072 * subr.el (undefined): Add missing behavior from the C code for
2075 * rect.el: Use lexical-binding. Add new rectangular region support.
2076 (rectangle-mark): New command.
2077 (rectangle--region): New var.
2078 (deactivate-mark-hook): Reset rectangle--region.
2079 (rectangle--extract-region, rectangle--insert-for-yank)
2080 (rectangle--highlight-for-redisplay)
2081 (rectangle--unhighlight-for-redisplay): New functions.
2082 (region-extract-function, redisplay-unhighlight-region-function)
2083 (redisplay-highlight-region-function): Use them to handle
2085 * simple.el (region-extract-function): New var.
2086 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2087 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2088 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2089 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2090 (redisplay-unhighlight-region-function)
2091 (redisplay-highlight-region-function): New vars.
2092 (redisplay--update-region-highlight): New function.
2093 (pre-redisplay-function): Use it.
2094 (exchange-point-and-mark): Don't deactivate the mark before
2095 reactivate-it anyway.
2096 * comint.el (comint-kill-region): Remove yank-handler argument.
2097 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2098 (delete-char): Remove property, since it's now part of their
2100 (self-insert-iso): Remove property since this command doesn't exist.
2102 * emacs-lisp/package.el (package--download-one-archive)
2103 (describe-package-1): Don't query the user about final newline.
2105 2013-10-29 Daniel Colascione <dancol@dancol.org>
2107 * net/tramp.el (tramp-methods): Document new functionality.
2108 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2109 tramp-hostname-checker if method provides one instead of scanning
2110 argument list for "%h" to decide hostname acceptability.
2112 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2114 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2115 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2116 Handle COPY-CONTENTS. (Bug#15737)
2118 2013-10-28 Daiki Ueno <ueno@gnu.org>
2121 (epa-file-cache-passphrase-for-symmetric-encryption):
2122 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2124 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2126 * image.el (defimage):
2127 (image-load-path): Doc fixes.
2129 2013-10-27 Alan Mackenzie <acm@muc.de>
2131 Indent statements in macros following "##" correctly.
2132 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2133 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2135 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2137 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2139 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2141 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2142 after `=' is probably a new expression.
2144 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2146 * man.el (man-imenu-title): New option.
2147 (Man-mode-map): Add menu. (Bug#15722)
2148 (Man-mode): Add imenu to menu.
2150 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2152 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2153 specific in what the first arg can be: a non-keyword word,
2154 string/regexp/percent literal opener, opening paren, or unary
2155 operator followed directly by word.
2157 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2159 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2160 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2161 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2162 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2163 Remove vars, they do not apply any more.
2164 (prolog-mode-abbrev-table): Remove redundant declaration.
2165 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2166 (prolog-use-smie): Remove.
2167 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2168 supported by prolog-electric-if-then-else-flag.
2169 (prolog-mode-variables, prolog-menu): Use setq-local.
2170 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2171 Remove binding to `Backspace' since this key doesn't exist anyway.
2172 Remove bindings for electric self-inserting keys.
2173 (prog-mode): Assume it's defined.
2174 (prolog-post-self-insert): New function.
2175 (prolog-mode): Use it.
2176 (prolog-indent-line, prolog-indent-level)
2177 (prolog-find-indent-of-matching-paren)
2178 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2179 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2180 (prolog-goto-next-paren, prolog-in-string-or-comment)
2181 (prolog-tokenize, prolog-inside-mline-comment)
2182 (prolog-find-start-of-mline-comment): Remove functions.
2183 (prolog-find-unmatched-paren, prolog-clause-end)
2184 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2185 (prolog-electric--if-then-else): Rename from
2186 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2187 (prolog-tokenize-searchkey): Remove const.
2188 (prolog-clause-info): Use forward-sexp.
2189 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2190 (prolog-electric-if-then-else): Remove commands.
2191 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2192 for use in post-self-insert-hook.
2193 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2194 for use in post-self-insert-hook.
2195 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2196 for use in post-self-insert-hook.
2197 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2198 adapt it for use in post-self-insert-hook.
2200 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2202 * emacs-lisp/ert.el (ert-run-tests-interactively):
2203 Use `completing-read'. (Bug#9756)
2205 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2207 * simple.el (line-move): Call line-move-1 instead of
2208 line-move-visual when the current window hscroll is zero, but
2209 temporary-goal-column indicates we will need to hscroll as result
2210 of the movement. (Bug#15712)
2212 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2214 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2215 capitalization. Use :visible instead of :active.
2216 Fix `ruby-indent-exp' reference. Add menu items for the generic
2217 commands that are used with SMIE.
2218 (ruby-do-end-to-brace): Insert space after `{'.
2220 2013-10-25 John Anthony <john@jo.hnanthony.com>
2222 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2224 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2226 2013-10-25 Glenn Morris <rgm@gnu.org>
2228 * vc/vc.el (vc-print-log): Don't use a working revision unless
2229 one was explicitly specified. (Bug#15322)
2231 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2233 * subr.el (add-to-list): Preserve return value in compiler-macro
2236 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2238 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2239 result. Ask user to retry using '-all' flag. (Bug#15701)
2241 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2243 * emacs-lisp/smie.el: New smie-config system.
2244 (smie-config): New defcustom.
2245 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2246 (smie-config-guess, smie-config-save): New commands.
2247 (smie-config--mode-local, smie-config--buffer-local)
2248 (smie-config--trace, smie-config--modefuns): New vars.
2249 (smie-config--advice, smie-config--mode-hook)
2250 (smie-config--setter, smie-config-local, smie-config--get-trace)
2251 (smie-config--guess-value, smie-config--guess): New functions.
2252 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2253 text properties. Treat "string fence" syntax like string syntax.
2255 * progmodes/sh-script.el (sh-use-smie): Change default.
2256 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2257 (sh-var-value): Simplify by CSE.
2258 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2259 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2261 (sh-guess-basic-offset): Use cl-incf.
2262 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2264 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2266 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2269 2013-10-24 Glenn Morris <rgm@gnu.org>
2271 * Makefile.in (abs_top_srcdir): Remove.
2272 (update-subdirs): Use relative path to update-subdirs.
2274 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2276 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2277 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2278 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2279 Call unmsys--file-name before expand-file-name, not after it.
2281 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2283 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2284 (ert-test-skipped): New error.
2285 (ert-skip, ert-stats-skipped): New defuns.
2286 (ert--skip-unless): New macro.
2287 (ert-test-skipped): New struct.
2288 (ert--run-test-debugger, ert-test-result-type-p)
2289 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2290 (ert--stats-set-test-and-result, ert-char-for-test-result)
2291 (ert-string-for-test-result, ert-run-tests-batch)
2292 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2293 Handle skipped tests. (Bug#9803)
2295 2013-10-24 Glenn Morris <rgm@gnu.org>
2297 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2299 * Makefile.in (abs_top_srcdir): New, set by configure.
2300 (update-subdirs): Correct build-aux location.
2302 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2304 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2305 value, whether we could auto-deduce `backend', or not.
2307 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2308 with parameters" example. Simplify the "is it block or is it
2309 hash" check, but also make it more thorough.
2311 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2313 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2315 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2317 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2320 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2323 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2325 * progmodes/compile.el (compilation-directory-matcher)
2326 (compilation-page-delimiter):
2327 Support GNU Make-4.0 directory quoting. (Bug#15678)
2329 2013-10-23 Leo Liu <sdl.web@gmail.com>
2331 * ido.el (ido-tidy): Handle read-only text.
2333 2013-10-23 Glenn Morris <rgm@gnu.org>
2335 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2336 (emacs, compile, compile-always):
2337 Quote entities that might contain whitespace.
2338 (custom-deps, finder-data, autoloads): Use abs_lisp.
2339 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2340 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2341 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2343 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2345 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2346 Use `following-char'.
2348 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2350 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2351 * progmodes/ruby-mode.el (ruby-smie-rules):
2352 Remove corresponding workaround. Fix indentation rule of ";" so it
2353 also applies when ";" is the parent.
2355 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2357 * frame.el (display-screens, display-pixel-height)
2358 (display-pixel-width, display-mm-width, display-backing-store)
2359 (display-save-under, display-planes, display-color-cells)
2360 (display-visual-class, display-monitor-attributes-list):
2361 Mention the optional ‘display’ argument in doc strings.
2363 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2365 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2366 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2368 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2370 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2371 TODO. Add "." after " @ ".
2372 (ruby-smie--at-dot-call): New function. Checks if point at method
2373 call with explicit target.
2374 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2375 to the method name tokens when it precedes them.
2376 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2377 (ruby-smie-rules): Add rule for indentation before and after "."
2380 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2382 * textmodes/remember.el (remember-diary-extract-entries):
2385 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2388 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2390 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2391 (ruby-smie--implicit-semi-p): Add new operator chars.
2393 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2395 (ruby-smie--args-separator-p): Check that there's no newline
2396 between method call and its arguments.
2398 2013-10-20 Alan Mackenzie <acm@muc.de>
2400 Allow comma separated lists after Java "implements".
2402 * progmodes/cc-engine.el (c-backward-over-enum-header):
2404 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2405 from a "disallowed" list in enum fontification.
2407 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2409 * startup.el (default-frame-background-mode): Remove unused defvar.
2411 * progmodes/verilog-mode.el (verilog-mode): Don't set
2412 comment-indent-function globally.
2414 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2416 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2417 Move Info menu item creation to ns-win.el.
2419 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2422 * menu-bar.el: Move GNUStep specific menus...
2424 * term/ns-win.el (ns-initialize-window-system): ... to here.
2426 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2428 * simple.el (newline): Only run post-self-insert-hook when
2429 called interactively.
2431 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2433 * icomplete.el (icomplete-with-completion-tables): Add :version.
2435 2013-10-19 Alan Mackenzie <acm@muc.de>
2437 Fix fontification bugs with constructors and const.
2439 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2440 CASE 2) Remove the check for the absence of a suffix construct
2441 after a function declaration with only types (no identifiers) in
2442 the parentheses. Also, accept a function declaration with just a
2443 type inside the parentheses, if this type can be positively
2444 recognised as such, or if a prefix keyword like "explicit" nails
2445 down the construct as a declaration.
2447 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2449 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2450 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2451 the problem whereby selecting a menu item that leads to a
2452 minibuffer prompt moves the cursor out of the minibuffer window,
2453 making it hard to type at the prompt. Suggested by Stefan Monnier
2454 <monnier@iro.umontreal.ca>.
2456 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2458 * menu-bar.el: Don't make Services menu.
2460 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2462 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2463 (ffap-alist): Use ffap-c++-mode for c++-mode.
2464 (ffap-c++-path): New variable.
2465 (ffap-c++-mode): New function.
2467 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2469 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2471 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2473 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2474 introduced on 2013-09-08, which results in an infinite loop
2475 requesting a password.
2477 2013-10-18 Glenn Morris <rgm@gnu.org>
2479 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2481 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2483 Sync with upstream verilog-mode revision 1a6ecec7.
2484 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2485 (verilog-mode-release-date): Remove.
2486 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2487 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2488 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2489 (verilog-auto-tieoff-ignore-regexp)
2490 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2491 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2492 (verilog-signals-with, verilog-dir-cache-preserving)
2493 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2495 (verilog-case-fold): New option, to control case folding in
2496 regexp searches, bug597.
2497 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2498 (verilog-string-match-fold, verilog-in-paren-count)
2499 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2500 (verilog-at-close-struct-p): New functions.
2501 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2502 (verilog-forward-sexp, verilog-set-auto-endcomments):
2503 (verilog-leap-to-case-head): Handle "unique0" case.
2504 (verilog-in-constraint-re): New constant.
2505 (verilog-keywords, verilog-type-font-keywords):
2506 Add some SystemVerilog 1800-2012 keywords.
2507 (verilog-label-be): Remove unimplemented argument, bug669.
2508 (verilog-batch-execute-func): When batch expanding clear
2509 create-lockfiles to prevent spurious user locks when a file ends
2511 (verilog-calculate-indent, verilog-calc-1)
2512 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2513 (verilog-do-indent): Fix indentation of nested constraints
2515 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2516 (verilog-auto-inst-param): Use verilog-string-match-fold.
2517 (verilog-read-inst-module-matcher):
2518 Fix AUTOINST on gate primitives with #1.
2519 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2520 Reads all user-defined typed variables.
2521 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2522 (verilog-signals-matching-regexp)
2523 (verilog-signals-not-matching-regexp, verilog-auto):
2524 Respect verilog-case-fold.
2525 (verilog-diff-report): Fix line count.
2526 (verilog-auto-assign-modport): Remove unused local `modi'.
2527 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2528 better handle multidimensional arrays.
2529 Fix packed array ports misadding bit index in AUTOINST, bug637.
2530 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2531 to not double-declare existing outputs and inputs, respectively.
2532 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2533 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2534 (verilog-sk-uvm-component): New skeleton.
2535 (verilog-submit-bug-report): Add verilog-case-fold,
2536 remove verilog-mode-release-date.
2538 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2540 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2543 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2545 * textmodes/remember.el (remember): set buffer-offer-save in
2546 remember buffers (bug#13566).
2548 2013-10-18 Daniel Colascione <dancol@dancol.org>
2550 When evaluating forms in ielm, direct standard output to ielm
2551 buffer. Add new ielm-return-for-effect command. Remove trailing
2552 whitespace throughout.
2554 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2555 (ielm-return-for-effect): New command.
2556 (ielm-send-input): Accept optional `for-effect' parameter.
2557 (ielm-eval-input): Accept optional `for-effect' parameter.
2558 Bind `standard-output' to stream we create using
2559 `ielm-standard-output-impl'. Suppress printing result when
2561 (ielm-standard-output-impl): New function.
2562 (inferior-emacs-lisp-mode): Explain new features in documentation.
2564 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2568 * net/tramp.el (tramp-debug-message): Do not check for connection
2570 (tramp-message): Use "vector" connection property.
2572 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2573 (tramp-equal-remote, tramp-eshell-directory-change)
2574 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2575 (tramp-adb-handle-rename-file)
2576 * net/tramp-cmds.el (tramp-list-remote-buffers)
2577 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2578 * net/tramp-compat.el (tramp-compat-process-running-p)
2579 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2580 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2581 (tramp-gvfs-handle-rename-file)
2582 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2583 (tramp-set-file-uid-gid)
2584 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2585 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2588 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2589 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2590 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2591 (tramp-gw-open-network-stream): Suppress unrelated traces.
2593 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2594 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2595 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2596 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2597 connection property.
2599 * net/tramp-cache.el (top): Suppress traces when reading
2602 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2603 Refactor common code. Improve debug message.
2604 (tramp-maybe-open-connection)
2605 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2606 connection buffer too early.
2608 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2609 from `tramp-smb-actions-with-acl'.
2610 (tramp-smb-actions-set-acl): New defconst.
2611 (tramp-smb-handle-copy-directory)
2612 (tramp-smb-action-get-acl): New defun, renamed from
2613 `tramp-smb-action-with-acl'.
2614 (tramp-smb-action-set-acl): New defun.
2615 (tramp-smb-handle-set-file-acl): Rewrite.
2617 2013-10-17 Glenn Morris <rgm@gnu.org>
2619 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2621 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2623 * skeleton.el (skeleton-newline): Remove.
2624 (skeleton-internal-1): Use (insert "\n") instead.
2626 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2629 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2630 forward-sexp-function while we redo its job (bug#15613).
2632 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2634 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2635 represented by lists.
2637 2013-10-16 Glenn Morris <rgm@gnu.org>
2639 * tmm.el (tmm--history): New dynamic variable.
2640 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2642 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2644 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2645 (tramp-smb-errors): Add error messages.
2646 (tramp-smb-actions-with-acl): New defconst.
2647 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2648 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2649 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2650 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2651 (tramp-smb-get-stat-capability): Fix tests.
2653 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2655 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2658 2013-10-16 Glenn Morris <rgm@gnu.org>
2660 * ansi-color.el (ansi-color-drop-regexp):
2661 Add 1J, 1K, 2K. (Bug#15617)
2663 * files.el (hack-local-variables--warned-lexical): New.
2664 (hack-local-variables):
2665 Warn about misplaced lexical-binding. (Bug#15616)
2667 * net/eww.el (eww-render): Always set eww-current-url,
2668 and update header line. (Bug#15622)
2669 (eww-display-html): ... Rather than just doing it here.
2671 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2673 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2674 menu navigations commands.
2676 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2678 * progmodes/subword.el (subword-capitalize): Be careful when
2679 the search for [[:alpha:]] fails (bug#15580).
2681 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2683 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2684 to commands that scroll the menu.
2686 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2688 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2689 Handle methods ending with `?' and `!'.
2691 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2693 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2694 `japanese-cp932' to `cp932' to fix the problem where saving a
2695 source file written in Shift_JIS twice would end up having
2696 `coding: japanese-cp932' which Ruby could not recognize.
2697 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2698 in `ruby-encoding-map'.
2699 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2700 doesn't need to be explicitly declared in magic comment.
2701 (ruby-encoding-map): Add type declaration for better customize UI.
2703 2013-10-13 Glenn Morris <rgm@gnu.org>
2705 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2706 Occur buffers are read-only. http://bugs.debian.org/720775
2708 * emacs-lisp/authors.el (authors-fixed-entries):
2709 Comment out old alpha stuff.
2711 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2713 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2714 to `after-save-hook' instead of `before-save-hook'.
2715 (ruby-mode-set-encoding): Use the value of coding system used to
2716 write the file. Call `basic-save-buffer-1' after modifying the
2719 2013-10-13 Alan Mackenzie <acm@muc.de>
2721 Fix indentation/fontification of Java enum with
2722 "implements"/generic.
2724 * progmodes/cc-engine.el (c-backward-over-enum-header):
2725 Extracted from the three other places and enhanced to handle generics.
2726 (c-inside-bracelist-p): Uses new function above.
2727 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2729 (c-font-lock-enum-tail): Uses new function above.
2731 2013-10-13 Kenichi Handa <handa@gnu.org>
2733 * international/mule-cmds.el (select-safe-coding-system): Remove a
2734 superfluous condition in chekcing whether a coding system is safe
2737 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2739 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2741 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2743 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2745 2013-10-13 Glenn Morris <rgm@gnu.org>
2747 * menu-bar.el (menu-bar-update-buffers):
2748 Unify Buffers menu prompt string. (Bug#15576)
2750 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2752 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2754 (authors-fixed-entries): Use accented form of name.
2756 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2758 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2759 method calls (bug#15594).
2760 (ruby-smie--args-separator-p): New function.
2761 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2762 recognize paren-free method calls.
2764 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2765 internals of universal-argument.
2767 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2769 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2770 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2771 dropped menu on second mouse click on the menu bar.
2773 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2775 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2776 (explicit-shell-file-name): Declare.
2777 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2778 (sh-completion-at-point-function): New function.
2780 (sh-smie--keyword-p): Remove unused argument.
2781 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2783 (sh-set-shell): Always setup SMIE, even if we use the
2784 old indentation code.
2786 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2788 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2790 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2791 predicate would return nil are almost non-existent.
2792 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2794 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2795 cache also after commands that modify the buffer but don't move
2798 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2800 * env.el (substitute-env-in-file-name): New function.
2801 (substitute-env-vars): Extend the meaning of the optional arg.
2803 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2805 * term/w32-win.el (dynamic-library-alist): Define separate lists
2806 of GIF DLLs for versions before and after 5.0.0 of giflib.
2809 2013-10-10 João Távora <joaotavora@gmail.com>
2811 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2812 not locked, use last revision and current source as
2813 defaults. (Bug#15569)
2815 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2817 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2820 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2822 * window.el (pop-to-buffer-same-window): Fix doc-string.
2825 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2827 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2829 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2831 * calendar/icalendar.el (icalendar-import-file):
2832 Fix interactive spec. (Bug#15482)
2834 2013-10-10 Glenn Morris <rgm@gnu.org>
2836 * desktop.el (desktop-save): Default to saving in .emacs.d,
2837 since PWD is no longer in desktop-path by default. (Bug#15319)
2839 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2840 now that text mode has a menu with the same entry.
2841 (menu-bar-text-mode-auto-fill): Remove now unused func.
2842 * textmodes/text-mode.el (text-mode-map):
2843 Use auto-fill help text from menu-bar.el.
2845 2013-10-10 John Anthony <john@jo.hnanthony.com>
2847 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2849 2013-10-09 Juri Linkov <juri@jurta.org>
2851 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2852 instead of this-command-keys. Add universal-argument-more and
2853 universal-argument-minus to the list of prefix commands. (Bug#15568)
2855 2013-10-09 Glenn Morris <rgm@gnu.org>
2857 * vc/vc-svn.el (vc-svn-create-repo):
2858 Expand paths in file://... url. (Bug#15446)
2860 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2862 (authors): Remove unused local variables.
2864 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2866 * profiler.el: Create a more coherent calltree from partial backtraces.
2867 (profiler-format): Hide the tail with `invisible' so that C-s can still
2868 find the hidden elements.
2869 (profiler-calltree-depth): Don't recurse so enthusiastically.
2870 (profiler-function-equal): New hash-table-test.
2871 (profiler-calltree-build-unified): New function.
2872 (profiler-calltree-build): Use it.
2873 (profiler-report-make-name-part): Indent the calltree less.
2874 (profiler-report-mode): Add visibility specs for profiler-format.
2875 (profiler-report-expand-entry, profiler-report-toggle-entry):
2876 Expand the whole subtree when provided with a prefix arg.
2878 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2880 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2882 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2883 hanging iuwu-mod token.
2884 (ruby-smie--forward-token): Do not include a dot after a token in
2886 (ruby-smie--backward-token): Likewise.
2888 2013-10-08 Juri Linkov <juri@jurta.org>
2890 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2891 to isearch-other-control-char.
2892 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2893 and isearch-post-command-hook to post-command-hook.
2894 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2895 and isearch-post-command-hook from post-command-hook.
2896 (isearch-unread-key-sequence)
2897 (isearch-reread-key-sequence-naturally)
2898 (isearch-lookup-scroll-key, isearch-other-control-char)
2899 (isearch-other-meta-char): Remove functions.
2900 (isearch-pre-command-hook, isearch-post-command-hook):
2901 New functions based on isearch-other-meta-char rewritten
2902 relying on the new behavior of overriding-terminal-local-map
2903 that does not replace the local keymaps any more. (Bug#15200)
2905 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2907 Support menus on text-mode terminals.
2908 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2911 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2913 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2914 Move here from mouse.el.
2915 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2917 (tty-menu-navigation-map): New map for TTY menu navigation.
2919 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2921 * frame.el (display-mouse-p): Report text-mode mouse as available
2923 (display-popup-menus-p): Report availability if mouse is
2924 available; don't condition on window-system.
2926 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2927 (tty-menu-selected-face): New faces.
2929 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2931 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2932 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2933 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2934 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2936 (lisp-mode-variables): New `elisp' argument.
2937 (emacs-lisp-mode): Use it.
2938 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2939 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2941 * indent.el: Use lexical-binding.
2942 (indent-region): Add progress reporter.
2943 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2945 (indent--next-tab-stop): New function to implement this behavior.
2946 (tab-to-tab-stop, move-to-tab-stop): Use it.
2948 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2950 * indent.el (indent-rigidly--current-indentation): New function.
2951 (indent-rigidly-map): New var.
2952 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2954 2013-10-08 Bastien Guerry <bzg@gnu.org>
2956 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2958 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2960 * progmodes/perl-mode.el: Use lexical-binding.
2961 Remove redundant :group args.
2962 (perl-nochange): Change default to be closer to other major modes's
2964 (perl-indent-line): Don't consider text on current line as a
2965 valid beginning of function from which to indent.
2967 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2968 with more than one argument (bug#15538).
2970 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2972 * vc/pcvs.el: Use lexical-binding.
2973 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2974 environment of `eval'.
2975 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2976 than a list of expressions. Adjust callers.
2977 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2979 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2981 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2982 case of the dot in a chained method call being on the following line.
2984 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2986 * electric.el (electric-indent-inhibit): New var.
2987 (electric-indent-post-self-insert-function): Use it.
2988 * progmodes/python.el (python-mode): Set it.
2990 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2993 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2995 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2996 (css-mode): Use electric-indent-chars.
2998 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2999 (font-lock-beg, font-lock-end): Move before first use.
3000 (nxml-mode): Use syntax-propertize-function.
3001 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3002 (nxml-extend-after-change-region): Remove.
3003 * nxml/xmltok.el: Use lexical-binding.
3004 (xmltok-save): Use `declare'.
3005 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3006 * nxml/nxml-util.el: Use lexical-binding.
3007 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3009 * nxml/nxml-ns.el: Use lexical-binding.
3010 (nxml-ns-save): Use `declare'.
3011 (nxml-ns-prefixes-for): Avoid add-to-list.
3012 * nxml/rng-match.el: Use lexical-binding.
3013 (rng--ipattern): Use cl-defstruct.
3014 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3015 (rng-cons-group-after, rng-subst-group-after)
3016 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3017 Use closures instead of `(lambda...).
3019 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3021 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3024 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3025 Use `tramp-handle-insert-file-contents'.
3026 (tramp-gvfs-handle-insert-file-contents): Remove function.
3028 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3029 Use `save-restriction' in order to keep markers.
3031 * net/trampver.el: Update release number.
3033 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3035 * progmodes/compile.el (compilation-parse-errors):
3036 Use compilation--put-prop.
3037 (compilation--ensure-parse): Check compilation-multiline.
3039 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3041 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3044 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3046 * progmodes/ruby-mode.el: Fix recently added tests.
3047 (ruby-smie-grammar): Add - and +.
3048 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3049 (ruby-smie--backward-id): New functions.
3050 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3051 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3054 2013-10-07 Leo Liu <sdl.web@gmail.com>
3056 * register.el (register-preview-delay)
3057 (register-preview-functions): New variables.
3058 (register-read-with-preview, register-preview)
3059 (register-describe-oneline): New functions.
3060 (point-to-register, window-configuration-to-register)
3061 (frame-configuration-to-register, jump-to-register)
3062 (number-to-register, view-register, insert-register)
3063 (copy-to-register, append-to-register, prepend-to-register)
3064 (copy-rectangle-to-register): Use register-read-with-preview to
3065 read register. (Bug#15525)
3067 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3069 * net/network-stream.el (network-stream-open-starttls): Don't add
3070 --insecure if it's already present, because that gnutls-cli
3071 rejects getting that parameter twice.
3073 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3075 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3078 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3080 * newcomment.el (comment-use-global-state): Change default value
3081 to t, mark obsolete (Bug#15251).
3082 (comment-beginning): In addition to `comment-to-syntax', check the
3083 value of `comment-use-global-state'.
3085 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3087 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3088 (ruby-comment-column): Follow the global default, by default.
3089 (ruby-smie-grammar): Add assignment syntax.
3090 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3091 open-paren, a comma, or a \.
3092 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3093 and line continuations.
3094 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3095 followed by implicit semi-colons. Add rule for string concatenation
3096 and for indentation at BOB.
3097 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3099 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3100 calling next-sexp, since next-token may have skipped chars which
3101 next-sexp doesn't know should be skipped!
3103 2013-10-05 Leo Liu <sdl.web@gmail.com>
3105 * progmodes/octave.el (octave-send-region):
3106 Call compilation-forget-errors.
3108 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3110 * vc/vc-svn.el (vc-svn-find-admin-dir):
3111 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3112 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3113 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3114 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3116 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3118 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3120 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3122 * subr.el (read-passwd): Hide chars even when called within a context
3123 where after-change-functions is disabled (bug#15501).
3124 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3125 until we removed ourself from overriding-terminal-local-map.
3127 2013-10-04 Leo Liu <sdl.web@gmail.com>
3129 * progmodes/octave.el (inferior-octave-mode):
3130 Call compilation-forget-errors.
3132 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3134 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3136 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3138 * net/secrets.el (secrets-create-collection): Add optional
3139 argument ALIAS. Use proper Label keyword. Append ALIAS as
3140 dbus-call-method argument. (Bug#15516)
3142 2013-10-04 Leo Liu <sdl.web@gmail.com>
3144 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3145 (inferior-octave-compilation-font-lock-keywords): New variables.
3146 (compilation-error-regexp-alist)
3147 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3148 (inferior-octave-mode): Use compilation-shell-minor-mode.
3150 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3152 * minibuffer.el (completion--replace): Be careful that `end' might be
3155 2013-10-03 Daiki Ueno <ueno@gnu.org>
3157 Add support for package signature checking.
3158 * emacs-lisp/package.el (url-http-file-exists-p)
3159 (epg-make-context, epg-context-set-home-directory)
3160 (epg-verify-string, epg-context-result-for)
3161 (epg-signature-status, epg-signature-to-string)
3162 (epg-check-configuration, epg-configuration)
3163 (epg-import-keys-from-file): Declare.
3164 (package-check-signature): New user option.
3165 (package-unsigned-archives): New user option.
3166 (package-desc): Add `signed' field.
3167 (package-load-descriptor): Set `signed' field if .signed file exists.
3168 (package--archive-file-exists-p): New function.
3169 (package--check-signature): New function.
3170 (package-install-from-archive): Check package signature.
3171 (package--download-one-archive): Check archive signature.
3172 (package-delete): Remove .signed file.
3173 (package-import-keyring): New command.
3174 (package-refresh-contents): Import default keyring.
3175 (package-desc-status): Add "unsigned" status.
3176 (describe-package-1, package-menu--print-info)
3177 (package-menu-mark-delete, package-menu--find-upgrades)
3178 (package-menu--status-predicate): Support "unsigned" status.
3180 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3182 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3183 the new compilation scheme using the new byte-codes.
3185 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3186 (byte-pophandler): New byte codes.
3187 (byte-goto-ops): Adjust accordingly.
3188 (byte-compile--use-old-handlers): New var.
3189 (byte-compile-catch): Use new byte codes depending on
3190 byte-compile--use-old-handlers.
3191 (byte-compile-condition-case--old): Rename from
3192 byte-compile-condition-case.
3193 (byte-compile-condition-case--new): New function.
3194 (byte-compile-condition-case): New function that dispatches depending
3195 on byte-compile--use-old-handlers.
3196 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3199 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3200 Optimize under `condition-case' and `catch' if
3201 byte-compile--use-old-handlers is nil.
3202 (disassemble-offset): Handle new bytecodes.
3204 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3206 * subr.el (error): Use `declare'.
3207 (decode-char, encode-char): Use advertised-calling-convention instead
3208 of the docstring to discourage use of the `restriction' arg.
3210 2013-10-03 Daiki Ueno <ueno@gnu.org>
3212 * epg.el (epg-verify-file): Add a comment saying that it does not
3213 notify verification error as a return value nor a signal.
3214 (epg-verify-string): Ditto.
3216 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3218 * progmodes/compile.el (compilation-start): Try globbing the arg to
3221 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3223 Sync with Tramp 2.2.8.
3225 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3226 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3227 * net/trampver.el: Update release number.
3229 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3231 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3232 and default-process-coding-system for darwin only.
3234 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3236 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3238 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3240 * vc/vc-git.el (vc-git-grep): Disable pager.
3242 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3244 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3245 Use :url instead of :homepage, as per
3246 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3248 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3249 non-nil, use `syntax-ppss' (Bug#15251).
3251 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3253 * progmodes/octave.el (inferior-octave-startup-file):
3254 Prefer ~/.emacs.d/init_octave.m.
3256 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3258 * emacs-lisp/package.el (package-desc-from-define):
3259 Accept additional arguments as plist, convert them to an alist and store
3260 them in the `extras' slot.
3261 (package-generate-description-file): Convert extras alist back to
3262 plist and append to the `define-package' form arguments.
3263 (package--alist-to-plist): New function.
3264 (package--ac-desc): Add `extras' slot.
3265 (package--add-to-archive-contents): Check if the archive-contents
3266 vector is long enough, and if it is, pass its `extras' slot value
3267 to `package-desc-create'.
3268 (package-buffer-info): Call `lm-homepage', pass the returned value
3269 to `package-desc-from-define'.
3270 (describe-package-1): Render the homepage button (Bug#13291).
3272 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3273 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3275 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3277 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3278 and default-process-coding-system to utf-8-unix (Bug#15402).
3280 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3282 * subr.el (looking-back): Do not recommend using looking-back.
3284 2013-09-28 Alan Mackenzie <acm@muc.de>
3286 Fix indentation/fontification of Java enum with "implements".
3288 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3289 regexp which matches "implements", etc., in Java.
3290 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3291 specifier clauses coming after "enum".
3292 * progmodes/cc-fonts.el (c-font-lock-declarations)
3293 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3296 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3298 * faces.el (region): Change ns_selection_color to
3299 ns_selection_fg_color, add ns_selection_bg_color.
3301 2013-09-28 Leo Liu <sdl.web@gmail.com>
3303 * progmodes/octave.el (inferior-octave-completion-table)
3304 (inferior-octave-completion-at-point): Minor tweaks.
3306 * textmodes/ispell.el (ispell-lookup-words): Rename from
3307 lookup-words. (Bug#15460)
3308 (lookup-words): Obsolete.
3309 (ispell-complete-word, ispell-command-loop): All uses changed.
3311 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3313 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3314 (octave-mode-menu): Add octave-send-buffer.
3315 (octave-send-buffer): New function.
3317 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3319 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3321 (octave-mode-menu): Add octave-lookfor.
3322 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3324 (octave-lookfor): New function.
3326 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3328 * emacs-lisp/cl-macs.el:
3329 (cl--loop-destr-temps): Remove.
3330 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3332 (cl--loop-set-iterator-function): New function.
3333 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3334 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3335 Bind `it' with `let' instead of substituting it with `cl-subst'.
3336 (cl--unused-var-p): New function.
3337 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3338 Eliminate some unused variable warnings (bug#15326).
3340 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3342 * doc-view.el (doc-view-scale-reset): Rename from
3343 `doc-view-reset-zoom-level'.
3344 (doc-view-scale-adjust): New command.
3345 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3346 `doc-view-scale-adjust'.
3348 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3350 * doc-view.el (doc-view-reset-zoom-level): New command.
3351 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3352 zoom commands (bug#15466).
3354 2013-09-26 Kenichi Handa <handa@gnu.org>
3356 * international/quail.el (quail-help): Make it not a command.
3358 2013-09-26 Leo Liu <sdl.web@gmail.com>
3360 * minibuffer.el (completion-all-sorted-completions): Make args
3361 optional as they are.
3363 2013-09-25 Daniel Colascione <dancol@dancol.org>
3365 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3366 specs are and that they're not evaluated.
3368 2013-09-24 Sam Steingold <sds@gnu.org>
3370 * midnight.el (clean-buffer-list-kill-regexps)
3371 (clean-buffer-list-kill-buffer-names): Update for the new Man
3372 buffer naming which includes the object name.
3374 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3376 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3377 (eshell-parse-command, eshell-parse-pipeline): Use it since
3378 eshell-separate-commands requires a dynamic scoped var.
3379 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3381 2013-09-23 Leo Liu <sdl.web@gmail.com>
3383 * autoinsert.el (auto-insert-alist): Make the value of
3384 lexical-binding match its file setting.
3386 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3388 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3390 * autoarg.el (autoarg-kp-digit-argument):
3391 * electric.el (Electric-command-loop):
3392 * kmacro.el (kmacro-step-edit-insert):
3393 Do not set universal-argument-num-events.
3395 2013-09-22 Leo Liu <sdl.web@gmail.com>
3397 * files.el (interpreter-mode-alist): Add octave.
3399 2013-09-21 Alan Mackenzie <acm@muc.de>
3401 C++: fontify identifier in declaration following "public:" correctly.
3402 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3403 to match "public", etc.
3404 (c-decl-prefix-re): Add ":" into the C++ value.
3405 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3406 bit. Add a check for a ":" preceded by "public", etc.
3408 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3410 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3411 recognized by GDB 7.5 and later.
3413 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3415 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3417 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3419 * subr.el (internal--call-interactively): New const.
3420 (called-interactively-p): Use it (bug#3984).
3422 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3424 * vc/pcvs.el (cvs-mode-ignore):
3425 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3426 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3428 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3430 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3431 (eshell-ls-orig-insert-directory): Remove.
3432 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3433 (eshell-ls-use-in-dired): Use advice-add/remove.
3434 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3435 Add `orig-fun' arg for use in :around advice.
3436 Make it check (redundantly) eshell-ls-use-in-dired.
3438 2013-09-19 Glenn Morris <rgm@gnu.org>
3440 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3442 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3444 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3446 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3448 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3449 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3450 (tramp-get-remote-python): New defuns.
3451 (tramp-get-remote-uid-with-perl)
3452 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3453 contributed by yary <not.com@gmail.com> (tiny change).
3454 (tramp-get-remote-uid-with-python)
3455 (tramp-get-remote-gid-with-python): New defuns. Python code
3456 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3457 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3459 2013-09-19 Glenn Morris <rgm@gnu.org>
3461 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3463 * eshell/em-unix.el (eshell-remove-entries):
3464 Rename argument to avoid name-clash with global `top-level'.
3466 * eshell/esh-proc.el (eshell-kill-process-function):
3467 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3468 (eshell-reset-after-proc): Remove unused arg `proc'.
3470 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3471 (directory-files-and-attributes): Mark unused arg.
3473 * eshell/em-unix.el (eshell-remove-entries):
3474 Remove unused arg `path'. Update callers.
3476 * eshell/em-hist.el (eshell-hist-parse-arguments):
3477 Remove unused arg `silent'. Update callers.
3479 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3480 Fix (f)boundp mix-up.
3482 * eshell/em-smart.el (eshell-smart-scroll-window)
3483 (eshell-disable-after-change):
3484 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3486 2013-09-18 Alan Mackenzie <acm@muc.de>
3488 Fix fontification of type when followed by "const".
3489 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3490 "known" types from fontification.
3492 2013-09-18 Glenn Morris <rgm@gnu.org>
3494 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3495 (chart-face-list): Drop Emacsen without display-color-p.
3497 * net/eww.el (libxml-parse-html-region): Declare.
3498 (eww-display-html): Explicit error if no libxml2 support.
3500 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3502 * image.el (image-type-from-buffer, image-multi-frame-p):
3503 Remove --without-x warning/error.
3505 * mouse.el (mouse-yank-primary):
3506 * term.el (term-mouse-paste):
3507 Reorder to silence --without-x compilation.
3509 * mpc.el (doc-view-mode): Silence --without-x compilation.
3511 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3512 Silence --without-x compilation.
3514 * progmodes/gud.el (gud-find-file, gud-mode):
3515 Silence --without-x compilation.
3516 (tooltip-mode): Declare.
3518 * wdired.el (dired-backup-overwrite): Remove declaration.
3519 (wdired-mode-map): Add doc string.
3521 * custom.el (x-get-resource): Declare.
3523 * eshell/em-glob.el (ange-cache):
3524 * eshell/em-unix.el (ange-cache): Declare.
3526 * faces.el (x-display-list, x-open-connection, x-get-resource):
3529 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3530 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3533 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3535 * net/gnutls.el (gnutls-log-level): Declare.
3537 * net/shr.el (image-size, image-animate): Declare.
3539 * simple.el (font-info): Declare.
3541 * subr.el (x-popup-dialog): Declare.
3543 * term/common-win.el (x-select-enable-primary)
3544 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3547 * term/ns-win.el (x-handle-args): Declare.
3549 * term/x-win.el (x-select-enable-clipboard): Declare.
3551 * term/w32-win.el (create-default-fontset): Declare.
3553 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3556 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3557 (fit-frame-to-buffer): Explicit error if --without-x.
3558 (mouse-autoselect-window-select): Silence compiler.
3560 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3562 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3563 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3564 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3565 * eshell/esh-util.el (eshell-sublist):
3566 Remove unused local variables.
3568 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3570 * textmodes/two-column.el: Make 2C-split work for --without-x.
3571 (scroll-bar-columns): Autoload.
3572 (top-level): Require fringe when compiling.
3574 2013-09-18 Leo Liu <sdl.web@gmail.com>
3576 * subr.el (add-hook): Robustify to handle closure as well.
3578 2013-09-17 Glenn Morris <rgm@gnu.org>
3580 * simple.el (messages-buffer-mode-map): Unbind "g".
3582 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3584 * help-mode.el (help-mode-finish): Use derived-mode-p.
3585 Remove obsolete highlighting.
3587 * play/life.el (life-mode): Use define-derived-mode. Derive from
3589 (life): Let-bind inhibit-read-only.
3590 (life-setup): Avoid `setq'. Use `life-mode'.
3592 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3593 which should not be needed any more.
3594 (package-menu-refresh, package-menu-describe-package): Use user-error.
3596 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3597 (eshell-post-rewrite-command-hook): Make obsolete.
3598 (eshell-parse-command): Simplify.
3599 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3600 (eshell--cmd): Declare.
3601 (eshell-parse-pipeline): Remove unused var `final-p'.
3602 Pass a dynvar to eshell-post-rewrite-command-hook.
3603 Implement the new eshell-post-rewrite-command-function.
3604 (eshell-invoke-directly): Remove unused arg `input'.
3605 * eshell/esh-io.el (eshell-io-initialize):
3606 Use eshell-post-rewrite-command-function (bug#15399).
3607 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3608 adjust to new calling convention.
3609 (eshell-create-handles): Rename args to avoid clashing with dynvar
3612 2013-09-17 Glenn Morris <rgm@gnu.org>
3614 * simple.el (messages-buffer-mode): New major mode.
3615 (messages-buffer): New function.
3616 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3617 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3618 (ert-run-test): Use `messages-buffer' function.
3619 (ert--force-message-log-buffer-truncation): Ignore read-only.
3620 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3621 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3623 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3625 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3627 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3629 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3631 * icomplete.el (icomplete-in-buffer): New var.
3632 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3633 vars and replace them with functions.
3634 (icomplete-minibuffer-setup): Adjust accordingly.
3635 (icomplete--completion-table, icomplete--completion-predicate)
3636 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3638 (icomplete-forward-completions, icomplete-backward-completions)
3639 (icomplete-simple-completing-p, icomplete-exhibit)
3640 (icomplete-completions): Use them.
3641 (icomplete--in-region-buffer): New var.
3642 (icomplete--in-region-setup): New function.
3643 (icomplete-mode): Use it.
3645 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3647 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3648 return args and options.
3649 (eshell-eval-using-options): Use the new return value of
3650 eshell--do-opts to set the options's vars in their scope.
3651 (eshell--set-option): Rename from eshell-set-option.
3653 (eshell--process-option): Rename from eshell-process-option.
3655 (eshell--process-args): Use an `opt-vals' alist to store the options's
3656 values during their processing and return them additionally to the
3659 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3661 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3662 continuation character an operator, as far as indentation is
3663 concerned (Bug#15369).
3665 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3667 * window.el (window--state-put-2): Don't process buffer state
3668 when buffer doesn't exist any more (Bug#15382).
3670 2013-09-15 Glenn Morris <rgm@gnu.org>
3672 * eshell/em-unix.el (eshell/rm):
3673 Make -f ignore missing files. (Bug#15373)
3675 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3676 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3677 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3679 2013-09-14 Glenn Morris <rgm@gnu.org>
3681 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3683 2013-09-13 Glenn Morris <rgm@gnu.org>
3685 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3686 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3688 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3690 * frame.el (x-focus-frame): Mark as declared in frame.c.
3692 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3694 * ls-lisp.el: Use advice-add.
3695 (original-insert-directory): Remove.
3696 (ls-lisp--insert-directory): Rename from insert-directory; add
3697 `orig-fun' argument.
3698 (insert-directory): Advise.
3700 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3702 * term.el (term-emulate-terminal): Decode the command string
3703 before passing it to term-command-hook. (Bug#15337)
3705 2013-09-13 Glenn Morris <rgm@gnu.org>
3707 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3709 * eshell/esh-ext.el (eshell-search-path): Declare.
3711 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3712 Otherwise an error occurs if eshell-dirs module not loaded.
3714 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3716 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3718 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3719 `tramp-check-proper-host'. Check for a valid method name.
3721 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3722 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3723 * net/tramp-sh.el (tramp-maybe-open-connection):
3724 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3726 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3727 also for hash values.
3729 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3731 * term/ns-win.el (parameters): Don't declare as dynamic.
3732 (before-make-frame-hook): Don't add ineffective function.
3734 * eshell/*.el: Use lexical-binding (bug#15231).
3736 2013-09-12 Kenichi Handa <handa@gnu.org>
3738 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3740 2013-09-12 Glenn Morris <rgm@gnu.org>
3742 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3743 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3745 * subr.el (do-after-load-evaluation): Also give compiler warnings
3746 when obsolete files are used (except by obsolete files).
3748 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3749 in the status output, assume `filename' is the first. (Bug#15322)
3751 * vc/vc.el (vc-deduce-fileset): Doc fix.
3753 * calc/calc-help.el (Info-goto-node):
3754 * progmodes/cperl-mode.el (Info-find-node):
3755 * vc/ediff.el (Info-goto-node): Update declarations.
3757 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3759 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3760 (vc-bzr-pull): Require vc-dispatcher.
3761 * vc/vc-git.el (vc-compilation-mode): Declare.
3762 (vc-git-pull): Require vc-dispatcher.
3764 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3766 * progmodes/octave.el (help-button-action): Declare.
3768 * shell.el (shell-directory-tracker): Output error as a message
3769 rather than just returning it as a string.
3770 (shell-process-pushd): Remove useless use of message.
3772 * dframe.el (dframe-timer-fn):
3773 * files.el (dir-locals-read-from-file):
3774 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3776 * reveal.el (reveal-post-command):
3777 * saveplace.el (load-save-place-alist-from-file):
3778 * shell.el (shell-resync-dirs):
3779 * w32-common-fns.el (x-get-selection-value):
3780 * emacs-lisp/copyright.el (copyright-find-copyright):
3781 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3782 * emulation/tpu-edt.el (tpu-copy-keyfile):
3783 * play/bubbles.el (bubbles--mark-neighbourhood):
3784 * progmodes/executable.el
3785 (executable-make-buffer-file-executable-if-script-p):
3786 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3788 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3790 Cleanup Eshell to rely less on dynamic scoping.
3791 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3792 last-value, and ext-command here. Bind `args' closer to `body'.
3793 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3794 (eshell--args): Declare new dynamic var.
3795 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3796 last-value, and ext-command. Pass `args' to `body'.
3797 (eshell-process-args): Bind eshell--args.
3798 (eshell-set-option): Use eshell--args.
3799 * eshell/eshell.el (eshell): Use derived-mode-p.
3800 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3801 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3802 (eshell-glob-function): Declare.
3803 * eshell/esh-util.el: Require cl-lib.
3804 (eshell-read-hosts-file): Avoid add-to-list.
3805 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3807 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3809 (eshell/diff): Remove unused var `err'.
3810 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3812 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3813 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3815 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3816 Move declaration before first use.
3817 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3818 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3821 2013-09-12 Glenn Morris <rgm@gnu.org>
3823 * term/ns-win.el (global-map): Remove binding for ispell-next,
3824 deleted 1999-05-29. (Bug#15357)
3826 2013-09-11 Glenn Morris <rgm@gnu.org>
3828 * echistory.el (electric-command-history): Remove call to deleted func.
3830 * play/landmark.el (landmark-mode): Fix typos.
3832 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3833 Check cvs-sort-ignore-file is bound.
3835 * savehist.el: No need for cl when compiling on Emacs.
3837 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3839 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3841 (eshell-self-insert-command, eshell-send-invisible):
3842 Remove unused argument.
3843 (eshell-handle-control-codes): Remove unused var `orig'.
3844 Avoid delete-backward-char.
3846 * files.el (set-auto-mode): Simplify a bit further.
3848 2013-09-11 Glenn Morris <rgm@gnu.org>
3850 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3851 (set-auto-mode): Don't regexp-quote elements.
3852 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3853 * progmodes/cc-mode.el (interpreter-mode-alist):
3854 * progmodes/ruby-mode.el (interpreter-mode-alist):
3855 Revert previous change.
3857 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3859 * play/snake.el (snake-mode):
3860 * play/mpuz.el (mpuz-mode):
3861 * play/landmark.el (lm-mode):
3862 * play/blackbox.el (blackbox-mode):
3863 * play/5x5.el (5x5-mode):
3864 * obsolete/options.el (Edit-options-mode):
3865 * net/quickurl.el (quickurl-list-mode):
3866 * net/newst-treeview.el (newsticker-treeview-mode):
3867 * mail/rmailsum.el (rmail-summary-mode):
3868 * mail/mspools.el (mspools-mode):
3869 * locate.el (locate-mode):
3870 * ibuffer.el (ibuffer-mode):
3871 * emulation/ws-mode.el (wordstar-mode):
3872 * emacs-lisp/debug.el (debugger-mode):
3873 * array.el (array-mode):
3874 * net/eudc.el (eudc-mode): Use define-derived-mode.
3875 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3876 Move initialization into declaration.
3877 (mairix-searches-mode): Use define-derived-mode.
3878 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3879 (eudc-edit-hotlist): Use dolist.
3880 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3881 (Man-mode): Use define-derived-mode.
3882 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3883 (Info-edit-mode): Use define-derived-mode.
3884 (Info-cease-edit): Use Info-mode.
3885 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3887 (eshell-mode): Use define-derived-mode.
3888 * chistory.el (command-history-mode-map): Rename from
3889 command-history-map.
3890 (command-history-mode): Use define-derived-mode.
3891 (Command-history-setup): Remove function.
3892 * calc/calc.el (calc-trail-mode-map): New var.
3893 (calc-trail-mode): Use define-derived-mode.
3894 (calc-trail-buffer): Set calc-main-buffer manually.
3895 * bookmark.el (bookmark-insert-annotation): New function.
3896 (bookmark-edit-annotation): Use it.
3897 (bookmark-edit-annotation-mode): Make it a proper major mode.
3898 (bookmark-send-edited-annotation): Use derived-mode-p.
3899 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3900 closer to its ideal place. Use \' to match EOS.
3902 * profiler.el (profiler-calltree-find): Use function-equal.
3904 2013-09-10 Glenn Morris <rgm@gnu.org>
3906 * files.el (interpreter-mode-alist): Convert to regexps.
3907 (set-auto-mode): Adapt for this. (Bug#15306)
3908 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3909 Comment out unused variable.
3910 * progmodes/cc-mode.el (interpreter-mode-alist):
3911 * progmodes/python.el (interpreter-mode-alist):
3912 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3913 * progmodes/sh-script.el (sh-set-shell):
3914 No longer use interpreter-mode-alist to get list of shells.
3916 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3918 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3920 * simple.el: Use set-temporary-overlay-map for universal-argument.
3921 (universal-argument-map): Don't use default-bindings (bug#15317).
3922 Bind switch-frame explicitly. Replace universal-argument-minus with
3923 a conditional binding.
3924 (universal-argument-num-events, saved-overriding-map): Remove.
3925 (restore-overriding-map): Remove.
3926 (universal-argument--mode): Rename from save&set-overriding-map,
3928 (universal-argument, universal-argument-more, negative-argument)
3929 (digit-argument): Adjust accordingly.
3930 (universal-argument-minus): Remove.
3931 (universal-argument-other-key): Remove.
3933 * subr.el (with-demoted-errors): Add `format' argument.
3935 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3937 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3938 `tramp-cleanup-connection'.
3940 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3941 parameters KEEP-DEBUG and KEEP-PASSWORD.
3943 * net/tramp.el (tramp-file-name-handler):
3944 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3945 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3946 (tramp-maybe-open-connection):
3947 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3948 Use `tramp-cleanup-connection'.
3950 * net/tramp-sh.el (tramp-maybe-open-connection):
3951 Catch 'uname-changed inside the progress reporter.
3953 2013-09-10 Glenn Morris <rgm@gnu.org>
3955 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3957 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3958 returns "alternate access method" in mode (eg "-rw-r--r--.").
3960 2013-09-08 Glenn Morris <rgm@gnu.org>
3962 * saveplace.el (load-save-place-alist-from-file):
3963 Demote errors. (Bug#15305)
3965 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3967 Improve compatibility with older Emacsen, and XEmacs.
3969 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3970 only if it is bound. It isn't for XEmacs.
3971 (with-tramp-progress-reporter): Do not let-bind `result'.
3972 This yields to scoping errors in XEmacs.
3973 (tramp-handle-make-auto-save-file-name): New function, moved from
3976 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3977 for `make-auto-save-file-name'.
3978 (tramp-adb--gnu-switches-to-ash):
3979 Use `tramp-compat-replace-regexp-in-string'.
3981 * net/tramp-cache.el (tramp-cache-print): Call
3982 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3984 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3985 bound. It isn't for XEmacs.
3987 * net/tramp-compat.el (tramp-compat-copy-file):
3988 Catch `wrong-number-of-arguments' error.
3989 (tramp-compat-replace-regexp-in-string): New defun.
3991 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3992 for `make-auto-save-file-name'.
3993 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3995 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3996 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3997 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3999 * net/tramp-gw.el (tramp-gw-open-network-stream):
4000 Use `tramp-compat-replace-regexp-in-string'.
4002 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4003 Call `tramp-handle-make-auto-save-file-name'.
4004 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4005 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4006 (tramp-sh-file-inotifywait-process-filter):
4007 Use `tramp-compat-replace-regexp-in-string'.
4008 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4010 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4011 for `make-auto-save-file-name'.
4012 (tramp-smb-handle-copy-directory):
4013 Call `tramp-compat-replace-regexp-in-string'.
4014 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4015 (tramp-smb-handle-copy-file): Improve error message.
4016 (tramp-smb-handle-rename-file): Rename directly only in case
4017 `newname' does not exist yet. This is a restriction of smbclient.
4018 (tramp-smb-maybe-open-connection): Rerun the function only when
4019 `auth-sources' is non-nil.
4021 2013-09-08 Kenichi Handa <handa@gnu.org>
4023 * international/characters.el: Set category "^" (Combining) for
4026 2013-09-07 Alan Mackenzie <acm@muc.de>
4028 Correctly fontify Java class constructors.
4029 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4031 (c-recognize-typeless-decls): Set the Java value to t.
4032 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4033 While handling a "(", add a check for, effectively, Java, and handle a
4034 "typeless" declaration there.
4036 2013-09-07 Roland Winkler <winkler@gnu.org>
4038 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4039 field subtitle for entry type book.
4041 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4043 * minibuffer.el: Make minibuffer-complete call completion-in-region
4044 rather than other way around.
4045 (completion--some, completion-pcm--find-all-completions):
4046 Don't delay signals when debugging.
4047 (minibuffer-completion-contents): Beware fields within the
4048 minibuffer contents.
4049 (completion-all-sorted-completions): Use defvar-local.
4050 (completion--do-completion, completion--cache-all-sorted-completions)
4051 (completion-all-sorted-completions, minibuffer-force-complete):
4052 Add args `beg' and `end'.
4053 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4054 (minibuffer-complete): Use completion-in-region.
4055 (completion-complete-and-exit): New fun, extracted from
4056 minibuffer-complete-and-exit.
4057 (minibuffer-complete-and-exit): Use it.
4058 (completion--complete-and-exit): Rename from
4059 minibuffer--complete-and-exit.
4060 (completion-in-region--single-word): New function, extracted from
4061 minibuffer-complete-word.
4062 (minibuffer-complete-word): Use it.
4063 (display-completion-list): Make `common-substring' argument obsolete.
4064 (completion--in-region): Call completion--in-region-1 instead of
4065 minibuffer-complete.
4066 (completion-help-at-point): Pass boundaries to
4067 minibuffer-completion-help as args rather than via an overlay.
4068 (completion-pcm--string->pattern): Use `any-delim'.
4069 (completion-pcm--optimize-pattern): New function.
4070 (completion-pcm--pattern->regex): Handle `any-delim'.
4071 * icomplete.el (icomplete-forward-completions)
4072 (icomplete-backward-completions, icomplete-completions):
4073 Adjust calls to completion-all-sorted-completions and
4074 completion--cache-all-sorted-completions.
4075 (icomplete-with-completion-tables): Default to t.
4076 * emacs-lisp/crm.el (crm--current-element): Rename from
4077 crm--select-current-element. Don't put an overlay but return the
4079 (crm--completion-command): Take two new args to bind to the boundaries.
4080 (crm-completion-help): Adjust accordingly.
4081 (crm-complete): Use completion-in-region.
4082 (crm-complete-word): Use completion-in-region--single-word.
4083 (crm-complete-and-exit): Use completion-complete-and-exit.
4085 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4087 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4090 2013-09-06 Juri Linkov <juri@jurta.org>
4092 * info.el (Info-display-images-node): When image file doesn't exist
4093 display text version of the image if it's provided in the Info file.
4094 Otherwise, display the location of missing image from SRC attribute.
4095 Add help-echo text property from ALT attribute. (Bug#15279)
4097 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4099 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4100 (edit-abbrevs-mode): Use define-derived-mode.
4102 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4103 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4105 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4106 Use define-derived-mode.
4108 * epg.el (epg-start-encrypt): Minor CSE simplification.
4110 2013-09-06 William Xu <william.xwl@gmail.com>
4112 * arc-mode.el: Add support for 7za (bug#15264).
4113 (archive-7z-program): New var.
4114 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4115 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4116 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4118 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4122 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4123 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4124 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4125 (tramp-postfix-host-format, tramp-file-name-regexp)
4126 (tramp-completion-file-name-regexp)
4127 (tramp-completion-dissect-file-name)
4128 (tramp-handle-substitute-in-file-name): Remove 'url case.
4129 (tramp-file-name-regexp-url)
4130 (tramp-completion-file-name-regexp-url): Remove constants.
4132 2013-09-06 Glenn Morris <rgm@gnu.org>
4134 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4136 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4138 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4139 keywords" below "here-doc beginnings" (Bug#15270).
4141 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4143 * subr.el (pop): Use `car-safe'.
4144 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4145 to detect unused `pop' return value.
4147 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4149 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4150 (python-fill-string): Remove unused var `marker'.
4151 (python-skeleton-add-menu-items): Remove unused var `items'.
4153 * international/mule-cmds.el: Require CL.
4154 (find-coding-systems-for-charsets): Avoid add-to-list.
4155 (sanitize-coding-system-list): New function, extracted from
4156 select-safe-coding-system-interactively.
4157 (select-safe-coding-system-interactively): Use it.
4158 (read-input-method-name): Accept symbols for `default'.
4160 * emacs-lisp/advice.el (defadvice): Add indent rule.
4162 2013-09-05 Daniel Hackney <dan@haxney.org>
4166 * net/browse-url.el:
4169 * net/eudcb-ldap.el:
4182 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4183 byte compiler. Remove some unused let-bound variables.
4185 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4187 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4188 a "ref-cell", since it gets better optimized (bug#14883).
4190 2013-09-05 Glenn Morris <rgm@gnu.org>
4192 * progmodes/cc-awk.el (c-forward-sws): Declare.
4194 2013-09-04 Glenn Morris <rgm@gnu.org>
4196 * generic-x.el [rul-generic-mode]: Require cc-mode.
4197 (c++-mode-syntax-table): Declare.
4198 (rul-generic-mode-syntax-table): Init in the defvar.
4200 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4202 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4203 (vc-do-command, vc-set-async-update):
4204 * vc/vc-mtn.el (vc-mtn-dir-status):
4205 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4206 (vc-hg-pull, vc-hg-merge-branch):
4207 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4208 (vc-git-merge-branch):
4209 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4210 (vc-cvs-dir-status-files):
4211 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4212 (vc-bzr-dir-status-files):
4213 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4214 * vc/vc-annotate.el: Use lexical-binding.
4215 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4216 (vc-sentinel-movepoint): Declare.
4217 (vc-annotate): Don't use `goto-line'.
4218 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4219 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4220 (vc-sentinel-movepoint): Declare.
4221 * vc/vc-svn.el: Use lexical-binding.
4222 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4224 * vc/vc-rcs.el: Use lexical-binding.
4226 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4227 `deleted'. Don't drop errors silently.
4229 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4231 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4233 * vc/vc.el (vc-ignore): Rewrite.
4234 (vc-default-ignore): New function.
4235 (vc-default-ignore-completion-table): Use find-ignore-file.
4237 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4238 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4239 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4240 Remove. Most code moved to vc.el.
4242 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4244 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4245 * net/tramp-smb.el (tramp-smb-get-file-entries):
4246 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4247 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4249 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4251 (eww-change-select): Remove unused var `properties'.
4252 (eww-make-unique-file-name): Remove unused var `base'.
4254 * finder.el (finder-compile-keywords): Don't mess with windows.
4256 * calculator.el (calculator-funcall): Fix typo in last change.
4258 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4260 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4261 <pkg>-autoloads.el file stop us.
4263 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4264 warnings, and factor out common code.
4266 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4268 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4269 two-character operators and whether the character preceding them
4270 changes their meaning (Bug#15208).
4272 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4274 Format code sent to Python shell for robustness.
4275 * progmodes/python.el (python-shell-buffer-substring):
4277 (python-shell-send-region, python-shell-send-buffer): Use it.
4279 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4281 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4282 * net/tramp.el (tramp-user-error): ... here.
4283 (tramp-find-method, tramp-check-proper-host)
4284 (tramp-dissect-file-name, tramp-debug-message)
4285 (tramp-handle-shell-command):
4286 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4287 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4289 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4291 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4293 * avoid.el (mouse-avoidance-point-position)
4294 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4297 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4299 * progmodes/python.el (python-shell-completion-get-completions):
4300 Drop use of deleted `comint-last-prompt-overlay'.
4301 (python-nav-if-name-main): New command.
4303 2013-09-01 Glenn Morris <rgm@gnu.org>
4305 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4306 Avoid leading space in $wins. Otherwise the sed command used by
4307 eg compile-main ends up containing "/*.el". (Bug#15170)
4309 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4311 2013-08-30 Glenn Morris <rgm@gnu.org>
4313 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4314 Fix is-this-a-directory logic. (Bug#15220)
4316 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4318 * textmodes/css-mode.el: Use SMIE.
4319 (css-smie-grammar): New var.
4320 (css-smie--forward-token, css-smie--backward-token)
4321 (css-smie-rules): New functions.
4322 (css-mode): Use them.
4323 (css-navigation-syntax-table): Remove var.
4324 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4325 (css-indent-calculate, css-indent-line): Remove functions.
4327 Misc changes to reduce use of `(lambda...); and other cleanups.
4328 * cus-edit.el: Use lexical-binding.
4329 (customize-push-and-save, customize-apropos)
4330 (custom-buffer-create-internal): Use closures.
4331 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4332 * progmodes/ada-xref.el: Use setq.
4333 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4334 * dframe.el: Use lexical-binding.
4335 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4336 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4337 * descr-text.el: Use lexical-binding.
4338 (describe-text-widget, describe-text-sexp, describe-property-list):
4340 * comint.el (comint-history-isearch-push-state): Use a closure.
4341 * calculator.el: Use lexical-binding.
4342 (calculator-number-to-string): Make it work with lexical-binding.
4343 (calculator-funcall): Same and use cl-letf.
4345 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4346 (lisp--company-doc-string, lisp--company-location): New functions.
4347 (lisp-completion-at-point): Use them to improve Company support.
4349 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4350 params of lambda expressions.
4351 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4352 (ruby-smie--opening-pipe-p): New function.
4353 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4354 symbols and matched |...| for formal params.
4355 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4356 from being treated as hanging. Handle "rescue".
4358 2013-08-29 Glenn Morris <rgm@gnu.org>
4360 * progmodes/cc-engine.el (c-pull-open-brace):
4361 Move definition before use.
4363 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4365 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4366 are immutable. Don't use `unsafe' any more.
4367 (cl--defsubst-expand): Don't substitute at the same time as keeping
4368 a residual unused let-binding. Don't use `unsafe' any more.
4370 2013-08-29 Glenn Morris <rgm@gnu.org>
4372 * calendar/cal-china.el (calendar-chinese-year-cache):
4375 * nxml/nxml-util.el (nxml-debug-clear-inside):
4376 Use cl-loop rather than loop.
4378 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4380 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4382 2013-08-28 Glenn Morris <rgm@gnu.org>
4384 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4386 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4388 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4390 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4392 * simple.el (repeat-complex-command--called-interactively-skip):
4394 (repeat-complex-command): Use it (bug#14136).
4396 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4397 (c-define-abbrev-table): Add `doc' argument.
4398 (c-mode-abbrev-table, c++-mode-abbrev-table)
4399 (objc-mode-abbrev-table, java-mode-abbrev-table)
4400 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4401 (awk-mode-abbrev-table): Use it.
4402 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4403 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4404 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4405 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4406 Move initialization into the declaration; and remove any
4409 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4410 and dynamic let binding.
4412 * vc/smerge-mode.el: Remove redundant :group args.
4414 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4417 2013-08-28 Juri Linkov <juri@jurta.org>
4419 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4420 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4421 (isearch-other-meta-char): Handle an undefined shifted printing
4422 character by downshifting it. (Bug#15200)
4424 2013-08-28 Juri Linkov <juri@jurta.org>
4426 * isearch.el (isearch-search): Change regexp error message for
4427 non-regexp searches. (Bug#15166)
4429 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4431 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4432 for portability to hosts where /bin/sh has problems.
4434 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4436 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4438 2013-08-27 Juri Linkov <juri@jurta.org>
4440 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4441 in the keyboard macro. (Bug#15126)
4443 2013-08-27 Juri Linkov <juri@jurta.org>
4445 * isearch.el (isearch-quote-char): Comment out converting unibyte
4446 to multibyte, thus syncing with its `quoted-insert' counterpart.
4449 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4451 * window.el (display-buffer-use-some-window): Add missing
4452 argument in call of get-largest-window (Bug#15185).
4453 Reported by Stephen Leake.
4455 2013-08-27 Glenn Morris <rgm@gnu.org>
4457 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4459 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4461 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4462 from a matcher-function unless there's no more matches (bug#15161).
4464 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4466 * minibuffer.el: Revert change from 2013-08-20.
4468 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4469 with text property `tramp-default', if appropriate.
4470 (tramp-check-proper-host): New defun.
4471 (tramp-dissect-file-name): Do not check hostname. Revert change
4473 (tramp-backtrace): Make VEC-OR-PROC optional.
4475 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4476 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4477 * net/tramp-sh.el (tramp-maybe-open-connection):
4478 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4479 Apply `tramp-check-proper-host'.
4481 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4483 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4484 lambda expression in order to have `describe-variable' display it.
4486 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4488 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4489 BUF can be optional. (Bug#15186)
4491 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4493 * progmodes/flymake.el (flymake-get-real-file-name-function):
4494 Fix broken customization. (Bug#15184)
4496 2013-08-25 Alan Mackenzie <acm@muc.de>
4498 Improve indentation of bracelists defined by macros (without "=").
4500 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4501 expansion begins with "{", regard it as bracelist when it doesn't
4504 Parse C++ inher-intro when there's a template split over 2 lines.
4506 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4507 rigorously the search for "class" etc. followed by ":".
4509 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4510 random languages a regexp which never matches rather than nil.
4512 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4514 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4515 (c-awk-regexp-one-line-possibly-open-char-list-re)
4516 (c-awk-one-line-possibly-open-regexp-re)
4517 (c-awk-one-line-non-syn-ws*-re): Remove.
4518 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4519 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4520 (c-awk-space*-unclosed-regexp-/-re): New constants.
4521 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4522 aren't regexp delimiters.
4524 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4525 handling for a rare situation in AWK Mode involving unterminated
4528 2013-08-23 Glenn Morris <rgm@gnu.org>
4530 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4532 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4534 * files.el (create-file-buffer): If the result would begin with
4535 spaces, prepend a "|" instead of removing them. (Bug#15162)
4537 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4539 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4540 text-properties (bug#15155).
4542 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4544 (calc-keypad-redraw): Remove unused var `pad'.
4545 (calc-keypad-press): Remove unused var `menu'.
4547 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4549 * window.el (display-buffer-pop-up-frame):
4550 Call pop-up-frame-function with BUFFER current so `make-frame' will
4551 use it as the new frame's buffer (Bug#15133).
4553 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4555 * calendar/timeclock.el: Minor cleanups.
4556 (timeclock-ask-before-exiting, timeclock-use-display-time):
4558 (timeclock-modeline-display): Define as alias before the
4560 (timeclock-mode-line-display): Use define-minor-mode.
4561 (timeclock-day-list-template): Make it a function, add an argument.
4562 (timeclock-day-list-required, timeclock-day-list-length)
4563 (timeclock-day-list-debt, timeclock-day-list-span)
4564 (timeclock-day-list-break): Adjust calls accordingly.
4566 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4568 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4569 Use read--expression so that completion works again.
4571 2013-08-21 Sam Steingold <sds@gnu.org>
4573 Add rudimentary inferior shell interaction
4574 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4575 (sh-set-shell): Reset it.
4576 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4577 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4579 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4581 * align.el: Use lexical-binding.
4582 (align-region): Simplify accordingly.
4584 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4586 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4588 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4591 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4595 * net/tramp-cmds.el:
4597 * net/tramp-gvfs.el:
4599 * net/tramp-sh.el: Don't wrap external variable declarations by
4600 `eval-when-compile'.
4602 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4604 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4605 now that Emacs supports ImageMagick animations.
4607 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4609 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4610 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4612 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4614 * window.el (mouse-autoselect-window-select): Do autoselect when
4615 mouse pointer is on margin.
4617 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4619 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4621 2013-08-16 Glenn Morris <rgm@gnu.org>
4623 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4624 Handle "Remote Directory" response of some clients. (Bug#15058)
4626 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4627 Tweak warning. (Bug#14926)
4629 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4630 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4632 * image-mode.el (image-mode-map): Add menu items to reverse,
4633 increase, decrease, reset animation speed.
4634 (image--set-speed, image-increase-speed, image-decrease-speed)
4635 (image-reverse-speed, image-reset-speed): New functions.
4636 (image-mode-map): Add bindings for speed commands.
4638 * image.el (image-animate-get-speed, image-animate-set-speed):
4640 (image-animate-timeout): Respect image :speed property.
4642 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4644 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4645 previous line (bug#15101).
4646 (debugger-eval-expression, debugger-record-expression):
4647 Use read--expression (bug#15102).
4649 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4651 Remove byte compiler warnings, visible when compiling with
4652 `byte-compile-force-lexical-warnings' set to t.
4654 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4655 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4656 (tramp-handle-unhandled-file-name-directory)
4657 (tramp-handle-file-notify-add-watch, tramp-action-login)
4658 (tramp-action-succeed, tramp-action-permission-denied)
4659 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4662 * net/tramp-adb.el (tramp-adb-parse-device-names)
4663 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4664 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4665 (tramp-adb-handle-file-truename): Remove unused arguments.
4667 * net/tramp-cache.el (tramp-flush-directory-property)
4668 (tramp-flush-connection-property, tramp-list-connections)
4669 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4671 * net/tramp-compat.el (tramp-compat-make-temp-file):
4672 Rename FILENAME to F.
4674 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4675 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4676 (tramp-zeroconf-parse-workstation-device-names)
4677 (tramp-zeroconf-parse-webdav-device-names)
4678 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4680 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4681 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4683 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4685 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4686 (tramp-sh-handle-insert-file-contents-literally)
4687 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4689 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4690 Remove unused variables.
4692 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4693 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4694 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4696 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4697 Make them a defconst.
4698 (tramp-uuencode-region): Remove unused variable.
4700 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4702 * frameset.el (frameset--prop-setter): New function.
4703 (frameset-prop): Add gv-setter declaration.
4704 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4705 parameter was already set in FILTERED. Doc fix.
4706 (frameset--record-minibuffer-relationships): Allow saving a
4707 minibufferless frame without its corresponding minibuffer frame.
4708 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4709 frame, if the frame id matches.
4710 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4711 frames before orphaned ones.
4712 (frameset-restore): Warn about orphaned windows, instead of error out.
4714 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4716 * window.el (window-make-atom): Don't overwrite parameter
4718 (display-buffer-in-atom-window): Handle special case where we
4719 split an already atomic window.
4720 (window--major-non-side-window, display-buffer-in-side-window)
4721 (window--side-check): Ignore minibuffer window when walking
4723 (window-deletable-p): Return 'frame only if no other frame uses
4724 our minibuffer window.
4725 (record-window-buffer): Run buffer-list-update-hook.
4726 (split-window): Make sure window--check-frame won't destroy an
4727 existing atomic window in case the new window gets nested
4729 (display-buffer-at-bottom): Ignore minibuffer window when
4730 walking window tree. Don't split a side window.
4731 (pop-to-buffer): Don't set-buffer here, the select-window call
4733 (mouse-autoselect-window-select): Autoselect only if we are in the
4734 text portion of the window.
4736 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4738 * net/shr.el (shr-parse-image-data): New function to grab both the
4739 data itself and the Content-Type.
4740 (shr-put-image): Use it.
4742 * net/eww.el (eww-display-image): Ditto.
4744 * image.el (image-content-type-suffixes): New variable.
4746 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4748 * progmodes/python.el (python-imenu--build-tree)
4749 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4751 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4753 * simple.el (backward-word): Mention the optional argument.
4755 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4757 * frameset.el (frameset--make): Rename constructor from make-frameset.
4758 (frameset-p, frameset-valid-p): Don't autoload.
4759 (frameset-valid-p): Use normal accessors.
4761 2013-08-13 Glenn Morris <rgm@gnu.org>
4763 * progmodes/compile.el (compile-command): Tweak example in doc.
4764 * obsolete/scribe.el (scribe-mode):
4765 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4767 * mail/feedmail.el (feedmail-confirm-outgoing)
4768 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4770 * cus-start.el (truncate-partial-width-windows): Fix type.
4772 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4774 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4776 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4778 * emacs-lisp/timer.el (timer--time-setter): New function.
4779 (timer--time): Use it as gv-setter.
4781 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4782 setter is not a symbol.
4784 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4786 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4787 if sending fails. This makes debugging easier.
4789 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4791 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4792 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4793 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4795 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4797 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4799 2013-08-12 Glenn Morris <rgm@gnu.org>
4801 * format.el (format-annotate-function):
4802 Handle read-only text properties in the source. (Bug#14887)
4804 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4806 * net/eww.el (eww-display-html): Ignore coding system errors.
4807 One web site uses "utf-8lias" as the coding system.
4809 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4811 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4813 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4815 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4816 (tutorial--detailed-help): Remove unused local variables.
4817 (tutorial--save-tutorial-to): Use ignore-errors.
4818 (help-with-tutorial): Use looking-at-p.
4820 * view.el (view-buffer-other-window, view-buffer-other-frame):
4821 Mark unused arguments.
4823 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4824 (woman-select-symbol-fonts, woman, woman-find-file)
4825 (woman-insert-file-contents, woman-non-underline-faces):
4827 (woman1-unquote): Move declaration.
4829 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4830 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4831 argument. Remove unused local variable.
4832 (xml-parse-elem-type): Use string-match-p.
4833 (xml-substitute-numeric-entities): Use ignore-errors.
4835 * calculator.el (calculator): Mark unused argument.
4836 (calculator-paste, calculator-quit, calculator-integer-p):
4838 (calculator-string-to-number, calculator-decimal, calculator-exp)
4839 (calculator-op-or-exp): Use string-match-p.
4841 * dired.el (dired-buffer-more-recently-used-p): Declare.
4842 (dired-insert-set-properties, dired-insert-old-subdirs):
4845 * dired-aux.el (dired-compress): Use ignore-errors.
4846 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4847 (dired-do-async-shell-command, dired-do-shell-command)
4848 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4849 (dired-insert-subdir-validate): Use string-match-p.
4850 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4851 (dired-add-entry): Use string-match-p, looking-at-p.
4852 (dired-insert-subdir-newpos): Remove unused local variable.
4854 * filenotify.el (file-notify-callback): Remove unused local variable.
4856 * filesets.el (filesets-error): Mark unused argument.
4857 (filesets-which-command-p, filesets-filter-dir-names)
4858 (filesets-directory-files, filesets-get-external-viewer)
4859 (filesets-ingroup-get-data): Use string-match-p.
4861 * find-file.el (ff-other-file-name, ff-other-file-name)
4862 (ff-find-the-other-file, ff-cc-hh-converter):
4863 Remove unused local variables.
4864 (ff-get-file-name): Use string-match-p.
4865 (ff-all-dirs-under): Use ignore-errors.
4867 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4868 (follow-select-if-visible): Remove unused local variable.
4870 * forms.el (read-file-filter): Move declaration.
4871 (forms--make-format, forms--make-parser, forms-insert-record):
4872 Quote function with #'.
4873 (forms--update): Use string-match-p. Quote function with #'.
4875 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4876 (help-make-xrefs): Use looking-at-p.
4877 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4879 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4880 (ibuffer-confirm-operation-on): Use string-match-p.
4882 * msb.el (msb-item-handler, msb-dired-item-handler):
4883 Mark unused arguments.
4885 * ses.el (ses-decode-cell-symbol)
4886 (ses-kill-override): Remove unused local variable.
4887 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4888 (ses-load): Use ignore-errors, looking-at-p.
4889 (ses-jump-safe): Use ignore-errors.
4890 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4892 * tabify.el (untabify, tabify): Mark unused arguments.
4894 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4895 Mark unused argument.
4896 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4897 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4899 * emacs-lisp/timer.el (timer--time): Define setter with
4900 gv-define-setter to avoid deprecation warning.
4902 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4903 (*record-cmpl-statistics-p*): Remove (was commented out).
4904 (cmpl-statistics-block): Remove (body was commented out).
4905 All callers changed.
4906 (add-completions-from-buffer, load-completions-from-file):
4907 Remove unused variables.
4909 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4911 * filecache.el (file-cache-delete-file-list):
4912 Print message only when told so.
4913 (file-cache-files-matching): Use #' in mapconcat argument.
4915 * ffap.el (ffap-url-at-point): Fix reference to variable
4916 thing-at-point-default-mail-uri-scheme.
4918 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4920 * subr.el (define-error): New function.
4921 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4922 error-file-not-found and define with define-error.
4923 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4924 and define with define-error.
4925 * userlock.el (file-locked, file-supersession):
4926 * simple.el (mark-inactive):
4927 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4928 * progmodes/ada-mode.el (ada-mode-errors):
4929 * play/life.el (life-extinct):
4930 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4931 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4932 * nxml/rng-util.el (rng-error):
4933 * nxml/rng-uri.el (rng-uri-error):
4934 * nxml/rng-match.el (rng-compile-error):
4935 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4936 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4937 * nxml/nxml-rap.el (nxml-scan-error):
4938 * nxml/nxml-outln.el (nxml-outline-error):
4939 * net/soap-client.el (soap-error):
4940 * net/gnutls.el (gnutls-error):
4941 * net/ange-ftp.el (ftp-error):
4942 * mpc.el (mpc-proc-error):
4943 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4944 (json-number-format, json-string-escape, json-string-format)
4945 (json-key-format, json-object-format):
4946 * jka-compr.el (compression-error):
4947 * international/quail.el (quail-error):
4948 * international/kkc.el (kkc-error):
4949 * emacs-lisp/ert.el (ert-test-failed):
4950 * calc/calc.el (calc-error, inexact-result, math-overflow)
4952 * bookmark.el (bookmark-error-no-filename):
4953 * epg.el (epg-error): Define with define-error.
4955 * time.el (display-time-event-handler)
4956 (display-time-next-load-average): Don't call sit-for since it seems
4957 unnecessary (bug#15045).
4959 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4960 Use #' instead of ' to quote functions.
4961 (checkdoc-output-mode): Use setq-local.
4962 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4963 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4964 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4965 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4966 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4967 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4968 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4969 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4971 * ido.el (ido-completion-help): Fix up compiler warning.
4973 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4975 * frameset.el (frameset-p): Add autoload cookie.
4976 (frameset--jump-to-register): New function, based on code moved from
4978 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4980 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4981 (frameset-restore, frameset-save, frameset-session-filter-alist):
4982 Remove declarations.
4983 (register-alist): Doc fix.
4984 (frameset-to-register): Move to frameset.el.
4985 (jump-to-register, describe-register-1): Remove frameset-specific code.
4987 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4989 * allout-widgets.el (allout-widgets-pre-command-business)
4990 (allout-widgets-post-command-business)
4991 (allout-widgets-after-change-handler)
4992 (allout-decorate-item-and-context, allout-set-boundary-marker)
4993 (allout-body-modification-handler)
4994 (allout-graphics-modification-handler): Mark ignored arguments.
4995 (allout-widgets-post-command-business)
4996 (allout-widgets-exposure-change-processor)
4997 (allout-widgets-exposure-undo-processor)
4998 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4999 (allout-parse-item-at-point, allout-decorate-item-guides)
5000 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5001 * allout.el (epa-passphrase-callback-function): Declare.
5002 (allout-overlay-insert-in-front-handler)
5003 (allout-overlay-interior-modification-handler)
5004 (allout-isearch-end-handler, allout-chart-siblings)
5005 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5006 (allout-yank-processing, allout-process-exposed)
5007 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5008 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5009 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5010 (lisp-indent-defform): Mark ignored arguments.
5011 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5012 (calculate-lisp-indent): Remove unused variables.
5013 * international/characters.el (indian-2-column, arabic-2-column)
5014 (tibetan): Mark ignored arguments.
5015 (use-cjk-char-width-table): Mark ignored arguments.
5016 Remove unused variables.
5017 * international/fontset.el (build-default-fontset-data)
5018 (x-compose-font-name, create-fontset-from-fontset-spec):
5019 Mark ignored arguments.
5020 (fontset-plain-name): Remove unused variables.
5021 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5022 (keyboard-coding-system): Mark ignored arguments.
5023 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5024 * help.el (resize-temp-buffer-window):
5025 * window.el (display-buffer-in-major-side-window)
5026 (display-buffer-in-side-window, display-buffer-in-previous-window):
5027 Remove unused variables.
5028 * isearch.el (isearch-forward-symbol):
5029 * version.el (emacs-bzr-version-bzr):
5030 * international/mule-cmds.el (current-language-environment):
5031 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5033 * term/pc-win.el (x-list-fonts, x-display-planes)
5034 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5035 (x-server-version, x-display-screens, x-display-mm-height)
5036 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5037 (x-selection-owner-p, x-own-selection-internal)
5038 (x-disown-selection-internal, x-get-selection-internal)
5039 (msdos-initialize-window-system):
5040 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5041 * term/x-win.el (x-handle-no-bitmap-icon):
5042 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5043 (vc-default-find-file-hook, vc-default-extra-menu):
5044 Mark ignored arguments.
5046 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5048 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5049 break-condition in the context of the debugged code (bug#12685).
5051 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5054 Do not use an overlay to highlight the last prompt. (Bug#14744)
5055 (comint-mode): Make comint-last-prompt buffer local.
5056 (comint-last-prompt): New variable.
5057 (comint-last-prompt-overlay): Remove. Superseded by
5059 (comint-snapshot-last-prompt, comint-output-filter):
5060 Use comint-last-prompt.
5062 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5064 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5065 (frameset-save): Check validity of the resulting frameset.
5067 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5069 * ido.el (ido-record-command): Add doc string.
5071 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5073 * frameset.el (frameset): Do not disable creation of the default
5074 frameset-p predicate. Doc fix.
5075 (frameset-valid-p): New function, copied from the old predicate-p.
5076 Add additional checks.
5077 (frameset-restore): Check with frameset-valid-p.
5078 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5079 (frameset-name, frameset-description, frameset-properties)
5080 (frameset-states): Add docstring.
5081 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5082 (frameset-filter-alist): Doc fixes.
5084 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5086 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5088 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5090 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5091 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5092 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5093 (byte-compile-normal-call): Remove obsolescence check.
5095 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5097 * frameset.el (frameset-restore): Doc fix.
5099 * register.el (frameset-frame-id, frameset-frame-with-id)
5100 (frameset-p, frameset-restore, frameset-save): Declare.
5101 (register-alist): Document framesets.
5102 (frameset-session-filter-alist): Declare.
5103 (frameset-to-register): New function.
5104 (jump-to-register): Implement jumping to framesets. Doc fix.
5105 (describe-register-1): Describe framesets.
5107 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5109 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5111 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5112 Use lexical-binding.
5114 * frameset.el (frameset): Use type vector, not list (incompatible
5115 change). Do not declare a new constructor, use the default one.
5116 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5117 `name' and `description', respectively, and add read-only slot
5118 `timestamp'. Doc fixes.
5119 (frameset-copy, frameset-persistent-filter-alist)
5120 (frameset-filter-alist, frameset-switch-to-gui-p)
5121 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5122 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5123 (frameset-filter-iconified, frameset-keep-original-display-p):
5125 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5126 Rename from frameset-filter-(save|restore)-param. All callers changed.
5128 (frameset-p): Adapt to change to vector and be more thorough.
5129 Change arg name to OBJECT. Doc fix.
5130 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5131 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5132 All callers changed.
5133 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5134 All callers changed.
5135 (frameset--record-minibuffer-relationships): Rename from
5136 frameset--process-minibuffer-frames. All callers changed.
5137 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5138 Use new default constructor (again). Doc fix.
5139 (frameset--find-frame-if): Rename from `frameset--find-frame.
5140 All callers changed.
5141 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5142 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5144 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5145 PARAMETERS and WINDOW-STATE, respectively.
5146 (frameset-restore): Add new keyword argument PREDICATE.
5147 Reset frameset--target-display to nil. Doc fix.
5149 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5151 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5153 (bat-mode-syntax-table): Mark \n as end-of-comment.
5154 (bat-font-lock-keywords): Remove comment rule.
5156 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5157 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5159 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5160 (byte-compile-callargs-warn): Use `push'.
5161 (byte-compile-arglist-warn): Ignore higher-order "calls".
5162 (byte-compile-file-form-autoload): Use `pcase'.
5163 (byte-compile-function-form): If quoting a symbol, check that it exists.
5165 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5167 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5168 and add a few popular commands found in batch files.
5169 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5170 (dos-mode): Doc fixes.
5172 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5174 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5175 (dos-mode): Use setq-local. Add space after "rem".
5176 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5177 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5179 2013-08-07 Arni Magnusson <arnima@hafro.is>
5181 * progmodes/dos.el: New file.
5182 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5185 2013-08-06 Glenn Morris <rgm@gnu.org>
5187 * calendar/calendar.el: Add new faces, and day-header-array.
5188 (calendar-weekday-header, calendar-weekend-header)
5189 (calendar-month-header): New faces.
5190 (calendar-day-header-construct): New function.
5191 (calendar-day-header-width): Also :set calendar-day-header-array.
5192 (calendar-american-month-header, calendar-european-month-header)
5193 (calendar-iso-month-header): Use calendar- faces.
5194 (calendar-generate-month):
5195 Use calendar-day-header-array for day headers; apply faces to them.
5196 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5197 (calendar-abbrev-construct): Add optional maxlen argument.
5198 (calendar-day-name-array): Doc fix.
5199 (calendar-day-name-array, calendar-abbrev-length)
5200 (calendar-day-abbrev-array):
5201 Also :set calendar-day-header-array, and maybe redraw.
5202 (calendar-day-header-array): New option. (Bug#15007)
5203 (calendar-font-lock-keywords): Set to nil and make obsolete.
5204 (calendar-day-name): Add option to use header array.
5206 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5208 * net/shr.el (shr-render-td): Remove debugging.
5209 (shr-render-td): Make width computation consistent by defaulting
5210 all zero-width columns to 10 characters. This may not be optimal,
5211 but it's at least consistent.
5212 (shr-make-table-1): Redo last change to fix the real problem in
5215 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5217 * files.el (cache-long-line-scans):
5218 Make obsolete alias to `cache-long-scans'.
5220 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5222 * frameset.el (frameset, frameset-filter-alist)
5223 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5224 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5225 (frameset-compute-pos): Rename from frameset--compute-pos,
5227 (frameset-move-onscreen): Use frameset-compute-pos.
5228 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5230 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5231 Fix typos in docstrings.
5233 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5235 * frame.el (get-other-frame): Tiny cleanup.
5237 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5239 * vc/vc.el (vc-default-ignore-completion-table):
5240 Silence byte-compiler warning.
5242 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5243 slot , which can indeed be nil.
5244 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5245 Move entry for `left' from persistent to live filter alist.
5246 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5248 (frameset-filter-params): When restoring a frame, copy items added to
5249 `filtered', to avoid unwittingly modifying the original parameters.
5250 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5251 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5253 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5254 to use looking-at-p instead of looking-at. (Bug#15028)
5256 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5258 Revert introduction of isearch-filter-predicates (bug#14714).
5259 Rely on add-function instead.
5260 * isearch.el (isearch-filter-predicates): Rename it back to
5261 isearch-filter-predicate.
5262 (isearch-message-prefix): Use advice-function-mapc and advice
5263 properties to get the isearch-message-prefix.
5264 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5265 instead of run-hook-with-args-until-failure.
5266 (isearch-filter-visible): Not obsolete any more.
5267 * loadup.el: Preload nadvice.
5268 * replace.el (perform-replace): Revert to funcall
5269 instead of run-hook-with-args-until-failure.
5270 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5271 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5272 dired-isearch-filenames-toggle; make it into a proper minor mode.
5273 Use add/remove-function.
5274 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5275 Call the minor-mode rather than add/remove-hook.
5276 (dired-isearch-filter-filenames):
5277 Remove isearch-message-prefix property.
5278 * info.el (Info--search-loop): New function, extracted from Info-search.
5279 Funcall isearch-filter-predicate instead of
5280 run-hook-with-args-until-failure isearch-filter-predicates.
5281 (Info-search): Use it.
5282 (Info-mode): Use isearch-filter-predicate instead of
5283 isearch-filter-predicates.
5285 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5287 Do not call to `selected-window' where it is assumed by default.
5288 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5289 `window-hscroll', `window-width', `window-height', `window-buffer',
5290 `window-frame', `window-start', `window-point', `next-window'
5291 and `window-display-table'.
5292 * abbrev.el (abbrev--default-expand):
5293 * bs.el (bs--show-with-configuration):
5294 * buff-menu.el (Buffer-menu-mouse-select):
5295 * calc/calc.el (calc):
5296 * calendar/calendar.el (calendar-generate-window):
5297 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5299 * comint.el (send-invisible, comint-dynamic-complete-filename)
5300 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5301 * completion.el (complete):
5302 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5303 * disp-table.el (describe-current-display-table):
5304 * doc-view.el (doc-view-insert-image):
5305 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5306 * ehelp.el (with-electric-help):
5307 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5308 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5309 * emacs-lisp/helper.el (Helper-help-scroller):
5310 * emulation/cua-base.el (cua--post-command-handler-1):
5311 * eshell/esh-mode.el (eshell-output-filter):
5312 * ffap.el (ffap-gnus-wrapper):
5313 * help-macro.el (make-help-screen):
5314 * hilit-chg.el (highlight-compare-buffers):
5315 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5316 * hl-line.el (global-hl-line-highlight):
5317 * icomplete.el (icomplete-simple-completing-p):
5318 * isearch.el (isearch-done):
5319 * jit-lock.el (jit-lock-stealth-fontify):
5320 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5321 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5322 * mpc.el (mpc-tagbrowser, mpc):
5323 * net/rcirc.el (rcirc-any-buffer):
5324 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5325 * play/landmark.el (landmark-max-width, landmark-max-height):
5326 * play/zone.el (zone):
5327 * progmodes/compile.el (compilation-goto-locus):
5328 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5329 * progmodes/etags.el (find-tag-other-window):
5330 * progmodes/fortran.el (fortran-column-ruler):
5331 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5332 * progmodes/verilog-mode.el (verilog-point-text):
5333 * reposition.el (reposition-window):
5334 * rot13.el (toggle-rot13-mode):
5335 * server.el (server-switch-buffer):
5336 * shell.el (shell-dynamic-complete-command)
5337 (shell-dynamic-complete-environment-variable):
5338 * simple.el (insert-buffer, set-selective-display)
5339 (delete-completion-window):
5340 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5341 (speedbar-recenter):
5342 * startup.el (fancy-splash-head):
5343 * textmodes/ispell.el (ispell-command-loop):
5344 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5345 * tutorial.el (help-with-tutorial):
5346 * vc/add-log.el (add-change-log-entry):
5347 * vc/compare-w.el (compare-windows):
5348 * vc/ediff-help.el (ediff-indent-help-message):
5349 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5350 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5351 (ediff-setup-control-frame):
5352 * vc/emerge.el (emerge-position-region):
5353 * vc/pcvs-util.el (cvs-bury-buffer):
5354 * window.el (walk-windows, mouse-autoselect-window-select):
5355 * winner.el (winner-set-conf, winner-undo): Related users changed.
5357 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5359 * frameset.el (frameset--set-id): Doc fix.
5360 (frameset-frame-id, frameset-frame-id-equal-p)
5361 (frameset-locate-frame-id): New functions.
5362 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5363 (frameset-restore): Use them.
5365 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5367 Do not call to `selected-frame' where it is assumed by default.
5368 Affected functions are `raise-frame', `redraw-frame',
5369 `frame-first-window', `frame-terminal' and `delete-frame'.
5370 * calendar/appt.el (appt-disp-window):
5371 * epg.el (epg-wait-for-completion):
5372 * follow.el (follow-delete-other-windows-and-split)
5373 (follow-avoid-tail-recenter):
5374 * international/mule.el (set-terminal-coding-system):
5375 * mail/rmail.el (rmail-mail-return):
5376 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5377 * progmodes/f90.el (f90-add-imenu-menu):
5378 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5379 * server.el (server-switch-buffer):
5380 * simple.el (delete-completion-window):
5382 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5383 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5384 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5385 * vc/ediff.el (ediff-documentation): Related users changed.
5386 * frame.el (selected-terminal): Remove the leftover.
5388 2013-08-05 Glenn Morris <rgm@gnu.org>
5390 * calendar/calendar.el (calendar-generate-month):
5391 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5392 (calendar-generate-month, calendar-font-lock-keywords):
5393 Fix for calendar-day-header-width > length of any day name.
5395 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5397 * desktop.el (desktop-clear): Use new name of sort predicate.
5399 * frameset.el (frameset): Add docstring. Move :version property to its
5401 (frameset-copy): Rename from copy-frameset.
5402 (frameset-p): Check more thoroughly.
5403 (frameset-prop): Do not check for :version, which is no longer a prop.
5404 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5405 Use new :never value instead of t.
5406 (frameset-filter-alist): Expand and clarify docstring.
5407 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5408 (frameset-filter-minibuffer, frameset-filter-save-param)
5409 (frameset-filter-restore-param, frameset-filter-iconified):
5410 Add pointer to docstring of frameset-filter-alist.
5411 (frameset-filter-params): Rename filter values to be more meaningful:
5412 :never instead of t, and reverse the meanings of :save and :restore.
5413 (frameset--process-minibuffer-frames): Clarify error message.
5414 (frameset-save): Avoid unnecessary and confusing call to framep.
5415 Use new BOA constructor for framesets.
5416 (frameset--reuse-list): Doc fix.
5417 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5418 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5419 (frameset-minibufferless-first-p): Doc fix.
5420 Rename from frameset-sort-frames-for-deletion.
5421 (frameset-restore): Doc fixes. Use new function names.
5422 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5424 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5426 * desktop.el (desktop-restore-forces-onscreen)
5427 (desktop-restore-reuses-frames): Document :keyword constant values.
5428 (desktop-filter-parameters-alist): Remove, now identical to
5429 frameset-filter-alist.
5430 (desktop--filter-tty*): Remove, moved to frameset.el.
5431 (desktop-save-frameset, desktop-restore-frameset):
5432 Do not pass :filters argument.
5434 * frameset.el (frameset-live-filter-alist)
5435 (frameset-persistent-filter-alist): New variables.
5436 (frameset-filter-alist): Use them. Add autoload cookie.
5437 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5438 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5439 `frameset--id' (it's supposed to be internal to frameset.el).
5440 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5441 (frameset--initial-params): New function.
5442 (frameset--get-frame): Use it. Doc fix.
5443 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5444 Accept :all, not 'all.
5445 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5446 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5447 with fbound symbols. Fix frame id matching, and remove matching ids if
5448 the frame being restored is deleted. Obey :delete.
5450 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5452 * subr.el (macrop): New function.
5453 (text-clone--maintaining): New var.
5454 (text-clone--maintain): Rename from text-clone-maintain. Use it
5455 instead of inhibit-modification-hooks.
5457 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5458 a proxy, so as handle autoloads and redefinitions of the target.
5459 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5461 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5462 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5463 (pcase--mutually-exclusive-p): New function.
5464 (pcase--split-consp): Use it.
5465 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5466 mutually exclusive with the current predicate.
5468 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5469 (edebug-macrop): Remove. Use `macrop' instead.
5470 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5472 * eshell/esh-cmd.el (eshell-macrop):
5473 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5475 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5477 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5478 (advice-mapc): New function, using it.
5479 (advice-function-member-p): New function.
5480 (advice--normalize): Store the cdr in advice--saved-rewrite since
5481 that's the part that will be changed.
5482 (advice--symbol-function): New function.
5483 (advice-remove): Handle removal before the function is defined.
5484 Adjust to new advice--saved-rewrite.
5485 (advice-member-p): Use advice-function-member-p and
5486 advice--symbol-function.
5488 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5490 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5491 (frameset-filter-minibuffer): Doc fix.
5492 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5493 (frameset--set-id, frameset--process-minibuffer-frames)
5494 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5495 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5497 * desktop.el (desktop-clear): Only delete frames when called
5498 interactively and desktop-restore-frames is non-nil. Doc fix.
5499 (desktop-read): Set desktop-saved-frameset to nil.
5501 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5503 * vc/vc.el (vc-ignore): Rewrite.
5504 (vc-default-ignore-completion-table):
5506 (vc--add-line, vc--remove-regexp): New functions.
5508 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5509 (vc-svn-ignore-completion-table): New function.
5511 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5512 (vc-hg-ignore-completion-table):
5513 (vc-hg-find-ignore-file): New functions.
5515 * vc/vc-git.el (vc-git-ignore): Rewrite.
5516 (vc-git-ignore-completion-table):
5517 (vc-git-find-ignore-file): New functions.
5519 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5521 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5522 (vc-bzr-ignore-completion-table):
5523 (vc-bzr-find-ignore-file): New functions.
5525 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5527 * frameset.el (frameset-prop): New function and setter.
5528 (frameset-save): Do not modify frame list passed by the caller.
5530 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5532 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5534 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5536 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5537 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5539 * custom.el (custom-initialize-default, custom-initialize-set)
5540 (custom-initialize-reset, custom-initialize-changed): Affect the
5541 toplevel-default-value (bug#6275, bug#14586).
5542 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5545 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5547 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5548 Add cl-def* expressions.
5550 * frameset.el (frameset-filter-params): Fix order of arguments.
5552 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5554 Move code related to saving frames to frameset.el.
5555 * desktop.el: Require frameset.
5556 (desktop-restore-frames): Doc fix.
5557 (desktop-restore-reuses-frames): Rename from
5558 desktop-restoring-reuses-frames.
5559 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5560 (desktop-clear): Clear frames too.
5561 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5562 (desktop--filter-tty*, desktop-save, desktop-read):
5563 Use frameset functions.
5564 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5565 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5566 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5567 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5568 (desktop--process-minibuffer-frames, desktop-save-frames)
5569 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5570 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5571 (desktop--sort-states, desktop-restoring-frames-p)
5572 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5573 (desktop-restoring-frameset-p, desktop-restore-frameset)
5574 (desktop--check-dont-save, desktop-save-frameset): New functions.
5575 (desktop--app-id): New constant.
5576 (desktop-first-buffer, desktop-buffer-ok-count)
5577 (desktop-buffer-fail-count): Move before first use.
5578 * frameset.el: New file.
5580 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5582 * files.el: Use lexical-binding.
5583 (dir-locals-read-from-file): Remove unused `err' variable.
5584 (hack-dir-local-variables--warned-coding): New var.
5585 (hack-dir-local-variables): Use it to avoid repeated warnings.
5586 (make-backup-file-name--default-function): New function.
5587 (make-backup-file-name-function): Use it as default.
5588 (buffer-stale--default-function): New function.
5589 (buffer-stale-function): Use it as default.
5590 (revert-buffer-insert-file-contents--default-function): New function.
5591 (revert-buffer-insert-file-contents-function): Use it as default.
5592 (insert-directory): Avoid add-to-list.
5594 * autorevert.el (auto-revert-handler): Simplify.
5595 Use buffer-stale--default-function.
5597 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5599 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5601 * whitespace.el (whitespace-ensure-local-variables): New function.
5602 (whitespace-cleanup-region): Call it.
5603 (whitespace-turn-on): Call it.
5605 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5607 Complete file name handlers.
5609 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5610 (tramp-handle-verify-visited-file-modtime)
5611 (tramp-handle-file-notify-rm-watch): New functions.
5612 (tramp-call-process): Do not bind `default-directory'.
5614 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5615 Order alphabetically.
5616 [access-file, add-name-to-file, dired-call-process]:
5617 [dired-compress-file, file-acl, file-notify-rm-watch]:
5618 [file-ownership-preserved-p, file-selinux-context]:
5619 [make-directory-internal, make-symbolic-link, set-file-acl]:
5620 [set-file-selinux-context, set-visited-file-modtime]:
5621 [verify-visited-file-modtime]: Add handler.
5622 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5624 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5625 [file-notify-add-watch, file-notify-rm-watch]:
5626 [set-file-times, set-visited-file-modtime]:
5627 [verify-visited-file-modtime]: Add handler.
5628 (with-tramp-gvfs-error-message)
5629 (tramp-gvfs-handle-set-visited-file-modtime)
5630 (tramp-gvfs-fuse-file-name): Remove.
5631 (tramp-gvfs-handle-file-notify-add-watch)
5632 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5633 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5635 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5636 Order alphabetically.
5637 [file-notify-rm-watch ]: Use default Tramp handler.
5638 [executable-find]: Remove private handler.
5639 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5640 `default-directory'.
5641 (tramp-sh-handle-executable-find)
5642 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5643 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5644 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5645 Do not use `format' in `tramp-message'.
5647 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5648 [file-notify-rm-watch, set-visited-file-modtime]:
5649 [verify-visited-file-modtime]: Add handler.
5650 (tramp-smb-call-winexe): Do not bind `default-directory'.
5652 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5654 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5656 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5658 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5660 (log-view-diff-changeset): Same.
5661 (log-view-diff-common): Call backend command `previous-revision'
5662 to find out the previous revision, in both cases. Swap the
5663 variables `to' and `fr', so that `fr' usually refers to the
5664 earlier revision (Bug#14989).
5666 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5668 * ibuf-ext.el (ibuffer-filter-by-filename):
5669 Make it work with dired buffers too.
5671 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5673 * emacs-lisp/re-builder.el (reb-color-display-p):
5674 * files.el (save-buffers-kill-terminal):
5675 * net/browse-url.el (browse-url):
5676 * server.el (server-save-buffers-kill-terminal):
5677 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5678 Prefer nil to selected-frame for the first arg of frame-parameter.
5680 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5682 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5684 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5686 * minibuffer.el (completion--twq-all): Try and preserve each
5687 completion's case choice (bug#14907).
5689 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5691 * net/network-stream.el (open-network-stream): Mention the new
5692 :nogreeting parameter.
5693 (network-stream-open-starttls): Use the :nogreeting parameter
5696 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5698 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5699 more natural than popping.
5701 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5702 (shr-urlify): Highlight under mouse.
5704 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5706 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5708 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5710 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5713 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5714 point-min==1. Fix search string. Fix parentheses missing.
5716 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5717 assume point-min==1. Fix search string. Fix parentheses missing.
5719 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5721 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5724 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5726 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5727 initial frame is minibuffer-less. (Bug#14841)
5729 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5731 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5734 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5735 (tramp-maybe-open-connection): Use it.
5737 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5739 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5740 minimal set of parameters passed when creating a frame, because
5741 the minibuffer status of a frame cannot be changed later.
5743 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5745 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5746 replace-regexp-in-string and inadvertent omissions in previous change.
5747 (todo-filter-items): Ensure only file names are comma-separated in
5748 name of filtered items buffer.
5750 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5752 * desktop.el: Optionally force offscreen frames back onscreen.
5753 (desktop-restoring-reuses-frames): New option.
5754 (desktop--compute-pos, desktop--move-onscreen): New functions.
5755 (desktop--make-frame): Use desktop--move-onscreen.
5757 2013-07-27 Alan Mackenzie <acm@muc.de>
5759 Fontify a Java generic method as a function.
5760 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5763 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5765 * calendar/todo-mode.el: Add command to rename todo files.
5766 (todo-rename-file): New command.
5767 (todo-key-bindings-t): Add key binding for it. Change the
5768 bindings of todo-filter-regexp-items(-multifile) to use `x'
5769 instead of `r', since the latter is better suited to the new
5772 2013-07-27 Alan Mackenzie <acm@muc.de>
5774 Make Java try-with-resources statement parse properly.
5775 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5776 (c-block-stmt-1-2-key): New language constants/variables.
5777 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5778 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5779 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5780 with c-block-stmt-1-2-key.
5782 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5784 * desktop.el (desktop--make-frame): Apply most frame parameters after
5785 creating the frame to force (partially or totally) offscreen frames to
5786 be restored as such.
5788 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5790 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5793 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5795 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5796 `base' arg of backtrace-frame.
5798 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5800 * simple.el (list-processes): Doc fix.
5802 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5804 * desktop.el (desktop--select-frame):
5805 Try harder to reuse existing frames.
5807 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5809 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5810 (edebug-eval): Use backtrace-eval.
5811 (edebug--display, edebug--recursive-edit): Don't let-bind the
5812 edebug-outer-* vars that keep track of variables we locally let-bind.
5813 (edebug-outside-excursion): Don't restore outside values of locally
5815 (edebug--display): Use user-error.
5816 (cl-lexical-debug, cl-debug-env): Remove.
5818 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5820 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5821 are restored to be sure that they are visible before deleting any
5824 2013-07-26 Matthias Meulien <orontee@gmail.com>
5826 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5827 vc-print-root-log. (Bug#14948)
5829 2013-07-26 Richard Stallman <rms@gnu.org>
5831 Add aliases for encrypting mail.
5832 * epa.el (epa-mail-aliases): New option.
5833 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5834 Bind inhibit-read-only so read-only text doesn't ruin everything.
5835 (epa-mail-default-recipients): New subroutine broken out.
5836 Handle epa-mail-aliases.
5838 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5840 Add support for lexical variables to the debugger's `e' command.
5841 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5842 vars, except for debugger-outer-match-data.
5843 (debugger-frame-number): Move check for "on a function call" from
5844 callers into it. Add `skip-base' argument.
5845 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5846 (debugger-env-macro): Only reset the state stored in non-variables,
5847 i.e. current-buffer and match-data.
5848 (debugger-eval-expression): Rewrite using backtrace-eval.
5849 * subr.el (internal--called-interactively-p--get-frame): Remove.
5850 (called-interactively-p):
5851 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5852 `base' arg of backtrace-frame instead.
5854 2013-07-26 Glenn Morris <rgm@gnu.org>
5856 * align.el (align-regexp): Doc fix. (Bug#14857)
5857 (align-region): Explicit error if subexpression missing/does not match.
5859 * simple.el (global-visual-line-mode):
5860 Do not duplicate the mode lighter. (Bug#14858)
5862 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5864 * window.el (display-buffer): In display-buffer bind
5865 split-window-keep-point to t, bug#14829.
5867 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5869 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5870 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5871 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5872 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5874 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5875 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5877 2013-07-25 Glenn Morris <rgm@gnu.org>
5879 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5881 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5883 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5884 parameter to modify-frame-parameters if the value has not changed;
5885 this is a workaround for bug#14949.
5886 (desktop--make-frame): On cl-delete-if call, check parameter name,
5889 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5891 * vc/vc.el (vc-ignore): New function.
5893 * vc/vc-svn.el (vc-svn-ignore): New function.
5895 * vc/vc-hg.el (vc-hg-ignore): New function.
5897 * vc/vc-git.el (vc-git-ignore): New function.
5899 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5900 (vc-dir-ignore): New function.
5902 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5903 (cvs-append-to-ignore): Move here from pcvs.el.
5905 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5907 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5909 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5911 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5912 (desktop-restore-frames): Warn when deleting an existing frame failed.
5914 2013-07-24 Glenn Morris <rgm@gnu.org>
5916 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5918 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5920 * filenotify.el (file-notify-supported-p):
5921 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5924 * autorevert.el (auto-revert-use-notify):
5925 (auto-revert-notify-add-watch):
5926 * net/tramp.el (tramp-file-name-for-operation):
5927 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5928 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5929 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5930 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5931 Remove `file-notify-supported-p' entry.
5933 2013-07-24 Glenn Morris <rgm@gnu.org>
5935 * printing.el: Replace all uses of deleted ps-windows-system,
5936 ps-lp-system, ps-flatten-list with lpr- versions.
5938 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5940 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5941 checked with memq (bug#14935).
5943 * files.el (revert-buffer-function): Use a non-nil default.
5944 (revert-buffer-preserve-modes): Declare var to
5945 provide access to the `preserve-modes' argument.
5946 (revert-buffer): Let-bind it.
5947 (revert-buffer--default): New function, extracted from revert-buffer.
5949 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5951 * lpr.el: Signal print errors more prominently.
5952 (print-region-function): Don't default to nil.
5953 (lpr-print-region): New function, extracted from print-region-1.
5954 Check lpr's return value and signal an error in case of problem.
5955 (print-region-1): Use it.
5956 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5958 (ps-printer-name): Default to nil.
5959 (ps-printer-name-option): Default to lpr-printer-switch.
5960 (ps-print-region-function): Don't default to nil.
5961 (ps-postscript-code-directory): Simplify default.
5962 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5963 (ps-string-list, ps-eval-switch, ps-flatten-list)
5964 (ps-flatten-list-1): Remove.
5965 (ps-multibyte-buffer): Avoid setq.
5966 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5967 (print-region-function, ps-print-region-function): Don't set them here.
5969 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5971 * ido.el (ido-fractionp):
5972 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5973 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5974 (ido-max-directory-size, ido-max-dir-file-cache)
5975 (ido-decorations): Doc fix.
5977 * ansi-color.el: Fix old URL.
5979 2013-07-23 Michael R. Mauger <michael@mauger.com>
5981 * progmodes/sql.el: Version 3.3
5982 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5983 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5984 (sql-interactive-remove-continuation-prompt): Rewrite, use
5985 functions above. Fix continuation prompt and complete output line
5987 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5988 redirected output buffer.
5989 (sql-mode): Restore deleted code (Bug#13591).
5991 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5993 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5995 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5997 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5999 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6000 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6001 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6003 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6005 * desktop.el (desktop-clear): Simplify; remove useless checks
6006 against invalid buffer names.
6007 (desktop-list*): Use cl-list*.
6008 (desktop-buffer-info, desktop-create-buffer): Simplify.
6010 2013-07-23 Leo Liu <sdl.web@gmail.com>
6012 * bookmark.el (bookmark-make-record): Restore NAME as a default
6015 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6017 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6018 extracted from autoload--insert-text.
6019 (autoload--insert-text): Remove.
6020 (autoload--print-cookie-text): New function, extracted from
6021 autoload--insert-cookie-text.
6022 (autoload--insert-cookie-text): Remove.
6023 (autoload-generate-file-autoloads): Adjust calls accordingly.
6025 * winner.el (winner-hook-installed-p): Remove.
6026 (winner-mode): Simplify accordingly.
6028 * subr.el (add-to-list): Fix compiler-macro when `append' is
6029 not constant. Don't use `cl-member' for the base case.
6031 * progmodes/subword.el: Fix boundary case (bug#13758).
6032 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6034 (subword-backward-regexp): Make it a constant.
6035 (subword-forward-internal): Don't treat a trailing capital as the
6036 beginning of a word.
6038 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6040 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6041 global value of tabulated-list-revert-hook (bug#14930).
6043 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6045 * desktop.el: Require 'cl-lib.
6046 (desktop-before-saving-frames-functions): New hook.
6047 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6048 for frames being saved. Rename from desktop--save-minibuffer-frames.
6049 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6050 Do not save frames with non-nil `desktop-dont-save' parameter.
6051 Filter out deleted frames.
6052 (desktop--find-frame): Use cl-find-if.
6053 (desktop--select-frame): Use cl-(first|second|third) to access values
6055 (desktop--make-frame): Use cl-delete-if.
6056 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6057 (desktop-restore-frames): Use cl-(first|second|third) to access values
6058 of desktop-mini. Look for visible frame at the end, not while
6061 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6062 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6063 Use string-match-p, looking-at-p (bug#14927).
6065 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6067 * desktop.el (desktop-saved-frame-states):
6068 Rename from desktop--saved-states; all users changed.
6069 (desktop-save-frames): Rename from desktop--save-frames.
6070 Do not save state to desktop file.
6071 (desktop-save): Save desktop-saved-frame-states to desktop file
6073 (desktop-restoring-frames-p): New function.
6074 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6075 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6076 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6078 * desktop.el: Correctly restore iconified frames.
6079 (desktop--filter-iconified-position): New function.
6080 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6082 2013-07-20 Glenn Morris <rgm@gnu.org>
6084 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6085 Let `message' do the formatting.
6086 (def-gdb-preempt-display-buffer): Add explicit format.
6088 * image-dired.el (image-dired-track-original-file):
6089 Use with-current-buffer.
6090 (image-dired-track-thumbnail): Use with-current-buffer.
6091 Avoid changing point of wrong window.
6093 * image-dired.el (image-dired-track-original-file):
6094 Avoid changing point of wrong window. (Bug#14909)
6096 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6098 * progmodes/gdb-mi.el (gdb-done-or-error):
6099 Guard against "%" in gdb output. (Bug#14127)
6101 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6103 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6106 * international/mule.el (coding-system-iso-2022-flags): Fix last
6109 2013-07-20 Kenichi Handa <handa@gnu.org>
6111 * international/mule.el (coding-system-iso-2022-flags):
6112 Add `8-bit-level-4'. (Bug#8522)
6114 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6116 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6119 * net/eww.el (eww-process-text-input): Allow inputting when the
6120 point is at the start of the line, as the properties aren't
6123 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6126 2013-07-19 Richard Stallman <rms@gnu.org>
6128 * epa.el (epa-popup-info-window): Doc fix.
6130 * subr.el (split-string): New arg TRIM.
6132 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6134 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6135 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6137 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6139 * filenotify.el (file-notify--library): Rename from
6140 `file-notify-support'. Do not autoload. Adapt all uses.
6141 (file-notify-supported-p): New defun.
6143 * autorevert.el (auto-revert-use-notify):
6144 Use `file-notify-supported-p' instead of `file-notify-support'.
6146 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6148 * net/tramp.el (tramp-file-name-for-operation):
6149 Add `file-notify-supported-p'.
6151 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6153 (tramp-sh-file-name-handler-alist): Add it as handler for
6154 `file-notify-supported-p '.
6156 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6157 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6158 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6159 Add `ignore' as handler for `file-notify-*' functions.
6161 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6163 * simple.el (line-move-partial, line-move): Don't start vscroll or
6164 scroll-up if the current line is not taller than the window.
6167 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6169 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6170 highlight question marks in the method names as strings.
6171 (ruby-block-beg-keywords): Inline.
6172 (ruby-font-lock-keyword-beg-re): Extract from
6173 `ruby-font-lock-keywords'.
6175 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6177 * frame.el (blink-cursor-blinks): New defcustom.
6178 (blink-cursor-blinks-done): New defvar.
6179 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6180 (blink-cursor-timer-function): Check if number of blinks has been
6182 (blink-cursor-suspend, blink-cursor-check): New defuns.
6184 2013-07-15 Glenn Morris <rgm@gnu.org>
6186 * edmacro.el (edmacro-format-keys): Fix previous change.
6188 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6190 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6191 The hack didn't work outside English locales anyway.
6193 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6195 * simple.el (define-alternatives): Rename from alternatives-define,
6196 per RMS' suggestion.
6198 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6200 * desktop.el (desktop-restore-frames): Change default to t.
6201 (desktop-restore-in-current-display): Now offer more options.
6202 (desktop-restoring-reuses-frames): New customization option.
6203 (desktop--saved-states): Doc fix.
6204 (desktop-filter-parameters-alist): New variable, renamed and expanded
6205 from desktop--excluded-frame-parameters.
6206 (desktop--target-display): New variable.
6207 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6208 (desktop--filter-tty*, desktop--filter-*-color)
6209 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6210 (desktop--filter-save-desktop-parm)
6211 (desktop-restore-in-original-display-p): New functions.
6212 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6213 (desktop--save-minibuffer-frames): New function, inspired by a similar
6214 function from Martin Rudalics.
6215 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6216 (desktop--restore-in-this-display-p): Remove.
6217 (desktop--find-frame): Rename from desktop--find-frame-in-display
6218 and add predicate argument.
6219 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6220 (desktop--reuse-list): New variable.
6221 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6223 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6225 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6227 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6229 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6231 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6232 Highlight conversion methods on Kernel.
6234 2013-07-13 Alan Mackenzie <acm@muc.de>
6236 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6237 and comment it out. This out-commenting enables certain C++
6238 declarations to be parsed correctly.
6240 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6242 * international/mule.el (define-coding-system): Doc fix.
6244 * simple.el (default-font-height): Don't call font-info if the
6245 frame's default font didn't change since the frame was created.
6248 2013-07-13 Leo Liu <sdl.web@gmail.com>
6250 * ido.el (ido-read-file-name): Guard against non-symbol value.
6252 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6254 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6257 2013-07-13 Leo Liu <sdl.web@gmail.com>
6259 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6260 ido-set-matches call. (Bug#6852)
6262 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6264 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6265 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6267 (ruby-font-lock-keywords): Distinguish calls to functions with
6268 module-like names from module references. Highlight character
6271 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6273 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6274 (gdb-send): Handle continued commands. (Bug#14847)
6276 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6278 * desktop.el (desktop--v2s): Remove unused local variable.
6279 (desktop-save-buffer): Make defvar-local; adjust docstring.
6280 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6281 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6283 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6285 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6287 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6289 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6292 2013-07-12 Glenn Morris <rgm@gnu.org>
6294 * doc-view.el: Require cl-lib at runtime too.
6295 (doc-view-remove-if): Remove.
6296 (doc-view-search-next-match, doc-view-search-previous-match):
6299 * edmacro.el: Require cl-lib at runtime too.
6300 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6301 (edmacro-mismatch, edmacro-subseq): Remove.
6303 * shadowfile.el: Require cl-lib.
6304 (shadow-remove-if): Remove.
6305 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6308 * wid-edit.el: Require cl-lib.
6309 (widget-choose): Use cl-remove-if.
6310 (widget-remove-if): Remove.
6312 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6313 (ebrowse-delete-if-not): Remove.
6314 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6315 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6316 Use cl-delete-if-not.
6318 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6320 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6321 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6323 2013-07-12 Leo Liu <sdl.web@gmail.com>
6325 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6327 2013-07-11 Glenn Morris <rgm@gnu.org>
6329 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6330 (edebug-gensym-index, edebug-gensym):
6331 Remove reimplementation of cl-gensym.
6332 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6334 * thumbs.el: Require cl-lib at run-time too.
6335 (thumbs-gensym-counter, thumbs-gensym):
6336 Remove reimplementation of cl-gensym.
6337 (thumbs-temp-file): Use cl-gensym.
6339 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6340 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6341 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6342 (ert--union, ert--gensym-counter, ert--gensym-counter)
6343 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6344 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6345 (ert-make-test-unbound, ert--expand-should-1)
6346 (ert--expand-should, ert--should-error-handle-error)
6347 (should-error, ert--explain-equal-rec)
6348 (ert--plist-difference-explanation, ert-select-tests)
6349 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6350 Use cl-lib functions rather than reimplementations.
6352 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6354 * net/tramp.el (tramp-methods): Extend docstring.
6355 (tramp-connection-timeout): New defcustom.
6356 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6357 (with-tramp-progress-reporter): Simplify.
6358 (tramp-process-actions): Improve messages.
6360 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6361 * net/tramp-sh.el (tramp-maybe-open-connection):
6362 Use `tramp-connection-timeout'.
6363 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6366 2013-07-11 Leo Liu <sdl.web@gmail.com>
6368 * ido.el (ido-read-file-name): Conform to the requirements of
6369 read-file-name. (Bug#11861)
6370 (ido-read-directory-name): Conform to the requirements of
6371 read-directory-name.
6373 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6375 * subr.el (delay-warning): New function.
6377 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6379 * simple.el (default-line-height): New function.
6380 (line-move-partial, line-move): Use it instead of computing the
6382 (line-move-partial): Always compute ROWH. If the last line is
6383 partially-visible, but its text is completely visible, allow
6384 cursor to enter such a partially-visible line.
6386 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6388 Improve error messages. (Bug#14808)
6390 * net/tramp.el (tramp-current-connection): New defvar, moved from
6392 (tramp-message-show-progress-reporter-message): Remove, not
6394 (tramp-error-with-buffer): Show message in minibuffer.
6395 Discard input before waiting. Reset connection timestamp.
6396 (with-tramp-progress-reporter): Improve messages.
6397 (tramp-process-actions): Use progress reporter. Delete process in
6398 case of error. Improve messages.
6400 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6401 Call `tramp-error-with-buffer' with vector and buffer.
6402 (tramp-current-connection): Remove.
6403 (tramp-maybe-open-connection): The car of
6404 `tramp-current-connection' are the first 3 slots of the vector.
6406 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6408 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6409 inside continued strings.
6411 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6413 Timestamp fixes for undo (Bug#14824).
6414 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6416 2013-07-10 Leo Liu <sdl.web@gmail.com>
6418 * files.el (require-final-newline): Allow safe local value.
6421 2013-07-09 Leo Liu <sdl.web@gmail.com>
6423 * ido.el (ido-read-directory-name): Handle fallback.
6424 (ido-read-file-name): Update DIR to ido-current-directory.
6426 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6428 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6430 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6431 "autoload". Remove "warn lower camel case" section, previously
6432 commented out. Highlight negation char. Do not highlight the
6433 target in singleton method definitions.
6435 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6437 * faces.el (tty-setup-hook): Declare the hook.
6439 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6440 and detect when a guard/pred depends on local vars (bug#14773).
6441 (pcase--u1): Adjust caller.
6443 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6445 * simple.el (line-move-partial, line-move): Account for
6447 (line-move-partial): Avoid setting vscroll when the last
6448 partially-visible line in window is of default height.
6450 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6452 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6455 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6457 * subr.el (read-quoted-char): Remove unused local variable `char'.
6459 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6461 * ediff.el (ediff-version): Version update.
6462 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6463 (ediff-merge-with-ancestor-command, ediff-directories-command)
6464 (ediff-directories3-command, ediff-merge-directories-command)
6465 (ediff-merge-directories-with-ancestor-command): New functions.
6466 All are command-line interfaces to ediff: to facilitate calling
6467 Emacs with the appropriate ediff functions invoked.
6469 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6470 (viper-save-kill-buffer): Check if buffer is modified.
6472 * viper.el (viper-version): Version update.
6473 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6475 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6477 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6478 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6479 (viper-intercept-ESC-key): Simplify.
6480 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6481 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6482 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6483 (viper-setup-ESC-to-escape): New functions.
6484 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6485 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6487 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6489 * simple.el (default-font-height, window-screen-lines):
6491 (line-move, line-move-partial): Use them instead of
6492 frame-char-height and window-text-height. This makes scrolling
6493 text smoother when the buffer's default face uses a font that is
6494 different from the frame's default font.
6496 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6498 * files.el (write-file): Do not display confirm dialog for NS,
6499 it does its own dialog, which can't be cancelled (Bug#14578).
6501 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6503 * simple.el (line-move-partial): Adjust the row returned by
6504 posn-at-point for the current window-vscroll. (Bug#14567)
6506 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6508 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6509 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6512 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6514 * window.el (window-state-put-stale-windows): New variable.
6515 (window--state-put-2): Save list of windows without matching buffer.
6516 (window-state-put): Remove "bufferless" windows if possible.
6518 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6520 * simple.el (alternatives-define): Remove leftover :group keyword.
6523 2013-07-06 Leo Liu <sdl.web@gmail.com>
6525 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6526 (ido-enable-virtual-buffers): New variable.
6527 (ido-buffer-internal, ido-toggle-virtual-buffers)
6528 (ido-make-buffer-list): Use it.
6529 (ido-exhibit): Support turning on and off virtual buffers
6532 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6534 * simple.el (alternatives-define): New macro.
6536 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6538 * subr.el (read-quoted-char): Use read-key.
6539 (sit-for): Let read-event decode tty input (bug#14782).
6541 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6543 * calendar/todo-mode.el: Add handling of file deletion, both by
6544 mode command and externally. Fix various related bugs.
6545 Clarify Commentary and improve some documentation strings and code.
6546 (todo-delete-file): New command.
6547 (todo-check-file): New function.
6548 (todo-show): Handle external deletion of the file we're trying to
6549 show (bug#14688). Replace called-interactively-p by an optional
6550 prefix argument to avoid problematic interaction with catch form
6551 when byte compiled (bug#14702).
6552 (todo-quit): Handle external deletion of the archive's todo file.
6553 Make sure the buffer that was visiting the archive file is still
6554 live before trying to bury it.
6555 (todo-category-completions): Handle external deletion of any
6556 category completion files.
6557 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6558 of todo files, in case of external deletion.
6559 (todo-add-file): Replace unnecessary setq by let-binding.
6560 (todo-find-archive): Check whether there are any archives.
6561 Replace unnecessary setq by let-binding.
6562 (todo-archive-done-item): Use find-file-noselect to get the
6563 archive buffer whether or not the archive already exists.
6564 Remove superfluous code. Use file size instead of buffer-file-name to
6565 check if the archive is new; if it is, update list of archives.
6566 (todo-default-todo-file): Allow nil to be a valid value for when
6567 there are no todo files.
6568 (todo-reevaluate-default-file-defcustom): Use corrected definition
6569 of todo-default-todo-file.
6570 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6571 (todo-delete-category, todo-show-categories-table)
6572 (todo-category-number): Clarify comment.
6573 (todo-filter-items): Clarify documentation string.
6574 (todo-show-current-file, todo-display-as-todo-file)
6575 (todo-reset-and-enable-done-separator): Tweak documentation string.
6576 (todo-done-separator): Make separator length window-width, since
6577 bug#2749 is now fixed.
6579 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6581 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6582 Support both "gvfs-monitor-dir" and "inotifywait".
6583 (tramp-sh-file-inotifywait-process-filter): Rename from
6584 `tramp-sh-file-notify-process-filter'.
6585 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6586 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6588 2013-07-05 Leo Liu <sdl.web@gmail.com>
6590 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6592 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6594 * frame.el (display-pixel-height, display-pixel-width)
6595 (display-mm-height, display-mm-width): Mention behavior on
6596 multi-monitor setups in docstrings.
6597 (w32-display-monitor-attributes-list): Declare function.
6598 (display-monitor-attributes-list): Use it.
6600 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6602 * filenotify.el: New package.
6604 * autorevert.el (top): Require filenotify.el.
6605 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6607 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6608 (auto-revert-notify-handler): Use `file-notify-*' functions.
6610 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6612 * net/tramp.el (tramp-file-name-for-operation):
6613 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6615 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6616 for `file-notify-add-watch' and `file-notify-rm-watch'.
6617 (tramp-process-sentinel): Improve trace.
6618 (tramp-sh-handle-file-notify-add-watch)
6619 (tramp-sh-file-notify-process-filter)
6620 (tramp-sh-handle-file-notify-rm-watch)
6621 (tramp-get-remote-inotifywait): New defuns.
6623 2013-07-03 Juri Linkov <juri@jurta.org>
6625 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6626 call of `occur-read-primary-args' to interactive spec.
6628 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6629 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6631 2013-07-03 Matthias Meulien <orontee@gmail.com>
6633 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6634 `Buffer-menu-multi-occur'. Add it to the menu.
6635 (Buffer-menu-mode): Document it in docstring.
6636 (Buffer-menu-multi-occur): New command. (Bug#14673)
6638 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6640 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6641 keywords and built-ins.
6643 2013-07-03 Glenn Morris <rgm@gnu.org>
6645 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6647 Make info-xref checks case-sensitive by default
6648 * info.el (Info-find-node, Info-find-in-tag-table)
6649 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6650 Add option for exact case matching of nodes.
6651 * info-xref.el (info-xref): New custom group.
6652 (info-xref-case-fold): New option.
6653 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6655 2013-07-03 Leo Liu <sdl.web@gmail.com>
6657 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6659 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6661 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6662 middle of block statement initially, lower the depth. Remove
6663 FIXME comment, not longer valid. Remove middle of block statement
6664 detection, no need to do that anymore since we've been using
6665 `ruby-parse-region' here.
6667 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6669 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6671 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6673 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6675 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6677 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6678 (desktop-restore-in-current-display): New customization option.
6679 (desktop--excluded-frame-parameters): Add `font'.
6680 (desktop--save-frames): Rename from desktop--save-windows.
6681 (desktop--restore-in-this-display-p): New function.
6682 (desktop--make-full-frame): Remove unwanted width/height from
6683 full(width|height) frames.
6684 (desktop--restore-frames): Rename from desktop--restore-windows.
6685 Obey desktop-restore-current-display. Do not delete old frames or
6686 select a new frame unless we were able to restore at least one frame.
6688 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6690 * files.el (find-file-noselect): Simplify conditional expression.
6692 * remember.el (remember-append-to-file):
6693 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6695 Add `remember-notes' function to store random notes across Emacs
6697 * remember.el (remember-data-file): Add :set callback to affect
6698 notes buffer (if any).
6699 (remember-notes): New command.
6700 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6701 New defcustoms for the `remember-notes' function.
6702 (remember-notes-save-and-bury-buffer): New command.
6703 (remember-notes-mode-map): New variable.
6704 (remember-mode): New minor mode.
6705 (remember-notes--kill-buffer-query): New function.
6706 * startup.el (initial-buffer-choice): Add notes to custom type.
6708 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6710 * bindings.el (right-char, left-char): Don't call sit-for, this is
6711 no longer needed. Use arithmetic comparison only for numerical
6714 * international/mule-cmds.el (select-safe-coding-system):
6715 Handle the case of FROM being a string correctly. (Bug#14755)
6717 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6719 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6720 progression on degenerate tables.
6721 (shr-rescale-image): ImageMagick animated images currently don't work.
6723 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6725 Some fixes and improvements for desktop frame restoration.
6726 It is still experimental and disabled by default.
6727 * desktop.el (desktop--save-windows): Put the selected frame at
6728 the head of the list.
6729 (desktop--make-full-frame): New function.
6730 (desktop--restore-windows): Try to re-select the frame that was
6731 selected upon saving. Do not abort if some frames fail to restore,
6732 just show an error message and continue. Set up maximized frames
6733 so they have default non-maximized dimensions.
6735 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6737 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6738 Don't start heredoc inside a string or comment.
6740 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6742 * bindings.el (visual-order-cursor-movement): New defcustom.
6743 (right-char, left-char): Provide visual-order cursor motion by
6744 calling move-point-visually. Update the doc strings.
6746 2013-06-28 Kenichi Handa <handa@gnu.org>
6748 * international/mule.el (define-coding-system): New coding system
6749 properties :inhibit-null-byte-detection,
6750 :inhibit-iso-escape-detection, and :prefer-utf-8.
6751 (set-buffer-file-coding-system): If :charset-list property of
6752 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6753 appropriate for setting.
6755 * international/mule-cmds.el (select-safe-coding-system):
6756 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6757 multibyte characters, return utf-8 (or one of its siblings).
6759 * international/mule-conf.el (prefer-utf-8): New coding system.
6760 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6763 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6765 * net/shr.el (shr-render-region): New function.
6767 * net/eww.el: Autoload `eww-browse-url'.
6769 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6771 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6772 Adapt to `package-desc-version' being a list.
6773 Use `package--ac-desc-version' to retrieve version from a package
6776 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6778 New experimental feature to save&restore window and frame setup.
6779 * desktop.el (desktop-save-windows): New defcustom.
6780 (desktop--saved-states): New var.
6781 (desktop--excluded-frame-parameters): New defconst.
6782 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6783 (desktop--restore-windows, desktop--save-windows): New functions.
6784 (desktop-save): Call `desktop--save-windows'.
6785 (desktop-read): Call `desktop--restore-windows'.
6787 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6789 * net/shr.el (add-face-text-property): Remove compat definition.
6791 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6793 * info.el (Info-try-follow-nearest-node): Move search for footnote
6794 above search for node name to prevent missing a footnote (bug#14717).
6796 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6798 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6800 2013-06-27 Leo Liu <sdl.web@gmail.com>
6802 * net/eww.el (eww-read-bookmarks): Check file size.
6804 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6806 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6807 advice--pending if newdef is nil or an autoload (bug#13820).
6808 (advice-mapc): New function.
6810 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6812 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6814 (eww-mode-map): Add a menu bar.
6815 (eww-add-bookmark): New command.
6816 (eww-bookmark-mode): New mode and commands.
6817 (eww-add-bookmark): Remove newlines from the title.
6818 (eww-bookmark-browse): Don't bug out if it's the only window.
6820 2013-06-26 Glenn Morris <rgm@gnu.org>
6822 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6823 (hfy-size): Handle ttys. (Bug#14668)
6825 * info-xref.el: Update for Texinfo 5 change in *note format.
6826 (info-xref-node-re, info-xref-note-re): New constants.
6827 (info-xref-check-buffer): Use info-xref-note-re.
6829 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6831 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6833 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6834 nil terminate the loop (bug#14718).
6836 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6838 * net/eww.el: Rework history traversal. When going forward/back,
6839 put these actions into the history, too, so that they can be
6841 (eww-render): Move the history reset to the correct buffer.
6843 2013-06-25 Juri Linkov <juri@jurta.org>
6845 * files-x.el (modify-dir-local-variable): Change the header comment
6846 in the file with directory local variables. (Bug#14692)
6848 * files-x.el (read-file-local-variable-value): Add `default'.
6851 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6853 * net/eww.el (eww-make-unique-file-name): Create a unique file
6854 name before saving to entering `y' accidentally asynchronously.
6856 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6858 * net/eww.el (eww-download): New command and keystroke.
6860 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6862 * net/eww.el (eww-copy-page-url): Change name of command.
6864 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6865 be more consistent with Info and dired.
6867 * net/eww.el (eww-mode-map): Ditto.
6869 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6871 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6872 packages from archives.
6873 (package-archive-contents): Change format; include obsolete packages.
6874 (package-desc): Use `dir' to mark builtin packages.
6875 (package--from-builtin): Set the `dir' field to `builtin'.
6876 (generated-autoload-file, version-control): Declare.
6877 (package-compute-transaction): Change first arg and return value to be
6878 lists of package-descs. Adjust to new package-archive-contents format.
6879 (package--add-to-archive-contents): Adjust to new
6880 package-archive-contents format.
6881 (package-download-transaction): Arg is now a list of package-descs.
6882 (package-install): If `pkg' is a package name, pass it as
6883 a requirement, so it is subject to the usual (e.g. disabled) checks.
6884 (describe-package): Accept package-desc as well.
6885 (describe-package-1): Describe a specific package-desc. Add links to
6886 other package-descs for the same package name.
6887 (package-menu-describe-package): Pass the actual package-desc.
6888 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6890 (package-desc-status): New function.
6891 (package-menu--refresh): New function, extracted
6892 from package-menu--generate.
6893 (package-menu--generate): Use it.
6894 (package-delete): Update package-alist.
6895 (package-menu-execute): Don't call package-initialize.
6897 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6898 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6899 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6900 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6901 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6902 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6904 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6906 * window.el (window--state-get-1): Workaround for bug#14527.
6907 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6909 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6911 * net/eww.el (eww-back-url): Implement the history by stashing all
6912 the data into a list.
6913 (eww-forward-url): Allow going forward in the history, too.
6915 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6917 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6918 for values and use read--expression for expressions (bug#14710).
6919 (read-file-local-variable): Avoid setq.
6920 (read-file-local-variable-mode): Use minor-mode-list.
6922 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6924 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6927 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6929 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6930 Update imenu-support when dialect changes.
6932 2013-06-25 Leo Liu <sdl.web@gmail.com>
6934 * ido.el (ido-read-internal): Allow forward slash on windows.
6936 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6938 * net/eww.el (eww): Start of strings is \\`, not ^.
6940 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6942 * net/shr.el (shr-browse-url): Fix interactive spec.
6944 * net/eww.el (eww): Add a trailing slash to domain names.
6946 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6948 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6950 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6952 * net/shr.el (shr-browse-url): Use an external browser if given a
6955 * net/eww.el (eww-external-browser): Move to shr.
6957 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6959 * net/eww.el (eww): Work more correctly for file: URLs.
6960 (eww-detect-charset): Allow quoted charsets.
6961 (eww-yank-page-url): New command and keystroke.
6963 2013-06-24 Daiki Ueno <ueno@gnu.org>
6965 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6966 file name of gpg executable.
6967 (epg-context-program): New function.
6968 (epg-context-home-directory): New function.
6969 (epg-context-set-program): New function.
6970 (epg-context-set-home-directory): New function.
6971 (epg--start): Use `epg-context-program' instead of
6973 (epg--list-keys-1): Likewise.
6975 2013-06-24 Leo Liu <sdl.web@gmail.com>
6977 * ido.el (ido-read-internal): Fix bug#14620.
6979 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6981 * faces.el (face-documentation): Simplify.
6982 (read-face-attribute, tty-find-type, x-resolve-font-name):
6983 Use `string-match-p'.
6984 (list-faces-display): Use `string-match-p'. Simplify.
6985 (face-spec-recalc): Check face to avoid face alias loops.
6986 (read-color): Use `string-match-p' and non-capturing parenthesis.
6988 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6990 * net/shr.el (shr-rescale-image): Use the new
6991 :max-width/:max-height functionality.
6993 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6995 * net/eww.el (eww-search-prefix): New variable.
6997 (eww-external-browser): New variable.
6998 (eww-mode-map): New keystroke.
6999 (eww-browse-with-external-browser): New command.
7001 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7003 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7005 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7006 Don't skip aligning the next header field when padding is 0;
7007 otherwise, field width is not respected unless the title is as
7010 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7012 * emacs-lisp/package.el (package-el-version): Remove.
7013 (package-process-define-package): Fix inf-loop.
7014 (package-install): Allow symbols as arguments again.
7016 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7018 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7019 add some more keyword-like methods.
7020 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7022 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7024 * bs.el (bs-buffer-show-mark): Make defvar-local.
7025 (bs-mode): Use setq-local.
7027 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7028 (emacs-lock--try-unlocking): Make defvar-local.
7030 2013-06-22 Glenn Morris <rgm@gnu.org>
7032 * play/cookie1.el (cookie-apropos): Minor simplification.
7034 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7036 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7038 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7039 `regexp-opt', it breaks the build during dumping.
7041 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7043 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7044 Highlight keyword-like methods on Kernel and Module with
7045 font-lock-builtin-face.
7046 (auto-mode-alist): Consolidate different entries into one regexp
7047 and add more *file-s.
7049 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7051 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7053 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7054 (diary-entry): Use it in the action of this button type instead of
7057 * calendar/todo-mode.el: New version.
7058 (todo-add-category): Append new category to end of file and give
7059 it the highest number, instead of putting it at the beginning and
7060 giving it 0. Incorporate noninteractive functionality.
7061 (todo-forward-category): Adapt to 1-based category numbering.
7062 Allow skipping over archived categories.
7063 (todo-backward-category): Derive from todo-forward-category.
7064 (todo-backward-item, todo-forward-item): Make noninteractive and
7065 delegate interactive part to new commands. Make sensitive to done items.
7066 (todo-categories): Make value an alist of category names and
7067 vectors of item counts.
7068 (todo-category-beg): Make a defconst.
7069 (todo-category-number): Use 1 instead of 0 as initial value.
7070 (todo-category-select): Make sensitive to overlays, optional item
7071 highlighting and done items.
7072 (todo-delete-item): Make sensitive to overlays and marked and done items.
7073 (todo-edit-item): Make sensitive to overlays and editing of
7074 date/time header optional. Add format checks.
7075 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7076 no-op if point is not on an item. Advertise using todo-edit-quit.
7077 (todo-edit-mode): Make sensitive to new format, font-locking, and
7078 multiple todo files.
7079 (todo-insert-item, todo-insert-item-here): Derive from
7080 todo-basic-insert-item and extend functionality.
7081 (todo-item-end, todo-item-start): Make sensitive to done items.
7082 (todo-item-string): Don't return text properties. Restore point.
7083 (todo-jump-to-category): Make sensitive to multiple todo files and
7084 todo archives. Use extended category completion.
7085 (todo-lower-item, todo-raise-item): Rename to *-priority and
7086 derive from todo-set-item-priority.
7087 (todo-mode): Derive from special-mode. Make sensitive to new
7088 format, font-locking and multiple todo files. Make read-only.
7089 (todo-mode-map): Don't suppress digit keys, so they can supply
7090 prefix arguments. Add many new key bindings.
7091 (todo-prefix): Insert as an overlay instead of file text.
7092 Change semantics from diary date expression to purely visual mark.
7093 (todo-print): Rename to todo-print-buffer. Make buffer display
7094 features printable. Remove option to restrict number of items
7095 printed. Add option to print to file.
7096 (todo-print-function): Rename to todo-print-buffer-function.
7097 (todo-quit): Extend to handle exiting new todo modes.
7098 (todo-remove-item): Make sensitive to overlays.
7099 (todo-save): Extend to buffers of filtered items.
7100 (todo-show): Make sensitive to done items, multiple todo files and
7101 new todo modes. Offer to convert legacy todo file before creating
7102 first new todo file.
7103 (todo-show-priorities): Rename to todo-top-priorities.
7104 Change semantics of value 0.
7105 (todo-top-priorities): Rename to todo-filter-top-priorities,
7106 derive from todo-filter-items and extend functionality.
7107 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7108 and extend functionality to other types of filtered items.
7109 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7110 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7111 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7112 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7113 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7114 (todo-edit-mode-hook, todo-entry-prefix-function)
7115 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7116 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7117 (todo-initials, todo-insert-threshold, todo-item-string-start)
7118 (todo-line-string, todo-menu, todo-mode-hook)
7119 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7120 (todo-print-priorities, todo-remove-separator)
7121 (todo-save-top-priorities-too, todo-string-count-lines)
7122 (todo-string-multiline-p, todo-time-string-format)
7123 (todo-tmp-buffer-name): Remove.
7124 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7125 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7126 (todo-edit-category-diary-inclusion)
7127 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7128 (todo-edit-file, todo-edit-item-date-day)
7129 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7130 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7131 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7132 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7133 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7134 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7135 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7136 (todo-filter-top-priorities-multifile, todo-find-archive)
7137 (todo-find-filtered-items-file, todo-go-to-source-item)
7138 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7139 (todo-jump-to-archive-category, todo-lower-category)
7140 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7141 (todo-move-category, todo-move-item, todo-next-button)
7142 (todo-next-item, todo-padded-string, todo-powerset)
7143 (todo-previous-button, todo-previous-item)
7144 (todo-print-buffer-to-file, todo-raise-category)
7145 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7146 (todo-set-category-number, todo-set-item-priority)
7147 (todo-set-top-priorities-in-category)
7148 (todo-set-top-priorities-in-file, todo-show-categories-table)
7149 (todo-sort-categories-alphabetically-or-numerically)
7150 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7151 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7152 (todo-toggle-item-header, todo-toggle-item-highlighting)
7153 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7154 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7155 (todo-unarchive-items, todo-unmark-category): New commands.
7156 (todo-absolute-file-name, todo-add-to-buffer-list)
7157 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7158 (todo-basic-insert-item, todo-category-completions)
7159 (todo-category-number, todo-category-string-matcher-1)
7160 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7161 (todo-check-format, todo-clear-matches)
7162 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7163 (todo-current-category, todo-date-string-matcher)
7164 (todo-define-insertion-command, todo-diary-expired-matcher)
7165 (todo-diary-goto-entry, todo-diary-item-p)
7166 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7167 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7168 (todo-done-item-section-p, todo-done-separator)
7169 (todo-done-string-matcher, todo-files, todo-filter-items)
7170 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7171 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7172 (todo-insert-category-line, todo-insert-item-from-calendar)
7173 (todo-insert-sort-button, todo-insert-with-overlays)
7174 (todo-insertion-command-name, todo-insertion-key-bindings)
7175 (todo-label-to-key, todo-longest-category-name-length)
7176 (todo-make-categories-list, todo-mode-external-set)
7177 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7178 (todo-modes-set-3, todo-multiple-filter-files)
7179 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7180 (todo-read-category, todo-read-date, todo-read-dayname)
7181 (todo-read-file-name, todo-read-time)
7182 (todo-reevaluate-category-completions-files-defcustom)
7183 (todo-reevaluate-default-file-defcustom)
7184 (todo-reevaluate-filelist-defcustoms)
7185 (todo-reevaluate-filter-files-defcustom)
7186 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7187 (todo-reset-done-separator, todo-reset-done-separator-string)
7188 (todo-reset-done-string, todo-reset-global-current-todo-file)
7189 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7190 (todo-reset-prefix, todo-set-categories)
7191 (todo-set-date-from-calendar, todo-set-show-current-file)
7192 (todo-set-top-priorities, todo-short-file-name)
7193 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7194 (todo-total-item-counts, todo-update-buffer-list)
7195 (todo-update-categories-display, todo-update-categories-sexp)
7196 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7198 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7200 (todo-categories, todo-display, todo-edit, todo-faces)
7201 (todo-filtered): New defgroups.
7202 (todo-archived-only, todo-button, todo-category-string, todo-date)
7203 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7204 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7205 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7206 (todo-add-item-if-new-category, todo-always-add-time-string)
7207 (todo-categories-align, todo-categories-archived-label)
7208 (todo-categories-category-label, todo-categories-diary-label)
7209 (todo-categories-done-label, todo-categories-number-separator)
7210 (todo-categories-todo-label, todo-categories-totals-label)
7211 (todo-category-completions-files, todo-completion-ignore-case)
7212 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7213 (todo-done-separator-string, todo-done-string)
7214 (todo-files-function, todo-filter-done-items, todo-filter-files)
7215 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7216 (todo-initial-category, todo-initial-file, todo-item-mark)
7217 (todo-legacy-date-time-regexp, todo-mode-line-function)
7218 (todo-nondiary-marker, todo-number-prefix)
7219 (todo-print-buffer-function, todo-show-current-file)
7220 (todo-show-done-only, todo-show-first, todo-show-with-done)
7221 (todo-skip-archived-categories, todo-top-priorities-overrides)
7222 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7223 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7225 (todo-category-done, todo-date-pattern, todo-date-string-start)
7226 (todo-diary-items-buffer, todo-done-string-start)
7227 (todo-filtered-items-buffer, todo-item-start)
7228 (todo-month-abbrev-array, todo-month-name-array)
7229 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7230 (todo-top-priorities-buffer): New defconsts.
7231 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7232 (todo-categories-with-marks, todo-category-string-face)
7233 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7234 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7235 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7236 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7237 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7238 (todo-font-lock-keywords, todo-global-current-todo-file)
7239 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7240 (todo-insertion-commands-args)
7241 (todo-insertion-commands-args-genlist)
7242 (todo-insertion-commands-names, todo-insertion-map)
7243 (todo-key-bindings-t, todo-key-bindings-t+a)
7244 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7245 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7246 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7247 (todo-visited): New variables.
7249 2013-06-21 Glenn Morris <rgm@gnu.org>
7251 * play/cookie1.el (cookie-apropos): Add optional display argument.
7252 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7253 (psychoanalyze-pinhead): Use cookie-doctor.
7255 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7257 * emacs-lisp/package.el (tar-get-file-descriptor)
7258 (tar--extract): Declare.
7260 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7262 Extend flymake's warning predicate to be a function (bug#14217).
7263 * progmodes/flymake.el (flymake-warning-predicate): New.
7264 (flymake-parse-line): Use it.
7265 (flymake-warning-re): Make obsolete alias to
7266 `flymake-warning-predicate'.
7268 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7270 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7271 (package-obsolete-list): Remove.
7272 (package-activate): Remove min-version argument. Add `force' argument.
7273 Adjust to new package-alist format.
7274 (package-mark-obsolete): Remove.
7275 (package-unpack): Force reload of the package's autoloads.
7276 (package-installed-p): Check builtins if the installed package is not
7278 (package-initialize): Don't reset package-obsolete-list.
7279 Don't specify which package version to activate.
7280 (package-process-define-package, describe-package-1)
7281 (package-menu--generate): Adjust to new package-alist format.
7283 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7285 * allout-widgets.el (allout-widgets-mode-off)
7286 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7287 (allout-widgets-post-command-business)
7288 (allout-widgets-after-copy-or-kill-function)
7289 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7290 (allout-decorate-item-and-context)
7291 (allout-graphics-modification-handler): Fix typos in docstrings.
7292 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7294 * cmuscheme.el (scheme-start-file): Doc fix.
7295 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7296 (scheme-input-filter): Use `string-match-p'.
7298 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7300 * dired-x.el: Use Dired consistently in docstrings.
7302 * dired.el: Use Dired consistently in docstrings.
7303 (dired-readin, dired-mode): Use `setq-local'.
7304 (dired-switches-alist): Make defvar-local.
7305 (dired-buffers-for-dir): Use `zerop'.
7306 (dired-safe-switches-p, dired-switches-escape-p)
7307 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7308 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7309 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7310 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7311 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7312 (dired-toggle-marks, dired-mark-files-containing-regexp)
7313 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7314 (dired-flag-auto-save-files, dired-flag-backup-files):
7316 (dired-mark-files-regexp, dired-build-subdir-alist):
7317 Use `string-match-p', `looking-at-p'.
7319 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7320 (direct-print-region-helper): Use `string-match-p'.
7322 2013-06-21 Leo Liu <sdl.web@gmail.com>
7324 * comint.el (comint-redirect-results-list-from-process):
7327 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7329 * net/eww.el (eww-update-header-line-format): Quote % characters.
7331 2013-06-21 Glenn Morris <rgm@gnu.org>
7333 * play/cookie1.el (cookie): New custom group.
7334 (cookie-file): New option.
7335 (cookie-check-file): New function.
7336 (cookie): Make it interactive. Make start and end messages optional.
7337 Interactively, display the result. Default to cookie-file.
7338 (cookie-insert): Default to cookie-file.
7339 (cookie-snarf): Make start and end messages optional.
7340 Default to cookie-file. Use with-temp-buffer.
7341 (cookie-read): Rename from read-cookie.
7342 Make start and end messages optional. Default to cookie-file.
7343 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7345 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7346 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7348 2013-06-21 Leo Liu <sdl.web@gmail.com>
7350 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7352 2013-06-21 Glenn Morris <rgm@gnu.org>
7354 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7356 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7357 Daniel Hackney <dan@haxney.org>
7359 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7360 Consolidate the single-file vs tarball code.
7361 (package-desc-suffix): New function.
7362 (package-desc-full-name): Don't bother inlining it.
7363 (package-load-descriptor): Return the new package-desc.
7364 (package-mark-obsolete): Remove unused arg `package'.
7365 (package-unpack): Make it work for single files as well.
7366 Make it update package-alist.
7367 (package--make-autoloads-and-stuff): Rename from
7368 package--make-autoloads-and-compile. Don't compile any more.
7369 (package--compile): New function.
7370 (package-generate-description-file): New function, extracted from
7371 package-unpack-single.
7372 (package-unpack-single): Remove.
7373 (package--with-work-buffer): Add indentation and debugging info.
7374 (package-download-single): Remove.
7375 (package-install-from-archive): Rename from package-download-tar, make
7376 it take a pkg-desc, and make it work for single files as well.
7377 (package-download-transaction): Simplify.
7378 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7379 external tar program.
7380 (package-install-from-buffer): Remove `pkg-desc' argument.
7381 Use package-tar-file-info for tar-mode buffers.
7382 (package-install-file): Simplify accordingly.
7383 (package-archive-base): Change to take a pkg-desc.
7384 * tar-mode.el (tar--check-descriptor): New function, extracted from
7386 (tar-get-descriptor): Use it.
7387 (tar-get-file-descriptor): New function.
7388 (tar--extract): New function, extracted from tar-extract.
7389 (tar--extract): Use it.
7390 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7391 case the summary uses non-ascii. Adjust to new calling convention of
7392 package-tar-file-info.
7394 2013-06-21 Leo Liu <sdl.web@gmail.com>
7396 * comint.el (comint-redirect-results-list-from-process):
7397 Fix random delay. (Bug#14681)
7399 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7401 * profiler.el (profiler-format-number): Use log, not log10.
7403 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7405 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7407 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7409 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7410 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7412 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7413 (AUTOGENEL): ... here.
7414 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7415 (cl--defsubst-expand): Use it.
7417 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7419 * subr.el (log10): Move here from C code, and declare as obsolete.
7420 All uses of (log10 X) replaced with (log X 10).
7422 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7424 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7425 Declare with `defvar-local'.
7426 (tabulated-list-use-header-line, tabulated-list-entries)
7427 (tabulated-list-padding, tabulated-list-printer)
7428 (tabulated-list-sort-key): Declare with `defvar-local'.
7429 (tabulated-list-init-header, tabulated-list-print-fake-header):
7432 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7434 * arc-mode.el (archive-mode): Add `archive-write-file' to
7435 `write-contents-functions' also for remote files. (Bug#14652)
7437 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7439 * cus-edit.el (custom-commands): Fix typos.
7440 (custom-display): Fix tooltip text.
7441 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7442 Fix typos in docstrings.
7443 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7444 (custom-unlispify-menu-entry, custom-magic-value-create)
7445 (custom-add-see-also, custom-group-value-create): Use ?\s.
7446 (custom-guess-type, customize-apropos, editable-field)
7447 (custom-face-value-create): Use `string-match-p'.
7448 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7450 * custom.el (custom-load-symbol): Use `string-match-p'.
7452 * ansi-color.el: Convert to lexical binding.
7453 (ansi-colors): Fix URL.
7454 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7455 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7456 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7458 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7460 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7462 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7464 2013-06-19 Tom Tromey <tromey@redhat.com>
7466 * net/eww.el (eww-top-url): Remove.
7467 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7468 (eww-render): Set new variables. Don't set eww-top-url.
7469 (eww-handle-link): Handle "prev", "home", and "contents".
7470 Downcase the rel text.
7471 (eww-top-url): Choose best top URL.
7473 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7475 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7476 relying in widget.el. Using widget.el leads to too many
7477 user interface inconsistencies.
7478 (eww-self-insert): Implement entering commands in text fields.
7479 (eww-process-text-input): New function to make text input field editing
7481 (eww-submit): Rewrite to use the new-style form methods.
7482 (eww-select-display): Display the correct selected item.
7483 (eww-change-select): Implement changing the select value.
7484 (eww-toggle-checkbox): Implement radio/checkboxes.
7485 (eww-update-field): Fix compilation error.
7486 (eww-tag-textarea): Implement <textarea>.
7488 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7489 we don't shadow mode-specific bindings.
7491 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7494 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7496 2013-06-19 Glenn Morris <rgm@gnu.org>
7498 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7500 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7502 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7505 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7507 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7509 * net/browse-url.el (browse-url-browser-function):
7510 `eww-browse-url' has the right calling signature, `eww' does not.
7512 2013-06-19 Glenn Morris <rgm@gnu.org>
7514 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7515 Only eval autoloaded macros.
7516 (byte-compile-autoload): Only give the macro warning for macros.
7518 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7519 (ps-underlined-faces): Declare.
7521 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7522 (speedbar-add-supported-extension): Declare.
7524 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7525 Don't include a date stamp in the header of the generated file;
7526 it leads to needless differences between output files.
7528 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7530 * net/secrets.el (secrets-struct-secret-content-type):
7531 Replace check of introspection data by a test call of "CreateItem".
7532 Some servers do not offer introspection.
7534 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7536 * electric.el (electric-pair-mode): Improve interaction with
7537 electric-layout-mode.
7538 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7539 (electric-pair-syntax): Use text-mode-syntax-table in comments
7541 (electric-pair--insert): New function.
7542 (electric-pair-post-self-insert-function): Use it and
7543 electric--after-char-pos.
7545 2013-06-19 Leo Liu <sdl.web@gmail.com>
7547 * progmodes/octave.el (octave-help): Fix regexp.
7549 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7551 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7552 (shr-table-horizontal-line): Allow nil as a value, and change the
7554 (shr-insert-table-ruler): Respect the nil value.
7556 2013-06-18 Tom Tromey <tromey@barimba>
7558 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7560 (eww-open-file): New defun.
7561 (eww-render): Initialize new variables.
7562 (eww-display-html): Handle "link" and "a".
7563 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7564 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7565 (eww-back-url): Rename from eww-previous-url.
7566 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7569 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7571 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7572 Distinguish ternary operator tokens from slash symbol and slash
7575 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7577 Convert symbol prettification into minor mode and global minor mode.
7579 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7580 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7581 (prettify-symbols--keywords): Rename from
7582 `prog-prettify-symbols-alist' and make a local defvar.
7583 (prettify-symbols--compose-symbol): Rename from
7584 `prog--prettify-font-lock-compose-symbol'.
7585 (prettify-symbols--make-keywords): Rename from
7586 `prog-prettify-font-lock-symbols-keywords' and simplify.
7587 (prog-prettify-install): Remove.
7588 (prettify-symbols-mode): New minor mode, based on
7589 `prog-prettify-install'.
7590 (turn-on-prettify-symbols-mode): New function.
7591 (global-prettify-symbols-mode): New globalized minor mode.
7593 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7594 * progmodes/cfengine.el (cfengine3-mode):
7595 * progmodes/perl-mode.el (perl-mode): Don't call
7596 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7598 2013-06-18 Juri Linkov <juri@jurta.org>
7600 * files-x.el (modify-file-local-variable-message): New function.
7601 (modify-file-local-variable)
7602 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7603 and call `modify-file-local-variable-message' when it's non-nil.
7604 (add-file-local-variable, delete-file-local-variable)
7605 (add-file-local-variable-prop-line)
7606 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7607 and use it. (Bug#9820)
7609 2013-06-18 Juri Linkov <juri@jurta.org>
7611 * emulation/vi.el (vi-shell-op):
7612 * emulation/vip.el (vip-execute-com, ex-command):
7613 * emulation/viper-cmd.el (viper-exec-bang):
7614 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7615 the call of `shell-command-on-region'. (Bug#14637)
7617 * simple.el (shell-command-on-region): Doc fix.
7619 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7621 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7624 2013-06-18 Glenn Morris <rgm@gnu.org>
7626 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7628 * newcomment.el (comment-search-forward, comment-search-backward):
7629 Doc fix. (Bug#14376)
7631 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7633 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7634 (buffer-face-mode-invoke): Doc fix.
7636 2013-06-18 Matthias Meulien <orontee@gmail.com>
7638 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7639 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7641 2013-06-18 Glenn Morris <rgm@gnu.org>
7643 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7644 Replace obsolete function generic-make-keywords with its expansion.
7646 * progmodes/python.el (ffap-alist): Declare.
7648 * textmodes/reftex.el (bibtex-mode-map): Declare.
7650 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7652 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7653 (package-unpack, package-unpack-single): Return the pkg-dir.
7654 (package-download-transaction): Use it to update package-alist.
7656 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7658 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7661 2013-06-17 Juri Linkov <juri@jurta.org>
7663 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7665 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7667 * emacs-lisp/package.el (package-load-descriptor):
7668 Remove `with-syntax-table' call, `read' doesn't need it.
7669 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7671 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7673 * startup.el (command-line): Expand package name returned by
7674 `package--description-file' (bug#14639).
7676 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7678 * emacs-lisp/package.el (package-load-descriptor): Do not call
7679 `emacs-lisp-mode', just use its syntax table.
7681 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7683 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7684 `font-lock-extra-managed-props' if any prettifying keyword is added.
7685 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7686 (prog-mode): Use `setq-local'.
7688 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7690 * international/characters.el (standard-case-table): Set syntax of ?»
7691 and ?« to punctuation.
7693 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7695 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7696 Save relevant match data before calling `syntax-ppss' (bug#14595).
7698 2013-06-15 Juri Linkov <juri@jurta.org>
7700 * files-x.el (modify-file-local-variable-prop-line): Add local
7701 variables to the end of the existing comment on the first line.
7702 Use `file-auto-mode-skip' to skip interpreter magic line,
7703 and also skip XML declaration.
7705 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7707 * startup.el (package--builtin-versions): New var.
7708 (package-subdirectory-regexp): Remove.
7709 (package--description-file): Hard code its value instead.
7711 * emacs-lisp/package.el: Don't activate packages older than builtin.
7712 (package-obsolete-list): Rename from package-obsolete-alist, and make
7713 it into a simple list of package-desc.
7714 (package-strip-version): Remove.
7715 (package-built-in-p): Use package--builtin-versions.
7716 (package-mark-obsolete): Simplify.
7717 (package-process-define-package): Mark it obsolete if older than the
7719 (package-handle-response): Use line-end-position.
7720 (package-read-archive-contents, package--download-one-archive):
7722 (package--add-to-archive-contents): Skip if older than the builtin or
7724 (package-menu-describe-package): Fix last change.
7725 (package-list-unversioned): New var.
7726 (package-menu--generate): Use it.
7728 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7729 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7730 (autoload-builtin-package-versions): New variable.
7731 (autoload-generate-file-autoloads): Use them.
7732 Remove the list of autoloaded functions/macros from the
7733 (autoload...) comments.
7735 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7737 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7739 * simple.el (line-move-partial): Don't jump to the next screen
7740 line as soon as it becomes visible. Instead, continue enlarging
7741 the vscroll until the portion of a tall screen line that's left on
7742 display is about the height of the frame's default font.
7745 2013-06-15 Glenn Morris <rgm@gnu.org>
7747 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7748 compilation-error-regexp-alist void, or local while let-bound.
7750 * progmodes/make-mode.el (makefile-mode-syntax-table):
7751 Treat "=" as punctuation. (Bug#14614)
7753 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7755 * help-fns.el (describe-variable):
7756 Add extra line for permanent-local variables.
7758 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7760 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7761 Add export, import, library. (Bug#9164)
7762 (library): Set indent function.
7764 2013-06-14 Glenn Morris <rgm@gnu.org>
7766 * term/xterm.el (xterm--query):
7767 Stop after first matching handler. (Bug#14615)
7769 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7771 Add support for dired in saveplace.
7772 * dired.el (dired-initial-position-hook): New variable.
7773 (dired-initial-position): Call hook to place cursor position.
7774 * saveplace.el (save-place-to-alist): Add dired position.
7775 (save-place-dired-hook): New function.
7777 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7779 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7780 through a symbol rather than letrec.
7782 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7783 (package-desc): Add `dir' field.
7784 (package-desc-full-name): New function.
7785 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7786 (package-maybe-load-descriptor): Remove.
7787 (package-load-all-descriptors): Just call package-load-descriptor.
7788 (package--disabled-p): New function.
7789 (package-desc-vers, package-desc-doc): Remove aliases.
7790 (package--dir): Remove function.
7791 (package-activate): Check if a package is disabled.
7792 (package-process-define-package): New function, extracted from
7794 (define-package): Turn into a place holder.
7795 (package-unpack-single, package-tar-file-info):
7796 Use package--description-file.
7797 (package-compute-transaction): Use package--disabled-p.
7798 (package-download-transaction): Don't call
7799 package-maybe-load-descriptor since they're all loaded anyway.
7800 (package-install): Change argument to be a pkg-desc.
7801 (package-delete): Use a single pkg-desc argument.
7802 (describe-package-1): Use package-desc-dir instead of package--dir.
7803 Use package-desc property instead of package-symbol.
7804 (package-install-button-action): Adjust accordingly.
7805 (package--push): Rewrite.
7806 (package-menu--print-info): Adjust accordingly. Change the ID format
7808 (package-menu-describe-package, package-menu-get-status)
7809 (package-menu--find-upgrades, package-menu-mark-upgrades)
7810 (package-menu-execute, package-menu--name-predicate):
7812 * startup.el (package--description-file): New function.
7813 (command-line): Use it.
7814 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7815 Use package-desc-version.
7817 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7818 (byte-compile-preprocess): Use it.
7819 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7820 can't quite recognize.
7821 (byte-compile-add-to-list): Remove.
7822 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7823 (cconv-closure-convert): Add assertion.
7825 * emacs-lisp/map-ynp.el: Use lexical-binding.
7826 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7827 Factor out some repeated code.
7829 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7831 * subr.el (with-eval-after-load): New macro.
7832 (eval-after-load): Allow form to be a function.
7833 take advantage of lexical-binding.
7834 (do-after-load-evaluation): Use dolist and adjust to new format.
7835 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7837 2013-06-13 Juri Linkov <juri@jurta.org>
7839 * replace.el (perform-replace): Display "symbol " and other search
7840 modes from `isearch-message-prefix' in the *Help* buffer.
7842 * isearch.el (isearch-query-replace): Add " symbol" and other
7843 possible search modes from `isearch-message-prefix' to the prompt.
7844 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7845 when reading a regexp to collect.
7847 2013-06-13 Juri Linkov <juri@jurta.org>
7849 * isearch.el (word-search-regexp): Match whitespace if the search
7850 string begins or ends in whitespace. The LAX arg is applied to
7851 both ends of the search string. Use `regexp-quote' and explicit
7852 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7853 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7854 boundaries are replaced with symbol boundaries, and characters
7855 between symbols match non-word non-symbol syntax. (Bug#14602)
7857 2013-06-13 Juri Linkov <juri@jurta.org>
7859 * isearch.el (isearch-del-char): Don't exceed the length of
7860 `isearch-string' by the prefix arg. (Bug#14563)
7862 2013-06-13 Juri Linkov <juri@jurta.org>
7864 * isearch.el (isearch-yank-word, isearch-yank-line)
7865 (isearch-char-by-name, isearch-quote-char)
7866 (isearch-printing-char, isearch-process-search-char):
7867 Add optional count prefix arg. (Bug#14563)
7869 * international/isearch-x.el
7870 (isearch-process-search-multibyte-characters):
7871 Add optional count prefix arg.
7873 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7875 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7876 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7879 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7881 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7883 2013-06-13 Glenn Morris <rgm@gnu.org>
7885 * startup.el (tty-handle-args):
7886 Don't just discard "--" and anything after. (Bug#14608)
7888 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7890 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7892 Implement changes in Secret Service API. Make it backward compatible.
7893 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7894 (secrets-create-item): Use it. Prefix properties with interface.
7896 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7898 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7899 (term-emulate-terminal): Respect term-suppress-hard-newline.
7901 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7903 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7904 Only remove a `thumb-file' overlay. (Bug#14548)
7906 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7908 * mail/reporter.el (reporter-submit-bug-report):
7909 Handle missing package-name. (Bug#14600)
7911 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7913 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7914 (reftex-citation-prompt, reftex-default-bibliography)
7915 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7916 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7917 (reftex-bib-sort-author, reftex-bib-sort-year)
7918 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7919 (reftex-extract-bib-entries-from-thebibliography)
7920 (reftex-get-bibkey-default, reftex-get-bib-names)
7921 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7922 (reftex-format-bib-entry, reftex-parse-bibitem)
7923 (reftex-format-bibitem, reftex-do-citation)
7924 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7925 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7926 (reftex-insert-bib-matches, reftex-format-citation)
7927 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7928 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7929 existing comments into docstrings.
7931 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7933 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7935 2013-06-12 Andreas Schwab <schwab@suse.de>
7937 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7938 for auto-save files.
7940 2013-06-12 Glenn Morris <rgm@gnu.org>
7942 * ido.el (ido-delete-ignored-files): Remove.
7943 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7944 Go back to calling ido-ignore-item-p directly.
7946 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7948 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7950 * ido.el (ido-delete-ignored-files): New function,
7951 split from ido-make-file-list-1.
7952 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7953 (ido-make-file-list-1): Use ido-delete-ignored-files.
7955 2013-06-12 Leo Liu <sdl.web@gmail.com>
7957 * progmodes/octave.el (inferior-octave-startup)
7958 (inferior-octave-completion-table)
7959 (inferior-octave-track-window-width-change)
7960 (octave-eldoc-function-signatures, octave-help)
7961 (octave-find-definition): Use single quoted strings.
7962 (inferior-octave-startup-args): Change default value.
7963 (inferior-octave-startup): Do not hard code "-i" and
7964 "--no-line-editing".
7965 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7966 (inferior-octave-directory-tracker): Use it.
7967 (octave-goto-function-definition): Robustify.
7968 (octave-help): Support highlighting operators in 'See also'.
7969 (octave-find-definition): Find subfunctions only in Octave mode.
7971 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7973 * help-fns.el (help-fns--compiler-macro): If the handler function is
7974 named, then put a link to it.
7975 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7976 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7978 (cl-eval-when): Simplify debug spec.
7979 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7980 compiler-macro function instead of setting `compiler-macro-file'.
7982 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7984 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7985 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7987 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7988 Daniel Hackney <dan@haxney.org>
7990 First part of Daniel Hackney's patch to package.el.
7991 * emacs-lisp/package.el: Use defstruct.
7992 (package-desc): New, main struct.
7993 (package--bi-desc, package--ac-desc): New structs, used to describe the
7994 format in external files.
7995 (package-desc-vers): Replace with package-desc-version accessor.
7996 (package-desc-doc): Replace with package-desc-summary accessor.
7997 (package-activate-1): Remove `package' arg since the pkg-vec now
7999 (define-package): Use package-desc-from-define.
8000 (package-unpack-single): Change file-name arg to be a symbol.
8001 (package--add-to-archive-contents): Use package-desc-create and new
8002 accessor functions to package--ac-desc.
8003 (package-buffer-info, package-tar-file-info): Return a package-desc.
8004 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8005 arg to be a package-desc.
8006 (package-install-file): Adjust accordingly. Use \' to match EOS.
8007 (package--from-builtin): New function.
8008 (describe-package-1, package-menu--generate): Use it.
8009 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8010 (package-generate-autoloads): Idem and return the name of the file.
8011 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8012 Change pkg-info arg to be a package-desc.
8013 Use package-make-ac-desc.
8014 (package-upload-file): Use \' to match EOS.
8015 * finder.el (finder-compile-keywords): Use package-make-builtin.
8017 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8019 * vc/vc.el (vc-deduce-fileset): Change error message.
8020 (vc-read-backend): New function.
8021 (vc-next-action): Use it.
8023 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8025 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8026 (prolog-font-lock-keywords): Use regexp-opt instead.
8027 Don't manually highlight strings.
8028 (prolog-mode-variables): Simplify comment-start-skip.
8029 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8031 * emacs-lisp/generic.el (generic--normalise-comments)
8032 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8033 (generic-mode-set-comments): Use them.
8034 (generic-bracket-support): Use setq-local.
8035 (generic-make-keywords-list): Declare obsolete.
8037 2013-06-11 Glenn Morris <rgm@gnu.org>
8039 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8040 Prettify after setting font-lock-defaults. (Bug#14574)
8042 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8044 * replace.el (query-replace, occur-read-regexp-defaults-function)
8046 * subr.el (declare-function, number-sequence, local-set-key)
8047 (substitute-key-definition, locate-user-emacs-file)
8048 (with-silent-modifications, split-string, eval-after-load):
8049 Fix typos, remove unneeded backslashes and reflow some docstrings.
8051 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8053 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8054 default for Elisp files.
8056 2013-06-11 Glenn Morris <rgm@gnu.org>
8058 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8059 although define-derived-mode was doing this anyway. (Bug#14583)
8061 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8063 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8064 Fix make-variable-buffer-local call to refer to the correct variable.
8066 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8068 * eshell/em-term.el (eshell-visual-commands)
8069 (eshell-visual-subcommands, eshell-visual-options):
8070 Add summary line to docstrings. Add cross-references.
8072 2013-06-10 Glenn Morris <rgm@gnu.org>
8074 * epa.el (epa-read-file-name): New function. (Bug#14510)
8075 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8077 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8079 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8080 output redirection to be ignored with visual commands.
8082 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8084 * eshell/em-term.el (eshell-visual-command-p): New function.
8085 (eshell-term-initialize): Move long lambda to separate function
8086 eshell-visual-command-p.
8087 * eshell/em-dirs.el (eshell-dirs-initialise):
8088 * eshell/em-script.el (eshell-script-initialize):
8089 Add missing #' to lambda.
8091 2013-06-08 Leo Liu <sdl.web@gmail.com>
8093 * progmodes/octave.el (octave-add-log-current-defun): New function.
8094 (octave-mode): Set add-log-current-defun-function.
8095 (octave-goto-function-definition): Do not move point if not found.
8096 (octave-find-definition): Enhance to try subfunctions first.
8098 2013-06-08 Glenn Morris <rgm@gnu.org>
8100 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8101 (byte-compile-backward-char, byte-compile-backward-word):
8102 Improve previous change, to handle non-explicit nil.
8104 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8106 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8107 (smie--opener/closer-at-point): New function.
8108 (smie--matching-block-data): Use it. Don't match from right after an
8109 opener or right before a closer. Obey smie-blink-matching-inners.
8110 Don't signal a mismatch for repeated inners like "switch..case..case".
8112 2013-06-07 Leo Liu <sdl.web@gmail.com>
8114 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8116 (octave-function-header-regexp): Fix. (Bug#14570)
8117 (octave-help-mode-finish-hook, octave-help-mode-finish):
8118 Remove. Just use temp-buffer-show-hook.
8120 * newcomment.el (comment-search-backward): Revert last change.
8123 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8125 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8127 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8128 through xargs, to avoid failure due to MS-Windows limitations on
8129 command-line length.
8131 2013-06-06 Glenn Morris <rgm@gnu.org>
8133 * font-lock.el (lisp-font-lock-keywords-2):
8134 Treat user-error like error.
8136 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8137 (byte-compile-backward-char, byte-compile-backward-word):
8138 Handle explicit nil arguments. (Bug#14565)
8140 2013-06-05 Alan Mackenzie <acm@muc.de>
8142 * isearch.el (isearch-allow-prefix): New user option.
8143 (isearch-other-meta-char): Don't exit isearch when a prefix
8144 argument is typed whilst `isearch-allow-prefix' is non-nil.
8147 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8149 * autorevert.el (auto-revert-notify-handler): Use memq.
8150 Hide assertion failure.
8152 * skeleton.el: Use cl-lib.
8153 (skeleton-further-elements): Use defvar-local.
8154 (skeleton-insert): Use cl-progv.
8156 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8158 * progmodes/prog-mode.el (prog-prettify-symbols)
8159 (prog-prettify-install): Update docstrings.
8161 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8163 * simple.el: Move all the prog-mode code to prog-mode.el.
8164 * progmodes/prog-mode.el: New file.
8165 * loadup.el: Add prog-mode.el.
8167 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8169 * simple.el (prog-prettify-symbols): Add version.
8170 (prog-prettify-install): Add convenience function to prettify symbols.
8172 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8173 (perl--augmented-font-lock-keywords-1)
8174 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8175 variables and use it.
8177 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8178 (cfengine3-mode): Remove unneeded variable and use it.
8180 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8181 (lisp--augmented-font-lock-keywords-1)
8182 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8183 Remove unneeded variables and use it.
8185 2013-06-05 João Távora <joaotavora@gmail.com>
8187 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8188 to point when opening the connection. (Bug#14380)
8190 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8192 * subr.el (load-history-regexp, load-history-filename-element)
8193 (eval-after-load, after-load-functions, do-after-load-evaluation)
8194 (eval-next-after-load, display-delayed-warnings)
8195 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8196 definition of save-match-data.
8197 (overriding-local-map): Remove accidental obsolescence declaration.
8199 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8201 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8203 Generalize symbol prettify support to prog-mode and implement it
8204 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8205 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8206 (prog--prettify-font-lock-compose-symbol)
8207 (prog-prettify-font-lock-symbols-keywords): New variables and
8208 functions to support symbol prettification.
8209 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8210 (lisp--augmented-font-lock-keywords-1)
8211 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8212 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8213 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8214 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8215 Implement prettify of -> => :: strings.
8216 * progmodes/perl-mode.el (perl-prettify-symbols)
8217 (perl--font-lock-compose-symbol)
8218 (perl--font-lock-symbols-keywords): Move to prog-mode.
8219 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8220 (perl-font-lock-keywords-1)
8221 (perl-font-lock-keywords-2): Remove explicit prettify support.
8222 (perl--augmented-font-lock-keywords)
8223 (perl--augmented-font-lock-keywords-1)
8224 (perl--augmented-font-lock-keywords-2, perl-mode):
8225 Implement prettify support.
8227 2013-06-05 Leo Liu <sdl.web@gmail.com>
8229 Re-implement smie matching block highlight using
8230 show-paren-data-function. (Bug#14395)
8231 * emacs-lisp/smie.el (smie-matching-block-highlight)
8232 (smie--highlight-matching-block-overlay)
8233 (smie--highlight-matching-block-lastpos)
8234 (smie-highlight-matching-block)
8235 (smie-highlight-matching-block-mode): Remove.
8236 (smie--matching-block-data-cache): New variable.
8237 (smie--matching-block-data): New function.
8238 (smie-setup): Use smie--matching-block-data for
8239 show-paren-data-function.
8241 * progmodes/octave.el (octave-mode-menu): Fix.
8242 (octave-find-definition): Skip garbage lines.
8244 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8246 Fix compilation error with simultaneous dynamic+lexical scoping.
8247 Add warning when a defvar appears after the first let-binding.
8248 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8249 (byte-compile-close-variables): Initialize it.
8250 (byte-compile--declare-var): New function.
8251 (byte-compile-file-form-defvar)
8252 (byte-compile-file-form-define-abbrev-table)
8253 (byte-compile-file-form-custom-declare-variable): Use it.
8254 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8255 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8256 (byte-compile-bind): Handle dynamic bindings that shadow
8258 (byte-compile-unbind): Make arg non-optional.
8259 (byte-compile-let): Simplify.
8260 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8261 (cconv--analyse-function, cconv-analyse-form): Populate it.
8262 Protect byte-compile-bound-variables to limit the scope of defvars.
8263 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8264 Remove unneeded rule for `declare'.
8266 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8267 so as to avoid depending on cl-adjoin at run-time.
8268 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8270 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8271 (macroexp--warn-and-return): Use it.
8273 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8275 * lisp/subr.el: Convert to lexical binding.
8276 (overriding-local-map): Make obsolete.
8277 (add-to-list): Doc fix. Add compiler macro.
8278 (read-key): Swap values of local maps.
8280 2013-06-05 Leo Liu <sdl.web@gmail.com>
8282 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8284 2013-06-04 Leo Liu <sdl.web@gmail.com>
8286 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8287 (compilation-auto-jump): Suppress the "Mark set" message to give
8288 way to exit message.
8290 2013-06-04 Alan Mackenzie <acm@muc.de>
8292 Remove faulty optimisation from indentation calculation.
8293 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8294 search limit based on 2000 characters back from indent-point.
8296 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8298 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8300 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8302 * emacs-lisp/lisp.el: Use lexical-binding.
8303 (lisp--local-variables-1, lisp--local-variables): New functions.
8304 (lisp--local-variables-completion-table): New var.
8305 (lisp-completion-at-point): Use it complete let-bound vars.
8307 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8308 eagerly (bug#14422).
8310 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8312 * autorevert.el (auto-revert-notify-enabled)
8313 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8314 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8315 (auto-revert-notify-handler): Handle also gfilenotify.
8317 * subr.el (file-notify-handle-event): New defun. Replacing ...
8318 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8321 2013-06-03 Juri Linkov <juri@jurta.org>
8323 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8324 `M-s h .'. (Bug#14427)
8326 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8327 command `hi-lock-face-symbol-at-point'.
8328 (hi-lock-face-symbol-at-point): New command.
8329 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8330 (hi-lock-menu): Add `highlight-symbol-at-point'.
8331 (hi-lock-mode): Doc fix.
8333 * isearch.el (isearch-forward-symbol-at-point): New command.
8334 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8335 (isearch-highlight-regexp): Add a regexp which matches
8336 words/symbols for word/symbol mode.
8338 * subr.el (find-tag-default-bounds): New function with the body
8339 mostly moved from `find-tag-default'.
8340 (find-tag-default): Move most code to `find-tag-default-bounds',
8341 call it and apply `buffer-substring-no-properties' afterwards.
8343 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8345 * eshell/em-term.el (eshell-term-initialize):
8346 Use `cl-intersection' rather than `intersection'.
8348 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8350 * vc/log-view.el: Doc fix.
8351 (log-view-mode-map): Copy keymap from `special-mode-map'.
8353 2013-06-02 Eric Ludlam <zappo@gnu.org>
8355 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8356 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8357 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8358 (eieio-unbound, eieio-default-superclass)
8359 (eieio--define-field-accessors, method-static, method-before)
8360 (method-primary, method-after, method-num-lists)
8361 (method-generic-before, method-generic-primary)
8362 (method-generic-after, method-num-slots)
8363 (eieio-specialized-key-to-generic-key)
8364 (eieio--check-type, class-v, class-p)
8365 (eieio-class-name, define-obsolete-function-alias)
8366 (eieio-class-parents-fast, eieio-class-children-fast)
8367 (same-class-fast-p, class-constructor, generic-p)
8368 (generic-primary-only-p, generic-primary-only-one-p)
8369 (class-option-assoc, class-option, eieio-object-p)
8370 (class-abstract-p, class-method-invocation-order)
8371 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8372 (eieio-class-un-autoload, eieio-defclass)
8373 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8374 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8375 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8376 (eieio-defgeneric-reset-generic-form)
8377 (eieio-defgeneric-form-primary-only)
8378 (eieio-defgeneric-reset-generic-form-primary-only)
8379 (eieio-defgeneric-form-primary-only-one)
8380 (eieio-defgeneric-reset-generic-form-primary-only-one)
8381 (eieio-unbind-method-implementations)
8382 (eieio--defmethod, eieio--typep)
8383 (eieio-perform-slot-validation, eieio-validate-slot-value)
8384 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8385 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8386 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8387 (eieio-slot-name-index, eieio-class-slot-name-index)
8388 (eieio-set-defaults, eieio-initarg-to-attribute)
8389 (eieio-attribute-to-initarg, eieio-c3-candidate)
8390 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8391 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8392 (eieio-class-precedence-list, eieio-generic-call-methodname)
8393 (eieio-generic-call-arglst, eieio-generic-call-key)
8394 (eieio-generic-call-next-method-list)
8395 (eieio-pre-method-execution-functions, eieio-generic-call)
8396 (eieio-generic-call-primary-only, eieiomt-method-list)
8397 (eieiomt-optimizing-obarray, eieiomt-install)
8398 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8399 (eieio-generic-form, eieio-defmethod, make-obsolete)
8400 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8401 (defclass): Remove `eval-and-compile' from macro.
8402 (call-next-method, shared-initialize): Instead of using
8403 `scoped-class' variable, use new eieio--scoped-class, and
8404 eieio--with-scoped-class.
8405 (initialize-instance): Rename local variable 'scoped-class' to
8406 'this-class' to remove ambiguitity from old global.
8408 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8410 (eieio--scoped-class-stack): New variable.
8411 (eieio--scoped-class): New fcn.
8412 (eieio--with-scoped-class): New scoping macro.
8413 (eieio-defclass): Use pushnew instead of add-to-list.
8414 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8415 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8416 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8417 `scoped-class' variable, use new eieio--scoped-class, and
8418 eieio--with-scoped-class.
8420 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8422 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8424 * eshell/esh-ext.el (eshell-external-command): Pass args to
8425 `eshell-find-interpreter'.
8426 (eshell-find-interpreter): Add new second parameter ARGS.
8428 * eshell/em-script.el (eshell-script-initialize): Add second arg
8429 to the function added as MATCH to `eshell-interpreter-alist'.
8431 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8432 the function added as MATCH to `eshell-interpreter-alist'.
8434 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8435 (eshell-visual-options): New defcustom.
8436 (eshell-escape-control-x): Adapt docstring.
8437 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8438 `eshell-visual-options' in addition to `eshell-visual-commands'.
8439 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8441 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8443 * progmodes/python.el (python-indent-block-enders): Add break,
8444 continue and raise keywords.
8446 2013-06-01 Glenn Morris <rgm@gnu.org>
8448 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8450 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8451 * progmodes/cc-cmds.el (delete-forward-p):
8452 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8453 * progmodes/cc-engine.el (buffer-syntactic-context):
8454 * progmodes/cc-fonts.el (face-property-instance):
8455 * progmodes/cc-mode.el (set-keymap-parents):
8456 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8457 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8458 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8459 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8460 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8462 * progmodes/cc-vars.el (other): Emacs has this widget since
8463 at least 21.1, so don't (re)define it.
8465 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8466 Replace the obsolete alias pcomplete-arg-quote-list.
8468 2013-06-01 Leo Liu <sdl.web@gmail.com>
8470 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8472 (inferior-octave-minimal-columns)
8473 (inferior-octave-last-column-width): New variables.
8474 (inferior-octave-track-window-width-change): New function.
8475 (inferior-octave-mode): Adjust column width so that Octave output,
8476 for example from 'ls', can fit into the window nicely.
8478 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8480 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8481 Highlight expansions inside regexp literals.
8483 2013-05-31 Glenn Morris <rgm@gnu.org>
8485 * obsolete/sym-comp.el (symbol-complete):
8486 Replace obsolete completion-annotate-function.
8488 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8490 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8492 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8493 New function, checks if point is inside a literal that allows
8494 expression expansion.
8495 (ruby-syntax-propertize-expansion): Use it.
8496 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8499 2013-05-30 Juri Linkov <juri@jurta.org>
8501 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8503 (isearch-invisible): New variable.
8504 (isearch-forward): Doc fix.
8505 (isearch-mode): Set `isearch-invisible'
8506 to the value of `search-invisible'.
8507 (isearch-toggle-case-fold): Doc fix.
8508 (isearch-toggle-invisible): New command.
8509 (isearch-query-replace): Let-bind `search-invisible'
8510 to the value of `isearch-invisible'.
8511 (isearch-search): Use `isearch-invisible' instead of
8512 `search-invisible'. Let-bind `search-invisible'
8513 to the value of `isearch-invisible'. (Bug#11378)
8515 2013-05-30 Juri Linkov <juri@jurta.org>
8517 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8518 call when `query-flag' is nil and `search-invisible' is non-nil.
8521 2013-05-30 Glenn Morris <rgm@gnu.org>
8523 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8525 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8526 (cc-require): Suppress spurious "noruntime" warnings.
8527 (cc-require-when-compile): Use fboundp, for sake of compiler.
8529 * progmodes/cc-mode.el: Move load of cc-vars before that of
8530 cc-langs (which in turn loads cc-vars), to quieten compiler.
8532 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8534 * paren.el: Simplify the code.
8535 (show-paren-mode): Always start the timer.
8536 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8537 (show-paren--overlay, show-paren--overlay-1): Rename from
8538 show-paren-overlay and show-paren-overlay-1, and initialize to an
8539 overlay rather than to nil.
8540 (show-paren-function): Misc cleanup and simplifications.
8542 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8544 * paren.el (show-paren-data-function): New hook.
8545 (show-paren--default): New function, extracted from show-paren-function.
8546 (show-paren-function): Use show-paren-data-function.
8548 2013-05-30 Glenn Morris <rgm@gnu.org>
8550 * ielm.el (ielm-map, ielm-complete-symbol):
8551 Use completion-at-point rather than obsolete functions.
8552 (inferior-emacs-lisp-mode): Doc fix.
8553 Set completion-at-point-functions, rather than
8554 comint-dynamic-complete-functions.
8556 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8557 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8558 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8560 * image.el (image-animated-p): Tweak definition.
8562 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8563 (rlogin-process-connection-type): Tweak default. Add set-after.
8564 (rlogin-host): Doc fix.
8565 (rlogin): Tweak prompt.
8566 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8568 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8569 * progmodes/tcl.el (inferior-tcl-mode-map):
8570 Use completion-at-point rather than obsolete alias.
8572 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8574 * minibuffer.el (read-file-name-completion-ignore-case):
8575 Move before completion--in-region, for eager macro expansion.
8577 2013-05-29 Juri Linkov <juri@jurta.org>
8579 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8580 for total count of matching lines. Add `global-matches' for total
8581 count of matches. Rename `matches' to `lines' for count of
8582 matching lines. Add `matches' for count of matches.
8583 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8584 to `prev-line' for line number of prev match endpt.
8585 Increment `matches' for every match. Print the number of
8586 matching lines in the header.
8587 (occur-context-lines): Rename `lines' to `curr-line'.
8588 Rename `prev-lines' to `prev-line'. (Bug#14017)
8590 2013-05-29 Juri Linkov <juri@jurta.org>
8592 * replace.el (perform-replace): Add `skip-read-only-count',
8593 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8594 Increment them for corresponding conditions and report the number
8595 of skipped occurrences in the final message. (Bug#11746)
8596 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8597 (replace-string, replace-regexp): Doc fix.
8599 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8601 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8603 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8604 prog-mode-map (bug#14504).
8606 2013-05-29 Leo Liu <sdl.web@gmail.com>
8608 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8609 (octave-help): Small simplification.
8611 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8612 off the highlight first.
8614 2013-05-29 Glenn Morris <rgm@gnu.org>
8616 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8617 Handle idlwave-last-system-routine-info-cons-cell being nil.
8619 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8620 (idlwave-write-paths): Simplify via with-temp-buffer.
8622 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8623 * emulation/cua-rect.el: Also load cua-base at run time.
8625 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8626 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8627 (cperl-imenu-on-info): Require imenu.
8629 2013-05-28 Alan Mackenzie <acm@muc.de>
8631 Handle "capitalised keywords" correctly.
8632 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8634 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8636 * eshell/em-unix.el: Add -r option to cp.
8638 2013-05-28 Glenn Morris <rgm@gnu.org>
8640 * vc/vc-arch.el (vc-exec-after): Declare.
8641 (vc-switches): Autoload.
8642 * vc/vc-bzr.el: No need to require vc when compiling.
8643 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8644 (vc-resynch-buffer, vc-dir-refresh): Declare.
8645 (vc-setup-buffer, vc-switches): Autoload.
8646 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8647 (vc-resynch-buffer): Declare.
8648 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8649 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8650 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8651 (grep-read-regexp, grep-read-files, grep-expand-template)
8652 (vc-dir-refresh): Declare.
8653 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8654 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8655 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8656 * vc/vc-mtn.el (vc-exec-after): Declare.
8657 (vc-switches): Autoload.
8658 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8659 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8660 (vc-file-tree-walk): Declare.
8661 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8662 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8663 (vc-tag-precondition, vc-rename-master): Autoload.
8664 * vc/vc-svn.el (vc-exec-after): Declare.
8665 (vc-switches, vc-setup-buffer): Autoload.
8666 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8668 (vc-resynch-buffer): Declare.
8670 * obsolete/fast-lock.el (byte-compile-warnings):
8671 Don't warn about obsolete features in this obsolete file.
8673 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8674 Move definition before use.
8676 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8677 (dun-unix-verbs): Remove dun-zippy.
8678 (dun-zippy): Remove function.
8680 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8682 2013-05-27 Juri Linkov <juri@jurta.org>
8684 * replace.el (replace-search): New function with code moved out
8685 from `perform-replace'.
8686 (replace-highlight, replace-dehighlight): Move function definitions
8687 up closer to `replace-search'. (Bug#11746)
8689 2013-05-27 Juri Linkov <juri@jurta.org>
8691 * replace.el (perform-replace): Ignore invisible matches.
8692 In addition to checking `query-replace-skip-read-only', also
8693 filter out matches by calling `run-hook-with-args-until-failure'
8694 on `isearch-filter-predicates', and also check `search-invisible'
8695 for t or call `isearch-range-invisible'.
8696 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8698 2013-05-27 Juri Linkov <juri@jurta.org>
8700 * isearch.el (isearch-filter-predicates): Rename from
8701 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8702 (isearch-message-prefix): Display text from the property
8703 `isearch-message-prefix' of the currently active filters.
8704 (isearch-search): Don't compare `isearch-filter-predicate' with
8705 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8706 on `isearch-filter-predicates'. Also check `search-invisible' for t
8707 or call `isearch-range-invisible'.
8708 (isearch-filter-visible): Make obsolete.
8709 (isearch-lazy-highlight-search):
8710 Call `run-hook-with-args-until-failure' on
8711 `isearch-filter-predicates' and use `isearch-range-invisible'.
8713 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8714 `isearch-filter-predicates' instead of `funcall'ing
8715 `isearch-filter-predicate'.
8716 (Info-mode): Set `Info-isearch-filter' to
8717 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8719 * dired-aux.el (dired-isearch-filter-predicate-orig):
8721 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8722 (dired-isearch-filenames-end): Add and remove
8723 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8724 instead of changing the value of `isearch-filter-predicate'.
8725 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8726 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8727 Put property `isearch-message-prefix' to "filename " on
8728 `dired-isearch-filter-filenames'.
8730 * wdired.el (wdired-change-to-wdired-mode):
8731 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8732 locally instead of changing `isearch-filter-predicate'.
8733 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8735 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8737 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8738 return the commit hash (Bug#14459). Also set the
8739 `vc-git-detached' property.
8740 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8741 (vc-git-mode-line-string): Use the same help-echo format whether
8742 in detached mode or not, because we know the actual revision now.
8743 When in detached mode, shorten the revision to 7 chars.
8745 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8747 * emacs-lisp/easy-mmode.el (define-minor-mode):
8748 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8749 mode hook and provide a docstring.
8751 2013-05-27 Alan Mackenzie <acm@muc.de>
8753 Remove spurious syntax-table text properties inserted by C-y.
8754 * progmodes/cc-mode.el (c-after-change): Also clear hard
8755 syntax-table property with value nil.
8757 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8759 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8760 when reading the events; the buffer layout shall not be changed.
8762 2013-05-27 Leo Liu <sdl.web@gmail.com>
8764 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8766 (inferior-octave-directory-tracker): Automatically re-sync
8768 (octave-help): Improve handling of 'See also'.
8770 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8772 * doc-view.el: Minor naming convention tweaks.
8773 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8775 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8776 even if there's no `display' property yet (bug#14435).
8778 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8780 * subr.el (unmsys--file-name): Rename from reveal-filename.
8782 * Makefile.in (custom-deps, finder-data, autoloads)
8783 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8784 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8785 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8787 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8789 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8790 error-completion on the first 2 args of condition-case (bug#14446).
8793 2013-05-25 Leo Liu <sdl.web@gmail.com>
8795 * comint.el (comint-previous-matching-input): Do not flood the
8796 *Messages* buffer with trivial messages.
8798 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8800 * progmodes/flymake.el (flymake-nop): Don't return a string.
8801 (flymake-set-at): Fix typo.
8803 * simple.el (read--expression): New function, extracted from
8804 eval-expression. Set completion-at-point-functions (bug#14465).
8805 (eval-expression, eval-minibuffer): Use it.
8807 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8809 * progmodes/flymake.el (flymake-save-buffer-in-file)
8810 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8811 (flymake-selected-frame, flymake-log, flymake-ins-after)
8812 (flymake-set-at, flymake-get-buildfile-from-cache)
8813 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8814 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8815 Refine the doc string.
8816 (flymake-get-file-name-mode-and-masks): Reformat.
8817 (flymake-get-real-file-name-function): Fix a minor bug.
8819 2013-05-24 Juri Linkov <juri@jurta.org>
8821 * progmodes/grep.el (grep-mode-font-lock-keywords):
8822 Support =linenumber= format used by git-grep for lines with
8823 function names. (Bug#13549)
8825 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8827 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8828 0 after a semi-colon; it works better for smie-auto-fill.
8829 (octave--indent-new-comment-line): New function.
8830 (octave-indent-new-comment-line): Use it (indirectly).
8831 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8832 modify comment-line-break-function.
8834 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8835 (smie-setup): Use add-function to set it.
8837 2013-05-24 Sam Steingold <sds@gnu.org>
8839 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8840 argument (before the `interactive' argument).
8842 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8844 * image-mode.el (image-mode-winprops): Add winprops to
8845 image-mode-winprops-alist before running
8846 image-mode-new-window-functions.
8847 * doc-view.el (doc-view-new-window-function): Don't delay
8848 doc-view-goto-page via timers (bug#14435).
8850 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8852 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8853 (doc-view-desktop-save-buffer): New function.
8854 (doc-view-restore-desktop-buffer): New function.
8855 (desktop-buffer-mode-handlers):
8856 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8858 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8859 `desktop-save-buffer' function.
8861 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8863 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8864 (tramp-gvfs-file-name-handler): Raise a user error when
8865 `tramp-gvfs-enabled' is nil.
8866 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8867 Do not raise a user error when loading package. (Bug#14447)
8869 * net/xesam.el: Move to obsolete/.
8871 2013-05-24 Glenn Morris <rgm@gnu.org>
8873 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8875 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8877 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8878 (Info-find-node, Man-getpage-in-background): Declare.
8880 * mail/unrmail.el (unrmail):
8881 Replace obsolete detect-coding-with-priority.
8883 * net/socks.el (socks-split-string): Use this rather than split-string.
8884 (socks-nslookup-host): Update for above change.
8885 (dynamic-choice, s5-dynamic-choice-match)
8886 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8887 Comment out unused code.
8889 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8890 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8891 (gud-tooltip-echo-area): Make obsolete.
8892 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8894 * progmodes/js.el (js--optimize-arglist): Declare.
8896 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8898 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8899 (ediff-window-C): Declare.
8901 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8902 Tweak requires to silence compiler.
8904 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8905 (he-search-string, he-tried-table, he-expand-list)
8906 (he-init-string, he-string-member, he-substitute-string)
8907 (he-reset-string): Declare.
8909 * obsolete/options.el (list-options): Use custom-variable-p,
8910 rather than obsolete alias.
8912 2013-05-23 Sam Steingold <sds@gnu.org>
8914 * simple.el (shell-command-on-region): Pass the `replace' argument
8915 down to `call-process-region' to comply with the doc as reported on
8916 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8918 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8920 * emacs-lisp/smie.el (smie-indent-forward-token)
8921 (smie-indent-backward-token): Handle string tokens (bug#14381).
8923 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8925 * ielm.el (ielm-menu): New menu.
8926 (inferior-emacs-lisp-mode): Set comment-start.
8928 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8930 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8931 Fix deactivate action.
8933 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8934 Add cleveref macros.
8936 * lisp/textmodes/reftex-parse.el
8937 (reftex-locate-bibliography-files): Accept options for
8938 bibliography commands.
8939 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8940 Add addbibresource. Basic Biblatex support.
8942 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8944 * net/tramp-gvfs.el (top):
8945 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8946 when loading package. (Bug#14447)
8948 2013-05-23 Glenn Morris <rgm@gnu.org>
8950 * progmodes/js.el: No need to load comint when compiling.
8951 (ring-insert, comint-send-string, comint-send-input)
8952 (comint-last-input-end, ido-chop): Declare.
8954 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8955 * vc/ediff-mult.el: Adjust requires.
8956 (ediff-directories-internal, ediff-directory-revisions-internal)
8957 (ediff-patch-file-internal): Declare.
8958 * vc/ediff-ptch.el: Adjust requires.
8959 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8960 (ediff-find-file): Autoload.
8961 * vc/ediff-util.el: No need to load ediff when compiling.
8962 (ediff-regions-internal): Declare.
8963 * vc/ediff-wind.el: Adjust requires.
8964 (ediff-compute-toolbar-width): Define when compiling.
8965 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8966 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8967 (dired-get-filename, dired-get-marked-files)
8968 (ediff-last-dir-patch, ediff-patch-default-directory)
8969 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8970 (ediff-patch-buffer-internal): Declare.
8972 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8973 (ispell-process, ispell-buffer-local-words, lm-summary)
8974 (lm-section-start, lm-section-end): Declare.
8975 (checkdoc-ispell-init): Simplify.
8977 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8978 (he-string-member, he-reset-string, he-substitute-string): Declare.
8980 * eshell/em-ls.el: Adjust requires.
8981 (eshell-glob-regexp): Declare.
8982 * eshell/em-tramp.el: Adjust requires.
8983 (eshell-parse-command): Autoload.
8984 * eshell/em-xtra.el: Adjust requires.
8985 (eshell-parse-command): Autoload.
8986 * eshell/esh-ext.el: Adjust requires.
8987 (eshell-parse-command, eshell-close-handles): Autoload.
8988 * eshell/esh-io.el: Adjust requires.
8989 (eshell-output-filter): Autoload.
8990 * eshell/esh-util.el: No need to load tramp when compiling.
8991 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8993 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8994 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8995 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8996 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8997 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8998 * eshell/esh-opt.el, eshell/esh-proc.el:
8999 * eshell/esh-var.el: Adjust requires.
9000 * eshell/eshell.el: Do not require esh-util twice.
9001 (eshell-add-input-to-history): Declare.
9002 (eshell-command): Check history module is active before using it.
9004 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9006 2013-05-22 Leo Liu <sdl.web@gmail.com>
9008 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9010 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9012 * autorevert.el (auto-revert-notify-add-watch)
9013 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9014 it indicates changes in file modification time.
9016 2013-05-22 Glenn Morris <rgm@gnu.org>
9018 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9019 Always delete the autoloaded function from the noruntime and
9020 unresolved functions lists.
9022 * allout.el: No need to load epa, epg, overlay when compiling.
9023 (epg-context-set-passphrase-callback, epg-list-keys)
9024 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9025 (epg-key-user-id-list): Declare.
9027 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9028 (viper-set-parsing-style-toggling-macro)
9029 (viper-set-emacs-state-searchstyle-macros):
9030 Use called-interactively-p on Emacs.
9031 (viper-looking-back): Make it an obsolete alias. Update callers.
9032 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9033 Use looking-back rather than viper-looking-back.
9034 (viper-tmp-insert-at-eob, viper-enlarge-region)
9035 (viper-read-string-with-history, viper-register-to-point)
9036 (viper-append-to-register, viper-change-state-to-vi)
9037 (viper-backward-char-carefully, viper-forward-char-carefully)
9038 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9039 (viper-change-state-to-emacs): Declare.
9040 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9041 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9042 * emulation/viper-mous.el: Do not load viper-cmd.
9043 (viper-backward-char-carefully, viper-forward-char-carefully)
9044 (viper-forward-word, viper-adjust-window): Declare.
9046 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9048 * progmodes/idlw-help.el (idlwave-help-fontify):
9049 Use called-interactively-p.
9051 * term/w32console.el (w32-get-console-codepage)
9052 (w32-get-console-output-codepage): Declare.
9054 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9055 Remove unnecessary declarations.
9056 (dframe-message): Doc fix.
9058 * info.el (dframe-select-attached-frame, dframe-current-frame):
9061 * speedbar.el (speedbar-message): Make it an obsolete alias.
9063 (speedbar-with-attached-buffer)
9064 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9065 (speedbar-with-writable): Use backquote.
9066 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9067 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9068 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9069 rather than speedbar- aliases.
9070 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9071 (speedbar-make-specialized-keymap, speedbar-insert-button)
9072 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9073 (speedbar-do-function-pointer): Declare.
9074 (rmail-speedbar-button, rmail-speedbar-find-file)
9075 (rmail-speedbar-move-message):
9076 Use dframe-with-attached-buffer rather than speedbar- alias.
9077 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9078 (dframe-message, speedbar-make-specialized-keymap)
9079 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9080 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9081 (speedbar-insert-button, dframe-select-attached-frame)
9082 (dframe-maybee-jump-to-attached-frame)
9083 (speedbar-change-initial-expansion-list)
9084 (speedbar-previously-used-expansion-list-name): Declare.
9085 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9086 Use dframe-message, dframe-with-attached-buffer rather than
9088 (gud-sentinel): Silence compiler.
9089 * progmodes/vhdl-mode.el (speedbar-refresh)
9090 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9091 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9092 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9093 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9094 (speedbar-file-lists, speedbar-make-tag-line)
9095 (speedbar-line-directory, speedbar-goto-this-file)
9096 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9097 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9098 (speedbar-make-button, speedbar-reset-scanners)
9099 (speedbar-files-item-info, speedbar-line-text)
9100 (speedbar-find-file-in-frame, speedbar-set-timer)
9101 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9102 (speedbar-with-writable): Do not (re)define it.
9103 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9104 rather than speedbar- alias.
9106 2013-05-21 Leo Liu <sdl.web@gmail.com>
9108 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9110 (octave-mode): Tweak fill-nobreak-predicate.
9111 (inferior-octave-startup): Check process to avoid infinite loop.
9112 (inferior-octave): Pop to buffer first to show abornmal process
9115 2013-05-21 Glenn Morris <rgm@gnu.org>
9117 * printing.el (pr-menu-bar): Define when compiling.
9119 2013-05-21 Leo Liu <sdl.web@gmail.com>
9121 * progmodes/octave.el (octave-auto-fill): Remove.
9122 (octave-indent-new-comment-line): Improve.
9123 (octave-mode): Use auto fill mode through
9124 comment-line-break-function and fill-nobreak-predicate.
9125 (octave-goto-function-definition): Support DEFUN_DLD.
9126 (octave-beginning-of-defun): Small tweak.
9127 (octave-help): Show parent directory.
9129 2013-05-21 Glenn Morris <rgm@gnu.org>
9131 * files.el (dired-unmark):
9132 * progmodes/gud.el (gdb-input): Update declarations.
9134 * calculator.el (electric, ehelp): No need to load when compiling.
9135 (Electric-command-loop, electric-describe-mode): Declare.
9137 * doc-view.el (doc-view-current-converter-processes): Move before use.
9139 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9140 Move MODE-set-explicitly definition before use.
9142 * international/mule-diag.el (mule-diag):
9143 Don't use obsolete window-system-version.
9145 * mail/feedmail.el (smtpmail): No need to load when compiling.
9146 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9148 * mail/mail-utils.el (rfc822): No need to load when compiling.
9149 (rfc822-addresses): Autoload it.
9150 (mail-strip-quoted-names): Trivial simplification.
9152 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9153 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9155 * net/snmp-mode.el (tempo): Don't duplicate requires.
9157 * progmodes/prolog.el (info): No need to load when compiling.
9158 (comint): Require before shell requires it.
9159 (Info-goto-node): Autoload it.
9160 (Info-follow-nearest-node): Declare.
9161 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9163 * textmodes/artist.el (picture-mode-exit): Declare.
9165 * textmodes/reftex-parse.el (reftex-parse-from-file):
9166 Trivial rewrite so the compiler can parse it better.
9168 2013-05-20 Leo Liu <sdl.web@gmail.com>
9170 * progmodes/octave.el (octave-help-mode-map)
9171 (octave-help-mode-finish-hook): New variables.
9172 (octave-help-mode, octave-help-mode-finish): New functions.
9173 (octave-help): Use octave-help-mode.
9175 2013-05-20 Glenn Morris <rgm@gnu.org>
9177 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9179 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9181 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9182 start at point, so that expansion starting right after opening
9183 slash in a regexp is recognized.
9184 (ruby-syntax-before-regexp-re): New defvar, extracted from
9185 ruby-syntax-propertize-function. Since the value of this regexp
9186 is looked up at runtime now, we should be able to turn
9187 `ruby-syntax-methods-before-regexp' into a defcustom later.
9188 (ruby-syntax-propertize-function): Split regexp matching into two
9189 parts, for opening and closing slashes. That allows us to skip
9190 over string interpolations and support multiline regexps.
9191 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9192 for them, which calls `ruby-syntax-propertize-expansion'.
9193 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9194 call to `ruby-syntax-propertize-function'.
9195 (ruby-syntax-propertize-expansion): Extracted from
9196 `ruby-syntax-propertize-expansions'. Handles one expansion.
9197 (ruby-syntax-propertize-percent-literal): Leave point right after
9198 the percent symbol, so that the expression expansion rule can
9199 propertize the contents.
9200 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9202 (ruby-syntax-propertize-expansions): Remove.
9204 2013-05-18 Juri Linkov <juri@jurta.org>
9206 * man.el (Man-default-man-entry): Remove `-' from the end
9207 of the default value. (Bug#14400)
9209 2013-05-18 Glenn Morris <rgm@gnu.org>
9211 * comint.el (comint-password-prompt-regexp):
9212 Allow "password for XXX" where XXX contains colons (eg https://...).
9214 2013-05-18 Leo Liu <sdl.web@gmail.com>
9216 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9217 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9218 (octave-source-directories): Don't check process.
9219 (octave-source-directories, octave-find-definition): Doc fix.
9221 2013-05-18 Glenn Morris <rgm@gnu.org>
9223 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9224 Remove backspace/delete bindings. (Bug#14392)
9226 * cus-dep.el (custom-make-dependencies): Sort the output.
9227 (custom-versions-load-alist): Convert comment to doc.
9229 2013-05-17 Leo Liu <sdl.web@gmail.com>
9231 * newcomment.el (comment-search-backward): Stricter in finding
9232 comment start. (Bug#14303)
9234 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9235 (octave-comment-start-skip): Properly anchored.
9237 2013-05-17 Leo Liu <sdl.web@gmail.com>
9239 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9240 Clean up when turned off. (Bug#14395)
9241 (smie--highlight-matching-block-overlay): No longer buffer-local.
9242 (smie-highlight-matching-block): Adjust.
9244 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9246 Doc string fix for "nanoseconds" (Bug#14406).
9247 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9248 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9250 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9252 * calc/calc-units.el (math-extract-units): Preserve powers
9255 2013-05-17 Leo Liu <sdl.web@gmail.com>
9257 * subr.el (delete-consecutive-dups): New function.
9258 * ido.el (ido-set-matches-1): Use it.
9259 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9260 * ido.el (ido-remove-consecutive-dups): Remove.
9262 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9264 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9265 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9266 regexp-opt's `words'.
9268 2013-05-16 Leo Liu <sdl.web@gmail.com>
9270 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9271 (smie--highlight-matching-block-overlay)
9272 (smie--highlight-matching-block-lastpos)
9273 (smie--highlight-matching-block-timer): New variables.
9274 (smie-highlight-matching-block): New function.
9275 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9276 (smie-setup): Conditionally enable smie-blink-matching-open.
9278 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9280 Sync with upstream verilog-mode r840.
9281 * progmodes/verilog-mode.el (verilog-mode-version)
9282 (verilog-mode-release-date): Update.
9283 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9284 (verilog-sig-tieoff): Fix string error on
9285 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9286 (verilog-read-decls): Fix parameters confusing
9287 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9289 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9291 * subr.el (reveal-filename): New function.
9293 * loadup.el: Compute Emacs executable versions on MS-Windows,
9294 where executables have the .exe extension. Add a hard link
9295 emacs-XX.YY.ZZ.exe on MS-Windows.
9297 * Makefile.in (XARGS_LIMIT): New variable.
9298 (custom-deps, finder-data, autoloads)
9299 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9300 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9301 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9302 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9304 2013-05-16 Leo Liu <sdl.web@gmail.com>
9306 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9307 (octave-mode-menu, octave-mode-map): Remove its uses.
9309 2013-05-16 Reto Zimmermann <reto@gnu.org>
9311 Sync with upstream vhdl mode v3.34.2.
9312 * progmodes/vhdl-mode.el: Use `push' throughout.
9313 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9314 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9315 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9316 (vhdl-actual-generic-name): New option to derive actual generic name.
9317 (vhdl-port-paste-signals): Replace formal by actual generics.
9318 (vhdl-beautify): New name for old group vhdl-align. Update users.
9319 (vhdl-beautify-options): New option.
9320 (vhdl-last-input-event): New compat alias. Use throughout.
9321 (vhdl-goto-line): Replace user level function `goto-line'.
9322 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9323 vhdl-fix-statement-buffer.
9324 (vhdl-create-mode-menu): Add some entries.
9325 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9326 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9327 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9328 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9329 to force statements on one line.
9330 (vhdl-remove-trailing-spaces-region):
9331 New, split from vhdl-remove-trailing-spaces.
9332 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9333 Respect vhdl-beautify-options.
9334 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9335 (vhdl-update-sensitivity-list): Not add with index if exists without.
9336 Not include array index with signal. Ignore keywords in comments.
9337 (vhdl-get-visible-signals): Regexp tweaks.
9338 (vhdl-template-component-inst): Handle empty library.
9339 (vhdl-template-type): Add template for 'enum' type.
9340 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9341 Use vhdl-replace-string.
9342 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9343 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9344 (vhdl-speedbar-initialize): Update for above name change.
9345 (vhdl-compose-wire-components): Fix in handling of constants.
9346 (vhdl-error-regexp-emacs-alist): New variable.
9347 (vhdl-error-regexp-add-emacs): New function;
9348 adds support for new compile.el (Emacs 22+)
9349 (vhdl-generate-makefile-1): Change target order for single lib. units.
9350 Allow use of absolute file names.
9352 2013-05-16 Leo Liu <sdl.web@gmail.com>
9354 * simple.el (prog-indent-sexp): Indent enclosing defun.
9356 2013-05-15 Glenn Morris <rgm@gnu.org>
9358 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9359 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9360 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9361 (whitespace-highlight): Move to whitespace group.
9363 * comint.el (comint-source):
9364 * pcmpl-linux.el (pcmpl-linux):
9365 * shell.el (shell-faces):
9366 * eshell/esh-opt.el (eshell-opt):
9367 * international/ccl.el (ccl): Remove empty custom groups.
9369 * completion.el (dynamic-completion-mode):
9370 * jit-lock.el (jit-lock-debug-mode):
9371 * minibuffer.el (completion-in-region-mode):
9372 * type-break.el (type-break-mode-line-message-mode)
9373 (type-break-query-mode):
9374 * emulation/tpu-edt.el (tpu-edt-mode):
9375 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9376 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9377 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9379 * term/xterm.el (xterm): Change parent group to terminals.
9381 * master.el (master): Remove empty custom group.
9382 (master-mode): Remove unused :group argument.
9383 * textmodes/refill.el (refill): Remove empty custom group.
9384 (refill-mode): Remove unused :group argument.
9386 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9388 * cus-dep.el: Provide a feature.
9389 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9390 Don't mistakenly ignore files whose basenames match a basename
9391 from preloaded-file-list (eg cedet/ede/simple.el).
9392 Add a fallback method for getting :group.
9394 2013-05-15 Juri Linkov <juri@jurta.org>
9396 * isearch.el (isearch-char-by-name): Rename from
9397 `isearch-insert-char-by-name'. Doc fix.
9398 (isearch-forward): Mention `isearch-char-by-name' in
9399 the docstring. (Bug#13348)
9401 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9402 `exit-minibuffer' instead of
9403 `isearch-nonincremental-exit-minibuffer'.
9404 (isearch-edit-string): Remove mention of
9405 `isearch-nonincremental-exit-minibuffer' from docstring.
9406 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9407 (isearch-forward-exit-minibuffer)
9408 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9410 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9412 * loadup.el: Just use unversioned DOC.
9414 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9415 literals as extending to EOB.
9416 (nxml-last-fontify-end): Remove unused variable.
9417 (nxml-after-change1): Use with-silent-modifications.
9418 (nxml-extend-after-change-region): Simplify.
9419 (nxml-extend-after-change-region1): Remove function.
9420 (nxml-after-change1): Don't adjust for dependent regions.
9421 (nxml-fontify-matcher): Simplify.
9422 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9423 (xmltok-add-dependent): Remove function.
9424 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9425 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9426 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9427 unclosed <[[, <?, comment, and other literals as extending to EOB.
9428 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9429 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9431 (rng-do-some-validation-1): Don't mark dependent regions.
9432 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9433 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9434 (nxml-clear-dependent-regions): Remove functions.
9435 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9436 (nxml-ensure-scan-up-to-date):
9437 Don't clear&mark dependent regions.
9439 2013-05-15 Leo Liu <sdl.web@gmail.com>
9441 * progmodes/octave.el (octave-goto-function-definition):
9442 Improve and fix callers.
9444 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9446 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9447 the setter (bug#14387).
9449 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9450 surrounding group (bug#14402).
9452 2013-05-14 Juri Linkov <juri@jurta.org>
9454 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9457 2013-05-14 Glenn Morris <rgm@gnu.org>
9459 * progmodes/f90.el (f90-imenu-generic-expression):
9460 Fix typo in 2013-05-08 change. (Bug#14402)
9462 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9464 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9465 Remove signals for which replies are never received.
9467 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9469 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9470 (gdb-handler-alist, gdb-handler-number): Remove variables.
9471 (gdb-handler-list): New variable.
9472 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9473 (gdb-pending-handler-p, gdb-handle-reply)
9474 (gdb-remove-all-pending-triggers): New functions.
9475 (gdb-discard-unordered-replies): New defcustom.
9476 (gdb-handler): New defstruct.
9477 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9478 instead of gdb-pending-triggers. Update docstring.
9479 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9480 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9481 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9482 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9483 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9484 (gdb-frame-handler): Pending triggers are now automatically managed.
9485 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9487 (gdb-input): Automatically handles pending triggers. Update docstring.
9488 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9489 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9491 (gdb-done-or-error): Now use gdb-handle-reply.
9493 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9495 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9498 2013-05-14 Glenn Morris <rgm@gnu.org>
9500 * subr.el (user-emacs-directory-warning): New option.
9501 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9503 2013-05-14 Leo Liu <sdl.web@gmail.com>
9505 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9507 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9508 (octave-font-lock-texinfo-comment): Fix invalid search bound
9509 error: wrong side of point.
9511 2013-05-14 Glenn Morris <rgm@gnu.org>
9513 * progmodes/flymake.el (flymake-xml-program): New option.
9514 (flymake-xml-init): Use it.
9516 * term/xterm.el: Provide a feature.
9518 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9520 2013-05-13 Glenn Morris <rgm@gnu.org>
9522 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9523 Add compat aliases as a hack workaround. (Bug#14384)
9525 2013-05-13 Leo Liu <sdl.web@gmail.com>
9527 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9529 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9531 (octave-comment-start-skip): Include %!.
9532 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9534 2013-05-12 Leo Liu <sdl.web@gmail.com>
9536 * progmodes/octave.el (inferior-octave-startup): Store the value
9537 of __octave_srcdir__ for octave-source-directories.
9538 (inferior-octave-check-process): New function refactored out of
9539 inferior-octave-send-list-and-digest.
9540 (octave-source-directories)
9541 (octave-find-definition-filename-function): New variables.
9542 (octave-source-directories)
9543 (octave-find-definition-default-filename): New functions.
9544 (octave-find-definition): Improve to find functions implemented in C++.
9546 2013-05-12 Glenn Morris <rgm@gnu.org>
9548 * calendar/diary-lib.el (diary-outlook-format-1):
9549 Don't include dayname in the output. (Bug#14349)
9551 2013-05-11 Glenn Morris <rgm@gnu.org>
9553 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9555 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9556 Treat cc-provide like provide.
9558 2013-05-11 Kevin Ryde <user42@zip.com.au>
9560 * cus-dep.el (custom-make-dependencies):
9561 Use generated-autoload-load-name for the sake of files such
9562 such cedet/semantic/bovine/c.el, where the base file name
9563 is not in load-path. (Bug#5277)
9565 2013-05-11 Glenn Morris <rgm@gnu.org>
9567 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9570 2013-05-11 Leo Liu <sdl.web@gmail.com>
9572 * progmodes/octave.el (octave-indent-comment): Improve.
9573 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9574 (octave-eldoc-function-signatures, octave-eldoc-function):
9576 (octave-mode, inferior-octave-mode): Add eldoc support.
9578 2013-05-11 Richard Stallman <rms@gnu.org>
9580 * epa.el (epa-decrypt-file): Take output file name as argument
9581 and read it using `interactive'.
9583 2013-05-11 Leo Liu <sdl.web@gmail.com>
9585 * progmodes/octave.el (octave-beginning-of-line)
9586 (octave-end-of-line): Check before using up-list because it jumps
9587 out of more syntactic contructs since moving to smie.
9588 (octave-indent-comment): New function.
9589 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9590 (octave-begin-keywords, octave-end-keywords)
9591 (octave-reserved-words, octave-smie-bnf-table)
9592 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9594 2013-05-11 Glenn Morris <rgm@gnu.org>
9596 * faces.el (internal-face-x-get-resource):
9597 * frame.el (ns-display-monitor-attributes-list):
9598 * calc/calc-aent.el (math-to-radians-2):
9599 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9602 * calc/calc-menu.el: Make it loadable in isolation.
9604 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9605 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9606 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9607 (eudc-bbdb-query-internal): Require 'bbdb.
9609 * lpr.el (lpr-headers-switches):
9610 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9612 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9614 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9616 * term.el (term-set-escape-char): Make it idempotent.
9618 2013-05-10 Leo Liu <sdl.web@gmail.com>
9620 * progmodes/octave.el (inferior-octave-completion-table):
9621 No longer a function and all uses changed. Use cache to speed up
9622 completion due to bug#11906.
9623 (octave-beginning-of-defun): Re-write to be more general.
9625 2013-05-10 Glenn Morris <rgm@gnu.org>
9627 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9629 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9631 * comint.el (comint-redirect-send-command-to-process): Use :around
9632 rather than :override for comint-redirect-filter.
9633 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9634 Call it instead of comint-redirect-original-filter-function (which
9635 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9637 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9639 * frame.el (display-monitor-attributes-list): Add NS case.
9640 (ns-display-monitor-attributes-list): Declare.
9642 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9644 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9646 2013-05-09 Glenn Morris <rgm@gnu.org>
9648 * international/fontset.el (vertical-centering-font-regexp):
9651 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9653 * bookmark.el (bookmark-search-delay):
9654 * cus-start.el (vertical-centering-font-regexp):
9655 * ps-mule.el (ps-mule-font-info-database-default):
9656 * ps-print.el (ps-default-fg, ps-default-bg):
9657 * type-break.el (type-break-good-break-interval):
9658 * whitespace.el (whitespace-indentation-regexp)
9659 (whitespace-space-after-tab-regexp):
9660 * emacs-lisp/testcover.el (testcover-1value-functions)
9661 (testcover-noreturn-functions, testcover-progn-functions)
9662 (testcover-prog1-functions):
9663 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9664 * eshell/em-glob.el (eshell-glob-translate-alist):
9665 * play/tetris.el (tetris-tty-colors):
9666 * progmodes/cpp.el (cpp-face-default-list):
9667 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9668 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9669 (idlwave-help-browser-generic-args):
9670 * progmodes/make-mode.el (makefile-special-targets-list):
9671 * progmodes/python.el (python-shell-virtualenv-path):
9672 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9673 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9674 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9675 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9676 * textmodes/reftex-vars.el (reftex-format-label-function):
9677 * textmodes/remember.el (remember-diary-file): Fix custom types.
9679 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9682 2013-05-09 Leo Liu <sdl.web@gmail.com>
9684 * progmodes/octave.el (inferior-octave-completion-at-point):
9685 Restore file completion. (Bug#14300)
9686 (inferior-octave-startup): Fix incorrect highlighting for the
9689 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9691 * progmodes/ruby-mode.el: First cut at SMIE support.
9692 (ruby-use-smie): New var.
9693 (ruby-smie-grammar): New constant.
9694 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9695 (ruby-smie--forward-token, ruby-smie--backward-token)
9696 (ruby-smie-rules): New functions.
9697 (ruby-mode-variables): Setup SMIE if applicable.
9699 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9701 * simple.el (line-move-visual): Signal beginning/end of buffer
9702 only if vertical-motion moved less than it was requested. Avoids
9703 silly incorrect error messages when there are display strings with
9704 multiple newlines at EOL.
9706 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9708 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9709 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9710 (prolog-char-quote-workaround):
9711 * progmodes/cperl-mode.el (cperl-under-as-char):
9712 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9714 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9716 (vhdl-mode-syntax-table-init): Remove.
9718 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9721 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9723 (ld-script-font-lock-keywords):
9724 Change regexps to use things like \_< and \_>.
9726 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9727 Change all regexps to use things like \_< and \_>.
9729 * progmodes/autoconf.el (autoconf-definition-regexp)
9730 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9731 Handle a _ with symbol syntax.
9732 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9734 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9735 Consolidate declaration.
9736 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9738 (ada-create-syntax-table): Remove.
9739 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9740 already has the right syntax nowadays.
9741 (ada-goto-next-word): Don't change the syntax of "_".
9743 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9746 2013-05-08 Sam Steingold <sds@gnu.org>
9748 * thingatpt.el (thing-at-point): Accept optional second argument
9749 NO-PROPERTIES to strip the text properties from the return value.
9750 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9751 to `thing-at-point' instead of stripping the properties ourselves.
9752 Also, when `thing-at-point' fails to find a url, prepend "http://"
9753 to the filename at point on the assumption that the user is
9754 pointing at something like gnu.org/gnu.
9756 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9758 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9759 * faces.el (crm-separator):
9760 Silence byte-compiler.
9762 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9763 (tool-bar-map): Remove unneeded defvars.
9765 2013-05-08 Leo Liu <sdl.web@gmail.com>
9767 Re-work a fix for bug#10994 based on Le Wang's patch.
9768 * ido.el (ido-remove-consecutive-dups): New helper.
9769 (ido-completing-read): Use it.
9770 (ido-chop): Revert fix for bug#10994.
9772 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9774 * cus-edit.el (custom-save-variables):
9775 Pretty-print long values. (Bug#14187)
9777 2013-05-08 Glenn Morris <rgm@gnu.org>
9779 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9780 (m4-mode-syntax-table): Init in the defvar.
9781 (m4-mode-abbrev-table): Let define-derived-mode define it.
9783 2013-05-08 Tom Tromey <tromey@redhat.com>
9785 * progmodes/m4-mode.el (m4-mode-syntax-table):
9786 Do not treat "_" as word constituent. (Bug#14167)
9788 2013-05-07 Glenn Morris <rgm@gnu.org>
9790 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9791 Remove explicit eshell-isearch-cancel-map.
9793 * progmodes/f90.el (f90-smart-end-names): New option.
9794 (f90-smart-end): Doc fix.
9795 (f90-end-block-optional-name): New constant.
9796 (f90-block-match): Respect f90-smart-end-names.
9798 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9800 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9801 about implicit semi-colons (bug#14218).
9803 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9805 * frame.el (display-monitor-attributes-list)
9806 (frame-monitor-attributes): New functions.
9808 2013-05-06 Leo Liu <sdl.web@gmail.com>
9810 * progmodes/octave.el (octave-syntax-propertize-function): Change
9811 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9812 (octave-font-lock-keywords): Use octave-operator-regexp.
9813 (octave-completion-at-point): Rename from
9814 octave-completion-at-point-function.
9815 (inferior-octave-directory-tracker): Robustify.
9816 (octave-text-functions): Remove and fix its uses. No such things
9819 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9821 * emacs-lisp/trace.el (trace--display-buffer): New function.
9822 (trace-make-advice): Use it.
9824 2013-05-06 Juri Linkov <juri@jurta.org>
9826 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9827 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9829 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9830 in the help string. (Bug#12985)
9832 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9834 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9836 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9838 * progmodes/perl-mode.el: Add support for here documents.
9839 (perl-syntax-propertize-function): Match here-doc markers.
9840 (perl-syntax-propertize-special-constructs): Find their end.
9841 (perl-imenu-generic-expression): Use [:alnum:].
9843 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9844 (advice--add-function): Refresh the advice if already present
9847 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9849 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9851 2013-05-06 Glenn Morris <rgm@gnu.org>
9853 * w32-fns.el (w32-charset-info-alist): Declare.
9855 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9856 of its defcustom properties.
9857 (eshell-cmpl-initialize): No need to load pcomplete.
9859 * generic-x.el: No need to require comint when compiling.
9861 * net/eudc-export.el: Make it loadable without bbdb.
9862 (top-level): Use require rather than load-library.
9863 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9864 (eudc-batch-export-records-to-bbdb)
9865 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9868 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9870 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9871 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9872 some tweaks, instead.
9874 2013-05-05 Leo Liu <sdl.web@gmail.com>
9876 * progmodes/octave.el (octave-font-lock-keywords)
9877 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9878 (inferior-octave-send-list-and-digest): Improve error message.
9879 (octave-mode, inferior-octave-mode): Use setq-local.
9880 (octave-help): Set info-lookup-mode.
9882 2013-05-05 Richard Stallman <rms@gnu.org>
9884 * vc/compare-w.el (compare-windows-whitespace):
9885 Treat no-break space as whitespace.
9887 * mail/rmailsum.el (rmail-summary-rmail-update):
9888 Detect empty summary and don't change selected message.
9889 (rmail-summary-goto-msg): Likewise.
9891 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9892 Doc fixes, rename args.
9894 2013-05-05 Alan Mackenzie <acm@muc.de>
9896 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9898 2013-05-05 Juri Linkov <juri@jurta.org>
9900 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9901 to not add the length of the summary segment to the return value.
9904 2013-05-05 Leo Liu <sdl.web@gmail.com>
9906 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9907 (inferior-octave-output-filter): Remove.
9908 (octave-send-region, inferior-octave-startup): Fix callers.
9909 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9910 (octave-binary-file-extensions): New user variable.
9911 (octave-find-definition): Confirm if opening binary files.
9912 (octave-help-file): Use octave-find-definition to get the binary
9914 (octave-help): Adjust for octave-help-file change.
9916 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9918 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9919 Merge the two entries that handle function definitions.
9920 (pascal--syntax-propertize): New const.
9921 (pascal-mode): Use it. Use setq-local.
9923 2013-05-04 Glenn Morris <rgm@gnu.org>
9925 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9926 (diary-from-outlook): Respect diary-from-outlook-function.
9928 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9930 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9931 Move the declaration from C.
9932 (read-minibuffer, eval-minibuffer): Move from C.
9933 (completion-setup-function): Avoid minibuffer-completion-contents.
9935 2013-05-03 Leo Liu <sdl.web@gmail.com>
9937 * progmodes/octave.el (octave-font-lock-keywords): Do not
9938 dehighlight 'end' in comments or strings.
9939 (octave-completing-read, octave-goto-function-definition):
9941 (octave-help-buffer): New user variable.
9942 (octave-help-file, octave-help-function): New button types.
9943 (octave-help): New command and bind it to C-h ;.
9944 (octave-find-definition): New command and bind it to M-.
9945 (user-error): Alias to error if not defined.
9947 2013-05-02 Leo Liu <sdl.web@gmail.com>
9949 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9951 (octave-font-lock-keywords): Include [ and {.
9953 2013-05-02 Leo Liu <sdl.web@gmail.com>
9955 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9956 (inferior-octave): Remove calling comint-mode and return the buffer.
9957 (inferior-octave-startup): Cosmetic changes.
9959 2013-05-02 Leo Liu <sdl.web@gmail.com>
9961 * progmodes/octave.el (octave-syntax-propertize-function):
9962 Include the case when ' is at line beginning. (Bug#14336)
9964 2013-05-02 Glenn Morris <rgm@gnu.org>
9966 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9967 * desktop.el (vc-dir-mode): Just autoload it here.
9969 2013-05-02 Alan Mackenzie <acm@muc.de>
9971 Eliminate variable c-standard-font-lock-fontify-region-function.
9972 * progmodes/cc-mode.el
9973 (c-standard-font-lock-fontify-region-function): Remove.
9974 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9976 2013-05-01 Leo Liu <sdl.web@gmail.com>
9978 * progmodes/octave.el: Compatible with older emacs-24 releases.
9979 (inferior-octave-has-built-in-variables): Remove. Built-in
9980 variables were removed from Octave in 2007.
9981 (inferior-octave-startup): Fix uses.
9982 (comint-line-beginning-position): Remove compatibility code for
9985 2013-05-01 Juri Linkov <juri@jurta.org>
9987 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9989 2013-05-01 Juri Linkov <juri@jurta.org>
9991 * comint.el (comint-previous-matching-input): Don't print message
9992 "History item: %d" when `isearch-mode' is active.
9993 (comint-history-isearch-message): Print message "History item: %d"
9994 when `comint-input-ring-index' is not empty and this function is
9995 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9997 2013-05-01 Leo Liu <sdl.web@gmail.com>
9999 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10000 definitions. Use completion-at-point to insert keywords.
10001 (octave-abbrev-start): Remove.
10002 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10004 2013-04-30 Leo Liu <sdl.web@gmail.com>
10006 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10009 2013-04-30 Alan Mackenzie <acm@muc.de>
10011 Handle arbitrarily long C++ member initialisation lists.
10012 * progmodes/cc-engine.el (c-back-over-member-initializers):
10014 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10015 (most) member init lists.
10017 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10019 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10022 2013-04-30 Leo Liu <sdl.web@gmail.com>
10024 * progmodes/octave.el (octave-variables): Remove. No builtin
10025 variables any more. All converted to functions.
10026 (octave-font-lock-keywords, octave-completion-at-point-function):
10028 (octave-font-lock-texinfo-comment): New user variable.
10029 (octave-texinfo-font-lock-keywords): New variable for texinfo
10031 (octave-function-comment-block): New face.
10032 (octave-font-lock-texinfo-comment): New function.
10033 (octave-mode): Font lock texinfo comment block.
10035 2013-04-29 Leo Liu <sdl.web@gmail.com>
10037 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10038 indexing expression.
10039 (octave-continuation-string): Do not use \.
10040 (inferior-octave-complete-impossible): Remove.
10041 (inferior-octave-completion-table)
10042 (inferior-octave-completion-at-point): Remove its uses.
10043 (inferior-octave-startup): completion_matches was introduced to
10044 Octave in 1996 so safe to assume it.
10045 (octave-function-file-comment): Improve to follow how Octave does it.
10046 (octave-update-function-file-comment): Tweak.
10048 2013-04-29 Leo Liu <sdl.web@gmail.com>
10050 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10051 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10052 (octave-function-file-comment): Fix typo.
10053 (octave-sync-function-file-names): Use read-char-choice.
10055 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10057 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10058 to t for the less important warnings.
10060 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10062 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10064 2013-04-27 Glenn Morris <rgm@gnu.org>
10066 * vc/log-view.el (log-view-current-entry):
10067 Treat "---" separator lines as part of the following rev. (Bug#14169)
10069 2013-04-27 Juri Linkov <juri@jurta.org>
10071 * subr.el (read-number): Doc fix about using it by interactive
10072 code letter `n'. (Bug#14254)
10074 2013-04-27 Juri Linkov <juri@jurta.org>
10076 * desktop.el (desktop-auto-save-timeout): New option.
10077 (desktop-file-checksum): New variable.
10078 (desktop-save): Add optional arg `auto-save' and don't auto-save
10079 if nothing changed.
10080 (desktop-auto-save-timer): New variable.
10081 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10082 (after-init-hook): Call `desktop-auto-save-set-timer'.
10083 Suggested by Reuben Thomas <rrt@sc3d.org> in
10084 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10086 2013-04-27 Leo Liu <sdl.web@gmail.com>
10088 * progmodes/octave.el (octave-function-file-p)
10089 (octave-skip-comment-forward, octave-function-file-comment)
10090 (octave-update-function-file-comment): New functions.
10091 (octave-mode-map): Bind C-c ; to
10092 octave-update-function-file-comment.
10093 (octave-mode-menu): Add octave-update-function-file-comment.
10094 (octave-mode, inferior-octave-mode): Fix doc-string.
10095 (octave-insert-defun): Conform to Octave's coding convention.
10098 * files.el (basic-save-buffer): Don't let errors in
10099 before-save-hook prevent saving buffer.
10101 2013-04-20 Roland Winkler <winkler@gnu.org>
10103 * faces.el (read-face-name): Use completing-read if arg multiple
10106 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10108 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10109 displayed, move point to after the totals line.
10110 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10113 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10115 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10116 Add current dir to the load-path.
10117 (package-generate-autoloads): Don't rely on
10118 autoload-ensure-default-file.
10120 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10122 * textmodes/remember.el (remember-store-in-files): Document that
10123 the file name format is passed to `format-time-string'.
10125 2013-04-26 Leo Liu <sdl.web@gmail.com>
10127 * progmodes/octave.el (octave-sync-function-file-names): New function.
10128 (octave-mode): Use it in before-save-hook.
10130 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10132 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10135 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10136 \n and comment, even if it's not an implicit ; (bug#14218).
10138 2013-04-26 Glenn Morris <rgm@gnu.org>
10140 * subr.el (read-number): Once more use `read' rather than
10141 `string-to-number', to trap non-numeric input. (Bug#14254)
10143 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10145 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10146 Use `syntax-multiline' text property consistently instead of
10147 `font-lock-multiline'. (Bug#14237)
10149 2013-04-26 Glenn Morris <rgm@gnu.org>
10151 * emacs-lisp/shadow.el (list-load-path-shadows):
10152 No longer necessary to check for duplicate simple.el, since
10153 2012-07-07 change to init_lread to not include installation lisp
10154 directories in load-path when running uninstalled. (Bug#14270)
10156 2013-04-26 Leo Liu <sdl.web@gmail.com>
10158 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10159 (octave-mode, inferior-octave-mode): Use setq-local.
10160 (octave-not-in-string-or-comment-p): Rename to
10161 octave-in-string-or-comment-p.
10162 (octave-in-comment-p, octave-in-string-p)
10163 (octave-in-string-or-comment-p): Replace defsubst with defun.
10165 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10167 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10169 2013-04-25 Bastien Guerry <bzg@gnu.org>
10171 * textmodes/remember.el (remember-data-directory)
10172 (remember-directory-file-name-format): Fix custom types.
10174 2013-04-25 Leo Liu <sdl.web@gmail.com>
10176 * progmodes/octave.el (octave-completion-at-point-function):
10177 Make use of inferior octave process.
10178 (octave-initialize-completions): Remove.
10179 (inferior-octave-completion-table): New function.
10180 (inferior-octave-completion-at-point): Use it.
10181 (octave-completion-alist): Remove.
10183 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10185 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10186 (opascal-mode-syntax-table): New var.
10187 (opascal-literal-kind, opascal-is-literal-end)
10188 (opascal-literal-token-at): Rewrite.
10189 (opascal--literal-start-re, opascal-font-lock-keywords)
10190 (opascal--syntax-propertize): New constants.
10191 (opascal-font-lock-defaults): Adjust.
10192 (opascal-mode): Use them. Set comment-<foo> variables as well.
10193 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10194 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10195 (delphi-other-face, opascal-other-face): Remove face variables.
10196 (opascal-save-state): Remove macro.
10197 (opascal-fontifying-progress-step): Remove constant.
10198 (opascal--ignore-changes): Remove var.
10199 (opascal-set-token-property, opascal-parse-next-literal)
10200 (opascal-is-stable-literal, opascal-complete-literal)
10201 (opascal-is-literal-start, opascal-face-of)
10202 (opascal-parse-region, opascal-parse-region-until-stable)
10203 (opascal-fontify-region, opascal-after-change)
10204 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10205 (opascal-debug-parse-region, opascal-debug-parse-window)
10206 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10207 (opascal-debug-fontify-buffer): Remove.
10208 (opascal-debug-mode-map): Adjust accordingly.
10210 2013-04-25 Leo Liu <sdl.web@gmail.com>
10212 Merge octave-mod.el and octave-inf.el into octave.el with some
10214 * progmodes/octave.el: New file renamed from octave-mod.el.
10215 * progmodes/octave-inf.el: Merged into octave.el.
10216 * progmodes/octave-mod.el: Renamed to octave.el.
10218 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10220 * textmodes/reftex-vars.el
10221 (reftex-label-ignored-macros-and-environments): New defcustom.
10223 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10225 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10227 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10228 (smie-indent-keyword): Improve the check to ensure that the next
10229 comment is really on the same line.
10230 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10232 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10233 semi-colons if the line is not otherwise empty (bug#14218).
10235 2013-04-25 Glenn Morris <rgm@gnu.org>
10237 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10239 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10241 * progmodes/opascal.el (opascal-set-token-property): Rename from
10242 opascal-set-text-properties and only set `token' (bug#14134).
10243 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10244 (opascal-literal-text-properties): Remove.
10245 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10248 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10250 * textmodes/remember.el (remember-handler-functions): Add an
10251 option for a new handler `remember-store-in-files'.
10252 (remember-data-directory, remember-directory-file-name-format):
10254 (remember-store-in-files): New function to store remember notes
10255 as separate files within a directory.
10257 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10259 * progmodes/compile.el (compilation-next-error-function):
10260 Pass "formats" to compilation-find-file (bug#11777).
10262 2013-04-24 Glenn Morris <rgm@gnu.org>
10264 * vc/vc-bzr.el (vc-bzr-print-log):
10265 * vc/vc-hg.el (vc-hg-print-log):
10266 * vc/vc-svn.el (vc-svn-print-log):
10267 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10269 * vc/vc-bzr.el (vc-bzr-print-log):
10270 * vc/vc-cvs.el (vc-cvs-print-log):
10271 * vc/vc-git.el (vc-git-print-log):
10272 * vc/vc-hg.el (vc-hg-print-log):
10273 * vc/vc-mtn.el (vc-mtn-print-log):
10274 * vc/vc-rcs.el (vc-rcs-print-log):
10275 * vc/vc-sccs.el (vc-sccs-print-log):
10276 * vc/vc-svn.el (vc-svn-print-log):
10277 * vc/vc.el (vc-print-log-internal): Doc fixes.
10279 2013-04-23 Glenn Morris <rgm@gnu.org>
10281 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10282 Remove venerable code attempting to avoid substitute-command-keys.
10284 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10286 * textmodes/reftex-vars.el (reftex-label-regexps):
10287 Call `reftex-compile-variables' after changes to this variable.
10289 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10291 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10292 Use lexical-binding.
10293 (jit-lock-force-redisplay): Use markers, check buffer's continued
10294 existence and beware narrowed buffers.
10295 (jit-lock-fontify-now): Adjust call accordingly.
10297 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10299 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10300 to avoid misleading the user.
10302 2013-04-22 Leo Liu <sdl.web@gmail.com>
10304 * info-look.el: Prefer latex2e.info. (Bug#14240)
10306 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10308 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10310 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10311 * net/tramp.el (tramp-call-process): ... here.
10312 (tramp-set-completion-function, tramp-parse-putty):
10313 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10314 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10315 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10316 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10317 (tramp-call-local-coding-command): Use `tramp-call-process'
10318 instead of `tramp-compat-call-process'.
10320 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10321 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10322 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10323 (tramp-find-inline-compress): Improve traces.
10324 (tramp-maybe-send-script): Check for Perl binary.
10325 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10327 2013-04-22 Daiki Ueno <ueno@gnu.org>
10329 * epg.el (epg-context-pinentry-mode): New function.
10330 (epg-context-set-pinentry-mode): New function.
10331 (epg--start): Pass --pinentry-mode option to gpg command.
10333 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10335 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10336 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10337 `completion-at-point'. (Bug#13774)
10339 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10340 default key binding for `describe-distribution' has been moved to
10341 `C-h C-o'. (Bug#13970)
10343 2013-04-21 Glenn Morris <rgm@gnu.org>
10345 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10347 (vc-print-log): Clarify interactive prompt.
10349 2013-04-20 Glenn Morris <rgm@gnu.org>
10351 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10352 No longer include timestamp etc information.
10354 2013-04-20 Roland Winkler <winkler@gnu.org>
10356 * faces.el (read-face-name): Bug fix, return just one face if arg
10357 multiple is nil. (Bug#14209)
10359 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10361 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10362 (remove-function): Autoload.
10364 * comint.el (comint-redirect-original-filter-function): Remove.
10365 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10366 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10367 (vc-cvs-annotate-command):
10368 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10369 * progmodes/prolog.el (prolog-consult-compile):
10370 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10371 Use add/remove-function instead.
10372 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10373 (gud-tooltip-process-output, gud-tooltip-tips):
10374 Use add/remove-function instead.
10375 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10376 (scheme-interaction-mode, exit-scheme-interaction-mode):
10377 Use add/remove-function instead.
10379 * vc/vc-dispatcher.el: Use lexical-binding.
10380 (vc--process-sentinel): Rename from vc-process-sentinel.
10381 Change last arg to be the code to run. Don't use vc-previous-sentinel
10382 and vc-sentinel-commands any more.
10383 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10384 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10386 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10388 * progmodes/sh-script.el (sh-imenu-generic-expression):
10389 Handle function names with a single character. (Bug#14111)
10391 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10393 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10394 for subroutines defined in an eval (bug#14182).
10396 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10398 * bookmark.el (bookmark-completing-read): Improve handling of empty
10399 string (bug#14176).
10401 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10403 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10405 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10407 New faster Imenu implementation (bug#14058).
10408 * progmodes/python.el:
10409 (python-imenu-prev-index-position):
10410 (python-imenu-format-item-label-function)
10411 (python-imenu-format-parent-item-label-function)
10412 (python-imenu-format-parent-item-jump-label-function):
10414 (python-imenu-format-item-label)
10415 (python-imenu-format-parent-item-label)
10416 (python-imenu-format-parent-item-jump-label)
10417 (python-imenu--put-parent, python-imenu--build-tree)
10418 (python-imenu-create-index, python-imenu-create-flat-index)
10419 (python-util-popn): New functions.
10420 (python-mode): Set imenu-create-index-function to
10421 python-imenu-create-index.
10423 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10425 * winner.el (winner-active-region): Use region-active-p, activate-mark
10426 and deactivate-mark (bug#14225).
10428 * simple.el (deactivate-mark): Don't inline it.
10430 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10432 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10434 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10436 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10437 file extensions from the archive-mode entry in order to prefer
10438 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10440 2013-04-18 Leo Liu <sdl.web@gmail.com>
10442 * bindings.el (help-event-list): Add ?\?.
10444 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10446 * subr.el (with-wrapper-hook): Declare obsolete.
10447 * simple.el (filter-buffer-substring-function): New hook.
10448 (filter-buffer-substring): Use it.
10449 (filter-buffer-substring-functions): Mark obsolete.
10450 * minibuffer.el (completion-in-region-function): New hook.
10451 (completion-in-region): Use it.
10452 (completion-in-region-functions): Mark obsolete.
10453 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10454 * abbrev.el (abbrev-expand-function): New hook.
10455 (expand-abbrev): Use it.
10456 (abbrev-expand-functions): Mark obsolete.
10457 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10458 and :filter-return.
10460 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10462 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10463 and do not care about match data.
10465 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10467 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10468 completion tables when completing error conditions and
10469 `declare' arguments.
10470 (lisp-complete-symbol, field-complete): Mark as obsolete.
10471 (check-parens): Unmatched parens are user errors.
10472 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10474 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10476 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10477 command changed buffer (ie. `flyspell-pre-buffer' is not current
10478 buffer), which prevents making decisions based on invalid value of
10479 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10480 cause an error when `flyspell-pre-point' was nil after switching
10482 (flyspell-post-command-hook): No longer needs to change buffers when
10483 checking pre-word. While at it remove unnecessary progn.
10485 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10487 * textmodes/ispell.el (ispell-add-per-file-word-list):
10488 Fix `flyspell-correct-word-before-point' error when accepting
10489 words and `coment-padding' is an integer by using
10490 `comment-normalize-vars' (Bug #14214).
10492 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10494 New defun movement commands.
10495 * progmodes/python.el (python-nav--syntactically)
10496 (python-nav--forward-defun, python-nav-backward-defun)
10497 (python-nav-forward-defun): New functions.
10499 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10501 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10502 (python-syntax-context): Use named compiler-macro for backwards
10503 compatibility with Emacs 24.x.
10505 2013-04-17 Leo Liu <sdl.web@gmail.com>
10507 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10508 octave-hide-process-buffer.
10510 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10512 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10515 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10517 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10518 Fix adjustment of offset when receiving incomplete responses from GDB
10521 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10523 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10524 python-mode-abbrev-table.
10525 (python-skeleton-define): Adjust accordingly.
10526 (python-mode-abbrev-table): New table that inherits from it so that
10527 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10529 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10530 (abbrev-symbol): Use it.
10531 (abbrev--before-point): Use it since we already handle inheritance.
10533 2013-04-16 Leo Liu <sdl.web@gmail.com>
10535 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10536 binding to info-lookup-symbol.
10538 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10540 * minibuffer.el (completion--twq-all):
10541 * term/ns-win.el (ns-initialize-window-system):
10542 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10544 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10546 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10549 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10551 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10553 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10554 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10556 (ruby-end-of-defun): Remove the unused arg, change the docstring
10557 to reflect that this function is only used as the value of
10558 `end-of-defun-function'.
10559 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10560 to reflect an earlier change that beginning/end-of-defun functions
10561 jump between methods in a class definition, as well as top-level
10564 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10566 * minibuffer.el (minibuffer-complete): Don't just scroll
10567 a *Completions* that's been iconified.
10568 (minibuffer-force-complete): Make sure repetitions do cycle when going
10569 through completion-in-region -> minibuffer-complete.
10571 2013-04-15 Alan Mackenzie <acm@muc.de>
10573 Correct the placement of c-cpp-delimiters when there're #s not at
10576 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10577 place a submatch around the #.
10578 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10579 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10582 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10584 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10585 (advice--member-p): New arg `name'.
10586 (advice--add-function, advice-member-p): Use it (bug#14202).
10588 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10590 Reformulate java imenu-generic-expression.
10591 The old expression contained ill formed regexps.
10593 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10594 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10595 (cc-imenu-java-method-arg-regexp): New defconsts.
10596 (cc-imenu-java-build-type-args-regex): New defun.
10597 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10598 handling of spaces in the regexp.
10600 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10602 * textmodes/ispell.el (ispell-command-loop): Remove
10603 flyspell highlight of a word when ispell accepts it (bug #14178).
10605 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10607 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10608 uses code from the previous `ange-ftp-run-real-handler'.
10609 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10610 only in case that function exist. This is needed for proper
10611 unloading of Tramp.
10613 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10615 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10617 * textmodes/reftex.el (reftex-compile-variables): Use it.
10619 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10621 * files.el (normal-mode): Only use default major-mode if no other mode
10624 * emacs-lisp/trace.el (trace-values): New function.
10626 * files.el: Allow : in local variables (bug#14089).
10627 (hack-local-variable-regexp): New var.
10628 (hack-local-variables-prop-line, hack-local-variables): Use it.
10630 2013-04-13 Roland Winkler <winkler@gnu.org>
10632 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10633 data before it gets modified by bibtex-beginning-of-entry.
10635 2013-04-13 Roland Winkler <winkler@gnu.org>
10637 * textmodes/bibtex.el (bibtex-url): Doc fix.
10639 2013-04-13 Roland Winkler <winkler@gnu.org>
10641 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10642 does not visit a BibTeX file, exclude it from the list of buffers
10643 returned by bibtex-initialize.
10645 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10647 * window.el (split-window): Remove interactive form, since as a
10648 command this function is a special case of split-window-below.
10649 Correct doc string.
10651 2013-04-12 Roland Winkler <winkler@gnu.org>
10653 * faces.el (read-face-name): Do not override value of arg default.
10654 Allow single faces and strings as default values. Remove those
10655 elements from return value that are not faces.
10656 (describe-face): Simplify.
10657 (face-at-point): New optional args thing and multiple so that this
10658 function can provide the same functionality previously provided by
10660 (make-face-bold, make-face-unbold, make-face-italic)
10661 (make-face-unitalic, make-face-bold-italic, invert-face)
10662 (modify-face, read-face-and-attribute): Use face-at-point.
10664 * cus-edit.el (customize-face, customize-face-other-window)
10665 * cus-theme.el (custom-theme-add-face)
10666 * face-remap.el (buffer-face-set)
10667 * facemenu.el (facemenu-set-face): Use face-at-point.
10669 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10671 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10673 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10675 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10676 off leading { and trailing } from field values.
10678 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10680 * emacs-lisp/timer.el (timer--check): New function.
10681 (timer--time, timer-set-function, timer-event-handler): Use it.
10682 (timer-set-idle-time): Simplify.
10683 (timer--activate): CSE.
10684 (timer-event-handler): Give more info in error message.
10685 (internal-timer-start-idle): New function, moved from C.
10687 * mpc.el (mpc-proc): Add `restart' argument.
10688 (mpc-proc-cmd): Use it.
10689 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10690 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10693 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10695 * progmodes/sh-script.el: Implement `sh-mode' own
10696 `add-log-current-defun-function' (bug#14112).
10697 (sh-current-defun-name): New function.
10698 (sh-mode): Use the function.
10700 2013-04-09 Bastien Guerry <bzg@gnu.org>
10702 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10704 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10706 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10708 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10711 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10713 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10716 2013-04-07 Leo Liu <sdl.web@gmail.com>
10718 * pcmpl-x.el: New file.
10720 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10722 Do not set x-display-name until X connection is established.
10723 This is needed to prevent from weird situation described at
10724 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10725 * frame.el (make-frame): Set x-display-name after call to
10726 window system initialization function, not before.
10727 * term/x-win.el (x-initialize-window-system): Add optional
10728 display argument and use it.
10729 * term/w32-win.el (w32-initialize-window-system):
10730 * term/ns-win.el (ns-initialize-window-system):
10731 * term/pc-win.el (msdos-initialize-window-system):
10732 Add compatible optional display argument.
10734 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10736 * files.el (normal-backup-enable-predicate): On MS-Windows and
10737 MS-DOS compare truenames of temporary-file-directory and of the
10738 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10739 don't fail comparison by compare-strings. Also, compare file
10740 names case-insensitively on MS-Windows and MS-DOS.
10742 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10744 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10745 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10747 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10749 * whitespace.el (whitespace-color-on, whitespace-color-off):
10750 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10752 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10754 * ispell.el (ispell-set-spellchecker-params):
10755 Really set `ispell-args' for all equivs.
10757 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10759 * ido.el (ido-completions): Use extra elements of ido-decorations
10761 (ido-decorations): Update docstring.
10763 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10765 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10766 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10767 nil during initialization, in order not to miss changes since the
10768 file was opened. (Bug#14140)
10770 2013-04-05 Leo Liu <sdl.web@gmail.com>
10772 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10774 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10776 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10778 2013-04-04 Glenn Morris <rgm@gnu.org>
10780 * electric.el (electric-pair-inhibit-predicate): Add :version.
10782 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10784 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10785 when a package is required several times (bug#14082).
10787 2013-04-04 Roland Winkler <winkler@gnu.org>
10789 * faces.el (read-face-name): Behave as promised by the docstring.
10790 Assume that arg default is a list of faces.
10791 (describe-face): Call read-face-name with list of default faces.
10793 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10795 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10796 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10797 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10799 (bookmark-exit-hook-internal): Save even if list is empty.
10801 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10803 * emacs-lisp/package.el (package-pinned-packages): New var.
10804 (package--add-to-archive-contents): Obey it (bug#14118).
10806 2013-04-03 Alan Mackenzie <acm@muc.de>
10808 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10809 Also adapt to the new values of element 7 of a parse state.
10811 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10812 parameter `not-in-delimiter'. Handle being inside comment opener.
10813 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10814 character in case we're typing a '*' after a '/'.
10815 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10816 instead by passing the parameter to c-state-pp-to-literal.
10818 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10819 for elt. 7 of a parse state.
10821 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10823 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10824 * international/latin1-disp.el, international/mule-util.el:
10825 * language/cyril-util.el, language/european.el, language/ind-util.el:
10826 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10827 * language/tibetan.el, language/viet-util.el:
10828 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10830 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10832 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10833 (electric-pair-post-self-insert-function): Use it.
10834 (electric-pair-default-inhibit): New function, extracted from
10835 electric-pair-post-self-insert-function.
10837 2013-03-31 Roland Winkler <winkler@gnu.org>
10839 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10841 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10843 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10845 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10847 Un-indent after "pass" and "return" statements (Bug#13888)
10848 * progmodes/python.el (python-indent-block-enders): New var.
10849 (python-indent-calculate-indentation): Use it.
10851 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10853 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10854 defun. Defining it as defalias could introduce too eager
10855 byte-compiler optimization. (Bug#14030)
10857 2013-03-30 Chong Yidong <cyd@gnu.org>
10859 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10861 2013-03-30 Leo Liu <sdl.web@gmail.com>
10863 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10864 (kmacro-execute-from-register): Pass the keyboard macro to
10865 kmacro-call-macro or repeating won't work correctly.
10867 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10869 * progmodes/subword.el: Back to using `forward-symbol'.
10871 * subr.el (forward-whitespace, forward-symbol)
10872 (forward-same-syntax): Move from thingatpt.el.
10874 2013-03-29 Leo Liu <sdl.web@gmail.com>
10876 * kmacro.el (kmacro-to-register): New command.
10877 (kmacro-execute-from-register): New function.
10878 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10880 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10882 * mpc.el: Use defvar-local and setq-local.
10883 (mpc--proc-connect): Connection failures are not bugs.
10884 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10885 (mpc-volume-map): Bind to the up-events.
10887 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10889 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10890 instead of `forward-symbol'.
10892 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10894 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10895 (edebug--recursive-edit): Use it.
10896 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10897 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10899 2013-03-28 Leo Liu <sdl.web@gmail.com>
10901 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10903 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10905 * facemenu.el (list-colors-callback): New defvar.
10906 (list-colors-redisplay): New function.
10907 (list-colors-display): Install list-colors-redisplay as the
10908 revert-buffer-function. (Bug#14063)
10910 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10912 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10913 and suffixes don't overlap (bug#14061).
10915 * case-table.el: Use lexical-binding.
10916 (case-table-get-table): New function.
10917 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10919 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10921 * progmodes/subword.el: Add `superword-mode' to do word motion
10922 over symbol_words (parallels and leverages `subword-mode' which
10923 does word motion inside MixedCaseWords).
10925 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10927 * eshell/em-unix.el: Move su and sudo to...
10928 * eshell/em-tramp.el: ...Eshell tramp module.
10930 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10932 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10933 Change return value to be a sexp. Delay `get-buffer' to after
10934 restoring the desktop (bug#13951).
10936 2013-03-26 Leo Liu <sdl.web@gmail.com>
10938 * register.el: Move semantic tag handling back to
10939 cedet/semantic/senator.el. (Bug#14052)
10941 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10943 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10944 into the prompt either (bug#13963).
10946 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10948 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10949 part of "(error-foo)".
10951 2013-03-24 Juri Linkov <juri@jurta.org>
10953 * replace.el (list-matching-lines-prefix-face): New defcustom.
10954 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10955 `occur-engine' if `face-differs-from-default-p' returns t.
10956 (occur-engine): Add `,' inside backquote construct to evaluate
10957 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10958 Pass `prefix-face' to the functions `occur-context-lines' and
10959 `occur-engine-add-prefix'.
10960 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10961 `prefix-face' and propertize the prefix with `prefix-face'.
10964 2013-03-24 Leo Liu <sdl.web@gmail.com>
10966 * nxml/rng-valid.el (rng-validate-while-idle)
10967 (rng-validate-quick-while-idle): Guard against deleted buffer.
10970 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10971 is the last entry in kill-buffer-hook.
10973 * files.el (kill-buffer-hook): Doc fix.
10975 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10977 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10978 Make it safe-local.
10980 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10982 2013-03-23 Leo Liu <sdl.web@gmail.com>
10984 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10987 * nxml/rng-valid.el (rng-validate-mode)
10988 (rng-after-change-function, rng-do-some-validation):
10989 * nxml/rng-maint.el (rng-validate-buffer):
10990 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10991 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10992 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10993 (nxml-extend-after-change-region): Use with-silent-modifications.
10995 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10998 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10999 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11000 timer-idle-list. (Bug#13999)
11002 2013-03-23 Juri Linkov <juri@jurta.org>
11004 * info.el (info-index-match): New face.
11005 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11006 main pattern and add text properties with the new face to matches
11007 in index entries relative to the beginning of the index entry.
11010 2013-03-21 Eric Ludlam <zappo@gnu.org>
11012 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11013 Inhibit read only while inserting objects.
11015 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11017 * progmodes/cfengine.el: Update docs to mention
11018 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11019 symbol motion. Remove "_" from the word syntax.
11021 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11023 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11024 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11026 2013-03-20 Juri Linkov <juri@jurta.org>
11028 * info.el (Info-next-reference-or-link)
11029 (Info-prev-reference-or-link): New functions.
11030 (Info-next-reference, Info-prev-reference): Use them.
11031 (Info-try-follow-nearest-node): Handle footnote navigation.
11032 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11034 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11036 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11037 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11039 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11041 Suppress unnecessary non-ASCII chatter during build process.
11042 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11043 (batch-skkdic-convert): Suppress most of the chatter.
11044 It's not needed so much now that machines are faster,
11045 and its non-ASCII component was confusing; see Dmitry Gutov in
11046 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11048 2013-03-20 Leo Liu <sdl.web@gmail.com>
11050 * ido.el (ido-chop): Fix bug#10994.
11052 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11054 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11056 (whitespace-color-on, whitespace-color-off):
11057 Use `font-lock-fontify-buffer' (Bug#13817).
11059 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11061 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11062 remapping in mode-line.
11063 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11065 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11067 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11068 value for `whitespace-line' face (Bug#13875).
11069 (whitespace-font-lock-keywords): Change description.
11070 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11071 the constructed keywords instead.
11072 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11074 2013-03-19 Leo Liu <sdl.web@gmail.com>
11076 * progmodes/compile.el (compilation-display-error): New command.
11077 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11080 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11082 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11084 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11086 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11088 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11090 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11092 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11093 * net/tramp-gvfs.el (top):
11094 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11095 (tramp-handle-shell-command): Use it.
11096 (tramp-dissect-file-name): Raise an error when hostname is a
11097 method name, and neither method nor user is specified.
11099 * net/trampver.el: Update release number.
11101 2013-03-18 Leo Liu <sdl.web@gmail.com>
11103 Make sure eldoc can be turned off properly.
11104 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11106 (eldoc-display-message-p): Revert last change.
11107 (eldoc-display-message-no-interference-p)
11108 (eldoc-print-current-symbol-info): Tweak.
11110 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11112 * doc-view.el (doc-view-new-window-function): Check the new window
11113 overlay's display property instead the char property of the
11114 buffer's first char. Use `with-selected-window' instead of
11115 `save-window-excursion' with `select-window'.
11116 (doc-view-document->bitmap): Check the current doc-view overlay's
11117 display property instead the char property of the buffer's first char.
11119 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11121 Automate the build of ja-dic.el (Bug#13984).
11122 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11123 from the input, rather than assume that it's been done for us by the
11124 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11125 the current date into a ja-dic.el comment, as that complicates
11126 regression testing.
11128 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11130 * whitespace.el: Fix double evaluation.
11131 (whitespace-space, whitespace-hspace, whitespace-tab)
11132 (whitespace-newline, whitespace-trailing, whitespace-line)
11133 (whitespace-space-before-tab, whitespace-indentation)
11134 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11136 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11137 (whitespace-color-on): Use a single font-lock-add-keywords call.
11138 Fix double-evaluation of face variables.
11140 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11142 * net/tramp-adb.el (tramp-adb-parse-device-names):
11143 Use `start-process' instead of `call-process'. Otherwise, the
11144 function might be blocked under MS Windows. (Bug#13299)
11146 2013-03-17 Leo Liu <sdl.web@gmail.com>
11148 Extend eldoc to display info in the mode-line. (Bug#13978)
11149 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11150 (eldoc-mode-line-string): New variable.
11151 (eldoc-minibuffer-message): New function.
11152 (eldoc-message-function): New variable.
11153 (eldoc-message): Use it.
11154 (eldoc-display-message-p)
11155 (eldoc-display-message-no-interference-p):
11156 Support eldoc-post-insert-mode.
11158 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11159 (eval-expression): Run it.
11161 2013-03-17 Roland Winkler <winkler@gnu.org>
11163 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11164 strings in the list of return values.
11166 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11168 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11169 radix before checking for HMS forms.
11171 2013-03-16 Leo Liu <sdl.web@gmail.com>
11173 * progmodes/scheme.el: Add indentation and font-locking for λ.
11176 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11178 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11179 token before point (bug#13942).
11181 2013-03-16 Leo Liu <sdl.web@gmail.com>
11183 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11185 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11187 * startup.el (command-line-normalize-file-name): Fix handling of
11188 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11189 <xfq.free@gmail.com> in
11190 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11192 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11194 Sync with Tramp 2.2.7.
11196 * net/trampver.el: Update release number.
11198 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11200 * doc-view.el: Fix bug#13887.
11201 (doc-view-insert-image): Don't modify overlay associated to
11202 non-live windows, and implement horizontal centering of image in
11203 case it's smaller than the window.
11204 (doc-view-new-window-function): Force redisplay of new windows on
11207 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11209 * saveplace.el (save-place-alist-to-file): Don't sort
11210 `save-place-alist', just pretty-print it (bug#13882).
11212 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11214 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11215 Check whether `default-file-name-coding-system' is bound.
11216 It isn't in XEmacs.
11218 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11220 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11221 backquotes for `obsolete' (bug#13929).
11223 * international/mule.el (find-auto-coding): Include file name in
11224 obsolescence warning (bug#13922).
11226 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11228 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11229 for CFEngine 3-specific indentation.
11230 (cfengine3-indent-line): Use it. Fix up category regex.
11231 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11233 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11235 * type-break.el (type-break-file-name):
11236 * textmodes/remember.el (remember-data-file):
11237 * strokes.el (strokes-file):
11238 * shadowfile.el (shadow-initialize):
11239 * saveplace.el (save-place-file):
11240 * ps-bdf.el (bdf-cache-file):
11241 * progmodes/idlwave.el (idlwave-config-directory):
11242 * net/quickurl.el (quickurl-url-file):
11243 * international/kkc.el (kkc-init-file-name):
11244 * ido.el (ido-save-directory-list-file):
11245 * emulation/viper.el (viper-custom-file-name):
11246 * emulation/vip.el (vip-startup-file):
11247 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11248 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11250 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11252 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11253 * language/thai-word.el: Switch to UTF-8.
11255 See ChangeLog.16 for earlier changes.
11257 ;; Local Variables:
11261 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11263 This file is part of GNU Emacs.
11265 GNU Emacs is free software: you can redistribute it and/or modify
11266 it under the terms of the GNU General Public License as published by
11267 the Free Software Foundation, either version 3 of the License, or
11268 (at your option) any later version.
11270 GNU Emacs is distributed in the hope that it will be useful,
11271 but WITHOUT ANY WARRANTY; without even the implied warranty of
11272 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11273 GNU General Public License for more details.
11275 You should have received a copy of the GNU General Public License
11276 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.