1 2013-12-19 Glenn Morris <rgm@gnu.org>
3 * emacs-lisp/ert.el (ert-select-tests):
4 Fix string/symbol mixup. (Bug#16121)
6 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
8 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
9 keywords to their parent.
11 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
13 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
14 first arg to be a string (fixed dead code), or an operator symbol.
15 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
17 (ruby-smie-rules): Remove parent token check in the `.' clause, it
18 did nothing. Don't respond to `(:after ".")', it will be called
19 with :before anyway. Remove the ` @ ' rule, it didn't seem to
20 change anything. Only return indentation for binary operators
21 when they are hanging. De-dent opening paren when its parent is
22 `.', otherwise it looks bad when the dot is not at bol or eol
25 2013-12-19 Juri Linkov <juri@jurta.org>
27 * replace.el (query-replace-read-args): Split a non-negative arg
28 and a negative arg into separate elements.
29 (query-replace, query-replace-regexp, replace-string)
30 (replace-regexp): Add arg `backward'. Doc fix.
31 (replace-match-maybe-edit): When new arg `backward' is non-nil,
32 move point to the beginning of the match.
33 (replace-search, replace-highlight): Use new arg `backward'
34 to set the value of `isearch-forward'.
35 (perform-replace): Add arg `backward' and use it to perform
36 replacement backward. (Bug#14979)
38 * isearch.el (isearch-query-replace): Use a negative prefix arg
39 to call `perform-replace' with a non-nil arg `backward'.
41 2013-12-18 Juri Linkov <juri@jurta.org>
43 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
44 to the default list. Move `log-edit-show-files' to the end.
45 Add more available functions to options.
46 (log-edit): Move default specific settings to
47 `log-edit-insert-message-template'. Don't move point.
48 (log-edit-insert-message-template): New function.
49 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
52 2013-12-18 Juri Linkov <juri@jurta.org>
54 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
55 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
57 2013-12-18 Leo Liu <sdl.web@gmail.com>
59 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
61 2013-12-18 Eli Zaretskii <eliz@gnu.org>
63 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
64 formats for displaying file sizes when the -s switch is given.
65 Instead, compute a separate format for displaying the size in
66 blocks, which is displayed in addition to the "regular" size.
67 When -h is given in addition to -s, produce size in blocks in
68 human-readable form as well. (Bug#16179)
70 2013-12-18 Tassilo Horn <tsdh@gnu.org>
72 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Reference
73 tables with ~\ref{...} instead of only \ref{...}.
75 2013-12-18 Chong Yidong <cyd@gnu.org>
77 * cus-edit.el (custom-magic-alist): Fix "themed" description
80 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
81 is non-nil, do not create a new entry in the symbol's theme-value
82 or theme-face property; update theme-settings only (Bug#14664).
83 (custom-available-themes): Doc fix.
85 * cus-theme.el (custom-new-theme-mode-map): Add bindings
88 * replace.el (occur-engine): Avoid infloop (Bug#7593).
90 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
92 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
95 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
97 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
99 2013-12-18 Glenn Morris <rgm@gnu.org>
101 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
102 * cus-start.el (load-prefer-newer): New option.
104 2013-12-18 Le Wang <l26wang@gmail.com>
106 * comint.el (comint-previous-matching-input-from-input): Retain
109 2013-12-18 Chong Yidong <cyd@gnu.org>
111 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
113 2013-12-18 Glenn Morris <rgm@gnu.org>
115 * mail/emacsbug.el (report-emacs-bug):
116 Only mention enable-multibyte-characters if non-standard.
118 2013-12-17 Juri Linkov <juri@jurta.org>
120 * arc-mode.el (archive-extract-by-file): Check if directory exists
121 before deletion to not show irrelevant errors if it doesn't exist.
123 2013-12-17 Juri Linkov <juri@jurta.org>
125 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
128 * net/eww.el (browse-web): Add alias to `eww'.
129 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
130 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
132 * net/browse-url.el (browse-url-browser-function): Move `eww'
133 closer to similar functions.
135 * startup.el (fancy-startup-screen, fancy-about-screen):
136 Set browse-url-browser-function to eww-browse-url locally.
139 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
141 * window.el (window--pixel-to-total): Remove unused `mini' var.
142 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
143 (split-window): Remove unused `new' var.
144 (window--display-buffer): Remove unused `frame' and `delta' vars.
145 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
148 2013-12-17 Martin Rudalics <rudalics@gmx.at>
150 * dired.el (dired-mark-pop-up):
151 * register.el (register-preview): Don't bind
152 split-height-threshold here since it's now done in
153 display-buffer-below-selected.
155 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
157 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
158 xterm-rgb-convert-to-16bit.
159 (rxvt-register-default-colors): Standardize with
160 xterm-register-default-colors (Bug#14078).
162 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
164 * simple.el (kill-region): Pass mark first, then point, so that
165 kill-append works right (Bug#12819).
166 (copy-region-as-kill, kill-ring-save): Likewise.
168 2013-12-17 Leo Liu <sdl.web@gmail.com>
170 * net/rcirc.el (rcirc-add-face):
171 * eshell/em-prompt.el (eshell-emit-prompt):
172 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
175 2013-12-17 Chong Yidong <cyd@gnu.org>
177 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
178 Suggested by Xue Fuqiao.
180 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
182 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
184 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
186 * net/shr.el (shr-insert-document): Remove unused var
187 `shr-preliminary-table-render'.
188 (shr-rescale-image): Remove unused arg `force'.
189 (shr-put-image): Update calls accordingly.
190 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
192 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
194 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
195 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
196 :close-all, to see which indentation method to use (Bug#16116).
197 (smie-rules-function): Document the method :close-all.
199 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
201 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
203 * net/eww.el (eww-display-html): If we can't find the anchor we're
204 looking for, then go to point-min.
206 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
208 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
209 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
210 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
211 Expand dir too, in case it's relative.
213 2013-12-16 Juri Linkov <juri@jurta.org>
215 * desktop.el (desktop-auto-save-timeout): Change default to
216 `auto-save-timeout'. Doc fix.
217 (desktop-save): Skip the timestamp in desktop-saved-frameset
218 when checking for auto-save changes.
219 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
220 `desktop-auto-save' is called repeatedly by the idle timer.
221 (desktop-auto-save-set-timer): Replace `run-with-timer' with
222 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
225 2013-12-16 Juri Linkov <juri@jurta.org>
227 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
229 (isearch-pre-command-hook): Check `this-command' for symbolp.
231 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
233 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
235 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
237 * progmodes/cfengine.el (cfengine3--current-word): Remove.
238 (cfengine3--current-function): Bring in the current-function
239 functionality from `cfengine3--current-word'.
240 (cfengine3-completion-function): Bring in the
241 bounds-of-current-word functionality from
242 `cfengine3--current-word'.
244 2013-12-16 Martin Rudalics <rudalics@gmx.at>
246 * window.el (display-buffer-below-selected):
247 Bind split-height-threshold to 0 as suggested by Juri Linkov.
249 2013-12-16 Leo Liu <sdl.web@gmail.com>
251 * progmodes/compile.el (compile-goto-error): Do not push-mark.
252 Remove NOMSG arg and all uses changed.
254 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
256 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
257 (cua--deactivate-rectangle): Don't deactivate the mark.
258 (cua-set-rectangle-mark): Don't set mark-active since
259 cua--activate-rectangle already does it for us.
260 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
261 non-rectangular region.
263 * emulation/cua-base.el (cua-repeat-replace-region):
264 Use with-current-buffer.
266 * net/gnutls.el: Use cl-lib.
267 (gnutls-negotiate): `mapcan' -> cl-mapcan.
269 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
271 * emacs-lisp/package.el (package-built-in-p): Support both
272 built-in and the package.el converted package descriptions.
273 (package-show-package-list): Allow keywords.
274 (package-keyword-button-action): Use it instead of
275 `finder-list-matches'.
276 (package-menu-filter-interactive): Interactive filtering (by
278 (package-menu--generate): Support keywords and change keymappings
279 and headers when they are given.
280 (package--has-keyword-p): Helper function.
281 (package-menu--refresh): Use it.
282 (package--mapc): Helper function.
283 (package-all-keywords): Use it.
284 (package-menu-mode-map): Set up menu items and keybindings to
285 provide a filtering UI.
287 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
289 * net/gnutls.el (gnutls-verify-error): New defcustom to control
290 the behavior when a certificate fails validation. Defaults to
291 old behavior: never abort, just warn.
292 (gnutls-negotiate): Use it.
294 2013-12-14 Martin Rudalics <rudalics@gmx.at>
296 * window.el (display-buffer-below-selected): Never split window
297 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
299 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
301 * emacs-lisp/package.el (package--prepare-dependencies): New function.
302 (package-buffer-info): Use it (bug#15108).
304 * icomplete.el (icomplete-completions): Make sure the prefix is already
305 displayed elsewhere before hiding it.
307 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
309 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
310 open-paren tokens when preceded by a open-paren, too.
311 (ruby-smie-rules): Handle virtual indentation after open-paren
312 tokens specially. If there is code between it and eol, return the
313 column where is starts (Bug#16118).
315 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
317 * progmodes/cfengine.el: Fix `add-hook' doc.
318 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
319 (cfengine3--current-word): Fix parameters.
320 (cfengine3-make-syntax-cache): Simplify further.
321 (cfengine3-completion-function, cfengine3--current-function):
322 Use `assq' for symbols.
323 (cfengine3--current-function): Fix `cfengine3--current-word' call.
325 2013-12-13 Glenn Morris <rgm@gnu.org>
327 * loadup.el (load-path): Warn if site-load or site-init changes it.
328 No more need to reset it when bootstrapping.
330 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
332 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
333 locations for cf-promises.
334 (cfengine-mode-syntax-functions-regex): New caching variable.
335 (cfengine3-fallback-syntax): Fallback syntax for cases where
336 cf-promises doesn't run.
337 (cfengine3--current-word): Reimplement using
338 `cfengine-mode-syntax-functions-regex'.
339 (cfengine3-completion-function, cfengine3--current-function):
340 Use `cfengine3-make-syntax-cache' directly.
341 (cfengine3-clear-syntax-cache): New function.
342 (cfengine3-make-syntax-cache): Simplify and create
343 `cfengine-mode-syntax-functions-regex' on demand.
344 (cfengine3-format-function-docstring): Don't call
345 `cfengine3-make-syntax-cache' explicitly.
347 2013-12-13 Martin Rudalics <rudalics@gmx.at>
349 Fix windmove-find-other-window broken after pixelwise resizing
351 * windmove.el (windmove-other-window-loc): Revert change from
353 (windmove-find-other-window): Call window-in-direction.
354 * window.el (window-in-direction): New arguments SIGN, WRAP and
355 MINI to emulate original windmove-find-other-window behavior.
357 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
359 * simple.el (blink-matching--overlay): New variable.
360 (blink-matching-open): Instead of moving point, highlight the
361 matching paren with an overlay
362 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
364 * faces.el (paren-showing-faces, show-paren-match)
365 (show-paren-mismatch): Move from paren.el.
367 2013-12-13 Leo Liu <sdl.web@gmail.com>
369 * indent.el (indent-region): Disable progress reporter in
370 minibuffer. (Bug#16108)
372 * bindings.el (visual-order-cursor-movement): Fix version.
374 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
376 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
377 Also match after beginning of line.
378 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
379 files. Thanks to Russell Sim. (Bug#15378)
381 2013-12-13 Juri Linkov <juri@jurta.org>
383 * simple.el <Keypad support>: Remove key bindings duplicated
384 with bindings.el. (Bug#14397)
386 2013-12-13 Juri Linkov <juri@jurta.org>
388 * comint.el (comint-mode-map): Replace `delete-char' with
389 `delete-forward-char'. (Bug#16109)
391 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
393 * progmodes/python.el (python-indent-calculate-indentation):
394 Fix de-denters cornercase. (Bug#15731)
396 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
398 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
399 (advice--make): Pay attention to `depth'.
400 (advice--make-1): Don't autoload commands eagerly.
401 * emacs-lisp/elp.el (elp-instrument-function):
402 * emacs-lisp/trace.el (trace-function-internal):
403 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
405 * iswitchb.el (iswitchb-mode): Don't belittle ido.
407 2013-12-12 Eli Zaretskii <eliz@gnu.org>
409 * term/w32-win.el (w32-handle-dropped-file):
410 * startup.el (normal-top-level):
411 * net/browse-url.el (browse-url-file-url):
412 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
413 decode file names using 'utf-8' rather than
414 file-name-coding-system.
416 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
418 * progmodes/python.el (python-indent-context)
419 (python-indent-calculate-indentation): Fix auto-identation
420 behavior for comment blocks. (Bug#15916)
422 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
424 * progmodes/python.el (python-indent-calculate-indentation):
425 When determining indentation, don't treat "return", "pass", etc., as
426 operators when they are just string constituents. (Bug#15812)
428 2013-12-12 Juri Linkov <juri@jurta.org>
430 * uniquify.el (uniquify-buffer-name-style): Change default to
431 `post-forward-angle-brackets'.
433 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
434 `uniquify'. Change default to `post-forward-angle-brackets'.
436 2013-12-11 Glenn Morris <rgm@gnu.org>
438 * emacs-lisp/package.el (finder-list-matches):
439 Autoload rather than falsely declaring.
441 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
443 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
444 (eww-mode-map): Use them.
446 2013-12-11 Martin Rudalics <rudalics@gmx.at>
448 * window.el (display-buffer-in-side-window): Fix doc-string
451 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
453 * vc/vc-git.el: Silence byte-compiler warnings.
454 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
455 (log-edit-set-header): Declare.
457 2013-12-11 Eli Zaretskii <eliz@gnu.org>
459 * Makefile.in (custom-deps, finder-data): Run output file names
460 through unmsys--file-name. (Bug#16099)
462 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
464 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
465 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
467 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
468 instead of deleting the selection "by hand" (bug#16098).
469 Rely on insert-for-yank to yank rectangles.
470 (cua-highlight-region-shift-only): Mark obsolete.
471 (cua-mode): Don't enable/disable transient-mark-mode,
472 shift-select-mode (cua-mode works both with and without them), and
473 pc-selection-mode (obsolete).
474 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
475 (cua--deactivate-rectangle): Deactivate it.
477 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
478 (delete-selection-helper): Make sure yank starts at the top of the
480 (minibuffer-keyboard-quit): Use region-active-p.
482 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
484 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
485 to `delete' (bug#16109).
487 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
489 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
490 info manual and show keybindings and set `:group' keyword.
492 2013-12-11 Juri Linkov <juri@jurta.org>
494 * delsel.el (delete-active-region): Let-bind `this-command'
495 to prevent `kill-region' from changing its original value.
496 (delete-selection-helper): Handle `overwrite-mode' for the type
497 `kill' exactly the same way as for the type `t'.
498 (insert-char, quoted-insert, reindent-then-newline-and-indent):
499 Support more commands. (Bug#13312)
501 2013-12-11 Juri Linkov <juri@jurta.org>
503 * bindings.el: Map kp keys to non-kp keys systematically
504 with basic modifiers control, meta and shift. (Bug#14397)
506 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
508 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
509 "Close browser" menu items. Fix wrong function of "List
512 2013-12-11 Juri Linkov <juri@jurta.org>
514 * misearch.el (multi-isearch-buffers): Set the value of
515 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
516 arg of isearch-forward to t.
517 (multi-isearch-buffers-regexp): Set the value of
518 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
519 arg of isearch-forward-regexp to t.
520 (multi-isearch-files): Set the value of
521 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
522 arg of isearch-forward to t.
523 (multi-isearch-files-regexp): Set the value of
524 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
525 arg of isearch-forward-regexp to t. (Bug#16035)
527 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
528 arg of isearch-forward to t.
529 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
530 arg of isearch-forward-regexp to t.
531 (dired-isearch-filter-filenames): Remove unnecessary check for
532 `dired-isearch-filenames'.
534 * comint.el (comint-history-isearch-backward):
535 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
536 (comint-history-isearch-backward-regexp):
537 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
539 2013-12-10 Eli Zaretskii <eliz@gnu.org>
541 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
542 unmsys--file-name. (Bug#16099)
544 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
546 * emacs-lisp/package.el (package-keyword-button-action):
547 Remove finder.el require dependency.
549 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
551 * emacs-lisp/package.el: Require finder.el.
552 (describe-package-1): Add keyword buttons.
553 (package-make-button): New convenience function.
554 (package-keyword-button-action): Keyword button action using
555 `finder-list-matches'
557 2013-12-09 Eli Zaretskii <eliz@gnu.org>
559 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
562 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
564 * autorevert.el (auto-revert-notify-add-watch): Do not handle
567 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
569 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
570 after the end of a percent literal.
572 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
574 * progmodes/ruby-mode.el (ruby-forward-string): Document.
575 Handle caret-delimited strings (Bug#16079).
577 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
579 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
580 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
581 `ruby-parse-partial' (Bug#16078).
583 2013-12-09 Leo Liu <sdl.web@gmail.com>
585 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
587 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
589 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
590 (js-switch-indent-offset): New option.
591 (js--proper-indentation): Use it. And handle the case when
592 "default" is actually a key in an object literal.
593 (js--same-line): New function.
594 (js--multi-line-declaration-indentation): Use it.
595 (js--indent-in-array-comp, js--array-comp-indentation):
597 (js--proper-indentation): Use them, to handle array comprehension
600 2013-12-08 Leo Liu <sdl.web@gmail.com>
602 * progmodes/flymake.el (flymake-highlight-line): Re-write.
603 (flymake-make-overlay): Remove arg MOUSE-FACE.
604 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
606 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
608 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
610 (redisplay-highlight-region-function): Use it.
612 * emulation/cua-base.el (cua--explicit-region-start)
613 (cua--last-region-shifted): Remove.
614 (cua--deactivate): Use deactivate-mark.
615 (cua--pre-command-handler-1): Don't handle shift-selection.
616 (cua--post-command-handler-1): Don't change transient-mark-mode.
617 (cua--select-keymaps): Use region-active-p rather than
618 cua--explicit-region-start or cua--last-region-shifted.
619 (cua-mode): Enable shift-select-mode.
621 2013-12-08 Leo Liu <sdl.web@gmail.com>
623 * progmodes/flymake.el (flymake-popup-current-error-menu):
624 Rename from flymake-display-err-menu-for-current-line. Reimplement.
625 (flymake-posn-at-point-as-event, flymake-popup-menu)
626 (flymake-make-emacs-menu): Remove. (Bug#16077)
628 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
630 * rect.el (rectangle-mark-mode): Activate mark even if
631 transient-mark-mode is off (bug#16066).
632 (rectangle--highlight-for-redisplay): Fix boundary condition when point
633 is > mark and at bolp.
635 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
636 (region-extract-function): Use it.
637 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
638 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
640 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
641 kill-ring-save, kill-region, delete-char, delete-forward-char.
642 Ignore self-insert-iso.
644 * emulation/cua-gmrk.el (cua--init-global-mark):
645 Ignore `self-insert-iso'.
647 * emulation/cua-base.el (cua--prefix-copy-handler)
648 (cua--prefix-cut-handler): Rely on region-extract-function rather than
649 checking cua--rectangle.
650 (cua-delete-region): Use region-extract-function.
651 (cua-replace-region): Delete function.
652 (cua-copy-region, cua-cut-region): Obey region-extract-function.
653 (cua--pre-command-handler-1): Don't do the delete-selection thing.
654 (cua--self-insert-char-p): Ignore `self-insert-iso'.
655 (cua--init-keymaps): Don't remap delete-selection commands.
656 (cua-mode): Use delete-selection-mode instead of rolling our own
659 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
660 Obey region-extract-function.
662 Make registers and delete-selection-mode work on rectangles.
663 * register.el (describe-register-1): Don't modify the register's value.
664 (copy-to-register): Obey region-extract-function.
665 * delsel.el (delete-active-region): Obey region-extract-function.
667 2013-12-08 Leo Liu <sdl.web@gmail.com>
669 * progmodes/flymake.el (flymake, flymake-error-bitmap)
670 (flymake-warning-bitmap, flymake-fringe-indicator-position)
671 (flymake-compilation-prevents-syntax-check)
672 (flymake-start-syntax-check-on-newline)
673 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
674 (flymake-start-syntax-check-on-find-file, flymake-log-level)
675 (flymake-xml-program, flymake-master-file-dirs)
676 (flymake-master-file-count-limit)
677 (flymake-allowed-file-name-masks): Relocate.
678 (flymake-makehash, flymake-float-time)
679 (flymake-replace-regexp-in-string, flymake-split-string)
680 (flymake-get-temp-dir): Remove.
681 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
682 (flymake-current-row, flymake-selected-frame)
683 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
684 related functions. (Bug#16077)
686 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
688 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
690 2013-12-07 Tassilo Horn <tsdh@gnu.org>
692 * help-fns.el (describe-function-1): Use new advice-* functions
693 rather than old ad-* functions. Fix function type description and
694 source links for advised functions and subrs.
696 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
698 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
700 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
702 * progmodes/compile.el (compilation-start):
703 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
705 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
706 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
708 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
710 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
711 Touch up the last change.
713 2013-12-06 Leo Liu <sdl.web@gmail.com>
715 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
716 (inferior-octave-startup): Always use "octave> " for prompt.
717 (octave-goto-function-definition)
718 (octave-sync-function-file-names)
719 (octave-find-definition-default-filename): Remove redundant backquotes.
721 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
723 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
725 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
726 where appropriate already.
727 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
728 end of method names (Bug#15874).
730 2013-12-06 Juri Linkov <juri@jurta.org>
732 * isearch.el (isearch--saved-overriding-local-map):
733 New internal variable.
734 (isearch-mode): Set it to the initial value of
735 `overriding-terminal-local-map'.
736 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
737 with `isearch--saved-overriding-local-map'. (Bug#16035)
739 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
741 * progmodes/octave.el (inferior-octave-completion-table):
742 Turn back into function, use `completion-table-with-cache'
743 (Bug#11906). Update all references.
745 * minibuffer.el (completion-table-with-cache): New function.
747 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
749 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
751 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
753 * net/eww.el (eww-current-source): New variable to store page
755 (eww-display-html, eww-mode, eww-save-history)
756 (eww-restore-history): Use it.
757 (eww-view-source): New command to view page source.
758 Opportunistically uses `html-mode' to highlight the buffer.
759 (eww-mode-map): Install it.
761 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
763 * net/dbus.el (dbus-unregister-service)
764 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
766 (dbus-unregister-service): Skip :serial entries in
767 `dbus-registered-objects-table'.
768 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
770 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
772 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
773 around keywords with extra `split-string' argument.
775 2013-12-04 Martin Rudalics <rudalics@gmx.at>
777 * windmove.el (windmove-other-window-loc): Handle navigation
778 between windows (excluding the minibuffer window - Bug#16017).
780 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
782 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
783 in D-Bus type syntax.
784 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
785 preserve unibyte strings. (Bug#16048)
787 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
789 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
790 Call force-mode-line-update is the proper buffer (bug#16042).
792 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
794 * vc/log-edit.el (log-edit-add-new-comment): Rename to
795 `log-edit-remember-comment', make argument optional. Adjust all
797 (log-edit-mode): Add `log-edit-remember-comment' to
798 `kill-buffer-hook' locally.
799 (log-edit-kill-buffer): Don't remember comment explicitly since
800 the buffer is killed anyway.
802 2013-12-04 Juri Linkov <juri@jurta.org>
804 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
805 add-hook and remove-hook for multi-buffer search. (Bug#16035)
807 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
809 * notifications.el (notifications-close-notification): Call the
810 D-Bus method with ID being a `:uint32'. (Bug#16030)
812 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
814 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
816 2013-12-03 Juri Linkov <juri@jurta.org>
818 * progmodes/compile.el (compilation-start): Rename window alist
819 entry `no-display-ok' to `allow-no-window'.
821 * simple.el (shell-command): Add window alist entry
822 `allow-no-window' to `display-buffer'.
823 (async-shell-command): Doc fix.
825 * window.el (display-buffer-no-window): New action function.
826 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
828 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
830 * vc/log-edit.el (log-edit-set-header): Extract from
831 `log-edit-toggle-header'.
832 (log-edit-extract-headers): Separate the summary, when extracted
833 from header, from the rest of the message with an empty line.
835 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
836 line, if present, to the Summary header.
838 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
840 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
841 in current-buffer (bug#16029).
843 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
845 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
846 (debugger-mode-map): Bind it.
847 (debugger--backtrace-base): New function.
848 (debugger-eval-expression): Use it.
849 (debugger-frame-number): Skip local vars when present.
850 (debugger--locals-visible-p, debugger--insert-locals)
851 (debugger--show-locals, debugger--hide-locals): New functions.
853 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
855 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
857 (tramp-get-remote-locale): New defun.
858 (tramp-open-connection-setup-interactive-shell): Use it.
860 2013-12-02 Leo Liu <sdl.web@gmail.com>
862 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
864 * progmodes/sh-script.el (sh-shell-process):
865 * progmodes/octave.el (inferior-octave-process-live-p):
866 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
867 (gdb-inferior-io-sentinel):
868 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
870 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
872 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
873 `save-selected-window' to `log-edit-hide-buf'. This makes
874 `log-edit-show-files' idempotent.
875 (log-edit-show-files): Mark the new window as dedicated.
877 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
879 * vc/log-edit.el (log-edit-mode-map): Add binding for
880 `log-edit-kill-biffer'.
881 (log-edit-hide-buf): Add a FIXME comment.
882 (log-edit-add-new-comment): New function, extracted from
884 (log-edit-done, log-edit-add-to-changelog): Use it.
885 (log-edit-kill-buffer): New command.
887 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
889 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
890 instead of killing the buffer.
892 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
894 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
896 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
898 * net/eww.el (eww-form-checkbox-selected-symbol)
899 (eww-form-checkbox-symbol): New customizable variable.
900 (eww-form-checkbox, eww-toggle-checkbox):
901 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
903 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
904 (shr--get-media-pref, shr--extract-best-source): New function.
905 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
906 no :src tag was specified.
908 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
909 (eww-render): Handle `eww-use-external-browser-for-content-type'.
910 Use \\` to match beginning of string instead of ^.
911 (eww-browse-with-external-browser): Provide optional URL parameter.
912 (eww-render): Set `eww-current-title' back to "".
914 * net/shr.el (shr-tag-video): Display content for video if no
916 (shr-tag-audio): Add support for <audio> tag.
918 * net/eww.el (eww-text-input-types): : New const.
919 (eww-process-text-input): Treat input types in
920 `eww-text-input-types' as text.
922 * net/shr.el (shr-tag-table): Fix comment typo.
924 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
926 * net/eww.el (eww-follow-link): New command to avoid reloading
927 pages when we follow #target links (bug#15243).
928 (eww-quit): Special mode buffers shouldn't query before exiting.
930 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
932 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
935 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
937 * net/eww.el (eww-restore-history): Update the window title after
938 moving in the history.
939 (eww-current-dom): New variable used to save the current DOM.
941 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
943 * vc/log-edit.el (log-edit-mode-map): Add binding for
944 `log-edit-beginning-of-line'.
945 (log-edit-setup-add-author): New user option.
946 (log-edit-beginning-of-line): New command.
947 (log-edit): Move major mode call above the contents setup so that
948 the local variable values are already applied.
949 (log-edit): Only insert "Author: " when
950 `log-edit-setup-add-author' is non-nil.
951 (log-edit): When SETUP is non-nil, position point after ": "
952 instead of point-min.
954 2013-12-01 Glenn Morris <rgm@gnu.org>
956 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
958 2013-11-30 Eli Zaretskii <eliz@gnu.org>
960 * startup.el (fancy-splash-frame): On MS-Windows, trigger
961 redisplay to make sure the initial frame gets a chance to become
964 2013-11-30 Martin Rudalics <rudalics@gmx.at>
966 Support resizing frames and windows pixelwise.
967 * cus-start.el (frame-resize-pixelwise)
968 (window-resize-pixelwise): New entries.
969 * emacs-lisp/debug.el (debug): Use window-total-height instead
970 of window-total-size.
971 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
972 * help.el (describe-bindings-internal): Call help-buffer
973 (temp-buffer-max-width): New option.
974 (resize-temp-buffer-window, help-window-setup)
975 (with-help-window): Rewrite.
976 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
978 * window.el (frame-char-size, window-min-pixel-height)
979 (window-safe-min-pixel-height, window-safe-min-pixel-width)
980 (window-min-pixel-width, window-safe-min-pixel-size)
981 (window-combination-p, window-safe-min-size)
982 (window-resizable-p, window--size-to-pixel)
983 (window--pixel-to-size, window--resize-apply-p): New functions.
984 (window-safe-min-height): Fix doc-string.
985 (window-size, window-min-size, window--min-size-1)
986 (window-sizable, window-sizable-p, window--min-delta-1)
987 (window-min-delta, window--max-delta-1, window-max-delta)
988 (window--resizable, window--resizable-p, window-resizable)
989 (window-full-height-p, window-full-width-p, window-at-side-p)
990 (window--in-direction-2, window-in-direction)
991 (window--resize-reset-1, window--resize-mini-window)
992 (window-resize, window-resize-no-error)
993 (window--resize-child-windows-normal)
994 (window--resize-child-windows, window--resize-siblings)
995 (window--resize-this-window, window--resize-root-window)
996 (window--resize-root-window-vertically)
997 (adjust-window-trailing-edge, enlarge-window, shrink-window)
998 (maximize-window, minimize-window, delete-window)
999 (quit-restore-window, window-split-min-size, split-window)
1000 (balance-windows-2, balance-windows)
1001 (balance-windows-area-adjust, balance-windows-area)
1002 (window--state-get-1, window-state-get, window--state-put-1)
1003 (window--state-put-2, window-state-put)
1004 (display-buffer-record-window, window--display-buffer):
1005 Make functions handle pixelwise sizing of windows.
1006 (display-buffer--action-function-custom-type)
1007 (display-buffer-fallback-action):
1008 Add display-buffer-in-previous-window.
1009 (display-buffer-use-some-window): Resize window to height it had
1011 (fit-window-to-buffer-horizontally): New option.
1012 (fit-frame-to-buffer): Describe new values.
1013 (fit-frame-to-buffer-bottom-margin): Replace with
1014 fit-frame-to-buffer-margins.
1015 (window--sanitize-margin): New function.
1016 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1017 using window-text-pixel-size.
1019 2013-11-30 Glenn Morris <rgm@gnu.org>
1021 * emacs-lisp/bytecomp.el (byte-compile-form):
1022 Make the `interactive-only' warning like the `obsolete' one.
1023 * comint.el (comint-run):
1024 * files.el (insert-file-literally, insert-file):
1025 * replace.el (replace-string, replace-regexp):
1026 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1027 (goto-line, insert-buffer, next-line, previous-line):
1028 Tweak `interactive-only' spec.
1030 Stop keeping (most) generated cedet grammar files in the repository.
1031 * Makefile.in (semantic): New.
1032 (compile-main): Depend on semantic.
1034 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1036 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1037 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1039 * uniquify.el (uniquify-buffer-name-style): Change default.
1041 * loadup.el: Preload "uniquify".
1043 * time.el (display-time-update): Update all mode lines (bug#15999).
1045 * electric.el (electric-indent-mode): Enable by default.
1046 * loadup.el: Preload "electric".
1048 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1050 * emacs-lisp/helpers.el (string-empty-p): New function.
1051 (string-blank-p): New function.
1053 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1055 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1058 2013-11-29 Andreas Politz <politza@fh-trier.de>
1059 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1060 allow non-lambda lists as functions.
1061 (imenu--in-alist): Don't recurse into non-subalists.
1062 (imenu): Don't pass function itself as an argument (Bug#14029).
1064 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1066 * progmodes/python.el (python-mode-map): Remove binding for ":".
1067 (python-indent-electric-colon): Remove command.
1068 (python-indent-post-self-insert-function): Integrate the previous code
1069 of python-indent-electric-colon. Make it conditional on
1070 electric-indent-mode.
1071 (python-mode): Add ?: to electric-indent-chars.
1072 Move python-indent-post-self-insert-function to the end of
1073 post-self-insert-hook.
1075 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1077 * doc-view.el (doc-view-goto-page): Update mode-line.
1079 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1081 2013-11-27 Glenn Morris <rgm@gnu.org>
1083 * international/charprop.el, international/uni-bidi.el:
1084 * international/uni-category.el, international/uni-combining.el:
1085 * international/uni-comment.el, international/uni-decimal.el:
1086 * international/uni-decomposition.el, international/uni-digit.el:
1087 * international/uni-lowercase.el, international/uni-mirrored.el:
1088 * international/uni-name.el, international/uni-numeric.el:
1089 * international/uni-old-name.el, international/uni-titlecase.el:
1090 * international/uni-uppercase.el:
1091 Remove generated files from VCS repository.
1093 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1095 * filenotify.el (file-notify-add-watch): Don't special-case
1096 w32notify when computing the directory to watch.
1098 2013-11-27 Glenn Morris <rgm@gnu.org>
1100 Make bootstrap without generated uni-*.el files possible again.
1101 * loadup.el: Update command-line-args checking for unidata-gen.
1102 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1103 * composite.el, international/characters.el:
1104 Handle unicode tables being undefined.
1106 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1107 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1108 (compile-main): Depend on leim rule.
1110 * loadup.el: Move leim-list.el to leim/ subdirectory.
1111 * startup.el (normal-top-level): No more leim directory.
1112 * international/ja-dic-cnv.el (skkdic-convert):
1113 Disable version-control and autoloads in output files.
1114 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1115 Disable version-control and autoloads in output files.
1116 * leim/quail: Move here from ../leim.
1117 * leim/quail/hangul.el (hangul-input-method-activate):
1118 Add autoload cookie.
1119 (generated-autoload-load-name): Set file-local value.
1120 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1121 (generated-autoload-load-name): Set file-local value.
1123 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1125 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1126 (eww-add-bookmark): ask confirmation when add to bookmarks
1127 (eww-quit): ask confirmation before quitting eww
1129 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1131 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1132 reading output from Diff on MS-Windows and MS-DOS.
1134 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1136 * emacs-lisp/helpers.el (string-reverse): New function.
1138 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1140 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1141 names on MS Windows, like "/[::1]:".
1143 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1146 2013-11-26 Glenn Morris <rgm@gnu.org>
1148 * progmodes/python.el (python-indent-guess-indent-offset):
1149 Avoid corner-case error. (Bug#15975)
1151 Preload leim-list.el. (Bug#4789)
1152 * loadup.el: Load leim-list.el when found.
1153 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1155 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1157 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1159 * emacs-lisp/helpers.el (string-join): New function.
1161 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1163 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1164 Mark as obsolete and replace it with a symbol property.
1165 (byte-compile-form): Use new 'interactive-only property.
1166 * comint.el, files.el, replace.el, simple.el:
1167 Apply new 'interactive-only properly.
1169 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1171 * window.el (display-buffer-at-bottom): Make sure that
1172 split-window-sensibly creates the new window on bottom
1175 2013-11-23 David Kastrup <dak@gnu.org>
1177 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1178 on the conflict markers when available.
1179 (smerge--get-marker): New function.
1180 (smerge-end-re, smerge-base-re): Add subgroup.
1182 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1184 * frame.el (handle-focus-in, handle-focus-out): Add missing
1187 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1189 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1190 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1192 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1194 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1195 (gomoku--last-pos): New var.
1196 (gomoku--intangible-chars): New const.
1197 (gomoku--intangible): New function.
1198 (gomoku-mode): Use it. Derive from special-mode.
1199 (gomoku-move-up): Adjust line count.
1200 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1201 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1202 Simplify accordingly.
1204 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1205 Remove blink-cursor code.
1206 (blink-cursor-timer-function, blink-cursor-suspend):
1207 Don't special-case GUIs.
1208 (blink-cursor-mode): Use focus-in/out-hook.
1210 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1212 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1213 work when annotation is invisible (Bug#13886).
1215 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1217 * json.el (json-alist-p): Only return non-nil if the alist has
1218 simple keys (Bug#13518).
1220 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1222 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1223 when control-statement is the first statement in a buffer (Bug#15956).
1225 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1227 * imenu.el (imenu-generic-skip-comments-and-strings):
1228 New option (Bug#15560).
1229 (imenu--generic-function): Use it.
1231 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1233 * minibuffer.el (completion--in-region-1): Scroll the correct
1236 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1238 * emacs-lisp/helpers.el: Add some string helpers.
1239 (string-trim-left): Removes leading whitespace.
1240 (string-trim-right): Removes trailing whitespace.
1241 (string-trim): Removes leading and trailing whitespace.
1243 * subr.el (string-suffix-p): New function.
1245 2013-11-23 Glenn Morris <rgm@gnu.org>
1247 * progmodes/python.el (python-shell-send-file):
1248 Add option to delete file when done. (Bug#15647)
1249 (python-shell-send-string, python-shell-send-region): Use it.
1251 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1253 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1254 to set buffer-read-only to t, never to nil. (Bug#15938)
1256 * textmodes/tex-mode.el (latex-noindent-environments):
1257 Add safe-local-variable property. (Bug#15936)
1259 2013-11-23 Glenn Morris <rgm@gnu.org>
1261 * textmodes/enriched.el (enriched-mode): Doc fix.
1262 * emacs-lisp/authors.el (authors-renamed-files-alist):
1263 Add enriched.doc -> enriched.txt.
1265 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1267 2013-11-22 Leo Liu <sdl.web@gmail.com>
1269 * progmodes/octave.el (inferior-octave-startup): Spit out error
1272 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1274 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1277 (ruby-encoding-magic-comment-style): Add :version.
1279 2013-11-22 Leo Liu <sdl.web@gmail.com>
1281 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1283 (octave-help-mode): Adapt to change to help-mode-finish to use
1284 derived-mode-p on 2013-09-17.
1285 (inferior-octave-prompt): Also match octave-gui.
1286 (octave-kill-process): Don't ask twice. (Bug#10564)
1288 2013-11-22 Leo Liu <sdl.web@gmail.com>
1290 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1291 (inferior-octave-startup, inferior-octave-check-process)
1292 (inferior-octave-track-window-width-change)
1293 (octave-completion-at-point, octave-eldoc-function): Use it.
1294 (octave-kill-process): Provide confirmation. (Bug#10564)
1296 2013-11-21 Leo Liu <sdl.web@gmail.com>
1298 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1299 Fix obsolete variable comment-use-global-state.
1301 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1303 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1304 Add `octave-source-file'.
1305 (octave-source-file): New function. (Bug#15935)
1307 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1309 * net/eww.el (eww-local-regex): New variable.
1310 (eww): Use it to detect localhost and similar.
1312 2013-11-21 Leo Liu <sdl.web@gmail.com>
1314 Add completion for command `ag'.
1315 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1316 (pcomplete/ag): New function.
1317 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1319 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1321 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1323 (make-obsolete): Remove interactive spec.
1325 2013-11-21 Glenn Morris <rgm@gnu.org>
1327 * startup.el (command-line-1): Use path-separator with -L.
1329 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1331 * emacs-lisp/package.el (describe-package-1): Add package archive
1334 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1336 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1337 Change default to "# encoding: %s" to differentiate it from the
1338 default Ruby encoding comment template.
1340 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1342 * ses.el (ses-mode): Doc fix. (Bug#14748)
1344 2013-11-20 Leo Liu <sdl.web@gmail.com>
1346 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1348 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1350 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1351 when rebase or bisect are in progress.
1353 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1355 * filenotify.el (file-notify-add-watch): Doc fix.
1357 2013-11-19 Leo Liu <sdl.web@gmail.com>
1359 * obsolete/rcompile.el: Mark obsolete.
1361 * progmodes/compile.el (compilation-start)
1362 (compilation-goto-locus, compilation-find-file):
1363 Pass no-display-ok and handle nil value from display-buffer.
1366 * window.el (display-buffer-alist, display-buffer): Document the
1367 new parameter no-display-ok. Return either a window or nil
1368 but never a non-window value.
1370 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1372 * electric.el (electric-indent-mode-map): Remove.
1373 (electric-indent-mode): Change the global-map instead (bug#15915).
1375 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1378 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1380 * emacs-lisp/nadvice.el (remove-function): Align with
1381 add-function's behavior.
1383 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1384 (gdb--string-regexp): New constant.
1385 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1386 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1387 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1389 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1390 Adjust use accordingly.
1391 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1393 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1395 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1396 interpolation curlies (Bug#15914).
1398 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1400 * calc/calc.el (calc-context-sensitive-enter): New variable.
1401 (calc-enter): Use `calc-context-sensitive-enter'.
1403 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1405 * progmodes/cfengine.el: Version bump.
1406 (cfengine-cf-promises): New defcustom to locate cf-promises.
1407 (cfengine3-vartypes): Add new "data" type.
1408 (cfengine3--current-word): New function to get current name-like
1410 (cfengine3--current-function): New function to look up a CFEngine
1411 function's definition.
1412 (cfengine3-format-function-docstring): New function.
1413 (cfengine3-make-syntax-cache): New function.
1414 (cfengine3-documentation-function): New function: ElDoc glue.
1415 (cfengine3-completion-function): New function: completion glue.
1416 (cfengine3-mode): Set `compile-command',
1417 `eldoc-documentation-function', and add to
1418 `completion-at-point-functions'.
1420 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1422 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1423 `tramp-current-connection'.
1425 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1427 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1428 nil/self/true/false with "end of symbol".
1430 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1432 * subr.el (version-regexp-alist): Fix a typo.
1434 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1436 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1437 "en_US.utf8" and "LC_CTYPE" to "".
1438 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1439 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1441 2013-11-15 Leo Liu <sdl.web@gmail.com>
1443 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1445 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1447 * progmodes/gud.el (ctl-x-map):
1448 Remove C-x SPC binding. (Bug#12342)
1449 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1451 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1453 * subr.el (version-regexp-alist):
1454 Recognize hg, svn and darcs versions as snapshot versions.
1456 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1457 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1458 (ruby--encoding-comment-required-p): Extract from
1459 `ruby-mode-set-encoding'.
1460 (ruby-mode-set-encoding): Add the ability to always insert an
1461 utf-8 encoding comment. Fix and simplify coding comment update
1464 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1466 * net/tramp-gvfs.el (top): Run init code only when
1467 `tramp-gvfs-enabled' is not nil.
1468 (tramp-gvfs-enabled): Check also :system bus.
1470 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1472 Sync with upstream verilog-mode revision 78e66ba.
1473 * progmodes/verilog-mode.el (verilog-end-of-defun)
1474 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1475 (verilog-get-end-of-defun): Remove unused argument.
1476 (verilog-comment-depth): Remove unused local `e'.
1477 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1478 Don't pass arg to verilog-get-end-of-defun.
1480 2013-11-14 Glenn Morris <rgm@gnu.org>
1482 * obsolete/assoc.el (aget): Prefix dynamic variable.
1484 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1486 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1488 * widget.el, hfy-cmap.el: Remove bogus package version number.
1490 2013-11-13 Glenn Morris <rgm@gnu.org>
1492 * replace.el (replace-eval-replacement):
1493 Try to give more helpful error message. (Bug#15836)
1495 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1496 (archive-7z-update): Avoid custom type mismatches.
1498 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1500 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1502 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1503 address can be empty.
1505 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1506 Accept nil SWITCHES.
1507 (tramp-gvfs-handle-write-region): Implement APPEND.
1509 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1511 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1512 binary "|" operator and closing block args delimiter.
1513 Remove FIXME comment referring to Ruby 1.8-only syntax.
1514 (ruby-smie--implicit-semi-p): Not after "|" operator.
1515 (ruby-smie--closing-pipe-p): New function.
1516 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1517 (ruby-smie-rules): Indent after "|".
1519 2013-11-12 Glenn Morris <rgm@gnu.org>
1521 * ps-print.el (ps-face-attribute-list):
1522 Handle anonymous faces. (Bug#15827)
1524 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1526 * window.el (display-buffer-other-frame): Fix doc-string.
1529 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1531 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1533 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1535 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1536 (tramp-sh-handle-file-local-copy): Don't write a message when
1537 saving temporary files.
1539 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1540 both directories are remote.
1541 (tramp-smb-handle-directory-files): Do not return double entries.
1542 Do not expand full file names.
1543 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1544 (tramp-smb-handle-write-region): Implement APPEND.
1545 (tramp-smb-get-stat-capability): Fix a stupid bug.
1547 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1549 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1551 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1553 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1554 throwing error over malformed let/let* (bug#15814).
1556 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1558 * iswitchb.el (iswitchb-mode): Mark obsolete.
1560 2013-11-11 Glenn Morris <rgm@gnu.org>
1562 * international/uni-bidi.el, international/uni-category.el:
1563 * international/uni-name.el, international/uni-numeric.el:
1564 Regenerate for Unicode 6.3.0.
1566 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1568 * net/tramp.el (tramp-methods):
1569 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1570 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1572 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1574 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1575 Force highlighting text after Summary keyword in doc face for rpm.
1577 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1579 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1580 available and the word has no wildcards, append one to the grep pattern.
1581 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1582 (ispell-complete-word): Call `ispell-lookup-words' with the value
1583 independent of `ispell-look-p'.
1585 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1587 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1589 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1592 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1594 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1595 (ruby-font-lock-keywords): Use backquote.
1597 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1599 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1600 (ruby-smie--backward-token): Only consider full-string matches.
1602 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1604 * faces.el (describe-face): Add distant-foreground.
1606 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1608 * progmodes/ruby-mode.el: Improve encoding comment handling.
1609 (ruby-encoding-magic-comment-style): New option.
1610 (ruby-custom-encoding-magic-comment-template): New option.
1611 (ruby--insert-coding-comment, ruby--detect-encoding):
1612 New functions extracted from `ruby-mode-set-encoding'.
1613 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1614 to control the style of the auto-inserted encoding comment.
1616 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1618 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1619 Use `smie-backward-sexp' with token argument.
1621 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1623 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1624 Remove instrumentation code.
1626 2013-11-08 Glenn Morris <rgm@gnu.org>
1628 * progmodes/autoconf.el (autoconf-mode):
1629 Tweak comment-start-skip. (Bug#15822)
1631 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1633 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1634 at bobp (bug#15826).
1635 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1637 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1639 * man.el (Man-start-calling): New macro, extracted from
1640 Man-getpage-in-background.
1641 (Man-getpage-in-background): Use it.
1642 (Man-update-manpage): New command.
1643 (Man-mode-map): Bind it.
1645 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1647 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1648 of "and", "or", "&&" and "||".
1649 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1650 argument. Prohibit opening curly brace because it could only be a
1651 block opener in that position.
1652 (ruby-smie--forward-token, ruby-smie--backward-token):
1653 Separate "|" from "&" or "*" going after it. That can happen in block
1655 (ruby-smie--indent-to-stmt): New function, seeks the end of
1656 previous statement or beginning of buffer.
1657 (ruby-smie-rules): Use it.
1658 (ruby-smie-rules): Check if there's a ":" before a curly block
1659 opener candidate; if there is, it's a hash.
1661 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1663 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1664 (cl--block-wrapper): Fix last accidental change.
1666 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1668 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1669 Instrument, in order to hunt failure on hydra.
1671 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1673 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1674 malformed bindings form (bug#15814).
1676 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1678 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1679 "." compared to " @ ". This incidentally fixes some indentation
1681 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1682 (ruby-smie-grammar): New tokens: "and" and "or".
1683 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1684 Exclude "and" and "or". Remove "do" in order to work around token
1686 (ruby-smie-rules): Add all infix tokens. Handle the case of
1687 beginning-of-buffer.
1689 2013-11-06 Glenn Morris <rgm@gnu.org>
1691 * Makefile.in (setwins_almost, setwins_for_subdirs):
1692 Avoid accidental matches.
1694 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1696 * menu-bar.el (popup-menu): Use key-binding.
1698 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1700 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1701 menus, support also the menus produced by minor modes.
1704 2013-11-06 Leo Liu <sdl.web@gmail.com>
1706 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1707 DISTANCE to bound the search. All uses changed. (Bug#15808)
1709 2013-11-06 Glenn Morris <rgm@gnu.org>
1711 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1712 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1713 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1715 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1717 * electric.el (electric-indent-just-newline): New command.
1718 (electric-indent-mode-map): New keymap.
1719 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1720 Re-add :group which weren't redundant.
1722 * electric.el (electric-indent-local-mode): New minor mode.
1723 (electric-indent-functions-without-reindent): New var.
1724 (electric-indent-post-self-insert-function): Use it.
1725 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1727 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1729 * international/quail.el (quail-help): Be more explicit about the
1730 meaning of the labels shown on the keys. (Bug#15800)
1732 * startup.el (normal-top-level): Load the subdirs.el files before
1733 setting the locale environment. (Bug#15805)
1735 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1737 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1738 via arguments so as to get the right ones (bug#15418).
1740 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1742 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1744 Fix problems found while writing a test suite.
1746 * net/tramp-compat.el (tramp-compat-load): New defun.
1747 * net/tramp.el (tramp-handle-load): Use it.
1749 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1750 "(numberp ok-if-already-exists)" correctly.
1752 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1754 * international/characters.el (glyphless-char-display-control):
1757 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1759 * progmodes/python.el (python-mode):
1760 * progmodes/scheme.el (scheme-mode):
1761 * progmodes/prolog.el (prolog-mode):
1762 * progmodes/ruby-mode.el (ruby-mode):
1763 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1764 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1766 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1768 * rect.el (rectangle--highlight-for-redisplay):
1769 * emacs-lisp/smie.el (smie--next-indent-change):
1770 Use buffer-chars-modified-tick.
1772 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1774 * electric.el (electric-indent-post-self-insert-function):
1775 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1777 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1779 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1781 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1783 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1786 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1788 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1790 * progmodes/python.el: Fix up last change.
1791 (python-shell--save-temp-file): New function.
1792 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1793 `string' comes from the current buffer.
1794 (python-shell-send-string-no-output): Remove `msg' arg.
1795 (python--use-fake-loc): New var.
1796 (python-shell-buffer-substring): Obey it. Try to compensate for the
1797 extra coding line added by python-shell--save-temp-file.
1798 (python-shell-send-region): Use python-shell--save-temp-file and
1799 python-shell-send-file directly. Add `nomain' argument.
1800 (python-shell-send-buffer): Use python-shell-send-region.
1801 (python-electric-pair-string-delimiter): New function.
1802 (python-mode): Use it.
1804 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1806 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1807 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1808 environment and decoding all of the default-directory's to here
1810 (command-line): Decode also argv[0].
1812 * loadup.el: Error out if default-directory is a multibyte string
1813 when we are dumping.
1815 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1817 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1819 * emacs-lisp/package.el (package-menu-mode)
1820 (package-menu--print-info, package-menu--archive-predicate):
1821 Add Archive column to package list.
1823 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1825 Fix problems found while writing a test suite.
1827 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1828 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1829 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1830 to nil when running original file name handler. Otherwise,
1831 there are problems with constructs like "$$FOO".
1833 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1836 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1838 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1840 * subr.el (version<, version<=, version=):
1841 Update docstrings with information for snapshot versions.
1843 * helpers.el: New library for misc helper functions.
1844 (hash-table-keys): New function returning a list of hash keys.
1845 (hash-table-values): New function returning a list of hash values.
1847 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1849 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1850 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1852 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1854 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1855 checking whether point is after a 1-letter word.
1857 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1859 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1860 Don't infloop when expanding region over `multiline' syntax-type that
1861 begins a line (bug#15778).
1863 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1865 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1866 Make it into a proper minor mode.
1867 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1868 (rectangle-mark-mode-map): New keymap.
1869 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1871 2013-11-04 Glenn Morris <rgm@gnu.org>
1873 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1875 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1877 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1878 (ruby-smie-rules): Use smie-rule-parent instead.
1880 * emacs-lisp/smie.el (smie-rule-parent): Always call
1881 smie-indent-virtual rather than only for hanging tokens.
1882 (smie--next-indent-change): New helper command.
1884 2013-11-03 Glenn Morris <rgm@gnu.org>
1886 * Makefile.in (abs_srcdir): Remove.
1887 (emacs): Unset EMACSLOADPATH.
1889 2013-11-02 Glenn Morris <rgm@gnu.org>
1891 * Makefile.in (EMACS): Use a relative filename.
1892 (abs_top_builddir): Remove.
1893 (custom-deps, finder-data, autoloads): Use --chdir.
1895 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1897 Use relative filenames in TAGS files.
1898 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1899 (lisptagsfiles4, TAGS): Use relative file names.
1900 (TAGS-LISP): Remove.
1901 (maintainer-clean): No more TAGS-LISP file.
1903 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1904 (lisptagsfiles4): Use absolute filenames again.
1905 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1906 Remove all *loaddefs files, not just the first. Remove esh-groups.
1907 (maintainer-clean): Delete TAGS, TAGS-LISP.
1909 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1911 * emacs-lisp/package.el (package-version-join):
1912 Recognize snapshot versions.
1914 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1916 * subr.el (version-regexp-alist): Add support for snapshot versions.
1918 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1920 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1921 New function, replacement for `smie-rule-parent' for when we want to
1922 skip over our direct parent if it's an assignment token..
1923 (ruby-smie-rules): Use it.
1925 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1927 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1928 unconditionally. Remove now unnecessary forward declarations.
1929 Remove XEmacs-specific setup.
1930 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1931 (ruby-font-lock-syntactic-keywords)
1932 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1933 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1934 (ruby-here-doc-end-syntax): Remove.
1935 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1936 defined as function.
1938 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1940 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1942 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1944 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1945 table and abbrev table, `define-derived-mode' does that for us
1948 2013-11-01 Glenn Morris <rgm@gnu.org>
1950 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1951 files is atomic for some time, so no parallel compilation issues).
1953 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1955 * faces.el (face-x-resources): Add :distant-foreground.
1956 (region): Use :distant-foreground for gtk and ns.
1958 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1960 Allow multiple bibliographies when BibLaTeX is used rather than
1962 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1963 (reftex-locate-bibliography-files): Us it.
1965 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1967 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1968 allow comments in pbm files.
1970 * term/w32-win.el (dynamic-library-alist): Support newer versions
1971 of libjpeg starting with v7: look only for the DLL from the
1972 version against which Emacs was built.
1973 Support versions of libpng beyond 1.4.x.
1974 Support libtiff v4.x.
1976 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1978 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1979 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1981 (ruby-deep-arglist): Add property :type.
1983 2013-10-31 Glenn Morris <rgm@gnu.org>
1985 * Makefile.in (custom-deps, finder-data): No need to setq the target
1986 variables, we are in the right directory and the defaults work fine.
1988 2013-10-30 Glenn Morris <rgm@gnu.org>
1990 * Makefile.in (autoloads): Do not use abs_lisp.
1992 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1993 `newline' does not respect `standard-output', so use `princ'.
1995 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1997 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1998 * buff-menu.el (Buffer-menu--unmark): New function.
1999 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2001 2013-10-30 Glenn Morris <rgm@gnu.org>
2003 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2005 * emacs-lisp/package.el (lm-homepage): Declare.
2007 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2010 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2012 * Makefile.in (finder-data, autoloads, update-subdirs)
2013 (compile-main, compile-clean, compile-always, bootstrap-clean):
2014 Check return value of cd.
2015 (compile-calc): Remove.
2017 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2019 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2021 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2022 (byte-compile-and-folded): New function.
2023 (=, <, >, <=, >=): Use it.
2025 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2026 (path-separator, null-device, buffer-file-coding-system)
2027 (lpr-headers-switches): Check system-type before modifying them.
2028 (find-buffer-file-type-coding-system): Mark obsolete.
2029 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2030 find-file-not-found-set-buffer-file-coding-system.
2031 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2032 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2033 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2034 (w32-direct-print-region-helper, w32-direct-print-region-function)
2035 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2036 * startup.el (normal-top-level-add-subdirs-to-load-path):
2037 * ps-print.el (ps-print-region-function):
2038 * lpr.el (print-region-function): Use new name.
2040 * subr.el (custom-declare-variable-early): Remove function.
2041 (custom-declare-variable-list): Remove var.
2042 (error, user-error): Remove `while' loop.
2043 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2044 (user-emacs-directory-warning, locate-user-emacs-file):
2046 * simple.el (read-quoted-char-radix, read-quoted-char):
2047 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2049 * custom.el (custom-declare-variable-list): Don't process
2050 custom-declare-variable-list.
2052 * progmodes/python.el (python-shell-get-buffer): New function.
2053 (python-shell-get-process): Use it.
2054 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2055 Python which encoding was used. Don't split-string since we only care
2056 about the first line. Return the temp-file, if applicable.
2057 (python-shell-send-region): Tell compile.el how to turn locations in
2058 the temp-file into locations in the source buffer.
2060 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2062 * subr.el (undefined): Add missing behavior from the C code for
2065 * rect.el: Use lexical-binding. Add new rectangular region support.
2066 (rectangle-mark): New command.
2067 (rectangle--region): New var.
2068 (deactivate-mark-hook): Reset rectangle--region.
2069 (rectangle--extract-region, rectangle--insert-for-yank)
2070 (rectangle--highlight-for-redisplay)
2071 (rectangle--unhighlight-for-redisplay): New functions.
2072 (region-extract-function, redisplay-unhighlight-region-function)
2073 (redisplay-highlight-region-function): Use them to handle
2075 * simple.el (region-extract-function): New var.
2076 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2077 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2078 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2079 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2080 (redisplay-unhighlight-region-function)
2081 (redisplay-highlight-region-function): New vars.
2082 (redisplay--update-region-highlight): New function.
2083 (pre-redisplay-function): Use it.
2084 (exchange-point-and-mark): Don't deactivate the mark before
2085 reactivate-it anyway.
2086 * comint.el (comint-kill-region): Remove yank-handler argument.
2087 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2088 (delete-char): Remove property, since it's now part of their
2090 (self-insert-iso): Remove property since this command doesn't exist.
2092 * emacs-lisp/package.el (package--download-one-archive)
2093 (describe-package-1): Don't query the user about final newline.
2095 2013-10-29 Daniel Colascione <dancol@dancol.org>
2097 * net/tramp.el (tramp-methods): Document new functionality.
2098 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2099 tramp-hostname-checker if method provides one instead of scanning
2100 argument list for "%h" to decide hostname acceptability.
2102 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2104 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2105 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2106 Handle COPY-CONTENTS. (Bug#15737)
2108 2013-10-28 Daiki Ueno <ueno@gnu.org>
2111 (epa-file-cache-passphrase-for-symmetric-encryption):
2112 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2114 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2116 * image.el (defimage):
2117 (image-load-path): Doc fixes.
2119 2013-10-27 Alan Mackenzie <acm@muc.de>
2121 Indent statements in macros following "##" correctly.
2122 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2123 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2125 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2127 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2129 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2131 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2132 after `=' is probably a new expression.
2134 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2136 * man.el (man-imenu-title): New option.
2137 (Man-mode-map): Add menu. (Bug#15722)
2138 (Man-mode): Add imenu to menu.
2140 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2142 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2143 specific in what the first arg can be: a non-keyword word,
2144 string/regexp/percent literal opener, opening paren, or unary
2145 operator followed directly by word.
2147 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2149 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2150 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2151 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2152 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2153 Remove vars, they do not apply any more.
2154 (prolog-mode-abbrev-table): Remove redundant declaration.
2155 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2156 (prolog-use-smie): Remove.
2157 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2158 supported by prolog-electric-if-then-else-flag.
2159 (prolog-mode-variables, prolog-menu): Use setq-local.
2160 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2161 Remove binding to `Backspace' since this key doesn't exist anyway.
2162 Remove bindings for electric self-inserting keys.
2163 (prog-mode): Assume it's defined.
2164 (prolog-post-self-insert): New function.
2165 (prolog-mode): Use it.
2166 (prolog-indent-line, prolog-indent-level)
2167 (prolog-find-indent-of-matching-paren)
2168 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2169 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2170 (prolog-goto-next-paren, prolog-in-string-or-comment)
2171 (prolog-tokenize, prolog-inside-mline-comment)
2172 (prolog-find-start-of-mline-comment): Remove functions.
2173 (prolog-find-unmatched-paren, prolog-clause-end)
2174 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2175 (prolog-electric--if-then-else): Rename from
2176 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2177 (prolog-tokenize-searchkey): Remove const.
2178 (prolog-clause-info): Use forward-sexp.
2179 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2180 (prolog-electric-if-then-else): Remove commands.
2181 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2182 for use in post-self-insert-hook.
2183 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2184 for use in post-self-insert-hook.
2185 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2186 for use in post-self-insert-hook.
2187 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2188 adapt it for use in post-self-insert-hook.
2190 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2192 * emacs-lisp/ert.el (ert-run-tests-interactively):
2193 Use `completing-read'. (Bug#9756)
2195 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2197 * simple.el (line-move): Call line-move-1 instead of
2198 line-move-visual when the current window hscroll is zero, but
2199 temporary-goal-column indicates we will need to hscroll as result
2200 of the movement. (Bug#15712)
2202 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2204 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2205 capitalization. Use :visible instead of :active.
2206 Fix `ruby-indent-exp' reference. Add menu items for the generic
2207 commands that are used with SMIE.
2208 (ruby-do-end-to-brace): Insert space after `{'.
2210 2013-10-25 John Anthony <john@jo.hnanthony.com>
2212 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2214 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2216 2013-10-25 Glenn Morris <rgm@gnu.org>
2218 * vc/vc.el (vc-print-log): Don't use a working revision unless
2219 one was explicitly specified. (Bug#15322)
2221 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2223 * subr.el (add-to-list): Preserve return value in compiler-macro
2226 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2228 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2229 result. Ask user to retry using '-all' flag. (Bug#15701)
2231 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2233 * emacs-lisp/smie.el: New smie-config system.
2234 (smie-config): New defcustom.
2235 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2236 (smie-config-guess, smie-config-save): New commands.
2237 (smie-config--mode-local, smie-config--buffer-local)
2238 (smie-config--trace, smie-config--modefuns): New vars.
2239 (smie-config--advice, smie-config--mode-hook)
2240 (smie-config--setter, smie-config-local, smie-config--get-trace)
2241 (smie-config--guess-value, smie-config--guess): New functions.
2242 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2243 text properties. Treat "string fence" syntax like string syntax.
2245 * progmodes/sh-script.el (sh-use-smie): Change default.
2246 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2247 (sh-var-value): Simplify by CSE.
2248 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2249 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2251 (sh-guess-basic-offset): Use cl-incf.
2252 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2254 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2256 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2259 2013-10-24 Glenn Morris <rgm@gnu.org>
2261 * Makefile.in (abs_top_srcdir): Remove.
2262 (update-subdirs): Use relative path to update-subdirs.
2264 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2266 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2267 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2268 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2269 Call unmsys--file-name before expand-file-name, not after it.
2271 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2273 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2274 (ert-test-skipped): New error.
2275 (ert-skip, ert-stats-skipped): New defuns.
2276 (ert--skip-unless): New macro.
2277 (ert-test-skipped): New struct.
2278 (ert--run-test-debugger, ert-test-result-type-p)
2279 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2280 (ert--stats-set-test-and-result, ert-char-for-test-result)
2281 (ert-string-for-test-result, ert-run-tests-batch)
2282 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2283 Handle skipped tests. (Bug#9803)
2285 2013-10-24 Glenn Morris <rgm@gnu.org>
2287 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2289 * Makefile.in (abs_top_srcdir): New, set by configure.
2290 (update-subdirs): Correct build-aux location.
2292 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2294 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2295 value, whether we could auto-deduce `backend', or not.
2297 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2298 with parameters" example. Simplify the "is it block or is it
2299 hash" check, but also make it more thorough.
2301 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2303 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2305 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2307 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2310 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2313 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2315 * progmodes/compile.el (compilation-directory-matcher)
2316 (compilation-page-delimiter):
2317 Support GNU Make-4.0 directory quoting. (Bug#15678)
2319 2013-10-23 Leo Liu <sdl.web@gmail.com>
2321 * ido.el (ido-tidy): Handle read-only text.
2323 2013-10-23 Glenn Morris <rgm@gnu.org>
2325 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2326 (emacs, compile, compile-always):
2327 Quote entities that might contain whitespace.
2328 (custom-deps, finder-data, autoloads): Use abs_lisp.
2329 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2330 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2331 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2333 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2335 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2336 Use `following-char'.
2338 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2340 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2341 * progmodes/ruby-mode.el (ruby-smie-rules):
2342 Remove corresponding workaround. Fix indentation rule of ";" so it
2343 also applies when ";" is the parent.
2345 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2347 * frame.el (display-screens, display-pixel-height)
2348 (display-pixel-width, display-mm-width, display-backing-store)
2349 (display-save-under, display-planes, display-color-cells)
2350 (display-visual-class, display-monitor-attributes-list):
2351 Mention the optional ‘display’ argument in doc strings.
2353 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2355 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2356 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2358 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2360 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2361 TODO. Add "." after " @ ".
2362 (ruby-smie--at-dot-call): New function. Checks if point at method
2363 call with explicit target.
2364 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2365 to the method name tokens when it precedes them.
2366 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2367 (ruby-smie-rules): Add rule for indentation before and after "."
2370 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2372 * textmodes/remember.el (remember-diary-extract-entries):
2375 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2378 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2380 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2381 (ruby-smie--implicit-semi-p): Add new operator chars.
2383 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2385 (ruby-smie--args-separator-p): Check that there's no newline
2386 between method call and its arguments.
2388 2013-10-20 Alan Mackenzie <acm@muc.de>
2390 Allow comma separated lists after Java "implements".
2392 * progmodes/cc-engine.el (c-backward-over-enum-header):
2394 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2395 from a "disallowed" list in enum fontification.
2397 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2399 * startup.el (default-frame-background-mode): Remove unused defvar.
2401 * progmodes/verilog-mode.el (verilog-mode): Don't set
2402 comment-indent-function globally.
2404 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2406 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2407 Move Info menu item creation to ns-win.el.
2409 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2412 * menu-bar.el: Move GNUStep specific menus...
2414 * term/ns-win.el (ns-initialize-window-system): ... to here.
2416 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2418 * simple.el (newline): Only run post-self-insert-hook when
2419 called interactively.
2421 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2423 * icomplete.el (icomplete-with-completion-tables): Add :version.
2425 2013-10-19 Alan Mackenzie <acm@muc.de>
2427 Fix fontification bugs with constructors and const.
2429 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2430 CASE 2) Remove the check for the absence of a suffix construct
2431 after a function declaration with only types (no identifiers) in
2432 the parentheses. Also, accept a function declaration with just a
2433 type inside the parentheses, if this type can be positively
2434 recognised as such, or if a prefix keyword like "explicit" nails
2435 down the construct as a declaration.
2437 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2439 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2440 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2441 the problem whereby selecting a menu item that leads to a
2442 minibuffer prompt moves the cursor out of the minibuffer window,
2443 making it hard to type at the prompt. Suggested by Stefan Monnier
2444 <monnier@iro.umontreal.ca>.
2446 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2448 * menu-bar.el: Don't make Services menu.
2450 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2452 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2453 (ffap-alist): Use ffap-c++-mode for c++-mode.
2454 (ffap-c++-path): New variable.
2455 (ffap-c++-mode): New function.
2457 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2459 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2461 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2463 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2464 introduced on 2013-09-08, which results in an infinite loop
2465 requesting a password.
2467 2013-10-18 Glenn Morris <rgm@gnu.org>
2469 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2471 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2473 Sync with upstream verilog-mode revision 1a6ecec7.
2474 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2475 (verilog-mode-release-date): Remove.
2476 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2477 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2478 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2479 (verilog-auto-tieoff-ignore-regexp)
2480 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2481 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2482 (verilog-signals-with, verilog-dir-cache-preserving)
2483 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2485 (verilog-case-fold): New option, to control case folding in
2486 regexp searches, bug597.
2487 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2488 (verilog-string-match-fold, verilog-in-paren-count)
2489 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2490 (verilog-at-close-struct-p): New functions.
2491 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2492 (verilog-forward-sexp, verilog-set-auto-endcomments):
2493 (verilog-leap-to-case-head): Handle "unique0" case.
2494 (verilog-in-constraint-re): New constant.
2495 (verilog-keywords, verilog-type-font-keywords):
2496 Add some SystemVerilog 1800-2012 keywords.
2497 (verilog-label-be): Remove unimplemented argument, bug669.
2498 (verilog-batch-execute-func): When batch expanding clear
2499 create-lockfiles to prevent spurious user locks when a file ends
2501 (verilog-calculate-indent, verilog-calc-1)
2502 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2503 (verilog-do-indent): Fix indentation of nested constraints
2505 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2506 (verilog-auto-inst-param): Use verilog-string-match-fold.
2507 (verilog-read-inst-module-matcher):
2508 Fix AUTOINST on gate primitives with #1.
2509 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2510 Reads all user-defined typed variables.
2511 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2512 (verilog-signals-matching-regexp)
2513 (verilog-signals-not-matching-regexp, verilog-auto):
2514 Respect verilog-case-fold.
2515 (verilog-diff-report): Fix line count.
2516 (verilog-auto-assign-modport): Remove unused local `modi'.
2517 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2518 better handle multidimensional arrays.
2519 Fix packed array ports misadding bit index in AUTOINST, bug637.
2520 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2521 to not double-declare existing outputs and inputs, respectively.
2522 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2523 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2524 (verilog-sk-uvm-component): New skeleton.
2525 (verilog-submit-bug-report): Add verilog-case-fold,
2526 remove verilog-mode-release-date.
2528 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2530 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2533 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2535 * textmodes/remember.el (remember): set buffer-offer-save in
2536 remember buffers (bug#13566).
2538 2013-10-18 Daniel Colascione <dancol@dancol.org>
2540 When evaluating forms in ielm, direct standard output to ielm
2541 buffer. Add new ielm-return-for-effect command. Remove trailing
2542 whitespace throughout.
2544 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2545 (ielm-return-for-effect): New command.
2546 (ielm-send-input): Accept optional `for-effect' parameter.
2547 (ielm-eval-input): Accept optional `for-effect' parameter.
2548 Bind `standard-output' to stream we create using
2549 `ielm-standard-output-impl'. Suppress printing result when
2551 (ielm-standard-output-impl): New function.
2552 (inferior-emacs-lisp-mode): Explain new features in documentation.
2554 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2558 * net/tramp.el (tramp-debug-message): Do not check for connection
2560 (tramp-message): Use "vector" connection property.
2562 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2563 (tramp-equal-remote, tramp-eshell-directory-change)
2564 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2565 (tramp-adb-handle-rename-file)
2566 * net/tramp-cmds.el (tramp-list-remote-buffers)
2567 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2568 * net/tramp-compat.el (tramp-compat-process-running-p)
2569 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2570 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2571 (tramp-gvfs-handle-rename-file)
2572 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2573 (tramp-set-file-uid-gid)
2574 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2575 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2578 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2579 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2580 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2581 (tramp-gw-open-network-stream): Suppress unrelated traces.
2583 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2584 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2585 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2586 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2587 connection property.
2589 * net/tramp-cache.el (top): Suppress traces when reading
2592 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2593 Refactor common code. Improve debug message.
2594 (tramp-maybe-open-connection)
2595 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2596 connection buffer too early.
2598 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2599 from `tramp-smb-actions-with-acl'.
2600 (tramp-smb-actions-set-acl): New defconst.
2601 (tramp-smb-handle-copy-directory)
2602 (tramp-smb-action-get-acl): New defun, renamed from
2603 `tramp-smb-action-with-acl'.
2604 (tramp-smb-action-set-acl): New defun.
2605 (tramp-smb-handle-set-file-acl): Rewrite.
2607 2013-10-17 Glenn Morris <rgm@gnu.org>
2609 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2611 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2613 * skeleton.el (skeleton-newline): Remove.
2614 (skeleton-internal-1): Use (insert "\n") instead.
2616 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2619 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2620 forward-sexp-function while we redo its job (bug#15613).
2622 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2624 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2625 represented by lists.
2627 2013-10-16 Glenn Morris <rgm@gnu.org>
2629 * tmm.el (tmm--history): New dynamic variable.
2630 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2632 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2634 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2635 (tramp-smb-errors): Add error messages.
2636 (tramp-smb-actions-with-acl): New defconst.
2637 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2638 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2639 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2640 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2641 (tramp-smb-get-stat-capability): Fix tests.
2643 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2645 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2648 2013-10-16 Glenn Morris <rgm@gnu.org>
2650 * ansi-color.el (ansi-color-drop-regexp):
2651 Add 1J, 1K, 2K. (Bug#15617)
2653 * files.el (hack-local-variables--warned-lexical): New.
2654 (hack-local-variables):
2655 Warn about misplaced lexical-binding. (Bug#15616)
2657 * net/eww.el (eww-render): Always set eww-current-url,
2658 and update header line. (Bug#15622)
2659 (eww-display-html): ... Rather than just doing it here.
2661 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2663 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2664 menu navigations commands.
2666 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2668 * progmodes/subword.el (subword-capitalize): Be careful when
2669 the search for [[:alpha:]] fails (bug#15580).
2671 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2673 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2674 to commands that scroll the menu.
2676 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2678 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2679 Handle methods ending with `?' and `!'.
2681 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2683 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2684 `japanese-cp932' to `cp932' to fix the problem where saving a
2685 source file written in Shift_JIS twice would end up having
2686 `coding: japanese-cp932' which Ruby could not recognize.
2687 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2688 in `ruby-encoding-map'.
2689 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2690 doesn't need to be explicitly declared in magic comment.
2691 (ruby-encoding-map): Add type declaration for better customize UI.
2693 2013-10-13 Glenn Morris <rgm@gnu.org>
2695 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2696 Occur buffers are read-only. http://bugs.debian.org/720775
2698 * emacs-lisp/authors.el (authors-fixed-entries):
2699 Comment out old alpha stuff.
2701 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2703 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2704 to `after-save-hook' instead of `before-save-hook'.
2705 (ruby-mode-set-encoding): Use the value of coding system used to
2706 write the file. Call `basic-save-buffer-1' after modifying the
2709 2013-10-13 Alan Mackenzie <acm@muc.de>
2711 Fix indentation/fontification of Java enum with
2712 "implements"/generic.
2714 * progmodes/cc-engine.el (c-backward-over-enum-header):
2715 Extracted from the three other places and enhanced to handle generics.
2716 (c-inside-bracelist-p): Uses new function above.
2717 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2719 (c-font-lock-enum-tail): Uses new function above.
2721 2013-10-13 Kenichi Handa <handa@gnu.org>
2723 * international/mule-cmds.el (select-safe-coding-system): Remove a
2724 superfluous condition in chekcing whether a coding system is safe
2727 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2729 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2731 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2733 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2735 2013-10-13 Glenn Morris <rgm@gnu.org>
2737 * menu-bar.el (menu-bar-update-buffers):
2738 Unify Buffers menu prompt string. (Bug#15576)
2740 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2742 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2744 (authors-fixed-entries): Use accented form of name.
2746 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2748 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2749 method calls (bug#15594).
2750 (ruby-smie--args-separator-p): New function.
2751 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2752 recognize paren-free method calls.
2754 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2755 internals of universal-argument.
2757 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2759 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2760 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2761 dropped menu on second mouse click on the menu bar.
2763 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2765 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2766 (explicit-shell-file-name): Declare.
2767 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2768 (sh-completion-at-point-function): New function.
2770 (sh-smie--keyword-p): Remove unused argument.
2771 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2773 (sh-set-shell): Always setup SMIE, even if we use the
2774 old indentation code.
2776 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2778 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2780 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2781 predicate would return nil are almost non-existent.
2782 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2784 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2785 cache also after commands that modify the buffer but don't move
2788 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2790 * env.el (substitute-env-in-file-name): New function.
2791 (substitute-env-vars): Extend the meaning of the optional arg.
2793 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2795 * term/w32-win.el (dynamic-library-alist): Define separate lists
2796 of GIF DLLs for versions before and after 5.0.0 of giflib.
2799 2013-10-10 João Távora <joaotavora@gmail.com>
2801 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2802 not locked, use last revision and current source as
2803 defaults. (Bug#15569)
2805 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2807 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2810 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2812 * window.el (pop-to-buffer-same-window): Fix doc-string.
2815 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2817 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2819 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2821 * calendar/icalendar.el (icalendar-import-file):
2822 Fix interactive spec. (Bug#15482)
2824 2013-10-10 Glenn Morris <rgm@gnu.org>
2826 * desktop.el (desktop-save): Default to saving in .emacs.d,
2827 since PWD is no longer in desktop-path by default. (Bug#15319)
2829 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2830 now that text mode has a menu with the same entry.
2831 (menu-bar-text-mode-auto-fill): Remove now unused func.
2832 * textmodes/text-mode.el (text-mode-map):
2833 Use auto-fill help text from menu-bar.el.
2835 2013-10-10 John Anthony <john@jo.hnanthony.com>
2837 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2839 2013-10-09 Juri Linkov <juri@jurta.org>
2841 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2842 instead of this-command-keys. Add universal-argument-more and
2843 universal-argument-minus to the list of prefix commands. (Bug#15568)
2845 2013-10-09 Glenn Morris <rgm@gnu.org>
2847 * vc/vc-svn.el (vc-svn-create-repo):
2848 Expand paths in file://... url. (Bug#15446)
2850 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2852 (authors): Remove unused local variables.
2854 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2856 * profiler.el: Create a more coherent calltree from partial backtraces.
2857 (profiler-format): Hide the tail with `invisible' so that C-s can still
2858 find the hidden elements.
2859 (profiler-calltree-depth): Don't recurse so enthusiastically.
2860 (profiler-function-equal): New hash-table-test.
2861 (profiler-calltree-build-unified): New function.
2862 (profiler-calltree-build): Use it.
2863 (profiler-report-make-name-part): Indent the calltree less.
2864 (profiler-report-mode): Add visibility specs for profiler-format.
2865 (profiler-report-expand-entry, profiler-report-toggle-entry):
2866 Expand the whole subtree when provided with a prefix arg.
2868 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2870 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2872 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2873 hanging iuwu-mod token.
2874 (ruby-smie--forward-token): Do not include a dot after a token in
2876 (ruby-smie--backward-token): Likewise.
2878 2013-10-08 Juri Linkov <juri@jurta.org>
2880 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2881 to isearch-other-control-char.
2882 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2883 and isearch-post-command-hook to post-command-hook.
2884 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2885 and isearch-post-command-hook from post-command-hook.
2886 (isearch-unread-key-sequence)
2887 (isearch-reread-key-sequence-naturally)
2888 (isearch-lookup-scroll-key, isearch-other-control-char)
2889 (isearch-other-meta-char): Remove functions.
2890 (isearch-pre-command-hook, isearch-post-command-hook):
2891 New functions based on isearch-other-meta-char rewritten
2892 relying on the new behavior of overriding-terminal-local-map
2893 that does not replace the local keymaps any more. (Bug#15200)
2895 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2897 Support menus on text-mode terminals.
2898 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2901 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2903 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2904 Move here from mouse.el.
2905 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2907 (tty-menu-navigation-map): New map for TTY menu navigation.
2909 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2911 * frame.el (display-mouse-p): Report text-mode mouse as available
2913 (display-popup-menus-p): Report availability if mouse is
2914 available; don't condition on window-system.
2916 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2917 (tty-menu-selected-face): New faces.
2919 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2921 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2922 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2923 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2924 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2926 (lisp-mode-variables): New `elisp' argument.
2927 (emacs-lisp-mode): Use it.
2928 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2929 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2931 * indent.el: Use lexical-binding.
2932 (indent-region): Add progress reporter.
2933 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2935 (indent--next-tab-stop): New function to implement this behavior.
2936 (tab-to-tab-stop, move-to-tab-stop): Use it.
2938 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2940 * indent.el (indent-rigidly--current-indentation): New function.
2941 (indent-rigidly-map): New var.
2942 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2944 2013-10-08 Bastien Guerry <bzg@gnu.org>
2946 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2948 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2950 * progmodes/perl-mode.el: Use lexical-binding.
2951 Remove redundant :group args.
2952 (perl-nochange): Change default to be closer to other major modes's
2954 (perl-indent-line): Don't consider text on current line as a
2955 valid beginning of function from which to indent.
2957 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2958 with more than one argument (bug#15538).
2960 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2962 * vc/pcvs.el: Use lexical-binding.
2963 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2964 environment of `eval'.
2965 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2966 than a list of expressions. Adjust callers.
2967 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2969 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2971 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2972 case of the dot in a chained method call being on the following line.
2974 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2976 * electric.el (electric-indent-inhibit): New var.
2977 (electric-indent-post-self-insert-function): Use it.
2978 * progmodes/python.el (python-mode): Set it.
2980 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2983 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2985 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2986 (css-mode): Use electric-indent-chars.
2988 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2989 (font-lock-beg, font-lock-end): Move before first use.
2990 (nxml-mode): Use syntax-propertize-function.
2991 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2992 (nxml-extend-after-change-region): Remove.
2993 * nxml/xmltok.el: Use lexical-binding.
2994 (xmltok-save): Use `declare'.
2995 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2996 * nxml/nxml-util.el: Use lexical-binding.
2997 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2999 * nxml/nxml-ns.el: Use lexical-binding.
3000 (nxml-ns-save): Use `declare'.
3001 (nxml-ns-prefixes-for): Avoid add-to-list.
3002 * nxml/rng-match.el: Use lexical-binding.
3003 (rng--ipattern): Use cl-defstruct.
3004 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3005 (rng-cons-group-after, rng-subst-group-after)
3006 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3007 Use closures instead of `(lambda...).
3009 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3011 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3014 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3015 Use `tramp-handle-insert-file-contents'.
3016 (tramp-gvfs-handle-insert-file-contents): Remove function.
3018 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3019 Use `save-restriction' in order to keep markers.
3021 * net/trampver.el: Update release number.
3023 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3025 * progmodes/compile.el (compilation-parse-errors):
3026 Use compilation--put-prop.
3027 (compilation--ensure-parse): Check compilation-multiline.
3029 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3031 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3034 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3036 * progmodes/ruby-mode.el: Fix recently added tests.
3037 (ruby-smie-grammar): Add - and +.
3038 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3039 (ruby-smie--backward-id): New functions.
3040 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3041 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3044 2013-10-07 Leo Liu <sdl.web@gmail.com>
3046 * register.el (register-preview-delay)
3047 (register-preview-functions): New variables.
3048 (register-read-with-preview, register-preview)
3049 (register-describe-oneline): New functions.
3050 (point-to-register, window-configuration-to-register)
3051 (frame-configuration-to-register, jump-to-register)
3052 (number-to-register, view-register, insert-register)
3053 (copy-to-register, append-to-register, prepend-to-register)
3054 (copy-rectangle-to-register): Use register-read-with-preview to
3055 read register. (Bug#15525)
3057 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3059 * net/network-stream.el (network-stream-open-starttls): Don't add
3060 --insecure if it's already present, because that gnutls-cli
3061 rejects getting that parameter twice.
3063 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3065 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3068 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3070 * newcomment.el (comment-use-global-state): Change default value
3071 to t, mark obsolete (Bug#15251).
3072 (comment-beginning): In addition to `comment-to-syntax', check the
3073 value of `comment-use-global-state'.
3075 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3077 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3078 (ruby-comment-column): Follow the global default, by default.
3079 (ruby-smie-grammar): Add assignment syntax.
3080 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3081 open-paren, a comma, or a \.
3082 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3083 and line continuations.
3084 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3085 followed by implicit semi-colons. Add rule for string concatenation
3086 and for indentation at BOB.
3087 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3089 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3090 calling next-sexp, since next-token may have skipped chars which
3091 next-sexp doesn't know should be skipped!
3093 2013-10-05 Leo Liu <sdl.web@gmail.com>
3095 * progmodes/octave.el (octave-send-region):
3096 Call compilation-forget-errors.
3098 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3100 * vc/vc-svn.el (vc-svn-find-admin-dir):
3101 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3102 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3103 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3104 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3106 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3108 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3110 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3112 * subr.el (read-passwd): Hide chars even when called within a context
3113 where after-change-functions is disabled (bug#15501).
3114 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3115 until we removed ourself from overriding-terminal-local-map.
3117 2013-10-04 Leo Liu <sdl.web@gmail.com>
3119 * progmodes/octave.el (inferior-octave-mode):
3120 Call compilation-forget-errors.
3122 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3124 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3126 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3128 * net/secrets.el (secrets-create-collection): Add optional
3129 argument ALIAS. Use proper Label keyword. Append ALIAS as
3130 dbus-call-method argument. (Bug#15516)
3132 2013-10-04 Leo Liu <sdl.web@gmail.com>
3134 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3135 (inferior-octave-compilation-font-lock-keywords): New variables.
3136 (compilation-error-regexp-alist)
3137 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3138 (inferior-octave-mode): Use compilation-shell-minor-mode.
3140 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3142 * minibuffer.el (completion--replace): Be careful that `end' might be
3145 2013-10-03 Daiki Ueno <ueno@gnu.org>
3147 Add support for package signature checking.
3148 * emacs-lisp/package.el (url-http-file-exists-p)
3149 (epg-make-context, epg-context-set-home-directory)
3150 (epg-verify-string, epg-context-result-for)
3151 (epg-signature-status, epg-signature-to-string)
3152 (epg-check-configuration, epg-configuration)
3153 (epg-import-keys-from-file): Declare.
3154 (package-check-signature): New user option.
3155 (package-unsigned-archives): New user option.
3156 (package-desc): Add `signed' field.
3157 (package-load-descriptor): Set `signed' field if .signed file exists.
3158 (package--archive-file-exists-p): New function.
3159 (package--check-signature): New function.
3160 (package-install-from-archive): Check package signature.
3161 (package--download-one-archive): Check archive signature.
3162 (package-delete): Remove .signed file.
3163 (package-import-keyring): New command.
3164 (package-refresh-contents): Import default keyring.
3165 (package-desc-status): Add "unsigned" status.
3166 (describe-package-1, package-menu--print-info)
3167 (package-menu-mark-delete, package-menu--find-upgrades)
3168 (package-menu--status-predicate): Support "unsigned" status.
3170 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3172 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3173 the new compilation scheme using the new byte-codes.
3175 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3176 (byte-pophandler): New byte codes.
3177 (byte-goto-ops): Adjust accordingly.
3178 (byte-compile--use-old-handlers): New var.
3179 (byte-compile-catch): Use new byte codes depending on
3180 byte-compile--use-old-handlers.
3181 (byte-compile-condition-case--old): Rename from
3182 byte-compile-condition-case.
3183 (byte-compile-condition-case--new): New function.
3184 (byte-compile-condition-case): New function that dispatches depending
3185 on byte-compile--use-old-handlers.
3186 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3189 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3190 Optimize under `condition-case' and `catch' if
3191 byte-compile--use-old-handlers is nil.
3192 (disassemble-offset): Handle new bytecodes.
3194 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3196 * subr.el (error): Use `declare'.
3197 (decode-char, encode-char): Use advertised-calling-convention instead
3198 of the docstring to discourage use of the `restriction' arg.
3200 2013-10-03 Daiki Ueno <ueno@gnu.org>
3202 * epg.el (epg-verify-file): Add a comment saying that it does not
3203 notify verification error as a return value nor a signal.
3204 (epg-verify-string): Ditto.
3206 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3208 * progmodes/compile.el (compilation-start): Try globbing the arg to
3211 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3213 Sync with Tramp 2.2.8.
3215 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3216 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3217 * net/trampver.el: Update release number.
3219 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3221 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3222 and default-process-coding-system for darwin only.
3224 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3226 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3228 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3230 * vc/vc-git.el (vc-git-grep): Disable pager.
3232 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3234 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3235 Use :url instead of :homepage, as per
3236 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3238 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3239 non-nil, use `syntax-ppss' (Bug#15251).
3241 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3243 * progmodes/octave.el (inferior-octave-startup-file):
3244 Prefer ~/.emacs.d/init_octave.m.
3246 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3248 * emacs-lisp/package.el (package-desc-from-define):
3249 Accept additional arguments as plist, convert them to an alist and store
3250 them in the `extras' slot.
3251 (package-generate-description-file): Convert extras alist back to
3252 plist and append to the `define-package' form arguments.
3253 (package--alist-to-plist): New function.
3254 (package--ac-desc): Add `extras' slot.
3255 (package--add-to-archive-contents): Check if the archive-contents
3256 vector is long enough, and if it is, pass its `extras' slot value
3257 to `package-desc-create'.
3258 (package-buffer-info): Call `lm-homepage', pass the returned value
3259 to `package-desc-from-define'.
3260 (describe-package-1): Render the homepage button (Bug#13291).
3262 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3263 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3265 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3267 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3268 and default-process-coding-system to utf-8-unix (Bug#15402).
3270 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3272 * subr.el (looking-back): Do not recommend using looking-back.
3274 2013-09-28 Alan Mackenzie <acm@muc.de>
3276 Fix indentation/fontification of Java enum with "implements".
3278 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3279 regexp which matches "implements", etc., in Java.
3280 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3281 specifier clauses coming after "enum".
3282 * progmodes/cc-fonts.el (c-font-lock-declarations)
3283 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3286 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3288 * faces.el (region): Change ns_selection_color to
3289 ns_selection_fg_color, add ns_selection_bg_color.
3291 2013-09-28 Leo Liu <sdl.web@gmail.com>
3293 * progmodes/octave.el (inferior-octave-completion-table)
3294 (inferior-octave-completion-at-point): Minor tweaks.
3296 * textmodes/ispell.el (ispell-lookup-words): Rename from
3297 lookup-words. (Bug#15460)
3298 (lookup-words): Obsolete.
3299 (ispell-complete-word, ispell-command-loop): All uses changed.
3301 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3303 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3304 (octave-mode-menu): Add octave-send-buffer.
3305 (octave-send-buffer): New function.
3307 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3309 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3311 (octave-mode-menu): Add octave-lookfor.
3312 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3314 (octave-lookfor): New function.
3316 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3318 * emacs-lisp/cl-macs.el:
3319 (cl--loop-destr-temps): Remove.
3320 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3322 (cl--loop-set-iterator-function): New function.
3323 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3324 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3325 Bind `it' with `let' instead of substituting it with `cl-subst'.
3326 (cl--unused-var-p): New function.
3327 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3328 Eliminate some unused variable warnings (bug#15326).
3330 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3332 * doc-view.el (doc-view-scale-reset): Rename from
3333 `doc-view-reset-zoom-level'.
3334 (doc-view-scale-adjust): New command.
3335 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3336 `doc-view-scale-adjust'.
3338 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3340 * doc-view.el (doc-view-reset-zoom-level): New command.
3341 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3342 zoom commands (bug#15466).
3344 2013-09-26 Kenichi Handa <handa@gnu.org>
3346 * international/quail.el (quail-help): Make it not a command.
3348 2013-09-26 Leo Liu <sdl.web@gmail.com>
3350 * minibuffer.el (completion-all-sorted-completions): Make args
3351 optional as they are.
3353 2013-09-25 Daniel Colascione <dancol@dancol.org>
3355 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3356 specs are and that they're not evaluated.
3358 2013-09-24 Sam Steingold <sds@gnu.org>
3360 * midnight.el (clean-buffer-list-kill-regexps)
3361 (clean-buffer-list-kill-buffer-names): Update for the new Man
3362 buffer naming which includes the object name.
3364 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3366 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3367 (eshell-parse-command, eshell-parse-pipeline): Use it since
3368 eshell-separate-commands requires a dynamic scoped var.
3369 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3371 2013-09-23 Leo Liu <sdl.web@gmail.com>
3373 * autoinsert.el (auto-insert-alist): Make the value of
3374 lexical-binding match its file setting.
3376 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3378 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3380 * autoarg.el (autoarg-kp-digit-argument):
3381 * electric.el (Electric-command-loop):
3382 * kmacro.el (kmacro-step-edit-insert):
3383 Do not set universal-argument-num-events.
3385 2013-09-22 Leo Liu <sdl.web@gmail.com>
3387 * files.el (interpreter-mode-alist): Add octave.
3389 2013-09-21 Alan Mackenzie <acm@muc.de>
3391 C++: fontify identifier in declaration following "public:" correctly.
3392 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3393 to match "public", etc.
3394 (c-decl-prefix-re): Add ":" into the C++ value.
3395 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3396 bit. Add a check for a ":" preceded by "public", etc.
3398 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3400 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3401 recognized by GDB 7.5 and later.
3403 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3405 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3407 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3409 * subr.el (internal--call-interactively): New const.
3410 (called-interactively-p): Use it (bug#3984).
3412 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3414 * vc/pcvs.el (cvs-mode-ignore):
3415 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3416 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3418 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3420 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3421 (eshell-ls-orig-insert-directory): Remove.
3422 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3423 (eshell-ls-use-in-dired): Use advice-add/remove.
3424 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3425 Add `orig-fun' arg for use in :around advice.
3426 Make it check (redundantly) eshell-ls-use-in-dired.
3428 2013-09-19 Glenn Morris <rgm@gnu.org>
3430 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3432 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3434 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3436 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3438 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3439 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3440 (tramp-get-remote-python): New defuns.
3441 (tramp-get-remote-uid-with-perl)
3442 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3443 contributed by yary <not.com@gmail.com> (tiny change).
3444 (tramp-get-remote-uid-with-python)
3445 (tramp-get-remote-gid-with-python): New defuns. Python code
3446 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3447 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3449 2013-09-19 Glenn Morris <rgm@gnu.org>
3451 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3453 * eshell/em-unix.el (eshell-remove-entries):
3454 Rename argument to avoid name-clash with global `top-level'.
3456 * eshell/esh-proc.el (eshell-kill-process-function):
3457 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3458 (eshell-reset-after-proc): Remove unused arg `proc'.
3460 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3461 (directory-files-and-attributes): Mark unused arg.
3463 * eshell/em-unix.el (eshell-remove-entries):
3464 Remove unused arg `path'. Update callers.
3466 * eshell/em-hist.el (eshell-hist-parse-arguments):
3467 Remove unused arg `silent'. Update callers.
3469 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3470 Fix (f)boundp mix-up.
3472 * eshell/em-smart.el (eshell-smart-scroll-window)
3473 (eshell-disable-after-change):
3474 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3476 2013-09-18 Alan Mackenzie <acm@muc.de>
3478 Fix fontification of type when followed by "const".
3479 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3480 "known" types from fontification.
3482 2013-09-18 Glenn Morris <rgm@gnu.org>
3484 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3485 (chart-face-list): Drop Emacsen without display-color-p.
3487 * net/eww.el (libxml-parse-html-region): Declare.
3488 (eww-display-html): Explicit error if no libxml2 support.
3490 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3492 * image.el (image-type-from-buffer, image-multi-frame-p):
3493 Remove --without-x warning/error.
3495 * mouse.el (mouse-yank-primary):
3496 * term.el (term-mouse-paste):
3497 Reorder to silence --without-x compilation.
3499 * mpc.el (doc-view-mode): Silence --without-x compilation.
3501 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3502 Silence --without-x compilation.
3504 * progmodes/gud.el (gud-find-file, gud-mode):
3505 Silence --without-x compilation.
3506 (tooltip-mode): Declare.
3508 * wdired.el (dired-backup-overwrite): Remove declaration.
3509 (wdired-mode-map): Add doc string.
3511 * custom.el (x-get-resource): Declare.
3513 * eshell/em-glob.el (ange-cache):
3514 * eshell/em-unix.el (ange-cache): Declare.
3516 * faces.el (x-display-list, x-open-connection, x-get-resource):
3519 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3520 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3523 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3525 * net/gnutls.el (gnutls-log-level): Declare.
3527 * net/shr.el (image-size, image-animate): Declare.
3529 * simple.el (font-info): Declare.
3531 * subr.el (x-popup-dialog): Declare.
3533 * term/common-win.el (x-select-enable-primary)
3534 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3537 * term/ns-win.el (x-handle-args): Declare.
3539 * term/x-win.el (x-select-enable-clipboard): Declare.
3541 * term/w32-win.el (create-default-fontset): Declare.
3543 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3546 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3547 (fit-frame-to-buffer): Explicit error if --without-x.
3548 (mouse-autoselect-window-select): Silence compiler.
3550 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3552 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3553 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3554 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3555 * eshell/esh-util.el (eshell-sublist):
3556 Remove unused local variables.
3558 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3560 * textmodes/two-column.el: Make 2C-split work for --without-x.
3561 (scroll-bar-columns): Autoload.
3562 (top-level): Require fringe when compiling.
3564 2013-09-18 Leo Liu <sdl.web@gmail.com>
3566 * subr.el (add-hook): Robustify to handle closure as well.
3568 2013-09-17 Glenn Morris <rgm@gnu.org>
3570 * simple.el (messages-buffer-mode-map): Unbind "g".
3572 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3574 * help-mode.el (help-mode-finish): Use derived-mode-p.
3575 Remove obsolete highlighting.
3577 * play/life.el (life-mode): Use define-derived-mode. Derive from
3579 (life): Let-bind inhibit-read-only.
3580 (life-setup): Avoid `setq'. Use `life-mode'.
3582 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3583 which should not be needed any more.
3584 (package-menu-refresh, package-menu-describe-package): Use user-error.
3586 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3587 (eshell-post-rewrite-command-hook): Make obsolete.
3588 (eshell-parse-command): Simplify.
3589 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3590 (eshell--cmd): Declare.
3591 (eshell-parse-pipeline): Remove unused var `final-p'.
3592 Pass a dynvar to eshell-post-rewrite-command-hook.
3593 Implement the new eshell-post-rewrite-command-function.
3594 (eshell-invoke-directly): Remove unused arg `input'.
3595 * eshell/esh-io.el (eshell-io-initialize):
3596 Use eshell-post-rewrite-command-function (bug#15399).
3597 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3598 adjust to new calling convention.
3599 (eshell-create-handles): Rename args to avoid clashing with dynvar
3602 2013-09-17 Glenn Morris <rgm@gnu.org>
3604 * simple.el (messages-buffer-mode): New major mode.
3605 (messages-buffer): New function.
3606 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3607 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3608 (ert-run-test): Use `messages-buffer' function.
3609 (ert--force-message-log-buffer-truncation): Ignore read-only.
3610 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3611 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3613 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3615 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3617 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3619 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3621 * icomplete.el (icomplete-in-buffer): New var.
3622 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3623 vars and replace them with functions.
3624 (icomplete-minibuffer-setup): Adjust accordingly.
3625 (icomplete--completion-table, icomplete--completion-predicate)
3626 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3628 (icomplete-forward-completions, icomplete-backward-completions)
3629 (icomplete-simple-completing-p, icomplete-exhibit)
3630 (icomplete-completions): Use them.
3631 (icomplete--in-region-buffer): New var.
3632 (icomplete--in-region-setup): New function.
3633 (icomplete-mode): Use it.
3635 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3637 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3638 return args and options.
3639 (eshell-eval-using-options): Use the new return value of
3640 eshell--do-opts to set the options's vars in their scope.
3641 (eshell--set-option): Rename from eshell-set-option.
3643 (eshell--process-option): Rename from eshell-process-option.
3645 (eshell--process-args): Use an `opt-vals' alist to store the options's
3646 values during their processing and return them additionally to the
3649 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3651 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3652 continuation character an operator, as far as indentation is
3653 concerned (Bug#15369).
3655 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3657 * window.el (window--state-put-2): Don't process buffer state
3658 when buffer doesn't exist any more (Bug#15382).
3660 2013-09-15 Glenn Morris <rgm@gnu.org>
3662 * eshell/em-unix.el (eshell/rm):
3663 Make -f ignore missing files. (Bug#15373)
3665 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3666 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3667 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3669 2013-09-14 Glenn Morris <rgm@gnu.org>
3671 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3673 2013-09-13 Glenn Morris <rgm@gnu.org>
3675 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3676 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3678 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3680 * frame.el (x-focus-frame): Mark as declared in frame.c.
3682 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3684 * ls-lisp.el: Use advice-add.
3685 (original-insert-directory): Remove.
3686 (ls-lisp--insert-directory): Rename from insert-directory; add
3687 `orig-fun' argument.
3688 (insert-directory): Advise.
3690 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3692 * term.el (term-emulate-terminal): Decode the command string
3693 before passing it to term-command-hook. (Bug#15337)
3695 2013-09-13 Glenn Morris <rgm@gnu.org>
3697 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3699 * eshell/esh-ext.el (eshell-search-path): Declare.
3701 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3702 Otherwise an error occurs if eshell-dirs module not loaded.
3704 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3706 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3708 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3709 `tramp-check-proper-host'. Check for a valid method name.
3711 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3712 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3713 * net/tramp-sh.el (tramp-maybe-open-connection):
3714 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3716 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3717 also for hash values.
3719 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3721 * term/ns-win.el (parameters): Don't declare as dynamic.
3722 (before-make-frame-hook): Don't add ineffective function.
3724 * eshell/*.el: Use lexical-binding (bug#15231).
3726 2013-09-12 Kenichi Handa <handa@gnu.org>
3728 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3730 2013-09-12 Glenn Morris <rgm@gnu.org>
3732 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3733 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3735 * subr.el (do-after-load-evaluation): Also give compiler warnings
3736 when obsolete files are used (except by obsolete files).
3738 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3739 in the status output, assume `filename' is the first. (Bug#15322)
3741 * vc/vc.el (vc-deduce-fileset): Doc fix.
3743 * calc/calc-help.el (Info-goto-node):
3744 * progmodes/cperl-mode.el (Info-find-node):
3745 * vc/ediff.el (Info-goto-node): Update declarations.
3747 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3749 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3750 (vc-bzr-pull): Require vc-dispatcher.
3751 * vc/vc-git.el (vc-compilation-mode): Declare.
3752 (vc-git-pull): Require vc-dispatcher.
3754 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3756 * progmodes/octave.el (help-button-action): Declare.
3758 * shell.el (shell-directory-tracker): Output error as a message
3759 rather than just returning it as a string.
3760 (shell-process-pushd): Remove useless use of message.
3762 * dframe.el (dframe-timer-fn):
3763 * files.el (dir-locals-read-from-file):
3764 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3766 * reveal.el (reveal-post-command):
3767 * saveplace.el (load-save-place-alist-from-file):
3768 * shell.el (shell-resync-dirs):
3769 * w32-common-fns.el (x-get-selection-value):
3770 * emacs-lisp/copyright.el (copyright-find-copyright):
3771 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3772 * emulation/tpu-edt.el (tpu-copy-keyfile):
3773 * play/bubbles.el (bubbles--mark-neighbourhood):
3774 * progmodes/executable.el
3775 (executable-make-buffer-file-executable-if-script-p):
3776 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3778 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3780 Cleanup Eshell to rely less on dynamic scoping.
3781 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3782 last-value, and ext-command here. Bind `args' closer to `body'.
3783 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3784 (eshell--args): Declare new dynamic var.
3785 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3786 last-value, and ext-command. Pass `args' to `body'.
3787 (eshell-process-args): Bind eshell--args.
3788 (eshell-set-option): Use eshell--args.
3789 * eshell/eshell.el (eshell): Use derived-mode-p.
3790 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3791 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3792 (eshell-glob-function): Declare.
3793 * eshell/esh-util.el: Require cl-lib.
3794 (eshell-read-hosts-file): Avoid add-to-list.
3795 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3797 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3799 (eshell/diff): Remove unused var `err'.
3800 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3802 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3803 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3805 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3806 Move declaration before first use.
3807 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3808 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3811 2013-09-12 Glenn Morris <rgm@gnu.org>
3813 * term/ns-win.el (global-map): Remove binding for ispell-next,
3814 deleted 1999-05-29. (Bug#15357)
3816 2013-09-11 Glenn Morris <rgm@gnu.org>
3818 * echistory.el (electric-command-history): Remove call to deleted func.
3820 * play/landmark.el (landmark-mode): Fix typos.
3822 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3823 Check cvs-sort-ignore-file is bound.
3825 * savehist.el: No need for cl when compiling on Emacs.
3827 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3829 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3831 (eshell-self-insert-command, eshell-send-invisible):
3832 Remove unused argument.
3833 (eshell-handle-control-codes): Remove unused var `orig'.
3834 Avoid delete-backward-char.
3836 * files.el (set-auto-mode): Simplify a bit further.
3838 2013-09-11 Glenn Morris <rgm@gnu.org>
3840 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3841 (set-auto-mode): Don't regexp-quote elements.
3842 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3843 * progmodes/cc-mode.el (interpreter-mode-alist):
3844 * progmodes/ruby-mode.el (interpreter-mode-alist):
3845 Revert previous change.
3847 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3849 * play/snake.el (snake-mode):
3850 * play/mpuz.el (mpuz-mode):
3851 * play/landmark.el (lm-mode):
3852 * play/blackbox.el (blackbox-mode):
3853 * play/5x5.el (5x5-mode):
3854 * obsolete/options.el (Edit-options-mode):
3855 * net/quickurl.el (quickurl-list-mode):
3856 * net/newst-treeview.el (newsticker-treeview-mode):
3857 * mail/rmailsum.el (rmail-summary-mode):
3858 * mail/mspools.el (mspools-mode):
3859 * locate.el (locate-mode):
3860 * ibuffer.el (ibuffer-mode):
3861 * emulation/ws-mode.el (wordstar-mode):
3862 * emacs-lisp/debug.el (debugger-mode):
3863 * array.el (array-mode):
3864 * net/eudc.el (eudc-mode): Use define-derived-mode.
3865 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3866 Move initialization into declaration.
3867 (mairix-searches-mode): Use define-derived-mode.
3868 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3869 (eudc-edit-hotlist): Use dolist.
3870 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3871 (Man-mode): Use define-derived-mode.
3872 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3873 (Info-edit-mode): Use define-derived-mode.
3874 (Info-cease-edit): Use Info-mode.
3875 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3877 (eshell-mode): Use define-derived-mode.
3878 * chistory.el (command-history-mode-map): Rename from
3879 command-history-map.
3880 (command-history-mode): Use define-derived-mode.
3881 (Command-history-setup): Remove function.
3882 * calc/calc.el (calc-trail-mode-map): New var.
3883 (calc-trail-mode): Use define-derived-mode.
3884 (calc-trail-buffer): Set calc-main-buffer manually.
3885 * bookmark.el (bookmark-insert-annotation): New function.
3886 (bookmark-edit-annotation): Use it.
3887 (bookmark-edit-annotation-mode): Make it a proper major mode.
3888 (bookmark-send-edited-annotation): Use derived-mode-p.
3889 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3890 closer to its ideal place. Use \' to match EOS.
3892 * profiler.el (profiler-calltree-find): Use function-equal.
3894 2013-09-10 Glenn Morris <rgm@gnu.org>
3896 * files.el (interpreter-mode-alist): Convert to regexps.
3897 (set-auto-mode): Adapt for this. (Bug#15306)
3898 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3899 Comment out unused variable.
3900 * progmodes/cc-mode.el (interpreter-mode-alist):
3901 * progmodes/python.el (interpreter-mode-alist):
3902 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3903 * progmodes/sh-script.el (sh-set-shell):
3904 No longer use interpreter-mode-alist to get list of shells.
3906 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3908 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3910 * simple.el: Use set-temporary-overlay-map for universal-argument.
3911 (universal-argument-map): Don't use default-bindings (bug#15317).
3912 Bind switch-frame explicitly. Replace universal-argument-minus with
3913 a conditional binding.
3914 (universal-argument-num-events, saved-overriding-map): Remove.
3915 (restore-overriding-map): Remove.
3916 (universal-argument--mode): Rename from save&set-overriding-map,
3918 (universal-argument, universal-argument-more, negative-argument)
3919 (digit-argument): Adjust accordingly.
3920 (universal-argument-minus): Remove.
3921 (universal-argument-other-key): Remove.
3923 * subr.el (with-demoted-errors): Add `format' argument.
3925 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3927 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3928 `tramp-cleanup-connection'.
3930 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3931 parameters KEEP-DEBUG and KEEP-PASSWORD.
3933 * net/tramp.el (tramp-file-name-handler):
3934 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3935 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3936 (tramp-maybe-open-connection):
3937 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3938 Use `tramp-cleanup-connection'.
3940 * net/tramp-sh.el (tramp-maybe-open-connection):
3941 Catch 'uname-changed inside the progress reporter.
3943 2013-09-10 Glenn Morris <rgm@gnu.org>
3945 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3947 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3948 returns "alternate access method" in mode (eg "-rw-r--r--.").
3950 2013-09-08 Glenn Morris <rgm@gnu.org>
3952 * saveplace.el (load-save-place-alist-from-file):
3953 Demote errors. (Bug#15305)
3955 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3957 Improve compatibility with older Emacsen, and XEmacs.
3959 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3960 only if it is bound. It isn't for XEmacs.
3961 (with-tramp-progress-reporter): Do not let-bind `result'.
3962 This yields to scoping errors in XEmacs.
3963 (tramp-handle-make-auto-save-file-name): New function, moved from
3966 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3967 for `make-auto-save-file-name'.
3968 (tramp-adb--gnu-switches-to-ash):
3969 Use `tramp-compat-replace-regexp-in-string'.
3971 * net/tramp-cache.el (tramp-cache-print): Call
3972 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3974 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3975 bound. It isn't for XEmacs.
3977 * net/tramp-compat.el (tramp-compat-copy-file):
3978 Catch `wrong-number-of-arguments' error.
3979 (tramp-compat-replace-regexp-in-string): New defun.
3981 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3982 for `make-auto-save-file-name'.
3983 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3985 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3986 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3987 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3989 * net/tramp-gw.el (tramp-gw-open-network-stream):
3990 Use `tramp-compat-replace-regexp-in-string'.
3992 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3993 Call `tramp-handle-make-auto-save-file-name'.
3994 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3995 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3996 (tramp-sh-file-inotifywait-process-filter):
3997 Use `tramp-compat-replace-regexp-in-string'.
3998 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4000 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4001 for `make-auto-save-file-name'.
4002 (tramp-smb-handle-copy-directory):
4003 Call `tramp-compat-replace-regexp-in-string'.
4004 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4005 (tramp-smb-handle-copy-file): Improve error message.
4006 (tramp-smb-handle-rename-file): Rename directly only in case
4007 `newname' does not exist yet. This is a restriction of smbclient.
4008 (tramp-smb-maybe-open-connection): Rerun the function only when
4009 `auth-sources' is non-nil.
4011 2013-09-08 Kenichi Handa <handa@gnu.org>
4013 * international/characters.el: Set category "^" (Combining) for
4016 2013-09-07 Alan Mackenzie <acm@muc.de>
4018 Correctly fontify Java class constructors.
4019 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4021 (c-recognize-typeless-decls): Set the Java value to t.
4022 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4023 While handling a "(", add a check for, effectively, Java, and handle a
4024 "typeless" declaration there.
4026 2013-09-07 Roland Winkler <winkler@gnu.org>
4028 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4029 field subtitle for entry type book.
4031 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4033 * minibuffer.el: Make minibuffer-complete call completion-in-region
4034 rather than other way around.
4035 (completion--some, completion-pcm--find-all-completions):
4036 Don't delay signals when debugging.
4037 (minibuffer-completion-contents): Beware fields within the
4038 minibuffer contents.
4039 (completion-all-sorted-completions): Use defvar-local.
4040 (completion--do-completion, completion--cache-all-sorted-completions)
4041 (completion-all-sorted-completions, minibuffer-force-complete):
4042 Add args `beg' and `end'.
4043 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4044 (minibuffer-complete): Use completion-in-region.
4045 (completion-complete-and-exit): New fun, extracted from
4046 minibuffer-complete-and-exit.
4047 (minibuffer-complete-and-exit): Use it.
4048 (completion--complete-and-exit): Rename from
4049 minibuffer--complete-and-exit.
4050 (completion-in-region--single-word): New function, extracted from
4051 minibuffer-complete-word.
4052 (minibuffer-complete-word): Use it.
4053 (display-completion-list): Make `common-substring' argument obsolete.
4054 (completion--in-region): Call completion--in-region-1 instead of
4055 minibuffer-complete.
4056 (completion-help-at-point): Pass boundaries to
4057 minibuffer-completion-help as args rather than via an overlay.
4058 (completion-pcm--string->pattern): Use `any-delim'.
4059 (completion-pcm--optimize-pattern): New function.
4060 (completion-pcm--pattern->regex): Handle `any-delim'.
4061 * icomplete.el (icomplete-forward-completions)
4062 (icomplete-backward-completions, icomplete-completions):
4063 Adjust calls to completion-all-sorted-completions and
4064 completion--cache-all-sorted-completions.
4065 (icomplete-with-completion-tables): Default to t.
4066 * emacs-lisp/crm.el (crm--current-element): Rename from
4067 crm--select-current-element. Don't put an overlay but return the
4069 (crm--completion-command): Take two new args to bind to the boundaries.
4070 (crm-completion-help): Adjust accordingly.
4071 (crm-complete): Use completion-in-region.
4072 (crm-complete-word): Use completion-in-region--single-word.
4073 (crm-complete-and-exit): Use completion-complete-and-exit.
4075 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4077 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4080 2013-09-06 Juri Linkov <juri@jurta.org>
4082 * info.el (Info-display-images-node): When image file doesn't exist
4083 display text version of the image if it's provided in the Info file.
4084 Otherwise, display the location of missing image from SRC attribute.
4085 Add help-echo text property from ALT attribute. (Bug#15279)
4087 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4089 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4090 (edit-abbrevs-mode): Use define-derived-mode.
4092 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4093 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4095 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4096 Use define-derived-mode.
4098 * epg.el (epg-start-encrypt): Minor CSE simplification.
4100 2013-09-06 William Xu <william.xwl@gmail.com>
4102 * arc-mode.el: Add support for 7za (bug#15264).
4103 (archive-7z-program): New var.
4104 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4105 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4106 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4108 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4112 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4113 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4114 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4115 (tramp-postfix-host-format, tramp-file-name-regexp)
4116 (tramp-completion-file-name-regexp)
4117 (tramp-completion-dissect-file-name)
4118 (tramp-handle-substitute-in-file-name): Remove 'url case.
4119 (tramp-file-name-regexp-url)
4120 (tramp-completion-file-name-regexp-url): Remove constants.
4122 2013-09-06 Glenn Morris <rgm@gnu.org>
4124 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4126 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4128 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4129 keywords" below "here-doc beginnings" (Bug#15270).
4131 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4133 * subr.el (pop): Use `car-safe'.
4134 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4135 to detect unused `pop' return value.
4137 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4139 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4140 (python-fill-string): Remove unused var `marker'.
4141 (python-skeleton-add-menu-items): Remove unused var `items'.
4143 * international/mule-cmds.el: Require CL.
4144 (find-coding-systems-for-charsets): Avoid add-to-list.
4145 (sanitize-coding-system-list): New function, extracted from
4146 select-safe-coding-system-interactively.
4147 (select-safe-coding-system-interactively): Use it.
4148 (read-input-method-name): Accept symbols for `default'.
4150 * emacs-lisp/advice.el (defadvice): Add indent rule.
4152 2013-09-05 Daniel Hackney <dan@haxney.org>
4156 * net/browse-url.el:
4159 * net/eudcb-ldap.el:
4172 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4173 byte compiler. Remove some unused let-bound variables.
4175 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4177 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4178 a "ref-cell", since it gets better optimized (bug#14883).
4180 2013-09-05 Glenn Morris <rgm@gnu.org>
4182 * progmodes/cc-awk.el (c-forward-sws): Declare.
4184 2013-09-04 Glenn Morris <rgm@gnu.org>
4186 * generic-x.el [rul-generic-mode]: Require cc-mode.
4187 (c++-mode-syntax-table): Declare.
4188 (rul-generic-mode-syntax-table): Init in the defvar.
4190 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4192 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4193 (vc-do-command, vc-set-async-update):
4194 * vc/vc-mtn.el (vc-mtn-dir-status):
4195 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4196 (vc-hg-pull, vc-hg-merge-branch):
4197 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4198 (vc-git-merge-branch):
4199 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4200 (vc-cvs-dir-status-files):
4201 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4202 (vc-bzr-dir-status-files):
4203 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4204 * vc/vc-annotate.el: Use lexical-binding.
4205 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4206 (vc-sentinel-movepoint): Declare.
4207 (vc-annotate): Don't use `goto-line'.
4208 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4209 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4210 (vc-sentinel-movepoint): Declare.
4211 * vc/vc-svn.el: Use lexical-binding.
4212 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4214 * vc/vc-rcs.el: Use lexical-binding.
4216 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4217 `deleted'. Don't drop errors silently.
4219 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4221 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4223 * vc/vc.el (vc-ignore): Rewrite.
4224 (vc-default-ignore): New function.
4225 (vc-default-ignore-completion-table): Use find-ignore-file.
4227 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4228 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4229 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4230 Remove. Most code moved to vc.el.
4232 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4234 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4235 * net/tramp-smb.el (tramp-smb-get-file-entries):
4236 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4237 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4239 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4241 (eww-change-select): Remove unused var `properties'.
4242 (eww-make-unique-file-name): Remove unused var `base'.
4244 * finder.el (finder-compile-keywords): Don't mess with windows.
4246 * calculator.el (calculator-funcall): Fix typo in last change.
4248 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4250 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4251 <pkg>-autoloads.el file stop us.
4253 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4254 warnings, and factor out common code.
4256 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4258 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4259 two-character operators and whether the character preceding them
4260 changes their meaning (Bug#15208).
4262 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4264 Format code sent to Python shell for robustness.
4265 * progmodes/python.el (python-shell-buffer-substring):
4267 (python-shell-send-region, python-shell-send-buffer): Use it.
4269 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4271 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4272 * net/tramp.el (tramp-user-error): ... here.
4273 (tramp-find-method, tramp-check-proper-host)
4274 (tramp-dissect-file-name, tramp-debug-message)
4275 (tramp-handle-shell-command):
4276 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4277 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4279 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4281 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4283 * avoid.el (mouse-avoidance-point-position)
4284 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4287 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4289 * progmodes/python.el (python-shell-completion-get-completions):
4290 Drop use of deleted `comint-last-prompt-overlay'.
4291 (python-nav-if-name-main): New command.
4293 2013-09-01 Glenn Morris <rgm@gnu.org>
4295 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4296 Avoid leading space in $wins. Otherwise the sed command used by
4297 eg compile-main ends up containing "/*.el". (Bug#15170)
4299 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4301 2013-08-30 Glenn Morris <rgm@gnu.org>
4303 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4304 Fix is-this-a-directory logic. (Bug#15220)
4306 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4308 * textmodes/css-mode.el: Use SMIE.
4309 (css-smie-grammar): New var.
4310 (css-smie--forward-token, css-smie--backward-token)
4311 (css-smie-rules): New functions.
4312 (css-mode): Use them.
4313 (css-navigation-syntax-table): Remove var.
4314 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4315 (css-indent-calculate, css-indent-line): Remove functions.
4317 Misc changes to reduce use of `(lambda...); and other cleanups.
4318 * cus-edit.el: Use lexical-binding.
4319 (customize-push-and-save, customize-apropos)
4320 (custom-buffer-create-internal): Use closures.
4321 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4322 * progmodes/ada-xref.el: Use setq.
4323 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4324 * dframe.el: Use lexical-binding.
4325 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4326 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4327 * descr-text.el: Use lexical-binding.
4328 (describe-text-widget, describe-text-sexp, describe-property-list):
4330 * comint.el (comint-history-isearch-push-state): Use a closure.
4331 * calculator.el: Use lexical-binding.
4332 (calculator-number-to-string): Make it work with lexical-binding.
4333 (calculator-funcall): Same and use cl-letf.
4335 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4336 (lisp--company-doc-string, lisp--company-location): New functions.
4337 (lisp-completion-at-point): Use them to improve Company support.
4339 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4340 params of lambda expressions.
4341 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4342 (ruby-smie--opening-pipe-p): New function.
4343 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4344 symbols and matched |...| for formal params.
4345 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4346 from being treated as hanging. Handle "rescue".
4348 2013-08-29 Glenn Morris <rgm@gnu.org>
4350 * progmodes/cc-engine.el (c-pull-open-brace):
4351 Move definition before use.
4353 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4355 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4356 are immutable. Don't use `unsafe' any more.
4357 (cl--defsubst-expand): Don't substitute at the same time as keeping
4358 a residual unused let-binding. Don't use `unsafe' any more.
4360 2013-08-29 Glenn Morris <rgm@gnu.org>
4362 * calendar/cal-china.el (calendar-chinese-year-cache):
4365 * nxml/nxml-util.el (nxml-debug-clear-inside):
4366 Use cl-loop rather than loop.
4368 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4370 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4372 2013-08-28 Glenn Morris <rgm@gnu.org>
4374 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4376 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4378 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4380 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4382 * simple.el (repeat-complex-command--called-interactively-skip):
4384 (repeat-complex-command): Use it (bug#14136).
4386 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4387 (c-define-abbrev-table): Add `doc' argument.
4388 (c-mode-abbrev-table, c++-mode-abbrev-table)
4389 (objc-mode-abbrev-table, java-mode-abbrev-table)
4390 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4391 (awk-mode-abbrev-table): Use it.
4392 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4393 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4394 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4395 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4396 Move initialization into the declaration; and remove any
4399 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4400 and dynamic let binding.
4402 * vc/smerge-mode.el: Remove redundant :group args.
4404 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4407 2013-08-28 Juri Linkov <juri@jurta.org>
4409 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4410 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4411 (isearch-other-meta-char): Handle an undefined shifted printing
4412 character by downshifting it. (Bug#15200)
4414 2013-08-28 Juri Linkov <juri@jurta.org>
4416 * isearch.el (isearch-search): Change regexp error message for
4417 non-regexp searches. (Bug#15166)
4419 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4421 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4422 for portability to hosts where /bin/sh has problems.
4424 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4426 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4428 2013-08-27 Juri Linkov <juri@jurta.org>
4430 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4431 in the keyboard macro. (Bug#15126)
4433 2013-08-27 Juri Linkov <juri@jurta.org>
4435 * isearch.el (isearch-quote-char): Comment out converting unibyte
4436 to multibyte, thus syncing with its `quoted-insert' counterpart.
4439 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4441 * window.el (display-buffer-use-some-window): Add missing
4442 argument in call of get-largest-window (Bug#15185).
4443 Reported by Stephen Leake.
4445 2013-08-27 Glenn Morris <rgm@gnu.org>
4447 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4449 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4451 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4452 from a matcher-function unless there's no more matches (bug#15161).
4454 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4456 * minibuffer.el: Revert change from 2013-08-20.
4458 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4459 with text property `tramp-default', if appropriate.
4460 (tramp-check-proper-host): New defun.
4461 (tramp-dissect-file-name): Do not check hostname. Revert change
4463 (tramp-backtrace): Make VEC-OR-PROC optional.
4465 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4466 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4467 * net/tramp-sh.el (tramp-maybe-open-connection):
4468 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4469 Apply `tramp-check-proper-host'.
4471 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4473 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4474 lambda expression in order to have `describe-variable' display it.
4476 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4478 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4479 BUF can be optional. (Bug#15186)
4481 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4483 * progmodes/flymake.el (flymake-get-real-file-name-function):
4484 Fix broken customization. (Bug#15184)
4486 2013-08-25 Alan Mackenzie <acm@muc.de>
4488 Improve indentation of bracelists defined by macros (without "=").
4490 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4491 expansion begins with "{", regard it as bracelist when it doesn't
4494 Parse C++ inher-intro when there's a template split over 2 lines.
4496 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4497 rigorously the search for "class" etc. followed by ":".
4499 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4500 random languages a regexp which never matches rather than nil.
4502 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4504 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4505 (c-awk-regexp-one-line-possibly-open-char-list-re)
4506 (c-awk-one-line-possibly-open-regexp-re)
4507 (c-awk-one-line-non-syn-ws*-re): Remove.
4508 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4509 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4510 (c-awk-space*-unclosed-regexp-/-re): New constants.
4511 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4512 aren't regexp delimiters.
4514 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4515 handling for a rare situation in AWK Mode involving unterminated
4518 2013-08-23 Glenn Morris <rgm@gnu.org>
4520 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4522 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4524 * files.el (create-file-buffer): If the result would begin with
4525 spaces, prepend a "|" instead of removing them. (Bug#15162)
4527 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4529 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4530 text-properties (bug#15155).
4532 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4534 (calc-keypad-redraw): Remove unused var `pad'.
4535 (calc-keypad-press): Remove unused var `menu'.
4537 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4539 * window.el (display-buffer-pop-up-frame):
4540 Call pop-up-frame-function with BUFFER current so `make-frame' will
4541 use it as the new frame's buffer (Bug#15133).
4543 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4545 * calendar/timeclock.el: Minor cleanups.
4546 (timeclock-ask-before-exiting, timeclock-use-display-time):
4548 (timeclock-modeline-display): Define as alias before the
4550 (timeclock-mode-line-display): Use define-minor-mode.
4551 (timeclock-day-list-template): Make it a function, add an argument.
4552 (timeclock-day-list-required, timeclock-day-list-length)
4553 (timeclock-day-list-debt, timeclock-day-list-span)
4554 (timeclock-day-list-break): Adjust calls accordingly.
4556 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4558 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4559 Use read--expression so that completion works again.
4561 2013-08-21 Sam Steingold <sds@gnu.org>
4563 Add rudimentary inferior shell interaction
4564 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4565 (sh-set-shell): Reset it.
4566 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4567 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4569 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4571 * align.el: Use lexical-binding.
4572 (align-region): Simplify accordingly.
4574 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4576 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4578 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4581 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4585 * net/tramp-cmds.el:
4587 * net/tramp-gvfs.el:
4589 * net/tramp-sh.el: Don't wrap external variable declarations by
4590 `eval-when-compile'.
4592 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4594 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4595 now that Emacs supports ImageMagick animations.
4597 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4599 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4600 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4602 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4604 * window.el (mouse-autoselect-window-select): Do autoselect when
4605 mouse pointer is on margin.
4607 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4609 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4611 2013-08-16 Glenn Morris <rgm@gnu.org>
4613 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4614 Handle "Remote Directory" response of some clients. (Bug#15058)
4616 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4617 Tweak warning. (Bug#14926)
4619 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4620 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4622 * image-mode.el (image-mode-map): Add menu items to reverse,
4623 increase, decrease, reset animation speed.
4624 (image--set-speed, image-increase-speed, image-decrease-speed)
4625 (image-reverse-speed, image-reset-speed): New functions.
4626 (image-mode-map): Add bindings for speed commands.
4628 * image.el (image-animate-get-speed, image-animate-set-speed):
4630 (image-animate-timeout): Respect image :speed property.
4632 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4634 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4635 previous line (bug#15101).
4636 (debugger-eval-expression, debugger-record-expression):
4637 Use read--expression (bug#15102).
4639 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4641 Remove byte compiler warnings, visible when compiling with
4642 `byte-compile-force-lexical-warnings' set to t.
4644 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4645 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4646 (tramp-handle-unhandled-file-name-directory)
4647 (tramp-handle-file-notify-add-watch, tramp-action-login)
4648 (tramp-action-succeed, tramp-action-permission-denied)
4649 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4652 * net/tramp-adb.el (tramp-adb-parse-device-names)
4653 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4654 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4655 (tramp-adb-handle-file-truename): Remove unused arguments.
4657 * net/tramp-cache.el (tramp-flush-directory-property)
4658 (tramp-flush-connection-property, tramp-list-connections)
4659 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4661 * net/tramp-compat.el (tramp-compat-make-temp-file):
4662 Rename FILENAME to F.
4664 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4665 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4666 (tramp-zeroconf-parse-workstation-device-names)
4667 (tramp-zeroconf-parse-webdav-device-names)
4668 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4670 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4671 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4673 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4675 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4676 (tramp-sh-handle-insert-file-contents-literally)
4677 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4679 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4680 Remove unused variables.
4682 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4683 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4684 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4686 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4687 Make them a defconst.
4688 (tramp-uuencode-region): Remove unused variable.
4690 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4692 * frameset.el (frameset--prop-setter): New function.
4693 (frameset-prop): Add gv-setter declaration.
4694 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4695 parameter was already set in FILTERED. Doc fix.
4696 (frameset--record-minibuffer-relationships): Allow saving a
4697 minibufferless frame without its corresponding minibuffer frame.
4698 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4699 frame, if the frame id matches.
4700 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4701 frames before orphaned ones.
4702 (frameset-restore): Warn about orphaned windows, instead of error out.
4704 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4706 * window.el (window-make-atom): Don't overwrite parameter
4708 (display-buffer-in-atom-window): Handle special case where we
4709 split an already atomic window.
4710 (window--major-non-side-window, display-buffer-in-side-window)
4711 (window--side-check): Ignore minibuffer window when walking
4713 (window-deletable-p): Return 'frame only if no other frame uses
4714 our minibuffer window.
4715 (record-window-buffer): Run buffer-list-update-hook.
4716 (split-window): Make sure window--check-frame won't destroy an
4717 existing atomic window in case the new window gets nested
4719 (display-buffer-at-bottom): Ignore minibuffer window when
4720 walking window tree. Don't split a side window.
4721 (pop-to-buffer): Don't set-buffer here, the select-window call
4723 (mouse-autoselect-window-select): Autoselect only if we are in the
4724 text portion of the window.
4726 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4728 * net/shr.el (shr-parse-image-data): New function to grab both the
4729 data itself and the Content-Type.
4730 (shr-put-image): Use it.
4732 * net/eww.el (eww-display-image): Ditto.
4734 * image.el (image-content-type-suffixes): New variable.
4736 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4738 * progmodes/python.el (python-imenu--build-tree)
4739 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4741 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4743 * simple.el (backward-word): Mention the optional argument.
4745 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4747 * frameset.el (frameset--make): Rename constructor from make-frameset.
4748 (frameset-p, frameset-valid-p): Don't autoload.
4749 (frameset-valid-p): Use normal accessors.
4751 2013-08-13 Glenn Morris <rgm@gnu.org>
4753 * progmodes/compile.el (compile-command): Tweak example in doc.
4754 * obsolete/scribe.el (scribe-mode):
4755 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4757 * mail/feedmail.el (feedmail-confirm-outgoing)
4758 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4760 * cus-start.el (truncate-partial-width-windows): Fix type.
4762 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4764 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4766 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4768 * emacs-lisp/timer.el (timer--time-setter): New function.
4769 (timer--time): Use it as gv-setter.
4771 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4772 setter is not a symbol.
4774 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4776 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4777 if sending fails. This makes debugging easier.
4779 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4781 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4782 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4783 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4785 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4787 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4789 2013-08-12 Glenn Morris <rgm@gnu.org>
4791 * format.el (format-annotate-function):
4792 Handle read-only text properties in the source. (Bug#14887)
4794 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4796 * net/eww.el (eww-display-html): Ignore coding system errors.
4797 One web site uses "utf-8lias" as the coding system.
4799 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4801 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4803 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4805 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4806 (tutorial--detailed-help): Remove unused local variables.
4807 (tutorial--save-tutorial-to): Use ignore-errors.
4808 (help-with-tutorial): Use looking-at-p.
4810 * view.el (view-buffer-other-window, view-buffer-other-frame):
4811 Mark unused arguments.
4813 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4814 (woman-select-symbol-fonts, woman, woman-find-file)
4815 (woman-insert-file-contents, woman-non-underline-faces):
4817 (woman1-unquote): Move declaration.
4819 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4820 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4821 argument. Remove unused local variable.
4822 (xml-parse-elem-type): Use string-match-p.
4823 (xml-substitute-numeric-entities): Use ignore-errors.
4825 * calculator.el (calculator): Mark unused argument.
4826 (calculator-paste, calculator-quit, calculator-integer-p):
4828 (calculator-string-to-number, calculator-decimal, calculator-exp)
4829 (calculator-op-or-exp): Use string-match-p.
4831 * dired.el (dired-buffer-more-recently-used-p): Declare.
4832 (dired-insert-set-properties, dired-insert-old-subdirs):
4835 * dired-aux.el (dired-compress): Use ignore-errors.
4836 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4837 (dired-do-async-shell-command, dired-do-shell-command)
4838 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4839 (dired-insert-subdir-validate): Use string-match-p.
4840 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4841 (dired-add-entry): Use string-match-p, looking-at-p.
4842 (dired-insert-subdir-newpos): Remove unused local variable.
4844 * filenotify.el (file-notify-callback): Remove unused local variable.
4846 * filesets.el (filesets-error): Mark unused argument.
4847 (filesets-which-command-p, filesets-filter-dir-names)
4848 (filesets-directory-files, filesets-get-external-viewer)
4849 (filesets-ingroup-get-data): Use string-match-p.
4851 * find-file.el (ff-other-file-name, ff-other-file-name)
4852 (ff-find-the-other-file, ff-cc-hh-converter):
4853 Remove unused local variables.
4854 (ff-get-file-name): Use string-match-p.
4855 (ff-all-dirs-under): Use ignore-errors.
4857 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4858 (follow-select-if-visible): Remove unused local variable.
4860 * forms.el (read-file-filter): Move declaration.
4861 (forms--make-format, forms--make-parser, forms-insert-record):
4862 Quote function with #'.
4863 (forms--update): Use string-match-p. Quote function with #'.
4865 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4866 (help-make-xrefs): Use looking-at-p.
4867 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4869 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4870 (ibuffer-confirm-operation-on): Use string-match-p.
4872 * msb.el (msb-item-handler, msb-dired-item-handler):
4873 Mark unused arguments.
4875 * ses.el (ses-decode-cell-symbol)
4876 (ses-kill-override): Remove unused local variable.
4877 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4878 (ses-load): Use ignore-errors, looking-at-p.
4879 (ses-jump-safe): Use ignore-errors.
4880 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4882 * tabify.el (untabify, tabify): Mark unused arguments.
4884 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4885 Mark unused argument.
4886 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4887 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4889 * emacs-lisp/timer.el (timer--time): Define setter with
4890 gv-define-setter to avoid deprecation warning.
4892 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4893 (*record-cmpl-statistics-p*): Remove (was commented out).
4894 (cmpl-statistics-block): Remove (body was commented out).
4895 All callers changed.
4896 (add-completions-from-buffer, load-completions-from-file):
4897 Remove unused variables.
4899 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4901 * filecache.el (file-cache-delete-file-list):
4902 Print message only when told so.
4903 (file-cache-files-matching): Use #' in mapconcat argument.
4905 * ffap.el (ffap-url-at-point): Fix reference to variable
4906 thing-at-point-default-mail-uri-scheme.
4908 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4910 * subr.el (define-error): New function.
4911 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4912 error-file-not-found and define with define-error.
4913 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4914 and define with define-error.
4915 * userlock.el (file-locked, file-supersession):
4916 * simple.el (mark-inactive):
4917 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4918 * progmodes/ada-mode.el (ada-mode-errors):
4919 * play/life.el (life-extinct):
4920 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4921 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4922 * nxml/rng-util.el (rng-error):
4923 * nxml/rng-uri.el (rng-uri-error):
4924 * nxml/rng-match.el (rng-compile-error):
4925 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4926 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4927 * nxml/nxml-rap.el (nxml-scan-error):
4928 * nxml/nxml-outln.el (nxml-outline-error):
4929 * net/soap-client.el (soap-error):
4930 * net/gnutls.el (gnutls-error):
4931 * net/ange-ftp.el (ftp-error):
4932 * mpc.el (mpc-proc-error):
4933 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4934 (json-number-format, json-string-escape, json-string-format)
4935 (json-key-format, json-object-format):
4936 * jka-compr.el (compression-error):
4937 * international/quail.el (quail-error):
4938 * international/kkc.el (kkc-error):
4939 * emacs-lisp/ert.el (ert-test-failed):
4940 * calc/calc.el (calc-error, inexact-result, math-overflow)
4942 * bookmark.el (bookmark-error-no-filename):
4943 * epg.el (epg-error): Define with define-error.
4945 * time.el (display-time-event-handler)
4946 (display-time-next-load-average): Don't call sit-for since it seems
4947 unnecessary (bug#15045).
4949 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4950 Use #' instead of ' to quote functions.
4951 (checkdoc-output-mode): Use setq-local.
4952 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4953 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4954 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4955 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4956 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4957 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4958 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4959 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4961 * ido.el (ido-completion-help): Fix up compiler warning.
4963 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4965 * frameset.el (frameset-p): Add autoload cookie.
4966 (frameset--jump-to-register): New function, based on code moved from
4968 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4970 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4971 (frameset-restore, frameset-save, frameset-session-filter-alist):
4972 Remove declarations.
4973 (register-alist): Doc fix.
4974 (frameset-to-register): Move to frameset.el.
4975 (jump-to-register, describe-register-1): Remove frameset-specific code.
4977 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4979 * allout-widgets.el (allout-widgets-pre-command-business)
4980 (allout-widgets-post-command-business)
4981 (allout-widgets-after-change-handler)
4982 (allout-decorate-item-and-context, allout-set-boundary-marker)
4983 (allout-body-modification-handler)
4984 (allout-graphics-modification-handler): Mark ignored arguments.
4985 (allout-widgets-post-command-business)
4986 (allout-widgets-exposure-change-processor)
4987 (allout-widgets-exposure-undo-processor)
4988 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4989 (allout-parse-item-at-point, allout-decorate-item-guides)
4990 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4991 * allout.el (epa-passphrase-callback-function): Declare.
4992 (allout-overlay-insert-in-front-handler)
4993 (allout-overlay-interior-modification-handler)
4994 (allout-isearch-end-handler, allout-chart-siblings)
4995 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4996 (allout-yank-processing, allout-process-exposed)
4997 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4998 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4999 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5000 (lisp-indent-defform): Mark ignored arguments.
5001 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5002 (calculate-lisp-indent): Remove unused variables.
5003 * international/characters.el (indian-2-column, arabic-2-column)
5004 (tibetan): Mark ignored arguments.
5005 (use-cjk-char-width-table): Mark ignored arguments.
5006 Remove unused variables.
5007 * international/fontset.el (build-default-fontset-data)
5008 (x-compose-font-name, create-fontset-from-fontset-spec):
5009 Mark ignored arguments.
5010 (fontset-plain-name): Remove unused variables.
5011 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5012 (keyboard-coding-system): Mark ignored arguments.
5013 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5014 * help.el (resize-temp-buffer-window):
5015 * window.el (display-buffer-in-major-side-window)
5016 (display-buffer-in-side-window, display-buffer-in-previous-window):
5017 Remove unused variables.
5018 * isearch.el (isearch-forward-symbol):
5019 * version.el (emacs-bzr-version-bzr):
5020 * international/mule-cmds.el (current-language-environment):
5021 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5023 * term/pc-win.el (x-list-fonts, x-display-planes)
5024 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5025 (x-server-version, x-display-screens, x-display-mm-height)
5026 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5027 (x-selection-owner-p, x-own-selection-internal)
5028 (x-disown-selection-internal, x-get-selection-internal)
5029 (msdos-initialize-window-system):
5030 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5031 * term/x-win.el (x-handle-no-bitmap-icon):
5032 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5033 (vc-default-find-file-hook, vc-default-extra-menu):
5034 Mark ignored arguments.
5036 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5038 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5039 break-condition in the context of the debugged code (bug#12685).
5041 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5044 Do not use an overlay to highlight the last prompt. (Bug#14744)
5045 (comint-mode): Make comint-last-prompt buffer local.
5046 (comint-last-prompt): New variable.
5047 (comint-last-prompt-overlay): Remove. Superseded by
5049 (comint-snapshot-last-prompt, comint-output-filter):
5050 Use comint-last-prompt.
5052 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5054 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5055 (frameset-save): Check validity of the resulting frameset.
5057 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5059 * ido.el (ido-record-command): Add doc string.
5061 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5063 * frameset.el (frameset): Do not disable creation of the default
5064 frameset-p predicate. Doc fix.
5065 (frameset-valid-p): New function, copied from the old predicate-p.
5066 Add additional checks.
5067 (frameset-restore): Check with frameset-valid-p.
5068 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5069 (frameset-name, frameset-description, frameset-properties)
5070 (frameset-states): Add docstring.
5071 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5072 (frameset-filter-alist): Doc fixes.
5074 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5076 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5078 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5080 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5081 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5082 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5083 (byte-compile-normal-call): Remove obsolescence check.
5085 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5087 * frameset.el (frameset-restore): Doc fix.
5089 * register.el (frameset-frame-id, frameset-frame-with-id)
5090 (frameset-p, frameset-restore, frameset-save): Declare.
5091 (register-alist): Document framesets.
5092 (frameset-session-filter-alist): Declare.
5093 (frameset-to-register): New function.
5094 (jump-to-register): Implement jumping to framesets. Doc fix.
5095 (describe-register-1): Describe framesets.
5097 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5099 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5101 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5102 Use lexical-binding.
5104 * frameset.el (frameset): Use type vector, not list (incompatible
5105 change). Do not declare a new constructor, use the default one.
5106 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5107 `name' and `description', respectively, and add read-only slot
5108 `timestamp'. Doc fixes.
5109 (frameset-copy, frameset-persistent-filter-alist)
5110 (frameset-filter-alist, frameset-switch-to-gui-p)
5111 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5112 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5113 (frameset-filter-iconified, frameset-keep-original-display-p):
5115 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5116 Rename from frameset-filter-(save|restore)-param. All callers changed.
5118 (frameset-p): Adapt to change to vector and be more thorough.
5119 Change arg name to OBJECT. Doc fix.
5120 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5121 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5122 All callers changed.
5123 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5124 All callers changed.
5125 (frameset--record-minibuffer-relationships): Rename from
5126 frameset--process-minibuffer-frames. All callers changed.
5127 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5128 Use new default constructor (again). Doc fix.
5129 (frameset--find-frame-if): Rename from `frameset--find-frame.
5130 All callers changed.
5131 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5132 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5134 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5135 PARAMETERS and WINDOW-STATE, respectively.
5136 (frameset-restore): Add new keyword argument PREDICATE.
5137 Reset frameset--target-display to nil. Doc fix.
5139 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5141 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5143 (bat-mode-syntax-table): Mark \n as end-of-comment.
5144 (bat-font-lock-keywords): Remove comment rule.
5146 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5147 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5149 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5150 (byte-compile-callargs-warn): Use `push'.
5151 (byte-compile-arglist-warn): Ignore higher-order "calls".
5152 (byte-compile-file-form-autoload): Use `pcase'.
5153 (byte-compile-function-form): If quoting a symbol, check that it exists.
5155 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5157 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5158 and add a few popular commands found in batch files.
5159 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5160 (dos-mode): Doc fixes.
5162 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5164 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5165 (dos-mode): Use setq-local. Add space after "rem".
5166 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5167 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5169 2013-08-07 Arni Magnusson <arnima@hafro.is>
5171 * progmodes/dos.el: New file.
5172 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5175 2013-08-06 Glenn Morris <rgm@gnu.org>
5177 * calendar/calendar.el: Add new faces, and day-header-array.
5178 (calendar-weekday-header, calendar-weekend-header)
5179 (calendar-month-header): New faces.
5180 (calendar-day-header-construct): New function.
5181 (calendar-day-header-width): Also :set calendar-day-header-array.
5182 (calendar-american-month-header, calendar-european-month-header)
5183 (calendar-iso-month-header): Use calendar- faces.
5184 (calendar-generate-month):
5185 Use calendar-day-header-array for day headers; apply faces to them.
5186 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5187 (calendar-abbrev-construct): Add optional maxlen argument.
5188 (calendar-day-name-array): Doc fix.
5189 (calendar-day-name-array, calendar-abbrev-length)
5190 (calendar-day-abbrev-array):
5191 Also :set calendar-day-header-array, and maybe redraw.
5192 (calendar-day-header-array): New option. (Bug#15007)
5193 (calendar-font-lock-keywords): Set to nil and make obsolete.
5194 (calendar-day-name): Add option to use header array.
5196 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5198 * net/shr.el (shr-render-td): Remove debugging.
5199 (shr-render-td): Make width computation consistent by defaulting
5200 all zero-width columns to 10 characters. This may not be optimal,
5201 but it's at least consistent.
5202 (shr-make-table-1): Redo last change to fix the real problem in
5205 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5207 * files.el (cache-long-line-scans):
5208 Make obsolete alias to `cache-long-scans'.
5210 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5212 * frameset.el (frameset, frameset-filter-alist)
5213 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5214 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5215 (frameset-compute-pos): Rename from frameset--compute-pos,
5217 (frameset-move-onscreen): Use frameset-compute-pos.
5218 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5220 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5221 Fix typos in docstrings.
5223 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5225 * frame.el (get-other-frame): Tiny cleanup.
5227 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5229 * vc/vc.el (vc-default-ignore-completion-table):
5230 Silence byte-compiler warning.
5232 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5233 slot , which can indeed be nil.
5234 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5235 Move entry for `left' from persistent to live filter alist.
5236 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5238 (frameset-filter-params): When restoring a frame, copy items added to
5239 `filtered', to avoid unwittingly modifying the original parameters.
5240 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5241 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5243 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5244 to use looking-at-p instead of looking-at. (Bug#15028)
5246 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5248 Revert introduction of isearch-filter-predicates (bug#14714).
5249 Rely on add-function instead.
5250 * isearch.el (isearch-filter-predicates): Rename it back to
5251 isearch-filter-predicate.
5252 (isearch-message-prefix): Use advice-function-mapc and advice
5253 properties to get the isearch-message-prefix.
5254 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5255 instead of run-hook-with-args-until-failure.
5256 (isearch-filter-visible): Not obsolete any more.
5257 * loadup.el: Preload nadvice.
5258 * replace.el (perform-replace): Revert to funcall
5259 instead of run-hook-with-args-until-failure.
5260 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5261 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5262 dired-isearch-filenames-toggle; make it into a proper minor mode.
5263 Use add/remove-function.
5264 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5265 Call the minor-mode rather than add/remove-hook.
5266 (dired-isearch-filter-filenames):
5267 Remove isearch-message-prefix property.
5268 * info.el (Info--search-loop): New function, extracted from Info-search.
5269 Funcall isearch-filter-predicate instead of
5270 run-hook-with-args-until-failure isearch-filter-predicates.
5271 (Info-search): Use it.
5272 (Info-mode): Use isearch-filter-predicate instead of
5273 isearch-filter-predicates.
5275 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5277 Do not call to `selected-window' where it is assumed by default.
5278 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5279 `window-hscroll', `window-width', `window-height', `window-buffer',
5280 `window-frame', `window-start', `window-point', `next-window'
5281 and `window-display-table'.
5282 * abbrev.el (abbrev--default-expand):
5283 * bs.el (bs--show-with-configuration):
5284 * buff-menu.el (Buffer-menu-mouse-select):
5285 * calc/calc.el (calc):
5286 * calendar/calendar.el (calendar-generate-window):
5287 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5289 * comint.el (send-invisible, comint-dynamic-complete-filename)
5290 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5291 * completion.el (complete):
5292 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5293 * disp-table.el (describe-current-display-table):
5294 * doc-view.el (doc-view-insert-image):
5295 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5296 * ehelp.el (with-electric-help):
5297 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5298 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5299 * emacs-lisp/helper.el (Helper-help-scroller):
5300 * emulation/cua-base.el (cua--post-command-handler-1):
5301 * eshell/esh-mode.el (eshell-output-filter):
5302 * ffap.el (ffap-gnus-wrapper):
5303 * help-macro.el (make-help-screen):
5304 * hilit-chg.el (highlight-compare-buffers):
5305 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5306 * hl-line.el (global-hl-line-highlight):
5307 * icomplete.el (icomplete-simple-completing-p):
5308 * isearch.el (isearch-done):
5309 * jit-lock.el (jit-lock-stealth-fontify):
5310 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5311 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5312 * mpc.el (mpc-tagbrowser, mpc):
5313 * net/rcirc.el (rcirc-any-buffer):
5314 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5315 * play/landmark.el (landmark-max-width, landmark-max-height):
5316 * play/zone.el (zone):
5317 * progmodes/compile.el (compilation-goto-locus):
5318 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5319 * progmodes/etags.el (find-tag-other-window):
5320 * progmodes/fortran.el (fortran-column-ruler):
5321 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5322 * progmodes/verilog-mode.el (verilog-point-text):
5323 * reposition.el (reposition-window):
5324 * rot13.el (toggle-rot13-mode):
5325 * server.el (server-switch-buffer):
5326 * shell.el (shell-dynamic-complete-command)
5327 (shell-dynamic-complete-environment-variable):
5328 * simple.el (insert-buffer, set-selective-display)
5329 (delete-completion-window):
5330 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5331 (speedbar-recenter):
5332 * startup.el (fancy-splash-head):
5333 * textmodes/ispell.el (ispell-command-loop):
5334 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5335 * tutorial.el (help-with-tutorial):
5336 * vc/add-log.el (add-change-log-entry):
5337 * vc/compare-w.el (compare-windows):
5338 * vc/ediff-help.el (ediff-indent-help-message):
5339 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5340 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5341 (ediff-setup-control-frame):
5342 * vc/emerge.el (emerge-position-region):
5343 * vc/pcvs-util.el (cvs-bury-buffer):
5344 * window.el (walk-windows, mouse-autoselect-window-select):
5345 * winner.el (winner-set-conf, winner-undo): Related users changed.
5347 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5349 * frameset.el (frameset--set-id): Doc fix.
5350 (frameset-frame-id, frameset-frame-id-equal-p)
5351 (frameset-locate-frame-id): New functions.
5352 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5353 (frameset-restore): Use them.
5355 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5357 Do not call to `selected-frame' where it is assumed by default.
5358 Affected functions are `raise-frame', `redraw-frame',
5359 `frame-first-window', `frame-terminal' and `delete-frame'.
5360 * calendar/appt.el (appt-disp-window):
5361 * epg.el (epg-wait-for-completion):
5362 * follow.el (follow-delete-other-windows-and-split)
5363 (follow-avoid-tail-recenter):
5364 * international/mule.el (set-terminal-coding-system):
5365 * mail/rmail.el (rmail-mail-return):
5366 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5367 * progmodes/f90.el (f90-add-imenu-menu):
5368 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5369 * server.el (server-switch-buffer):
5370 * simple.el (delete-completion-window):
5372 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5373 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5374 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5375 * vc/ediff.el (ediff-documentation): Related users changed.
5376 * frame.el (selected-terminal): Remove the leftover.
5378 2013-08-05 Glenn Morris <rgm@gnu.org>
5380 * calendar/calendar.el (calendar-generate-month):
5381 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5382 (calendar-generate-month, calendar-font-lock-keywords):
5383 Fix for calendar-day-header-width > length of any day name.
5385 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5387 * desktop.el (desktop-clear): Use new name of sort predicate.
5389 * frameset.el (frameset): Add docstring. Move :version property to its
5391 (frameset-copy): Rename from copy-frameset.
5392 (frameset-p): Check more thoroughly.
5393 (frameset-prop): Do not check for :version, which is no longer a prop.
5394 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5395 Use new :never value instead of t.
5396 (frameset-filter-alist): Expand and clarify docstring.
5397 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5398 (frameset-filter-minibuffer, frameset-filter-save-param)
5399 (frameset-filter-restore-param, frameset-filter-iconified):
5400 Add pointer to docstring of frameset-filter-alist.
5401 (frameset-filter-params): Rename filter values to be more meaningful:
5402 :never instead of t, and reverse the meanings of :save and :restore.
5403 (frameset--process-minibuffer-frames): Clarify error message.
5404 (frameset-save): Avoid unnecessary and confusing call to framep.
5405 Use new BOA constructor for framesets.
5406 (frameset--reuse-list): Doc fix.
5407 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5408 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5409 (frameset-minibufferless-first-p): Doc fix.
5410 Rename from frameset-sort-frames-for-deletion.
5411 (frameset-restore): Doc fixes. Use new function names.
5412 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5414 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5416 * desktop.el (desktop-restore-forces-onscreen)
5417 (desktop-restore-reuses-frames): Document :keyword constant values.
5418 (desktop-filter-parameters-alist): Remove, now identical to
5419 frameset-filter-alist.
5420 (desktop--filter-tty*): Remove, moved to frameset.el.
5421 (desktop-save-frameset, desktop-restore-frameset):
5422 Do not pass :filters argument.
5424 * frameset.el (frameset-live-filter-alist)
5425 (frameset-persistent-filter-alist): New variables.
5426 (frameset-filter-alist): Use them. Add autoload cookie.
5427 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5428 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5429 `frameset--id' (it's supposed to be internal to frameset.el).
5430 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5431 (frameset--initial-params): New function.
5432 (frameset--get-frame): Use it. Doc fix.
5433 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5434 Accept :all, not 'all.
5435 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5436 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5437 with fbound symbols. Fix frame id matching, and remove matching ids if
5438 the frame being restored is deleted. Obey :delete.
5440 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5442 * subr.el (macrop): New function.
5443 (text-clone--maintaining): New var.
5444 (text-clone--maintain): Rename from text-clone-maintain. Use it
5445 instead of inhibit-modification-hooks.
5447 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5448 a proxy, so as handle autoloads and redefinitions of the target.
5449 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5451 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5452 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5453 (pcase--mutually-exclusive-p): New function.
5454 (pcase--split-consp): Use it.
5455 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5456 mutually exclusive with the current predicate.
5458 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5459 (edebug-macrop): Remove. Use `macrop' instead.
5460 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5462 * eshell/esh-cmd.el (eshell-macrop):
5463 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5465 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5467 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5468 (advice-mapc): New function, using it.
5469 (advice-function-member-p): New function.
5470 (advice--normalize): Store the cdr in advice--saved-rewrite since
5471 that's the part that will be changed.
5472 (advice--symbol-function): New function.
5473 (advice-remove): Handle removal before the function is defined.
5474 Adjust to new advice--saved-rewrite.
5475 (advice-member-p): Use advice-function-member-p and
5476 advice--symbol-function.
5478 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5480 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5481 (frameset-filter-minibuffer): Doc fix.
5482 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5483 (frameset--set-id, frameset--process-minibuffer-frames)
5484 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5485 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5487 * desktop.el (desktop-clear): Only delete frames when called
5488 interactively and desktop-restore-frames is non-nil. Doc fix.
5489 (desktop-read): Set desktop-saved-frameset to nil.
5491 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5493 * vc/vc.el (vc-ignore): Rewrite.
5494 (vc-default-ignore-completion-table):
5496 (vc--add-line, vc--remove-regexp): New functions.
5498 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5499 (vc-svn-ignore-completion-table): New function.
5501 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5502 (vc-hg-ignore-completion-table):
5503 (vc-hg-find-ignore-file): New functions.
5505 * vc/vc-git.el (vc-git-ignore): Rewrite.
5506 (vc-git-ignore-completion-table):
5507 (vc-git-find-ignore-file): New functions.
5509 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5511 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5512 (vc-bzr-ignore-completion-table):
5513 (vc-bzr-find-ignore-file): New functions.
5515 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5517 * frameset.el (frameset-prop): New function and setter.
5518 (frameset-save): Do not modify frame list passed by the caller.
5520 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5522 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5524 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5526 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5527 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5529 * custom.el (custom-initialize-default, custom-initialize-set)
5530 (custom-initialize-reset, custom-initialize-changed): Affect the
5531 toplevel-default-value (bug#6275, bug#14586).
5532 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5535 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5537 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5538 Add cl-def* expressions.
5540 * frameset.el (frameset-filter-params): Fix order of arguments.
5542 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5544 Move code related to saving frames to frameset.el.
5545 * desktop.el: Require frameset.
5546 (desktop-restore-frames): Doc fix.
5547 (desktop-restore-reuses-frames): Rename from
5548 desktop-restoring-reuses-frames.
5549 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5550 (desktop-clear): Clear frames too.
5551 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5552 (desktop--filter-tty*, desktop-save, desktop-read):
5553 Use frameset functions.
5554 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5555 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5556 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5557 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5558 (desktop--process-minibuffer-frames, desktop-save-frames)
5559 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5560 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5561 (desktop--sort-states, desktop-restoring-frames-p)
5562 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5563 (desktop-restoring-frameset-p, desktop-restore-frameset)
5564 (desktop--check-dont-save, desktop-save-frameset): New functions.
5565 (desktop--app-id): New constant.
5566 (desktop-first-buffer, desktop-buffer-ok-count)
5567 (desktop-buffer-fail-count): Move before first use.
5568 * frameset.el: New file.
5570 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5572 * files.el: Use lexical-binding.
5573 (dir-locals-read-from-file): Remove unused `err' variable.
5574 (hack-dir-local-variables--warned-coding): New var.
5575 (hack-dir-local-variables): Use it to avoid repeated warnings.
5576 (make-backup-file-name--default-function): New function.
5577 (make-backup-file-name-function): Use it as default.
5578 (buffer-stale--default-function): New function.
5579 (buffer-stale-function): Use it as default.
5580 (revert-buffer-insert-file-contents--default-function): New function.
5581 (revert-buffer-insert-file-contents-function): Use it as default.
5582 (insert-directory): Avoid add-to-list.
5584 * autorevert.el (auto-revert-handler): Simplify.
5585 Use buffer-stale--default-function.
5587 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5589 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5591 * whitespace.el (whitespace-ensure-local-variables): New function.
5592 (whitespace-cleanup-region): Call it.
5593 (whitespace-turn-on): Call it.
5595 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5597 Complete file name handlers.
5599 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5600 (tramp-handle-verify-visited-file-modtime)
5601 (tramp-handle-file-notify-rm-watch): New functions.
5602 (tramp-call-process): Do not bind `default-directory'.
5604 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5605 Order alphabetically.
5606 [access-file, add-name-to-file, dired-call-process]:
5607 [dired-compress-file, file-acl, file-notify-rm-watch]:
5608 [file-ownership-preserved-p, file-selinux-context]:
5609 [make-directory-internal, make-symbolic-link, set-file-acl]:
5610 [set-file-selinux-context, set-visited-file-modtime]:
5611 [verify-visited-file-modtime]: Add handler.
5612 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5614 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5615 [file-notify-add-watch, file-notify-rm-watch]:
5616 [set-file-times, set-visited-file-modtime]:
5617 [verify-visited-file-modtime]: Add handler.
5618 (with-tramp-gvfs-error-message)
5619 (tramp-gvfs-handle-set-visited-file-modtime)
5620 (tramp-gvfs-fuse-file-name): Remove.
5621 (tramp-gvfs-handle-file-notify-add-watch)
5622 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5623 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5625 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5626 Order alphabetically.
5627 [file-notify-rm-watch ]: Use default Tramp handler.
5628 [executable-find]: Remove private handler.
5629 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5630 `default-directory'.
5631 (tramp-sh-handle-executable-find)
5632 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5633 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5634 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5635 Do not use `format' in `tramp-message'.
5637 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5638 [file-notify-rm-watch, set-visited-file-modtime]:
5639 [verify-visited-file-modtime]: Add handler.
5640 (tramp-smb-call-winexe): Do not bind `default-directory'.
5642 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5644 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5646 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5648 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5650 (log-view-diff-changeset): Same.
5651 (log-view-diff-common): Call backend command `previous-revision'
5652 to find out the previous revision, in both cases. Swap the
5653 variables `to' and `fr', so that `fr' usually refers to the
5654 earlier revision (Bug#14989).
5656 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5658 * ibuf-ext.el (ibuffer-filter-by-filename):
5659 Make it work with dired buffers too.
5661 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5663 * emacs-lisp/re-builder.el (reb-color-display-p):
5664 * files.el (save-buffers-kill-terminal):
5665 * net/browse-url.el (browse-url):
5666 * server.el (server-save-buffers-kill-terminal):
5667 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5668 Prefer nil to selected-frame for the first arg of frame-parameter.
5670 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5672 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5674 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5676 * minibuffer.el (completion--twq-all): Try and preserve each
5677 completion's case choice (bug#14907).
5679 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5681 * net/network-stream.el (open-network-stream): Mention the new
5682 :nogreeting parameter.
5683 (network-stream-open-starttls): Use the :nogreeting parameter
5686 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5688 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5689 more natural than popping.
5691 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5692 (shr-urlify): Highlight under mouse.
5694 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5696 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5698 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5700 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5703 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5704 point-min==1. Fix search string. Fix parentheses missing.
5706 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5707 assume point-min==1. Fix search string. Fix parentheses missing.
5709 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5711 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5714 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5716 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5717 initial frame is minibuffer-less. (Bug#14841)
5719 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5721 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5724 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5725 (tramp-maybe-open-connection): Use it.
5727 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5729 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5730 minimal set of parameters passed when creating a frame, because
5731 the minibuffer status of a frame cannot be changed later.
5733 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5735 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5736 replace-regexp-in-string and inadvertent omissions in previous change.
5737 (todo-filter-items): Ensure only file names are comma-separated in
5738 name of filtered items buffer.
5740 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5742 * desktop.el: Optionally force offscreen frames back onscreen.
5743 (desktop-restoring-reuses-frames): New option.
5744 (desktop--compute-pos, desktop--move-onscreen): New functions.
5745 (desktop--make-frame): Use desktop--move-onscreen.
5747 2013-07-27 Alan Mackenzie <acm@muc.de>
5749 Fontify a Java generic method as a function.
5750 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5753 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5755 * calendar/todo-mode.el: Add command to rename todo files.
5756 (todo-rename-file): New command.
5757 (todo-key-bindings-t): Add key binding for it. Change the
5758 bindings of todo-filter-regexp-items(-multifile) to use `x'
5759 instead of `r', since the latter is better suited to the new
5762 2013-07-27 Alan Mackenzie <acm@muc.de>
5764 Make Java try-with-resources statement parse properly.
5765 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5766 (c-block-stmt-1-2-key): New language constants/variables.
5767 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5768 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5769 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5770 with c-block-stmt-1-2-key.
5772 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5774 * desktop.el (desktop--make-frame): Apply most frame parameters after
5775 creating the frame to force (partially or totally) offscreen frames to
5776 be restored as such.
5778 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5780 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5783 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5785 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5786 `base' arg of backtrace-frame.
5788 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5790 * simple.el (list-processes): Doc fix.
5792 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5794 * desktop.el (desktop--select-frame):
5795 Try harder to reuse existing frames.
5797 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5799 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5800 (edebug-eval): Use backtrace-eval.
5801 (edebug--display, edebug--recursive-edit): Don't let-bind the
5802 edebug-outer-* vars that keep track of variables we locally let-bind.
5803 (edebug-outside-excursion): Don't restore outside values of locally
5805 (edebug--display): Use user-error.
5806 (cl-lexical-debug, cl-debug-env): Remove.
5808 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5810 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5811 are restored to be sure that they are visible before deleting any
5814 2013-07-26 Matthias Meulien <orontee@gmail.com>
5816 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5817 vc-print-root-log. (Bug#14948)
5819 2013-07-26 Richard Stallman <rms@gnu.org>
5821 Add aliases for encrypting mail.
5822 * epa.el (epa-mail-aliases): New option.
5823 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5824 Bind inhibit-read-only so read-only text doesn't ruin everything.
5825 (epa-mail-default-recipients): New subroutine broken out.
5826 Handle epa-mail-aliases.
5828 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5830 Add support for lexical variables to the debugger's `e' command.
5831 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5832 vars, except for debugger-outer-match-data.
5833 (debugger-frame-number): Move check for "on a function call" from
5834 callers into it. Add `skip-base' argument.
5835 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5836 (debugger-env-macro): Only reset the state stored in non-variables,
5837 i.e. current-buffer and match-data.
5838 (debugger-eval-expression): Rewrite using backtrace-eval.
5839 * subr.el (internal--called-interactively-p--get-frame): Remove.
5840 (called-interactively-p):
5841 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5842 `base' arg of backtrace-frame instead.
5844 2013-07-26 Glenn Morris <rgm@gnu.org>
5846 * align.el (align-regexp): Doc fix. (Bug#14857)
5847 (align-region): Explicit error if subexpression missing/does not match.
5849 * simple.el (global-visual-line-mode):
5850 Do not duplicate the mode lighter. (Bug#14858)
5852 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5854 * window.el (display-buffer): In display-buffer bind
5855 split-window-keep-point to t, bug#14829.
5857 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5859 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5860 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5861 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5862 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5864 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5865 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5867 2013-07-25 Glenn Morris <rgm@gnu.org>
5869 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5871 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5873 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5874 parameter to modify-frame-parameters if the value has not changed;
5875 this is a workaround for bug#14949.
5876 (desktop--make-frame): On cl-delete-if call, check parameter name,
5879 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5881 * vc/vc.el (vc-ignore): New function.
5883 * vc/vc-svn.el (vc-svn-ignore): New function.
5885 * vc/vc-hg.el (vc-hg-ignore): New function.
5887 * vc/vc-git.el (vc-git-ignore): New function.
5889 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5890 (vc-dir-ignore): New function.
5892 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5893 (cvs-append-to-ignore): Move here from pcvs.el.
5895 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5897 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5899 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5901 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5902 (desktop-restore-frames): Warn when deleting an existing frame failed.
5904 2013-07-24 Glenn Morris <rgm@gnu.org>
5906 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5908 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5910 * filenotify.el (file-notify-supported-p):
5911 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5914 * autorevert.el (auto-revert-use-notify):
5915 (auto-revert-notify-add-watch):
5916 * net/tramp.el (tramp-file-name-for-operation):
5917 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5918 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5919 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5920 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5921 Remove `file-notify-supported-p' entry.
5923 2013-07-24 Glenn Morris <rgm@gnu.org>
5925 * printing.el: Replace all uses of deleted ps-windows-system,
5926 ps-lp-system, ps-flatten-list with lpr- versions.
5928 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5930 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5931 checked with memq (bug#14935).
5933 * files.el (revert-buffer-function): Use a non-nil default.
5934 (revert-buffer-preserve-modes): Declare var to
5935 provide access to the `preserve-modes' argument.
5936 (revert-buffer): Let-bind it.
5937 (revert-buffer--default): New function, extracted from revert-buffer.
5939 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5941 * lpr.el: Signal print errors more prominently.
5942 (print-region-function): Don't default to nil.
5943 (lpr-print-region): New function, extracted from print-region-1.
5944 Check lpr's return value and signal an error in case of problem.
5945 (print-region-1): Use it.
5946 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5948 (ps-printer-name): Default to nil.
5949 (ps-printer-name-option): Default to lpr-printer-switch.
5950 (ps-print-region-function): Don't default to nil.
5951 (ps-postscript-code-directory): Simplify default.
5952 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5953 (ps-string-list, ps-eval-switch, ps-flatten-list)
5954 (ps-flatten-list-1): Remove.
5955 (ps-multibyte-buffer): Avoid setq.
5956 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5957 (print-region-function, ps-print-region-function): Don't set them here.
5959 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5961 * ido.el (ido-fractionp):
5962 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5963 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5964 (ido-max-directory-size, ido-max-dir-file-cache)
5965 (ido-decorations): Doc fix.
5967 * ansi-color.el: Fix old URL.
5969 2013-07-23 Michael R. Mauger <michael@mauger.com>
5971 * progmodes/sql.el: Version 3.3
5972 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5973 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5974 (sql-interactive-remove-continuation-prompt): Rewrite, use
5975 functions above. Fix continuation prompt and complete output line
5977 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5978 redirected output buffer.
5979 (sql-mode): Restore deleted code (Bug#13591).
5981 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5983 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5985 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5987 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5989 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5990 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5991 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5993 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5995 * desktop.el (desktop-clear): Simplify; remove useless checks
5996 against invalid buffer names.
5997 (desktop-list*): Use cl-list*.
5998 (desktop-buffer-info, desktop-create-buffer): Simplify.
6000 2013-07-23 Leo Liu <sdl.web@gmail.com>
6002 * bookmark.el (bookmark-make-record): Restore NAME as a default
6005 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6007 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6008 extracted from autoload--insert-text.
6009 (autoload--insert-text): Remove.
6010 (autoload--print-cookie-text): New function, extracted from
6011 autoload--insert-cookie-text.
6012 (autoload--insert-cookie-text): Remove.
6013 (autoload-generate-file-autoloads): Adjust calls accordingly.
6015 * winner.el (winner-hook-installed-p): Remove.
6016 (winner-mode): Simplify accordingly.
6018 * subr.el (add-to-list): Fix compiler-macro when `append' is
6019 not constant. Don't use `cl-member' for the base case.
6021 * progmodes/subword.el: Fix boundary case (bug#13758).
6022 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6024 (subword-backward-regexp): Make it a constant.
6025 (subword-forward-internal): Don't treat a trailing capital as the
6026 beginning of a word.
6028 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6030 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6031 global value of tabulated-list-revert-hook (bug#14930).
6033 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6035 * desktop.el: Require 'cl-lib.
6036 (desktop-before-saving-frames-functions): New hook.
6037 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6038 for frames being saved. Rename from desktop--save-minibuffer-frames.
6039 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6040 Do not save frames with non-nil `desktop-dont-save' parameter.
6041 Filter out deleted frames.
6042 (desktop--find-frame): Use cl-find-if.
6043 (desktop--select-frame): Use cl-(first|second|third) to access values
6045 (desktop--make-frame): Use cl-delete-if.
6046 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6047 (desktop-restore-frames): Use cl-(first|second|third) to access values
6048 of desktop-mini. Look for visible frame at the end, not while
6051 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6052 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6053 Use string-match-p, looking-at-p (bug#14927).
6055 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6057 * desktop.el (desktop-saved-frame-states):
6058 Rename from desktop--saved-states; all users changed.
6059 (desktop-save-frames): Rename from desktop--save-frames.
6060 Do not save state to desktop file.
6061 (desktop-save): Save desktop-saved-frame-states to desktop file
6063 (desktop-restoring-frames-p): New function.
6064 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6065 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6066 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6068 * desktop.el: Correctly restore iconified frames.
6069 (desktop--filter-iconified-position): New function.
6070 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6072 2013-07-20 Glenn Morris <rgm@gnu.org>
6074 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6075 Let `message' do the formatting.
6076 (def-gdb-preempt-display-buffer): Add explicit format.
6078 * image-dired.el (image-dired-track-original-file):
6079 Use with-current-buffer.
6080 (image-dired-track-thumbnail): Use with-current-buffer.
6081 Avoid changing point of wrong window.
6083 * image-dired.el (image-dired-track-original-file):
6084 Avoid changing point of wrong window. (Bug#14909)
6086 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6088 * progmodes/gdb-mi.el (gdb-done-or-error):
6089 Guard against "%" in gdb output. (Bug#14127)
6091 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6093 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6096 * international/mule.el (coding-system-iso-2022-flags): Fix last
6099 2013-07-20 Kenichi Handa <handa@gnu.org>
6101 * international/mule.el (coding-system-iso-2022-flags):
6102 Add `8-bit-level-4'. (Bug#8522)
6104 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6106 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6109 * net/eww.el (eww-process-text-input): Allow inputting when the
6110 point is at the start of the line, as the properties aren't
6113 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6116 2013-07-19 Richard Stallman <rms@gnu.org>
6118 * epa.el (epa-popup-info-window): Doc fix.
6120 * subr.el (split-string): New arg TRIM.
6122 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6124 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6125 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6127 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6129 * filenotify.el (file-notify--library): Rename from
6130 `file-notify-support'. Do not autoload. Adapt all uses.
6131 (file-notify-supported-p): New defun.
6133 * autorevert.el (auto-revert-use-notify):
6134 Use `file-notify-supported-p' instead of `file-notify-support'.
6136 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6138 * net/tramp.el (tramp-file-name-for-operation):
6139 Add `file-notify-supported-p'.
6141 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6143 (tramp-sh-file-name-handler-alist): Add it as handler for
6144 `file-notify-supported-p '.
6146 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6147 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6148 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6149 Add `ignore' as handler for `file-notify-*' functions.
6151 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6153 * simple.el (line-move-partial, line-move): Don't start vscroll or
6154 scroll-up if the current line is not taller than the window.
6157 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6159 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6160 highlight question marks in the method names as strings.
6161 (ruby-block-beg-keywords): Inline.
6162 (ruby-font-lock-keyword-beg-re): Extract from
6163 `ruby-font-lock-keywords'.
6165 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6167 * frame.el (blink-cursor-blinks): New defcustom.
6168 (blink-cursor-blinks-done): New defvar.
6169 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6170 (blink-cursor-timer-function): Check if number of blinks has been
6172 (blink-cursor-suspend, blink-cursor-check): New defuns.
6174 2013-07-15 Glenn Morris <rgm@gnu.org>
6176 * edmacro.el (edmacro-format-keys): Fix previous change.
6178 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6180 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6181 The hack didn't work outside English locales anyway.
6183 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6185 * simple.el (define-alternatives): Rename from alternatives-define,
6186 per RMS' suggestion.
6188 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6190 * desktop.el (desktop-restore-frames): Change default to t.
6191 (desktop-restore-in-current-display): Now offer more options.
6192 (desktop-restoring-reuses-frames): New customization option.
6193 (desktop--saved-states): Doc fix.
6194 (desktop-filter-parameters-alist): New variable, renamed and expanded
6195 from desktop--excluded-frame-parameters.
6196 (desktop--target-display): New variable.
6197 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6198 (desktop--filter-tty*, desktop--filter-*-color)
6199 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6200 (desktop--filter-save-desktop-parm)
6201 (desktop-restore-in-original-display-p): New functions.
6202 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6203 (desktop--save-minibuffer-frames): New function, inspired by a similar
6204 function from Martin Rudalics.
6205 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6206 (desktop--restore-in-this-display-p): Remove.
6207 (desktop--find-frame): Rename from desktop--find-frame-in-display
6208 and add predicate argument.
6209 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6210 (desktop--reuse-list): New variable.
6211 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6213 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6215 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6217 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6219 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6221 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6222 Highlight conversion methods on Kernel.
6224 2013-07-13 Alan Mackenzie <acm@muc.de>
6226 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6227 and comment it out. This out-commenting enables certain C++
6228 declarations to be parsed correctly.
6230 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6232 * international/mule.el (define-coding-system): Doc fix.
6234 * simple.el (default-font-height): Don't call font-info if the
6235 frame's default font didn't change since the frame was created.
6238 2013-07-13 Leo Liu <sdl.web@gmail.com>
6240 * ido.el (ido-read-file-name): Guard against non-symbol value.
6242 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6244 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6247 2013-07-13 Leo Liu <sdl.web@gmail.com>
6249 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6250 ido-set-matches call. (Bug#6852)
6252 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6254 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6255 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6257 (ruby-font-lock-keywords): Distinguish calls to functions with
6258 module-like names from module references. Highlight character
6261 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6263 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6264 (gdb-send): Handle continued commands. (Bug#14847)
6266 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6268 * desktop.el (desktop--v2s): Remove unused local variable.
6269 (desktop-save-buffer): Make defvar-local; adjust docstring.
6270 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6271 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6273 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6275 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6277 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6279 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6282 2013-07-12 Glenn Morris <rgm@gnu.org>
6284 * doc-view.el: Require cl-lib at runtime too.
6285 (doc-view-remove-if): Remove.
6286 (doc-view-search-next-match, doc-view-search-previous-match):
6289 * edmacro.el: Require cl-lib at runtime too.
6290 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6291 (edmacro-mismatch, edmacro-subseq): Remove.
6293 * shadowfile.el: Require cl-lib.
6294 (shadow-remove-if): Remove.
6295 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6298 * wid-edit.el: Require cl-lib.
6299 (widget-choose): Use cl-remove-if.
6300 (widget-remove-if): Remove.
6302 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6303 (ebrowse-delete-if-not): Remove.
6304 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6305 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6306 Use cl-delete-if-not.
6308 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6310 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6311 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6313 2013-07-12 Leo Liu <sdl.web@gmail.com>
6315 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6317 2013-07-11 Glenn Morris <rgm@gnu.org>
6319 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6320 (edebug-gensym-index, edebug-gensym):
6321 Remove reimplementation of cl-gensym.
6322 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6324 * thumbs.el: Require cl-lib at run-time too.
6325 (thumbs-gensym-counter, thumbs-gensym):
6326 Remove reimplementation of cl-gensym.
6327 (thumbs-temp-file): Use cl-gensym.
6329 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6330 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6331 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6332 (ert--union, ert--gensym-counter, ert--gensym-counter)
6333 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6334 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6335 (ert-make-test-unbound, ert--expand-should-1)
6336 (ert--expand-should, ert--should-error-handle-error)
6337 (should-error, ert--explain-equal-rec)
6338 (ert--plist-difference-explanation, ert-select-tests)
6339 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6340 Use cl-lib functions rather than reimplementations.
6342 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6344 * net/tramp.el (tramp-methods): Extend docstring.
6345 (tramp-connection-timeout): New defcustom.
6346 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6347 (with-tramp-progress-reporter): Simplify.
6348 (tramp-process-actions): Improve messages.
6350 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6351 * net/tramp-sh.el (tramp-maybe-open-connection):
6352 Use `tramp-connection-timeout'.
6353 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6356 2013-07-11 Leo Liu <sdl.web@gmail.com>
6358 * ido.el (ido-read-file-name): Conform to the requirements of
6359 read-file-name. (Bug#11861)
6360 (ido-read-directory-name): Conform to the requirements of
6361 read-directory-name.
6363 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6365 * subr.el (delay-warning): New function.
6367 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6369 * simple.el (default-line-height): New function.
6370 (line-move-partial, line-move): Use it instead of computing the
6372 (line-move-partial): Always compute ROWH. If the last line is
6373 partially-visible, but its text is completely visible, allow
6374 cursor to enter such a partially-visible line.
6376 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6378 Improve error messages. (Bug#14808)
6380 * net/tramp.el (tramp-current-connection): New defvar, moved from
6382 (tramp-message-show-progress-reporter-message): Remove, not
6384 (tramp-error-with-buffer): Show message in minibuffer.
6385 Discard input before waiting. Reset connection timestamp.
6386 (with-tramp-progress-reporter): Improve messages.
6387 (tramp-process-actions): Use progress reporter. Delete process in
6388 case of error. Improve messages.
6390 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6391 Call `tramp-error-with-buffer' with vector and buffer.
6392 (tramp-current-connection): Remove.
6393 (tramp-maybe-open-connection): The car of
6394 `tramp-current-connection' are the first 3 slots of the vector.
6396 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6398 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6399 inside continued strings.
6401 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6403 Timestamp fixes for undo (Bug#14824).
6404 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6406 2013-07-10 Leo Liu <sdl.web@gmail.com>
6408 * files.el (require-final-newline): Allow safe local value.
6411 2013-07-09 Leo Liu <sdl.web@gmail.com>
6413 * ido.el (ido-read-directory-name): Handle fallback.
6414 (ido-read-file-name): Update DIR to ido-current-directory.
6416 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6418 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6420 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6421 "autoload". Remove "warn lower camel case" section, previously
6422 commented out. Highlight negation char. Do not highlight the
6423 target in singleton method definitions.
6425 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6427 * faces.el (tty-setup-hook): Declare the hook.
6429 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6430 and detect when a guard/pred depends on local vars (bug#14773).
6431 (pcase--u1): Adjust caller.
6433 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6435 * simple.el (line-move-partial, line-move): Account for
6437 (line-move-partial): Avoid setting vscroll when the last
6438 partially-visible line in window is of default height.
6440 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6442 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6445 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6447 * subr.el (read-quoted-char): Remove unused local variable `char'.
6449 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6451 * ediff.el (ediff-version): Version update.
6452 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6453 (ediff-merge-with-ancestor-command, ediff-directories-command)
6454 (ediff-directories3-command, ediff-merge-directories-command)
6455 (ediff-merge-directories-with-ancestor-command): New functions.
6456 All are command-line interfaces to ediff: to facilitate calling
6457 Emacs with the appropriate ediff functions invoked.
6459 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6460 (viper-save-kill-buffer): Check if buffer is modified.
6462 * viper.el (viper-version): Version update.
6463 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6465 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6467 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6468 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6469 (viper-intercept-ESC-key): Simplify.
6470 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6471 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6472 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6473 (viper-setup-ESC-to-escape): New functions.
6474 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6475 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6477 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6479 * simple.el (default-font-height, window-screen-lines):
6481 (line-move, line-move-partial): Use them instead of
6482 frame-char-height and window-text-height. This makes scrolling
6483 text smoother when the buffer's default face uses a font that is
6484 different from the frame's default font.
6486 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6488 * files.el (write-file): Do not display confirm dialog for NS,
6489 it does its own dialog, which can't be cancelled (Bug#14578).
6491 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6493 * simple.el (line-move-partial): Adjust the row returned by
6494 posn-at-point for the current window-vscroll. (Bug#14567)
6496 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6498 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6499 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6502 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6504 * window.el (window-state-put-stale-windows): New variable.
6505 (window--state-put-2): Save list of windows without matching buffer.
6506 (window-state-put): Remove "bufferless" windows if possible.
6508 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6510 * simple.el (alternatives-define): Remove leftover :group keyword.
6513 2013-07-06 Leo Liu <sdl.web@gmail.com>
6515 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6516 (ido-enable-virtual-buffers): New variable.
6517 (ido-buffer-internal, ido-toggle-virtual-buffers)
6518 (ido-make-buffer-list): Use it.
6519 (ido-exhibit): Support turning on and off virtual buffers
6522 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6524 * simple.el (alternatives-define): New macro.
6526 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6528 * subr.el (read-quoted-char): Use read-key.
6529 (sit-for): Let read-event decode tty input (bug#14782).
6531 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6533 * calendar/todo-mode.el: Add handling of file deletion, both by
6534 mode command and externally. Fix various related bugs.
6535 Clarify Commentary and improve some documentation strings and code.
6536 (todo-delete-file): New command.
6537 (todo-check-file): New function.
6538 (todo-show): Handle external deletion of the file we're trying to
6539 show (bug#14688). Replace called-interactively-p by an optional
6540 prefix argument to avoid problematic interaction with catch form
6541 when byte compiled (bug#14702).
6542 (todo-quit): Handle external deletion of the archive's todo file.
6543 Make sure the buffer that was visiting the archive file is still
6544 live before trying to bury it.
6545 (todo-category-completions): Handle external deletion of any
6546 category completion files.
6547 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6548 of todo files, in case of external deletion.
6549 (todo-add-file): Replace unnecessary setq by let-binding.
6550 (todo-find-archive): Check whether there are any archives.
6551 Replace unnecessary setq by let-binding.
6552 (todo-archive-done-item): Use find-file-noselect to get the
6553 archive buffer whether or not the archive already exists.
6554 Remove superfluous code. Use file size instead of buffer-file-name to
6555 check if the archive is new; if it is, update list of archives.
6556 (todo-default-todo-file): Allow nil to be a valid value for when
6557 there are no todo files.
6558 (todo-reevaluate-default-file-defcustom): Use corrected definition
6559 of todo-default-todo-file.
6560 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6561 (todo-delete-category, todo-show-categories-table)
6562 (todo-category-number): Clarify comment.
6563 (todo-filter-items): Clarify documentation string.
6564 (todo-show-current-file, todo-display-as-todo-file)
6565 (todo-reset-and-enable-done-separator): Tweak documentation string.
6566 (todo-done-separator): Make separator length window-width, since
6567 bug#2749 is now fixed.
6569 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6571 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6572 Support both "gvfs-monitor-dir" and "inotifywait".
6573 (tramp-sh-file-inotifywait-process-filter): Rename from
6574 `tramp-sh-file-notify-process-filter'.
6575 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6576 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6578 2013-07-05 Leo Liu <sdl.web@gmail.com>
6580 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6582 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6584 * frame.el (display-pixel-height, display-pixel-width)
6585 (display-mm-height, display-mm-width): Mention behavior on
6586 multi-monitor setups in docstrings.
6587 (w32-display-monitor-attributes-list): Declare function.
6588 (display-monitor-attributes-list): Use it.
6590 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6592 * filenotify.el: New package.
6594 * autorevert.el (top): Require filenotify.el.
6595 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6597 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6598 (auto-revert-notify-handler): Use `file-notify-*' functions.
6600 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6602 * net/tramp.el (tramp-file-name-for-operation):
6603 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6605 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6606 for `file-notify-add-watch' and `file-notify-rm-watch'.
6607 (tramp-process-sentinel): Improve trace.
6608 (tramp-sh-handle-file-notify-add-watch)
6609 (tramp-sh-file-notify-process-filter)
6610 (tramp-sh-handle-file-notify-rm-watch)
6611 (tramp-get-remote-inotifywait): New defuns.
6613 2013-07-03 Juri Linkov <juri@jurta.org>
6615 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6616 call of `occur-read-primary-args' to interactive spec.
6618 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6619 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6621 2013-07-03 Matthias Meulien <orontee@gmail.com>
6623 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6624 `Buffer-menu-multi-occur'. Add it to the menu.
6625 (Buffer-menu-mode): Document it in docstring.
6626 (Buffer-menu-multi-occur): New command. (Bug#14673)
6628 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6630 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6631 keywords and built-ins.
6633 2013-07-03 Glenn Morris <rgm@gnu.org>
6635 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6637 Make info-xref checks case-sensitive by default
6638 * info.el (Info-find-node, Info-find-in-tag-table)
6639 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6640 Add option for exact case matching of nodes.
6641 * info-xref.el (info-xref): New custom group.
6642 (info-xref-case-fold): New option.
6643 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6645 2013-07-03 Leo Liu <sdl.web@gmail.com>
6647 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6649 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6651 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6652 middle of block statement initially, lower the depth. Remove
6653 FIXME comment, not longer valid. Remove middle of block statement
6654 detection, no need to do that anymore since we've been using
6655 `ruby-parse-region' here.
6657 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6659 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6661 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6663 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6665 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6667 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6668 (desktop-restore-in-current-display): New customization option.
6669 (desktop--excluded-frame-parameters): Add `font'.
6670 (desktop--save-frames): Rename from desktop--save-windows.
6671 (desktop--restore-in-this-display-p): New function.
6672 (desktop--make-full-frame): Remove unwanted width/height from
6673 full(width|height) frames.
6674 (desktop--restore-frames): Rename from desktop--restore-windows.
6675 Obey desktop-restore-current-display. Do not delete old frames or
6676 select a new frame unless we were able to restore at least one frame.
6678 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6680 * files.el (find-file-noselect): Simplify conditional expression.
6682 * remember.el (remember-append-to-file):
6683 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6685 Add `remember-notes' function to store random notes across Emacs
6687 * remember.el (remember-data-file): Add :set callback to affect
6688 notes buffer (if any).
6689 (remember-notes): New command.
6690 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6691 New defcustoms for the `remember-notes' function.
6692 (remember-notes-save-and-bury-buffer): New command.
6693 (remember-notes-mode-map): New variable.
6694 (remember-mode): New minor mode.
6695 (remember-notes--kill-buffer-query): New function.
6696 * startup.el (initial-buffer-choice): Add notes to custom type.
6698 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6700 * bindings.el (right-char, left-char): Don't call sit-for, this is
6701 no longer needed. Use arithmetic comparison only for numerical
6704 * international/mule-cmds.el (select-safe-coding-system):
6705 Handle the case of FROM being a string correctly. (Bug#14755)
6707 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6709 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6710 progression on degenerate tables.
6711 (shr-rescale-image): ImageMagick animated images currently don't work.
6713 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6715 Some fixes and improvements for desktop frame restoration.
6716 It is still experimental and disabled by default.
6717 * desktop.el (desktop--save-windows): Put the selected frame at
6718 the head of the list.
6719 (desktop--make-full-frame): New function.
6720 (desktop--restore-windows): Try to re-select the frame that was
6721 selected upon saving. Do not abort if some frames fail to restore,
6722 just show an error message and continue. Set up maximized frames
6723 so they have default non-maximized dimensions.
6725 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6727 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6728 Don't start heredoc inside a string or comment.
6730 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6732 * bindings.el (visual-order-cursor-movement): New defcustom.
6733 (right-char, left-char): Provide visual-order cursor motion by
6734 calling move-point-visually. Update the doc strings.
6736 2013-06-28 Kenichi Handa <handa@gnu.org>
6738 * international/mule.el (define-coding-system): New coding system
6739 properties :inhibit-null-byte-detection,
6740 :inhibit-iso-escape-detection, and :prefer-utf-8.
6741 (set-buffer-file-coding-system): If :charset-list property of
6742 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6743 appropriate for setting.
6745 * international/mule-cmds.el (select-safe-coding-system):
6746 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6747 multibyte characters, return utf-8 (or one of its siblings).
6749 * international/mule-conf.el (prefer-utf-8): New coding system.
6750 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6753 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6755 * net/shr.el (shr-render-region): New function.
6757 * net/eww.el: Autoload `eww-browse-url'.
6759 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6761 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6762 Adapt to `package-desc-version' being a list.
6763 Use `package--ac-desc-version' to retrieve version from a package
6766 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6768 New experimental feature to save&restore window and frame setup.
6769 * desktop.el (desktop-save-windows): New defcustom.
6770 (desktop--saved-states): New var.
6771 (desktop--excluded-frame-parameters): New defconst.
6772 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6773 (desktop--restore-windows, desktop--save-windows): New functions.
6774 (desktop-save): Call `desktop--save-windows'.
6775 (desktop-read): Call `desktop--restore-windows'.
6777 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6779 * net/shr.el (add-face-text-property): Remove compat definition.
6781 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6783 * info.el (Info-try-follow-nearest-node): Move search for footnote
6784 above search for node name to prevent missing a footnote (bug#14717).
6786 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6788 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6790 2013-06-27 Leo Liu <sdl.web@gmail.com>
6792 * net/eww.el (eww-read-bookmarks): Check file size.
6794 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6796 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6797 advice--pending if newdef is nil or an autoload (bug#13820).
6798 (advice-mapc): New function.
6800 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6802 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6804 (eww-mode-map): Add a menu bar.
6805 (eww-add-bookmark): New command.
6806 (eww-bookmark-mode): New mode and commands.
6807 (eww-add-bookmark): Remove newlines from the title.
6808 (eww-bookmark-browse): Don't bug out if it's the only window.
6810 2013-06-26 Glenn Morris <rgm@gnu.org>
6812 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6813 (hfy-size): Handle ttys. (Bug#14668)
6815 * info-xref.el: Update for Texinfo 5 change in *note format.
6816 (info-xref-node-re, info-xref-note-re): New constants.
6817 (info-xref-check-buffer): Use info-xref-note-re.
6819 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6821 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6823 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6824 nil terminate the loop (bug#14718).
6826 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6828 * net/eww.el: Rework history traversal. When going forward/back,
6829 put these actions into the history, too, so that they can be
6831 (eww-render): Move the history reset to the correct buffer.
6833 2013-06-25 Juri Linkov <juri@jurta.org>
6835 * files-x.el (modify-dir-local-variable): Change the header comment
6836 in the file with directory local variables. (Bug#14692)
6838 * files-x.el (read-file-local-variable-value): Add `default'.
6841 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6843 * net/eww.el (eww-make-unique-file-name): Create a unique file
6844 name before saving to entering `y' accidentally asynchronously.
6846 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6848 * net/eww.el (eww-download): New command and keystroke.
6850 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6852 * net/eww.el (eww-copy-page-url): Change name of command.
6854 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6855 be more consistent with Info and dired.
6857 * net/eww.el (eww-mode-map): Ditto.
6859 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6861 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6862 packages from archives.
6863 (package-archive-contents): Change format; include obsolete packages.
6864 (package-desc): Use `dir' to mark builtin packages.
6865 (package--from-builtin): Set the `dir' field to `builtin'.
6866 (generated-autoload-file, version-control): Declare.
6867 (package-compute-transaction): Change first arg and return value to be
6868 lists of package-descs. Adjust to new package-archive-contents format.
6869 (package--add-to-archive-contents): Adjust to new
6870 package-archive-contents format.
6871 (package-download-transaction): Arg is now a list of package-descs.
6872 (package-install): If `pkg' is a package name, pass it as
6873 a requirement, so it is subject to the usual (e.g. disabled) checks.
6874 (describe-package): Accept package-desc as well.
6875 (describe-package-1): Describe a specific package-desc. Add links to
6876 other package-descs for the same package name.
6877 (package-menu-describe-package): Pass the actual package-desc.
6878 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6880 (package-desc-status): New function.
6881 (package-menu--refresh): New function, extracted
6882 from package-menu--generate.
6883 (package-menu--generate): Use it.
6884 (package-delete): Update package-alist.
6885 (package-menu-execute): Don't call package-initialize.
6887 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6888 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6889 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6890 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6891 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6892 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6894 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6896 * window.el (window--state-get-1): Workaround for bug#14527.
6897 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6899 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6901 * net/eww.el (eww-back-url): Implement the history by stashing all
6902 the data into a list.
6903 (eww-forward-url): Allow going forward in the history, too.
6905 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6907 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6908 for values and use read--expression for expressions (bug#14710).
6909 (read-file-local-variable): Avoid setq.
6910 (read-file-local-variable-mode): Use minor-mode-list.
6912 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6914 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6917 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6919 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6920 Update imenu-support when dialect changes.
6922 2013-06-25 Leo Liu <sdl.web@gmail.com>
6924 * ido.el (ido-read-internal): Allow forward slash on windows.
6926 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6928 * net/eww.el (eww): Start of strings is \\`, not ^.
6930 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6932 * net/shr.el (shr-browse-url): Fix interactive spec.
6934 * net/eww.el (eww): Add a trailing slash to domain names.
6936 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6938 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6940 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6942 * net/shr.el (shr-browse-url): Use an external browser if given a
6945 * net/eww.el (eww-external-browser): Move to shr.
6947 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6949 * net/eww.el (eww): Work more correctly for file: URLs.
6950 (eww-detect-charset): Allow quoted charsets.
6951 (eww-yank-page-url): New command and keystroke.
6953 2013-06-24 Daiki Ueno <ueno@gnu.org>
6955 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6956 file name of gpg executable.
6957 (epg-context-program): New function.
6958 (epg-context-home-directory): New function.
6959 (epg-context-set-program): New function.
6960 (epg-context-set-home-directory): New function.
6961 (epg--start): Use `epg-context-program' instead of
6963 (epg--list-keys-1): Likewise.
6965 2013-06-24 Leo Liu <sdl.web@gmail.com>
6967 * ido.el (ido-read-internal): Fix bug#14620.
6969 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6971 * faces.el (face-documentation): Simplify.
6972 (read-face-attribute, tty-find-type, x-resolve-font-name):
6973 Use `string-match-p'.
6974 (list-faces-display): Use `string-match-p'. Simplify.
6975 (face-spec-recalc): Check face to avoid face alias loops.
6976 (read-color): Use `string-match-p' and non-capturing parenthesis.
6978 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6980 * net/shr.el (shr-rescale-image): Use the new
6981 :max-width/:max-height functionality.
6983 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6985 * net/eww.el (eww-search-prefix): New variable.
6987 (eww-external-browser): New variable.
6988 (eww-mode-map): New keystroke.
6989 (eww-browse-with-external-browser): New command.
6991 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6993 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6995 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6996 Don't skip aligning the next header field when padding is 0;
6997 otherwise, field width is not respected unless the title is as
7000 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7002 * emacs-lisp/package.el (package-el-version): Remove.
7003 (package-process-define-package): Fix inf-loop.
7004 (package-install): Allow symbols as arguments again.
7006 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7008 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7009 add some more keyword-like methods.
7010 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7012 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7014 * bs.el (bs-buffer-show-mark): Make defvar-local.
7015 (bs-mode): Use setq-local.
7017 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7018 (emacs-lock--try-unlocking): Make defvar-local.
7020 2013-06-22 Glenn Morris <rgm@gnu.org>
7022 * play/cookie1.el (cookie-apropos): Minor simplification.
7024 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7026 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7028 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7029 `regexp-opt', it breaks the build during dumping.
7031 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7033 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7034 Highlight keyword-like methods on Kernel and Module with
7035 font-lock-builtin-face.
7036 (auto-mode-alist): Consolidate different entries into one regexp
7037 and add more *file-s.
7039 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7041 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7043 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7044 (diary-entry): Use it in the action of this button type instead of
7047 * calendar/todo-mode.el: New version.
7048 (todo-add-category): Append new category to end of file and give
7049 it the highest number, instead of putting it at the beginning and
7050 giving it 0. Incorporate noninteractive functionality.
7051 (todo-forward-category): Adapt to 1-based category numbering.
7052 Allow skipping over archived categories.
7053 (todo-backward-category): Derive from todo-forward-category.
7054 (todo-backward-item, todo-forward-item): Make noninteractive and
7055 delegate interactive part to new commands. Make sensitive to done items.
7056 (todo-categories): Make value an alist of category names and
7057 vectors of item counts.
7058 (todo-category-beg): Make a defconst.
7059 (todo-category-number): Use 1 instead of 0 as initial value.
7060 (todo-category-select): Make sensitive to overlays, optional item
7061 highlighting and done items.
7062 (todo-delete-item): Make sensitive to overlays and marked and done items.
7063 (todo-edit-item): Make sensitive to overlays and editing of
7064 date/time header optional. Add format checks.
7065 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7066 no-op if point is not on an item. Advertise using todo-edit-quit.
7067 (todo-edit-mode): Make sensitive to new format, font-locking, and
7068 multiple todo files.
7069 (todo-insert-item, todo-insert-item-here): Derive from
7070 todo-basic-insert-item and extend functionality.
7071 (todo-item-end, todo-item-start): Make sensitive to done items.
7072 (todo-item-string): Don't return text properties. Restore point.
7073 (todo-jump-to-category): Make sensitive to multiple todo files and
7074 todo archives. Use extended category completion.
7075 (todo-lower-item, todo-raise-item): Rename to *-priority and
7076 derive from todo-set-item-priority.
7077 (todo-mode): Derive from special-mode. Make sensitive to new
7078 format, font-locking and multiple todo files. Make read-only.
7079 (todo-mode-map): Don't suppress digit keys, so they can supply
7080 prefix arguments. Add many new key bindings.
7081 (todo-prefix): Insert as an overlay instead of file text.
7082 Change semantics from diary date expression to purely visual mark.
7083 (todo-print): Rename to todo-print-buffer. Make buffer display
7084 features printable. Remove option to restrict number of items
7085 printed. Add option to print to file.
7086 (todo-print-function): Rename to todo-print-buffer-function.
7087 (todo-quit): Extend to handle exiting new todo modes.
7088 (todo-remove-item): Make sensitive to overlays.
7089 (todo-save): Extend to buffers of filtered items.
7090 (todo-show): Make sensitive to done items, multiple todo files and
7091 new todo modes. Offer to convert legacy todo file before creating
7092 first new todo file.
7093 (todo-show-priorities): Rename to todo-top-priorities.
7094 Change semantics of value 0.
7095 (todo-top-priorities): Rename to todo-filter-top-priorities,
7096 derive from todo-filter-items and extend functionality.
7097 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7098 and extend functionality to other types of filtered items.
7099 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7100 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7101 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7102 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7103 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7104 (todo-edit-mode-hook, todo-entry-prefix-function)
7105 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7106 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7107 (todo-initials, todo-insert-threshold, todo-item-string-start)
7108 (todo-line-string, todo-menu, todo-mode-hook)
7109 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7110 (todo-print-priorities, todo-remove-separator)
7111 (todo-save-top-priorities-too, todo-string-count-lines)
7112 (todo-string-multiline-p, todo-time-string-format)
7113 (todo-tmp-buffer-name): Remove.
7114 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7115 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7116 (todo-edit-category-diary-inclusion)
7117 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7118 (todo-edit-file, todo-edit-item-date-day)
7119 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7120 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7121 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7122 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7123 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7124 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7125 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7126 (todo-filter-top-priorities-multifile, todo-find-archive)
7127 (todo-find-filtered-items-file, todo-go-to-source-item)
7128 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7129 (todo-jump-to-archive-category, todo-lower-category)
7130 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7131 (todo-move-category, todo-move-item, todo-next-button)
7132 (todo-next-item, todo-padded-string, todo-powerset)
7133 (todo-previous-button, todo-previous-item)
7134 (todo-print-buffer-to-file, todo-raise-category)
7135 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7136 (todo-set-category-number, todo-set-item-priority)
7137 (todo-set-top-priorities-in-category)
7138 (todo-set-top-priorities-in-file, todo-show-categories-table)
7139 (todo-sort-categories-alphabetically-or-numerically)
7140 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7141 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7142 (todo-toggle-item-header, todo-toggle-item-highlighting)
7143 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7144 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7145 (todo-unarchive-items, todo-unmark-category): New commands.
7146 (todo-absolute-file-name, todo-add-to-buffer-list)
7147 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7148 (todo-basic-insert-item, todo-category-completions)
7149 (todo-category-number, todo-category-string-matcher-1)
7150 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7151 (todo-check-format, todo-clear-matches)
7152 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7153 (todo-current-category, todo-date-string-matcher)
7154 (todo-define-insertion-command, todo-diary-expired-matcher)
7155 (todo-diary-goto-entry, todo-diary-item-p)
7156 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7157 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7158 (todo-done-item-section-p, todo-done-separator)
7159 (todo-done-string-matcher, todo-files, todo-filter-items)
7160 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7161 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7162 (todo-insert-category-line, todo-insert-item-from-calendar)
7163 (todo-insert-sort-button, todo-insert-with-overlays)
7164 (todo-insertion-command-name, todo-insertion-key-bindings)
7165 (todo-label-to-key, todo-longest-category-name-length)
7166 (todo-make-categories-list, todo-mode-external-set)
7167 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7168 (todo-modes-set-3, todo-multiple-filter-files)
7169 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7170 (todo-read-category, todo-read-date, todo-read-dayname)
7171 (todo-read-file-name, todo-read-time)
7172 (todo-reevaluate-category-completions-files-defcustom)
7173 (todo-reevaluate-default-file-defcustom)
7174 (todo-reevaluate-filelist-defcustoms)
7175 (todo-reevaluate-filter-files-defcustom)
7176 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7177 (todo-reset-done-separator, todo-reset-done-separator-string)
7178 (todo-reset-done-string, todo-reset-global-current-todo-file)
7179 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7180 (todo-reset-prefix, todo-set-categories)
7181 (todo-set-date-from-calendar, todo-set-show-current-file)
7182 (todo-set-top-priorities, todo-short-file-name)
7183 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7184 (todo-total-item-counts, todo-update-buffer-list)
7185 (todo-update-categories-display, todo-update-categories-sexp)
7186 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7188 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7190 (todo-categories, todo-display, todo-edit, todo-faces)
7191 (todo-filtered): New defgroups.
7192 (todo-archived-only, todo-button, todo-category-string, todo-date)
7193 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7194 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7195 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7196 (todo-add-item-if-new-category, todo-always-add-time-string)
7197 (todo-categories-align, todo-categories-archived-label)
7198 (todo-categories-category-label, todo-categories-diary-label)
7199 (todo-categories-done-label, todo-categories-number-separator)
7200 (todo-categories-todo-label, todo-categories-totals-label)
7201 (todo-category-completions-files, todo-completion-ignore-case)
7202 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7203 (todo-done-separator-string, todo-done-string)
7204 (todo-files-function, todo-filter-done-items, todo-filter-files)
7205 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7206 (todo-initial-category, todo-initial-file, todo-item-mark)
7207 (todo-legacy-date-time-regexp, todo-mode-line-function)
7208 (todo-nondiary-marker, todo-number-prefix)
7209 (todo-print-buffer-function, todo-show-current-file)
7210 (todo-show-done-only, todo-show-first, todo-show-with-done)
7211 (todo-skip-archived-categories, todo-top-priorities-overrides)
7212 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7213 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7215 (todo-category-done, todo-date-pattern, todo-date-string-start)
7216 (todo-diary-items-buffer, todo-done-string-start)
7217 (todo-filtered-items-buffer, todo-item-start)
7218 (todo-month-abbrev-array, todo-month-name-array)
7219 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7220 (todo-top-priorities-buffer): New defconsts.
7221 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7222 (todo-categories-with-marks, todo-category-string-face)
7223 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7224 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7225 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7226 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7227 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7228 (todo-font-lock-keywords, todo-global-current-todo-file)
7229 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7230 (todo-insertion-commands-args)
7231 (todo-insertion-commands-args-genlist)
7232 (todo-insertion-commands-names, todo-insertion-map)
7233 (todo-key-bindings-t, todo-key-bindings-t+a)
7234 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7235 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7236 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7237 (todo-visited): New variables.
7239 2013-06-21 Glenn Morris <rgm@gnu.org>
7241 * play/cookie1.el (cookie-apropos): Add optional display argument.
7242 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7243 (psychoanalyze-pinhead): Use cookie-doctor.
7245 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7247 * emacs-lisp/package.el (tar-get-file-descriptor)
7248 (tar--extract): Declare.
7250 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7252 Extend flymake's warning predicate to be a function (bug#14217).
7253 * progmodes/flymake.el (flymake-warning-predicate): New.
7254 (flymake-parse-line): Use it.
7255 (flymake-warning-re): Make obsolete alias to
7256 `flymake-warning-predicate'.
7258 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7260 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7261 (package-obsolete-list): Remove.
7262 (package-activate): Remove min-version argument. Add `force' argument.
7263 Adjust to new package-alist format.
7264 (package-mark-obsolete): Remove.
7265 (package-unpack): Force reload of the package's autoloads.
7266 (package-installed-p): Check builtins if the installed package is not
7268 (package-initialize): Don't reset package-obsolete-list.
7269 Don't specify which package version to activate.
7270 (package-process-define-package, describe-package-1)
7271 (package-menu--generate): Adjust to new package-alist format.
7273 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7275 * allout-widgets.el (allout-widgets-mode-off)
7276 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7277 (allout-widgets-post-command-business)
7278 (allout-widgets-after-copy-or-kill-function)
7279 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7280 (allout-decorate-item-and-context)
7281 (allout-graphics-modification-handler): Fix typos in docstrings.
7282 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7284 * cmuscheme.el (scheme-start-file): Doc fix.
7285 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7286 (scheme-input-filter): Use `string-match-p'.
7288 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7290 * dired-x.el: Use Dired consistently in docstrings.
7292 * dired.el: Use Dired consistently in docstrings.
7293 (dired-readin, dired-mode): Use `setq-local'.
7294 (dired-switches-alist): Make defvar-local.
7295 (dired-buffers-for-dir): Use `zerop'.
7296 (dired-safe-switches-p, dired-switches-escape-p)
7297 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7298 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7299 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7300 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7301 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7302 (dired-toggle-marks, dired-mark-files-containing-regexp)
7303 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7304 (dired-flag-auto-save-files, dired-flag-backup-files):
7306 (dired-mark-files-regexp, dired-build-subdir-alist):
7307 Use `string-match-p', `looking-at-p'.
7309 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7310 (direct-print-region-helper): Use `string-match-p'.
7312 2013-06-21 Leo Liu <sdl.web@gmail.com>
7314 * comint.el (comint-redirect-results-list-from-process):
7317 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7319 * net/eww.el (eww-update-header-line-format): Quote % characters.
7321 2013-06-21 Glenn Morris <rgm@gnu.org>
7323 * play/cookie1.el (cookie): New custom group.
7324 (cookie-file): New option.
7325 (cookie-check-file): New function.
7326 (cookie): Make it interactive. Make start and end messages optional.
7327 Interactively, display the result. Default to cookie-file.
7328 (cookie-insert): Default to cookie-file.
7329 (cookie-snarf): Make start and end messages optional.
7330 Default to cookie-file. Use with-temp-buffer.
7331 (cookie-read): Rename from read-cookie.
7332 Make start and end messages optional. Default to cookie-file.
7333 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7335 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7336 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7338 2013-06-21 Leo Liu <sdl.web@gmail.com>
7340 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7342 2013-06-21 Glenn Morris <rgm@gnu.org>
7344 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7346 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7347 Daniel Hackney <dan@haxney.org>
7349 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7350 Consolidate the single-file vs tarball code.
7351 (package-desc-suffix): New function.
7352 (package-desc-full-name): Don't bother inlining it.
7353 (package-load-descriptor): Return the new package-desc.
7354 (package-mark-obsolete): Remove unused arg `package'.
7355 (package-unpack): Make it work for single files as well.
7356 Make it update package-alist.
7357 (package--make-autoloads-and-stuff): Rename from
7358 package--make-autoloads-and-compile. Don't compile any more.
7359 (package--compile): New function.
7360 (package-generate-description-file): New function, extracted from
7361 package-unpack-single.
7362 (package-unpack-single): Remove.
7363 (package--with-work-buffer): Add indentation and debugging info.
7364 (package-download-single): Remove.
7365 (package-install-from-archive): Rename from package-download-tar, make
7366 it take a pkg-desc, and make it work for single files as well.
7367 (package-download-transaction): Simplify.
7368 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7369 external tar program.
7370 (package-install-from-buffer): Remove `pkg-desc' argument.
7371 Use package-tar-file-info for tar-mode buffers.
7372 (package-install-file): Simplify accordingly.
7373 (package-archive-base): Change to take a pkg-desc.
7374 * tar-mode.el (tar--check-descriptor): New function, extracted from
7376 (tar-get-descriptor): Use it.
7377 (tar-get-file-descriptor): New function.
7378 (tar--extract): New function, extracted from tar-extract.
7379 (tar--extract): Use it.
7380 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7381 case the summary uses non-ascii. Adjust to new calling convention of
7382 package-tar-file-info.
7384 2013-06-21 Leo Liu <sdl.web@gmail.com>
7386 * comint.el (comint-redirect-results-list-from-process):
7387 Fix random delay. (Bug#14681)
7389 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7391 * profiler.el (profiler-format-number): Use log, not log10.
7393 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7395 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7397 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7399 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7400 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7402 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7403 (AUTOGENEL): ... here.
7404 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7405 (cl--defsubst-expand): Use it.
7407 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7409 * subr.el (log10): Move here from C code, and declare as obsolete.
7410 All uses of (log10 X) replaced with (log X 10).
7412 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7414 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7415 Declare with `defvar-local'.
7416 (tabulated-list-use-header-line, tabulated-list-entries)
7417 (tabulated-list-padding, tabulated-list-printer)
7418 (tabulated-list-sort-key): Declare with `defvar-local'.
7419 (tabulated-list-init-header, tabulated-list-print-fake-header):
7422 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7424 * arc-mode.el (archive-mode): Add `archive-write-file' to
7425 `write-contents-functions' also for remote files. (Bug#14652)
7427 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7429 * cus-edit.el (custom-commands): Fix typos.
7430 (custom-display): Fix tooltip text.
7431 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7432 Fix typos in docstrings.
7433 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7434 (custom-unlispify-menu-entry, custom-magic-value-create)
7435 (custom-add-see-also, custom-group-value-create): Use ?\s.
7436 (custom-guess-type, customize-apropos, editable-field)
7437 (custom-face-value-create): Use `string-match-p'.
7438 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7440 * custom.el (custom-load-symbol): Use `string-match-p'.
7442 * ansi-color.el: Convert to lexical binding.
7443 (ansi-colors): Fix URL.
7444 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7445 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7446 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7448 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7450 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7452 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7454 2013-06-19 Tom Tromey <tromey@redhat.com>
7456 * net/eww.el (eww-top-url): Remove.
7457 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7458 (eww-render): Set new variables. Don't set eww-top-url.
7459 (eww-handle-link): Handle "prev", "home", and "contents".
7460 Downcase the rel text.
7461 (eww-top-url): Choose best top URL.
7463 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7465 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7466 relying in widget.el. Using widget.el leads to too many
7467 user interface inconsistencies.
7468 (eww-self-insert): Implement entering commands in text fields.
7469 (eww-process-text-input): New function to make text input field editing
7471 (eww-submit): Rewrite to use the new-style form methods.
7472 (eww-select-display): Display the correct selected item.
7473 (eww-change-select): Implement changing the select value.
7474 (eww-toggle-checkbox): Implement radio/checkboxes.
7475 (eww-update-field): Fix compilation error.
7476 (eww-tag-textarea): Implement <textarea>.
7478 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7479 we don't shadow mode-specific bindings.
7481 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7484 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7486 2013-06-19 Glenn Morris <rgm@gnu.org>
7488 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7490 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7492 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7495 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7497 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7499 * net/browse-url.el (browse-url-browser-function):
7500 `eww-browse-url' has the right calling signature, `eww' does not.
7502 2013-06-19 Glenn Morris <rgm@gnu.org>
7504 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7505 Only eval autoloaded macros.
7506 (byte-compile-autoload): Only give the macro warning for macros.
7508 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7509 (ps-underlined-faces): Declare.
7511 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7512 (speedbar-add-supported-extension): Declare.
7514 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7515 Don't include a date stamp in the header of the generated file;
7516 it leads to needless differences between output files.
7518 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7520 * net/secrets.el (secrets-struct-secret-content-type):
7521 Replace check of introspection data by a test call of "CreateItem".
7522 Some servers do not offer introspection.
7524 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7526 * electric.el (electric-pair-mode): Improve interaction with
7527 electric-layout-mode.
7528 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7529 (electric-pair-syntax): Use text-mode-syntax-table in comments
7531 (electric-pair--insert): New function.
7532 (electric-pair-post-self-insert-function): Use it and
7533 electric--after-char-pos.
7535 2013-06-19 Leo Liu <sdl.web@gmail.com>
7537 * progmodes/octave.el (octave-help): Fix regexp.
7539 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7541 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7542 (shr-table-horizontal-line): Allow nil as a value, and change the
7544 (shr-insert-table-ruler): Respect the nil value.
7546 2013-06-18 Tom Tromey <tromey@barimba>
7548 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7550 (eww-open-file): New defun.
7551 (eww-render): Initialize new variables.
7552 (eww-display-html): Handle "link" and "a".
7553 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7554 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7555 (eww-back-url): Rename from eww-previous-url.
7556 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7559 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7561 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7562 Distinguish ternary operator tokens from slash symbol and slash
7565 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7567 Convert symbol prettification into minor mode and global minor mode.
7569 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7570 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7571 (prettify-symbols--keywords): Rename from
7572 `prog-prettify-symbols-alist' and make a local defvar.
7573 (prettify-symbols--compose-symbol): Rename from
7574 `prog--prettify-font-lock-compose-symbol'.
7575 (prettify-symbols--make-keywords): Rename from
7576 `prog-prettify-font-lock-symbols-keywords' and simplify.
7577 (prog-prettify-install): Remove.
7578 (prettify-symbols-mode): New minor mode, based on
7579 `prog-prettify-install'.
7580 (turn-on-prettify-symbols-mode): New function.
7581 (global-prettify-symbols-mode): New globalized minor mode.
7583 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7584 * progmodes/cfengine.el (cfengine3-mode):
7585 * progmodes/perl-mode.el (perl-mode): Don't call
7586 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7588 2013-06-18 Juri Linkov <juri@jurta.org>
7590 * files-x.el (modify-file-local-variable-message): New function.
7591 (modify-file-local-variable)
7592 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7593 and call `modify-file-local-variable-message' when it's non-nil.
7594 (add-file-local-variable, delete-file-local-variable)
7595 (add-file-local-variable-prop-line)
7596 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7597 and use it. (Bug#9820)
7599 2013-06-18 Juri Linkov <juri@jurta.org>
7601 * emulation/vi.el (vi-shell-op):
7602 * emulation/vip.el (vip-execute-com, ex-command):
7603 * emulation/viper-cmd.el (viper-exec-bang):
7604 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7605 the call of `shell-command-on-region'. (Bug#14637)
7607 * simple.el (shell-command-on-region): Doc fix.
7609 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7611 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7614 2013-06-18 Glenn Morris <rgm@gnu.org>
7616 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7618 * newcomment.el (comment-search-forward, comment-search-backward):
7619 Doc fix. (Bug#14376)
7621 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7623 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7624 (buffer-face-mode-invoke): Doc fix.
7626 2013-06-18 Matthias Meulien <orontee@gmail.com>
7628 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7629 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7631 2013-06-18 Glenn Morris <rgm@gnu.org>
7633 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7634 Replace obsolete function generic-make-keywords with its expansion.
7636 * progmodes/python.el (ffap-alist): Declare.
7638 * textmodes/reftex.el (bibtex-mode-map): Declare.
7640 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7642 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7643 (package-unpack, package-unpack-single): Return the pkg-dir.
7644 (package-download-transaction): Use it to update package-alist.
7646 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7648 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7651 2013-06-17 Juri Linkov <juri@jurta.org>
7653 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7655 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7657 * emacs-lisp/package.el (package-load-descriptor):
7658 Remove `with-syntax-table' call, `read' doesn't need it.
7659 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7661 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7663 * startup.el (command-line): Expand package name returned by
7664 `package--description-file' (bug#14639).
7666 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7668 * emacs-lisp/package.el (package-load-descriptor): Do not call
7669 `emacs-lisp-mode', just use its syntax table.
7671 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7673 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7674 `font-lock-extra-managed-props' if any prettifying keyword is added.
7675 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7676 (prog-mode): Use `setq-local'.
7678 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7680 * international/characters.el (standard-case-table): Set syntax of ?»
7681 and ?« to punctuation.
7683 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7685 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7686 Save relevant match data before calling `syntax-ppss' (bug#14595).
7688 2013-06-15 Juri Linkov <juri@jurta.org>
7690 * files-x.el (modify-file-local-variable-prop-line): Add local
7691 variables to the end of the existing comment on the first line.
7692 Use `file-auto-mode-skip' to skip interpreter magic line,
7693 and also skip XML declaration.
7695 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7697 * startup.el (package--builtin-versions): New var.
7698 (package-subdirectory-regexp): Remove.
7699 (package--description-file): Hard code its value instead.
7701 * emacs-lisp/package.el: Don't activate packages older than builtin.
7702 (package-obsolete-list): Rename from package-obsolete-alist, and make
7703 it into a simple list of package-desc.
7704 (package-strip-version): Remove.
7705 (package-built-in-p): Use package--builtin-versions.
7706 (package-mark-obsolete): Simplify.
7707 (package-process-define-package): Mark it obsolete if older than the
7709 (package-handle-response): Use line-end-position.
7710 (package-read-archive-contents, package--download-one-archive):
7712 (package--add-to-archive-contents): Skip if older than the builtin or
7714 (package-menu-describe-package): Fix last change.
7715 (package-list-unversioned): New var.
7716 (package-menu--generate): Use it.
7718 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7719 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7720 (autoload-builtin-package-versions): New variable.
7721 (autoload-generate-file-autoloads): Use them.
7722 Remove the list of autoloaded functions/macros from the
7723 (autoload...) comments.
7725 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7727 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7729 * simple.el (line-move-partial): Don't jump to the next screen
7730 line as soon as it becomes visible. Instead, continue enlarging
7731 the vscroll until the portion of a tall screen line that's left on
7732 display is about the height of the frame's default font.
7735 2013-06-15 Glenn Morris <rgm@gnu.org>
7737 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7738 compilation-error-regexp-alist void, or local while let-bound.
7740 * progmodes/make-mode.el (makefile-mode-syntax-table):
7741 Treat "=" as punctuation. (Bug#14614)
7743 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7745 * help-fns.el (describe-variable):
7746 Add extra line for permanent-local variables.
7748 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7750 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7751 Add export, import, library. (Bug#9164)
7752 (library): Set indent function.
7754 2013-06-14 Glenn Morris <rgm@gnu.org>
7756 * term/xterm.el (xterm--query):
7757 Stop after first matching handler. (Bug#14615)
7759 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7761 Add support for dired in saveplace.
7762 * dired.el (dired-initial-position-hook): New variable.
7763 (dired-initial-position): Call hook to place cursor position.
7764 * saveplace.el (save-place-to-alist): Add dired position.
7765 (save-place-dired-hook): New function.
7767 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7769 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7770 through a symbol rather than letrec.
7772 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7773 (package-desc): Add `dir' field.
7774 (package-desc-full-name): New function.
7775 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7776 (package-maybe-load-descriptor): Remove.
7777 (package-load-all-descriptors): Just call package-load-descriptor.
7778 (package--disabled-p): New function.
7779 (package-desc-vers, package-desc-doc): Remove aliases.
7780 (package--dir): Remove function.
7781 (package-activate): Check if a package is disabled.
7782 (package-process-define-package): New function, extracted from
7784 (define-package): Turn into a place holder.
7785 (package-unpack-single, package-tar-file-info):
7786 Use package--description-file.
7787 (package-compute-transaction): Use package--disabled-p.
7788 (package-download-transaction): Don't call
7789 package-maybe-load-descriptor since they're all loaded anyway.
7790 (package-install): Change argument to be a pkg-desc.
7791 (package-delete): Use a single pkg-desc argument.
7792 (describe-package-1): Use package-desc-dir instead of package--dir.
7793 Use package-desc property instead of package-symbol.
7794 (package-install-button-action): Adjust accordingly.
7795 (package--push): Rewrite.
7796 (package-menu--print-info): Adjust accordingly. Change the ID format
7798 (package-menu-describe-package, package-menu-get-status)
7799 (package-menu--find-upgrades, package-menu-mark-upgrades)
7800 (package-menu-execute, package-menu--name-predicate):
7802 * startup.el (package--description-file): New function.
7803 (command-line): Use it.
7804 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7805 Use package-desc-version.
7807 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7808 (byte-compile-preprocess): Use it.
7809 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7810 can't quite recognize.
7811 (byte-compile-add-to-list): Remove.
7812 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7813 (cconv-closure-convert): Add assertion.
7815 * emacs-lisp/map-ynp.el: Use lexical-binding.
7816 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7817 Factor out some repeated code.
7819 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7821 * subr.el (with-eval-after-load): New macro.
7822 (eval-after-load): Allow form to be a function.
7823 take advantage of lexical-binding.
7824 (do-after-load-evaluation): Use dolist and adjust to new format.
7825 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7827 2013-06-13 Juri Linkov <juri@jurta.org>
7829 * replace.el (perform-replace): Display "symbol " and other search
7830 modes from `isearch-message-prefix' in the *Help* buffer.
7832 * isearch.el (isearch-query-replace): Add " symbol" and other
7833 possible search modes from `isearch-message-prefix' to the prompt.
7834 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7835 when reading a regexp to collect.
7837 2013-06-13 Juri Linkov <juri@jurta.org>
7839 * isearch.el (word-search-regexp): Match whitespace if the search
7840 string begins or ends in whitespace. The LAX arg is applied to
7841 both ends of the search string. Use `regexp-quote' and explicit
7842 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7843 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7844 boundaries are replaced with symbol boundaries, and characters
7845 between symbols match non-word non-symbol syntax. (Bug#14602)
7847 2013-06-13 Juri Linkov <juri@jurta.org>
7849 * isearch.el (isearch-del-char): Don't exceed the length of
7850 `isearch-string' by the prefix arg. (Bug#14563)
7852 2013-06-13 Juri Linkov <juri@jurta.org>
7854 * isearch.el (isearch-yank-word, isearch-yank-line)
7855 (isearch-char-by-name, isearch-quote-char)
7856 (isearch-printing-char, isearch-process-search-char):
7857 Add optional count prefix arg. (Bug#14563)
7859 * international/isearch-x.el
7860 (isearch-process-search-multibyte-characters):
7861 Add optional count prefix arg.
7863 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7865 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7866 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7869 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7871 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7873 2013-06-13 Glenn Morris <rgm@gnu.org>
7875 * startup.el (tty-handle-args):
7876 Don't just discard "--" and anything after. (Bug#14608)
7878 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7880 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7882 Implement changes in Secret Service API. Make it backward compatible.
7883 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7884 (secrets-create-item): Use it. Prefix properties with interface.
7886 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7888 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7889 (term-emulate-terminal): Respect term-suppress-hard-newline.
7891 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7893 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7894 Only remove a `thumb-file' overlay. (Bug#14548)
7896 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7898 * mail/reporter.el (reporter-submit-bug-report):
7899 Handle missing package-name. (Bug#14600)
7901 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7903 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7904 (reftex-citation-prompt, reftex-default-bibliography)
7905 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7906 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7907 (reftex-bib-sort-author, reftex-bib-sort-year)
7908 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7909 (reftex-extract-bib-entries-from-thebibliography)
7910 (reftex-get-bibkey-default, reftex-get-bib-names)
7911 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7912 (reftex-format-bib-entry, reftex-parse-bibitem)
7913 (reftex-format-bibitem, reftex-do-citation)
7914 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7915 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7916 (reftex-insert-bib-matches, reftex-format-citation)
7917 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7918 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7919 existing comments into docstrings.
7921 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7923 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7925 2013-06-12 Andreas Schwab <schwab@suse.de>
7927 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7928 for auto-save files.
7930 2013-06-12 Glenn Morris <rgm@gnu.org>
7932 * ido.el (ido-delete-ignored-files): Remove.
7933 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7934 Go back to calling ido-ignore-item-p directly.
7936 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7938 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7940 * ido.el (ido-delete-ignored-files): New function,
7941 split from ido-make-file-list-1.
7942 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7943 (ido-make-file-list-1): Use ido-delete-ignored-files.
7945 2013-06-12 Leo Liu <sdl.web@gmail.com>
7947 * progmodes/octave.el (inferior-octave-startup)
7948 (inferior-octave-completion-table)
7949 (inferior-octave-track-window-width-change)
7950 (octave-eldoc-function-signatures, octave-help)
7951 (octave-find-definition): Use single quoted strings.
7952 (inferior-octave-startup-args): Change default value.
7953 (inferior-octave-startup): Do not hard code "-i" and
7954 "--no-line-editing".
7955 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7956 (inferior-octave-directory-tracker): Use it.
7957 (octave-goto-function-definition): Robustify.
7958 (octave-help): Support highlighting operators in 'See also'.
7959 (octave-find-definition): Find subfunctions only in Octave mode.
7961 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7963 * help-fns.el (help-fns--compiler-macro): If the handler function is
7964 named, then put a link to it.
7965 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7966 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7968 (cl-eval-when): Simplify debug spec.
7969 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7970 compiler-macro function instead of setting `compiler-macro-file'.
7972 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7974 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7975 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7977 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7978 Daniel Hackney <dan@haxney.org>
7980 First part of Daniel Hackney's patch to package.el.
7981 * emacs-lisp/package.el: Use defstruct.
7982 (package-desc): New, main struct.
7983 (package--bi-desc, package--ac-desc): New structs, used to describe the
7984 format in external files.
7985 (package-desc-vers): Replace with package-desc-version accessor.
7986 (package-desc-doc): Replace with package-desc-summary accessor.
7987 (package-activate-1): Remove `package' arg since the pkg-vec now
7989 (define-package): Use package-desc-from-define.
7990 (package-unpack-single): Change file-name arg to be a symbol.
7991 (package--add-to-archive-contents): Use package-desc-create and new
7992 accessor functions to package--ac-desc.
7993 (package-buffer-info, package-tar-file-info): Return a package-desc.
7994 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7995 arg to be a package-desc.
7996 (package-install-file): Adjust accordingly. Use \' to match EOS.
7997 (package--from-builtin): New function.
7998 (describe-package-1, package-menu--generate): Use it.
7999 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8000 (package-generate-autoloads): Idem and return the name of the file.
8001 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8002 Change pkg-info arg to be a package-desc.
8003 Use package-make-ac-desc.
8004 (package-upload-file): Use \' to match EOS.
8005 * finder.el (finder-compile-keywords): Use package-make-builtin.
8007 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8009 * vc/vc.el (vc-deduce-fileset): Change error message.
8010 (vc-read-backend): New function.
8011 (vc-next-action): Use it.
8013 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8015 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8016 (prolog-font-lock-keywords): Use regexp-opt instead.
8017 Don't manually highlight strings.
8018 (prolog-mode-variables): Simplify comment-start-skip.
8019 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8021 * emacs-lisp/generic.el (generic--normalise-comments)
8022 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8023 (generic-mode-set-comments): Use them.
8024 (generic-bracket-support): Use setq-local.
8025 (generic-make-keywords-list): Declare obsolete.
8027 2013-06-11 Glenn Morris <rgm@gnu.org>
8029 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8030 Prettify after setting font-lock-defaults. (Bug#14574)
8032 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8034 * replace.el (query-replace, occur-read-regexp-defaults-function)
8036 * subr.el (declare-function, number-sequence, local-set-key)
8037 (substitute-key-definition, locate-user-emacs-file)
8038 (with-silent-modifications, split-string, eval-after-load):
8039 Fix typos, remove unneeded backslashes and reflow some docstrings.
8041 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8043 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8044 default for Elisp files.
8046 2013-06-11 Glenn Morris <rgm@gnu.org>
8048 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8049 although define-derived-mode was doing this anyway. (Bug#14583)
8051 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8053 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8054 Fix make-variable-buffer-local call to refer to the correct variable.
8056 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8058 * eshell/em-term.el (eshell-visual-commands)
8059 (eshell-visual-subcommands, eshell-visual-options):
8060 Add summary line to docstrings. Add cross-references.
8062 2013-06-10 Glenn Morris <rgm@gnu.org>
8064 * epa.el (epa-read-file-name): New function. (Bug#14510)
8065 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8067 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8069 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8070 output redirection to be ignored with visual commands.
8072 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8074 * eshell/em-term.el (eshell-visual-command-p): New function.
8075 (eshell-term-initialize): Move long lambda to separate function
8076 eshell-visual-command-p.
8077 * eshell/em-dirs.el (eshell-dirs-initialise):
8078 * eshell/em-script.el (eshell-script-initialize):
8079 Add missing #' to lambda.
8081 2013-06-08 Leo Liu <sdl.web@gmail.com>
8083 * progmodes/octave.el (octave-add-log-current-defun): New function.
8084 (octave-mode): Set add-log-current-defun-function.
8085 (octave-goto-function-definition): Do not move point if not found.
8086 (octave-find-definition): Enhance to try subfunctions first.
8088 2013-06-08 Glenn Morris <rgm@gnu.org>
8090 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8091 (byte-compile-backward-char, byte-compile-backward-word):
8092 Improve previous change, to handle non-explicit nil.
8094 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8096 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8097 (smie--opener/closer-at-point): New function.
8098 (smie--matching-block-data): Use it. Don't match from right after an
8099 opener or right before a closer. Obey smie-blink-matching-inners.
8100 Don't signal a mismatch for repeated inners like "switch..case..case".
8102 2013-06-07 Leo Liu <sdl.web@gmail.com>
8104 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8106 (octave-function-header-regexp): Fix. (Bug#14570)
8107 (octave-help-mode-finish-hook, octave-help-mode-finish):
8108 Remove. Just use temp-buffer-show-hook.
8110 * newcomment.el (comment-search-backward): Revert last change.
8113 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8115 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8117 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8118 through xargs, to avoid failure due to MS-Windows limitations on
8119 command-line length.
8121 2013-06-06 Glenn Morris <rgm@gnu.org>
8123 * font-lock.el (lisp-font-lock-keywords-2):
8124 Treat user-error like error.
8126 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8127 (byte-compile-backward-char, byte-compile-backward-word):
8128 Handle explicit nil arguments. (Bug#14565)
8130 2013-06-05 Alan Mackenzie <acm@muc.de>
8132 * isearch.el (isearch-allow-prefix): New user option.
8133 (isearch-other-meta-char): Don't exit isearch when a prefix
8134 argument is typed whilst `isearch-allow-prefix' is non-nil.
8137 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8139 * autorevert.el (auto-revert-notify-handler): Use memq.
8140 Hide assertion failure.
8142 * skeleton.el: Use cl-lib.
8143 (skeleton-further-elements): Use defvar-local.
8144 (skeleton-insert): Use cl-progv.
8146 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8148 * progmodes/prog-mode.el (prog-prettify-symbols)
8149 (prog-prettify-install): Update docstrings.
8151 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8153 * simple.el: Move all the prog-mode code to prog-mode.el.
8154 * progmodes/prog-mode.el: New file.
8155 * loadup.el: Add prog-mode.el.
8157 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8159 * simple.el (prog-prettify-symbols): Add version.
8160 (prog-prettify-install): Add convenience function to prettify symbols.
8162 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8163 (perl--augmented-font-lock-keywords-1)
8164 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8165 variables and use it.
8167 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8168 (cfengine3-mode): Remove unneeded variable and use it.
8170 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8171 (lisp--augmented-font-lock-keywords-1)
8172 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8173 Remove unneeded variables and use it.
8175 2013-06-05 João Távora <joaotavora@gmail.com>
8177 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8178 to point when opening the connection. (Bug#14380)
8180 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8182 * subr.el (load-history-regexp, load-history-filename-element)
8183 (eval-after-load, after-load-functions, do-after-load-evaluation)
8184 (eval-next-after-load, display-delayed-warnings)
8185 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8186 definition of save-match-data.
8187 (overriding-local-map): Remove accidental obsolescence declaration.
8189 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8191 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8193 Generalize symbol prettify support to prog-mode and implement it
8194 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8195 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8196 (prog--prettify-font-lock-compose-symbol)
8197 (prog-prettify-font-lock-symbols-keywords): New variables and
8198 functions to support symbol prettification.
8199 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8200 (lisp--augmented-font-lock-keywords-1)
8201 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8202 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8203 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8204 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8205 Implement prettify of -> => :: strings.
8206 * progmodes/perl-mode.el (perl-prettify-symbols)
8207 (perl--font-lock-compose-symbol)
8208 (perl--font-lock-symbols-keywords): Move to prog-mode.
8209 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8210 (perl-font-lock-keywords-1)
8211 (perl-font-lock-keywords-2): Remove explicit prettify support.
8212 (perl--augmented-font-lock-keywords)
8213 (perl--augmented-font-lock-keywords-1)
8214 (perl--augmented-font-lock-keywords-2, perl-mode):
8215 Implement prettify support.
8217 2013-06-05 Leo Liu <sdl.web@gmail.com>
8219 Re-implement smie matching block highlight using
8220 show-paren-data-function. (Bug#14395)
8221 * emacs-lisp/smie.el (smie-matching-block-highlight)
8222 (smie--highlight-matching-block-overlay)
8223 (smie--highlight-matching-block-lastpos)
8224 (smie-highlight-matching-block)
8225 (smie-highlight-matching-block-mode): Remove.
8226 (smie--matching-block-data-cache): New variable.
8227 (smie--matching-block-data): New function.
8228 (smie-setup): Use smie--matching-block-data for
8229 show-paren-data-function.
8231 * progmodes/octave.el (octave-mode-menu): Fix.
8232 (octave-find-definition): Skip garbage lines.
8234 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8236 Fix compilation error with simultaneous dynamic+lexical scoping.
8237 Add warning when a defvar appears after the first let-binding.
8238 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8239 (byte-compile-close-variables): Initialize it.
8240 (byte-compile--declare-var): New function.
8241 (byte-compile-file-form-defvar)
8242 (byte-compile-file-form-define-abbrev-table)
8243 (byte-compile-file-form-custom-declare-variable): Use it.
8244 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8245 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8246 (byte-compile-bind): Handle dynamic bindings that shadow
8248 (byte-compile-unbind): Make arg non-optional.
8249 (byte-compile-let): Simplify.
8250 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8251 (cconv--analyse-function, cconv-analyse-form): Populate it.
8252 Protect byte-compile-bound-variables to limit the scope of defvars.
8253 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8254 Remove unneeded rule for `declare'.
8256 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8257 so as to avoid depending on cl-adjoin at run-time.
8258 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8260 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8261 (macroexp--warn-and-return): Use it.
8263 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8265 * lisp/subr.el: Convert to lexical binding.
8266 (overriding-local-map): Make obsolete.
8267 (add-to-list): Doc fix. Add compiler macro.
8268 (read-key): Swap values of local maps.
8270 2013-06-05 Leo Liu <sdl.web@gmail.com>
8272 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8274 2013-06-04 Leo Liu <sdl.web@gmail.com>
8276 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8277 (compilation-auto-jump): Suppress the "Mark set" message to give
8278 way to exit message.
8280 2013-06-04 Alan Mackenzie <acm@muc.de>
8282 Remove faulty optimisation from indentation calculation.
8283 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8284 search limit based on 2000 characters back from indent-point.
8286 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8288 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8290 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8292 * emacs-lisp/lisp.el: Use lexical-binding.
8293 (lisp--local-variables-1, lisp--local-variables): New functions.
8294 (lisp--local-variables-completion-table): New var.
8295 (lisp-completion-at-point): Use it complete let-bound vars.
8297 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8298 eagerly (bug#14422).
8300 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8302 * autorevert.el (auto-revert-notify-enabled)
8303 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8304 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8305 (auto-revert-notify-handler): Handle also gfilenotify.
8307 * subr.el (file-notify-handle-event): New defun. Replacing ...
8308 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8311 2013-06-03 Juri Linkov <juri@jurta.org>
8313 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8314 `M-s h .'. (Bug#14427)
8316 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8317 command `hi-lock-face-symbol-at-point'.
8318 (hi-lock-face-symbol-at-point): New command.
8319 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8320 (hi-lock-menu): Add `highlight-symbol-at-point'.
8321 (hi-lock-mode): Doc fix.
8323 * isearch.el (isearch-forward-symbol-at-point): New command.
8324 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8325 (isearch-highlight-regexp): Add a regexp which matches
8326 words/symbols for word/symbol mode.
8328 * subr.el (find-tag-default-bounds): New function with the body
8329 mostly moved from `find-tag-default'.
8330 (find-tag-default): Move most code to `find-tag-default-bounds',
8331 call it and apply `buffer-substring-no-properties' afterwards.
8333 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8335 * eshell/em-term.el (eshell-term-initialize):
8336 Use `cl-intersection' rather than `intersection'.
8338 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8340 * vc/log-view.el: Doc fix.
8341 (log-view-mode-map): Copy keymap from `special-mode-map'.
8343 2013-06-02 Eric Ludlam <zappo@gnu.org>
8345 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8346 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8347 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8348 (eieio-unbound, eieio-default-superclass)
8349 (eieio--define-field-accessors, method-static, method-before)
8350 (method-primary, method-after, method-num-lists)
8351 (method-generic-before, method-generic-primary)
8352 (method-generic-after, method-num-slots)
8353 (eieio-specialized-key-to-generic-key)
8354 (eieio--check-type, class-v, class-p)
8355 (eieio-class-name, define-obsolete-function-alias)
8356 (eieio-class-parents-fast, eieio-class-children-fast)
8357 (same-class-fast-p, class-constructor, generic-p)
8358 (generic-primary-only-p, generic-primary-only-one-p)
8359 (class-option-assoc, class-option, eieio-object-p)
8360 (class-abstract-p, class-method-invocation-order)
8361 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8362 (eieio-class-un-autoload, eieio-defclass)
8363 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8364 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8365 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8366 (eieio-defgeneric-reset-generic-form)
8367 (eieio-defgeneric-form-primary-only)
8368 (eieio-defgeneric-reset-generic-form-primary-only)
8369 (eieio-defgeneric-form-primary-only-one)
8370 (eieio-defgeneric-reset-generic-form-primary-only-one)
8371 (eieio-unbind-method-implementations)
8372 (eieio--defmethod, eieio--typep)
8373 (eieio-perform-slot-validation, eieio-validate-slot-value)
8374 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8375 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8376 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8377 (eieio-slot-name-index, eieio-class-slot-name-index)
8378 (eieio-set-defaults, eieio-initarg-to-attribute)
8379 (eieio-attribute-to-initarg, eieio-c3-candidate)
8380 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8381 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8382 (eieio-class-precedence-list, eieio-generic-call-methodname)
8383 (eieio-generic-call-arglst, eieio-generic-call-key)
8384 (eieio-generic-call-next-method-list)
8385 (eieio-pre-method-execution-functions, eieio-generic-call)
8386 (eieio-generic-call-primary-only, eieiomt-method-list)
8387 (eieiomt-optimizing-obarray, eieiomt-install)
8388 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8389 (eieio-generic-form, eieio-defmethod, make-obsolete)
8390 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8391 (defclass): Remove `eval-and-compile' from macro.
8392 (call-next-method, shared-initialize): Instead of using
8393 `scoped-class' variable, use new eieio--scoped-class, and
8394 eieio--with-scoped-class.
8395 (initialize-instance): Rename local variable 'scoped-class' to
8396 'this-class' to remove ambiguitity from old global.
8398 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8400 (eieio--scoped-class-stack): New variable.
8401 (eieio--scoped-class): New fcn.
8402 (eieio--with-scoped-class): New scoping macro.
8403 (eieio-defclass): Use pushnew instead of add-to-list.
8404 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8405 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8406 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8407 `scoped-class' variable, use new eieio--scoped-class, and
8408 eieio--with-scoped-class.
8410 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8412 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8414 * eshell/esh-ext.el (eshell-external-command): Pass args to
8415 `eshell-find-interpreter'.
8416 (eshell-find-interpreter): Add new second parameter ARGS.
8418 * eshell/em-script.el (eshell-script-initialize): Add second arg
8419 to the function added as MATCH to `eshell-interpreter-alist'.
8421 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8422 the function added as MATCH to `eshell-interpreter-alist'.
8424 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8425 (eshell-visual-options): New defcustom.
8426 (eshell-escape-control-x): Adapt docstring.
8427 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8428 `eshell-visual-options' in addition to `eshell-visual-commands'.
8429 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8431 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8433 * progmodes/python.el (python-indent-block-enders): Add break,
8434 continue and raise keywords.
8436 2013-06-01 Glenn Morris <rgm@gnu.org>
8438 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8440 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8441 * progmodes/cc-cmds.el (delete-forward-p):
8442 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8443 * progmodes/cc-engine.el (buffer-syntactic-context):
8444 * progmodes/cc-fonts.el (face-property-instance):
8445 * progmodes/cc-mode.el (set-keymap-parents):
8446 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8447 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8448 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8449 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8450 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8452 * progmodes/cc-vars.el (other): Emacs has this widget since
8453 at least 21.1, so don't (re)define it.
8455 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8456 Replace the obsolete alias pcomplete-arg-quote-list.
8458 2013-06-01 Leo Liu <sdl.web@gmail.com>
8460 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8462 (inferior-octave-minimal-columns)
8463 (inferior-octave-last-column-width): New variables.
8464 (inferior-octave-track-window-width-change): New function.
8465 (inferior-octave-mode): Adjust column width so that Octave output,
8466 for example from 'ls', can fit into the window nicely.
8468 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8470 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8471 Highlight expansions inside regexp literals.
8473 2013-05-31 Glenn Morris <rgm@gnu.org>
8475 * obsolete/sym-comp.el (symbol-complete):
8476 Replace obsolete completion-annotate-function.
8478 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8480 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8482 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8483 New function, checks if point is inside a literal that allows
8484 expression expansion.
8485 (ruby-syntax-propertize-expansion): Use it.
8486 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8489 2013-05-30 Juri Linkov <juri@jurta.org>
8491 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8493 (isearch-invisible): New variable.
8494 (isearch-forward): Doc fix.
8495 (isearch-mode): Set `isearch-invisible'
8496 to the value of `search-invisible'.
8497 (isearch-toggle-case-fold): Doc fix.
8498 (isearch-toggle-invisible): New command.
8499 (isearch-query-replace): Let-bind `search-invisible'
8500 to the value of `isearch-invisible'.
8501 (isearch-search): Use `isearch-invisible' instead of
8502 `search-invisible'. Let-bind `search-invisible'
8503 to the value of `isearch-invisible'. (Bug#11378)
8505 2013-05-30 Juri Linkov <juri@jurta.org>
8507 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8508 call when `query-flag' is nil and `search-invisible' is non-nil.
8511 2013-05-30 Glenn Morris <rgm@gnu.org>
8513 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8515 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8516 (cc-require): Suppress spurious "noruntime" warnings.
8517 (cc-require-when-compile): Use fboundp, for sake of compiler.
8519 * progmodes/cc-mode.el: Move load of cc-vars before that of
8520 cc-langs (which in turn loads cc-vars), to quieten compiler.
8522 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8524 * paren.el: Simplify the code.
8525 (show-paren-mode): Always start the timer.
8526 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8527 (show-paren--overlay, show-paren--overlay-1): Rename from
8528 show-paren-overlay and show-paren-overlay-1, and initialize to an
8529 overlay rather than to nil.
8530 (show-paren-function): Misc cleanup and simplifications.
8532 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8534 * paren.el (show-paren-data-function): New hook.
8535 (show-paren--default): New function, extracted from show-paren-function.
8536 (show-paren-function): Use show-paren-data-function.
8538 2013-05-30 Glenn Morris <rgm@gnu.org>
8540 * ielm.el (ielm-map, ielm-complete-symbol):
8541 Use completion-at-point rather than obsolete functions.
8542 (inferior-emacs-lisp-mode): Doc fix.
8543 Set completion-at-point-functions, rather than
8544 comint-dynamic-complete-functions.
8546 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8547 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8548 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8550 * image.el (image-animated-p): Tweak definition.
8552 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8553 (rlogin-process-connection-type): Tweak default. Add set-after.
8554 (rlogin-host): Doc fix.
8555 (rlogin): Tweak prompt.
8556 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8558 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8559 * progmodes/tcl.el (inferior-tcl-mode-map):
8560 Use completion-at-point rather than obsolete alias.
8562 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8564 * minibuffer.el (read-file-name-completion-ignore-case):
8565 Move before completion--in-region, for eager macro expansion.
8567 2013-05-29 Juri Linkov <juri@jurta.org>
8569 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8570 for total count of matching lines. Add `global-matches' for total
8571 count of matches. Rename `matches' to `lines' for count of
8572 matching lines. Add `matches' for count of matches.
8573 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8574 to `prev-line' for line number of prev match endpt.
8575 Increment `matches' for every match. Print the number of
8576 matching lines in the header.
8577 (occur-context-lines): Rename `lines' to `curr-line'.
8578 Rename `prev-lines' to `prev-line'. (Bug#14017)
8580 2013-05-29 Juri Linkov <juri@jurta.org>
8582 * replace.el (perform-replace): Add `skip-read-only-count',
8583 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8584 Increment them for corresponding conditions and report the number
8585 of skipped occurrences in the final message. (Bug#11746)
8586 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8587 (replace-string, replace-regexp): Doc fix.
8589 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8591 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8593 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8594 prog-mode-map (bug#14504).
8596 2013-05-29 Leo Liu <sdl.web@gmail.com>
8598 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8599 (octave-help): Small simplification.
8601 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8602 off the highlight first.
8604 2013-05-29 Glenn Morris <rgm@gnu.org>
8606 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8607 Handle idlwave-last-system-routine-info-cons-cell being nil.
8609 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8610 (idlwave-write-paths): Simplify via with-temp-buffer.
8612 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8613 * emulation/cua-rect.el: Also load cua-base at run time.
8615 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8616 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8617 (cperl-imenu-on-info): Require imenu.
8619 2013-05-28 Alan Mackenzie <acm@muc.de>
8621 Handle "capitalised keywords" correctly.
8622 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8624 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8626 * eshell/em-unix.el: Add -r option to cp.
8628 2013-05-28 Glenn Morris <rgm@gnu.org>
8630 * vc/vc-arch.el (vc-exec-after): Declare.
8631 (vc-switches): Autoload.
8632 * vc/vc-bzr.el: No need to require vc when compiling.
8633 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8634 (vc-resynch-buffer, vc-dir-refresh): Declare.
8635 (vc-setup-buffer, vc-switches): Autoload.
8636 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8637 (vc-resynch-buffer): Declare.
8638 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8639 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8640 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8641 (grep-read-regexp, grep-read-files, grep-expand-template)
8642 (vc-dir-refresh): Declare.
8643 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8644 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8645 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8646 * vc/vc-mtn.el (vc-exec-after): Declare.
8647 (vc-switches): Autoload.
8648 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8649 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8650 (vc-file-tree-walk): Declare.
8651 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8652 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8653 (vc-tag-precondition, vc-rename-master): Autoload.
8654 * vc/vc-svn.el (vc-exec-after): Declare.
8655 (vc-switches, vc-setup-buffer): Autoload.
8656 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8658 (vc-resynch-buffer): Declare.
8660 * obsolete/fast-lock.el (byte-compile-warnings):
8661 Don't warn about obsolete features in this obsolete file.
8663 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8664 Move definition before use.
8666 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8667 (dun-unix-verbs): Remove dun-zippy.
8668 (dun-zippy): Remove function.
8670 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8672 2013-05-27 Juri Linkov <juri@jurta.org>
8674 * replace.el (replace-search): New function with code moved out
8675 from `perform-replace'.
8676 (replace-highlight, replace-dehighlight): Move function definitions
8677 up closer to `replace-search'. (Bug#11746)
8679 2013-05-27 Juri Linkov <juri@jurta.org>
8681 * replace.el (perform-replace): Ignore invisible matches.
8682 In addition to checking `query-replace-skip-read-only', also
8683 filter out matches by calling `run-hook-with-args-until-failure'
8684 on `isearch-filter-predicates', and also check `search-invisible'
8685 for t or call `isearch-range-invisible'.
8686 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8688 2013-05-27 Juri Linkov <juri@jurta.org>
8690 * isearch.el (isearch-filter-predicates): Rename from
8691 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8692 (isearch-message-prefix): Display text from the property
8693 `isearch-message-prefix' of the currently active filters.
8694 (isearch-search): Don't compare `isearch-filter-predicate' with
8695 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8696 on `isearch-filter-predicates'. Also check `search-invisible' for t
8697 or call `isearch-range-invisible'.
8698 (isearch-filter-visible): Make obsolete.
8699 (isearch-lazy-highlight-search):
8700 Call `run-hook-with-args-until-failure' on
8701 `isearch-filter-predicates' and use `isearch-range-invisible'.
8703 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8704 `isearch-filter-predicates' instead of `funcall'ing
8705 `isearch-filter-predicate'.
8706 (Info-mode): Set `Info-isearch-filter' to
8707 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8709 * dired-aux.el (dired-isearch-filter-predicate-orig):
8711 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8712 (dired-isearch-filenames-end): Add and remove
8713 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8714 instead of changing the value of `isearch-filter-predicate'.
8715 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8716 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8717 Put property `isearch-message-prefix' to "filename " on
8718 `dired-isearch-filter-filenames'.
8720 * wdired.el (wdired-change-to-wdired-mode):
8721 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8722 locally instead of changing `isearch-filter-predicate'.
8723 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8725 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8727 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8728 return the commit hash (Bug#14459). Also set the
8729 `vc-git-detached' property.
8730 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8731 (vc-git-mode-line-string): Use the same help-echo format whether
8732 in detached mode or not, because we know the actual revision now.
8733 When in detached mode, shorten the revision to 7 chars.
8735 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8737 * emacs-lisp/easy-mmode.el (define-minor-mode):
8738 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8739 mode hook and provide a docstring.
8741 2013-05-27 Alan Mackenzie <acm@muc.de>
8743 Remove spurious syntax-table text properties inserted by C-y.
8744 * progmodes/cc-mode.el (c-after-change): Also clear hard
8745 syntax-table property with value nil.
8747 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8749 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8750 when reading the events; the buffer layout shall not be changed.
8752 2013-05-27 Leo Liu <sdl.web@gmail.com>
8754 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8756 (inferior-octave-directory-tracker): Automatically re-sync
8758 (octave-help): Improve handling of 'See also'.
8760 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8762 * doc-view.el: Minor naming convention tweaks.
8763 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8765 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8766 even if there's no `display' property yet (bug#14435).
8768 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8770 * subr.el (unmsys--file-name): Rename from reveal-filename.
8772 * Makefile.in (custom-deps, finder-data, autoloads)
8773 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8774 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8775 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8777 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8779 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8780 error-completion on the first 2 args of condition-case (bug#14446).
8783 2013-05-25 Leo Liu <sdl.web@gmail.com>
8785 * comint.el (comint-previous-matching-input): Do not flood the
8786 *Messages* buffer with trivial messages.
8788 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8790 * progmodes/flymake.el (flymake-nop): Don't return a string.
8791 (flymake-set-at): Fix typo.
8793 * simple.el (read--expression): New function, extracted from
8794 eval-expression. Set completion-at-point-functions (bug#14465).
8795 (eval-expression, eval-minibuffer): Use it.
8797 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8799 * progmodes/flymake.el (flymake-save-buffer-in-file)
8800 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8801 (flymake-selected-frame, flymake-log, flymake-ins-after)
8802 (flymake-set-at, flymake-get-buildfile-from-cache)
8803 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8804 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8805 Refine the doc string.
8806 (flymake-get-file-name-mode-and-masks): Reformat.
8807 (flymake-get-real-file-name-function): Fix a minor bug.
8809 2013-05-24 Juri Linkov <juri@jurta.org>
8811 * progmodes/grep.el (grep-mode-font-lock-keywords):
8812 Support =linenumber= format used by git-grep for lines with
8813 function names. (Bug#13549)
8815 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8817 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8818 0 after a semi-colon; it works better for smie-auto-fill.
8819 (octave--indent-new-comment-line): New function.
8820 (octave-indent-new-comment-line): Use it (indirectly).
8821 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8822 modify comment-line-break-function.
8824 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8825 (smie-setup): Use add-function to set it.
8827 2013-05-24 Sam Steingold <sds@gnu.org>
8829 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8830 argument (before the `interactive' argument).
8832 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8834 * image-mode.el (image-mode-winprops): Add winprops to
8835 image-mode-winprops-alist before running
8836 image-mode-new-window-functions.
8837 * doc-view.el (doc-view-new-window-function): Don't delay
8838 doc-view-goto-page via timers (bug#14435).
8840 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8842 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8843 (doc-view-desktop-save-buffer): New function.
8844 (doc-view-restore-desktop-buffer): New function.
8845 (desktop-buffer-mode-handlers):
8846 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8848 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8849 `desktop-save-buffer' function.
8851 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8853 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8854 (tramp-gvfs-file-name-handler): Raise a user error when
8855 `tramp-gvfs-enabled' is nil.
8856 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8857 Do not raise a user error when loading package. (Bug#14447)
8859 * net/xesam.el: Move to obsolete/.
8861 2013-05-24 Glenn Morris <rgm@gnu.org>
8863 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8865 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8867 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8868 (Info-find-node, Man-getpage-in-background): Declare.
8870 * mail/unrmail.el (unrmail):
8871 Replace obsolete detect-coding-with-priority.
8873 * net/socks.el (socks-split-string): Use this rather than split-string.
8874 (socks-nslookup-host): Update for above change.
8875 (dynamic-choice, s5-dynamic-choice-match)
8876 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8877 Comment out unused code.
8879 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8880 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8881 (gud-tooltip-echo-area): Make obsolete.
8882 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8884 * progmodes/js.el (js--optimize-arglist): Declare.
8886 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8888 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8889 (ediff-window-C): Declare.
8891 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8892 Tweak requires to silence compiler.
8894 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8895 (he-search-string, he-tried-table, he-expand-list)
8896 (he-init-string, he-string-member, he-substitute-string)
8897 (he-reset-string): Declare.
8899 * obsolete/options.el (list-options): Use custom-variable-p,
8900 rather than obsolete alias.
8902 2013-05-23 Sam Steingold <sds@gnu.org>
8904 * simple.el (shell-command-on-region): Pass the `replace' argument
8905 down to `call-process-region' to comply with the doc as reported on
8906 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8908 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8910 * emacs-lisp/smie.el (smie-indent-forward-token)
8911 (smie-indent-backward-token): Handle string tokens (bug#14381).
8913 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8915 * ielm.el (ielm-menu): New menu.
8916 (inferior-emacs-lisp-mode): Set comment-start.
8918 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8920 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8921 Fix deactivate action.
8923 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8924 Add cleveref macros.
8926 * lisp/textmodes/reftex-parse.el
8927 (reftex-locate-bibliography-files): Accept options for
8928 bibliography commands.
8929 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8930 Add addbibresource. Basic Biblatex support.
8932 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8934 * net/tramp-gvfs.el (top):
8935 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8936 when loading package. (Bug#14447)
8938 2013-05-23 Glenn Morris <rgm@gnu.org>
8940 * progmodes/js.el: No need to load comint when compiling.
8941 (ring-insert, comint-send-string, comint-send-input)
8942 (comint-last-input-end, ido-chop): Declare.
8944 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8945 * vc/ediff-mult.el: Adjust requires.
8946 (ediff-directories-internal, ediff-directory-revisions-internal)
8947 (ediff-patch-file-internal): Declare.
8948 * vc/ediff-ptch.el: Adjust requires.
8949 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8950 (ediff-find-file): Autoload.
8951 * vc/ediff-util.el: No need to load ediff when compiling.
8952 (ediff-regions-internal): Declare.
8953 * vc/ediff-wind.el: Adjust requires.
8954 (ediff-compute-toolbar-width): Define when compiling.
8955 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8956 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8957 (dired-get-filename, dired-get-marked-files)
8958 (ediff-last-dir-patch, ediff-patch-default-directory)
8959 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8960 (ediff-patch-buffer-internal): Declare.
8962 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8963 (ispell-process, ispell-buffer-local-words, lm-summary)
8964 (lm-section-start, lm-section-end): Declare.
8965 (checkdoc-ispell-init): Simplify.
8967 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8968 (he-string-member, he-reset-string, he-substitute-string): Declare.
8970 * eshell/em-ls.el: Adjust requires.
8971 (eshell-glob-regexp): Declare.
8972 * eshell/em-tramp.el: Adjust requires.
8973 (eshell-parse-command): Autoload.
8974 * eshell/em-xtra.el: Adjust requires.
8975 (eshell-parse-command): Autoload.
8976 * eshell/esh-ext.el: Adjust requires.
8977 (eshell-parse-command, eshell-close-handles): Autoload.
8978 * eshell/esh-io.el: Adjust requires.
8979 (eshell-output-filter): Autoload.
8980 * eshell/esh-util.el: No need to load tramp when compiling.
8981 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8983 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8984 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8985 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8986 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8987 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8988 * eshell/esh-opt.el, eshell/esh-proc.el:
8989 * eshell/esh-var.el: Adjust requires.
8990 * eshell/eshell.el: Do not require esh-util twice.
8991 (eshell-add-input-to-history): Declare.
8992 (eshell-command): Check history module is active before using it.
8994 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8996 2013-05-22 Leo Liu <sdl.web@gmail.com>
8998 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9000 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9002 * autorevert.el (auto-revert-notify-add-watch)
9003 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9004 it indicates changes in file modification time.
9006 2013-05-22 Glenn Morris <rgm@gnu.org>
9008 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9009 Always delete the autoloaded function from the noruntime and
9010 unresolved functions lists.
9012 * allout.el: No need to load epa, epg, overlay when compiling.
9013 (epg-context-set-passphrase-callback, epg-list-keys)
9014 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9015 (epg-key-user-id-list): Declare.
9017 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9018 (viper-set-parsing-style-toggling-macro)
9019 (viper-set-emacs-state-searchstyle-macros):
9020 Use called-interactively-p on Emacs.
9021 (viper-looking-back): Make it an obsolete alias. Update callers.
9022 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9023 Use looking-back rather than viper-looking-back.
9024 (viper-tmp-insert-at-eob, viper-enlarge-region)
9025 (viper-read-string-with-history, viper-register-to-point)
9026 (viper-append-to-register, viper-change-state-to-vi)
9027 (viper-backward-char-carefully, viper-forward-char-carefully)
9028 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9029 (viper-change-state-to-emacs): Declare.
9030 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9031 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9032 * emulation/viper-mous.el: Do not load viper-cmd.
9033 (viper-backward-char-carefully, viper-forward-char-carefully)
9034 (viper-forward-word, viper-adjust-window): Declare.
9036 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9038 * progmodes/idlw-help.el (idlwave-help-fontify):
9039 Use called-interactively-p.
9041 * term/w32console.el (w32-get-console-codepage)
9042 (w32-get-console-output-codepage): Declare.
9044 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9045 Remove unnecessary declarations.
9046 (dframe-message): Doc fix.
9048 * info.el (dframe-select-attached-frame, dframe-current-frame):
9051 * speedbar.el (speedbar-message): Make it an obsolete alias.
9053 (speedbar-with-attached-buffer)
9054 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9055 (speedbar-with-writable): Use backquote.
9056 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9057 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9058 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9059 rather than speedbar- aliases.
9060 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9061 (speedbar-make-specialized-keymap, speedbar-insert-button)
9062 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9063 (speedbar-do-function-pointer): Declare.
9064 (rmail-speedbar-button, rmail-speedbar-find-file)
9065 (rmail-speedbar-move-message):
9066 Use dframe-with-attached-buffer rather than speedbar- alias.
9067 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9068 (dframe-message, speedbar-make-specialized-keymap)
9069 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9070 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9071 (speedbar-insert-button, dframe-select-attached-frame)
9072 (dframe-maybee-jump-to-attached-frame)
9073 (speedbar-change-initial-expansion-list)
9074 (speedbar-previously-used-expansion-list-name): Declare.
9075 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9076 Use dframe-message, dframe-with-attached-buffer rather than
9078 (gud-sentinel): Silence compiler.
9079 * progmodes/vhdl-mode.el (speedbar-refresh)
9080 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9081 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9082 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9083 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9084 (speedbar-file-lists, speedbar-make-tag-line)
9085 (speedbar-line-directory, speedbar-goto-this-file)
9086 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9087 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9088 (speedbar-make-button, speedbar-reset-scanners)
9089 (speedbar-files-item-info, speedbar-line-text)
9090 (speedbar-find-file-in-frame, speedbar-set-timer)
9091 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9092 (speedbar-with-writable): Do not (re)define it.
9093 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9094 rather than speedbar- alias.
9096 2013-05-21 Leo Liu <sdl.web@gmail.com>
9098 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9100 (octave-mode): Tweak fill-nobreak-predicate.
9101 (inferior-octave-startup): Check process to avoid infinite loop.
9102 (inferior-octave): Pop to buffer first to show abornmal process
9105 2013-05-21 Glenn Morris <rgm@gnu.org>
9107 * printing.el (pr-menu-bar): Define when compiling.
9109 2013-05-21 Leo Liu <sdl.web@gmail.com>
9111 * progmodes/octave.el (octave-auto-fill): Remove.
9112 (octave-indent-new-comment-line): Improve.
9113 (octave-mode): Use auto fill mode through
9114 comment-line-break-function and fill-nobreak-predicate.
9115 (octave-goto-function-definition): Support DEFUN_DLD.
9116 (octave-beginning-of-defun): Small tweak.
9117 (octave-help): Show parent directory.
9119 2013-05-21 Glenn Morris <rgm@gnu.org>
9121 * files.el (dired-unmark):
9122 * progmodes/gud.el (gdb-input): Update declarations.
9124 * calculator.el (electric, ehelp): No need to load when compiling.
9125 (Electric-command-loop, electric-describe-mode): Declare.
9127 * doc-view.el (doc-view-current-converter-processes): Move before use.
9129 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9130 Move MODE-set-explicitly definition before use.
9132 * international/mule-diag.el (mule-diag):
9133 Don't use obsolete window-system-version.
9135 * mail/feedmail.el (smtpmail): No need to load when compiling.
9136 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9138 * mail/mail-utils.el (rfc822): No need to load when compiling.
9139 (rfc822-addresses): Autoload it.
9140 (mail-strip-quoted-names): Trivial simplification.
9142 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9143 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9145 * net/snmp-mode.el (tempo): Don't duplicate requires.
9147 * progmodes/prolog.el (info): No need to load when compiling.
9148 (comint): Require before shell requires it.
9149 (Info-goto-node): Autoload it.
9150 (Info-follow-nearest-node): Declare.
9151 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9153 * textmodes/artist.el (picture-mode-exit): Declare.
9155 * textmodes/reftex-parse.el (reftex-parse-from-file):
9156 Trivial rewrite so the compiler can parse it better.
9158 2013-05-20 Leo Liu <sdl.web@gmail.com>
9160 * progmodes/octave.el (octave-help-mode-map)
9161 (octave-help-mode-finish-hook): New variables.
9162 (octave-help-mode, octave-help-mode-finish): New functions.
9163 (octave-help): Use octave-help-mode.
9165 2013-05-20 Glenn Morris <rgm@gnu.org>
9167 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9169 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9171 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9172 start at point, so that expansion starting right after opening
9173 slash in a regexp is recognized.
9174 (ruby-syntax-before-regexp-re): New defvar, extracted from
9175 ruby-syntax-propertize-function. Since the value of this regexp
9176 is looked up at runtime now, we should be able to turn
9177 `ruby-syntax-methods-before-regexp' into a defcustom later.
9178 (ruby-syntax-propertize-function): Split regexp matching into two
9179 parts, for opening and closing slashes. That allows us to skip
9180 over string interpolations and support multiline regexps.
9181 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9182 for them, which calls `ruby-syntax-propertize-expansion'.
9183 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9184 call to `ruby-syntax-propertize-function'.
9185 (ruby-syntax-propertize-expansion): Extracted from
9186 `ruby-syntax-propertize-expansions'. Handles one expansion.
9187 (ruby-syntax-propertize-percent-literal): Leave point right after
9188 the percent symbol, so that the expression expansion rule can
9189 propertize the contents.
9190 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9192 (ruby-syntax-propertize-expansions): Remove.
9194 2013-05-18 Juri Linkov <juri@jurta.org>
9196 * man.el (Man-default-man-entry): Remove `-' from the end
9197 of the default value. (Bug#14400)
9199 2013-05-18 Glenn Morris <rgm@gnu.org>
9201 * comint.el (comint-password-prompt-regexp):
9202 Allow "password for XXX" where XXX contains colons (eg https://...).
9204 2013-05-18 Leo Liu <sdl.web@gmail.com>
9206 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9207 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9208 (octave-source-directories): Don't check process.
9209 (octave-source-directories, octave-find-definition): Doc fix.
9211 2013-05-18 Glenn Morris <rgm@gnu.org>
9213 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9214 Remove backspace/delete bindings. (Bug#14392)
9216 * cus-dep.el (custom-make-dependencies): Sort the output.
9217 (custom-versions-load-alist): Convert comment to doc.
9219 2013-05-17 Leo Liu <sdl.web@gmail.com>
9221 * newcomment.el (comment-search-backward): Stricter in finding
9222 comment start. (Bug#14303)
9224 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9225 (octave-comment-start-skip): Properly anchored.
9227 2013-05-17 Leo Liu <sdl.web@gmail.com>
9229 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9230 Clean up when turned off. (Bug#14395)
9231 (smie--highlight-matching-block-overlay): No longer buffer-local.
9232 (smie-highlight-matching-block): Adjust.
9234 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9236 Doc string fix for "nanoseconds" (Bug#14406).
9237 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9238 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9240 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9242 * calc/calc-units.el (math-extract-units): Preserve powers
9245 2013-05-17 Leo Liu <sdl.web@gmail.com>
9247 * subr.el (delete-consecutive-dups): New function.
9248 * ido.el (ido-set-matches-1): Use it.
9249 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9250 * ido.el (ido-remove-consecutive-dups): Remove.
9252 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9254 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9255 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9256 regexp-opt's `words'.
9258 2013-05-16 Leo Liu <sdl.web@gmail.com>
9260 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9261 (smie--highlight-matching-block-overlay)
9262 (smie--highlight-matching-block-lastpos)
9263 (smie--highlight-matching-block-timer): New variables.
9264 (smie-highlight-matching-block): New function.
9265 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9266 (smie-setup): Conditionally enable smie-blink-matching-open.
9268 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9270 Sync with upstream verilog-mode r840.
9271 * progmodes/verilog-mode.el (verilog-mode-version)
9272 (verilog-mode-release-date): Update.
9273 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9274 (verilog-sig-tieoff): Fix string error on
9275 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9276 (verilog-read-decls): Fix parameters confusing
9277 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9279 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9281 * subr.el (reveal-filename): New function.
9283 * loadup.el: Compute Emacs executable versions on MS-Windows,
9284 where executables have the .exe extension. Add a hard link
9285 emacs-XX.YY.ZZ.exe on MS-Windows.
9287 * Makefile.in (XARGS_LIMIT): New variable.
9288 (custom-deps, finder-data, autoloads)
9289 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9290 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9291 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9292 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9294 2013-05-16 Leo Liu <sdl.web@gmail.com>
9296 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9297 (octave-mode-menu, octave-mode-map): Remove its uses.
9299 2013-05-16 Reto Zimmermann <reto@gnu.org>
9301 Sync with upstream vhdl mode v3.34.2.
9302 * progmodes/vhdl-mode.el: Use `push' throughout.
9303 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9304 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9305 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9306 (vhdl-actual-generic-name): New option to derive actual generic name.
9307 (vhdl-port-paste-signals): Replace formal by actual generics.
9308 (vhdl-beautify): New name for old group vhdl-align. Update users.
9309 (vhdl-beautify-options): New option.
9310 (vhdl-last-input-event): New compat alias. Use throughout.
9311 (vhdl-goto-line): Replace user level function `goto-line'.
9312 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9313 vhdl-fix-statement-buffer.
9314 (vhdl-create-mode-menu): Add some entries.
9315 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9316 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9317 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9318 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9319 to force statements on one line.
9320 (vhdl-remove-trailing-spaces-region):
9321 New, split from vhdl-remove-trailing-spaces.
9322 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9323 Respect vhdl-beautify-options.
9324 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9325 (vhdl-update-sensitivity-list): Not add with index if exists without.
9326 Not include array index with signal. Ignore keywords in comments.
9327 (vhdl-get-visible-signals): Regexp tweaks.
9328 (vhdl-template-component-inst): Handle empty library.
9329 (vhdl-template-type): Add template for 'enum' type.
9330 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9331 Use vhdl-replace-string.
9332 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9333 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9334 (vhdl-speedbar-initialize): Update for above name change.
9335 (vhdl-compose-wire-components): Fix in handling of constants.
9336 (vhdl-error-regexp-emacs-alist): New variable.
9337 (vhdl-error-regexp-add-emacs): New function;
9338 adds support for new compile.el (Emacs 22+)
9339 (vhdl-generate-makefile-1): Change target order for single lib. units.
9340 Allow use of absolute file names.
9342 2013-05-16 Leo Liu <sdl.web@gmail.com>
9344 * simple.el (prog-indent-sexp): Indent enclosing defun.
9346 2013-05-15 Glenn Morris <rgm@gnu.org>
9348 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9349 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9350 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9351 (whitespace-highlight): Move to whitespace group.
9353 * comint.el (comint-source):
9354 * pcmpl-linux.el (pcmpl-linux):
9355 * shell.el (shell-faces):
9356 * eshell/esh-opt.el (eshell-opt):
9357 * international/ccl.el (ccl): Remove empty custom groups.
9359 * completion.el (dynamic-completion-mode):
9360 * jit-lock.el (jit-lock-debug-mode):
9361 * minibuffer.el (completion-in-region-mode):
9362 * type-break.el (type-break-mode-line-message-mode)
9363 (type-break-query-mode):
9364 * emulation/tpu-edt.el (tpu-edt-mode):
9365 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9366 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9367 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9369 * term/xterm.el (xterm): Change parent group to terminals.
9371 * master.el (master): Remove empty custom group.
9372 (master-mode): Remove unused :group argument.
9373 * textmodes/refill.el (refill): Remove empty custom group.
9374 (refill-mode): Remove unused :group argument.
9376 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9378 * cus-dep.el: Provide a feature.
9379 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9380 Don't mistakenly ignore files whose basenames match a basename
9381 from preloaded-file-list (eg cedet/ede/simple.el).
9382 Add a fallback method for getting :group.
9384 2013-05-15 Juri Linkov <juri@jurta.org>
9386 * isearch.el (isearch-char-by-name): Rename from
9387 `isearch-insert-char-by-name'. Doc fix.
9388 (isearch-forward): Mention `isearch-char-by-name' in
9389 the docstring. (Bug#13348)
9391 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9392 `exit-minibuffer' instead of
9393 `isearch-nonincremental-exit-minibuffer'.
9394 (isearch-edit-string): Remove mention of
9395 `isearch-nonincremental-exit-minibuffer' from docstring.
9396 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9397 (isearch-forward-exit-minibuffer)
9398 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9400 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9402 * loadup.el: Just use unversioned DOC.
9404 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9405 literals as extending to EOB.
9406 (nxml-last-fontify-end): Remove unused variable.
9407 (nxml-after-change1): Use with-silent-modifications.
9408 (nxml-extend-after-change-region): Simplify.
9409 (nxml-extend-after-change-region1): Remove function.
9410 (nxml-after-change1): Don't adjust for dependent regions.
9411 (nxml-fontify-matcher): Simplify.
9412 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9413 (xmltok-add-dependent): Remove function.
9414 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9415 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9416 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9417 unclosed <[[, <?, comment, and other literals as extending to EOB.
9418 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9419 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9421 (rng-do-some-validation-1): Don't mark dependent regions.
9422 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9423 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9424 (nxml-clear-dependent-regions): Remove functions.
9425 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9426 (nxml-ensure-scan-up-to-date):
9427 Don't clear&mark dependent regions.
9429 2013-05-15 Leo Liu <sdl.web@gmail.com>
9431 * progmodes/octave.el (octave-goto-function-definition):
9432 Improve and fix callers.
9434 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9436 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9437 the setter (bug#14387).
9439 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9440 surrounding group (bug#14402).
9442 2013-05-14 Juri Linkov <juri@jurta.org>
9444 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9447 2013-05-14 Glenn Morris <rgm@gnu.org>
9449 * progmodes/f90.el (f90-imenu-generic-expression):
9450 Fix typo in 2013-05-08 change. (Bug#14402)
9452 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9454 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9455 Remove signals for which replies are never received.
9457 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9459 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9460 (gdb-handler-alist, gdb-handler-number): Remove variables.
9461 (gdb-handler-list): New variable.
9462 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9463 (gdb-pending-handler-p, gdb-handle-reply)
9464 (gdb-remove-all-pending-triggers): New functions.
9465 (gdb-discard-unordered-replies): New defcustom.
9466 (gdb-handler): New defstruct.
9467 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9468 instead of gdb-pending-triggers. Update docstring.
9469 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9470 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9471 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9472 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9473 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9474 (gdb-frame-handler): Pending triggers are now automatically managed.
9475 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9477 (gdb-input): Automatically handles pending triggers. Update docstring.
9478 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9479 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9481 (gdb-done-or-error): Now use gdb-handle-reply.
9483 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9485 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9488 2013-05-14 Glenn Morris <rgm@gnu.org>
9490 * subr.el (user-emacs-directory-warning): New option.
9491 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9493 2013-05-14 Leo Liu <sdl.web@gmail.com>
9495 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9497 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9498 (octave-font-lock-texinfo-comment): Fix invalid search bound
9499 error: wrong side of point.
9501 2013-05-14 Glenn Morris <rgm@gnu.org>
9503 * progmodes/flymake.el (flymake-xml-program): New option.
9504 (flymake-xml-init): Use it.
9506 * term/xterm.el: Provide a feature.
9508 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9510 2013-05-13 Glenn Morris <rgm@gnu.org>
9512 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9513 Add compat aliases as a hack workaround. (Bug#14384)
9515 2013-05-13 Leo Liu <sdl.web@gmail.com>
9517 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9519 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9521 (octave-comment-start-skip): Include %!.
9522 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9524 2013-05-12 Leo Liu <sdl.web@gmail.com>
9526 * progmodes/octave.el (inferior-octave-startup): Store the value
9527 of __octave_srcdir__ for octave-source-directories.
9528 (inferior-octave-check-process): New function refactored out of
9529 inferior-octave-send-list-and-digest.
9530 (octave-source-directories)
9531 (octave-find-definition-filename-function): New variables.
9532 (octave-source-directories)
9533 (octave-find-definition-default-filename): New functions.
9534 (octave-find-definition): Improve to find functions implemented in C++.
9536 2013-05-12 Glenn Morris <rgm@gnu.org>
9538 * calendar/diary-lib.el (diary-outlook-format-1):
9539 Don't include dayname in the output. (Bug#14349)
9541 2013-05-11 Glenn Morris <rgm@gnu.org>
9543 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9545 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9546 Treat cc-provide like provide.
9548 2013-05-11 Kevin Ryde <user42@zip.com.au>
9550 * cus-dep.el (custom-make-dependencies):
9551 Use generated-autoload-load-name for the sake of files such
9552 such cedet/semantic/bovine/c.el, where the base file name
9553 is not in load-path. (Bug#5277)
9555 2013-05-11 Glenn Morris <rgm@gnu.org>
9557 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9560 2013-05-11 Leo Liu <sdl.web@gmail.com>
9562 * progmodes/octave.el (octave-indent-comment): Improve.
9563 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9564 (octave-eldoc-function-signatures, octave-eldoc-function):
9566 (octave-mode, inferior-octave-mode): Add eldoc support.
9568 2013-05-11 Richard Stallman <rms@gnu.org>
9570 * epa.el (epa-decrypt-file): Take output file name as argument
9571 and read it using `interactive'.
9573 2013-05-11 Leo Liu <sdl.web@gmail.com>
9575 * progmodes/octave.el (octave-beginning-of-line)
9576 (octave-end-of-line): Check before using up-list because it jumps
9577 out of more syntactic contructs since moving to smie.
9578 (octave-indent-comment): New function.
9579 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9580 (octave-begin-keywords, octave-end-keywords)
9581 (octave-reserved-words, octave-smie-bnf-table)
9582 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9584 2013-05-11 Glenn Morris <rgm@gnu.org>
9586 * faces.el (internal-face-x-get-resource):
9587 * frame.el (ns-display-monitor-attributes-list):
9588 * calc/calc-aent.el (math-to-radians-2):
9589 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9592 * calc/calc-menu.el: Make it loadable in isolation.
9594 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9595 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9596 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9597 (eudc-bbdb-query-internal): Require 'bbdb.
9599 * lpr.el (lpr-headers-switches):
9600 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9602 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9604 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9606 * term.el (term-set-escape-char): Make it idempotent.
9608 2013-05-10 Leo Liu <sdl.web@gmail.com>
9610 * progmodes/octave.el (inferior-octave-completion-table):
9611 No longer a function and all uses changed. Use cache to speed up
9612 completion due to bug#11906.
9613 (octave-beginning-of-defun): Re-write to be more general.
9615 2013-05-10 Glenn Morris <rgm@gnu.org>
9617 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9619 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9621 * comint.el (comint-redirect-send-command-to-process): Use :around
9622 rather than :override for comint-redirect-filter.
9623 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9624 Call it instead of comint-redirect-original-filter-function (which
9625 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9627 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9629 * frame.el (display-monitor-attributes-list): Add NS case.
9630 (ns-display-monitor-attributes-list): Declare.
9632 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9634 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9636 2013-05-09 Glenn Morris <rgm@gnu.org>
9638 * international/fontset.el (vertical-centering-font-regexp):
9641 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9643 * bookmark.el (bookmark-search-delay):
9644 * cus-start.el (vertical-centering-font-regexp):
9645 * ps-mule.el (ps-mule-font-info-database-default):
9646 * ps-print.el (ps-default-fg, ps-default-bg):
9647 * type-break.el (type-break-good-break-interval):
9648 * whitespace.el (whitespace-indentation-regexp)
9649 (whitespace-space-after-tab-regexp):
9650 * emacs-lisp/testcover.el (testcover-1value-functions)
9651 (testcover-noreturn-functions, testcover-progn-functions)
9652 (testcover-prog1-functions):
9653 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9654 * eshell/em-glob.el (eshell-glob-translate-alist):
9655 * play/tetris.el (tetris-tty-colors):
9656 * progmodes/cpp.el (cpp-face-default-list):
9657 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9658 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9659 (idlwave-help-browser-generic-args):
9660 * progmodes/make-mode.el (makefile-special-targets-list):
9661 * progmodes/python.el (python-shell-virtualenv-path):
9662 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9663 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9664 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9665 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9666 * textmodes/reftex-vars.el (reftex-format-label-function):
9667 * textmodes/remember.el (remember-diary-file): Fix custom types.
9669 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9672 2013-05-09 Leo Liu <sdl.web@gmail.com>
9674 * progmodes/octave.el (inferior-octave-completion-at-point):
9675 Restore file completion. (Bug#14300)
9676 (inferior-octave-startup): Fix incorrect highlighting for the
9679 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9681 * progmodes/ruby-mode.el: First cut at SMIE support.
9682 (ruby-use-smie): New var.
9683 (ruby-smie-grammar): New constant.
9684 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9685 (ruby-smie--forward-token, ruby-smie--backward-token)
9686 (ruby-smie-rules): New functions.
9687 (ruby-mode-variables): Setup SMIE if applicable.
9689 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9691 * simple.el (line-move-visual): Signal beginning/end of buffer
9692 only if vertical-motion moved less than it was requested. Avoids
9693 silly incorrect error messages when there are display strings with
9694 multiple newlines at EOL.
9696 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9698 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9699 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9700 (prolog-char-quote-workaround):
9701 * progmodes/cperl-mode.el (cperl-under-as-char):
9702 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9704 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9706 (vhdl-mode-syntax-table-init): Remove.
9708 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9711 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9713 (ld-script-font-lock-keywords):
9714 Change regexps to use things like \_< and \_>.
9716 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9717 Change all regexps to use things like \_< and \_>.
9719 * progmodes/autoconf.el (autoconf-definition-regexp)
9720 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9721 Handle a _ with symbol syntax.
9722 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9724 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9725 Consolidate declaration.
9726 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9728 (ada-create-syntax-table): Remove.
9729 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9730 already has the right syntax nowadays.
9731 (ada-goto-next-word): Don't change the syntax of "_".
9733 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9736 2013-05-08 Sam Steingold <sds@gnu.org>
9738 * thingatpt.el (thing-at-point): Accept optional second argument
9739 NO-PROPERTIES to strip the text properties from the return value.
9740 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9741 to `thing-at-point' instead of stripping the properties ourselves.
9742 Also, when `thing-at-point' fails to find a url, prepend "http://"
9743 to the filename at point on the assumption that the user is
9744 pointing at something like gnu.org/gnu.
9746 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9748 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9749 * faces.el (crm-separator):
9750 Silence byte-compiler.
9752 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9753 (tool-bar-map): Remove unneeded defvars.
9755 2013-05-08 Leo Liu <sdl.web@gmail.com>
9757 Re-work a fix for bug#10994 based on Le Wang's patch.
9758 * ido.el (ido-remove-consecutive-dups): New helper.
9759 (ido-completing-read): Use it.
9760 (ido-chop): Revert fix for bug#10994.
9762 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9764 * cus-edit.el (custom-save-variables):
9765 Pretty-print long values. (Bug#14187)
9767 2013-05-08 Glenn Morris <rgm@gnu.org>
9769 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9770 (m4-mode-syntax-table): Init in the defvar.
9771 (m4-mode-abbrev-table): Let define-derived-mode define it.
9773 2013-05-08 Tom Tromey <tromey@redhat.com>
9775 * progmodes/m4-mode.el (m4-mode-syntax-table):
9776 Do not treat "_" as word constituent. (Bug#14167)
9778 2013-05-07 Glenn Morris <rgm@gnu.org>
9780 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9781 Remove explicit eshell-isearch-cancel-map.
9783 * progmodes/f90.el (f90-smart-end-names): New option.
9784 (f90-smart-end): Doc fix.
9785 (f90-end-block-optional-name): New constant.
9786 (f90-block-match): Respect f90-smart-end-names.
9788 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9790 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9791 about implicit semi-colons (bug#14218).
9793 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9795 * frame.el (display-monitor-attributes-list)
9796 (frame-monitor-attributes): New functions.
9798 2013-05-06 Leo Liu <sdl.web@gmail.com>
9800 * progmodes/octave.el (octave-syntax-propertize-function): Change
9801 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9802 (octave-font-lock-keywords): Use octave-operator-regexp.
9803 (octave-completion-at-point): Rename from
9804 octave-completion-at-point-function.
9805 (inferior-octave-directory-tracker): Robustify.
9806 (octave-text-functions): Remove and fix its uses. No such things
9809 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9811 * emacs-lisp/trace.el (trace--display-buffer): New function.
9812 (trace-make-advice): Use it.
9814 2013-05-06 Juri Linkov <juri@jurta.org>
9816 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9817 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9819 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9820 in the help string. (Bug#12985)
9822 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9824 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9826 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9828 * progmodes/perl-mode.el: Add support for here documents.
9829 (perl-syntax-propertize-function): Match here-doc markers.
9830 (perl-syntax-propertize-special-constructs): Find their end.
9831 (perl-imenu-generic-expression): Use [:alnum:].
9833 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9834 (advice--add-function): Refresh the advice if already present
9837 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9839 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9841 2013-05-06 Glenn Morris <rgm@gnu.org>
9843 * w32-fns.el (w32-charset-info-alist): Declare.
9845 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9846 of its defcustom properties.
9847 (eshell-cmpl-initialize): No need to load pcomplete.
9849 * generic-x.el: No need to require comint when compiling.
9851 * net/eudc-export.el: Make it loadable without bbdb.
9852 (top-level): Use require rather than load-library.
9853 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9854 (eudc-batch-export-records-to-bbdb)
9855 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9858 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9860 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9861 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9862 some tweaks, instead.
9864 2013-05-05 Leo Liu <sdl.web@gmail.com>
9866 * progmodes/octave.el (octave-font-lock-keywords)
9867 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9868 (inferior-octave-send-list-and-digest): Improve error message.
9869 (octave-mode, inferior-octave-mode): Use setq-local.
9870 (octave-help): Set info-lookup-mode.
9872 2013-05-05 Richard Stallman <rms@gnu.org>
9874 * vc/compare-w.el (compare-windows-whitespace):
9875 Treat no-break space as whitespace.
9877 * mail/rmailsum.el (rmail-summary-rmail-update):
9878 Detect empty summary and don't change selected message.
9879 (rmail-summary-goto-msg): Likewise.
9881 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9882 Doc fixes, rename args.
9884 2013-05-05 Alan Mackenzie <acm@muc.de>
9886 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9888 2013-05-05 Juri Linkov <juri@jurta.org>
9890 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9891 to not add the length of the summary segment to the return value.
9894 2013-05-05 Leo Liu <sdl.web@gmail.com>
9896 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9897 (inferior-octave-output-filter): Remove.
9898 (octave-send-region, inferior-octave-startup): Fix callers.
9899 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9900 (octave-binary-file-extensions): New user variable.
9901 (octave-find-definition): Confirm if opening binary files.
9902 (octave-help-file): Use octave-find-definition to get the binary
9904 (octave-help): Adjust for octave-help-file change.
9906 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9908 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9909 Merge the two entries that handle function definitions.
9910 (pascal--syntax-propertize): New const.
9911 (pascal-mode): Use it. Use setq-local.
9913 2013-05-04 Glenn Morris <rgm@gnu.org>
9915 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9916 (diary-from-outlook): Respect diary-from-outlook-function.
9918 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9920 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9921 Move the declaration from C.
9922 (read-minibuffer, eval-minibuffer): Move from C.
9923 (completion-setup-function): Avoid minibuffer-completion-contents.
9925 2013-05-03 Leo Liu <sdl.web@gmail.com>
9927 * progmodes/octave.el (octave-font-lock-keywords): Do not
9928 dehighlight 'end' in comments or strings.
9929 (octave-completing-read, octave-goto-function-definition):
9931 (octave-help-buffer): New user variable.
9932 (octave-help-file, octave-help-function): New button types.
9933 (octave-help): New command and bind it to C-h ;.
9934 (octave-find-definition): New command and bind it to M-.
9935 (user-error): Alias to error if not defined.
9937 2013-05-02 Leo Liu <sdl.web@gmail.com>
9939 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9941 (octave-font-lock-keywords): Include [ and {.
9943 2013-05-02 Leo Liu <sdl.web@gmail.com>
9945 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9946 (inferior-octave): Remove calling comint-mode and return the buffer.
9947 (inferior-octave-startup): Cosmetic changes.
9949 2013-05-02 Leo Liu <sdl.web@gmail.com>
9951 * progmodes/octave.el (octave-syntax-propertize-function):
9952 Include the case when ' is at line beginning. (Bug#14336)
9954 2013-05-02 Glenn Morris <rgm@gnu.org>
9956 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9957 * desktop.el (vc-dir-mode): Just autoload it here.
9959 2013-05-02 Alan Mackenzie <acm@muc.de>
9961 Eliminate variable c-standard-font-lock-fontify-region-function.
9962 * progmodes/cc-mode.el
9963 (c-standard-font-lock-fontify-region-function): Remove.
9964 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9966 2013-05-01 Leo Liu <sdl.web@gmail.com>
9968 * progmodes/octave.el: Compatible with older emacs-24 releases.
9969 (inferior-octave-has-built-in-variables): Remove. Built-in
9970 variables were removed from Octave in 2007.
9971 (inferior-octave-startup): Fix uses.
9972 (comint-line-beginning-position): Remove compatibility code for
9975 2013-05-01 Juri Linkov <juri@jurta.org>
9977 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9979 2013-05-01 Juri Linkov <juri@jurta.org>
9981 * comint.el (comint-previous-matching-input): Don't print message
9982 "History item: %d" when `isearch-mode' is active.
9983 (comint-history-isearch-message): Print message "History item: %d"
9984 when `comint-input-ring-index' is not empty and this function is
9985 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9987 2013-05-01 Leo Liu <sdl.web@gmail.com>
9989 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9990 definitions. Use completion-at-point to insert keywords.
9991 (octave-abbrev-start): Remove.
9992 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9994 2013-04-30 Leo Liu <sdl.web@gmail.com>
9996 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9999 2013-04-30 Alan Mackenzie <acm@muc.de>
10001 Handle arbitrarily long C++ member initialisation lists.
10002 * progmodes/cc-engine.el (c-back-over-member-initializers):
10004 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10005 (most) member init lists.
10007 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10009 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10012 2013-04-30 Leo Liu <sdl.web@gmail.com>
10014 * progmodes/octave.el (octave-variables): Remove. No builtin
10015 variables any more. All converted to functions.
10016 (octave-font-lock-keywords, octave-completion-at-point-function):
10018 (octave-font-lock-texinfo-comment): New user variable.
10019 (octave-texinfo-font-lock-keywords): New variable for texinfo
10021 (octave-function-comment-block): New face.
10022 (octave-font-lock-texinfo-comment): New function.
10023 (octave-mode): Font lock texinfo comment block.
10025 2013-04-29 Leo Liu <sdl.web@gmail.com>
10027 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10028 indexing expression.
10029 (octave-continuation-string): Do not use \.
10030 (inferior-octave-complete-impossible): Remove.
10031 (inferior-octave-completion-table)
10032 (inferior-octave-completion-at-point): Remove its uses.
10033 (inferior-octave-startup): completion_matches was introduced to
10034 Octave in 1996 so safe to assume it.
10035 (octave-function-file-comment): Improve to follow how Octave does it.
10036 (octave-update-function-file-comment): Tweak.
10038 2013-04-29 Leo Liu <sdl.web@gmail.com>
10040 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10041 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10042 (octave-function-file-comment): Fix typo.
10043 (octave-sync-function-file-names): Use read-char-choice.
10045 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10047 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10048 to t for the less important warnings.
10050 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10052 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10054 2013-04-27 Glenn Morris <rgm@gnu.org>
10056 * vc/log-view.el (log-view-current-entry):
10057 Treat "---" separator lines as part of the following rev. (Bug#14169)
10059 2013-04-27 Juri Linkov <juri@jurta.org>
10061 * subr.el (read-number): Doc fix about using it by interactive
10062 code letter `n'. (Bug#14254)
10064 2013-04-27 Juri Linkov <juri@jurta.org>
10066 * desktop.el (desktop-auto-save-timeout): New option.
10067 (desktop-file-checksum): New variable.
10068 (desktop-save): Add optional arg `auto-save' and don't auto-save
10069 if nothing changed.
10070 (desktop-auto-save-timer): New variable.
10071 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10072 (after-init-hook): Call `desktop-auto-save-set-timer'.
10073 Suggested by Reuben Thomas <rrt@sc3d.org> in
10074 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10076 2013-04-27 Leo Liu <sdl.web@gmail.com>
10078 * progmodes/octave.el (octave-function-file-p)
10079 (octave-skip-comment-forward, octave-function-file-comment)
10080 (octave-update-function-file-comment): New functions.
10081 (octave-mode-map): Bind C-c ; to
10082 octave-update-function-file-comment.
10083 (octave-mode-menu): Add octave-update-function-file-comment.
10084 (octave-mode, inferior-octave-mode): Fix doc-string.
10085 (octave-insert-defun): Conform to Octave's coding convention.
10088 * files.el (basic-save-buffer): Don't let errors in
10089 before-save-hook prevent saving buffer.
10091 2013-04-20 Roland Winkler <winkler@gnu.org>
10093 * faces.el (read-face-name): Use completing-read if arg multiple
10096 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10098 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10099 displayed, move point to after the totals line.
10100 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10103 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10105 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10106 Add current dir to the load-path.
10107 (package-generate-autoloads): Don't rely on
10108 autoload-ensure-default-file.
10110 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10112 * textmodes/remember.el (remember-store-in-files): Document that
10113 the file name format is passed to `format-time-string'.
10115 2013-04-26 Leo Liu <sdl.web@gmail.com>
10117 * progmodes/octave.el (octave-sync-function-file-names): New function.
10118 (octave-mode): Use it in before-save-hook.
10120 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10122 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10125 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10126 \n and comment, even if it's not an implicit ; (bug#14218).
10128 2013-04-26 Glenn Morris <rgm@gnu.org>
10130 * subr.el (read-number): Once more use `read' rather than
10131 `string-to-number', to trap non-numeric input. (Bug#14254)
10133 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10135 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10136 Use `syntax-multiline' text property consistently instead of
10137 `font-lock-multiline'. (Bug#14237)
10139 2013-04-26 Glenn Morris <rgm@gnu.org>
10141 * emacs-lisp/shadow.el (list-load-path-shadows):
10142 No longer necessary to check for duplicate simple.el, since
10143 2012-07-07 change to init_lread to not include installation lisp
10144 directories in load-path when running uninstalled. (Bug#14270)
10146 2013-04-26 Leo Liu <sdl.web@gmail.com>
10148 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10149 (octave-mode, inferior-octave-mode): Use setq-local.
10150 (octave-not-in-string-or-comment-p): Rename to
10151 octave-in-string-or-comment-p.
10152 (octave-in-comment-p, octave-in-string-p)
10153 (octave-in-string-or-comment-p): Replace defsubst with defun.
10155 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10157 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10159 2013-04-25 Bastien Guerry <bzg@gnu.org>
10161 * textmodes/remember.el (remember-data-directory)
10162 (remember-directory-file-name-format): Fix custom types.
10164 2013-04-25 Leo Liu <sdl.web@gmail.com>
10166 * progmodes/octave.el (octave-completion-at-point-function):
10167 Make use of inferior octave process.
10168 (octave-initialize-completions): Remove.
10169 (inferior-octave-completion-table): New function.
10170 (inferior-octave-completion-at-point): Use it.
10171 (octave-completion-alist): Remove.
10173 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10175 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10176 (opascal-mode-syntax-table): New var.
10177 (opascal-literal-kind, opascal-is-literal-end)
10178 (opascal-literal-token-at): Rewrite.
10179 (opascal--literal-start-re, opascal-font-lock-keywords)
10180 (opascal--syntax-propertize): New constants.
10181 (opascal-font-lock-defaults): Adjust.
10182 (opascal-mode): Use them. Set comment-<foo> variables as well.
10183 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10184 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10185 (delphi-other-face, opascal-other-face): Remove face variables.
10186 (opascal-save-state): Remove macro.
10187 (opascal-fontifying-progress-step): Remove constant.
10188 (opascal--ignore-changes): Remove var.
10189 (opascal-set-token-property, opascal-parse-next-literal)
10190 (opascal-is-stable-literal, opascal-complete-literal)
10191 (opascal-is-literal-start, opascal-face-of)
10192 (opascal-parse-region, opascal-parse-region-until-stable)
10193 (opascal-fontify-region, opascal-after-change)
10194 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10195 (opascal-debug-parse-region, opascal-debug-parse-window)
10196 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10197 (opascal-debug-fontify-buffer): Remove.
10198 (opascal-debug-mode-map): Adjust accordingly.
10200 2013-04-25 Leo Liu <sdl.web@gmail.com>
10202 Merge octave-mod.el and octave-inf.el into octave.el with some
10204 * progmodes/octave.el: New file renamed from octave-mod.el.
10205 * progmodes/octave-inf.el: Merged into octave.el.
10206 * progmodes/octave-mod.el: Renamed to octave.el.
10208 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10210 * textmodes/reftex-vars.el
10211 (reftex-label-ignored-macros-and-environments): New defcustom.
10213 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10215 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10217 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10218 (smie-indent-keyword): Improve the check to ensure that the next
10219 comment is really on the same line.
10220 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10222 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10223 semi-colons if the line is not otherwise empty (bug#14218).
10225 2013-04-25 Glenn Morris <rgm@gnu.org>
10227 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10229 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10231 * progmodes/opascal.el (opascal-set-token-property): Rename from
10232 opascal-set-text-properties and only set `token' (bug#14134).
10233 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10234 (opascal-literal-text-properties): Remove.
10235 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10238 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10240 * textmodes/remember.el (remember-handler-functions): Add an
10241 option for a new handler `remember-store-in-files'.
10242 (remember-data-directory, remember-directory-file-name-format):
10244 (remember-store-in-files): New function to store remember notes
10245 as separate files within a directory.
10247 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10249 * progmodes/compile.el (compilation-next-error-function):
10250 Pass "formats" to compilation-find-file (bug#11777).
10252 2013-04-24 Glenn Morris <rgm@gnu.org>
10254 * vc/vc-bzr.el (vc-bzr-print-log):
10255 * vc/vc-hg.el (vc-hg-print-log):
10256 * vc/vc-svn.el (vc-svn-print-log):
10257 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10259 * vc/vc-bzr.el (vc-bzr-print-log):
10260 * vc/vc-cvs.el (vc-cvs-print-log):
10261 * vc/vc-git.el (vc-git-print-log):
10262 * vc/vc-hg.el (vc-hg-print-log):
10263 * vc/vc-mtn.el (vc-mtn-print-log):
10264 * vc/vc-rcs.el (vc-rcs-print-log):
10265 * vc/vc-sccs.el (vc-sccs-print-log):
10266 * vc/vc-svn.el (vc-svn-print-log):
10267 * vc/vc.el (vc-print-log-internal): Doc fixes.
10269 2013-04-23 Glenn Morris <rgm@gnu.org>
10271 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10272 Remove venerable code attempting to avoid substitute-command-keys.
10274 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10276 * textmodes/reftex-vars.el (reftex-label-regexps):
10277 Call `reftex-compile-variables' after changes to this variable.
10279 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10281 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10282 Use lexical-binding.
10283 (jit-lock-force-redisplay): Use markers, check buffer's continued
10284 existence and beware narrowed buffers.
10285 (jit-lock-fontify-now): Adjust call accordingly.
10287 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10289 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10290 to avoid misleading the user.
10292 2013-04-22 Leo Liu <sdl.web@gmail.com>
10294 * info-look.el: Prefer latex2e.info. (Bug#14240)
10296 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10298 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10300 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10301 * net/tramp.el (tramp-call-process): ... here.
10302 (tramp-set-completion-function, tramp-parse-putty):
10303 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10304 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10305 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10306 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10307 (tramp-call-local-coding-command): Use `tramp-call-process'
10308 instead of `tramp-compat-call-process'.
10310 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10311 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10312 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10313 (tramp-find-inline-compress): Improve traces.
10314 (tramp-maybe-send-script): Check for Perl binary.
10315 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10317 2013-04-22 Daiki Ueno <ueno@gnu.org>
10319 * epg.el (epg-context-pinentry-mode): New function.
10320 (epg-context-set-pinentry-mode): New function.
10321 (epg--start): Pass --pinentry-mode option to gpg command.
10323 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10325 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10326 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10327 `completion-at-point'. (Bug#13774)
10329 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10330 default key binding for `describe-distribution' has been moved to
10331 `C-h C-o'. (Bug#13970)
10333 2013-04-21 Glenn Morris <rgm@gnu.org>
10335 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10337 (vc-print-log): Clarify interactive prompt.
10339 2013-04-20 Glenn Morris <rgm@gnu.org>
10341 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10342 No longer include timestamp etc information.
10344 2013-04-20 Roland Winkler <winkler@gnu.org>
10346 * faces.el (read-face-name): Bug fix, return just one face if arg
10347 multiple is nil. (Bug#14209)
10349 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10351 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10352 (remove-function): Autoload.
10354 * comint.el (comint-redirect-original-filter-function): Remove.
10355 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10356 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10357 (vc-cvs-annotate-command):
10358 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10359 * progmodes/prolog.el (prolog-consult-compile):
10360 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10361 Use add/remove-function instead.
10362 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10363 (gud-tooltip-process-output, gud-tooltip-tips):
10364 Use add/remove-function instead.
10365 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10366 (scheme-interaction-mode, exit-scheme-interaction-mode):
10367 Use add/remove-function instead.
10369 * vc/vc-dispatcher.el: Use lexical-binding.
10370 (vc--process-sentinel): Rename from vc-process-sentinel.
10371 Change last arg to be the code to run. Don't use vc-previous-sentinel
10372 and vc-sentinel-commands any more.
10373 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10374 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10376 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10378 * progmodes/sh-script.el (sh-imenu-generic-expression):
10379 Handle function names with a single character. (Bug#14111)
10381 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10383 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10384 for subroutines defined in an eval (bug#14182).
10386 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10388 * bookmark.el (bookmark-completing-read): Improve handling of empty
10389 string (bug#14176).
10391 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10393 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10395 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10397 New faster Imenu implementation (bug#14058).
10398 * progmodes/python.el:
10399 (python-imenu-prev-index-position):
10400 (python-imenu-format-item-label-function)
10401 (python-imenu-format-parent-item-label-function)
10402 (python-imenu-format-parent-item-jump-label-function):
10404 (python-imenu-format-item-label)
10405 (python-imenu-format-parent-item-label)
10406 (python-imenu-format-parent-item-jump-label)
10407 (python-imenu--put-parent, python-imenu--build-tree)
10408 (python-imenu-create-index, python-imenu-create-flat-index)
10409 (python-util-popn): New functions.
10410 (python-mode): Set imenu-create-index-function to
10411 python-imenu-create-index.
10413 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10415 * winner.el (winner-active-region): Use region-active-p, activate-mark
10416 and deactivate-mark (bug#14225).
10418 * simple.el (deactivate-mark): Don't inline it.
10420 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10422 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10424 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10426 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10427 file extensions from the archive-mode entry in order to prefer
10428 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10430 2013-04-18 Leo Liu <sdl.web@gmail.com>
10432 * bindings.el (help-event-list): Add ?\?.
10434 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10436 * subr.el (with-wrapper-hook): Declare obsolete.
10437 * simple.el (filter-buffer-substring-function): New hook.
10438 (filter-buffer-substring): Use it.
10439 (filter-buffer-substring-functions): Mark obsolete.
10440 * minibuffer.el (completion-in-region-function): New hook.
10441 (completion-in-region): Use it.
10442 (completion-in-region-functions): Mark obsolete.
10443 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10444 * abbrev.el (abbrev-expand-function): New hook.
10445 (expand-abbrev): Use it.
10446 (abbrev-expand-functions): Mark obsolete.
10447 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10448 and :filter-return.
10450 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10452 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10453 and do not care about match data.
10455 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10457 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10458 completion tables when completing error conditions and
10459 `declare' arguments.
10460 (lisp-complete-symbol, field-complete): Mark as obsolete.
10461 (check-parens): Unmatched parens are user errors.
10462 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10464 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10466 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10467 command changed buffer (ie. `flyspell-pre-buffer' is not current
10468 buffer), which prevents making decisions based on invalid value of
10469 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10470 cause an error when `flyspell-pre-point' was nil after switching
10472 (flyspell-post-command-hook): No longer needs to change buffers when
10473 checking pre-word. While at it remove unnecessary progn.
10475 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10477 * textmodes/ispell.el (ispell-add-per-file-word-list):
10478 Fix `flyspell-correct-word-before-point' error when accepting
10479 words and `coment-padding' is an integer by using
10480 `comment-normalize-vars' (Bug #14214).
10482 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10484 New defun movement commands.
10485 * progmodes/python.el (python-nav--syntactically)
10486 (python-nav--forward-defun, python-nav-backward-defun)
10487 (python-nav-forward-defun): New functions.
10489 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10491 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10492 (python-syntax-context): Use named compiler-macro for backwards
10493 compatibility with Emacs 24.x.
10495 2013-04-17 Leo Liu <sdl.web@gmail.com>
10497 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10498 octave-hide-process-buffer.
10500 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10502 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10505 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10507 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10508 Fix adjustment of offset when receiving incomplete responses from GDB
10511 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10513 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10514 python-mode-abbrev-table.
10515 (python-skeleton-define): Adjust accordingly.
10516 (python-mode-abbrev-table): New table that inherits from it so that
10517 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10519 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10520 (abbrev-symbol): Use it.
10521 (abbrev--before-point): Use it since we already handle inheritance.
10523 2013-04-16 Leo Liu <sdl.web@gmail.com>
10525 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10526 binding to info-lookup-symbol.
10528 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10530 * minibuffer.el (completion--twq-all):
10531 * term/ns-win.el (ns-initialize-window-system):
10532 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10534 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10536 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10539 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10541 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10543 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10544 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10546 (ruby-end-of-defun): Remove the unused arg, change the docstring
10547 to reflect that this function is only used as the value of
10548 `end-of-defun-function'.
10549 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10550 to reflect an earlier change that beginning/end-of-defun functions
10551 jump between methods in a class definition, as well as top-level
10554 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10556 * minibuffer.el (minibuffer-complete): Don't just scroll
10557 a *Completions* that's been iconified.
10558 (minibuffer-force-complete): Make sure repetitions do cycle when going
10559 through completion-in-region -> minibuffer-complete.
10561 2013-04-15 Alan Mackenzie <acm@muc.de>
10563 Correct the placement of c-cpp-delimiters when there're #s not at
10566 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10567 place a submatch around the #.
10568 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10569 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10572 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10574 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10575 (advice--member-p): New arg `name'.
10576 (advice--add-function, advice-member-p): Use it (bug#14202).
10578 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10580 Reformulate java imenu-generic-expression.
10581 The old expression contained ill formed regexps.
10583 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10584 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10585 (cc-imenu-java-method-arg-regexp): New defconsts.
10586 (cc-imenu-java-build-type-args-regex): New defun.
10587 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10588 handling of spaces in the regexp.
10590 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10592 * textmodes/ispell.el (ispell-command-loop): Remove
10593 flyspell highlight of a word when ispell accepts it (bug #14178).
10595 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10597 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10598 uses code from the previous `ange-ftp-run-real-handler'.
10599 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10600 only in case that function exist. This is needed for proper
10601 unloading of Tramp.
10603 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10605 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10607 * textmodes/reftex.el (reftex-compile-variables): Use it.
10609 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10611 * files.el (normal-mode): Only use default major-mode if no other mode
10614 * emacs-lisp/trace.el (trace-values): New function.
10616 * files.el: Allow : in local variables (bug#14089).
10617 (hack-local-variable-regexp): New var.
10618 (hack-local-variables-prop-line, hack-local-variables): Use it.
10620 2013-04-13 Roland Winkler <winkler@gnu.org>
10622 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10623 data before it gets modified by bibtex-beginning-of-entry.
10625 2013-04-13 Roland Winkler <winkler@gnu.org>
10627 * textmodes/bibtex.el (bibtex-url): Doc fix.
10629 2013-04-13 Roland Winkler <winkler@gnu.org>
10631 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10632 does not visit a BibTeX file, exclude it from the list of buffers
10633 returned by bibtex-initialize.
10635 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10637 * window.el (split-window): Remove interactive form, since as a
10638 command this function is a special case of split-window-below.
10639 Correct doc string.
10641 2013-04-12 Roland Winkler <winkler@gnu.org>
10643 * faces.el (read-face-name): Do not override value of arg default.
10644 Allow single faces and strings as default values. Remove those
10645 elements from return value that are not faces.
10646 (describe-face): Simplify.
10647 (face-at-point): New optional args thing and multiple so that this
10648 function can provide the same functionality previously provided by
10650 (make-face-bold, make-face-unbold, make-face-italic)
10651 (make-face-unitalic, make-face-bold-italic, invert-face)
10652 (modify-face, read-face-and-attribute): Use face-at-point.
10654 * cus-edit.el (customize-face, customize-face-other-window)
10655 * cus-theme.el (custom-theme-add-face)
10656 * face-remap.el (buffer-face-set)
10657 * facemenu.el (facemenu-set-face): Use face-at-point.
10659 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10661 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10663 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10665 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10666 off leading { and trailing } from field values.
10668 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10670 * emacs-lisp/timer.el (timer--check): New function.
10671 (timer--time, timer-set-function, timer-event-handler): Use it.
10672 (timer-set-idle-time): Simplify.
10673 (timer--activate): CSE.
10674 (timer-event-handler): Give more info in error message.
10675 (internal-timer-start-idle): New function, moved from C.
10677 * mpc.el (mpc-proc): Add `restart' argument.
10678 (mpc-proc-cmd): Use it.
10679 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10680 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10683 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10685 * progmodes/sh-script.el: Implement `sh-mode' own
10686 `add-log-current-defun-function' (bug#14112).
10687 (sh-current-defun-name): New function.
10688 (sh-mode): Use the function.
10690 2013-04-09 Bastien Guerry <bzg@gnu.org>
10692 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10694 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10696 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10698 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10701 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10703 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10706 2013-04-07 Leo Liu <sdl.web@gmail.com>
10708 * pcmpl-x.el: New file.
10710 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10712 Do not set x-display-name until X connection is established.
10713 This is needed to prevent from weird situation described at
10714 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10715 * frame.el (make-frame): Set x-display-name after call to
10716 window system initialization function, not before.
10717 * term/x-win.el (x-initialize-window-system): Add optional
10718 display argument and use it.
10719 * term/w32-win.el (w32-initialize-window-system):
10720 * term/ns-win.el (ns-initialize-window-system):
10721 * term/pc-win.el (msdos-initialize-window-system):
10722 Add compatible optional display argument.
10724 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10726 * files.el (normal-backup-enable-predicate): On MS-Windows and
10727 MS-DOS compare truenames of temporary-file-directory and of the
10728 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10729 don't fail comparison by compare-strings. Also, compare file
10730 names case-insensitively on MS-Windows and MS-DOS.
10732 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10734 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10735 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10737 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10739 * whitespace.el (whitespace-color-on, whitespace-color-off):
10740 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10742 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10744 * ispell.el (ispell-set-spellchecker-params):
10745 Really set `ispell-args' for all equivs.
10747 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10749 * ido.el (ido-completions): Use extra elements of ido-decorations
10751 (ido-decorations): Update docstring.
10753 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10755 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10756 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10757 nil during initialization, in order not to miss changes since the
10758 file was opened. (Bug#14140)
10760 2013-04-05 Leo Liu <sdl.web@gmail.com>
10762 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10764 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10766 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10768 2013-04-04 Glenn Morris <rgm@gnu.org>
10770 * electric.el (electric-pair-inhibit-predicate): Add :version.
10772 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10774 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10775 when a package is required several times (bug#14082).
10777 2013-04-04 Roland Winkler <winkler@gnu.org>
10779 * faces.el (read-face-name): Behave as promised by the docstring.
10780 Assume that arg default is a list of faces.
10781 (describe-face): Call read-face-name with list of default faces.
10783 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10785 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10786 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10787 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10789 (bookmark-exit-hook-internal): Save even if list is empty.
10791 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10793 * emacs-lisp/package.el (package-pinned-packages): New var.
10794 (package--add-to-archive-contents): Obey it (bug#14118).
10796 2013-04-03 Alan Mackenzie <acm@muc.de>
10798 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10799 Also adapt to the new values of element 7 of a parse state.
10801 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10802 parameter `not-in-delimiter'. Handle being inside comment opener.
10803 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10804 character in case we're typing a '*' after a '/'.
10805 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10806 instead by passing the parameter to c-state-pp-to-literal.
10808 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10809 for elt. 7 of a parse state.
10811 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10813 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10814 * international/latin1-disp.el, international/mule-util.el:
10815 * language/cyril-util.el, language/european.el, language/ind-util.el:
10816 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10817 * language/tibetan.el, language/viet-util.el:
10818 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10820 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10822 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10823 (electric-pair-post-self-insert-function): Use it.
10824 (electric-pair-default-inhibit): New function, extracted from
10825 electric-pair-post-self-insert-function.
10827 2013-03-31 Roland Winkler <winkler@gnu.org>
10829 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10831 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10833 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10835 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10837 Un-indent after "pass" and "return" statements (Bug#13888)
10838 * progmodes/python.el (python-indent-block-enders): New var.
10839 (python-indent-calculate-indentation): Use it.
10841 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10843 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10844 defun. Defining it as defalias could introduce too eager
10845 byte-compiler optimization. (Bug#14030)
10847 2013-03-30 Chong Yidong <cyd@gnu.org>
10849 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10851 2013-03-30 Leo Liu <sdl.web@gmail.com>
10853 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10854 (kmacro-execute-from-register): Pass the keyboard macro to
10855 kmacro-call-macro or repeating won't work correctly.
10857 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10859 * progmodes/subword.el: Back to using `forward-symbol'.
10861 * subr.el (forward-whitespace, forward-symbol)
10862 (forward-same-syntax): Move from thingatpt.el.
10864 2013-03-29 Leo Liu <sdl.web@gmail.com>
10866 * kmacro.el (kmacro-to-register): New command.
10867 (kmacro-execute-from-register): New function.
10868 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10870 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10872 * mpc.el: Use defvar-local and setq-local.
10873 (mpc--proc-connect): Connection failures are not bugs.
10874 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10875 (mpc-volume-map): Bind to the up-events.
10877 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10879 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10880 instead of `forward-symbol'.
10882 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10884 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10885 (edebug--recursive-edit): Use it.
10886 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10887 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10889 2013-03-28 Leo Liu <sdl.web@gmail.com>
10891 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10893 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10895 * facemenu.el (list-colors-callback): New defvar.
10896 (list-colors-redisplay): New function.
10897 (list-colors-display): Install list-colors-redisplay as the
10898 revert-buffer-function. (Bug#14063)
10900 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10902 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10903 and suffixes don't overlap (bug#14061).
10905 * case-table.el: Use lexical-binding.
10906 (case-table-get-table): New function.
10907 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10909 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10911 * progmodes/subword.el: Add `superword-mode' to do word motion
10912 over symbol_words (parallels and leverages `subword-mode' which
10913 does word motion inside MixedCaseWords).
10915 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10917 * eshell/em-unix.el: Move su and sudo to...
10918 * eshell/em-tramp.el: ...Eshell tramp module.
10920 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10922 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10923 Change return value to be a sexp. Delay `get-buffer' to after
10924 restoring the desktop (bug#13951).
10926 2013-03-26 Leo Liu <sdl.web@gmail.com>
10928 * register.el: Move semantic tag handling back to
10929 cedet/semantic/senator.el. (Bug#14052)
10931 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10933 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10934 into the prompt either (bug#13963).
10936 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10938 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10939 part of "(error-foo)".
10941 2013-03-24 Juri Linkov <juri@jurta.org>
10943 * replace.el (list-matching-lines-prefix-face): New defcustom.
10944 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10945 `occur-engine' if `face-differs-from-default-p' returns t.
10946 (occur-engine): Add `,' inside backquote construct to evaluate
10947 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10948 Pass `prefix-face' to the functions `occur-context-lines' and
10949 `occur-engine-add-prefix'.
10950 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10951 `prefix-face' and propertize the prefix with `prefix-face'.
10954 2013-03-24 Leo Liu <sdl.web@gmail.com>
10956 * nxml/rng-valid.el (rng-validate-while-idle)
10957 (rng-validate-quick-while-idle): Guard against deleted buffer.
10960 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10961 is the last entry in kill-buffer-hook.
10963 * files.el (kill-buffer-hook): Doc fix.
10965 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10967 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10968 Make it safe-local.
10970 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10972 2013-03-23 Leo Liu <sdl.web@gmail.com>
10974 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10977 * nxml/rng-valid.el (rng-validate-mode)
10978 (rng-after-change-function, rng-do-some-validation):
10979 * nxml/rng-maint.el (rng-validate-buffer):
10980 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10981 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10982 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10983 (nxml-extend-after-change-region): Use with-silent-modifications.
10985 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10988 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10989 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10990 timer-idle-list. (Bug#13999)
10992 2013-03-23 Juri Linkov <juri@jurta.org>
10994 * info.el (info-index-match): New face.
10995 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10996 main pattern and add text properties with the new face to matches
10997 in index entries relative to the beginning of the index entry.
11000 2013-03-21 Eric Ludlam <zappo@gnu.org>
11002 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11003 Inhibit read only while inserting objects.
11005 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11007 * progmodes/cfengine.el: Update docs to mention
11008 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11009 symbol motion. Remove "_" from the word syntax.
11011 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11013 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11014 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11016 2013-03-20 Juri Linkov <juri@jurta.org>
11018 * info.el (Info-next-reference-or-link)
11019 (Info-prev-reference-or-link): New functions.
11020 (Info-next-reference, Info-prev-reference): Use them.
11021 (Info-try-follow-nearest-node): Handle footnote navigation.
11022 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11024 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11026 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11027 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11029 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11031 Suppress unnecessary non-ASCII chatter during build process.
11032 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11033 (batch-skkdic-convert): Suppress most of the chatter.
11034 It's not needed so much now that machines are faster,
11035 and its non-ASCII component was confusing; see Dmitry Gutov in
11036 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11038 2013-03-20 Leo Liu <sdl.web@gmail.com>
11040 * ido.el (ido-chop): Fix bug#10994.
11042 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11044 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11046 (whitespace-color-on, whitespace-color-off):
11047 Use `font-lock-fontify-buffer' (Bug#13817).
11049 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11051 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11052 remapping in mode-line.
11053 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11055 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11057 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11058 value for `whitespace-line' face (Bug#13875).
11059 (whitespace-font-lock-keywords): Change description.
11060 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11061 the constructed keywords instead.
11062 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11064 2013-03-19 Leo Liu <sdl.web@gmail.com>
11066 * progmodes/compile.el (compilation-display-error): New command.
11067 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11070 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11072 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11074 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11076 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11078 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11080 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11082 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11083 * net/tramp-gvfs.el (top):
11084 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11085 (tramp-handle-shell-command): Use it.
11086 (tramp-dissect-file-name): Raise an error when hostname is a
11087 method name, and neither method nor user is specified.
11089 * net/trampver.el: Update release number.
11091 2013-03-18 Leo Liu <sdl.web@gmail.com>
11093 Make sure eldoc can be turned off properly.
11094 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11096 (eldoc-display-message-p): Revert last change.
11097 (eldoc-display-message-no-interference-p)
11098 (eldoc-print-current-symbol-info): Tweak.
11100 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11102 * doc-view.el (doc-view-new-window-function): Check the new window
11103 overlay's display property instead the char property of the
11104 buffer's first char. Use `with-selected-window' instead of
11105 `save-window-excursion' with `select-window'.
11106 (doc-view-document->bitmap): Check the current doc-view overlay's
11107 display property instead the char property of the buffer's first char.
11109 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11111 Automate the build of ja-dic.el (Bug#13984).
11112 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11113 from the input, rather than assume that it's been done for us by the
11114 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11115 the current date into a ja-dic.el comment, as that complicates
11116 regression testing.
11118 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11120 * whitespace.el: Fix double evaluation.
11121 (whitespace-space, whitespace-hspace, whitespace-tab)
11122 (whitespace-newline, whitespace-trailing, whitespace-line)
11123 (whitespace-space-before-tab, whitespace-indentation)
11124 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11126 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11127 (whitespace-color-on): Use a single font-lock-add-keywords call.
11128 Fix double-evaluation of face variables.
11130 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11132 * net/tramp-adb.el (tramp-adb-parse-device-names):
11133 Use `start-process' instead of `call-process'. Otherwise, the
11134 function might be blocked under MS Windows. (Bug#13299)
11136 2013-03-17 Leo Liu <sdl.web@gmail.com>
11138 Extend eldoc to display info in the mode-line. (Bug#13978)
11139 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11140 (eldoc-mode-line-string): New variable.
11141 (eldoc-minibuffer-message): New function.
11142 (eldoc-message-function): New variable.
11143 (eldoc-message): Use it.
11144 (eldoc-display-message-p)
11145 (eldoc-display-message-no-interference-p):
11146 Support eldoc-post-insert-mode.
11148 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11149 (eval-expression): Run it.
11151 2013-03-17 Roland Winkler <winkler@gnu.org>
11153 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11154 strings in the list of return values.
11156 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11158 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11159 radix before checking for HMS forms.
11161 2013-03-16 Leo Liu <sdl.web@gmail.com>
11163 * progmodes/scheme.el: Add indentation and font-locking for λ.
11166 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11168 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11169 token before point (bug#13942).
11171 2013-03-16 Leo Liu <sdl.web@gmail.com>
11173 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11175 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11177 * startup.el (command-line-normalize-file-name): Fix handling of
11178 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11179 <xfq.free@gmail.com> in
11180 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11182 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11184 Sync with Tramp 2.2.7.
11186 * net/trampver.el: Update release number.
11188 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11190 * doc-view.el: Fix bug#13887.
11191 (doc-view-insert-image): Don't modify overlay associated to
11192 non-live windows, and implement horizontal centering of image in
11193 case it's smaller than the window.
11194 (doc-view-new-window-function): Force redisplay of new windows on
11197 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11199 * saveplace.el (save-place-alist-to-file): Don't sort
11200 `save-place-alist', just pretty-print it (bug#13882).
11202 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11204 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11205 Check whether `default-file-name-coding-system' is bound.
11206 It isn't in XEmacs.
11208 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11210 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11211 backquotes for `obsolete' (bug#13929).
11213 * international/mule.el (find-auto-coding): Include file name in
11214 obsolescence warning (bug#13922).
11216 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11218 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11219 for CFEngine 3-specific indentation.
11220 (cfengine3-indent-line): Use it. Fix up category regex.
11221 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11223 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11225 * type-break.el (type-break-file-name):
11226 * textmodes/remember.el (remember-data-file):
11227 * strokes.el (strokes-file):
11228 * shadowfile.el (shadow-initialize):
11229 * saveplace.el (save-place-file):
11230 * ps-bdf.el (bdf-cache-file):
11231 * progmodes/idlwave.el (idlwave-config-directory):
11232 * net/quickurl.el (quickurl-url-file):
11233 * international/kkc.el (kkc-init-file-name):
11234 * ido.el (ido-save-directory-list-file):
11235 * emulation/viper.el (viper-custom-file-name):
11236 * emulation/vip.el (vip-startup-file):
11237 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11238 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11240 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11242 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11243 * language/thai-word.el: Switch to UTF-8.
11245 See ChangeLog.16 for earlier changes.
11247 ;; Local Variables:
11251 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11253 This file is part of GNU Emacs.
11255 GNU Emacs is free software: you can redistribute it and/or modify
11256 it under the terms of the GNU General Public License as published by
11257 the Free Software Foundation, either version 3 of the License, or
11258 (at your option) any later version.
11260 GNU Emacs is distributed in the hope that it will be useful,
11261 but WITHOUT ANY WARRANTY; without even the implied warranty of
11262 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11263 GNU General Public License for more details.
11265 You should have received a copy of the GNU General Public License
11266 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.