1 2013-12-19 Juri Linkov <juri@jurta.org>
3 * simple.el (eval-expression-print-format): Don't check for
4 command names and the last command. Always display additional
5 formats of the integer result in the echo area, and insert them
6 to the current buffer only with a zero prefix arg.
7 Display character when char-displayable-p is non-nil.
8 (eval-expression): With a zero prefix arg, set `print-length' and
9 `print-level' to nil, and insert the integer values from
10 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
12 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
13 `eval-last-sexp-arg-internal'. Doc fix.
14 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
15 `eval-last-sexp-print-value'. Doc fix.
16 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
17 Set `print-length' and `print-level' to nil when arg is zero.
18 (eval-last-sexp): Doc fix.
19 (eval-defun-2): Print the integer values from
20 `eval-expression-print-format' at the end.
22 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
23 values from `eval-expression-print-format' at the end.
25 * ielm.el (ielm-eval-input): Print the integer
26 values from `eval-expression-print-format' at the end.
28 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
30 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
31 2013-12-11T19:01:44Z!tzz@lifelogs.com.
33 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
35 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
36 (hl-line-highlight, global-hl-line-highlight): Use it.
37 (hl-line-overlay): Use defvar-local.
39 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
41 * term/ns-win.el: Require dnd.
42 (global-map): Remove drag items.
43 (ns-insert-text, ns-set-foreground-at-mouse)
44 (ns-set-background-at-mouse):
45 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
46 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
49 2013-12-19 Glenn Morris <rgm@gnu.org>
51 * emacs-lisp/ert.el (ert-select-tests):
52 Fix string/symbol mixup. (Bug#16121)
54 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
56 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
57 keywords to their parent.
59 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
61 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
62 first arg to be a string (fixed dead code), or an operator symbol.
63 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
65 (ruby-smie-rules): Remove parent token check in the `.' clause, it
66 did nothing. Don't respond to `(:after ".")', it will be called
67 with :before anyway. Remove the ` @ ' rule, it didn't seem to
68 change anything. Only return indentation for binary operators
69 when they are hanging. De-dent opening paren when its parent is
70 `.', otherwise it looks bad when the dot is not at bol or eol
73 2013-12-19 Juri Linkov <juri@jurta.org>
75 * replace.el (query-replace-read-args): Split a non-negative arg
76 and a negative arg into separate elements.
77 (query-replace, query-replace-regexp, replace-string)
78 (replace-regexp): Add arg `backward'. Doc fix.
79 (replace-match-maybe-edit): When new arg `backward' is non-nil,
80 move point to the beginning of the match.
81 (replace-search, replace-highlight): Use new arg `backward'
82 to set the value of `isearch-forward'.
83 (perform-replace): Add arg `backward' and use it to perform
84 replacement backward. (Bug#14979)
86 * isearch.el (isearch-query-replace): Use a negative prefix arg
87 to call `perform-replace' with a non-nil arg `backward'.
89 2013-12-18 Juri Linkov <juri@jurta.org>
91 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
92 to the default list. Move `log-edit-show-files' to the end.
93 Add more available functions to options.
94 (log-edit): Move default specific settings to
95 `log-edit-insert-message-template'. Don't move point.
96 (log-edit-insert-message-template): New function.
97 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
100 2013-12-18 Juri Linkov <juri@jurta.org>
102 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
103 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
105 2013-12-18 Leo Liu <sdl.web@gmail.com>
107 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
109 2013-12-18 Eli Zaretskii <eliz@gnu.org>
111 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
112 formats for displaying file sizes when the -s switch is given.
113 Instead, compute a separate format for displaying the size in
114 blocks, which is displayed in addition to the "regular" size.
115 When -h is given in addition to -s, produce size in blocks in
116 human-readable form as well. (Bug#16179)
118 2013-12-18 Tassilo Horn <tsdh@gnu.org>
120 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
121 Reference tables with ~\ref{...} instead of only \ref{...}.
123 2013-12-18 Chong Yidong <cyd@gnu.org>
125 * cus-edit.el (custom-magic-alist): Fix "themed" description
128 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
129 is non-nil, do not create a new entry in the symbol's theme-value
130 or theme-face property; update theme-settings only (Bug#14664).
131 (custom-available-themes): Doc fix.
133 * cus-theme.el (custom-new-theme-mode-map): Add bindings
136 * replace.el (occur-engine): Avoid infloop (Bug#7593).
138 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
140 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
143 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
145 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
147 2013-12-18 Glenn Morris <rgm@gnu.org>
149 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
150 * cus-start.el (load-prefer-newer): New option.
152 2013-12-18 Le Wang <l26wang@gmail.com>
154 * comint.el (comint-previous-matching-input-from-input):
155 Retain point (Bug#13404).
157 2013-12-18 Chong Yidong <cyd@gnu.org>
159 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
161 2013-12-18 Glenn Morris <rgm@gnu.org>
163 * mail/emacsbug.el (report-emacs-bug):
164 Only mention enable-multibyte-characters if non-standard.
166 2013-12-17 Juri Linkov <juri@jurta.org>
168 * arc-mode.el (archive-extract-by-file): Check if directory exists
169 before deletion to not show irrelevant errors if it doesn't exist.
171 2013-12-17 Juri Linkov <juri@jurta.org>
173 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
176 * net/eww.el (browse-web): Add alias to `eww'.
177 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
178 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
180 * net/browse-url.el (browse-url-browser-function): Move `eww'
181 closer to similar functions.
183 * startup.el (fancy-startup-screen, fancy-about-screen):
184 Set browse-url-browser-function to eww-browse-url locally.
187 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
189 * window.el (window--pixel-to-total): Remove unused `mini' var.
190 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
191 (split-window): Remove unused `new' var.
192 (window--display-buffer): Remove unused `frame' and `delta' vars.
193 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
196 2013-12-17 Martin Rudalics <rudalics@gmx.at>
198 * dired.el (dired-mark-pop-up):
199 * register.el (register-preview): Don't bind
200 split-height-threshold here since it's now done in
201 display-buffer-below-selected.
203 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
205 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
206 xterm-rgb-convert-to-16bit.
207 (rxvt-register-default-colors): Standardize with
208 xterm-register-default-colors (Bug#14078).
210 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
212 * simple.el (kill-region): Pass mark first, then point, so that
213 kill-append works right (Bug#12819).
214 (copy-region-as-kill, kill-ring-save): Likewise.
216 2013-12-17 Leo Liu <sdl.web@gmail.com>
218 * net/rcirc.el (rcirc-add-face):
219 * eshell/em-prompt.el (eshell-emit-prompt):
220 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
223 2013-12-17 Chong Yidong <cyd@gnu.org>
225 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
226 Suggested by Xue Fuqiao.
228 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
230 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
232 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
234 * net/shr.el (shr-insert-document): Remove unused var
235 `shr-preliminary-table-render'.
236 (shr-rescale-image): Remove unused arg `force'.
237 (shr-put-image): Update calls accordingly.
238 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
240 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
242 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
243 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
244 :close-all, to see which indentation method to use (Bug#16116).
245 (smie-rules-function): Document the method :close-all.
247 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
249 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
251 * net/eww.el (eww-display-html): If we can't find the anchor we're
252 looking for, then go to point-min.
254 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
256 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
257 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
258 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
259 Expand dir too, in case it's relative.
261 2013-12-16 Juri Linkov <juri@jurta.org>
263 * desktop.el (desktop-auto-save-timeout): Change default to
264 `auto-save-timeout'. Doc fix.
265 (desktop-save): Skip the timestamp in desktop-saved-frameset
266 when checking for auto-save changes.
267 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
268 `desktop-auto-save' is called repeatedly by the idle timer.
269 (desktop-auto-save-set-timer): Replace `run-with-timer' with
270 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
273 2013-12-16 Juri Linkov <juri@jurta.org>
275 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
277 (isearch-pre-command-hook): Check `this-command' for symbolp.
279 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
281 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
283 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
285 * progmodes/cfengine.el (cfengine3--current-word): Remove.
286 (cfengine3--current-function): Bring in the current-function
287 functionality from `cfengine3--current-word'.
288 (cfengine3-completion-function): Bring in the
289 bounds-of-current-word functionality from
290 `cfengine3--current-word'.
292 2013-12-16 Martin Rudalics <rudalics@gmx.at>
294 * window.el (display-buffer-below-selected):
295 Bind split-height-threshold to 0 as suggested by Juri Linkov.
297 2013-12-16 Leo Liu <sdl.web@gmail.com>
299 * progmodes/compile.el (compile-goto-error): Do not push-mark.
300 Remove NOMSG arg and all uses changed.
302 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
304 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
305 (cua--deactivate-rectangle): Don't deactivate the mark.
306 (cua-set-rectangle-mark): Don't set mark-active since
307 cua--activate-rectangle already does it for us.
308 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
309 non-rectangular region.
311 * emulation/cua-base.el (cua-repeat-replace-region):
312 Use with-current-buffer.
314 * net/gnutls.el: Use cl-lib.
315 (gnutls-negotiate): `mapcan' -> cl-mapcan.
317 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
319 * emacs-lisp/package.el (package-built-in-p): Support both
320 built-in and the package.el converted package descriptions.
321 (package-show-package-list): Allow keywords.
322 (package-keyword-button-action): Use it instead of
323 `finder-list-matches'.
324 (package-menu-filter-interactive): Interactive filtering (by
326 (package-menu--generate): Support keywords and change keymappings
327 and headers when they are given.
328 (package--has-keyword-p): Helper function.
329 (package-menu--refresh): Use it.
330 (package--mapc): Helper function.
331 (package-all-keywords): Use it.
332 (package-menu-mode-map): Set up menu items and keybindings to
333 provide a filtering UI.
335 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
337 * net/gnutls.el (gnutls-verify-error): New defcustom to control
338 the behavior when a certificate fails validation. Defaults to
339 old behavior: never abort, just warn.
340 (gnutls-negotiate): Use it.
342 2013-12-14 Martin Rudalics <rudalics@gmx.at>
344 * window.el (display-buffer-below-selected): Never split window
345 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
347 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
349 * emacs-lisp/package.el (package--prepare-dependencies): New function.
350 (package-buffer-info): Use it (bug#15108).
352 * icomplete.el (icomplete-completions): Make sure the prefix is already
353 displayed elsewhere before hiding it.
355 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
357 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
358 open-paren tokens when preceded by a open-paren, too.
359 (ruby-smie-rules): Handle virtual indentation after open-paren
360 tokens specially. If there is code between it and eol, return the
361 column where is starts (Bug#16118).
363 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
365 * progmodes/cfengine.el: Fix `add-hook' doc.
366 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
367 (cfengine3--current-word): Fix parameters.
368 (cfengine3-make-syntax-cache): Simplify further.
369 (cfengine3-completion-function, cfengine3--current-function):
370 Use `assq' for symbols.
371 (cfengine3--current-function): Fix `cfengine3--current-word' call.
373 2013-12-13 Glenn Morris <rgm@gnu.org>
375 * loadup.el (load-path): Warn if site-load or site-init changes it.
376 No more need to reset it when bootstrapping.
378 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
380 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
381 locations for cf-promises.
382 (cfengine-mode-syntax-functions-regex): New caching variable.
383 (cfengine3-fallback-syntax): Fallback syntax for cases where
384 cf-promises doesn't run.
385 (cfengine3--current-word): Reimplement using
386 `cfengine-mode-syntax-functions-regex'.
387 (cfengine3-completion-function, cfengine3--current-function):
388 Use `cfengine3-make-syntax-cache' directly.
389 (cfengine3-clear-syntax-cache): New function.
390 (cfengine3-make-syntax-cache): Simplify and create
391 `cfengine-mode-syntax-functions-regex' on demand.
392 (cfengine3-format-function-docstring): Don't call
393 `cfengine3-make-syntax-cache' explicitly.
395 2013-12-13 Martin Rudalics <rudalics@gmx.at>
397 Fix windmove-find-other-window broken after pixelwise resizing
399 * windmove.el (windmove-other-window-loc): Revert change from
401 (windmove-find-other-window): Call window-in-direction.
402 * window.el (window-in-direction): New arguments SIGN, WRAP and
403 MINI to emulate original windmove-find-other-window behavior.
405 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
407 * simple.el (blink-matching--overlay): New variable.
408 (blink-matching-open): Instead of moving point, highlight the
409 matching paren with an overlay
410 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
412 * faces.el (paren-showing-faces, show-paren-match)
413 (show-paren-mismatch): Move from paren.el.
415 2013-12-13 Leo Liu <sdl.web@gmail.com>
417 * indent.el (indent-region): Disable progress reporter in
418 minibuffer. (Bug#16108)
420 * bindings.el (visual-order-cursor-movement): Fix version.
422 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
424 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
425 Also match after beginning of line.
426 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
427 files. Thanks to Russell Sim. (Bug#15378)
429 2013-12-13 Juri Linkov <juri@jurta.org>
431 * simple.el <Keypad support>: Remove key bindings duplicated
432 with bindings.el. (Bug#14397)
434 2013-12-13 Juri Linkov <juri@jurta.org>
436 * comint.el (comint-mode-map): Replace `delete-char' with
437 `delete-forward-char'. (Bug#16109)
439 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
441 * progmodes/python.el (python-indent-calculate-indentation):
442 Fix de-denters cornercase. (Bug#15731)
444 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
446 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
447 (advice--make): Pay attention to `depth'.
448 (advice--make-1): Don't autoload commands eagerly.
449 * emacs-lisp/elp.el (elp-instrument-function):
450 * emacs-lisp/trace.el (trace-function-internal):
451 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
453 * iswitchb.el (iswitchb-mode): Don't belittle ido.
455 2013-12-12 Eli Zaretskii <eliz@gnu.org>
457 * term/w32-win.el (w32-handle-dropped-file):
458 * startup.el (normal-top-level):
459 * net/browse-url.el (browse-url-file-url):
460 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
461 decode file names using 'utf-8' rather than
462 file-name-coding-system.
464 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
466 * progmodes/python.el (python-indent-context)
467 (python-indent-calculate-indentation): Fix auto-identation
468 behavior for comment blocks. (Bug#15916)
470 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
472 * progmodes/python.el (python-indent-calculate-indentation):
473 When determining indentation, don't treat "return", "pass", etc., as
474 operators when they are just string constituents. (Bug#15812)
476 2013-12-12 Juri Linkov <juri@jurta.org>
478 * uniquify.el (uniquify-buffer-name-style): Change default to
479 `post-forward-angle-brackets'.
481 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
482 `uniquify'. Change default to `post-forward-angle-brackets'.
484 2013-12-11 Glenn Morris <rgm@gnu.org>
486 * emacs-lisp/package.el (finder-list-matches):
487 Autoload rather than falsely declaring.
489 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
491 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
492 (eww-mode-map): Use them.
494 2013-12-11 Martin Rudalics <rudalics@gmx.at>
496 * window.el (display-buffer-in-side-window): Fix doc-string
499 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
501 * vc/vc-git.el: Silence byte-compiler warnings.
502 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
503 (log-edit-set-header): Declare.
505 2013-12-11 Eli Zaretskii <eliz@gnu.org>
507 * Makefile.in (custom-deps, finder-data): Run output file names
508 through unmsys--file-name. (Bug#16099)
510 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
512 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
513 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
515 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
516 instead of deleting the selection "by hand" (bug#16098).
517 Rely on insert-for-yank to yank rectangles.
518 (cua-highlight-region-shift-only): Mark obsolete.
519 (cua-mode): Don't enable/disable transient-mark-mode,
520 shift-select-mode (cua-mode works both with and without them), and
521 pc-selection-mode (obsolete).
522 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
523 (cua--deactivate-rectangle): Deactivate it.
525 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
526 (delete-selection-helper): Make sure yank starts at the top of the
528 (minibuffer-keyboard-quit): Use region-active-p.
530 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
532 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
533 to `delete' (bug#16109).
535 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
537 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
538 info manual and show keybindings and set `:group' keyword.
540 2013-12-11 Juri Linkov <juri@jurta.org>
542 * delsel.el (delete-active-region): Let-bind `this-command'
543 to prevent `kill-region' from changing its original value.
544 (delete-selection-helper): Handle `overwrite-mode' for the type
545 `kill' exactly the same way as for the type `t'.
546 (insert-char, quoted-insert, reindent-then-newline-and-indent):
547 Support more commands. (Bug#13312)
549 2013-12-11 Juri Linkov <juri@jurta.org>
551 * bindings.el: Map kp keys to non-kp keys systematically
552 with basic modifiers control, meta and shift. (Bug#14397)
554 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
556 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
557 "Close browser" menu items. Fix wrong function of "List
560 2013-12-11 Juri Linkov <juri@jurta.org>
562 * misearch.el (multi-isearch-buffers): Set the value of
563 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
564 arg of isearch-forward to t.
565 (multi-isearch-buffers-regexp): Set the value of
566 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
567 arg of isearch-forward-regexp to t.
568 (multi-isearch-files): Set the value of
569 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
570 arg of isearch-forward to t.
571 (multi-isearch-files-regexp): Set the value of
572 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
573 arg of isearch-forward-regexp to t. (Bug#16035)
575 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
576 arg of isearch-forward to t.
577 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
578 arg of isearch-forward-regexp to t.
579 (dired-isearch-filter-filenames): Remove unnecessary check for
580 `dired-isearch-filenames'.
582 * comint.el (comint-history-isearch-backward):
583 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
584 (comint-history-isearch-backward-regexp):
585 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
587 2013-12-10 Eli Zaretskii <eliz@gnu.org>
589 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
590 unmsys--file-name. (Bug#16099)
592 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
594 * emacs-lisp/package.el (package-keyword-button-action):
595 Remove finder.el require dependency.
597 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
599 * emacs-lisp/package.el: Require finder.el.
600 (describe-package-1): Add keyword buttons.
601 (package-make-button): New convenience function.
602 (package-keyword-button-action): Keyword button action using
603 `finder-list-matches'
605 2013-12-09 Eli Zaretskii <eliz@gnu.org>
607 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
610 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
612 * autorevert.el (auto-revert-notify-add-watch): Do not handle
615 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
617 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
618 after the end of a percent literal.
620 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
622 * progmodes/ruby-mode.el (ruby-forward-string): Document.
623 Handle caret-delimited strings (Bug#16079).
625 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
627 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
628 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
629 `ruby-parse-partial' (Bug#16078).
631 2013-12-09 Leo Liu <sdl.web@gmail.com>
633 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
635 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
637 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
638 (js-switch-indent-offset): New option.
639 (js--proper-indentation): Use it. And handle the case when
640 "default" is actually a key in an object literal.
641 (js--same-line): New function.
642 (js--multi-line-declaration-indentation): Use it.
643 (js--indent-in-array-comp, js--array-comp-indentation):
645 (js--proper-indentation): Use them, to handle array comprehension
648 2013-12-08 Leo Liu <sdl.web@gmail.com>
650 * progmodes/flymake.el (flymake-highlight-line): Re-write.
651 (flymake-make-overlay): Remove arg MOUSE-FACE.
652 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
654 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
656 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
658 (redisplay-highlight-region-function): Use it.
660 * emulation/cua-base.el (cua--explicit-region-start)
661 (cua--last-region-shifted): Remove.
662 (cua--deactivate): Use deactivate-mark.
663 (cua--pre-command-handler-1): Don't handle shift-selection.
664 (cua--post-command-handler-1): Don't change transient-mark-mode.
665 (cua--select-keymaps): Use region-active-p rather than
666 cua--explicit-region-start or cua--last-region-shifted.
667 (cua-mode): Enable shift-select-mode.
669 2013-12-08 Leo Liu <sdl.web@gmail.com>
671 * progmodes/flymake.el (flymake-popup-current-error-menu):
672 Rename from flymake-display-err-menu-for-current-line. Reimplement.
673 (flymake-posn-at-point-as-event, flymake-popup-menu)
674 (flymake-make-emacs-menu): Remove. (Bug#16077)
676 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
678 * rect.el (rectangle-mark-mode): Activate mark even if
679 transient-mark-mode is off (bug#16066).
680 (rectangle--highlight-for-redisplay): Fix boundary condition when point
681 is > mark and at bolp.
683 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
684 (region-extract-function): Use it.
685 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
686 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
688 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
689 kill-ring-save, kill-region, delete-char, delete-forward-char.
690 Ignore self-insert-iso.
692 * emulation/cua-gmrk.el (cua--init-global-mark):
693 Ignore `self-insert-iso'.
695 * emulation/cua-base.el (cua--prefix-copy-handler)
696 (cua--prefix-cut-handler): Rely on region-extract-function rather than
697 checking cua--rectangle.
698 (cua-delete-region): Use region-extract-function.
699 (cua-replace-region): Delete function.
700 (cua-copy-region, cua-cut-region): Obey region-extract-function.
701 (cua--pre-command-handler-1): Don't do the delete-selection thing.
702 (cua--self-insert-char-p): Ignore `self-insert-iso'.
703 (cua--init-keymaps): Don't remap delete-selection commands.
704 (cua-mode): Use delete-selection-mode instead of rolling our own
707 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
708 Obey region-extract-function.
710 Make registers and delete-selection-mode work on rectangles.
711 * register.el (describe-register-1): Don't modify the register's value.
712 (copy-to-register): Obey region-extract-function.
713 * delsel.el (delete-active-region): Obey region-extract-function.
715 2013-12-08 Leo Liu <sdl.web@gmail.com>
717 * progmodes/flymake.el (flymake, flymake-error-bitmap)
718 (flymake-warning-bitmap, flymake-fringe-indicator-position)
719 (flymake-compilation-prevents-syntax-check)
720 (flymake-start-syntax-check-on-newline)
721 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
722 (flymake-start-syntax-check-on-find-file, flymake-log-level)
723 (flymake-xml-program, flymake-master-file-dirs)
724 (flymake-master-file-count-limit)
725 (flymake-allowed-file-name-masks): Relocate.
726 (flymake-makehash, flymake-float-time)
727 (flymake-replace-regexp-in-string, flymake-split-string)
728 (flymake-get-temp-dir): Remove.
729 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
730 (flymake-current-row, flymake-selected-frame)
731 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
732 related functions. (Bug#16077)
734 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
736 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
738 2013-12-07 Tassilo Horn <tsdh@gnu.org>
740 * help-fns.el (describe-function-1): Use new advice-* functions
741 rather than old ad-* functions. Fix function type description and
742 source links for advised functions and subrs.
744 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
746 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
748 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
750 * progmodes/compile.el (compilation-start):
751 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
753 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
754 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
756 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
758 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
759 Touch up the last change.
761 2013-12-06 Leo Liu <sdl.web@gmail.com>
763 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
764 (inferior-octave-startup): Always use "octave> " for prompt.
765 (octave-goto-function-definition)
766 (octave-sync-function-file-names)
767 (octave-find-definition-default-filename): Remove redundant backquotes.
769 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
771 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
773 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
774 where appropriate already.
775 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
776 end of method names (Bug#15874).
778 2013-12-06 Juri Linkov <juri@jurta.org>
780 * isearch.el (isearch--saved-overriding-local-map):
781 New internal variable.
782 (isearch-mode): Set it to the initial value of
783 `overriding-terminal-local-map'.
784 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
785 with `isearch--saved-overriding-local-map'. (Bug#16035)
787 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
789 * progmodes/octave.el (inferior-octave-completion-table):
790 Turn back into function, use `completion-table-with-cache'
791 (Bug#11906). Update all references.
793 * minibuffer.el (completion-table-with-cache): New function.
795 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
797 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
799 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
801 * net/eww.el (eww-current-source): New variable to store page
803 (eww-display-html, eww-mode, eww-save-history)
804 (eww-restore-history): Use it.
805 (eww-view-source): New command to view page source.
806 Opportunistically uses `html-mode' to highlight the buffer.
807 (eww-mode-map): Install it.
809 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
811 * net/dbus.el (dbus-unregister-service)
812 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
814 (dbus-unregister-service): Skip :serial entries in
815 `dbus-registered-objects-table'.
816 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
818 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
820 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
821 around keywords with extra `split-string' argument.
823 2013-12-04 Martin Rudalics <rudalics@gmx.at>
825 * windmove.el (windmove-other-window-loc): Handle navigation
826 between windows (excluding the minibuffer window - Bug#16017).
828 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
830 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
831 in D-Bus type syntax.
832 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
833 preserve unibyte strings. (Bug#16048)
835 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
837 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
838 Call force-mode-line-update is the proper buffer (bug#16042).
840 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
842 * vc/log-edit.el (log-edit-add-new-comment): Rename to
843 `log-edit-remember-comment', make argument optional. Adjust all
845 (log-edit-mode): Add `log-edit-remember-comment' to
846 `kill-buffer-hook' locally.
847 (log-edit-kill-buffer): Don't remember comment explicitly since
848 the buffer is killed anyway.
850 2013-12-04 Juri Linkov <juri@jurta.org>
852 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
853 add-hook and remove-hook for multi-buffer search. (Bug#16035)
855 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
857 * notifications.el (notifications-close-notification): Call the
858 D-Bus method with ID being a `:uint32'. (Bug#16030)
860 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
862 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
864 2013-12-03 Juri Linkov <juri@jurta.org>
866 * progmodes/compile.el (compilation-start): Rename window alist
867 entry `no-display-ok' to `allow-no-window'.
869 * simple.el (shell-command): Add window alist entry
870 `allow-no-window' to `display-buffer'.
871 (async-shell-command): Doc fix.
873 * window.el (display-buffer-no-window): New action function.
874 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
876 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
878 * vc/log-edit.el (log-edit-set-header): Extract from
879 `log-edit-toggle-header'.
880 (log-edit-extract-headers): Separate the summary, when extracted
881 from header, from the rest of the message with an empty line.
883 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
884 line, if present, to the Summary header.
886 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
888 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
889 in current-buffer (bug#16029).
891 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
893 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
894 (debugger-mode-map): Bind it.
895 (debugger--backtrace-base): New function.
896 (debugger-eval-expression): Use it.
897 (debugger-frame-number): Skip local vars when present.
898 (debugger--locals-visible-p, debugger--insert-locals)
899 (debugger--show-locals, debugger--hide-locals): New functions.
901 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
903 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
905 (tramp-get-remote-locale): New defun.
906 (tramp-open-connection-setup-interactive-shell): Use it.
908 2013-12-02 Leo Liu <sdl.web@gmail.com>
910 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
912 * progmodes/sh-script.el (sh-shell-process):
913 * progmodes/octave.el (inferior-octave-process-live-p):
914 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
915 (gdb-inferior-io-sentinel):
916 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
918 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
920 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
921 `save-selected-window' to `log-edit-hide-buf'. This makes
922 `log-edit-show-files' idempotent.
923 (log-edit-show-files): Mark the new window as dedicated.
925 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
927 * vc/log-edit.el (log-edit-mode-map): Add binding for
928 `log-edit-kill-biffer'.
929 (log-edit-hide-buf): Add a FIXME comment.
930 (log-edit-add-new-comment): New function, extracted from
932 (log-edit-done, log-edit-add-to-changelog): Use it.
933 (log-edit-kill-buffer): New command.
935 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
937 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
938 instead of killing the buffer.
940 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
942 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
944 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
946 * net/eww.el (eww-form-checkbox-selected-symbol)
947 (eww-form-checkbox-symbol): New customizable variable.
948 (eww-form-checkbox, eww-toggle-checkbox):
949 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
951 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
952 (shr--get-media-pref, shr--extract-best-source): New function.
953 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
954 no :src tag was specified.
956 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
957 (eww-render): Handle `eww-use-external-browser-for-content-type'.
958 Use \\` to match beginning of string instead of ^.
959 (eww-browse-with-external-browser): Provide optional URL parameter.
960 (eww-render): Set `eww-current-title' back to "".
962 * net/shr.el (shr-tag-video): Display content for video if no
964 (shr-tag-audio): Add support for <audio> tag.
966 * net/eww.el (eww-text-input-types): : New const.
967 (eww-process-text-input): Treat input types in
968 `eww-text-input-types' as text.
970 * net/shr.el (shr-tag-table): Fix comment typo.
972 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
974 * net/eww.el (eww-follow-link): New command to avoid reloading
975 pages when we follow #target links (bug#15243).
976 (eww-quit): Special mode buffers shouldn't query before exiting.
978 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
980 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
983 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
985 * net/eww.el (eww-restore-history): Update the window title after
986 moving in the history.
987 (eww-current-dom): New variable used to save the current DOM.
989 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
991 * vc/log-edit.el (log-edit-mode-map): Add binding for
992 `log-edit-beginning-of-line'.
993 (log-edit-setup-add-author): New user option.
994 (log-edit-beginning-of-line): New command.
995 (log-edit): Move major mode call above the contents setup so that
996 the local variable values are already applied.
997 (log-edit): Only insert "Author: " when
998 `log-edit-setup-add-author' is non-nil.
999 (log-edit): When SETUP is non-nil, position point after ": "
1000 instead of point-min.
1002 2013-12-01 Glenn Morris <rgm@gnu.org>
1004 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1006 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1008 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1009 redisplay to make sure the initial frame gets a chance to become
1010 visible. (Bug#16014)
1012 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1014 Support resizing frames and windows pixelwise.
1015 * cus-start.el (frame-resize-pixelwise)
1016 (window-resize-pixelwise): New entries.
1017 * emacs-lisp/debug.el (debug): Use window-total-height instead
1018 of window-total-size.
1019 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1020 * help.el (describe-bindings-internal): Call help-buffer
1021 (temp-buffer-max-width): New option.
1022 (resize-temp-buffer-window, help-window-setup)
1023 (with-help-window): Rewrite.
1024 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1026 * window.el (frame-char-size, window-min-pixel-height)
1027 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1028 (window-min-pixel-width, window-safe-min-pixel-size)
1029 (window-combination-p, window-safe-min-size)
1030 (window-resizable-p, window--size-to-pixel)
1031 (window--pixel-to-size, window--resize-apply-p): New functions.
1032 (window-safe-min-height): Fix doc-string.
1033 (window-size, window-min-size, window--min-size-1)
1034 (window-sizable, window-sizable-p, window--min-delta-1)
1035 (window-min-delta, window--max-delta-1, window-max-delta)
1036 (window--resizable, window--resizable-p, window-resizable)
1037 (window-full-height-p, window-full-width-p, window-at-side-p)
1038 (window--in-direction-2, window-in-direction)
1039 (window--resize-reset-1, window--resize-mini-window)
1040 (window-resize, window-resize-no-error)
1041 (window--resize-child-windows-normal)
1042 (window--resize-child-windows, window--resize-siblings)
1043 (window--resize-this-window, window--resize-root-window)
1044 (window--resize-root-window-vertically)
1045 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1046 (maximize-window, minimize-window, delete-window)
1047 (quit-restore-window, window-split-min-size, split-window)
1048 (balance-windows-2, balance-windows)
1049 (balance-windows-area-adjust, balance-windows-area)
1050 (window--state-get-1, window-state-get, window--state-put-1)
1051 (window--state-put-2, window-state-put)
1052 (display-buffer-record-window, window--display-buffer):
1053 Make functions handle pixelwise sizing of windows.
1054 (display-buffer--action-function-custom-type)
1055 (display-buffer-fallback-action):
1056 Add display-buffer-in-previous-window.
1057 (display-buffer-use-some-window): Resize window to height it had
1059 (fit-window-to-buffer-horizontally): New option.
1060 (fit-frame-to-buffer): Describe new values.
1061 (fit-frame-to-buffer-bottom-margin): Replace with
1062 fit-frame-to-buffer-margins.
1063 (window--sanitize-margin): New function.
1064 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1065 using window-text-pixel-size.
1067 2013-11-30 Glenn Morris <rgm@gnu.org>
1069 * emacs-lisp/bytecomp.el (byte-compile-form):
1070 Make the `interactive-only' warning like the `obsolete' one.
1071 * comint.el (comint-run):
1072 * files.el (insert-file-literally, insert-file):
1073 * replace.el (replace-string, replace-regexp):
1074 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1075 (goto-line, insert-buffer, next-line, previous-line):
1076 Tweak `interactive-only' spec.
1078 Stop keeping (most) generated cedet grammar files in the repository.
1079 * Makefile.in (semantic): New.
1080 (compile-main): Depend on semantic.
1082 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1084 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1085 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1087 * uniquify.el (uniquify-buffer-name-style): Change default.
1089 * loadup.el: Preload "uniquify".
1091 * time.el (display-time-update): Update all mode lines (bug#15999).
1093 * electric.el (electric-indent-mode): Enable by default.
1094 * loadup.el: Preload "electric".
1096 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1098 * emacs-lisp/helpers.el (string-empty-p): New function.
1099 (string-blank-p): New function.
1101 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1103 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1106 2013-11-29 Andreas Politz <politza@fh-trier.de>
1107 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1108 allow non-lambda lists as functions.
1109 (imenu--in-alist): Don't recurse into non-subalists.
1110 (imenu): Don't pass function itself as an argument (Bug#14029).
1112 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1114 * progmodes/python.el (python-mode-map): Remove binding for ":".
1115 (python-indent-electric-colon): Remove command.
1116 (python-indent-post-self-insert-function): Integrate the previous code
1117 of python-indent-electric-colon. Make it conditional on
1118 electric-indent-mode.
1119 (python-mode): Add ?: to electric-indent-chars.
1120 Move python-indent-post-self-insert-function to the end of
1121 post-self-insert-hook.
1123 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1125 * doc-view.el (doc-view-goto-page): Update mode-line.
1127 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1129 2013-11-27 Glenn Morris <rgm@gnu.org>
1131 * international/charprop.el, international/uni-bidi.el:
1132 * international/uni-category.el, international/uni-combining.el:
1133 * international/uni-comment.el, international/uni-decimal.el:
1134 * international/uni-decomposition.el, international/uni-digit.el:
1135 * international/uni-lowercase.el, international/uni-mirrored.el:
1136 * international/uni-name.el, international/uni-numeric.el:
1137 * international/uni-old-name.el, international/uni-titlecase.el:
1138 * international/uni-uppercase.el:
1139 Remove generated files from VCS repository.
1141 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1143 * filenotify.el (file-notify-add-watch): Don't special-case
1144 w32notify when computing the directory to watch.
1146 2013-11-27 Glenn Morris <rgm@gnu.org>
1148 Make bootstrap without generated uni-*.el files possible again.
1149 * loadup.el: Update command-line-args checking for unidata-gen.
1150 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1151 * composite.el, international/characters.el:
1152 Handle unicode tables being undefined.
1154 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1155 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1156 (compile-main): Depend on leim rule.
1158 * loadup.el: Move leim-list.el to leim/ subdirectory.
1159 * startup.el (normal-top-level): No more leim directory.
1160 * international/ja-dic-cnv.el (skkdic-convert):
1161 Disable version-control and autoloads in output files.
1162 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1163 Disable version-control and autoloads in output files.
1164 * leim/quail: Move here from ../leim.
1165 * leim/quail/hangul.el (hangul-input-method-activate):
1166 Add autoload cookie.
1167 (generated-autoload-load-name): Set file-local value.
1168 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1169 (generated-autoload-load-name): Set file-local value.
1171 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1173 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1174 (eww-add-bookmark): ask confirmation when add to bookmarks
1175 (eww-quit): ask confirmation before quitting eww
1177 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1179 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1180 reading output from Diff on MS-Windows and MS-DOS.
1182 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1184 * emacs-lisp/helpers.el (string-reverse): New function.
1186 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1188 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1189 names on MS Windows, like "/[::1]:".
1191 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1194 2013-11-26 Glenn Morris <rgm@gnu.org>
1196 * progmodes/python.el (python-indent-guess-indent-offset):
1197 Avoid corner-case error. (Bug#15975)
1199 Preload leim-list.el. (Bug#4789)
1200 * loadup.el: Load leim-list.el when found.
1201 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1203 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1205 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1207 * emacs-lisp/helpers.el (string-join): New function.
1209 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1211 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1212 Mark as obsolete and replace it with a symbol property.
1213 (byte-compile-form): Use new 'interactive-only property.
1214 * comint.el, files.el, replace.el, simple.el:
1215 Apply new 'interactive-only properly.
1217 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1219 * window.el (display-buffer-at-bottom): Make sure that
1220 split-window-sensibly creates the new window on bottom
1223 2013-11-23 David Kastrup <dak@gnu.org>
1225 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1226 on the conflict markers when available.
1227 (smerge--get-marker): New function.
1228 (smerge-end-re, smerge-base-re): Add subgroup.
1230 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1232 * frame.el (handle-focus-in, handle-focus-out): Add missing
1235 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1237 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1238 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1240 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1242 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1243 (gomoku--last-pos): New var.
1244 (gomoku--intangible-chars): New const.
1245 (gomoku--intangible): New function.
1246 (gomoku-mode): Use it. Derive from special-mode.
1247 (gomoku-move-up): Adjust line count.
1248 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1249 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1250 Simplify accordingly.
1252 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1253 Remove blink-cursor code.
1254 (blink-cursor-timer-function, blink-cursor-suspend):
1255 Don't special-case GUIs.
1256 (blink-cursor-mode): Use focus-in/out-hook.
1258 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1260 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1261 work when annotation is invisible (Bug#13886).
1263 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1265 * json.el (json-alist-p): Only return non-nil if the alist has
1266 simple keys (Bug#13518).
1268 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1270 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1271 when control-statement is the first statement in a buffer (Bug#15956).
1273 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1275 * imenu.el (imenu-generic-skip-comments-and-strings):
1276 New option (Bug#15560).
1277 (imenu--generic-function): Use it.
1279 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1281 * minibuffer.el (completion--in-region-1): Scroll the correct
1284 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1286 * emacs-lisp/helpers.el: Add some string helpers.
1287 (string-trim-left): Removes leading whitespace.
1288 (string-trim-right): Removes trailing whitespace.
1289 (string-trim): Removes leading and trailing whitespace.
1291 * subr.el (string-suffix-p): New function.
1293 2013-11-23 Glenn Morris <rgm@gnu.org>
1295 * progmodes/python.el (python-shell-send-file):
1296 Add option to delete file when done. (Bug#15647)
1297 (python-shell-send-string, python-shell-send-region): Use it.
1299 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1301 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1302 to set buffer-read-only to t, never to nil. (Bug#15938)
1304 * textmodes/tex-mode.el (latex-noindent-environments):
1305 Add safe-local-variable property. (Bug#15936)
1307 2013-11-23 Glenn Morris <rgm@gnu.org>
1309 * textmodes/enriched.el (enriched-mode): Doc fix.
1310 * emacs-lisp/authors.el (authors-renamed-files-alist):
1311 Add enriched.doc -> enriched.txt.
1313 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1315 2013-11-22 Leo Liu <sdl.web@gmail.com>
1317 * progmodes/octave.el (inferior-octave-startup): Spit out error
1320 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1322 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1325 (ruby-encoding-magic-comment-style): Add :version.
1327 2013-11-22 Leo Liu <sdl.web@gmail.com>
1329 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1331 (octave-help-mode): Adapt to change to help-mode-finish to use
1332 derived-mode-p on 2013-09-17.
1333 (inferior-octave-prompt): Also match octave-gui.
1334 (octave-kill-process): Don't ask twice. (Bug#10564)
1336 2013-11-22 Leo Liu <sdl.web@gmail.com>
1338 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1339 (inferior-octave-startup, inferior-octave-check-process)
1340 (inferior-octave-track-window-width-change)
1341 (octave-completion-at-point, octave-eldoc-function): Use it.
1342 (octave-kill-process): Provide confirmation. (Bug#10564)
1344 2013-11-21 Leo Liu <sdl.web@gmail.com>
1346 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1347 Fix obsolete variable comment-use-global-state.
1349 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1351 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1352 Add `octave-source-file'.
1353 (octave-source-file): New function. (Bug#15935)
1355 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1357 * net/eww.el (eww-local-regex): New variable.
1358 (eww): Use it to detect localhost and similar.
1360 2013-11-21 Leo Liu <sdl.web@gmail.com>
1362 Add completion for command `ag'.
1363 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1364 (pcomplete/ag): New function.
1365 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1367 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1369 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1371 (make-obsolete): Remove interactive spec.
1373 2013-11-21 Glenn Morris <rgm@gnu.org>
1375 * startup.el (command-line-1): Use path-separator with -L.
1377 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1379 * emacs-lisp/package.el (describe-package-1): Add package archive
1382 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1384 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1385 Change default to "# encoding: %s" to differentiate it from the
1386 default Ruby encoding comment template.
1388 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1390 * ses.el (ses-mode): Doc fix. (Bug#14748)
1392 2013-11-20 Leo Liu <sdl.web@gmail.com>
1394 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1396 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1398 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1399 when rebase or bisect are in progress.
1401 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1403 * filenotify.el (file-notify-add-watch): Doc fix.
1405 2013-11-19 Leo Liu <sdl.web@gmail.com>
1407 * obsolete/rcompile.el: Mark obsolete.
1409 * progmodes/compile.el (compilation-start)
1410 (compilation-goto-locus, compilation-find-file):
1411 Pass no-display-ok and handle nil value from display-buffer.
1414 * window.el (display-buffer-alist, display-buffer): Document the
1415 new parameter no-display-ok. Return either a window or nil
1416 but never a non-window value.
1418 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1420 * electric.el (electric-indent-mode-map): Remove.
1421 (electric-indent-mode): Change the global-map instead (bug#15915).
1423 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1426 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1428 * emacs-lisp/nadvice.el (remove-function): Align with
1429 add-function's behavior.
1431 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1432 (gdb--string-regexp): New constant.
1433 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1434 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1435 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1437 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1438 Adjust use accordingly.
1439 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1441 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1443 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1444 interpolation curlies (Bug#15914).
1446 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1448 * calc/calc.el (calc-context-sensitive-enter): New variable.
1449 (calc-enter): Use `calc-context-sensitive-enter'.
1451 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1453 * progmodes/cfengine.el: Version bump.
1454 (cfengine-cf-promises): New defcustom to locate cf-promises.
1455 (cfengine3-vartypes): Add new "data" type.
1456 (cfengine3--current-word): New function to get current name-like
1458 (cfengine3--current-function): New function to look up a CFEngine
1459 function's definition.
1460 (cfengine3-format-function-docstring): New function.
1461 (cfengine3-make-syntax-cache): New function.
1462 (cfengine3-documentation-function): New function: ElDoc glue.
1463 (cfengine3-completion-function): New function: completion glue.
1464 (cfengine3-mode): Set `compile-command',
1465 `eldoc-documentation-function', and add to
1466 `completion-at-point-functions'.
1468 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1470 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1471 `tramp-current-connection'.
1473 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1475 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1476 nil/self/true/false with "end of symbol".
1478 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1480 * subr.el (version-regexp-alist): Fix a typo.
1482 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1484 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1485 "en_US.utf8" and "LC_CTYPE" to "".
1486 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1487 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1489 2013-11-15 Leo Liu <sdl.web@gmail.com>
1491 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1493 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1495 * progmodes/gud.el (ctl-x-map):
1496 Remove C-x SPC binding. (Bug#12342)
1497 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1499 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1501 * subr.el (version-regexp-alist):
1502 Recognize hg, svn and darcs versions as snapshot versions.
1504 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1505 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1506 (ruby--encoding-comment-required-p): Extract from
1507 `ruby-mode-set-encoding'.
1508 (ruby-mode-set-encoding): Add the ability to always insert an
1509 utf-8 encoding comment. Fix and simplify coding comment update
1512 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1514 * net/tramp-gvfs.el (top): Run init code only when
1515 `tramp-gvfs-enabled' is not nil.
1516 (tramp-gvfs-enabled): Check also :system bus.
1518 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1520 Sync with upstream verilog-mode revision 78e66ba.
1521 * progmodes/verilog-mode.el (verilog-end-of-defun)
1522 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1523 (verilog-get-end-of-defun): Remove unused argument.
1524 (verilog-comment-depth): Remove unused local `e'.
1525 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1526 Don't pass arg to verilog-get-end-of-defun.
1528 2013-11-14 Glenn Morris <rgm@gnu.org>
1530 * obsolete/assoc.el (aget): Prefix dynamic variable.
1532 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1534 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1536 * widget.el, hfy-cmap.el: Remove bogus package version number.
1538 2013-11-13 Glenn Morris <rgm@gnu.org>
1540 * replace.el (replace-eval-replacement):
1541 Try to give more helpful error message. (Bug#15836)
1543 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1544 (archive-7z-update): Avoid custom type mismatches.
1546 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1548 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1550 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1551 address can be empty.
1553 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1554 Accept nil SWITCHES.
1555 (tramp-gvfs-handle-write-region): Implement APPEND.
1557 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1559 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1560 binary "|" operator and closing block args delimiter.
1561 Remove FIXME comment referring to Ruby 1.8-only syntax.
1562 (ruby-smie--implicit-semi-p): Not after "|" operator.
1563 (ruby-smie--closing-pipe-p): New function.
1564 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1565 (ruby-smie-rules): Indent after "|".
1567 2013-11-12 Glenn Morris <rgm@gnu.org>
1569 * ps-print.el (ps-face-attribute-list):
1570 Handle anonymous faces. (Bug#15827)
1572 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1574 * window.el (display-buffer-other-frame): Fix doc-string.
1577 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1579 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1581 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1583 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1584 (tramp-sh-handle-file-local-copy): Don't write a message when
1585 saving temporary files.
1587 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1588 both directories are remote.
1589 (tramp-smb-handle-directory-files): Do not return double entries.
1590 Do not expand full file names.
1591 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1592 (tramp-smb-handle-write-region): Implement APPEND.
1593 (tramp-smb-get-stat-capability): Fix a stupid bug.
1595 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1597 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1599 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1601 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1602 throwing error over malformed let/let* (bug#15814).
1604 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1606 * iswitchb.el (iswitchb-mode): Mark obsolete.
1608 2013-11-11 Glenn Morris <rgm@gnu.org>
1610 * international/uni-bidi.el, international/uni-category.el:
1611 * international/uni-name.el, international/uni-numeric.el:
1612 Regenerate for Unicode 6.3.0.
1614 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1616 * net/tramp.el (tramp-methods):
1617 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1618 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1620 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1622 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1623 Force highlighting text after Summary keyword in doc face for rpm.
1625 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1627 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1628 available and the word has no wildcards, append one to the grep pattern.
1629 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1630 (ispell-complete-word): Call `ispell-lookup-words' with the value
1631 independent of `ispell-look-p'.
1633 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1635 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1637 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1640 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1642 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1643 (ruby-font-lock-keywords): Use backquote.
1645 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1647 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1648 (ruby-smie--backward-token): Only consider full-string matches.
1650 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1652 * faces.el (describe-face): Add distant-foreground.
1654 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1656 * progmodes/ruby-mode.el: Improve encoding comment handling.
1657 (ruby-encoding-magic-comment-style): New option.
1658 (ruby-custom-encoding-magic-comment-template): New option.
1659 (ruby--insert-coding-comment, ruby--detect-encoding):
1660 New functions extracted from `ruby-mode-set-encoding'.
1661 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1662 to control the style of the auto-inserted encoding comment.
1664 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1666 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1667 Use `smie-backward-sexp' with token argument.
1669 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1671 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1672 Remove instrumentation code.
1674 2013-11-08 Glenn Morris <rgm@gnu.org>
1676 * progmodes/autoconf.el (autoconf-mode):
1677 Tweak comment-start-skip. (Bug#15822)
1679 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1681 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1682 at bobp (bug#15826).
1683 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1685 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1687 * man.el (Man-start-calling): New macro, extracted from
1688 Man-getpage-in-background.
1689 (Man-getpage-in-background): Use it.
1690 (Man-update-manpage): New command.
1691 (Man-mode-map): Bind it.
1693 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1695 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1696 of "and", "or", "&&" and "||".
1697 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1698 argument. Prohibit opening curly brace because it could only be a
1699 block opener in that position.
1700 (ruby-smie--forward-token, ruby-smie--backward-token):
1701 Separate "|" from "&" or "*" going after it. That can happen in block
1703 (ruby-smie--indent-to-stmt): New function, seeks the end of
1704 previous statement or beginning of buffer.
1705 (ruby-smie-rules): Use it.
1706 (ruby-smie-rules): Check if there's a ":" before a curly block
1707 opener candidate; if there is, it's a hash.
1709 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1711 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1712 (cl--block-wrapper): Fix last accidental change.
1714 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1716 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1717 Instrument, in order to hunt failure on hydra.
1719 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1721 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1722 malformed bindings form (bug#15814).
1724 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1726 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1727 "." compared to " @ ". This incidentally fixes some indentation
1729 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1730 (ruby-smie-grammar): New tokens: "and" and "or".
1731 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1732 Exclude "and" and "or". Remove "do" in order to work around token
1734 (ruby-smie-rules): Add all infix tokens. Handle the case of
1735 beginning-of-buffer.
1737 2013-11-06 Glenn Morris <rgm@gnu.org>
1739 * Makefile.in (setwins_almost, setwins_for_subdirs):
1740 Avoid accidental matches.
1742 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1744 * menu-bar.el (popup-menu): Use key-binding.
1746 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1748 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1749 menus, support also the menus produced by minor modes.
1752 2013-11-06 Leo Liu <sdl.web@gmail.com>
1754 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1755 DISTANCE to bound the search. All uses changed. (Bug#15808)
1757 2013-11-06 Glenn Morris <rgm@gnu.org>
1759 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1760 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1761 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1763 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1765 * electric.el (electric-indent-just-newline): New command.
1766 (electric-indent-mode-map): New keymap.
1767 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1768 Re-add :group which weren't redundant.
1770 * electric.el (electric-indent-local-mode): New minor mode.
1771 (electric-indent-functions-without-reindent): New var.
1772 (electric-indent-post-self-insert-function): Use it.
1773 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1775 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1777 * international/quail.el (quail-help): Be more explicit about the
1778 meaning of the labels shown on the keys. (Bug#15800)
1780 * startup.el (normal-top-level): Load the subdirs.el files before
1781 setting the locale environment. (Bug#15805)
1783 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1785 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1786 via arguments so as to get the right ones (bug#15418).
1788 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1790 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1792 Fix problems found while writing a test suite.
1794 * net/tramp-compat.el (tramp-compat-load): New defun.
1795 * net/tramp.el (tramp-handle-load): Use it.
1797 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1798 "(numberp ok-if-already-exists)" correctly.
1800 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1802 * international/characters.el (glyphless-char-display-control):
1805 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1807 * progmodes/python.el (python-mode):
1808 * progmodes/scheme.el (scheme-mode):
1809 * progmodes/prolog.el (prolog-mode):
1810 * progmodes/ruby-mode.el (ruby-mode):
1811 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1812 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1814 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1816 * rect.el (rectangle--highlight-for-redisplay):
1817 * emacs-lisp/smie.el (smie--next-indent-change):
1818 Use buffer-chars-modified-tick.
1820 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1822 * electric.el (electric-indent-post-self-insert-function):
1823 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1825 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1827 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1829 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1831 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1834 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1836 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1838 * progmodes/python.el: Fix up last change.
1839 (python-shell--save-temp-file): New function.
1840 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1841 `string' comes from the current buffer.
1842 (python-shell-send-string-no-output): Remove `msg' arg.
1843 (python--use-fake-loc): New var.
1844 (python-shell-buffer-substring): Obey it. Try to compensate for the
1845 extra coding line added by python-shell--save-temp-file.
1846 (python-shell-send-region): Use python-shell--save-temp-file and
1847 python-shell-send-file directly. Add `nomain' argument.
1848 (python-shell-send-buffer): Use python-shell-send-region.
1849 (python-electric-pair-string-delimiter): New function.
1850 (python-mode): Use it.
1852 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1854 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1855 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1856 environment and decoding all of the default-directory's to here
1858 (command-line): Decode also argv[0].
1860 * loadup.el: Error out if default-directory is a multibyte string
1861 when we are dumping.
1863 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1865 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1867 * emacs-lisp/package.el (package-menu-mode)
1868 (package-menu--print-info, package-menu--archive-predicate):
1869 Add Archive column to package list.
1871 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1873 Fix problems found while writing a test suite.
1875 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1876 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1877 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1878 to nil when running original file name handler. Otherwise,
1879 there are problems with constructs like "$$FOO".
1881 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1884 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1886 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1888 * subr.el (version<, version<=, version=):
1889 Update docstrings with information for snapshot versions.
1891 * helpers.el: New library for misc helper functions.
1892 (hash-table-keys): New function returning a list of hash keys.
1893 (hash-table-values): New function returning a list of hash values.
1895 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1897 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1898 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1900 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1902 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1903 checking whether point is after a 1-letter word.
1905 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1907 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1908 Don't infloop when expanding region over `multiline' syntax-type that
1909 begins a line (bug#15778).
1911 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1913 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1914 Make it into a proper minor mode.
1915 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1916 (rectangle-mark-mode-map): New keymap.
1917 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1919 2013-11-04 Glenn Morris <rgm@gnu.org>
1921 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1923 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1925 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1926 (ruby-smie-rules): Use smie-rule-parent instead.
1928 * emacs-lisp/smie.el (smie-rule-parent): Always call
1929 smie-indent-virtual rather than only for hanging tokens.
1930 (smie--next-indent-change): New helper command.
1932 2013-11-03 Glenn Morris <rgm@gnu.org>
1934 * Makefile.in (abs_srcdir): Remove.
1935 (emacs): Unset EMACSLOADPATH.
1937 2013-11-02 Glenn Morris <rgm@gnu.org>
1939 * Makefile.in (EMACS): Use a relative filename.
1940 (abs_top_builddir): Remove.
1941 (custom-deps, finder-data, autoloads): Use --chdir.
1943 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1945 Use relative filenames in TAGS files.
1946 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1947 (lisptagsfiles4, TAGS): Use relative file names.
1948 (TAGS-LISP): Remove.
1949 (maintainer-clean): No more TAGS-LISP file.
1951 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1952 (lisptagsfiles4): Use absolute filenames again.
1953 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1954 Remove all *loaddefs files, not just the first. Remove esh-groups.
1955 (maintainer-clean): Delete TAGS, TAGS-LISP.
1957 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1959 * emacs-lisp/package.el (package-version-join):
1960 Recognize snapshot versions.
1962 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1964 * subr.el (version-regexp-alist): Add support for snapshot versions.
1966 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1968 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1969 New function, replacement for `smie-rule-parent' for when we want to
1970 skip over our direct parent if it's an assignment token..
1971 (ruby-smie-rules): Use it.
1973 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1975 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1976 unconditionally. Remove now unnecessary forward declarations.
1977 Remove XEmacs-specific setup.
1978 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1979 (ruby-font-lock-syntactic-keywords)
1980 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1981 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1982 (ruby-here-doc-end-syntax): Remove.
1983 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1984 defined as function.
1986 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1988 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1990 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1992 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1993 table and abbrev table, `define-derived-mode' does that for us
1996 2013-11-01 Glenn Morris <rgm@gnu.org>
1998 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1999 files is atomic for some time, so no parallel compilation issues).
2001 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2003 * faces.el (face-x-resources): Add :distant-foreground.
2004 (region): Use :distant-foreground for gtk and ns.
2006 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2008 Allow multiple bibliographies when BibLaTeX is used rather than
2010 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2011 (reftex-locate-bibliography-files): Us it.
2013 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2015 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2016 allow comments in pbm files.
2018 * term/w32-win.el (dynamic-library-alist): Support newer versions
2019 of libjpeg starting with v7: look only for the DLL from the
2020 version against which Emacs was built.
2021 Support versions of libpng beyond 1.4.x.
2022 Support libtiff v4.x.
2024 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2026 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2027 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2029 (ruby-deep-arglist): Add property :type.
2031 2013-10-31 Glenn Morris <rgm@gnu.org>
2033 * Makefile.in (custom-deps, finder-data): No need to setq the target
2034 variables, we are in the right directory and the defaults work fine.
2036 2013-10-30 Glenn Morris <rgm@gnu.org>
2038 * Makefile.in (autoloads): Do not use abs_lisp.
2040 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2041 `newline' does not respect `standard-output', so use `princ'.
2043 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2045 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2046 * buff-menu.el (Buffer-menu--unmark): New function.
2047 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2049 2013-10-30 Glenn Morris <rgm@gnu.org>
2051 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2053 * emacs-lisp/package.el (lm-homepage): Declare.
2055 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2058 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2060 * Makefile.in (finder-data, autoloads, update-subdirs)
2061 (compile-main, compile-clean, compile-always, bootstrap-clean):
2062 Check return value of cd.
2063 (compile-calc): Remove.
2065 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2067 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2069 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2070 (byte-compile-and-folded): New function.
2071 (=, <, >, <=, >=): Use it.
2073 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2074 (path-separator, null-device, buffer-file-coding-system)
2075 (lpr-headers-switches): Check system-type before modifying them.
2076 (find-buffer-file-type-coding-system): Mark obsolete.
2077 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2078 find-file-not-found-set-buffer-file-coding-system.
2079 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2080 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2081 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2082 (w32-direct-print-region-helper, w32-direct-print-region-function)
2083 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2084 * startup.el (normal-top-level-add-subdirs-to-load-path):
2085 * ps-print.el (ps-print-region-function):
2086 * lpr.el (print-region-function): Use new name.
2088 * subr.el (custom-declare-variable-early): Remove function.
2089 (custom-declare-variable-list): Remove var.
2090 (error, user-error): Remove `while' loop.
2091 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2092 (user-emacs-directory-warning, locate-user-emacs-file):
2094 * simple.el (read-quoted-char-radix, read-quoted-char):
2095 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2097 * custom.el (custom-declare-variable-list): Don't process
2098 custom-declare-variable-list.
2100 * progmodes/python.el (python-shell-get-buffer): New function.
2101 (python-shell-get-process): Use it.
2102 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2103 Python which encoding was used. Don't split-string since we only care
2104 about the first line. Return the temp-file, if applicable.
2105 (python-shell-send-region): Tell compile.el how to turn locations in
2106 the temp-file into locations in the source buffer.
2108 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2110 * subr.el (undefined): Add missing behavior from the C code for
2113 * rect.el: Use lexical-binding. Add new rectangular region support.
2114 (rectangle-mark): New command.
2115 (rectangle--region): New var.
2116 (deactivate-mark-hook): Reset rectangle--region.
2117 (rectangle--extract-region, rectangle--insert-for-yank)
2118 (rectangle--highlight-for-redisplay)
2119 (rectangle--unhighlight-for-redisplay): New functions.
2120 (region-extract-function, redisplay-unhighlight-region-function)
2121 (redisplay-highlight-region-function): Use them to handle
2123 * simple.el (region-extract-function): New var.
2124 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2125 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2126 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2127 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2128 (redisplay-unhighlight-region-function)
2129 (redisplay-highlight-region-function): New vars.
2130 (redisplay--update-region-highlight): New function.
2131 (pre-redisplay-function): Use it.
2132 (exchange-point-and-mark): Don't deactivate the mark before
2133 reactivate-it anyway.
2134 * comint.el (comint-kill-region): Remove yank-handler argument.
2135 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2136 (delete-char): Remove property, since it's now part of their
2138 (self-insert-iso): Remove property since this command doesn't exist.
2140 * emacs-lisp/package.el (package--download-one-archive)
2141 (describe-package-1): Don't query the user about final newline.
2143 2013-10-29 Daniel Colascione <dancol@dancol.org>
2145 * net/tramp.el (tramp-methods): Document new functionality.
2146 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2147 tramp-hostname-checker if method provides one instead of scanning
2148 argument list for "%h" to decide hostname acceptability.
2150 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2152 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2153 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2154 Handle COPY-CONTENTS. (Bug#15737)
2156 2013-10-28 Daiki Ueno <ueno@gnu.org>
2159 (epa-file-cache-passphrase-for-symmetric-encryption):
2160 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2162 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2164 * image.el (defimage):
2165 (image-load-path): Doc fixes.
2167 2013-10-27 Alan Mackenzie <acm@muc.de>
2169 Indent statements in macros following "##" correctly.
2170 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2171 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2173 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2175 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2177 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2179 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2180 after `=' is probably a new expression.
2182 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2184 * man.el (man-imenu-title): New option.
2185 (Man-mode-map): Add menu. (Bug#15722)
2186 (Man-mode): Add imenu to menu.
2188 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2190 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2191 specific in what the first arg can be: a non-keyword word,
2192 string/regexp/percent literal opener, opening paren, or unary
2193 operator followed directly by word.
2195 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2197 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2198 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2199 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2200 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2201 Remove vars, they do not apply any more.
2202 (prolog-mode-abbrev-table): Remove redundant declaration.
2203 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2204 (prolog-use-smie): Remove.
2205 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2206 supported by prolog-electric-if-then-else-flag.
2207 (prolog-mode-variables, prolog-menu): Use setq-local.
2208 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2209 Remove binding to `Backspace' since this key doesn't exist anyway.
2210 Remove bindings for electric self-inserting keys.
2211 (prog-mode): Assume it's defined.
2212 (prolog-post-self-insert): New function.
2213 (prolog-mode): Use it.
2214 (prolog-indent-line, prolog-indent-level)
2215 (prolog-find-indent-of-matching-paren)
2216 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2217 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2218 (prolog-goto-next-paren, prolog-in-string-or-comment)
2219 (prolog-tokenize, prolog-inside-mline-comment)
2220 (prolog-find-start-of-mline-comment): Remove functions.
2221 (prolog-find-unmatched-paren, prolog-clause-end)
2222 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2223 (prolog-electric--if-then-else): Rename from
2224 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2225 (prolog-tokenize-searchkey): Remove const.
2226 (prolog-clause-info): Use forward-sexp.
2227 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2228 (prolog-electric-if-then-else): Remove commands.
2229 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2230 for use in post-self-insert-hook.
2231 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2232 for use in post-self-insert-hook.
2233 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2234 for use in post-self-insert-hook.
2235 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2236 adapt it for use in post-self-insert-hook.
2238 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2240 * emacs-lisp/ert.el (ert-run-tests-interactively):
2241 Use `completing-read'. (Bug#9756)
2243 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2245 * simple.el (line-move): Call line-move-1 instead of
2246 line-move-visual when the current window hscroll is zero, but
2247 temporary-goal-column indicates we will need to hscroll as result
2248 of the movement. (Bug#15712)
2250 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2252 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2253 capitalization. Use :visible instead of :active.
2254 Fix `ruby-indent-exp' reference. Add menu items for the generic
2255 commands that are used with SMIE.
2256 (ruby-do-end-to-brace): Insert space after `{'.
2258 2013-10-25 John Anthony <john@jo.hnanthony.com>
2260 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2262 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2264 2013-10-25 Glenn Morris <rgm@gnu.org>
2266 * vc/vc.el (vc-print-log): Don't use a working revision unless
2267 one was explicitly specified. (Bug#15322)
2269 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2271 * subr.el (add-to-list): Preserve return value in compiler-macro
2274 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2276 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2277 result. Ask user to retry using '-all' flag. (Bug#15701)
2279 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2281 * emacs-lisp/smie.el: New smie-config system.
2282 (smie-config): New defcustom.
2283 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2284 (smie-config-guess, smie-config-save): New commands.
2285 (smie-config--mode-local, smie-config--buffer-local)
2286 (smie-config--trace, smie-config--modefuns): New vars.
2287 (smie-config--advice, smie-config--mode-hook)
2288 (smie-config--setter, smie-config-local, smie-config--get-trace)
2289 (smie-config--guess-value, smie-config--guess): New functions.
2290 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2291 text properties. Treat "string fence" syntax like string syntax.
2293 * progmodes/sh-script.el (sh-use-smie): Change default.
2294 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2295 (sh-var-value): Simplify by CSE.
2296 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2297 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2299 (sh-guess-basic-offset): Use cl-incf.
2300 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2302 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2304 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2307 2013-10-24 Glenn Morris <rgm@gnu.org>
2309 * Makefile.in (abs_top_srcdir): Remove.
2310 (update-subdirs): Use relative path to update-subdirs.
2312 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2314 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2315 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2316 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2317 Call unmsys--file-name before expand-file-name, not after it.
2319 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2321 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2322 (ert-test-skipped): New error.
2323 (ert-skip, ert-stats-skipped): New defuns.
2324 (ert--skip-unless): New macro.
2325 (ert-test-skipped): New struct.
2326 (ert--run-test-debugger, ert-test-result-type-p)
2327 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2328 (ert--stats-set-test-and-result, ert-char-for-test-result)
2329 (ert-string-for-test-result, ert-run-tests-batch)
2330 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2331 Handle skipped tests. (Bug#9803)
2333 2013-10-24 Glenn Morris <rgm@gnu.org>
2335 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2337 * Makefile.in (abs_top_srcdir): New, set by configure.
2338 (update-subdirs): Correct build-aux location.
2340 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2342 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2343 value, whether we could auto-deduce `backend', or not.
2345 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2346 with parameters" example. Simplify the "is it block or is it
2347 hash" check, but also make it more thorough.
2349 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2351 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2353 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2355 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2358 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2361 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2363 * progmodes/compile.el (compilation-directory-matcher)
2364 (compilation-page-delimiter):
2365 Support GNU Make-4.0 directory quoting. (Bug#15678)
2367 2013-10-23 Leo Liu <sdl.web@gmail.com>
2369 * ido.el (ido-tidy): Handle read-only text.
2371 2013-10-23 Glenn Morris <rgm@gnu.org>
2373 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2374 (emacs, compile, compile-always):
2375 Quote entities that might contain whitespace.
2376 (custom-deps, finder-data, autoloads): Use abs_lisp.
2377 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2378 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2379 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2381 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2383 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2384 Use `following-char'.
2386 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2388 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2389 * progmodes/ruby-mode.el (ruby-smie-rules):
2390 Remove corresponding workaround. Fix indentation rule of ";" so it
2391 also applies when ";" is the parent.
2393 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2395 * frame.el (display-screens, display-pixel-height)
2396 (display-pixel-width, display-mm-width, display-backing-store)
2397 (display-save-under, display-planes, display-color-cells)
2398 (display-visual-class, display-monitor-attributes-list):
2399 Mention the optional ‘display’ argument in doc strings.
2401 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2403 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2404 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2406 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2408 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2409 TODO. Add "." after " @ ".
2410 (ruby-smie--at-dot-call): New function. Checks if point at method
2411 call with explicit target.
2412 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2413 to the method name tokens when it precedes them.
2414 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2415 (ruby-smie-rules): Add rule for indentation before and after "."
2418 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2420 * textmodes/remember.el (remember-diary-extract-entries):
2423 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2426 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2428 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2429 (ruby-smie--implicit-semi-p): Add new operator chars.
2431 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2433 (ruby-smie--args-separator-p): Check that there's no newline
2434 between method call and its arguments.
2436 2013-10-20 Alan Mackenzie <acm@muc.de>
2438 Allow comma separated lists after Java "implements".
2440 * progmodes/cc-engine.el (c-backward-over-enum-header):
2442 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2443 from a "disallowed" list in enum fontification.
2445 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2447 * startup.el (default-frame-background-mode): Remove unused defvar.
2449 * progmodes/verilog-mode.el (verilog-mode): Don't set
2450 comment-indent-function globally.
2452 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2454 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2455 Move Info menu item creation to ns-win.el.
2457 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2460 * menu-bar.el: Move GNUStep specific menus...
2462 * term/ns-win.el (ns-initialize-window-system): ... to here.
2464 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2466 * simple.el (newline): Only run post-self-insert-hook when
2467 called interactively.
2469 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2471 * icomplete.el (icomplete-with-completion-tables): Add :version.
2473 2013-10-19 Alan Mackenzie <acm@muc.de>
2475 Fix fontification bugs with constructors and const.
2477 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2478 CASE 2) Remove the check for the absence of a suffix construct
2479 after a function declaration with only types (no identifiers) in
2480 the parentheses. Also, accept a function declaration with just a
2481 type inside the parentheses, if this type can be positively
2482 recognised as such, or if a prefix keyword like "explicit" nails
2483 down the construct as a declaration.
2485 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2487 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2488 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2489 the problem whereby selecting a menu item that leads to a
2490 minibuffer prompt moves the cursor out of the minibuffer window,
2491 making it hard to type at the prompt. Suggested by Stefan Monnier
2492 <monnier@iro.umontreal.ca>.
2494 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2496 * menu-bar.el: Don't make Services menu.
2498 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2500 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2501 (ffap-alist): Use ffap-c++-mode for c++-mode.
2502 (ffap-c++-path): New variable.
2503 (ffap-c++-mode): New function.
2505 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2507 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2509 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2511 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2512 introduced on 2013-09-08, which results in an infinite loop
2513 requesting a password.
2515 2013-10-18 Glenn Morris <rgm@gnu.org>
2517 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2519 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2521 Sync with upstream verilog-mode revision 1a6ecec7.
2522 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2523 (verilog-mode-release-date): Remove.
2524 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2525 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2526 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2527 (verilog-auto-tieoff-ignore-regexp)
2528 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2529 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2530 (verilog-signals-with, verilog-dir-cache-preserving)
2531 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2533 (verilog-case-fold): New option, to control case folding in
2534 regexp searches, bug597.
2535 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2536 (verilog-string-match-fold, verilog-in-paren-count)
2537 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2538 (verilog-at-close-struct-p): New functions.
2539 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2540 (verilog-forward-sexp, verilog-set-auto-endcomments):
2541 (verilog-leap-to-case-head): Handle "unique0" case.
2542 (verilog-in-constraint-re): New constant.
2543 (verilog-keywords, verilog-type-font-keywords):
2544 Add some SystemVerilog 1800-2012 keywords.
2545 (verilog-label-be): Remove unimplemented argument, bug669.
2546 (verilog-batch-execute-func): When batch expanding clear
2547 create-lockfiles to prevent spurious user locks when a file ends
2549 (verilog-calculate-indent, verilog-calc-1)
2550 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2551 (verilog-do-indent): Fix indentation of nested constraints
2553 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2554 (verilog-auto-inst-param): Use verilog-string-match-fold.
2555 (verilog-read-inst-module-matcher):
2556 Fix AUTOINST on gate primitives with #1.
2557 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2558 Reads all user-defined typed variables.
2559 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2560 (verilog-signals-matching-regexp)
2561 (verilog-signals-not-matching-regexp, verilog-auto):
2562 Respect verilog-case-fold.
2563 (verilog-diff-report): Fix line count.
2564 (verilog-auto-assign-modport): Remove unused local `modi'.
2565 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2566 better handle multidimensional arrays.
2567 Fix packed array ports misadding bit index in AUTOINST, bug637.
2568 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2569 to not double-declare existing outputs and inputs, respectively.
2570 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2571 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2572 (verilog-sk-uvm-component): New skeleton.
2573 (verilog-submit-bug-report): Add verilog-case-fold,
2574 remove verilog-mode-release-date.
2576 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2578 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2581 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2583 * textmodes/remember.el (remember): set buffer-offer-save in
2584 remember buffers (bug#13566).
2586 2013-10-18 Daniel Colascione <dancol@dancol.org>
2588 When evaluating forms in ielm, direct standard output to ielm
2589 buffer. Add new ielm-return-for-effect command. Remove trailing
2590 whitespace throughout.
2592 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2593 (ielm-return-for-effect): New command.
2594 (ielm-send-input): Accept optional `for-effect' parameter.
2595 (ielm-eval-input): Accept optional `for-effect' parameter.
2596 Bind `standard-output' to stream we create using
2597 `ielm-standard-output-impl'. Suppress printing result when
2599 (ielm-standard-output-impl): New function.
2600 (inferior-emacs-lisp-mode): Explain new features in documentation.
2602 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2606 * net/tramp.el (tramp-debug-message): Do not check for connection
2608 (tramp-message): Use "vector" connection property.
2610 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2611 (tramp-equal-remote, tramp-eshell-directory-change)
2612 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2613 (tramp-adb-handle-rename-file)
2614 * net/tramp-cmds.el (tramp-list-remote-buffers)
2615 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2616 * net/tramp-compat.el (tramp-compat-process-running-p)
2617 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2618 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2619 (tramp-gvfs-handle-rename-file)
2620 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2621 (tramp-set-file-uid-gid)
2622 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2623 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2626 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2627 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2628 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2629 (tramp-gw-open-network-stream): Suppress unrelated traces.
2631 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2632 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2633 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2634 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2635 connection property.
2637 * net/tramp-cache.el (top): Suppress traces when reading
2640 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2641 Refactor common code. Improve debug message.
2642 (tramp-maybe-open-connection)
2643 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2644 connection buffer too early.
2646 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2647 from `tramp-smb-actions-with-acl'.
2648 (tramp-smb-actions-set-acl): New defconst.
2649 (tramp-smb-handle-copy-directory)
2650 (tramp-smb-action-get-acl): New defun, renamed from
2651 `tramp-smb-action-with-acl'.
2652 (tramp-smb-action-set-acl): New defun.
2653 (tramp-smb-handle-set-file-acl): Rewrite.
2655 2013-10-17 Glenn Morris <rgm@gnu.org>
2657 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2659 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2661 * skeleton.el (skeleton-newline): Remove.
2662 (skeleton-internal-1): Use (insert "\n") instead.
2664 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2667 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2668 forward-sexp-function while we redo its job (bug#15613).
2670 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2672 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2673 represented by lists.
2675 2013-10-16 Glenn Morris <rgm@gnu.org>
2677 * tmm.el (tmm--history): New dynamic variable.
2678 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2680 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2682 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2683 (tramp-smb-errors): Add error messages.
2684 (tramp-smb-actions-with-acl): New defconst.
2685 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2686 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2687 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2688 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2689 (tramp-smb-get-stat-capability): Fix tests.
2691 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2693 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2696 2013-10-16 Glenn Morris <rgm@gnu.org>
2698 * ansi-color.el (ansi-color-drop-regexp):
2699 Add 1J, 1K, 2K. (Bug#15617)
2701 * files.el (hack-local-variables--warned-lexical): New.
2702 (hack-local-variables):
2703 Warn about misplaced lexical-binding. (Bug#15616)
2705 * net/eww.el (eww-render): Always set eww-current-url,
2706 and update header line. (Bug#15622)
2707 (eww-display-html): ... Rather than just doing it here.
2709 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2711 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2712 menu navigations commands.
2714 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2716 * progmodes/subword.el (subword-capitalize): Be careful when
2717 the search for [[:alpha:]] fails (bug#15580).
2719 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2721 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2722 to commands that scroll the menu.
2724 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2726 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2727 Handle methods ending with `?' and `!'.
2729 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2731 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2732 `japanese-cp932' to `cp932' to fix the problem where saving a
2733 source file written in Shift_JIS twice would end up having
2734 `coding: japanese-cp932' which Ruby could not recognize.
2735 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2736 in `ruby-encoding-map'.
2737 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2738 doesn't need to be explicitly declared in magic comment.
2739 (ruby-encoding-map): Add type declaration for better customize UI.
2741 2013-10-13 Glenn Morris <rgm@gnu.org>
2743 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2744 Occur buffers are read-only. http://bugs.debian.org/720775
2746 * emacs-lisp/authors.el (authors-fixed-entries):
2747 Comment out old alpha stuff.
2749 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2751 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2752 to `after-save-hook' instead of `before-save-hook'.
2753 (ruby-mode-set-encoding): Use the value of coding system used to
2754 write the file. Call `basic-save-buffer-1' after modifying the
2757 2013-10-13 Alan Mackenzie <acm@muc.de>
2759 Fix indentation/fontification of Java enum with
2760 "implements"/generic.
2762 * progmodes/cc-engine.el (c-backward-over-enum-header):
2763 Extracted from the three other places and enhanced to handle generics.
2764 (c-inside-bracelist-p): Uses new function above.
2765 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2767 (c-font-lock-enum-tail): Uses new function above.
2769 2013-10-13 Kenichi Handa <handa@gnu.org>
2771 * international/mule-cmds.el (select-safe-coding-system): Remove a
2772 superfluous condition in chekcing whether a coding system is safe
2775 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2777 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2779 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2781 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2783 2013-10-13 Glenn Morris <rgm@gnu.org>
2785 * menu-bar.el (menu-bar-update-buffers):
2786 Unify Buffers menu prompt string. (Bug#15576)
2788 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2790 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2792 (authors-fixed-entries): Use accented form of name.
2794 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2796 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2797 method calls (bug#15594).
2798 (ruby-smie--args-separator-p): New function.
2799 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2800 recognize paren-free method calls.
2802 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2803 internals of universal-argument.
2805 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2807 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2808 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2809 dropped menu on second mouse click on the menu bar.
2811 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2813 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2814 (explicit-shell-file-name): Declare.
2815 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2816 (sh-completion-at-point-function): New function.
2818 (sh-smie--keyword-p): Remove unused argument.
2819 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2821 (sh-set-shell): Always setup SMIE, even if we use the
2822 old indentation code.
2824 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2826 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2828 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2829 predicate would return nil are almost non-existent.
2830 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2832 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2833 cache also after commands that modify the buffer but don't move
2836 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2838 * env.el (substitute-env-in-file-name): New function.
2839 (substitute-env-vars): Extend the meaning of the optional arg.
2841 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2843 * term/w32-win.el (dynamic-library-alist): Define separate lists
2844 of GIF DLLs for versions before and after 5.0.0 of giflib.
2847 2013-10-10 João Távora <joaotavora@gmail.com>
2849 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2850 not locked, use last revision and current source as
2851 defaults. (Bug#15569)
2853 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2855 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2858 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2860 * window.el (pop-to-buffer-same-window): Fix doc-string.
2863 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2865 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2867 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2869 * calendar/icalendar.el (icalendar-import-file):
2870 Fix interactive spec. (Bug#15482)
2872 2013-10-10 Glenn Morris <rgm@gnu.org>
2874 * desktop.el (desktop-save): Default to saving in .emacs.d,
2875 since PWD is no longer in desktop-path by default. (Bug#15319)
2877 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2878 now that text mode has a menu with the same entry.
2879 (menu-bar-text-mode-auto-fill): Remove now unused func.
2880 * textmodes/text-mode.el (text-mode-map):
2881 Use auto-fill help text from menu-bar.el.
2883 2013-10-10 John Anthony <john@jo.hnanthony.com>
2885 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2887 2013-10-09 Juri Linkov <juri@jurta.org>
2889 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2890 instead of this-command-keys. Add universal-argument-more and
2891 universal-argument-minus to the list of prefix commands. (Bug#15568)
2893 2013-10-09 Glenn Morris <rgm@gnu.org>
2895 * vc/vc-svn.el (vc-svn-create-repo):
2896 Expand paths in file://... url. (Bug#15446)
2898 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2900 (authors): Remove unused local variables.
2902 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2904 * profiler.el: Create a more coherent calltree from partial backtraces.
2905 (profiler-format): Hide the tail with `invisible' so that C-s can still
2906 find the hidden elements.
2907 (profiler-calltree-depth): Don't recurse so enthusiastically.
2908 (profiler-function-equal): New hash-table-test.
2909 (profiler-calltree-build-unified): New function.
2910 (profiler-calltree-build): Use it.
2911 (profiler-report-make-name-part): Indent the calltree less.
2912 (profiler-report-mode): Add visibility specs for profiler-format.
2913 (profiler-report-expand-entry, profiler-report-toggle-entry):
2914 Expand the whole subtree when provided with a prefix arg.
2916 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2918 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2920 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2921 hanging iuwu-mod token.
2922 (ruby-smie--forward-token): Do not include a dot after a token in
2924 (ruby-smie--backward-token): Likewise.
2926 2013-10-08 Juri Linkov <juri@jurta.org>
2928 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2929 to isearch-other-control-char.
2930 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2931 and isearch-post-command-hook to post-command-hook.
2932 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2933 and isearch-post-command-hook from post-command-hook.
2934 (isearch-unread-key-sequence)
2935 (isearch-reread-key-sequence-naturally)
2936 (isearch-lookup-scroll-key, isearch-other-control-char)
2937 (isearch-other-meta-char): Remove functions.
2938 (isearch-pre-command-hook, isearch-post-command-hook):
2939 New functions based on isearch-other-meta-char rewritten
2940 relying on the new behavior of overriding-terminal-local-map
2941 that does not replace the local keymaps any more. (Bug#15200)
2943 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2945 Support menus on text-mode terminals.
2946 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2949 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2951 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2952 Move here from mouse.el.
2953 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2955 (tty-menu-navigation-map): New map for TTY menu navigation.
2957 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2959 * frame.el (display-mouse-p): Report text-mode mouse as available
2961 (display-popup-menus-p): Report availability if mouse is
2962 available; don't condition on window-system.
2964 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2965 (tty-menu-selected-face): New faces.
2967 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2969 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2970 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2971 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2972 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2974 (lisp-mode-variables): New `elisp' argument.
2975 (emacs-lisp-mode): Use it.
2976 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2977 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2979 * indent.el: Use lexical-binding.
2980 (indent-region): Add progress reporter.
2981 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2983 (indent--next-tab-stop): New function to implement this behavior.
2984 (tab-to-tab-stop, move-to-tab-stop): Use it.
2986 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2988 * indent.el (indent-rigidly--current-indentation): New function.
2989 (indent-rigidly-map): New var.
2990 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2992 2013-10-08 Bastien Guerry <bzg@gnu.org>
2994 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2996 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2998 * progmodes/perl-mode.el: Use lexical-binding.
2999 Remove redundant :group args.
3000 (perl-nochange): Change default to be closer to other major modes's
3002 (perl-indent-line): Don't consider text on current line as a
3003 valid beginning of function from which to indent.
3005 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3006 with more than one argument (bug#15538).
3008 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3010 * vc/pcvs.el: Use lexical-binding.
3011 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3012 environment of `eval'.
3013 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3014 than a list of expressions. Adjust callers.
3015 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3017 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3019 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3020 case of the dot in a chained method call being on the following line.
3022 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3024 * electric.el (electric-indent-inhibit): New var.
3025 (electric-indent-post-self-insert-function): Use it.
3026 * progmodes/python.el (python-mode): Set it.
3028 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3031 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3033 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3034 (css-mode): Use electric-indent-chars.
3036 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3037 (font-lock-beg, font-lock-end): Move before first use.
3038 (nxml-mode): Use syntax-propertize-function.
3039 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3040 (nxml-extend-after-change-region): Remove.
3041 * nxml/xmltok.el: Use lexical-binding.
3042 (xmltok-save): Use `declare'.
3043 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3044 * nxml/nxml-util.el: Use lexical-binding.
3045 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3047 * nxml/nxml-ns.el: Use lexical-binding.
3048 (nxml-ns-save): Use `declare'.
3049 (nxml-ns-prefixes-for): Avoid add-to-list.
3050 * nxml/rng-match.el: Use lexical-binding.
3051 (rng--ipattern): Use cl-defstruct.
3052 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3053 (rng-cons-group-after, rng-subst-group-after)
3054 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3055 Use closures instead of `(lambda...).
3057 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3059 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3062 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3063 Use `tramp-handle-insert-file-contents'.
3064 (tramp-gvfs-handle-insert-file-contents): Remove function.
3066 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3067 Use `save-restriction' in order to keep markers.
3069 * net/trampver.el: Update release number.
3071 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3073 * progmodes/compile.el (compilation-parse-errors):
3074 Use compilation--put-prop.
3075 (compilation--ensure-parse): Check compilation-multiline.
3077 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3079 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3082 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3084 * progmodes/ruby-mode.el: Fix recently added tests.
3085 (ruby-smie-grammar): Add - and +.
3086 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3087 (ruby-smie--backward-id): New functions.
3088 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3089 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3092 2013-10-07 Leo Liu <sdl.web@gmail.com>
3094 * register.el (register-preview-delay)
3095 (register-preview-functions): New variables.
3096 (register-read-with-preview, register-preview)
3097 (register-describe-oneline): New functions.
3098 (point-to-register, window-configuration-to-register)
3099 (frame-configuration-to-register, jump-to-register)
3100 (number-to-register, view-register, insert-register)
3101 (copy-to-register, append-to-register, prepend-to-register)
3102 (copy-rectangle-to-register): Use register-read-with-preview to
3103 read register. (Bug#15525)
3105 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3107 * net/network-stream.el (network-stream-open-starttls): Don't add
3108 --insecure if it's already present, because that gnutls-cli
3109 rejects getting that parameter twice.
3111 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3113 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3116 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3118 * newcomment.el (comment-use-global-state): Change default value
3119 to t, mark obsolete (Bug#15251).
3120 (comment-beginning): In addition to `comment-to-syntax', check the
3121 value of `comment-use-global-state'.
3123 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3125 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3126 (ruby-comment-column): Follow the global default, by default.
3127 (ruby-smie-grammar): Add assignment syntax.
3128 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3129 open-paren, a comma, or a \.
3130 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3131 and line continuations.
3132 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3133 followed by implicit semi-colons. Add rule for string concatenation
3134 and for indentation at BOB.
3135 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3137 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3138 calling next-sexp, since next-token may have skipped chars which
3139 next-sexp doesn't know should be skipped!
3141 2013-10-05 Leo Liu <sdl.web@gmail.com>
3143 * progmodes/octave.el (octave-send-region):
3144 Call compilation-forget-errors.
3146 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3148 * vc/vc-svn.el (vc-svn-find-admin-dir):
3149 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3150 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3151 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3152 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3154 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3156 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3158 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3160 * subr.el (read-passwd): Hide chars even when called within a context
3161 where after-change-functions is disabled (bug#15501).
3162 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3163 until we removed ourself from overriding-terminal-local-map.
3165 2013-10-04 Leo Liu <sdl.web@gmail.com>
3167 * progmodes/octave.el (inferior-octave-mode):
3168 Call compilation-forget-errors.
3170 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3172 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3174 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3176 * net/secrets.el (secrets-create-collection): Add optional
3177 argument ALIAS. Use proper Label keyword. Append ALIAS as
3178 dbus-call-method argument. (Bug#15516)
3180 2013-10-04 Leo Liu <sdl.web@gmail.com>
3182 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3183 (inferior-octave-compilation-font-lock-keywords): New variables.
3184 (compilation-error-regexp-alist)
3185 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3186 (inferior-octave-mode): Use compilation-shell-minor-mode.
3188 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3190 * minibuffer.el (completion--replace): Be careful that `end' might be
3193 2013-10-03 Daiki Ueno <ueno@gnu.org>
3195 Add support for package signature checking.
3196 * emacs-lisp/package.el (url-http-file-exists-p)
3197 (epg-make-context, epg-context-set-home-directory)
3198 (epg-verify-string, epg-context-result-for)
3199 (epg-signature-status, epg-signature-to-string)
3200 (epg-check-configuration, epg-configuration)
3201 (epg-import-keys-from-file): Declare.
3202 (package-check-signature): New user option.
3203 (package-unsigned-archives): New user option.
3204 (package-desc): Add `signed' field.
3205 (package-load-descriptor): Set `signed' field if .signed file exists.
3206 (package--archive-file-exists-p): New function.
3207 (package--check-signature): New function.
3208 (package-install-from-archive): Check package signature.
3209 (package--download-one-archive): Check archive signature.
3210 (package-delete): Remove .signed file.
3211 (package-import-keyring): New command.
3212 (package-refresh-contents): Import default keyring.
3213 (package-desc-status): Add "unsigned" status.
3214 (describe-package-1, package-menu--print-info)
3215 (package-menu-mark-delete, package-menu--find-upgrades)
3216 (package-menu--status-predicate): Support "unsigned" status.
3218 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3220 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3221 the new compilation scheme using the new byte-codes.
3223 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3224 (byte-pophandler): New byte codes.
3225 (byte-goto-ops): Adjust accordingly.
3226 (byte-compile--use-old-handlers): New var.
3227 (byte-compile-catch): Use new byte codes depending on
3228 byte-compile--use-old-handlers.
3229 (byte-compile-condition-case--old): Rename from
3230 byte-compile-condition-case.
3231 (byte-compile-condition-case--new): New function.
3232 (byte-compile-condition-case): New function that dispatches depending
3233 on byte-compile--use-old-handlers.
3234 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3237 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3238 Optimize under `condition-case' and `catch' if
3239 byte-compile--use-old-handlers is nil.
3240 (disassemble-offset): Handle new bytecodes.
3242 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3244 * subr.el (error): Use `declare'.
3245 (decode-char, encode-char): Use advertised-calling-convention instead
3246 of the docstring to discourage use of the `restriction' arg.
3248 2013-10-03 Daiki Ueno <ueno@gnu.org>
3250 * epg.el (epg-verify-file): Add a comment saying that it does not
3251 notify verification error as a return value nor a signal.
3252 (epg-verify-string): Ditto.
3254 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3256 * progmodes/compile.el (compilation-start): Try globbing the arg to
3259 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3261 Sync with Tramp 2.2.8.
3263 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3264 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3265 * net/trampver.el: Update release number.
3267 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3269 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3270 and default-process-coding-system for darwin only.
3272 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3274 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3276 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3278 * vc/vc-git.el (vc-git-grep): Disable pager.
3280 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3282 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3283 Use :url instead of :homepage, as per
3284 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3286 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3287 non-nil, use `syntax-ppss' (Bug#15251).
3289 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3291 * progmodes/octave.el (inferior-octave-startup-file):
3292 Prefer ~/.emacs.d/init_octave.m.
3294 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3296 * emacs-lisp/package.el (package-desc-from-define):
3297 Accept additional arguments as plist, convert them to an alist and store
3298 them in the `extras' slot.
3299 (package-generate-description-file): Convert extras alist back to
3300 plist and append to the `define-package' form arguments.
3301 (package--alist-to-plist): New function.
3302 (package--ac-desc): Add `extras' slot.
3303 (package--add-to-archive-contents): Check if the archive-contents
3304 vector is long enough, and if it is, pass its `extras' slot value
3305 to `package-desc-create'.
3306 (package-buffer-info): Call `lm-homepage', pass the returned value
3307 to `package-desc-from-define'.
3308 (describe-package-1): Render the homepage button (Bug#13291).
3310 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3311 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3313 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3315 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3316 and default-process-coding-system to utf-8-unix (Bug#15402).
3318 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3320 * subr.el (looking-back): Do not recommend using looking-back.
3322 2013-09-28 Alan Mackenzie <acm@muc.de>
3324 Fix indentation/fontification of Java enum with "implements".
3326 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3327 regexp which matches "implements", etc., in Java.
3328 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3329 specifier clauses coming after "enum".
3330 * progmodes/cc-fonts.el (c-font-lock-declarations)
3331 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3334 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3336 * faces.el (region): Change ns_selection_color to
3337 ns_selection_fg_color, add ns_selection_bg_color.
3339 2013-09-28 Leo Liu <sdl.web@gmail.com>
3341 * progmodes/octave.el (inferior-octave-completion-table)
3342 (inferior-octave-completion-at-point): Minor tweaks.
3344 * textmodes/ispell.el (ispell-lookup-words): Rename from
3345 lookup-words. (Bug#15460)
3346 (lookup-words): Obsolete.
3347 (ispell-complete-word, ispell-command-loop): All uses changed.
3349 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3351 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3352 (octave-mode-menu): Add octave-send-buffer.
3353 (octave-send-buffer): New function.
3355 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3357 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3359 (octave-mode-menu): Add octave-lookfor.
3360 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3362 (octave-lookfor): New function.
3364 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3366 * emacs-lisp/cl-macs.el:
3367 (cl--loop-destr-temps): Remove.
3368 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3370 (cl--loop-set-iterator-function): New function.
3371 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3372 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3373 Bind `it' with `let' instead of substituting it with `cl-subst'.
3374 (cl--unused-var-p): New function.
3375 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3376 Eliminate some unused variable warnings (bug#15326).
3378 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3380 * doc-view.el (doc-view-scale-reset): Rename from
3381 `doc-view-reset-zoom-level'.
3382 (doc-view-scale-adjust): New command.
3383 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3384 `doc-view-scale-adjust'.
3386 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3388 * doc-view.el (doc-view-reset-zoom-level): New command.
3389 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3390 zoom commands (bug#15466).
3392 2013-09-26 Kenichi Handa <handa@gnu.org>
3394 * international/quail.el (quail-help): Make it not a command.
3396 2013-09-26 Leo Liu <sdl.web@gmail.com>
3398 * minibuffer.el (completion-all-sorted-completions): Make args
3399 optional as they are.
3401 2013-09-25 Daniel Colascione <dancol@dancol.org>
3403 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3404 specs are and that they're not evaluated.
3406 2013-09-24 Sam Steingold <sds@gnu.org>
3408 * midnight.el (clean-buffer-list-kill-regexps)
3409 (clean-buffer-list-kill-buffer-names): Update for the new Man
3410 buffer naming which includes the object name.
3412 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3414 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3415 (eshell-parse-command, eshell-parse-pipeline): Use it since
3416 eshell-separate-commands requires a dynamic scoped var.
3417 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3419 2013-09-23 Leo Liu <sdl.web@gmail.com>
3421 * autoinsert.el (auto-insert-alist): Make the value of
3422 lexical-binding match its file setting.
3424 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3426 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3428 * autoarg.el (autoarg-kp-digit-argument):
3429 * electric.el (Electric-command-loop):
3430 * kmacro.el (kmacro-step-edit-insert):
3431 Do not set universal-argument-num-events.
3433 2013-09-22 Leo Liu <sdl.web@gmail.com>
3435 * files.el (interpreter-mode-alist): Add octave.
3437 2013-09-21 Alan Mackenzie <acm@muc.de>
3439 C++: fontify identifier in declaration following "public:" correctly.
3440 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3441 to match "public", etc.
3442 (c-decl-prefix-re): Add ":" into the C++ value.
3443 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3444 bit. Add a check for a ":" preceded by "public", etc.
3446 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3448 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3449 recognized by GDB 7.5 and later.
3451 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3453 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3455 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3457 * subr.el (internal--call-interactively): New const.
3458 (called-interactively-p): Use it (bug#3984).
3460 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3462 * vc/pcvs.el (cvs-mode-ignore):
3463 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3464 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3466 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3468 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3469 (eshell-ls-orig-insert-directory): Remove.
3470 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3471 (eshell-ls-use-in-dired): Use advice-add/remove.
3472 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3473 Add `orig-fun' arg for use in :around advice.
3474 Make it check (redundantly) eshell-ls-use-in-dired.
3476 2013-09-19 Glenn Morris <rgm@gnu.org>
3478 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3480 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3482 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3484 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3486 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3487 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3488 (tramp-get-remote-python): New defuns.
3489 (tramp-get-remote-uid-with-perl)
3490 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3491 contributed by yary <not.com@gmail.com> (tiny change).
3492 (tramp-get-remote-uid-with-python)
3493 (tramp-get-remote-gid-with-python): New defuns. Python code
3494 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3495 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3497 2013-09-19 Glenn Morris <rgm@gnu.org>
3499 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3501 * eshell/em-unix.el (eshell-remove-entries):
3502 Rename argument to avoid name-clash with global `top-level'.
3504 * eshell/esh-proc.el (eshell-kill-process-function):
3505 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3506 (eshell-reset-after-proc): Remove unused arg `proc'.
3508 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3509 (directory-files-and-attributes): Mark unused arg.
3511 * eshell/em-unix.el (eshell-remove-entries):
3512 Remove unused arg `path'. Update callers.
3514 * eshell/em-hist.el (eshell-hist-parse-arguments):
3515 Remove unused arg `silent'. Update callers.
3517 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3518 Fix (f)boundp mix-up.
3520 * eshell/em-smart.el (eshell-smart-scroll-window)
3521 (eshell-disable-after-change):
3522 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3524 2013-09-18 Alan Mackenzie <acm@muc.de>
3526 Fix fontification of type when followed by "const".
3527 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3528 "known" types from fontification.
3530 2013-09-18 Glenn Morris <rgm@gnu.org>
3532 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3533 (chart-face-list): Drop Emacsen without display-color-p.
3535 * net/eww.el (libxml-parse-html-region): Declare.
3536 (eww-display-html): Explicit error if no libxml2 support.
3538 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3540 * image.el (image-type-from-buffer, image-multi-frame-p):
3541 Remove --without-x warning/error.
3543 * mouse.el (mouse-yank-primary):
3544 * term.el (term-mouse-paste):
3545 Reorder to silence --without-x compilation.
3547 * mpc.el (doc-view-mode): Silence --without-x compilation.
3549 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3550 Silence --without-x compilation.
3552 * progmodes/gud.el (gud-find-file, gud-mode):
3553 Silence --without-x compilation.
3554 (tooltip-mode): Declare.
3556 * wdired.el (dired-backup-overwrite): Remove declaration.
3557 (wdired-mode-map): Add doc string.
3559 * custom.el (x-get-resource): Declare.
3561 * eshell/em-glob.el (ange-cache):
3562 * eshell/em-unix.el (ange-cache): Declare.
3564 * faces.el (x-display-list, x-open-connection, x-get-resource):
3567 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3568 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3571 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3573 * net/gnutls.el (gnutls-log-level): Declare.
3575 * net/shr.el (image-size, image-animate): Declare.
3577 * simple.el (font-info): Declare.
3579 * subr.el (x-popup-dialog): Declare.
3581 * term/common-win.el (x-select-enable-primary)
3582 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3585 * term/ns-win.el (x-handle-args): Declare.
3587 * term/x-win.el (x-select-enable-clipboard): Declare.
3589 * term/w32-win.el (create-default-fontset): Declare.
3591 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3594 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3595 (fit-frame-to-buffer): Explicit error if --without-x.
3596 (mouse-autoselect-window-select): Silence compiler.
3598 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3600 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3601 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3602 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3603 * eshell/esh-util.el (eshell-sublist):
3604 Remove unused local variables.
3606 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3608 * textmodes/two-column.el: Make 2C-split work for --without-x.
3609 (scroll-bar-columns): Autoload.
3610 (top-level): Require fringe when compiling.
3612 2013-09-18 Leo Liu <sdl.web@gmail.com>
3614 * subr.el (add-hook): Robustify to handle closure as well.
3616 2013-09-17 Glenn Morris <rgm@gnu.org>
3618 * simple.el (messages-buffer-mode-map): Unbind "g".
3620 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3622 * help-mode.el (help-mode-finish): Use derived-mode-p.
3623 Remove obsolete highlighting.
3625 * play/life.el (life-mode): Use define-derived-mode. Derive from
3627 (life): Let-bind inhibit-read-only.
3628 (life-setup): Avoid `setq'. Use `life-mode'.
3630 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3631 which should not be needed any more.
3632 (package-menu-refresh, package-menu-describe-package): Use user-error.
3634 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3635 (eshell-post-rewrite-command-hook): Make obsolete.
3636 (eshell-parse-command): Simplify.
3637 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3638 (eshell--cmd): Declare.
3639 (eshell-parse-pipeline): Remove unused var `final-p'.
3640 Pass a dynvar to eshell-post-rewrite-command-hook.
3641 Implement the new eshell-post-rewrite-command-function.
3642 (eshell-invoke-directly): Remove unused arg `input'.
3643 * eshell/esh-io.el (eshell-io-initialize):
3644 Use eshell-post-rewrite-command-function (bug#15399).
3645 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3646 adjust to new calling convention.
3647 (eshell-create-handles): Rename args to avoid clashing with dynvar
3650 2013-09-17 Glenn Morris <rgm@gnu.org>
3652 * simple.el (messages-buffer-mode): New major mode.
3653 (messages-buffer): New function.
3654 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3655 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3656 (ert-run-test): Use `messages-buffer' function.
3657 (ert--force-message-log-buffer-truncation): Ignore read-only.
3658 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3659 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3661 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3663 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3665 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3667 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3669 * icomplete.el (icomplete-in-buffer): New var.
3670 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3671 vars and replace them with functions.
3672 (icomplete-minibuffer-setup): Adjust accordingly.
3673 (icomplete--completion-table, icomplete--completion-predicate)
3674 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3676 (icomplete-forward-completions, icomplete-backward-completions)
3677 (icomplete-simple-completing-p, icomplete-exhibit)
3678 (icomplete-completions): Use them.
3679 (icomplete--in-region-buffer): New var.
3680 (icomplete--in-region-setup): New function.
3681 (icomplete-mode): Use it.
3683 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3685 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3686 return args and options.
3687 (eshell-eval-using-options): Use the new return value of
3688 eshell--do-opts to set the options's vars in their scope.
3689 (eshell--set-option): Rename from eshell-set-option.
3691 (eshell--process-option): Rename from eshell-process-option.
3693 (eshell--process-args): Use an `opt-vals' alist to store the options's
3694 values during their processing and return them additionally to the
3697 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3699 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3700 continuation character an operator, as far as indentation is
3701 concerned (Bug#15369).
3703 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3705 * window.el (window--state-put-2): Don't process buffer state
3706 when buffer doesn't exist any more (Bug#15382).
3708 2013-09-15 Glenn Morris <rgm@gnu.org>
3710 * eshell/em-unix.el (eshell/rm):
3711 Make -f ignore missing files. (Bug#15373)
3713 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3714 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3715 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3717 2013-09-14 Glenn Morris <rgm@gnu.org>
3719 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3721 2013-09-13 Glenn Morris <rgm@gnu.org>
3723 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3724 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3726 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3728 * frame.el (x-focus-frame): Mark as declared in frame.c.
3730 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3732 * ls-lisp.el: Use advice-add.
3733 (original-insert-directory): Remove.
3734 (ls-lisp--insert-directory): Rename from insert-directory; add
3735 `orig-fun' argument.
3736 (insert-directory): Advise.
3738 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3740 * term.el (term-emulate-terminal): Decode the command string
3741 before passing it to term-command-hook. (Bug#15337)
3743 2013-09-13 Glenn Morris <rgm@gnu.org>
3745 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3747 * eshell/esh-ext.el (eshell-search-path): Declare.
3749 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3750 Otherwise an error occurs if eshell-dirs module not loaded.
3752 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3754 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3756 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3757 `tramp-check-proper-host'. Check for a valid method name.
3759 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3760 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3761 * net/tramp-sh.el (tramp-maybe-open-connection):
3762 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3764 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3765 also for hash values.
3767 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3769 * term/ns-win.el (parameters): Don't declare as dynamic.
3770 (before-make-frame-hook): Don't add ineffective function.
3772 * eshell/*.el: Use lexical-binding (bug#15231).
3774 2013-09-12 Kenichi Handa <handa@gnu.org>
3776 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3778 2013-09-12 Glenn Morris <rgm@gnu.org>
3780 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3781 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3783 * subr.el (do-after-load-evaluation): Also give compiler warnings
3784 when obsolete files are used (except by obsolete files).
3786 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3787 in the status output, assume `filename' is the first. (Bug#15322)
3789 * vc/vc.el (vc-deduce-fileset): Doc fix.
3791 * calc/calc-help.el (Info-goto-node):
3792 * progmodes/cperl-mode.el (Info-find-node):
3793 * vc/ediff.el (Info-goto-node): Update declarations.
3795 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3797 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3798 (vc-bzr-pull): Require vc-dispatcher.
3799 * vc/vc-git.el (vc-compilation-mode): Declare.
3800 (vc-git-pull): Require vc-dispatcher.
3802 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3804 * progmodes/octave.el (help-button-action): Declare.
3806 * shell.el (shell-directory-tracker): Output error as a message
3807 rather than just returning it as a string.
3808 (shell-process-pushd): Remove useless use of message.
3810 * dframe.el (dframe-timer-fn):
3811 * files.el (dir-locals-read-from-file):
3812 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3814 * reveal.el (reveal-post-command):
3815 * saveplace.el (load-save-place-alist-from-file):
3816 * shell.el (shell-resync-dirs):
3817 * w32-common-fns.el (x-get-selection-value):
3818 * emacs-lisp/copyright.el (copyright-find-copyright):
3819 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3820 * emulation/tpu-edt.el (tpu-copy-keyfile):
3821 * play/bubbles.el (bubbles--mark-neighbourhood):
3822 * progmodes/executable.el
3823 (executable-make-buffer-file-executable-if-script-p):
3824 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3826 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3828 Cleanup Eshell to rely less on dynamic scoping.
3829 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3830 last-value, and ext-command here. Bind `args' closer to `body'.
3831 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3832 (eshell--args): Declare new dynamic var.
3833 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3834 last-value, and ext-command. Pass `args' to `body'.
3835 (eshell-process-args): Bind eshell--args.
3836 (eshell-set-option): Use eshell--args.
3837 * eshell/eshell.el (eshell): Use derived-mode-p.
3838 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3839 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3840 (eshell-glob-function): Declare.
3841 * eshell/esh-util.el: Require cl-lib.
3842 (eshell-read-hosts-file): Avoid add-to-list.
3843 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3845 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3847 (eshell/diff): Remove unused var `err'.
3848 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3850 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3851 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3853 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3854 Move declaration before first use.
3855 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3856 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3859 2013-09-12 Glenn Morris <rgm@gnu.org>
3861 * term/ns-win.el (global-map): Remove binding for ispell-next,
3862 deleted 1999-05-29. (Bug#15357)
3864 2013-09-11 Glenn Morris <rgm@gnu.org>
3866 * echistory.el (electric-command-history): Remove call to deleted func.
3868 * play/landmark.el (landmark-mode): Fix typos.
3870 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3871 Check cvs-sort-ignore-file is bound.
3873 * savehist.el: No need for cl when compiling on Emacs.
3875 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3877 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3879 (eshell-self-insert-command, eshell-send-invisible):
3880 Remove unused argument.
3881 (eshell-handle-control-codes): Remove unused var `orig'.
3882 Avoid delete-backward-char.
3884 * files.el (set-auto-mode): Simplify a bit further.
3886 2013-09-11 Glenn Morris <rgm@gnu.org>
3888 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3889 (set-auto-mode): Don't regexp-quote elements.
3890 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3891 * progmodes/cc-mode.el (interpreter-mode-alist):
3892 * progmodes/ruby-mode.el (interpreter-mode-alist):
3893 Revert previous change.
3895 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3897 * play/snake.el (snake-mode):
3898 * play/mpuz.el (mpuz-mode):
3899 * play/landmark.el (lm-mode):
3900 * play/blackbox.el (blackbox-mode):
3901 * play/5x5.el (5x5-mode):
3902 * obsolete/options.el (Edit-options-mode):
3903 * net/quickurl.el (quickurl-list-mode):
3904 * net/newst-treeview.el (newsticker-treeview-mode):
3905 * mail/rmailsum.el (rmail-summary-mode):
3906 * mail/mspools.el (mspools-mode):
3907 * locate.el (locate-mode):
3908 * ibuffer.el (ibuffer-mode):
3909 * emulation/ws-mode.el (wordstar-mode):
3910 * emacs-lisp/debug.el (debugger-mode):
3911 * array.el (array-mode):
3912 * net/eudc.el (eudc-mode): Use define-derived-mode.
3913 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3914 Move initialization into declaration.
3915 (mairix-searches-mode): Use define-derived-mode.
3916 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3917 (eudc-edit-hotlist): Use dolist.
3918 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3919 (Man-mode): Use define-derived-mode.
3920 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3921 (Info-edit-mode): Use define-derived-mode.
3922 (Info-cease-edit): Use Info-mode.
3923 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3925 (eshell-mode): Use define-derived-mode.
3926 * chistory.el (command-history-mode-map): Rename from
3927 command-history-map.
3928 (command-history-mode): Use define-derived-mode.
3929 (Command-history-setup): Remove function.
3930 * calc/calc.el (calc-trail-mode-map): New var.
3931 (calc-trail-mode): Use define-derived-mode.
3932 (calc-trail-buffer): Set calc-main-buffer manually.
3933 * bookmark.el (bookmark-insert-annotation): New function.
3934 (bookmark-edit-annotation): Use it.
3935 (bookmark-edit-annotation-mode): Make it a proper major mode.
3936 (bookmark-send-edited-annotation): Use derived-mode-p.
3937 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3938 closer to its ideal place. Use \' to match EOS.
3940 * profiler.el (profiler-calltree-find): Use function-equal.
3942 2013-09-10 Glenn Morris <rgm@gnu.org>
3944 * files.el (interpreter-mode-alist): Convert to regexps.
3945 (set-auto-mode): Adapt for this. (Bug#15306)
3946 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3947 Comment out unused variable.
3948 * progmodes/cc-mode.el (interpreter-mode-alist):
3949 * progmodes/python.el (interpreter-mode-alist):
3950 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3951 * progmodes/sh-script.el (sh-set-shell):
3952 No longer use interpreter-mode-alist to get list of shells.
3954 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3956 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3958 * simple.el: Use set-temporary-overlay-map for universal-argument.
3959 (universal-argument-map): Don't use default-bindings (bug#15317).
3960 Bind switch-frame explicitly. Replace universal-argument-minus with
3961 a conditional binding.
3962 (universal-argument-num-events, saved-overriding-map): Remove.
3963 (restore-overriding-map): Remove.
3964 (universal-argument--mode): Rename from save&set-overriding-map,
3966 (universal-argument, universal-argument-more, negative-argument)
3967 (digit-argument): Adjust accordingly.
3968 (universal-argument-minus): Remove.
3969 (universal-argument-other-key): Remove.
3971 * subr.el (with-demoted-errors): Add `format' argument.
3973 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3975 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3976 `tramp-cleanup-connection'.
3978 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3979 parameters KEEP-DEBUG and KEEP-PASSWORD.
3981 * net/tramp.el (tramp-file-name-handler):
3982 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3983 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3984 (tramp-maybe-open-connection):
3985 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3986 Use `tramp-cleanup-connection'.
3988 * net/tramp-sh.el (tramp-maybe-open-connection):
3989 Catch 'uname-changed inside the progress reporter.
3991 2013-09-10 Glenn Morris <rgm@gnu.org>
3993 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3995 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3996 returns "alternate access method" in mode (eg "-rw-r--r--.").
3998 2013-09-08 Glenn Morris <rgm@gnu.org>
4000 * saveplace.el (load-save-place-alist-from-file):
4001 Demote errors. (Bug#15305)
4003 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4005 Improve compatibility with older Emacsen, and XEmacs.
4007 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4008 only if it is bound. It isn't for XEmacs.
4009 (with-tramp-progress-reporter): Do not let-bind `result'.
4010 This yields to scoping errors in XEmacs.
4011 (tramp-handle-make-auto-save-file-name): New function, moved from
4014 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4015 for `make-auto-save-file-name'.
4016 (tramp-adb--gnu-switches-to-ash):
4017 Use `tramp-compat-replace-regexp-in-string'.
4019 * net/tramp-cache.el (tramp-cache-print): Call
4020 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4022 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4023 bound. It isn't for XEmacs.
4025 * net/tramp-compat.el (tramp-compat-copy-file):
4026 Catch `wrong-number-of-arguments' error.
4027 (tramp-compat-replace-regexp-in-string): New defun.
4029 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4030 for `make-auto-save-file-name'.
4031 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4033 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4034 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4035 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4037 * net/tramp-gw.el (tramp-gw-open-network-stream):
4038 Use `tramp-compat-replace-regexp-in-string'.
4040 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4041 Call `tramp-handle-make-auto-save-file-name'.
4042 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4043 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4044 (tramp-sh-file-inotifywait-process-filter):
4045 Use `tramp-compat-replace-regexp-in-string'.
4046 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4048 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4049 for `make-auto-save-file-name'.
4050 (tramp-smb-handle-copy-directory):
4051 Call `tramp-compat-replace-regexp-in-string'.
4052 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4053 (tramp-smb-handle-copy-file): Improve error message.
4054 (tramp-smb-handle-rename-file): Rename directly only in case
4055 `newname' does not exist yet. This is a restriction of smbclient.
4056 (tramp-smb-maybe-open-connection): Rerun the function only when
4057 `auth-sources' is non-nil.
4059 2013-09-08 Kenichi Handa <handa@gnu.org>
4061 * international/characters.el: Set category "^" (Combining) for
4064 2013-09-07 Alan Mackenzie <acm@muc.de>
4066 Correctly fontify Java class constructors.
4067 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4069 (c-recognize-typeless-decls): Set the Java value to t.
4070 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4071 While handling a "(", add a check for, effectively, Java, and handle a
4072 "typeless" declaration there.
4074 2013-09-07 Roland Winkler <winkler@gnu.org>
4076 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4077 field subtitle for entry type book.
4079 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4081 * minibuffer.el: Make minibuffer-complete call completion-in-region
4082 rather than other way around.
4083 (completion--some, completion-pcm--find-all-completions):
4084 Don't delay signals when debugging.
4085 (minibuffer-completion-contents): Beware fields within the
4086 minibuffer contents.
4087 (completion-all-sorted-completions): Use defvar-local.
4088 (completion--do-completion, completion--cache-all-sorted-completions)
4089 (completion-all-sorted-completions, minibuffer-force-complete):
4090 Add args `beg' and `end'.
4091 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4092 (minibuffer-complete): Use completion-in-region.
4093 (completion-complete-and-exit): New fun, extracted from
4094 minibuffer-complete-and-exit.
4095 (minibuffer-complete-and-exit): Use it.
4096 (completion--complete-and-exit): Rename from
4097 minibuffer--complete-and-exit.
4098 (completion-in-region--single-word): New function, extracted from
4099 minibuffer-complete-word.
4100 (minibuffer-complete-word): Use it.
4101 (display-completion-list): Make `common-substring' argument obsolete.
4102 (completion--in-region): Call completion--in-region-1 instead of
4103 minibuffer-complete.
4104 (completion-help-at-point): Pass boundaries to
4105 minibuffer-completion-help as args rather than via an overlay.
4106 (completion-pcm--string->pattern): Use `any-delim'.
4107 (completion-pcm--optimize-pattern): New function.
4108 (completion-pcm--pattern->regex): Handle `any-delim'.
4109 * icomplete.el (icomplete-forward-completions)
4110 (icomplete-backward-completions, icomplete-completions):
4111 Adjust calls to completion-all-sorted-completions and
4112 completion--cache-all-sorted-completions.
4113 (icomplete-with-completion-tables): Default to t.
4114 * emacs-lisp/crm.el (crm--current-element): Rename from
4115 crm--select-current-element. Don't put an overlay but return the
4117 (crm--completion-command): Take two new args to bind to the boundaries.
4118 (crm-completion-help): Adjust accordingly.
4119 (crm-complete): Use completion-in-region.
4120 (crm-complete-word): Use completion-in-region--single-word.
4121 (crm-complete-and-exit): Use completion-complete-and-exit.
4123 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4125 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4128 2013-09-06 Juri Linkov <juri@jurta.org>
4130 * info.el (Info-display-images-node): When image file doesn't exist
4131 display text version of the image if it's provided in the Info file.
4132 Otherwise, display the location of missing image from SRC attribute.
4133 Add help-echo text property from ALT attribute. (Bug#15279)
4135 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4137 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4138 (edit-abbrevs-mode): Use define-derived-mode.
4140 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4141 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4143 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4144 Use define-derived-mode.
4146 * epg.el (epg-start-encrypt): Minor CSE simplification.
4148 2013-09-06 William Xu <william.xwl@gmail.com>
4150 * arc-mode.el: Add support for 7za (bug#15264).
4151 (archive-7z-program): New var.
4152 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4153 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4154 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4156 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4160 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4161 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4162 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4163 (tramp-postfix-host-format, tramp-file-name-regexp)
4164 (tramp-completion-file-name-regexp)
4165 (tramp-completion-dissect-file-name)
4166 (tramp-handle-substitute-in-file-name): Remove 'url case.
4167 (tramp-file-name-regexp-url)
4168 (tramp-completion-file-name-regexp-url): Remove constants.
4170 2013-09-06 Glenn Morris <rgm@gnu.org>
4172 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4174 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4176 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4177 keywords" below "here-doc beginnings" (Bug#15270).
4179 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4181 * subr.el (pop): Use `car-safe'.
4182 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4183 to detect unused `pop' return value.
4185 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4187 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4188 (python-fill-string): Remove unused var `marker'.
4189 (python-skeleton-add-menu-items): Remove unused var `items'.
4191 * international/mule-cmds.el: Require CL.
4192 (find-coding-systems-for-charsets): Avoid add-to-list.
4193 (sanitize-coding-system-list): New function, extracted from
4194 select-safe-coding-system-interactively.
4195 (select-safe-coding-system-interactively): Use it.
4196 (read-input-method-name): Accept symbols for `default'.
4198 * emacs-lisp/advice.el (defadvice): Add indent rule.
4200 2013-09-05 Daniel Hackney <dan@haxney.org>
4204 * net/browse-url.el:
4207 * net/eudcb-ldap.el:
4220 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4221 byte compiler. Remove some unused let-bound variables.
4223 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4225 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4226 a "ref-cell", since it gets better optimized (bug#14883).
4228 2013-09-05 Glenn Morris <rgm@gnu.org>
4230 * progmodes/cc-awk.el (c-forward-sws): Declare.
4232 2013-09-04 Glenn Morris <rgm@gnu.org>
4234 * generic-x.el [rul-generic-mode]: Require cc-mode.
4235 (c++-mode-syntax-table): Declare.
4236 (rul-generic-mode-syntax-table): Init in the defvar.
4238 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4240 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4241 (vc-do-command, vc-set-async-update):
4242 * vc/vc-mtn.el (vc-mtn-dir-status):
4243 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4244 (vc-hg-pull, vc-hg-merge-branch):
4245 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4246 (vc-git-merge-branch):
4247 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4248 (vc-cvs-dir-status-files):
4249 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4250 (vc-bzr-dir-status-files):
4251 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4252 * vc/vc-annotate.el: Use lexical-binding.
4253 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4254 (vc-sentinel-movepoint): Declare.
4255 (vc-annotate): Don't use `goto-line'.
4256 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4257 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4258 (vc-sentinel-movepoint): Declare.
4259 * vc/vc-svn.el: Use lexical-binding.
4260 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4262 * vc/vc-rcs.el: Use lexical-binding.
4264 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4265 `deleted'. Don't drop errors silently.
4267 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4269 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4271 * vc/vc.el (vc-ignore): Rewrite.
4272 (vc-default-ignore): New function.
4273 (vc-default-ignore-completion-table): Use find-ignore-file.
4275 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4276 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4277 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4278 Remove. Most code moved to vc.el.
4280 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4282 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4283 * net/tramp-smb.el (tramp-smb-get-file-entries):
4284 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4285 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4287 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4289 (eww-change-select): Remove unused var `properties'.
4290 (eww-make-unique-file-name): Remove unused var `base'.
4292 * finder.el (finder-compile-keywords): Don't mess with windows.
4294 * calculator.el (calculator-funcall): Fix typo in last change.
4296 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4298 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4299 <pkg>-autoloads.el file stop us.
4301 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4302 warnings, and factor out common code.
4304 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4306 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4307 two-character operators and whether the character preceding them
4308 changes their meaning (Bug#15208).
4310 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4312 Format code sent to Python shell for robustness.
4313 * progmodes/python.el (python-shell-buffer-substring):
4315 (python-shell-send-region, python-shell-send-buffer): Use it.
4317 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4319 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4320 * net/tramp.el (tramp-user-error): ... here.
4321 (tramp-find-method, tramp-check-proper-host)
4322 (tramp-dissect-file-name, tramp-debug-message)
4323 (tramp-handle-shell-command):
4324 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4325 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4327 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4329 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4331 * avoid.el (mouse-avoidance-point-position)
4332 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4335 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4337 * progmodes/python.el (python-shell-completion-get-completions):
4338 Drop use of deleted `comint-last-prompt-overlay'.
4339 (python-nav-if-name-main): New command.
4341 2013-09-01 Glenn Morris <rgm@gnu.org>
4343 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4344 Avoid leading space in $wins. Otherwise the sed command used by
4345 eg compile-main ends up containing "/*.el". (Bug#15170)
4347 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4349 2013-08-30 Glenn Morris <rgm@gnu.org>
4351 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4352 Fix is-this-a-directory logic. (Bug#15220)
4354 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4356 * textmodes/css-mode.el: Use SMIE.
4357 (css-smie-grammar): New var.
4358 (css-smie--forward-token, css-smie--backward-token)
4359 (css-smie-rules): New functions.
4360 (css-mode): Use them.
4361 (css-navigation-syntax-table): Remove var.
4362 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4363 (css-indent-calculate, css-indent-line): Remove functions.
4365 Misc changes to reduce use of `(lambda...); and other cleanups.
4366 * cus-edit.el: Use lexical-binding.
4367 (customize-push-and-save, customize-apropos)
4368 (custom-buffer-create-internal): Use closures.
4369 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4370 * progmodes/ada-xref.el: Use setq.
4371 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4372 * dframe.el: Use lexical-binding.
4373 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4374 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4375 * descr-text.el: Use lexical-binding.
4376 (describe-text-widget, describe-text-sexp, describe-property-list):
4378 * comint.el (comint-history-isearch-push-state): Use a closure.
4379 * calculator.el: Use lexical-binding.
4380 (calculator-number-to-string): Make it work with lexical-binding.
4381 (calculator-funcall): Same and use cl-letf.
4383 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4384 (lisp--company-doc-string, lisp--company-location): New functions.
4385 (lisp-completion-at-point): Use them to improve Company support.
4387 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4388 params of lambda expressions.
4389 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4390 (ruby-smie--opening-pipe-p): New function.
4391 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4392 symbols and matched |...| for formal params.
4393 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4394 from being treated as hanging. Handle "rescue".
4396 2013-08-29 Glenn Morris <rgm@gnu.org>
4398 * progmodes/cc-engine.el (c-pull-open-brace):
4399 Move definition before use.
4401 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4403 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4404 are immutable. Don't use `unsafe' any more.
4405 (cl--defsubst-expand): Don't substitute at the same time as keeping
4406 a residual unused let-binding. Don't use `unsafe' any more.
4408 2013-08-29 Glenn Morris <rgm@gnu.org>
4410 * calendar/cal-china.el (calendar-chinese-year-cache):
4413 * nxml/nxml-util.el (nxml-debug-clear-inside):
4414 Use cl-loop rather than loop.
4416 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4418 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4420 2013-08-28 Glenn Morris <rgm@gnu.org>
4422 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4424 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4426 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4428 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4430 * simple.el (repeat-complex-command--called-interactively-skip):
4432 (repeat-complex-command): Use it (bug#14136).
4434 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4435 (c-define-abbrev-table): Add `doc' argument.
4436 (c-mode-abbrev-table, c++-mode-abbrev-table)
4437 (objc-mode-abbrev-table, java-mode-abbrev-table)
4438 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4439 (awk-mode-abbrev-table): Use it.
4440 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4441 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4442 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4443 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4444 Move initialization into the declaration; and remove any
4447 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4448 and dynamic let binding.
4450 * vc/smerge-mode.el: Remove redundant :group args.
4452 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4455 2013-08-28 Juri Linkov <juri@jurta.org>
4457 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4458 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4459 (isearch-other-meta-char): Handle an undefined shifted printing
4460 character by downshifting it. (Bug#15200)
4462 2013-08-28 Juri Linkov <juri@jurta.org>
4464 * isearch.el (isearch-search): Change regexp error message for
4465 non-regexp searches. (Bug#15166)
4467 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4469 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4470 for portability to hosts where /bin/sh has problems.
4472 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4474 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4476 2013-08-27 Juri Linkov <juri@jurta.org>
4478 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4479 in the keyboard macro. (Bug#15126)
4481 2013-08-27 Juri Linkov <juri@jurta.org>
4483 * isearch.el (isearch-quote-char): Comment out converting unibyte
4484 to multibyte, thus syncing with its `quoted-insert' counterpart.
4487 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4489 * window.el (display-buffer-use-some-window): Add missing
4490 argument in call of get-largest-window (Bug#15185).
4491 Reported by Stephen Leake.
4493 2013-08-27 Glenn Morris <rgm@gnu.org>
4495 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4497 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4499 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4500 from a matcher-function unless there's no more matches (bug#15161).
4502 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4504 * minibuffer.el: Revert change from 2013-08-20.
4506 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4507 with text property `tramp-default', if appropriate.
4508 (tramp-check-proper-host): New defun.
4509 (tramp-dissect-file-name): Do not check hostname. Revert change
4511 (tramp-backtrace): Make VEC-OR-PROC optional.
4513 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4514 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4515 * net/tramp-sh.el (tramp-maybe-open-connection):
4516 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4517 Apply `tramp-check-proper-host'.
4519 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4521 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4522 lambda expression in order to have `describe-variable' display it.
4524 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4526 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4527 BUF can be optional. (Bug#15186)
4529 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4531 * progmodes/flymake.el (flymake-get-real-file-name-function):
4532 Fix broken customization. (Bug#15184)
4534 2013-08-25 Alan Mackenzie <acm@muc.de>
4536 Improve indentation of bracelists defined by macros (without "=").
4538 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4539 expansion begins with "{", regard it as bracelist when it doesn't
4542 Parse C++ inher-intro when there's a template split over 2 lines.
4544 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4545 rigorously the search for "class" etc. followed by ":".
4547 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4548 random languages a regexp which never matches rather than nil.
4550 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4552 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4553 (c-awk-regexp-one-line-possibly-open-char-list-re)
4554 (c-awk-one-line-possibly-open-regexp-re)
4555 (c-awk-one-line-non-syn-ws*-re): Remove.
4556 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4557 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4558 (c-awk-space*-unclosed-regexp-/-re): New constants.
4559 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4560 aren't regexp delimiters.
4562 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4563 handling for a rare situation in AWK Mode involving unterminated
4566 2013-08-23 Glenn Morris <rgm@gnu.org>
4568 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4570 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4572 * files.el (create-file-buffer): If the result would begin with
4573 spaces, prepend a "|" instead of removing them. (Bug#15162)
4575 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4577 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4578 text-properties (bug#15155).
4580 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4582 (calc-keypad-redraw): Remove unused var `pad'.
4583 (calc-keypad-press): Remove unused var `menu'.
4585 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4587 * window.el (display-buffer-pop-up-frame):
4588 Call pop-up-frame-function with BUFFER current so `make-frame' will
4589 use it as the new frame's buffer (Bug#15133).
4591 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4593 * calendar/timeclock.el: Minor cleanups.
4594 (timeclock-ask-before-exiting, timeclock-use-display-time):
4596 (timeclock-modeline-display): Define as alias before the
4598 (timeclock-mode-line-display): Use define-minor-mode.
4599 (timeclock-day-list-template): Make it a function, add an argument.
4600 (timeclock-day-list-required, timeclock-day-list-length)
4601 (timeclock-day-list-debt, timeclock-day-list-span)
4602 (timeclock-day-list-break): Adjust calls accordingly.
4604 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4606 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4607 Use read--expression so that completion works again.
4609 2013-08-21 Sam Steingold <sds@gnu.org>
4611 Add rudimentary inferior shell interaction
4612 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4613 (sh-set-shell): Reset it.
4614 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4615 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4617 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4619 * align.el: Use lexical-binding.
4620 (align-region): Simplify accordingly.
4622 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4624 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4626 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4629 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4633 * net/tramp-cmds.el:
4635 * net/tramp-gvfs.el:
4637 * net/tramp-sh.el: Don't wrap external variable declarations by
4638 `eval-when-compile'.
4640 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4642 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4643 now that Emacs supports ImageMagick animations.
4645 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4647 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4648 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4650 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4652 * window.el (mouse-autoselect-window-select): Do autoselect when
4653 mouse pointer is on margin.
4655 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4657 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4659 2013-08-16 Glenn Morris <rgm@gnu.org>
4661 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4662 Handle "Remote Directory" response of some clients. (Bug#15058)
4664 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4665 Tweak warning. (Bug#14926)
4667 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4668 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4670 * image-mode.el (image-mode-map): Add menu items to reverse,
4671 increase, decrease, reset animation speed.
4672 (image--set-speed, image-increase-speed, image-decrease-speed)
4673 (image-reverse-speed, image-reset-speed): New functions.
4674 (image-mode-map): Add bindings for speed commands.
4676 * image.el (image-animate-get-speed, image-animate-set-speed):
4678 (image-animate-timeout): Respect image :speed property.
4680 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4682 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4683 previous line (bug#15101).
4684 (debugger-eval-expression, debugger-record-expression):
4685 Use read--expression (bug#15102).
4687 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4689 Remove byte compiler warnings, visible when compiling with
4690 `byte-compile-force-lexical-warnings' set to t.
4692 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4693 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4694 (tramp-handle-unhandled-file-name-directory)
4695 (tramp-handle-file-notify-add-watch, tramp-action-login)
4696 (tramp-action-succeed, tramp-action-permission-denied)
4697 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4700 * net/tramp-adb.el (tramp-adb-parse-device-names)
4701 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4702 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4703 (tramp-adb-handle-file-truename): Remove unused arguments.
4705 * net/tramp-cache.el (tramp-flush-directory-property)
4706 (tramp-flush-connection-property, tramp-list-connections)
4707 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4709 * net/tramp-compat.el (tramp-compat-make-temp-file):
4710 Rename FILENAME to F.
4712 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4713 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4714 (tramp-zeroconf-parse-workstation-device-names)
4715 (tramp-zeroconf-parse-webdav-device-names)
4716 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4718 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4719 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4721 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4723 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4724 (tramp-sh-handle-insert-file-contents-literally)
4725 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4727 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4728 Remove unused variables.
4730 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4731 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4732 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4734 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4735 Make them a defconst.
4736 (tramp-uuencode-region): Remove unused variable.
4738 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4740 * frameset.el (frameset--prop-setter): New function.
4741 (frameset-prop): Add gv-setter declaration.
4742 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4743 parameter was already set in FILTERED. Doc fix.
4744 (frameset--record-minibuffer-relationships): Allow saving a
4745 minibufferless frame without its corresponding minibuffer frame.
4746 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4747 frame, if the frame id matches.
4748 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4749 frames before orphaned ones.
4750 (frameset-restore): Warn about orphaned windows, instead of error out.
4752 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4754 * window.el (window-make-atom): Don't overwrite parameter
4756 (display-buffer-in-atom-window): Handle special case where we
4757 split an already atomic window.
4758 (window--major-non-side-window, display-buffer-in-side-window)
4759 (window--side-check): Ignore minibuffer window when walking
4761 (window-deletable-p): Return 'frame only if no other frame uses
4762 our minibuffer window.
4763 (record-window-buffer): Run buffer-list-update-hook.
4764 (split-window): Make sure window--check-frame won't destroy an
4765 existing atomic window in case the new window gets nested
4767 (display-buffer-at-bottom): Ignore minibuffer window when
4768 walking window tree. Don't split a side window.
4769 (pop-to-buffer): Don't set-buffer here, the select-window call
4771 (mouse-autoselect-window-select): Autoselect only if we are in the
4772 text portion of the window.
4774 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4776 * net/shr.el (shr-parse-image-data): New function to grab both the
4777 data itself and the Content-Type.
4778 (shr-put-image): Use it.
4780 * net/eww.el (eww-display-image): Ditto.
4782 * image.el (image-content-type-suffixes): New variable.
4784 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4786 * progmodes/python.el (python-imenu--build-tree)
4787 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4789 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4791 * simple.el (backward-word): Mention the optional argument.
4793 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4795 * frameset.el (frameset--make): Rename constructor from make-frameset.
4796 (frameset-p, frameset-valid-p): Don't autoload.
4797 (frameset-valid-p): Use normal accessors.
4799 2013-08-13 Glenn Morris <rgm@gnu.org>
4801 * progmodes/compile.el (compile-command): Tweak example in doc.
4802 * obsolete/scribe.el (scribe-mode):
4803 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4805 * mail/feedmail.el (feedmail-confirm-outgoing)
4806 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4808 * cus-start.el (truncate-partial-width-windows): Fix type.
4810 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4812 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4814 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4816 * emacs-lisp/timer.el (timer--time-setter): New function.
4817 (timer--time): Use it as gv-setter.
4819 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4820 setter is not a symbol.
4822 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4824 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4825 if sending fails. This makes debugging easier.
4827 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4829 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4830 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4831 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4833 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4835 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4837 2013-08-12 Glenn Morris <rgm@gnu.org>
4839 * format.el (format-annotate-function):
4840 Handle read-only text properties in the source. (Bug#14887)
4842 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4844 * net/eww.el (eww-display-html): Ignore coding system errors.
4845 One web site uses "utf-8lias" as the coding system.
4847 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4849 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4851 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4853 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4854 (tutorial--detailed-help): Remove unused local variables.
4855 (tutorial--save-tutorial-to): Use ignore-errors.
4856 (help-with-tutorial): Use looking-at-p.
4858 * view.el (view-buffer-other-window, view-buffer-other-frame):
4859 Mark unused arguments.
4861 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4862 (woman-select-symbol-fonts, woman, woman-find-file)
4863 (woman-insert-file-contents, woman-non-underline-faces):
4865 (woman1-unquote): Move declaration.
4867 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4868 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4869 argument. Remove unused local variable.
4870 (xml-parse-elem-type): Use string-match-p.
4871 (xml-substitute-numeric-entities): Use ignore-errors.
4873 * calculator.el (calculator): Mark unused argument.
4874 (calculator-paste, calculator-quit, calculator-integer-p):
4876 (calculator-string-to-number, calculator-decimal, calculator-exp)
4877 (calculator-op-or-exp): Use string-match-p.
4879 * dired.el (dired-buffer-more-recently-used-p): Declare.
4880 (dired-insert-set-properties, dired-insert-old-subdirs):
4883 * dired-aux.el (dired-compress): Use ignore-errors.
4884 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4885 (dired-do-async-shell-command, dired-do-shell-command)
4886 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4887 (dired-insert-subdir-validate): Use string-match-p.
4888 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4889 (dired-add-entry): Use string-match-p, looking-at-p.
4890 (dired-insert-subdir-newpos): Remove unused local variable.
4892 * filenotify.el (file-notify-callback): Remove unused local variable.
4894 * filesets.el (filesets-error): Mark unused argument.
4895 (filesets-which-command-p, filesets-filter-dir-names)
4896 (filesets-directory-files, filesets-get-external-viewer)
4897 (filesets-ingroup-get-data): Use string-match-p.
4899 * find-file.el (ff-other-file-name, ff-other-file-name)
4900 (ff-find-the-other-file, ff-cc-hh-converter):
4901 Remove unused local variables.
4902 (ff-get-file-name): Use string-match-p.
4903 (ff-all-dirs-under): Use ignore-errors.
4905 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4906 (follow-select-if-visible): Remove unused local variable.
4908 * forms.el (read-file-filter): Move declaration.
4909 (forms--make-format, forms--make-parser, forms-insert-record):
4910 Quote function with #'.
4911 (forms--update): Use string-match-p. Quote function with #'.
4913 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4914 (help-make-xrefs): Use looking-at-p.
4915 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4917 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4918 (ibuffer-confirm-operation-on): Use string-match-p.
4920 * msb.el (msb-item-handler, msb-dired-item-handler):
4921 Mark unused arguments.
4923 * ses.el (ses-decode-cell-symbol)
4924 (ses-kill-override): Remove unused local variable.
4925 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4926 (ses-load): Use ignore-errors, looking-at-p.
4927 (ses-jump-safe): Use ignore-errors.
4928 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4930 * tabify.el (untabify, tabify): Mark unused arguments.
4932 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4933 Mark unused argument.
4934 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4935 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4937 * emacs-lisp/timer.el (timer--time): Define setter with
4938 gv-define-setter to avoid deprecation warning.
4940 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4941 (*record-cmpl-statistics-p*): Remove (was commented out).
4942 (cmpl-statistics-block): Remove (body was commented out).
4943 All callers changed.
4944 (add-completions-from-buffer, load-completions-from-file):
4945 Remove unused variables.
4947 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4949 * filecache.el (file-cache-delete-file-list):
4950 Print message only when told so.
4951 (file-cache-files-matching): Use #' in mapconcat argument.
4953 * ffap.el (ffap-url-at-point): Fix reference to variable
4954 thing-at-point-default-mail-uri-scheme.
4956 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4958 * subr.el (define-error): New function.
4959 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4960 error-file-not-found and define with define-error.
4961 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4962 and define with define-error.
4963 * userlock.el (file-locked, file-supersession):
4964 * simple.el (mark-inactive):
4965 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4966 * progmodes/ada-mode.el (ada-mode-errors):
4967 * play/life.el (life-extinct):
4968 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4969 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4970 * nxml/rng-util.el (rng-error):
4971 * nxml/rng-uri.el (rng-uri-error):
4972 * nxml/rng-match.el (rng-compile-error):
4973 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4974 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4975 * nxml/nxml-rap.el (nxml-scan-error):
4976 * nxml/nxml-outln.el (nxml-outline-error):
4977 * net/soap-client.el (soap-error):
4978 * net/gnutls.el (gnutls-error):
4979 * net/ange-ftp.el (ftp-error):
4980 * mpc.el (mpc-proc-error):
4981 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4982 (json-number-format, json-string-escape, json-string-format)
4983 (json-key-format, json-object-format):
4984 * jka-compr.el (compression-error):
4985 * international/quail.el (quail-error):
4986 * international/kkc.el (kkc-error):
4987 * emacs-lisp/ert.el (ert-test-failed):
4988 * calc/calc.el (calc-error, inexact-result, math-overflow)
4990 * bookmark.el (bookmark-error-no-filename):
4991 * epg.el (epg-error): Define with define-error.
4993 * time.el (display-time-event-handler)
4994 (display-time-next-load-average): Don't call sit-for since it seems
4995 unnecessary (bug#15045).
4997 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4998 Use #' instead of ' to quote functions.
4999 (checkdoc-output-mode): Use setq-local.
5000 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5001 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5002 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5003 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5004 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5005 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5006 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5007 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5009 * ido.el (ido-completion-help): Fix up compiler warning.
5011 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5013 * frameset.el (frameset-p): Add autoload cookie.
5014 (frameset--jump-to-register): New function, based on code moved from
5016 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5018 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5019 (frameset-restore, frameset-save, frameset-session-filter-alist):
5020 Remove declarations.
5021 (register-alist): Doc fix.
5022 (frameset-to-register): Move to frameset.el.
5023 (jump-to-register, describe-register-1): Remove frameset-specific code.
5025 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5027 * allout-widgets.el (allout-widgets-pre-command-business)
5028 (allout-widgets-post-command-business)
5029 (allout-widgets-after-change-handler)
5030 (allout-decorate-item-and-context, allout-set-boundary-marker)
5031 (allout-body-modification-handler)
5032 (allout-graphics-modification-handler): Mark ignored arguments.
5033 (allout-widgets-post-command-business)
5034 (allout-widgets-exposure-change-processor)
5035 (allout-widgets-exposure-undo-processor)
5036 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5037 (allout-parse-item-at-point, allout-decorate-item-guides)
5038 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5039 * allout.el (epa-passphrase-callback-function): Declare.
5040 (allout-overlay-insert-in-front-handler)
5041 (allout-overlay-interior-modification-handler)
5042 (allout-isearch-end-handler, allout-chart-siblings)
5043 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5044 (allout-yank-processing, allout-process-exposed)
5045 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5046 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5047 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5048 (lisp-indent-defform): Mark ignored arguments.
5049 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5050 (calculate-lisp-indent): Remove unused variables.
5051 * international/characters.el (indian-2-column, arabic-2-column)
5052 (tibetan): Mark ignored arguments.
5053 (use-cjk-char-width-table): Mark ignored arguments.
5054 Remove unused variables.
5055 * international/fontset.el (build-default-fontset-data)
5056 (x-compose-font-name, create-fontset-from-fontset-spec):
5057 Mark ignored arguments.
5058 (fontset-plain-name): Remove unused variables.
5059 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5060 (keyboard-coding-system): Mark ignored arguments.
5061 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5062 * help.el (resize-temp-buffer-window):
5063 * window.el (display-buffer-in-major-side-window)
5064 (display-buffer-in-side-window, display-buffer-in-previous-window):
5065 Remove unused variables.
5066 * isearch.el (isearch-forward-symbol):
5067 * version.el (emacs-bzr-version-bzr):
5068 * international/mule-cmds.el (current-language-environment):
5069 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5071 * term/pc-win.el (x-list-fonts, x-display-planes)
5072 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5073 (x-server-version, x-display-screens, x-display-mm-height)
5074 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5075 (x-selection-owner-p, x-own-selection-internal)
5076 (x-disown-selection-internal, x-get-selection-internal)
5077 (msdos-initialize-window-system):
5078 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5079 * term/x-win.el (x-handle-no-bitmap-icon):
5080 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5081 (vc-default-find-file-hook, vc-default-extra-menu):
5082 Mark ignored arguments.
5084 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5086 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5087 break-condition in the context of the debugged code (bug#12685).
5089 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5092 Do not use an overlay to highlight the last prompt. (Bug#14744)
5093 (comint-mode): Make comint-last-prompt buffer local.
5094 (comint-last-prompt): New variable.
5095 (comint-last-prompt-overlay): Remove. Superseded by
5097 (comint-snapshot-last-prompt, comint-output-filter):
5098 Use comint-last-prompt.
5100 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5102 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5103 (frameset-save): Check validity of the resulting frameset.
5105 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5107 * ido.el (ido-record-command): Add doc string.
5109 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5111 * frameset.el (frameset): Do not disable creation of the default
5112 frameset-p predicate. Doc fix.
5113 (frameset-valid-p): New function, copied from the old predicate-p.
5114 Add additional checks.
5115 (frameset-restore): Check with frameset-valid-p.
5116 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5117 (frameset-name, frameset-description, frameset-properties)
5118 (frameset-states): Add docstring.
5119 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5120 (frameset-filter-alist): Doc fixes.
5122 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5124 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5126 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5128 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5129 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5130 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5131 (byte-compile-normal-call): Remove obsolescence check.
5133 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5135 * frameset.el (frameset-restore): Doc fix.
5137 * register.el (frameset-frame-id, frameset-frame-with-id)
5138 (frameset-p, frameset-restore, frameset-save): Declare.
5139 (register-alist): Document framesets.
5140 (frameset-session-filter-alist): Declare.
5141 (frameset-to-register): New function.
5142 (jump-to-register): Implement jumping to framesets. Doc fix.
5143 (describe-register-1): Describe framesets.
5145 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5147 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5149 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5150 Use lexical-binding.
5152 * frameset.el (frameset): Use type vector, not list (incompatible
5153 change). Do not declare a new constructor, use the default one.
5154 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5155 `name' and `description', respectively, and add read-only slot
5156 `timestamp'. Doc fixes.
5157 (frameset-copy, frameset-persistent-filter-alist)
5158 (frameset-filter-alist, frameset-switch-to-gui-p)
5159 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5160 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5161 (frameset-filter-iconified, frameset-keep-original-display-p):
5163 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5164 Rename from frameset-filter-(save|restore)-param. All callers changed.
5166 (frameset-p): Adapt to change to vector and be more thorough.
5167 Change arg name to OBJECT. Doc fix.
5168 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5169 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5170 All callers changed.
5171 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5172 All callers changed.
5173 (frameset--record-minibuffer-relationships): Rename from
5174 frameset--process-minibuffer-frames. All callers changed.
5175 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5176 Use new default constructor (again). Doc fix.
5177 (frameset--find-frame-if): Rename from `frameset--find-frame.
5178 All callers changed.
5179 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5180 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5182 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5183 PARAMETERS and WINDOW-STATE, respectively.
5184 (frameset-restore): Add new keyword argument PREDICATE.
5185 Reset frameset--target-display to nil. Doc fix.
5187 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5189 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5191 (bat-mode-syntax-table): Mark \n as end-of-comment.
5192 (bat-font-lock-keywords): Remove comment rule.
5194 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5195 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5197 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5198 (byte-compile-callargs-warn): Use `push'.
5199 (byte-compile-arglist-warn): Ignore higher-order "calls".
5200 (byte-compile-file-form-autoload): Use `pcase'.
5201 (byte-compile-function-form): If quoting a symbol, check that it exists.
5203 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5205 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5206 and add a few popular commands found in batch files.
5207 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5208 (dos-mode): Doc fixes.
5210 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5212 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5213 (dos-mode): Use setq-local. Add space after "rem".
5214 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5215 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5217 2013-08-07 Arni Magnusson <arnima@hafro.is>
5219 * progmodes/dos.el: New file.
5220 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5223 2013-08-06 Glenn Morris <rgm@gnu.org>
5225 * calendar/calendar.el: Add new faces, and day-header-array.
5226 (calendar-weekday-header, calendar-weekend-header)
5227 (calendar-month-header): New faces.
5228 (calendar-day-header-construct): New function.
5229 (calendar-day-header-width): Also :set calendar-day-header-array.
5230 (calendar-american-month-header, calendar-european-month-header)
5231 (calendar-iso-month-header): Use calendar- faces.
5232 (calendar-generate-month):
5233 Use calendar-day-header-array for day headers; apply faces to them.
5234 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5235 (calendar-abbrev-construct): Add optional maxlen argument.
5236 (calendar-day-name-array): Doc fix.
5237 (calendar-day-name-array, calendar-abbrev-length)
5238 (calendar-day-abbrev-array):
5239 Also :set calendar-day-header-array, and maybe redraw.
5240 (calendar-day-header-array): New option. (Bug#15007)
5241 (calendar-font-lock-keywords): Set to nil and make obsolete.
5242 (calendar-day-name): Add option to use header array.
5244 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5246 * net/shr.el (shr-render-td): Remove debugging.
5247 (shr-render-td): Make width computation consistent by defaulting
5248 all zero-width columns to 10 characters. This may not be optimal,
5249 but it's at least consistent.
5250 (shr-make-table-1): Redo last change to fix the real problem in
5253 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5255 * files.el (cache-long-line-scans):
5256 Make obsolete alias to `cache-long-scans'.
5258 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5260 * frameset.el (frameset, frameset-filter-alist)
5261 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5262 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5263 (frameset-compute-pos): Rename from frameset--compute-pos,
5265 (frameset-move-onscreen): Use frameset-compute-pos.
5266 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5268 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5269 Fix typos in docstrings.
5271 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5273 * frame.el (get-other-frame): Tiny cleanup.
5275 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5277 * vc/vc.el (vc-default-ignore-completion-table):
5278 Silence byte-compiler warning.
5280 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5281 slot , which can indeed be nil.
5282 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5283 Move entry for `left' from persistent to live filter alist.
5284 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5286 (frameset-filter-params): When restoring a frame, copy items added to
5287 `filtered', to avoid unwittingly modifying the original parameters.
5288 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5289 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5291 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5292 to use looking-at-p instead of looking-at. (Bug#15028)
5294 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5296 Revert introduction of isearch-filter-predicates (bug#14714).
5297 Rely on add-function instead.
5298 * isearch.el (isearch-filter-predicates): Rename it back to
5299 isearch-filter-predicate.
5300 (isearch-message-prefix): Use advice-function-mapc and advice
5301 properties to get the isearch-message-prefix.
5302 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5303 instead of run-hook-with-args-until-failure.
5304 (isearch-filter-visible): Not obsolete any more.
5305 * loadup.el: Preload nadvice.
5306 * replace.el (perform-replace): Revert to funcall
5307 instead of run-hook-with-args-until-failure.
5308 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5309 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5310 dired-isearch-filenames-toggle; make it into a proper minor mode.
5311 Use add/remove-function.
5312 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5313 Call the minor-mode rather than add/remove-hook.
5314 (dired-isearch-filter-filenames):
5315 Remove isearch-message-prefix property.
5316 * info.el (Info--search-loop): New function, extracted from Info-search.
5317 Funcall isearch-filter-predicate instead of
5318 run-hook-with-args-until-failure isearch-filter-predicates.
5319 (Info-search): Use it.
5320 (Info-mode): Use isearch-filter-predicate instead of
5321 isearch-filter-predicates.
5323 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5325 Do not call to `selected-window' where it is assumed by default.
5326 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5327 `window-hscroll', `window-width', `window-height', `window-buffer',
5328 `window-frame', `window-start', `window-point', `next-window'
5329 and `window-display-table'.
5330 * abbrev.el (abbrev--default-expand):
5331 * bs.el (bs--show-with-configuration):
5332 * buff-menu.el (Buffer-menu-mouse-select):
5333 * calc/calc.el (calc):
5334 * calendar/calendar.el (calendar-generate-window):
5335 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5337 * comint.el (send-invisible, comint-dynamic-complete-filename)
5338 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5339 * completion.el (complete):
5340 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5341 * disp-table.el (describe-current-display-table):
5342 * doc-view.el (doc-view-insert-image):
5343 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5344 * ehelp.el (with-electric-help):
5345 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5346 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5347 * emacs-lisp/helper.el (Helper-help-scroller):
5348 * emulation/cua-base.el (cua--post-command-handler-1):
5349 * eshell/esh-mode.el (eshell-output-filter):
5350 * ffap.el (ffap-gnus-wrapper):
5351 * help-macro.el (make-help-screen):
5352 * hilit-chg.el (highlight-compare-buffers):
5353 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5354 * hl-line.el (global-hl-line-highlight):
5355 * icomplete.el (icomplete-simple-completing-p):
5356 * isearch.el (isearch-done):
5357 * jit-lock.el (jit-lock-stealth-fontify):
5358 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5359 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5360 * mpc.el (mpc-tagbrowser, mpc):
5361 * net/rcirc.el (rcirc-any-buffer):
5362 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5363 * play/landmark.el (landmark-max-width, landmark-max-height):
5364 * play/zone.el (zone):
5365 * progmodes/compile.el (compilation-goto-locus):
5366 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5367 * progmodes/etags.el (find-tag-other-window):
5368 * progmodes/fortran.el (fortran-column-ruler):
5369 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5370 * progmodes/verilog-mode.el (verilog-point-text):
5371 * reposition.el (reposition-window):
5372 * rot13.el (toggle-rot13-mode):
5373 * server.el (server-switch-buffer):
5374 * shell.el (shell-dynamic-complete-command)
5375 (shell-dynamic-complete-environment-variable):
5376 * simple.el (insert-buffer, set-selective-display)
5377 (delete-completion-window):
5378 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5379 (speedbar-recenter):
5380 * startup.el (fancy-splash-head):
5381 * textmodes/ispell.el (ispell-command-loop):
5382 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5383 * tutorial.el (help-with-tutorial):
5384 * vc/add-log.el (add-change-log-entry):
5385 * vc/compare-w.el (compare-windows):
5386 * vc/ediff-help.el (ediff-indent-help-message):
5387 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5388 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5389 (ediff-setup-control-frame):
5390 * vc/emerge.el (emerge-position-region):
5391 * vc/pcvs-util.el (cvs-bury-buffer):
5392 * window.el (walk-windows, mouse-autoselect-window-select):
5393 * winner.el (winner-set-conf, winner-undo): Related users changed.
5395 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5397 * frameset.el (frameset--set-id): Doc fix.
5398 (frameset-frame-id, frameset-frame-id-equal-p)
5399 (frameset-locate-frame-id): New functions.
5400 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5401 (frameset-restore): Use them.
5403 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5405 Do not call to `selected-frame' where it is assumed by default.
5406 Affected functions are `raise-frame', `redraw-frame',
5407 `frame-first-window', `frame-terminal' and `delete-frame'.
5408 * calendar/appt.el (appt-disp-window):
5409 * epg.el (epg-wait-for-completion):
5410 * follow.el (follow-delete-other-windows-and-split)
5411 (follow-avoid-tail-recenter):
5412 * international/mule.el (set-terminal-coding-system):
5413 * mail/rmail.el (rmail-mail-return):
5414 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5415 * progmodes/f90.el (f90-add-imenu-menu):
5416 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5417 * server.el (server-switch-buffer):
5418 * simple.el (delete-completion-window):
5420 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5421 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5422 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5423 * vc/ediff.el (ediff-documentation): Related users changed.
5424 * frame.el (selected-terminal): Remove the leftover.
5426 2013-08-05 Glenn Morris <rgm@gnu.org>
5428 * calendar/calendar.el (calendar-generate-month):
5429 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5430 (calendar-generate-month, calendar-font-lock-keywords):
5431 Fix for calendar-day-header-width > length of any day name.
5433 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5435 * desktop.el (desktop-clear): Use new name of sort predicate.
5437 * frameset.el (frameset): Add docstring. Move :version property to its
5439 (frameset-copy): Rename from copy-frameset.
5440 (frameset-p): Check more thoroughly.
5441 (frameset-prop): Do not check for :version, which is no longer a prop.
5442 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5443 Use new :never value instead of t.
5444 (frameset-filter-alist): Expand and clarify docstring.
5445 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5446 (frameset-filter-minibuffer, frameset-filter-save-param)
5447 (frameset-filter-restore-param, frameset-filter-iconified):
5448 Add pointer to docstring of frameset-filter-alist.
5449 (frameset-filter-params): Rename filter values to be more meaningful:
5450 :never instead of t, and reverse the meanings of :save and :restore.
5451 (frameset--process-minibuffer-frames): Clarify error message.
5452 (frameset-save): Avoid unnecessary and confusing call to framep.
5453 Use new BOA constructor for framesets.
5454 (frameset--reuse-list): Doc fix.
5455 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5456 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5457 (frameset-minibufferless-first-p): Doc fix.
5458 Rename from frameset-sort-frames-for-deletion.
5459 (frameset-restore): Doc fixes. Use new function names.
5460 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5462 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5464 * desktop.el (desktop-restore-forces-onscreen)
5465 (desktop-restore-reuses-frames): Document :keyword constant values.
5466 (desktop-filter-parameters-alist): Remove, now identical to
5467 frameset-filter-alist.
5468 (desktop--filter-tty*): Remove, moved to frameset.el.
5469 (desktop-save-frameset, desktop-restore-frameset):
5470 Do not pass :filters argument.
5472 * frameset.el (frameset-live-filter-alist)
5473 (frameset-persistent-filter-alist): New variables.
5474 (frameset-filter-alist): Use them. Add autoload cookie.
5475 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5476 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5477 `frameset--id' (it's supposed to be internal to frameset.el).
5478 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5479 (frameset--initial-params): New function.
5480 (frameset--get-frame): Use it. Doc fix.
5481 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5482 Accept :all, not 'all.
5483 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5484 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5485 with fbound symbols. Fix frame id matching, and remove matching ids if
5486 the frame being restored is deleted. Obey :delete.
5488 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5490 * subr.el (macrop): New function.
5491 (text-clone--maintaining): New var.
5492 (text-clone--maintain): Rename from text-clone-maintain. Use it
5493 instead of inhibit-modification-hooks.
5495 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5496 a proxy, so as handle autoloads and redefinitions of the target.
5497 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5499 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5500 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5501 (pcase--mutually-exclusive-p): New function.
5502 (pcase--split-consp): Use it.
5503 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5504 mutually exclusive with the current predicate.
5506 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5507 (edebug-macrop): Remove. Use `macrop' instead.
5508 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5510 * eshell/esh-cmd.el (eshell-macrop):
5511 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5513 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5515 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5516 (advice-mapc): New function, using it.
5517 (advice-function-member-p): New function.
5518 (advice--normalize): Store the cdr in advice--saved-rewrite since
5519 that's the part that will be changed.
5520 (advice--symbol-function): New function.
5521 (advice-remove): Handle removal before the function is defined.
5522 Adjust to new advice--saved-rewrite.
5523 (advice-member-p): Use advice-function-member-p and
5524 advice--symbol-function.
5526 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5528 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5529 (frameset-filter-minibuffer): Doc fix.
5530 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5531 (frameset--set-id, frameset--process-minibuffer-frames)
5532 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5533 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5535 * desktop.el (desktop-clear): Only delete frames when called
5536 interactively and desktop-restore-frames is non-nil. Doc fix.
5537 (desktop-read): Set desktop-saved-frameset to nil.
5539 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5541 * vc/vc.el (vc-ignore): Rewrite.
5542 (vc-default-ignore-completion-table):
5544 (vc--add-line, vc--remove-regexp): New functions.
5546 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5547 (vc-svn-ignore-completion-table): New function.
5549 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5550 (vc-hg-ignore-completion-table):
5551 (vc-hg-find-ignore-file): New functions.
5553 * vc/vc-git.el (vc-git-ignore): Rewrite.
5554 (vc-git-ignore-completion-table):
5555 (vc-git-find-ignore-file): New functions.
5557 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5559 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5560 (vc-bzr-ignore-completion-table):
5561 (vc-bzr-find-ignore-file): New functions.
5563 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5565 * frameset.el (frameset-prop): New function and setter.
5566 (frameset-save): Do not modify frame list passed by the caller.
5568 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5570 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5572 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5574 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5575 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5577 * custom.el (custom-initialize-default, custom-initialize-set)
5578 (custom-initialize-reset, custom-initialize-changed): Affect the
5579 toplevel-default-value (bug#6275, bug#14586).
5580 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5583 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5585 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5586 Add cl-def* expressions.
5588 * frameset.el (frameset-filter-params): Fix order of arguments.
5590 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5592 Move code related to saving frames to frameset.el.
5593 * desktop.el: Require frameset.
5594 (desktop-restore-frames): Doc fix.
5595 (desktop-restore-reuses-frames): Rename from
5596 desktop-restoring-reuses-frames.
5597 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5598 (desktop-clear): Clear frames too.
5599 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5600 (desktop--filter-tty*, desktop-save, desktop-read):
5601 Use frameset functions.
5602 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5603 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5604 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5605 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5606 (desktop--process-minibuffer-frames, desktop-save-frames)
5607 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5608 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5609 (desktop--sort-states, desktop-restoring-frames-p)
5610 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5611 (desktop-restoring-frameset-p, desktop-restore-frameset)
5612 (desktop--check-dont-save, desktop-save-frameset): New functions.
5613 (desktop--app-id): New constant.
5614 (desktop-first-buffer, desktop-buffer-ok-count)
5615 (desktop-buffer-fail-count): Move before first use.
5616 * frameset.el: New file.
5618 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5620 * files.el: Use lexical-binding.
5621 (dir-locals-read-from-file): Remove unused `err' variable.
5622 (hack-dir-local-variables--warned-coding): New var.
5623 (hack-dir-local-variables): Use it to avoid repeated warnings.
5624 (make-backup-file-name--default-function): New function.
5625 (make-backup-file-name-function): Use it as default.
5626 (buffer-stale--default-function): New function.
5627 (buffer-stale-function): Use it as default.
5628 (revert-buffer-insert-file-contents--default-function): New function.
5629 (revert-buffer-insert-file-contents-function): Use it as default.
5630 (insert-directory): Avoid add-to-list.
5632 * autorevert.el (auto-revert-handler): Simplify.
5633 Use buffer-stale--default-function.
5635 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5637 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5639 * whitespace.el (whitespace-ensure-local-variables): New function.
5640 (whitespace-cleanup-region): Call it.
5641 (whitespace-turn-on): Call it.
5643 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5645 Complete file name handlers.
5647 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5648 (tramp-handle-verify-visited-file-modtime)
5649 (tramp-handle-file-notify-rm-watch): New functions.
5650 (tramp-call-process): Do not bind `default-directory'.
5652 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5653 Order alphabetically.
5654 [access-file, add-name-to-file, dired-call-process]:
5655 [dired-compress-file, file-acl, file-notify-rm-watch]:
5656 [file-ownership-preserved-p, file-selinux-context]:
5657 [make-directory-internal, make-symbolic-link, set-file-acl]:
5658 [set-file-selinux-context, set-visited-file-modtime]:
5659 [verify-visited-file-modtime]: Add handler.
5660 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5662 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5663 [file-notify-add-watch, file-notify-rm-watch]:
5664 [set-file-times, set-visited-file-modtime]:
5665 [verify-visited-file-modtime]: Add handler.
5666 (with-tramp-gvfs-error-message)
5667 (tramp-gvfs-handle-set-visited-file-modtime)
5668 (tramp-gvfs-fuse-file-name): Remove.
5669 (tramp-gvfs-handle-file-notify-add-watch)
5670 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5671 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5673 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5674 Order alphabetically.
5675 [file-notify-rm-watch ]: Use default Tramp handler.
5676 [executable-find]: Remove private handler.
5677 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5678 `default-directory'.
5679 (tramp-sh-handle-executable-find)
5680 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5681 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5682 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5683 Do not use `format' in `tramp-message'.
5685 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5686 [file-notify-rm-watch, set-visited-file-modtime]:
5687 [verify-visited-file-modtime]: Add handler.
5688 (tramp-smb-call-winexe): Do not bind `default-directory'.
5690 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5692 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5694 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5696 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5698 (log-view-diff-changeset): Same.
5699 (log-view-diff-common): Call backend command `previous-revision'
5700 to find out the previous revision, in both cases. Swap the
5701 variables `to' and `fr', so that `fr' usually refers to the
5702 earlier revision (Bug#14989).
5704 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5706 * ibuf-ext.el (ibuffer-filter-by-filename):
5707 Make it work with dired buffers too.
5709 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5711 * emacs-lisp/re-builder.el (reb-color-display-p):
5712 * files.el (save-buffers-kill-terminal):
5713 * net/browse-url.el (browse-url):
5714 * server.el (server-save-buffers-kill-terminal):
5715 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5716 Prefer nil to selected-frame for the first arg of frame-parameter.
5718 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5720 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5722 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5724 * minibuffer.el (completion--twq-all): Try and preserve each
5725 completion's case choice (bug#14907).
5727 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5729 * net/network-stream.el (open-network-stream): Mention the new
5730 :nogreeting parameter.
5731 (network-stream-open-starttls): Use the :nogreeting parameter
5734 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5736 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5737 more natural than popping.
5739 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5740 (shr-urlify): Highlight under mouse.
5742 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5744 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5746 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5748 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5751 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5752 point-min==1. Fix search string. Fix parentheses missing.
5754 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5755 assume point-min==1. Fix search string. Fix parentheses missing.
5757 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5759 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5762 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5764 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5765 initial frame is minibuffer-less. (Bug#14841)
5767 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5769 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5772 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5773 (tramp-maybe-open-connection): Use it.
5775 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5777 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5778 minimal set of parameters passed when creating a frame, because
5779 the minibuffer status of a frame cannot be changed later.
5781 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5783 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5784 replace-regexp-in-string and inadvertent omissions in previous change.
5785 (todo-filter-items): Ensure only file names are comma-separated in
5786 name of filtered items buffer.
5788 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5790 * desktop.el: Optionally force offscreen frames back onscreen.
5791 (desktop-restoring-reuses-frames): New option.
5792 (desktop--compute-pos, desktop--move-onscreen): New functions.
5793 (desktop--make-frame): Use desktop--move-onscreen.
5795 2013-07-27 Alan Mackenzie <acm@muc.de>
5797 Fontify a Java generic method as a function.
5798 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5801 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5803 * calendar/todo-mode.el: Add command to rename todo files.
5804 (todo-rename-file): New command.
5805 (todo-key-bindings-t): Add key binding for it. Change the
5806 bindings of todo-filter-regexp-items(-multifile) to use `x'
5807 instead of `r', since the latter is better suited to the new
5810 2013-07-27 Alan Mackenzie <acm@muc.de>
5812 Make Java try-with-resources statement parse properly.
5813 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5814 (c-block-stmt-1-2-key): New language constants/variables.
5815 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5816 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5817 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5818 with c-block-stmt-1-2-key.
5820 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5822 * desktop.el (desktop--make-frame): Apply most frame parameters after
5823 creating the frame to force (partially or totally) offscreen frames to
5824 be restored as such.
5826 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5828 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5831 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5833 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5834 `base' arg of backtrace-frame.
5836 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5838 * simple.el (list-processes): Doc fix.
5840 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5842 * desktop.el (desktop--select-frame):
5843 Try harder to reuse existing frames.
5845 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5847 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5848 (edebug-eval): Use backtrace-eval.
5849 (edebug--display, edebug--recursive-edit): Don't let-bind the
5850 edebug-outer-* vars that keep track of variables we locally let-bind.
5851 (edebug-outside-excursion): Don't restore outside values of locally
5853 (edebug--display): Use user-error.
5854 (cl-lexical-debug, cl-debug-env): Remove.
5856 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5858 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5859 are restored to be sure that they are visible before deleting any
5862 2013-07-26 Matthias Meulien <orontee@gmail.com>
5864 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5865 vc-print-root-log. (Bug#14948)
5867 2013-07-26 Richard Stallman <rms@gnu.org>
5869 Add aliases for encrypting mail.
5870 * epa.el (epa-mail-aliases): New option.
5871 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5872 Bind inhibit-read-only so read-only text doesn't ruin everything.
5873 (epa-mail-default-recipients): New subroutine broken out.
5874 Handle epa-mail-aliases.
5876 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5878 Add support for lexical variables to the debugger's `e' command.
5879 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5880 vars, except for debugger-outer-match-data.
5881 (debugger-frame-number): Move check for "on a function call" from
5882 callers into it. Add `skip-base' argument.
5883 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5884 (debugger-env-macro): Only reset the state stored in non-variables,
5885 i.e. current-buffer and match-data.
5886 (debugger-eval-expression): Rewrite using backtrace-eval.
5887 * subr.el (internal--called-interactively-p--get-frame): Remove.
5888 (called-interactively-p):
5889 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5890 `base' arg of backtrace-frame instead.
5892 2013-07-26 Glenn Morris <rgm@gnu.org>
5894 * align.el (align-regexp): Doc fix. (Bug#14857)
5895 (align-region): Explicit error if subexpression missing/does not match.
5897 * simple.el (global-visual-line-mode):
5898 Do not duplicate the mode lighter. (Bug#14858)
5900 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5902 * window.el (display-buffer): In display-buffer bind
5903 split-window-keep-point to t, bug#14829.
5905 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5907 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5908 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5909 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5910 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5912 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5913 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5915 2013-07-25 Glenn Morris <rgm@gnu.org>
5917 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5919 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5921 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5922 parameter to modify-frame-parameters if the value has not changed;
5923 this is a workaround for bug#14949.
5924 (desktop--make-frame): On cl-delete-if call, check parameter name,
5927 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5929 * vc/vc.el (vc-ignore): New function.
5931 * vc/vc-svn.el (vc-svn-ignore): New function.
5933 * vc/vc-hg.el (vc-hg-ignore): New function.
5935 * vc/vc-git.el (vc-git-ignore): New function.
5937 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5938 (vc-dir-ignore): New function.
5940 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5941 (cvs-append-to-ignore): Move here from pcvs.el.
5943 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5945 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5947 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5949 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5950 (desktop-restore-frames): Warn when deleting an existing frame failed.
5952 2013-07-24 Glenn Morris <rgm@gnu.org>
5954 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5956 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5958 * filenotify.el (file-notify-supported-p):
5959 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5962 * autorevert.el (auto-revert-use-notify):
5963 (auto-revert-notify-add-watch):
5964 * net/tramp.el (tramp-file-name-for-operation):
5965 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5966 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5967 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5968 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5969 Remove `file-notify-supported-p' entry.
5971 2013-07-24 Glenn Morris <rgm@gnu.org>
5973 * printing.el: Replace all uses of deleted ps-windows-system,
5974 ps-lp-system, ps-flatten-list with lpr- versions.
5976 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5978 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5979 checked with memq (bug#14935).
5981 * files.el (revert-buffer-function): Use a non-nil default.
5982 (revert-buffer-preserve-modes): Declare var to
5983 provide access to the `preserve-modes' argument.
5984 (revert-buffer): Let-bind it.
5985 (revert-buffer--default): New function, extracted from revert-buffer.
5987 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5989 * lpr.el: Signal print errors more prominently.
5990 (print-region-function): Don't default to nil.
5991 (lpr-print-region): New function, extracted from print-region-1.
5992 Check lpr's return value and signal an error in case of problem.
5993 (print-region-1): Use it.
5994 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5996 (ps-printer-name): Default to nil.
5997 (ps-printer-name-option): Default to lpr-printer-switch.
5998 (ps-print-region-function): Don't default to nil.
5999 (ps-postscript-code-directory): Simplify default.
6000 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6001 (ps-string-list, ps-eval-switch, ps-flatten-list)
6002 (ps-flatten-list-1): Remove.
6003 (ps-multibyte-buffer): Avoid setq.
6004 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6005 (print-region-function, ps-print-region-function): Don't set them here.
6007 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6009 * ido.el (ido-fractionp):
6010 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6011 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6012 (ido-max-directory-size, ido-max-dir-file-cache)
6013 (ido-decorations): Doc fix.
6015 * ansi-color.el: Fix old URL.
6017 2013-07-23 Michael R. Mauger <michael@mauger.com>
6019 * progmodes/sql.el: Version 3.3
6020 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6021 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6022 (sql-interactive-remove-continuation-prompt): Rewrite, use
6023 functions above. Fix continuation prompt and complete output line
6025 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6026 redirected output buffer.
6027 (sql-mode): Restore deleted code (Bug#13591).
6029 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6031 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6033 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6035 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6037 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6038 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6039 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6041 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6043 * desktop.el (desktop-clear): Simplify; remove useless checks
6044 against invalid buffer names.
6045 (desktop-list*): Use cl-list*.
6046 (desktop-buffer-info, desktop-create-buffer): Simplify.
6048 2013-07-23 Leo Liu <sdl.web@gmail.com>
6050 * bookmark.el (bookmark-make-record): Restore NAME as a default
6053 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6055 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6056 extracted from autoload--insert-text.
6057 (autoload--insert-text): Remove.
6058 (autoload--print-cookie-text): New function, extracted from
6059 autoload--insert-cookie-text.
6060 (autoload--insert-cookie-text): Remove.
6061 (autoload-generate-file-autoloads): Adjust calls accordingly.
6063 * winner.el (winner-hook-installed-p): Remove.
6064 (winner-mode): Simplify accordingly.
6066 * subr.el (add-to-list): Fix compiler-macro when `append' is
6067 not constant. Don't use `cl-member' for the base case.
6069 * progmodes/subword.el: Fix boundary case (bug#13758).
6070 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6072 (subword-backward-regexp): Make it a constant.
6073 (subword-forward-internal): Don't treat a trailing capital as the
6074 beginning of a word.
6076 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6078 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6079 global value of tabulated-list-revert-hook (bug#14930).
6081 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6083 * desktop.el: Require 'cl-lib.
6084 (desktop-before-saving-frames-functions): New hook.
6085 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6086 for frames being saved. Rename from desktop--save-minibuffer-frames.
6087 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6088 Do not save frames with non-nil `desktop-dont-save' parameter.
6089 Filter out deleted frames.
6090 (desktop--find-frame): Use cl-find-if.
6091 (desktop--select-frame): Use cl-(first|second|third) to access values
6093 (desktop--make-frame): Use cl-delete-if.
6094 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6095 (desktop-restore-frames): Use cl-(first|second|third) to access values
6096 of desktop-mini. Look for visible frame at the end, not while
6099 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6100 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6101 Use string-match-p, looking-at-p (bug#14927).
6103 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6105 * desktop.el (desktop-saved-frame-states):
6106 Rename from desktop--saved-states; all users changed.
6107 (desktop-save-frames): Rename from desktop--save-frames.
6108 Do not save state to desktop file.
6109 (desktop-save): Save desktop-saved-frame-states to desktop file
6111 (desktop-restoring-frames-p): New function.
6112 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6113 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6114 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6116 * desktop.el: Correctly restore iconified frames.
6117 (desktop--filter-iconified-position): New function.
6118 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6120 2013-07-20 Glenn Morris <rgm@gnu.org>
6122 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6123 Let `message' do the formatting.
6124 (def-gdb-preempt-display-buffer): Add explicit format.
6126 * image-dired.el (image-dired-track-original-file):
6127 Use with-current-buffer.
6128 (image-dired-track-thumbnail): Use with-current-buffer.
6129 Avoid changing point of wrong window.
6131 * image-dired.el (image-dired-track-original-file):
6132 Avoid changing point of wrong window. (Bug#14909)
6134 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6136 * progmodes/gdb-mi.el (gdb-done-or-error):
6137 Guard against "%" in gdb output. (Bug#14127)
6139 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6141 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6144 * international/mule.el (coding-system-iso-2022-flags): Fix last
6147 2013-07-20 Kenichi Handa <handa@gnu.org>
6149 * international/mule.el (coding-system-iso-2022-flags):
6150 Add `8-bit-level-4'. (Bug#8522)
6152 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6154 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6157 * net/eww.el (eww-process-text-input): Allow inputting when the
6158 point is at the start of the line, as the properties aren't
6161 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6164 2013-07-19 Richard Stallman <rms@gnu.org>
6166 * epa.el (epa-popup-info-window): Doc fix.
6168 * subr.el (split-string): New arg TRIM.
6170 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6172 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6173 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6175 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6177 * filenotify.el (file-notify--library): Rename from
6178 `file-notify-support'. Do not autoload. Adapt all uses.
6179 (file-notify-supported-p): New defun.
6181 * autorevert.el (auto-revert-use-notify):
6182 Use `file-notify-supported-p' instead of `file-notify-support'.
6184 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6186 * net/tramp.el (tramp-file-name-for-operation):
6187 Add `file-notify-supported-p'.
6189 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6191 (tramp-sh-file-name-handler-alist): Add it as handler for
6192 `file-notify-supported-p '.
6194 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6195 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6196 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6197 Add `ignore' as handler for `file-notify-*' functions.
6199 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6201 * simple.el (line-move-partial, line-move): Don't start vscroll or
6202 scroll-up if the current line is not taller than the window.
6205 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6207 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6208 highlight question marks in the method names as strings.
6209 (ruby-block-beg-keywords): Inline.
6210 (ruby-font-lock-keyword-beg-re): Extract from
6211 `ruby-font-lock-keywords'.
6213 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6215 * frame.el (blink-cursor-blinks): New defcustom.
6216 (blink-cursor-blinks-done): New defvar.
6217 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6218 (blink-cursor-timer-function): Check if number of blinks has been
6220 (blink-cursor-suspend, blink-cursor-check): New defuns.
6222 2013-07-15 Glenn Morris <rgm@gnu.org>
6224 * edmacro.el (edmacro-format-keys): Fix previous change.
6226 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6228 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6229 The hack didn't work outside English locales anyway.
6231 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6233 * simple.el (define-alternatives): Rename from alternatives-define,
6234 per RMS' suggestion.
6236 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6238 * desktop.el (desktop-restore-frames): Change default to t.
6239 (desktop-restore-in-current-display): Now offer more options.
6240 (desktop-restoring-reuses-frames): New customization option.
6241 (desktop--saved-states): Doc fix.
6242 (desktop-filter-parameters-alist): New variable, renamed and expanded
6243 from desktop--excluded-frame-parameters.
6244 (desktop--target-display): New variable.
6245 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6246 (desktop--filter-tty*, desktop--filter-*-color)
6247 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6248 (desktop--filter-save-desktop-parm)
6249 (desktop-restore-in-original-display-p): New functions.
6250 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6251 (desktop--save-minibuffer-frames): New function, inspired by a similar
6252 function from Martin Rudalics.
6253 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6254 (desktop--restore-in-this-display-p): Remove.
6255 (desktop--find-frame): Rename from desktop--find-frame-in-display
6256 and add predicate argument.
6257 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6258 (desktop--reuse-list): New variable.
6259 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6261 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6263 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6265 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6267 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6269 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6270 Highlight conversion methods on Kernel.
6272 2013-07-13 Alan Mackenzie <acm@muc.de>
6274 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6275 and comment it out. This out-commenting enables certain C++
6276 declarations to be parsed correctly.
6278 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6280 * international/mule.el (define-coding-system): Doc fix.
6282 * simple.el (default-font-height): Don't call font-info if the
6283 frame's default font didn't change since the frame was created.
6286 2013-07-13 Leo Liu <sdl.web@gmail.com>
6288 * ido.el (ido-read-file-name): Guard against non-symbol value.
6290 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6292 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6295 2013-07-13 Leo Liu <sdl.web@gmail.com>
6297 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6298 ido-set-matches call. (Bug#6852)
6300 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6302 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6303 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6305 (ruby-font-lock-keywords): Distinguish calls to functions with
6306 module-like names from module references. Highlight character
6309 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6311 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6312 (gdb-send): Handle continued commands. (Bug#14847)
6314 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6316 * desktop.el (desktop--v2s): Remove unused local variable.
6317 (desktop-save-buffer): Make defvar-local; adjust docstring.
6318 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6319 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6321 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6323 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6325 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6327 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6330 2013-07-12 Glenn Morris <rgm@gnu.org>
6332 * doc-view.el: Require cl-lib at runtime too.
6333 (doc-view-remove-if): Remove.
6334 (doc-view-search-next-match, doc-view-search-previous-match):
6337 * edmacro.el: Require cl-lib at runtime too.
6338 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6339 (edmacro-mismatch, edmacro-subseq): Remove.
6341 * shadowfile.el: Require cl-lib.
6342 (shadow-remove-if): Remove.
6343 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6346 * wid-edit.el: Require cl-lib.
6347 (widget-choose): Use cl-remove-if.
6348 (widget-remove-if): Remove.
6350 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6351 (ebrowse-delete-if-not): Remove.
6352 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6353 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6354 Use cl-delete-if-not.
6356 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6358 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6359 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6361 2013-07-12 Leo Liu <sdl.web@gmail.com>
6363 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6365 2013-07-11 Glenn Morris <rgm@gnu.org>
6367 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6368 (edebug-gensym-index, edebug-gensym):
6369 Remove reimplementation of cl-gensym.
6370 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6372 * thumbs.el: Require cl-lib at run-time too.
6373 (thumbs-gensym-counter, thumbs-gensym):
6374 Remove reimplementation of cl-gensym.
6375 (thumbs-temp-file): Use cl-gensym.
6377 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6378 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6379 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6380 (ert--union, ert--gensym-counter, ert--gensym-counter)
6381 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6382 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6383 (ert-make-test-unbound, ert--expand-should-1)
6384 (ert--expand-should, ert--should-error-handle-error)
6385 (should-error, ert--explain-equal-rec)
6386 (ert--plist-difference-explanation, ert-select-tests)
6387 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6388 Use cl-lib functions rather than reimplementations.
6390 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6392 * net/tramp.el (tramp-methods): Extend docstring.
6393 (tramp-connection-timeout): New defcustom.
6394 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6395 (with-tramp-progress-reporter): Simplify.
6396 (tramp-process-actions): Improve messages.
6398 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6399 * net/tramp-sh.el (tramp-maybe-open-connection):
6400 Use `tramp-connection-timeout'.
6401 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6404 2013-07-11 Leo Liu <sdl.web@gmail.com>
6406 * ido.el (ido-read-file-name): Conform to the requirements of
6407 read-file-name. (Bug#11861)
6408 (ido-read-directory-name): Conform to the requirements of
6409 read-directory-name.
6411 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6413 * subr.el (delay-warning): New function.
6415 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6417 * simple.el (default-line-height): New function.
6418 (line-move-partial, line-move): Use it instead of computing the
6420 (line-move-partial): Always compute ROWH. If the last line is
6421 partially-visible, but its text is completely visible, allow
6422 cursor to enter such a partially-visible line.
6424 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6426 Improve error messages. (Bug#14808)
6428 * net/tramp.el (tramp-current-connection): New defvar, moved from
6430 (tramp-message-show-progress-reporter-message): Remove, not
6432 (tramp-error-with-buffer): Show message in minibuffer.
6433 Discard input before waiting. Reset connection timestamp.
6434 (with-tramp-progress-reporter): Improve messages.
6435 (tramp-process-actions): Use progress reporter. Delete process in
6436 case of error. Improve messages.
6438 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6439 Call `tramp-error-with-buffer' with vector and buffer.
6440 (tramp-current-connection): Remove.
6441 (tramp-maybe-open-connection): The car of
6442 `tramp-current-connection' are the first 3 slots of the vector.
6444 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6446 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6447 inside continued strings.
6449 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6451 Timestamp fixes for undo (Bug#14824).
6452 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6454 2013-07-10 Leo Liu <sdl.web@gmail.com>
6456 * files.el (require-final-newline): Allow safe local value.
6459 2013-07-09 Leo Liu <sdl.web@gmail.com>
6461 * ido.el (ido-read-directory-name): Handle fallback.
6462 (ido-read-file-name): Update DIR to ido-current-directory.
6464 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6466 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6468 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6469 "autoload". Remove "warn lower camel case" section, previously
6470 commented out. Highlight negation char. Do not highlight the
6471 target in singleton method definitions.
6473 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6475 * faces.el (tty-setup-hook): Declare the hook.
6477 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6478 and detect when a guard/pred depends on local vars (bug#14773).
6479 (pcase--u1): Adjust caller.
6481 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6483 * simple.el (line-move-partial, line-move): Account for
6485 (line-move-partial): Avoid setting vscroll when the last
6486 partially-visible line in window is of default height.
6488 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6490 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6493 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6495 * subr.el (read-quoted-char): Remove unused local variable `char'.
6497 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6499 * ediff.el (ediff-version): Version update.
6500 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6501 (ediff-merge-with-ancestor-command, ediff-directories-command)
6502 (ediff-directories3-command, ediff-merge-directories-command)
6503 (ediff-merge-directories-with-ancestor-command): New functions.
6504 All are command-line interfaces to ediff: to facilitate calling
6505 Emacs with the appropriate ediff functions invoked.
6507 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6508 (viper-save-kill-buffer): Check if buffer is modified.
6510 * viper.el (viper-version): Version update.
6511 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6513 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6515 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6516 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6517 (viper-intercept-ESC-key): Simplify.
6518 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6519 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6520 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6521 (viper-setup-ESC-to-escape): New functions.
6522 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6523 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6525 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6527 * simple.el (default-font-height, window-screen-lines):
6529 (line-move, line-move-partial): Use them instead of
6530 frame-char-height and window-text-height. This makes scrolling
6531 text smoother when the buffer's default face uses a font that is
6532 different from the frame's default font.
6534 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6536 * files.el (write-file): Do not display confirm dialog for NS,
6537 it does its own dialog, which can't be cancelled (Bug#14578).
6539 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6541 * simple.el (line-move-partial): Adjust the row returned by
6542 posn-at-point for the current window-vscroll. (Bug#14567)
6544 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6546 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6547 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6550 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6552 * window.el (window-state-put-stale-windows): New variable.
6553 (window--state-put-2): Save list of windows without matching buffer.
6554 (window-state-put): Remove "bufferless" windows if possible.
6556 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6558 * simple.el (alternatives-define): Remove leftover :group keyword.
6561 2013-07-06 Leo Liu <sdl.web@gmail.com>
6563 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6564 (ido-enable-virtual-buffers): New variable.
6565 (ido-buffer-internal, ido-toggle-virtual-buffers)
6566 (ido-make-buffer-list): Use it.
6567 (ido-exhibit): Support turning on and off virtual buffers
6570 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6572 * simple.el (alternatives-define): New macro.
6574 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6576 * subr.el (read-quoted-char): Use read-key.
6577 (sit-for): Let read-event decode tty input (bug#14782).
6579 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6581 * calendar/todo-mode.el: Add handling of file deletion, both by
6582 mode command and externally. Fix various related bugs.
6583 Clarify Commentary and improve some documentation strings and code.
6584 (todo-delete-file): New command.
6585 (todo-check-file): New function.
6586 (todo-show): Handle external deletion of the file we're trying to
6587 show (bug#14688). Replace called-interactively-p by an optional
6588 prefix argument to avoid problematic interaction with catch form
6589 when byte compiled (bug#14702).
6590 (todo-quit): Handle external deletion of the archive's todo file.
6591 Make sure the buffer that was visiting the archive file is still
6592 live before trying to bury it.
6593 (todo-category-completions): Handle external deletion of any
6594 category completion files.
6595 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6596 of todo files, in case of external deletion.
6597 (todo-add-file): Replace unnecessary setq by let-binding.
6598 (todo-find-archive): Check whether there are any archives.
6599 Replace unnecessary setq by let-binding.
6600 (todo-archive-done-item): Use find-file-noselect to get the
6601 archive buffer whether or not the archive already exists.
6602 Remove superfluous code. Use file size instead of buffer-file-name to
6603 check if the archive is new; if it is, update list of archives.
6604 (todo-default-todo-file): Allow nil to be a valid value for when
6605 there are no todo files.
6606 (todo-reevaluate-default-file-defcustom): Use corrected definition
6607 of todo-default-todo-file.
6608 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6609 (todo-delete-category, todo-show-categories-table)
6610 (todo-category-number): Clarify comment.
6611 (todo-filter-items): Clarify documentation string.
6612 (todo-show-current-file, todo-display-as-todo-file)
6613 (todo-reset-and-enable-done-separator): Tweak documentation string.
6614 (todo-done-separator): Make separator length window-width, since
6615 bug#2749 is now fixed.
6617 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6619 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6620 Support both "gvfs-monitor-dir" and "inotifywait".
6621 (tramp-sh-file-inotifywait-process-filter): Rename from
6622 `tramp-sh-file-notify-process-filter'.
6623 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6624 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6626 2013-07-05 Leo Liu <sdl.web@gmail.com>
6628 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6630 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6632 * frame.el (display-pixel-height, display-pixel-width)
6633 (display-mm-height, display-mm-width): Mention behavior on
6634 multi-monitor setups in docstrings.
6635 (w32-display-monitor-attributes-list): Declare function.
6636 (display-monitor-attributes-list): Use it.
6638 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6640 * filenotify.el: New package.
6642 * autorevert.el (top): Require filenotify.el.
6643 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6645 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6646 (auto-revert-notify-handler): Use `file-notify-*' functions.
6648 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6650 * net/tramp.el (tramp-file-name-for-operation):
6651 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6653 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6654 for `file-notify-add-watch' and `file-notify-rm-watch'.
6655 (tramp-process-sentinel): Improve trace.
6656 (tramp-sh-handle-file-notify-add-watch)
6657 (tramp-sh-file-notify-process-filter)
6658 (tramp-sh-handle-file-notify-rm-watch)
6659 (tramp-get-remote-inotifywait): New defuns.
6661 2013-07-03 Juri Linkov <juri@jurta.org>
6663 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6664 call of `occur-read-primary-args' to interactive spec.
6666 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6667 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6669 2013-07-03 Matthias Meulien <orontee@gmail.com>
6671 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6672 `Buffer-menu-multi-occur'. Add it to the menu.
6673 (Buffer-menu-mode): Document it in docstring.
6674 (Buffer-menu-multi-occur): New command. (Bug#14673)
6676 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6678 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6679 keywords and built-ins.
6681 2013-07-03 Glenn Morris <rgm@gnu.org>
6683 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6685 Make info-xref checks case-sensitive by default
6686 * info.el (Info-find-node, Info-find-in-tag-table)
6687 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6688 Add option for exact case matching of nodes.
6689 * info-xref.el (info-xref): New custom group.
6690 (info-xref-case-fold): New option.
6691 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6693 2013-07-03 Leo Liu <sdl.web@gmail.com>
6695 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6697 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6699 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6700 middle of block statement initially, lower the depth. Remove
6701 FIXME comment, not longer valid. Remove middle of block statement
6702 detection, no need to do that anymore since we've been using
6703 `ruby-parse-region' here.
6705 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6707 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6709 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6711 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6713 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6715 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6716 (desktop-restore-in-current-display): New customization option.
6717 (desktop--excluded-frame-parameters): Add `font'.
6718 (desktop--save-frames): Rename from desktop--save-windows.
6719 (desktop--restore-in-this-display-p): New function.
6720 (desktop--make-full-frame): Remove unwanted width/height from
6721 full(width|height) frames.
6722 (desktop--restore-frames): Rename from desktop--restore-windows.
6723 Obey desktop-restore-current-display. Do not delete old frames or
6724 select a new frame unless we were able to restore at least one frame.
6726 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6728 * files.el (find-file-noselect): Simplify conditional expression.
6730 * remember.el (remember-append-to-file):
6731 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6733 Add `remember-notes' function to store random notes across Emacs
6735 * remember.el (remember-data-file): Add :set callback to affect
6736 notes buffer (if any).
6737 (remember-notes): New command.
6738 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6739 New defcustoms for the `remember-notes' function.
6740 (remember-notes-save-and-bury-buffer): New command.
6741 (remember-notes-mode-map): New variable.
6742 (remember-mode): New minor mode.
6743 (remember-notes--kill-buffer-query): New function.
6744 * startup.el (initial-buffer-choice): Add notes to custom type.
6746 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6748 * bindings.el (right-char, left-char): Don't call sit-for, this is
6749 no longer needed. Use arithmetic comparison only for numerical
6752 * international/mule-cmds.el (select-safe-coding-system):
6753 Handle the case of FROM being a string correctly. (Bug#14755)
6755 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6757 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6758 progression on degenerate tables.
6759 (shr-rescale-image): ImageMagick animated images currently don't work.
6761 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6763 Some fixes and improvements for desktop frame restoration.
6764 It is still experimental and disabled by default.
6765 * desktop.el (desktop--save-windows): Put the selected frame at
6766 the head of the list.
6767 (desktop--make-full-frame): New function.
6768 (desktop--restore-windows): Try to re-select the frame that was
6769 selected upon saving. Do not abort if some frames fail to restore,
6770 just show an error message and continue. Set up maximized frames
6771 so they have default non-maximized dimensions.
6773 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6775 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6776 Don't start heredoc inside a string or comment.
6778 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6780 * bindings.el (visual-order-cursor-movement): New defcustom.
6781 (right-char, left-char): Provide visual-order cursor motion by
6782 calling move-point-visually. Update the doc strings.
6784 2013-06-28 Kenichi Handa <handa@gnu.org>
6786 * international/mule.el (define-coding-system): New coding system
6787 properties :inhibit-null-byte-detection,
6788 :inhibit-iso-escape-detection, and :prefer-utf-8.
6789 (set-buffer-file-coding-system): If :charset-list property of
6790 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6791 appropriate for setting.
6793 * international/mule-cmds.el (select-safe-coding-system):
6794 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6795 multibyte characters, return utf-8 (or one of its siblings).
6797 * international/mule-conf.el (prefer-utf-8): New coding system.
6798 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6801 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6803 * net/shr.el (shr-render-region): New function.
6805 * net/eww.el: Autoload `eww-browse-url'.
6807 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6809 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6810 Adapt to `package-desc-version' being a list.
6811 Use `package--ac-desc-version' to retrieve version from a package
6814 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6816 New experimental feature to save&restore window and frame setup.
6817 * desktop.el (desktop-save-windows): New defcustom.
6818 (desktop--saved-states): New var.
6819 (desktop--excluded-frame-parameters): New defconst.
6820 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6821 (desktop--restore-windows, desktop--save-windows): New functions.
6822 (desktop-save): Call `desktop--save-windows'.
6823 (desktop-read): Call `desktop--restore-windows'.
6825 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6827 * net/shr.el (add-face-text-property): Remove compat definition.
6829 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6831 * info.el (Info-try-follow-nearest-node): Move search for footnote
6832 above search for node name to prevent missing a footnote (bug#14717).
6834 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6836 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6838 2013-06-27 Leo Liu <sdl.web@gmail.com>
6840 * net/eww.el (eww-read-bookmarks): Check file size.
6842 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6844 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6845 advice--pending if newdef is nil or an autoload (bug#13820).
6846 (advice-mapc): New function.
6848 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6850 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6852 (eww-mode-map): Add a menu bar.
6853 (eww-add-bookmark): New command.
6854 (eww-bookmark-mode): New mode and commands.
6855 (eww-add-bookmark): Remove newlines from the title.
6856 (eww-bookmark-browse): Don't bug out if it's the only window.
6858 2013-06-26 Glenn Morris <rgm@gnu.org>
6860 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6861 (hfy-size): Handle ttys. (Bug#14668)
6863 * info-xref.el: Update for Texinfo 5 change in *note format.
6864 (info-xref-node-re, info-xref-note-re): New constants.
6865 (info-xref-check-buffer): Use info-xref-note-re.
6867 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6869 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6871 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6872 nil terminate the loop (bug#14718).
6874 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6876 * net/eww.el: Rework history traversal. When going forward/back,
6877 put these actions into the history, too, so that they can be
6879 (eww-render): Move the history reset to the correct buffer.
6881 2013-06-25 Juri Linkov <juri@jurta.org>
6883 * files-x.el (modify-dir-local-variable): Change the header comment
6884 in the file with directory local variables. (Bug#14692)
6886 * files-x.el (read-file-local-variable-value): Add `default'.
6889 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6891 * net/eww.el (eww-make-unique-file-name): Create a unique file
6892 name before saving to entering `y' accidentally asynchronously.
6894 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6896 * net/eww.el (eww-download): New command and keystroke.
6898 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6900 * net/eww.el (eww-copy-page-url): Change name of command.
6902 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6903 be more consistent with Info and dired.
6905 * net/eww.el (eww-mode-map): Ditto.
6907 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6909 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6910 packages from archives.
6911 (package-archive-contents): Change format; include obsolete packages.
6912 (package-desc): Use `dir' to mark builtin packages.
6913 (package--from-builtin): Set the `dir' field to `builtin'.
6914 (generated-autoload-file, version-control): Declare.
6915 (package-compute-transaction): Change first arg and return value to be
6916 lists of package-descs. Adjust to new package-archive-contents format.
6917 (package--add-to-archive-contents): Adjust to new
6918 package-archive-contents format.
6919 (package-download-transaction): Arg is now a list of package-descs.
6920 (package-install): If `pkg' is a package name, pass it as
6921 a requirement, so it is subject to the usual (e.g. disabled) checks.
6922 (describe-package): Accept package-desc as well.
6923 (describe-package-1): Describe a specific package-desc. Add links to
6924 other package-descs for the same package name.
6925 (package-menu-describe-package): Pass the actual package-desc.
6926 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6928 (package-desc-status): New function.
6929 (package-menu--refresh): New function, extracted
6930 from package-menu--generate.
6931 (package-menu--generate): Use it.
6932 (package-delete): Update package-alist.
6933 (package-menu-execute): Don't call package-initialize.
6935 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6936 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6937 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6938 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6939 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6940 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6942 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6944 * window.el (window--state-get-1): Workaround for bug#14527.
6945 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6947 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6949 * net/eww.el (eww-back-url): Implement the history by stashing all
6950 the data into a list.
6951 (eww-forward-url): Allow going forward in the history, too.
6953 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6955 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6956 for values and use read--expression for expressions (bug#14710).
6957 (read-file-local-variable): Avoid setq.
6958 (read-file-local-variable-mode): Use minor-mode-list.
6960 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6962 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6965 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6967 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6968 Update imenu-support when dialect changes.
6970 2013-06-25 Leo Liu <sdl.web@gmail.com>
6972 * ido.el (ido-read-internal): Allow forward slash on windows.
6974 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6976 * net/eww.el (eww): Start of strings is \\`, not ^.
6978 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6980 * net/shr.el (shr-browse-url): Fix interactive spec.
6982 * net/eww.el (eww): Add a trailing slash to domain names.
6984 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6986 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6988 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6990 * net/shr.el (shr-browse-url): Use an external browser if given a
6993 * net/eww.el (eww-external-browser): Move to shr.
6995 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6997 * net/eww.el (eww): Work more correctly for file: URLs.
6998 (eww-detect-charset): Allow quoted charsets.
6999 (eww-yank-page-url): New command and keystroke.
7001 2013-06-24 Daiki Ueno <ueno@gnu.org>
7003 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7004 file name of gpg executable.
7005 (epg-context-program): New function.
7006 (epg-context-home-directory): New function.
7007 (epg-context-set-program): New function.
7008 (epg-context-set-home-directory): New function.
7009 (epg--start): Use `epg-context-program' instead of
7011 (epg--list-keys-1): Likewise.
7013 2013-06-24 Leo Liu <sdl.web@gmail.com>
7015 * ido.el (ido-read-internal): Fix bug#14620.
7017 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7019 * faces.el (face-documentation): Simplify.
7020 (read-face-attribute, tty-find-type, x-resolve-font-name):
7021 Use `string-match-p'.
7022 (list-faces-display): Use `string-match-p'. Simplify.
7023 (face-spec-recalc): Check face to avoid face alias loops.
7024 (read-color): Use `string-match-p' and non-capturing parenthesis.
7026 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7028 * net/shr.el (shr-rescale-image): Use the new
7029 :max-width/:max-height functionality.
7031 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7033 * net/eww.el (eww-search-prefix): New variable.
7035 (eww-external-browser): New variable.
7036 (eww-mode-map): New keystroke.
7037 (eww-browse-with-external-browser): New command.
7039 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7041 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7043 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7044 Don't skip aligning the next header field when padding is 0;
7045 otherwise, field width is not respected unless the title is as
7048 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7050 * emacs-lisp/package.el (package-el-version): Remove.
7051 (package-process-define-package): Fix inf-loop.
7052 (package-install): Allow symbols as arguments again.
7054 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7056 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7057 add some more keyword-like methods.
7058 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7060 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7062 * bs.el (bs-buffer-show-mark): Make defvar-local.
7063 (bs-mode): Use setq-local.
7065 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7066 (emacs-lock--try-unlocking): Make defvar-local.
7068 2013-06-22 Glenn Morris <rgm@gnu.org>
7070 * play/cookie1.el (cookie-apropos): Minor simplification.
7072 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7074 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7076 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7077 `regexp-opt', it breaks the build during dumping.
7079 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7081 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7082 Highlight keyword-like methods on Kernel and Module with
7083 font-lock-builtin-face.
7084 (auto-mode-alist): Consolidate different entries into one regexp
7085 and add more *file-s.
7087 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7089 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7091 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7092 (diary-entry): Use it in the action of this button type instead of
7095 * calendar/todo-mode.el: New version.
7096 (todo-add-category): Append new category to end of file and give
7097 it the highest number, instead of putting it at the beginning and
7098 giving it 0. Incorporate noninteractive functionality.
7099 (todo-forward-category): Adapt to 1-based category numbering.
7100 Allow skipping over archived categories.
7101 (todo-backward-category): Derive from todo-forward-category.
7102 (todo-backward-item, todo-forward-item): Make noninteractive and
7103 delegate interactive part to new commands. Make sensitive to done items.
7104 (todo-categories): Make value an alist of category names and
7105 vectors of item counts.
7106 (todo-category-beg): Make a defconst.
7107 (todo-category-number): Use 1 instead of 0 as initial value.
7108 (todo-category-select): Make sensitive to overlays, optional item
7109 highlighting and done items.
7110 (todo-delete-item): Make sensitive to overlays and marked and done items.
7111 (todo-edit-item): Make sensitive to overlays and editing of
7112 date/time header optional. Add format checks.
7113 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7114 no-op if point is not on an item. Advertise using todo-edit-quit.
7115 (todo-edit-mode): Make sensitive to new format, font-locking, and
7116 multiple todo files.
7117 (todo-insert-item, todo-insert-item-here): Derive from
7118 todo-basic-insert-item and extend functionality.
7119 (todo-item-end, todo-item-start): Make sensitive to done items.
7120 (todo-item-string): Don't return text properties. Restore point.
7121 (todo-jump-to-category): Make sensitive to multiple todo files and
7122 todo archives. Use extended category completion.
7123 (todo-lower-item, todo-raise-item): Rename to *-priority and
7124 derive from todo-set-item-priority.
7125 (todo-mode): Derive from special-mode. Make sensitive to new
7126 format, font-locking and multiple todo files. Make read-only.
7127 (todo-mode-map): Don't suppress digit keys, so they can supply
7128 prefix arguments. Add many new key bindings.
7129 (todo-prefix): Insert as an overlay instead of file text.
7130 Change semantics from diary date expression to purely visual mark.
7131 (todo-print): Rename to todo-print-buffer. Make buffer display
7132 features printable. Remove option to restrict number of items
7133 printed. Add option to print to file.
7134 (todo-print-function): Rename to todo-print-buffer-function.
7135 (todo-quit): Extend to handle exiting new todo modes.
7136 (todo-remove-item): Make sensitive to overlays.
7137 (todo-save): Extend to buffers of filtered items.
7138 (todo-show): Make sensitive to done items, multiple todo files and
7139 new todo modes. Offer to convert legacy todo file before creating
7140 first new todo file.
7141 (todo-show-priorities): Rename to todo-top-priorities.
7142 Change semantics of value 0.
7143 (todo-top-priorities): Rename to todo-filter-top-priorities,
7144 derive from todo-filter-items and extend functionality.
7145 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7146 and extend functionality to other types of filtered items.
7147 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7148 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7149 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7150 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7151 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7152 (todo-edit-mode-hook, todo-entry-prefix-function)
7153 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7154 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7155 (todo-initials, todo-insert-threshold, todo-item-string-start)
7156 (todo-line-string, todo-menu, todo-mode-hook)
7157 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7158 (todo-print-priorities, todo-remove-separator)
7159 (todo-save-top-priorities-too, todo-string-count-lines)
7160 (todo-string-multiline-p, todo-time-string-format)
7161 (todo-tmp-buffer-name): Remove.
7162 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7163 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7164 (todo-edit-category-diary-inclusion)
7165 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7166 (todo-edit-file, todo-edit-item-date-day)
7167 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7168 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7169 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7170 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7171 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7172 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7173 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7174 (todo-filter-top-priorities-multifile, todo-find-archive)
7175 (todo-find-filtered-items-file, todo-go-to-source-item)
7176 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7177 (todo-jump-to-archive-category, todo-lower-category)
7178 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7179 (todo-move-category, todo-move-item, todo-next-button)
7180 (todo-next-item, todo-padded-string, todo-powerset)
7181 (todo-previous-button, todo-previous-item)
7182 (todo-print-buffer-to-file, todo-raise-category)
7183 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7184 (todo-set-category-number, todo-set-item-priority)
7185 (todo-set-top-priorities-in-category)
7186 (todo-set-top-priorities-in-file, todo-show-categories-table)
7187 (todo-sort-categories-alphabetically-or-numerically)
7188 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7189 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7190 (todo-toggle-item-header, todo-toggle-item-highlighting)
7191 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7192 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7193 (todo-unarchive-items, todo-unmark-category): New commands.
7194 (todo-absolute-file-name, todo-add-to-buffer-list)
7195 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7196 (todo-basic-insert-item, todo-category-completions)
7197 (todo-category-number, todo-category-string-matcher-1)
7198 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7199 (todo-check-format, todo-clear-matches)
7200 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7201 (todo-current-category, todo-date-string-matcher)
7202 (todo-define-insertion-command, todo-diary-expired-matcher)
7203 (todo-diary-goto-entry, todo-diary-item-p)
7204 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7205 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7206 (todo-done-item-section-p, todo-done-separator)
7207 (todo-done-string-matcher, todo-files, todo-filter-items)
7208 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7209 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7210 (todo-insert-category-line, todo-insert-item-from-calendar)
7211 (todo-insert-sort-button, todo-insert-with-overlays)
7212 (todo-insertion-command-name, todo-insertion-key-bindings)
7213 (todo-label-to-key, todo-longest-category-name-length)
7214 (todo-make-categories-list, todo-mode-external-set)
7215 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7216 (todo-modes-set-3, todo-multiple-filter-files)
7217 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7218 (todo-read-category, todo-read-date, todo-read-dayname)
7219 (todo-read-file-name, todo-read-time)
7220 (todo-reevaluate-category-completions-files-defcustom)
7221 (todo-reevaluate-default-file-defcustom)
7222 (todo-reevaluate-filelist-defcustoms)
7223 (todo-reevaluate-filter-files-defcustom)
7224 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7225 (todo-reset-done-separator, todo-reset-done-separator-string)
7226 (todo-reset-done-string, todo-reset-global-current-todo-file)
7227 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7228 (todo-reset-prefix, todo-set-categories)
7229 (todo-set-date-from-calendar, todo-set-show-current-file)
7230 (todo-set-top-priorities, todo-short-file-name)
7231 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7232 (todo-total-item-counts, todo-update-buffer-list)
7233 (todo-update-categories-display, todo-update-categories-sexp)
7234 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7236 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7238 (todo-categories, todo-display, todo-edit, todo-faces)
7239 (todo-filtered): New defgroups.
7240 (todo-archived-only, todo-button, todo-category-string, todo-date)
7241 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7242 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7243 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7244 (todo-add-item-if-new-category, todo-always-add-time-string)
7245 (todo-categories-align, todo-categories-archived-label)
7246 (todo-categories-category-label, todo-categories-diary-label)
7247 (todo-categories-done-label, todo-categories-number-separator)
7248 (todo-categories-todo-label, todo-categories-totals-label)
7249 (todo-category-completions-files, todo-completion-ignore-case)
7250 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7251 (todo-done-separator-string, todo-done-string)
7252 (todo-files-function, todo-filter-done-items, todo-filter-files)
7253 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7254 (todo-initial-category, todo-initial-file, todo-item-mark)
7255 (todo-legacy-date-time-regexp, todo-mode-line-function)
7256 (todo-nondiary-marker, todo-number-prefix)
7257 (todo-print-buffer-function, todo-show-current-file)
7258 (todo-show-done-only, todo-show-first, todo-show-with-done)
7259 (todo-skip-archived-categories, todo-top-priorities-overrides)
7260 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7261 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7263 (todo-category-done, todo-date-pattern, todo-date-string-start)
7264 (todo-diary-items-buffer, todo-done-string-start)
7265 (todo-filtered-items-buffer, todo-item-start)
7266 (todo-month-abbrev-array, todo-month-name-array)
7267 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7268 (todo-top-priorities-buffer): New defconsts.
7269 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7270 (todo-categories-with-marks, todo-category-string-face)
7271 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7272 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7273 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7274 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7275 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7276 (todo-font-lock-keywords, todo-global-current-todo-file)
7277 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7278 (todo-insertion-commands-args)
7279 (todo-insertion-commands-args-genlist)
7280 (todo-insertion-commands-names, todo-insertion-map)
7281 (todo-key-bindings-t, todo-key-bindings-t+a)
7282 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7283 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7284 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7285 (todo-visited): New variables.
7287 2013-06-21 Glenn Morris <rgm@gnu.org>
7289 * play/cookie1.el (cookie-apropos): Add optional display argument.
7290 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7291 (psychoanalyze-pinhead): Use cookie-doctor.
7293 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7295 * emacs-lisp/package.el (tar-get-file-descriptor)
7296 (tar--extract): Declare.
7298 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7300 Extend flymake's warning predicate to be a function (bug#14217).
7301 * progmodes/flymake.el (flymake-warning-predicate): New.
7302 (flymake-parse-line): Use it.
7303 (flymake-warning-re): Make obsolete alias to
7304 `flymake-warning-predicate'.
7306 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7308 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7309 (package-obsolete-list): Remove.
7310 (package-activate): Remove min-version argument. Add `force' argument.
7311 Adjust to new package-alist format.
7312 (package-mark-obsolete): Remove.
7313 (package-unpack): Force reload of the package's autoloads.
7314 (package-installed-p): Check builtins if the installed package is not
7316 (package-initialize): Don't reset package-obsolete-list.
7317 Don't specify which package version to activate.
7318 (package-process-define-package, describe-package-1)
7319 (package-menu--generate): Adjust to new package-alist format.
7321 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7323 * allout-widgets.el (allout-widgets-mode-off)
7324 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7325 (allout-widgets-post-command-business)
7326 (allout-widgets-after-copy-or-kill-function)
7327 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7328 (allout-decorate-item-and-context)
7329 (allout-graphics-modification-handler): Fix typos in docstrings.
7330 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7332 * cmuscheme.el (scheme-start-file): Doc fix.
7333 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7334 (scheme-input-filter): Use `string-match-p'.
7336 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7338 * dired-x.el: Use Dired consistently in docstrings.
7340 * dired.el: Use Dired consistently in docstrings.
7341 (dired-readin, dired-mode): Use `setq-local'.
7342 (dired-switches-alist): Make defvar-local.
7343 (dired-buffers-for-dir): Use `zerop'.
7344 (dired-safe-switches-p, dired-switches-escape-p)
7345 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7346 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7347 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7348 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7349 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7350 (dired-toggle-marks, dired-mark-files-containing-regexp)
7351 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7352 (dired-flag-auto-save-files, dired-flag-backup-files):
7354 (dired-mark-files-regexp, dired-build-subdir-alist):
7355 Use `string-match-p', `looking-at-p'.
7357 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7358 (direct-print-region-helper): Use `string-match-p'.
7360 2013-06-21 Leo Liu <sdl.web@gmail.com>
7362 * comint.el (comint-redirect-results-list-from-process):
7365 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7367 * net/eww.el (eww-update-header-line-format): Quote % characters.
7369 2013-06-21 Glenn Morris <rgm@gnu.org>
7371 * play/cookie1.el (cookie): New custom group.
7372 (cookie-file): New option.
7373 (cookie-check-file): New function.
7374 (cookie): Make it interactive. Make start and end messages optional.
7375 Interactively, display the result. Default to cookie-file.
7376 (cookie-insert): Default to cookie-file.
7377 (cookie-snarf): Make start and end messages optional.
7378 Default to cookie-file. Use with-temp-buffer.
7379 (cookie-read): Rename from read-cookie.
7380 Make start and end messages optional. Default to cookie-file.
7381 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7383 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7384 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7386 2013-06-21 Leo Liu <sdl.web@gmail.com>
7388 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7390 2013-06-21 Glenn Morris <rgm@gnu.org>
7392 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7394 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7395 Daniel Hackney <dan@haxney.org>
7397 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7398 Consolidate the single-file vs tarball code.
7399 (package-desc-suffix): New function.
7400 (package-desc-full-name): Don't bother inlining it.
7401 (package-load-descriptor): Return the new package-desc.
7402 (package-mark-obsolete): Remove unused arg `package'.
7403 (package-unpack): Make it work for single files as well.
7404 Make it update package-alist.
7405 (package--make-autoloads-and-stuff): Rename from
7406 package--make-autoloads-and-compile. Don't compile any more.
7407 (package--compile): New function.
7408 (package-generate-description-file): New function, extracted from
7409 package-unpack-single.
7410 (package-unpack-single): Remove.
7411 (package--with-work-buffer): Add indentation and debugging info.
7412 (package-download-single): Remove.
7413 (package-install-from-archive): Rename from package-download-tar, make
7414 it take a pkg-desc, and make it work for single files as well.
7415 (package-download-transaction): Simplify.
7416 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7417 external tar program.
7418 (package-install-from-buffer): Remove `pkg-desc' argument.
7419 Use package-tar-file-info for tar-mode buffers.
7420 (package-install-file): Simplify accordingly.
7421 (package-archive-base): Change to take a pkg-desc.
7422 * tar-mode.el (tar--check-descriptor): New function, extracted from
7424 (tar-get-descriptor): Use it.
7425 (tar-get-file-descriptor): New function.
7426 (tar--extract): New function, extracted from tar-extract.
7427 (tar--extract): Use it.
7428 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7429 case the summary uses non-ascii. Adjust to new calling convention of
7430 package-tar-file-info.
7432 2013-06-21 Leo Liu <sdl.web@gmail.com>
7434 * comint.el (comint-redirect-results-list-from-process):
7435 Fix random delay. (Bug#14681)
7437 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7439 * profiler.el (profiler-format-number): Use log, not log10.
7441 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7443 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7445 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7447 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7448 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7450 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7451 (AUTOGENEL): ... here.
7452 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7453 (cl--defsubst-expand): Use it.
7455 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7457 * subr.el (log10): Move here from C code, and declare as obsolete.
7458 All uses of (log10 X) replaced with (log X 10).
7460 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7462 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7463 Declare with `defvar-local'.
7464 (tabulated-list-use-header-line, tabulated-list-entries)
7465 (tabulated-list-padding, tabulated-list-printer)
7466 (tabulated-list-sort-key): Declare with `defvar-local'.
7467 (tabulated-list-init-header, tabulated-list-print-fake-header):
7470 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7472 * arc-mode.el (archive-mode): Add `archive-write-file' to
7473 `write-contents-functions' also for remote files. (Bug#14652)
7475 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7477 * cus-edit.el (custom-commands): Fix typos.
7478 (custom-display): Fix tooltip text.
7479 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7480 Fix typos in docstrings.
7481 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7482 (custom-unlispify-menu-entry, custom-magic-value-create)
7483 (custom-add-see-also, custom-group-value-create): Use ?\s.
7484 (custom-guess-type, customize-apropos, editable-field)
7485 (custom-face-value-create): Use `string-match-p'.
7486 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7488 * custom.el (custom-load-symbol): Use `string-match-p'.
7490 * ansi-color.el: Convert to lexical binding.
7491 (ansi-colors): Fix URL.
7492 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7493 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7494 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7496 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7498 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7500 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7502 2013-06-19 Tom Tromey <tromey@redhat.com>
7504 * net/eww.el (eww-top-url): Remove.
7505 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7506 (eww-render): Set new variables. Don't set eww-top-url.
7507 (eww-handle-link): Handle "prev", "home", and "contents".
7508 Downcase the rel text.
7509 (eww-top-url): Choose best top URL.
7511 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7513 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7514 relying in widget.el. Using widget.el leads to too many
7515 user interface inconsistencies.
7516 (eww-self-insert): Implement entering commands in text fields.
7517 (eww-process-text-input): New function to make text input field editing
7519 (eww-submit): Rewrite to use the new-style form methods.
7520 (eww-select-display): Display the correct selected item.
7521 (eww-change-select): Implement changing the select value.
7522 (eww-toggle-checkbox): Implement radio/checkboxes.
7523 (eww-update-field): Fix compilation error.
7524 (eww-tag-textarea): Implement <textarea>.
7526 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7527 we don't shadow mode-specific bindings.
7529 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7532 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7534 2013-06-19 Glenn Morris <rgm@gnu.org>
7536 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7538 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7540 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7543 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7545 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7547 * net/browse-url.el (browse-url-browser-function):
7548 `eww-browse-url' has the right calling signature, `eww' does not.
7550 2013-06-19 Glenn Morris <rgm@gnu.org>
7552 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7553 Only eval autoloaded macros.
7554 (byte-compile-autoload): Only give the macro warning for macros.
7556 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7557 (ps-underlined-faces): Declare.
7559 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7560 (speedbar-add-supported-extension): Declare.
7562 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7563 Don't include a date stamp in the header of the generated file;
7564 it leads to needless differences between output files.
7566 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7568 * net/secrets.el (secrets-struct-secret-content-type):
7569 Replace check of introspection data by a test call of "CreateItem".
7570 Some servers do not offer introspection.
7572 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7574 * electric.el (electric-pair-mode): Improve interaction with
7575 electric-layout-mode.
7576 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7577 (electric-pair-syntax): Use text-mode-syntax-table in comments
7579 (electric-pair--insert): New function.
7580 (electric-pair-post-self-insert-function): Use it and
7581 electric--after-char-pos.
7583 2013-06-19 Leo Liu <sdl.web@gmail.com>
7585 * progmodes/octave.el (octave-help): Fix regexp.
7587 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7589 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7590 (shr-table-horizontal-line): Allow nil as a value, and change the
7592 (shr-insert-table-ruler): Respect the nil value.
7594 2013-06-18 Tom Tromey <tromey@barimba>
7596 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7598 (eww-open-file): New defun.
7599 (eww-render): Initialize new variables.
7600 (eww-display-html): Handle "link" and "a".
7601 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7602 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7603 (eww-back-url): Rename from eww-previous-url.
7604 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7607 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7609 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7610 Distinguish ternary operator tokens from slash symbol and slash
7613 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7615 Convert symbol prettification into minor mode and global minor mode.
7617 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7618 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7619 (prettify-symbols--keywords): Rename from
7620 `prog-prettify-symbols-alist' and make a local defvar.
7621 (prettify-symbols--compose-symbol): Rename from
7622 `prog--prettify-font-lock-compose-symbol'.
7623 (prettify-symbols--make-keywords): Rename from
7624 `prog-prettify-font-lock-symbols-keywords' and simplify.
7625 (prog-prettify-install): Remove.
7626 (prettify-symbols-mode): New minor mode, based on
7627 `prog-prettify-install'.
7628 (turn-on-prettify-symbols-mode): New function.
7629 (global-prettify-symbols-mode): New globalized minor mode.
7631 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7632 * progmodes/cfengine.el (cfengine3-mode):
7633 * progmodes/perl-mode.el (perl-mode): Don't call
7634 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7636 2013-06-18 Juri Linkov <juri@jurta.org>
7638 * files-x.el (modify-file-local-variable-message): New function.
7639 (modify-file-local-variable)
7640 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7641 and call `modify-file-local-variable-message' when it's non-nil.
7642 (add-file-local-variable, delete-file-local-variable)
7643 (add-file-local-variable-prop-line)
7644 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7645 and use it. (Bug#9820)
7647 2013-06-18 Juri Linkov <juri@jurta.org>
7649 * emulation/vi.el (vi-shell-op):
7650 * emulation/vip.el (vip-execute-com, ex-command):
7651 * emulation/viper-cmd.el (viper-exec-bang):
7652 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7653 the call of `shell-command-on-region'. (Bug#14637)
7655 * simple.el (shell-command-on-region): Doc fix.
7657 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7659 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7662 2013-06-18 Glenn Morris <rgm@gnu.org>
7664 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7666 * newcomment.el (comment-search-forward, comment-search-backward):
7667 Doc fix. (Bug#14376)
7669 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7671 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7672 (buffer-face-mode-invoke): Doc fix.
7674 2013-06-18 Matthias Meulien <orontee@gmail.com>
7676 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7677 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7679 2013-06-18 Glenn Morris <rgm@gnu.org>
7681 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7682 Replace obsolete function generic-make-keywords with its expansion.
7684 * progmodes/python.el (ffap-alist): Declare.
7686 * textmodes/reftex.el (bibtex-mode-map): Declare.
7688 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7690 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7691 (package-unpack, package-unpack-single): Return the pkg-dir.
7692 (package-download-transaction): Use it to update package-alist.
7694 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7696 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7699 2013-06-17 Juri Linkov <juri@jurta.org>
7701 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7703 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7705 * emacs-lisp/package.el (package-load-descriptor):
7706 Remove `with-syntax-table' call, `read' doesn't need it.
7707 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7709 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7711 * startup.el (command-line): Expand package name returned by
7712 `package--description-file' (bug#14639).
7714 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7716 * emacs-lisp/package.el (package-load-descriptor): Do not call
7717 `emacs-lisp-mode', just use its syntax table.
7719 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7721 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7722 `font-lock-extra-managed-props' if any prettifying keyword is added.
7723 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7724 (prog-mode): Use `setq-local'.
7726 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7728 * international/characters.el (standard-case-table): Set syntax of ?»
7729 and ?« to punctuation.
7731 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7733 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7734 Save relevant match data before calling `syntax-ppss' (bug#14595).
7736 2013-06-15 Juri Linkov <juri@jurta.org>
7738 * files-x.el (modify-file-local-variable-prop-line): Add local
7739 variables to the end of the existing comment on the first line.
7740 Use `file-auto-mode-skip' to skip interpreter magic line,
7741 and also skip XML declaration.
7743 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7745 * startup.el (package--builtin-versions): New var.
7746 (package-subdirectory-regexp): Remove.
7747 (package--description-file): Hard code its value instead.
7749 * emacs-lisp/package.el: Don't activate packages older than builtin.
7750 (package-obsolete-list): Rename from package-obsolete-alist, and make
7751 it into a simple list of package-desc.
7752 (package-strip-version): Remove.
7753 (package-built-in-p): Use package--builtin-versions.
7754 (package-mark-obsolete): Simplify.
7755 (package-process-define-package): Mark it obsolete if older than the
7757 (package-handle-response): Use line-end-position.
7758 (package-read-archive-contents, package--download-one-archive):
7760 (package--add-to-archive-contents): Skip if older than the builtin or
7762 (package-menu-describe-package): Fix last change.
7763 (package-list-unversioned): New var.
7764 (package-menu--generate): Use it.
7766 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7767 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7768 (autoload-builtin-package-versions): New variable.
7769 (autoload-generate-file-autoloads): Use them.
7770 Remove the list of autoloaded functions/macros from the
7771 (autoload...) comments.
7773 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7775 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7777 * simple.el (line-move-partial): Don't jump to the next screen
7778 line as soon as it becomes visible. Instead, continue enlarging
7779 the vscroll until the portion of a tall screen line that's left on
7780 display is about the height of the frame's default font.
7783 2013-06-15 Glenn Morris <rgm@gnu.org>
7785 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7786 compilation-error-regexp-alist void, or local while let-bound.
7788 * progmodes/make-mode.el (makefile-mode-syntax-table):
7789 Treat "=" as punctuation. (Bug#14614)
7791 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7793 * help-fns.el (describe-variable):
7794 Add extra line for permanent-local variables.
7796 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7798 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7799 Add export, import, library. (Bug#9164)
7800 (library): Set indent function.
7802 2013-06-14 Glenn Morris <rgm@gnu.org>
7804 * term/xterm.el (xterm--query):
7805 Stop after first matching handler. (Bug#14615)
7807 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7809 Add support for dired in saveplace.
7810 * dired.el (dired-initial-position-hook): New variable.
7811 (dired-initial-position): Call hook to place cursor position.
7812 * saveplace.el (save-place-to-alist): Add dired position.
7813 (save-place-dired-hook): New function.
7815 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7817 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7818 through a symbol rather than letrec.
7820 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7821 (package-desc): Add `dir' field.
7822 (package-desc-full-name): New function.
7823 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7824 (package-maybe-load-descriptor): Remove.
7825 (package-load-all-descriptors): Just call package-load-descriptor.
7826 (package--disabled-p): New function.
7827 (package-desc-vers, package-desc-doc): Remove aliases.
7828 (package--dir): Remove function.
7829 (package-activate): Check if a package is disabled.
7830 (package-process-define-package): New function, extracted from
7832 (define-package): Turn into a place holder.
7833 (package-unpack-single, package-tar-file-info):
7834 Use package--description-file.
7835 (package-compute-transaction): Use package--disabled-p.
7836 (package-download-transaction): Don't call
7837 package-maybe-load-descriptor since they're all loaded anyway.
7838 (package-install): Change argument to be a pkg-desc.
7839 (package-delete): Use a single pkg-desc argument.
7840 (describe-package-1): Use package-desc-dir instead of package--dir.
7841 Use package-desc property instead of package-symbol.
7842 (package-install-button-action): Adjust accordingly.
7843 (package--push): Rewrite.
7844 (package-menu--print-info): Adjust accordingly. Change the ID format
7846 (package-menu-describe-package, package-menu-get-status)
7847 (package-menu--find-upgrades, package-menu-mark-upgrades)
7848 (package-menu-execute, package-menu--name-predicate):
7850 * startup.el (package--description-file): New function.
7851 (command-line): Use it.
7852 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7853 Use package-desc-version.
7855 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7856 (byte-compile-preprocess): Use it.
7857 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7858 can't quite recognize.
7859 (byte-compile-add-to-list): Remove.
7860 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7861 (cconv-closure-convert): Add assertion.
7863 * emacs-lisp/map-ynp.el: Use lexical-binding.
7864 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7865 Factor out some repeated code.
7867 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7869 * subr.el (with-eval-after-load): New macro.
7870 (eval-after-load): Allow form to be a function.
7871 take advantage of lexical-binding.
7872 (do-after-load-evaluation): Use dolist and adjust to new format.
7873 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7875 2013-06-13 Juri Linkov <juri@jurta.org>
7877 * replace.el (perform-replace): Display "symbol " and other search
7878 modes from `isearch-message-prefix' in the *Help* buffer.
7880 * isearch.el (isearch-query-replace): Add " symbol" and other
7881 possible search modes from `isearch-message-prefix' to the prompt.
7882 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7883 when reading a regexp to collect.
7885 2013-06-13 Juri Linkov <juri@jurta.org>
7887 * isearch.el (word-search-regexp): Match whitespace if the search
7888 string begins or ends in whitespace. The LAX arg is applied to
7889 both ends of the search string. Use `regexp-quote' and explicit
7890 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7891 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7892 boundaries are replaced with symbol boundaries, and characters
7893 between symbols match non-word non-symbol syntax. (Bug#14602)
7895 2013-06-13 Juri Linkov <juri@jurta.org>
7897 * isearch.el (isearch-del-char): Don't exceed the length of
7898 `isearch-string' by the prefix arg. (Bug#14563)
7900 2013-06-13 Juri Linkov <juri@jurta.org>
7902 * isearch.el (isearch-yank-word, isearch-yank-line)
7903 (isearch-char-by-name, isearch-quote-char)
7904 (isearch-printing-char, isearch-process-search-char):
7905 Add optional count prefix arg. (Bug#14563)
7907 * international/isearch-x.el
7908 (isearch-process-search-multibyte-characters):
7909 Add optional count prefix arg.
7911 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7913 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7914 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7917 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7919 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7921 2013-06-13 Glenn Morris <rgm@gnu.org>
7923 * startup.el (tty-handle-args):
7924 Don't just discard "--" and anything after. (Bug#14608)
7926 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7928 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7930 Implement changes in Secret Service API. Make it backward compatible.
7931 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7932 (secrets-create-item): Use it. Prefix properties with interface.
7934 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7936 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7937 (term-emulate-terminal): Respect term-suppress-hard-newline.
7939 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7941 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7942 Only remove a `thumb-file' overlay. (Bug#14548)
7944 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7946 * mail/reporter.el (reporter-submit-bug-report):
7947 Handle missing package-name. (Bug#14600)
7949 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7951 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7952 (reftex-citation-prompt, reftex-default-bibliography)
7953 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7954 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7955 (reftex-bib-sort-author, reftex-bib-sort-year)
7956 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7957 (reftex-extract-bib-entries-from-thebibliography)
7958 (reftex-get-bibkey-default, reftex-get-bib-names)
7959 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7960 (reftex-format-bib-entry, reftex-parse-bibitem)
7961 (reftex-format-bibitem, reftex-do-citation)
7962 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7963 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7964 (reftex-insert-bib-matches, reftex-format-citation)
7965 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7966 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7967 existing comments into docstrings.
7969 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7971 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7973 2013-06-12 Andreas Schwab <schwab@suse.de>
7975 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7976 for auto-save files.
7978 2013-06-12 Glenn Morris <rgm@gnu.org>
7980 * ido.el (ido-delete-ignored-files): Remove.
7981 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7982 Go back to calling ido-ignore-item-p directly.
7984 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7986 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7988 * ido.el (ido-delete-ignored-files): New function,
7989 split from ido-make-file-list-1.
7990 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7991 (ido-make-file-list-1): Use ido-delete-ignored-files.
7993 2013-06-12 Leo Liu <sdl.web@gmail.com>
7995 * progmodes/octave.el (inferior-octave-startup)
7996 (inferior-octave-completion-table)
7997 (inferior-octave-track-window-width-change)
7998 (octave-eldoc-function-signatures, octave-help)
7999 (octave-find-definition): Use single quoted strings.
8000 (inferior-octave-startup-args): Change default value.
8001 (inferior-octave-startup): Do not hard code "-i" and
8002 "--no-line-editing".
8003 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8004 (inferior-octave-directory-tracker): Use it.
8005 (octave-goto-function-definition): Robustify.
8006 (octave-help): Support highlighting operators in 'See also'.
8007 (octave-find-definition): Find subfunctions only in Octave mode.
8009 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8011 * help-fns.el (help-fns--compiler-macro): If the handler function is
8012 named, then put a link to it.
8013 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8014 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8016 (cl-eval-when): Simplify debug spec.
8017 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8018 compiler-macro function instead of setting `compiler-macro-file'.
8020 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8022 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8023 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8025 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8026 Daniel Hackney <dan@haxney.org>
8028 First part of Daniel Hackney's patch to package.el.
8029 * emacs-lisp/package.el: Use defstruct.
8030 (package-desc): New, main struct.
8031 (package--bi-desc, package--ac-desc): New structs, used to describe the
8032 format in external files.
8033 (package-desc-vers): Replace with package-desc-version accessor.
8034 (package-desc-doc): Replace with package-desc-summary accessor.
8035 (package-activate-1): Remove `package' arg since the pkg-vec now
8037 (define-package): Use package-desc-from-define.
8038 (package-unpack-single): Change file-name arg to be a symbol.
8039 (package--add-to-archive-contents): Use package-desc-create and new
8040 accessor functions to package--ac-desc.
8041 (package-buffer-info, package-tar-file-info): Return a package-desc.
8042 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8043 arg to be a package-desc.
8044 (package-install-file): Adjust accordingly. Use \' to match EOS.
8045 (package--from-builtin): New function.
8046 (describe-package-1, package-menu--generate): Use it.
8047 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8048 (package-generate-autoloads): Idem and return the name of the file.
8049 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8050 Change pkg-info arg to be a package-desc.
8051 Use package-make-ac-desc.
8052 (package-upload-file): Use \' to match EOS.
8053 * finder.el (finder-compile-keywords): Use package-make-builtin.
8055 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8057 * vc/vc.el (vc-deduce-fileset): Change error message.
8058 (vc-read-backend): New function.
8059 (vc-next-action): Use it.
8061 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8063 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8064 (prolog-font-lock-keywords): Use regexp-opt instead.
8065 Don't manually highlight strings.
8066 (prolog-mode-variables): Simplify comment-start-skip.
8067 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8069 * emacs-lisp/generic.el (generic--normalise-comments)
8070 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8071 (generic-mode-set-comments): Use them.
8072 (generic-bracket-support): Use setq-local.
8073 (generic-make-keywords-list): Declare obsolete.
8075 2013-06-11 Glenn Morris <rgm@gnu.org>
8077 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8078 Prettify after setting font-lock-defaults. (Bug#14574)
8080 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8082 * replace.el (query-replace, occur-read-regexp-defaults-function)
8084 * subr.el (declare-function, number-sequence, local-set-key)
8085 (substitute-key-definition, locate-user-emacs-file)
8086 (with-silent-modifications, split-string, eval-after-load):
8087 Fix typos, remove unneeded backslashes and reflow some docstrings.
8089 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8091 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8092 default for Elisp files.
8094 2013-06-11 Glenn Morris <rgm@gnu.org>
8096 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8097 although define-derived-mode was doing this anyway. (Bug#14583)
8099 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8101 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8102 Fix make-variable-buffer-local call to refer to the correct variable.
8104 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8106 * eshell/em-term.el (eshell-visual-commands)
8107 (eshell-visual-subcommands, eshell-visual-options):
8108 Add summary line to docstrings. Add cross-references.
8110 2013-06-10 Glenn Morris <rgm@gnu.org>
8112 * epa.el (epa-read-file-name): New function. (Bug#14510)
8113 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8115 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8117 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8118 output redirection to be ignored with visual commands.
8120 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8122 * eshell/em-term.el (eshell-visual-command-p): New function.
8123 (eshell-term-initialize): Move long lambda to separate function
8124 eshell-visual-command-p.
8125 * eshell/em-dirs.el (eshell-dirs-initialise):
8126 * eshell/em-script.el (eshell-script-initialize):
8127 Add missing #' to lambda.
8129 2013-06-08 Leo Liu <sdl.web@gmail.com>
8131 * progmodes/octave.el (octave-add-log-current-defun): New function.
8132 (octave-mode): Set add-log-current-defun-function.
8133 (octave-goto-function-definition): Do not move point if not found.
8134 (octave-find-definition): Enhance to try subfunctions first.
8136 2013-06-08 Glenn Morris <rgm@gnu.org>
8138 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8139 (byte-compile-backward-char, byte-compile-backward-word):
8140 Improve previous change, to handle non-explicit nil.
8142 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8144 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8145 (smie--opener/closer-at-point): New function.
8146 (smie--matching-block-data): Use it. Don't match from right after an
8147 opener or right before a closer. Obey smie-blink-matching-inners.
8148 Don't signal a mismatch for repeated inners like "switch..case..case".
8150 2013-06-07 Leo Liu <sdl.web@gmail.com>
8152 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8154 (octave-function-header-regexp): Fix. (Bug#14570)
8155 (octave-help-mode-finish-hook, octave-help-mode-finish):
8156 Remove. Just use temp-buffer-show-hook.
8158 * newcomment.el (comment-search-backward): Revert last change.
8161 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8163 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8165 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8166 through xargs, to avoid failure due to MS-Windows limitations on
8167 command-line length.
8169 2013-06-06 Glenn Morris <rgm@gnu.org>
8171 * font-lock.el (lisp-font-lock-keywords-2):
8172 Treat user-error like error.
8174 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8175 (byte-compile-backward-char, byte-compile-backward-word):
8176 Handle explicit nil arguments. (Bug#14565)
8178 2013-06-05 Alan Mackenzie <acm@muc.de>
8180 * isearch.el (isearch-allow-prefix): New user option.
8181 (isearch-other-meta-char): Don't exit isearch when a prefix
8182 argument is typed whilst `isearch-allow-prefix' is non-nil.
8185 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8187 * autorevert.el (auto-revert-notify-handler): Use memq.
8188 Hide assertion failure.
8190 * skeleton.el: Use cl-lib.
8191 (skeleton-further-elements): Use defvar-local.
8192 (skeleton-insert): Use cl-progv.
8194 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8196 * progmodes/prog-mode.el (prog-prettify-symbols)
8197 (prog-prettify-install): Update docstrings.
8199 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8201 * simple.el: Move all the prog-mode code to prog-mode.el.
8202 * progmodes/prog-mode.el: New file.
8203 * loadup.el: Add prog-mode.el.
8205 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8207 * simple.el (prog-prettify-symbols): Add version.
8208 (prog-prettify-install): Add convenience function to prettify symbols.
8210 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8211 (perl--augmented-font-lock-keywords-1)
8212 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8213 variables and use it.
8215 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8216 (cfengine3-mode): Remove unneeded variable and use it.
8218 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8219 (lisp--augmented-font-lock-keywords-1)
8220 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8221 Remove unneeded variables and use it.
8223 2013-06-05 João Távora <joaotavora@gmail.com>
8225 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8226 to point when opening the connection. (Bug#14380)
8228 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8230 * subr.el (load-history-regexp, load-history-filename-element)
8231 (eval-after-load, after-load-functions, do-after-load-evaluation)
8232 (eval-next-after-load, display-delayed-warnings)
8233 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8234 definition of save-match-data.
8235 (overriding-local-map): Remove accidental obsolescence declaration.
8237 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8239 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8241 Generalize symbol prettify support to prog-mode and implement it
8242 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8243 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8244 (prog--prettify-font-lock-compose-symbol)
8245 (prog-prettify-font-lock-symbols-keywords): New variables and
8246 functions to support symbol prettification.
8247 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8248 (lisp--augmented-font-lock-keywords-1)
8249 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8250 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8251 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8252 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8253 Implement prettify of -> => :: strings.
8254 * progmodes/perl-mode.el (perl-prettify-symbols)
8255 (perl--font-lock-compose-symbol)
8256 (perl--font-lock-symbols-keywords): Move to prog-mode.
8257 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8258 (perl-font-lock-keywords-1)
8259 (perl-font-lock-keywords-2): Remove explicit prettify support.
8260 (perl--augmented-font-lock-keywords)
8261 (perl--augmented-font-lock-keywords-1)
8262 (perl--augmented-font-lock-keywords-2, perl-mode):
8263 Implement prettify support.
8265 2013-06-05 Leo Liu <sdl.web@gmail.com>
8267 Re-implement smie matching block highlight using
8268 show-paren-data-function. (Bug#14395)
8269 * emacs-lisp/smie.el (smie-matching-block-highlight)
8270 (smie--highlight-matching-block-overlay)
8271 (smie--highlight-matching-block-lastpos)
8272 (smie-highlight-matching-block)
8273 (smie-highlight-matching-block-mode): Remove.
8274 (smie--matching-block-data-cache): New variable.
8275 (smie--matching-block-data): New function.
8276 (smie-setup): Use smie--matching-block-data for
8277 show-paren-data-function.
8279 * progmodes/octave.el (octave-mode-menu): Fix.
8280 (octave-find-definition): Skip garbage lines.
8282 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8284 Fix compilation error with simultaneous dynamic+lexical scoping.
8285 Add warning when a defvar appears after the first let-binding.
8286 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8287 (byte-compile-close-variables): Initialize it.
8288 (byte-compile--declare-var): New function.
8289 (byte-compile-file-form-defvar)
8290 (byte-compile-file-form-define-abbrev-table)
8291 (byte-compile-file-form-custom-declare-variable): Use it.
8292 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8293 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8294 (byte-compile-bind): Handle dynamic bindings that shadow
8296 (byte-compile-unbind): Make arg non-optional.
8297 (byte-compile-let): Simplify.
8298 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8299 (cconv--analyse-function, cconv-analyse-form): Populate it.
8300 Protect byte-compile-bound-variables to limit the scope of defvars.
8301 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8302 Remove unneeded rule for `declare'.
8304 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8305 so as to avoid depending on cl-adjoin at run-time.
8306 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8308 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8309 (macroexp--warn-and-return): Use it.
8311 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8313 * lisp/subr.el: Convert to lexical binding.
8314 (overriding-local-map): Make obsolete.
8315 (add-to-list): Doc fix. Add compiler macro.
8316 (read-key): Swap values of local maps.
8318 2013-06-05 Leo Liu <sdl.web@gmail.com>
8320 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8322 2013-06-04 Leo Liu <sdl.web@gmail.com>
8324 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8325 (compilation-auto-jump): Suppress the "Mark set" message to give
8326 way to exit message.
8328 2013-06-04 Alan Mackenzie <acm@muc.de>
8330 Remove faulty optimisation from indentation calculation.
8331 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8332 search limit based on 2000 characters back from indent-point.
8334 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8336 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8338 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8340 * emacs-lisp/lisp.el: Use lexical-binding.
8341 (lisp--local-variables-1, lisp--local-variables): New functions.
8342 (lisp--local-variables-completion-table): New var.
8343 (lisp-completion-at-point): Use it complete let-bound vars.
8345 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8346 eagerly (bug#14422).
8348 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8350 * autorevert.el (auto-revert-notify-enabled)
8351 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8352 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8353 (auto-revert-notify-handler): Handle also gfilenotify.
8355 * subr.el (file-notify-handle-event): New defun. Replacing ...
8356 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8359 2013-06-03 Juri Linkov <juri@jurta.org>
8361 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8362 `M-s h .'. (Bug#14427)
8364 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8365 command `hi-lock-face-symbol-at-point'.
8366 (hi-lock-face-symbol-at-point): New command.
8367 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8368 (hi-lock-menu): Add `highlight-symbol-at-point'.
8369 (hi-lock-mode): Doc fix.
8371 * isearch.el (isearch-forward-symbol-at-point): New command.
8372 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8373 (isearch-highlight-regexp): Add a regexp which matches
8374 words/symbols for word/symbol mode.
8376 * subr.el (find-tag-default-bounds): New function with the body
8377 mostly moved from `find-tag-default'.
8378 (find-tag-default): Move most code to `find-tag-default-bounds',
8379 call it and apply `buffer-substring-no-properties' afterwards.
8381 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8383 * eshell/em-term.el (eshell-term-initialize):
8384 Use `cl-intersection' rather than `intersection'.
8386 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8388 * vc/log-view.el: Doc fix.
8389 (log-view-mode-map): Copy keymap from `special-mode-map'.
8391 2013-06-02 Eric Ludlam <zappo@gnu.org>
8393 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8394 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8395 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8396 (eieio-unbound, eieio-default-superclass)
8397 (eieio--define-field-accessors, method-static, method-before)
8398 (method-primary, method-after, method-num-lists)
8399 (method-generic-before, method-generic-primary)
8400 (method-generic-after, method-num-slots)
8401 (eieio-specialized-key-to-generic-key)
8402 (eieio--check-type, class-v, class-p)
8403 (eieio-class-name, define-obsolete-function-alias)
8404 (eieio-class-parents-fast, eieio-class-children-fast)
8405 (same-class-fast-p, class-constructor, generic-p)
8406 (generic-primary-only-p, generic-primary-only-one-p)
8407 (class-option-assoc, class-option, eieio-object-p)
8408 (class-abstract-p, class-method-invocation-order)
8409 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8410 (eieio-class-un-autoload, eieio-defclass)
8411 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8412 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8413 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8414 (eieio-defgeneric-reset-generic-form)
8415 (eieio-defgeneric-form-primary-only)
8416 (eieio-defgeneric-reset-generic-form-primary-only)
8417 (eieio-defgeneric-form-primary-only-one)
8418 (eieio-defgeneric-reset-generic-form-primary-only-one)
8419 (eieio-unbind-method-implementations)
8420 (eieio--defmethod, eieio--typep)
8421 (eieio-perform-slot-validation, eieio-validate-slot-value)
8422 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8423 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8424 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8425 (eieio-slot-name-index, eieio-class-slot-name-index)
8426 (eieio-set-defaults, eieio-initarg-to-attribute)
8427 (eieio-attribute-to-initarg, eieio-c3-candidate)
8428 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8429 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8430 (eieio-class-precedence-list, eieio-generic-call-methodname)
8431 (eieio-generic-call-arglst, eieio-generic-call-key)
8432 (eieio-generic-call-next-method-list)
8433 (eieio-pre-method-execution-functions, eieio-generic-call)
8434 (eieio-generic-call-primary-only, eieiomt-method-list)
8435 (eieiomt-optimizing-obarray, eieiomt-install)
8436 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8437 (eieio-generic-form, eieio-defmethod, make-obsolete)
8438 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8439 (defclass): Remove `eval-and-compile' from macro.
8440 (call-next-method, shared-initialize): Instead of using
8441 `scoped-class' variable, use new eieio--scoped-class, and
8442 eieio--with-scoped-class.
8443 (initialize-instance): Rename local variable 'scoped-class' to
8444 'this-class' to remove ambiguitity from old global.
8446 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8448 (eieio--scoped-class-stack): New variable.
8449 (eieio--scoped-class): New fcn.
8450 (eieio--with-scoped-class): New scoping macro.
8451 (eieio-defclass): Use pushnew instead of add-to-list.
8452 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8453 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8454 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8455 `scoped-class' variable, use new eieio--scoped-class, and
8456 eieio--with-scoped-class.
8458 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8460 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8462 * eshell/esh-ext.el (eshell-external-command): Pass args to
8463 `eshell-find-interpreter'.
8464 (eshell-find-interpreter): Add new second parameter ARGS.
8466 * eshell/em-script.el (eshell-script-initialize): Add second arg
8467 to the function added as MATCH to `eshell-interpreter-alist'.
8469 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8470 the function added as MATCH to `eshell-interpreter-alist'.
8472 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8473 (eshell-visual-options): New defcustom.
8474 (eshell-escape-control-x): Adapt docstring.
8475 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8476 `eshell-visual-options' in addition to `eshell-visual-commands'.
8477 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8479 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8481 * progmodes/python.el (python-indent-block-enders): Add break,
8482 continue and raise keywords.
8484 2013-06-01 Glenn Morris <rgm@gnu.org>
8486 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8488 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8489 * progmodes/cc-cmds.el (delete-forward-p):
8490 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8491 * progmodes/cc-engine.el (buffer-syntactic-context):
8492 * progmodes/cc-fonts.el (face-property-instance):
8493 * progmodes/cc-mode.el (set-keymap-parents):
8494 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8495 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8496 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8497 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8498 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8500 * progmodes/cc-vars.el (other): Emacs has this widget since
8501 at least 21.1, so don't (re)define it.
8503 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8504 Replace the obsolete alias pcomplete-arg-quote-list.
8506 2013-06-01 Leo Liu <sdl.web@gmail.com>
8508 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8510 (inferior-octave-minimal-columns)
8511 (inferior-octave-last-column-width): New variables.
8512 (inferior-octave-track-window-width-change): New function.
8513 (inferior-octave-mode): Adjust column width so that Octave output,
8514 for example from 'ls', can fit into the window nicely.
8516 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8518 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8519 Highlight expansions inside regexp literals.
8521 2013-05-31 Glenn Morris <rgm@gnu.org>
8523 * obsolete/sym-comp.el (symbol-complete):
8524 Replace obsolete completion-annotate-function.
8526 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8528 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8530 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8531 New function, checks if point is inside a literal that allows
8532 expression expansion.
8533 (ruby-syntax-propertize-expansion): Use it.
8534 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8537 2013-05-30 Juri Linkov <juri@jurta.org>
8539 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8541 (isearch-invisible): New variable.
8542 (isearch-forward): Doc fix.
8543 (isearch-mode): Set `isearch-invisible'
8544 to the value of `search-invisible'.
8545 (isearch-toggle-case-fold): Doc fix.
8546 (isearch-toggle-invisible): New command.
8547 (isearch-query-replace): Let-bind `search-invisible'
8548 to the value of `isearch-invisible'.
8549 (isearch-search): Use `isearch-invisible' instead of
8550 `search-invisible'. Let-bind `search-invisible'
8551 to the value of `isearch-invisible'. (Bug#11378)
8553 2013-05-30 Juri Linkov <juri@jurta.org>
8555 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8556 call when `query-flag' is nil and `search-invisible' is non-nil.
8559 2013-05-30 Glenn Morris <rgm@gnu.org>
8561 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8563 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8564 (cc-require): Suppress spurious "noruntime" warnings.
8565 (cc-require-when-compile): Use fboundp, for sake of compiler.
8567 * progmodes/cc-mode.el: Move load of cc-vars before that of
8568 cc-langs (which in turn loads cc-vars), to quieten compiler.
8570 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8572 * paren.el: Simplify the code.
8573 (show-paren-mode): Always start the timer.
8574 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8575 (show-paren--overlay, show-paren--overlay-1): Rename from
8576 show-paren-overlay and show-paren-overlay-1, and initialize to an
8577 overlay rather than to nil.
8578 (show-paren-function): Misc cleanup and simplifications.
8580 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8582 * paren.el (show-paren-data-function): New hook.
8583 (show-paren--default): New function, extracted from show-paren-function.
8584 (show-paren-function): Use show-paren-data-function.
8586 2013-05-30 Glenn Morris <rgm@gnu.org>
8588 * ielm.el (ielm-map, ielm-complete-symbol):
8589 Use completion-at-point rather than obsolete functions.
8590 (inferior-emacs-lisp-mode): Doc fix.
8591 Set completion-at-point-functions, rather than
8592 comint-dynamic-complete-functions.
8594 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8595 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8596 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8598 * image.el (image-animated-p): Tweak definition.
8600 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8601 (rlogin-process-connection-type): Tweak default. Add set-after.
8602 (rlogin-host): Doc fix.
8603 (rlogin): Tweak prompt.
8604 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8606 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8607 * progmodes/tcl.el (inferior-tcl-mode-map):
8608 Use completion-at-point rather than obsolete alias.
8610 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8612 * minibuffer.el (read-file-name-completion-ignore-case):
8613 Move before completion--in-region, for eager macro expansion.
8615 2013-05-29 Juri Linkov <juri@jurta.org>
8617 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8618 for total count of matching lines. Add `global-matches' for total
8619 count of matches. Rename `matches' to `lines' for count of
8620 matching lines. Add `matches' for count of matches.
8621 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8622 to `prev-line' for line number of prev match endpt.
8623 Increment `matches' for every match. Print the number of
8624 matching lines in the header.
8625 (occur-context-lines): Rename `lines' to `curr-line'.
8626 Rename `prev-lines' to `prev-line'. (Bug#14017)
8628 2013-05-29 Juri Linkov <juri@jurta.org>
8630 * replace.el (perform-replace): Add `skip-read-only-count',
8631 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8632 Increment them for corresponding conditions and report the number
8633 of skipped occurrences in the final message. (Bug#11746)
8634 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8635 (replace-string, replace-regexp): Doc fix.
8637 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8639 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8641 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8642 prog-mode-map (bug#14504).
8644 2013-05-29 Leo Liu <sdl.web@gmail.com>
8646 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8647 (octave-help): Small simplification.
8649 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8650 off the highlight first.
8652 2013-05-29 Glenn Morris <rgm@gnu.org>
8654 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8655 Handle idlwave-last-system-routine-info-cons-cell being nil.
8657 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8658 (idlwave-write-paths): Simplify via with-temp-buffer.
8660 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8661 * emulation/cua-rect.el: Also load cua-base at run time.
8663 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8664 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8665 (cperl-imenu-on-info): Require imenu.
8667 2013-05-28 Alan Mackenzie <acm@muc.de>
8669 Handle "capitalised keywords" correctly.
8670 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8672 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8674 * eshell/em-unix.el: Add -r option to cp.
8676 2013-05-28 Glenn Morris <rgm@gnu.org>
8678 * vc/vc-arch.el (vc-exec-after): Declare.
8679 (vc-switches): Autoload.
8680 * vc/vc-bzr.el: No need to require vc when compiling.
8681 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8682 (vc-resynch-buffer, vc-dir-refresh): Declare.
8683 (vc-setup-buffer, vc-switches): Autoload.
8684 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8685 (vc-resynch-buffer): Declare.
8686 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8687 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8688 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8689 (grep-read-regexp, grep-read-files, grep-expand-template)
8690 (vc-dir-refresh): Declare.
8691 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8692 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8693 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8694 * vc/vc-mtn.el (vc-exec-after): Declare.
8695 (vc-switches): Autoload.
8696 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8697 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8698 (vc-file-tree-walk): Declare.
8699 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8700 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8701 (vc-tag-precondition, vc-rename-master): Autoload.
8702 * vc/vc-svn.el (vc-exec-after): Declare.
8703 (vc-switches, vc-setup-buffer): Autoload.
8704 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8706 (vc-resynch-buffer): Declare.
8708 * obsolete/fast-lock.el (byte-compile-warnings):
8709 Don't warn about obsolete features in this obsolete file.
8711 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8712 Move definition before use.
8714 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8715 (dun-unix-verbs): Remove dun-zippy.
8716 (dun-zippy): Remove function.
8718 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8720 2013-05-27 Juri Linkov <juri@jurta.org>
8722 * replace.el (replace-search): New function with code moved out
8723 from `perform-replace'.
8724 (replace-highlight, replace-dehighlight): Move function definitions
8725 up closer to `replace-search'. (Bug#11746)
8727 2013-05-27 Juri Linkov <juri@jurta.org>
8729 * replace.el (perform-replace): Ignore invisible matches.
8730 In addition to checking `query-replace-skip-read-only', also
8731 filter out matches by calling `run-hook-with-args-until-failure'
8732 on `isearch-filter-predicates', and also check `search-invisible'
8733 for t or call `isearch-range-invisible'.
8734 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8736 2013-05-27 Juri Linkov <juri@jurta.org>
8738 * isearch.el (isearch-filter-predicates): Rename from
8739 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8740 (isearch-message-prefix): Display text from the property
8741 `isearch-message-prefix' of the currently active filters.
8742 (isearch-search): Don't compare `isearch-filter-predicate' with
8743 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8744 on `isearch-filter-predicates'. Also check `search-invisible' for t
8745 or call `isearch-range-invisible'.
8746 (isearch-filter-visible): Make obsolete.
8747 (isearch-lazy-highlight-search):
8748 Call `run-hook-with-args-until-failure' on
8749 `isearch-filter-predicates' and use `isearch-range-invisible'.
8751 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8752 `isearch-filter-predicates' instead of `funcall'ing
8753 `isearch-filter-predicate'.
8754 (Info-mode): Set `Info-isearch-filter' to
8755 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8757 * dired-aux.el (dired-isearch-filter-predicate-orig):
8759 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8760 (dired-isearch-filenames-end): Add and remove
8761 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8762 instead of changing the value of `isearch-filter-predicate'.
8763 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8764 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8765 Put property `isearch-message-prefix' to "filename " on
8766 `dired-isearch-filter-filenames'.
8768 * wdired.el (wdired-change-to-wdired-mode):
8769 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8770 locally instead of changing `isearch-filter-predicate'.
8771 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8773 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8775 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8776 return the commit hash (Bug#14459). Also set the
8777 `vc-git-detached' property.
8778 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8779 (vc-git-mode-line-string): Use the same help-echo format whether
8780 in detached mode or not, because we know the actual revision now.
8781 When in detached mode, shorten the revision to 7 chars.
8783 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8785 * emacs-lisp/easy-mmode.el (define-minor-mode):
8786 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8787 mode hook and provide a docstring.
8789 2013-05-27 Alan Mackenzie <acm@muc.de>
8791 Remove spurious syntax-table text properties inserted by C-y.
8792 * progmodes/cc-mode.el (c-after-change): Also clear hard
8793 syntax-table property with value nil.
8795 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8797 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8798 when reading the events; the buffer layout shall not be changed.
8800 2013-05-27 Leo Liu <sdl.web@gmail.com>
8802 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8804 (inferior-octave-directory-tracker): Automatically re-sync
8806 (octave-help): Improve handling of 'See also'.
8808 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8810 * doc-view.el: Minor naming convention tweaks.
8811 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8813 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8814 even if there's no `display' property yet (bug#14435).
8816 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8818 * subr.el (unmsys--file-name): Rename from reveal-filename.
8820 * Makefile.in (custom-deps, finder-data, autoloads)
8821 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8822 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8823 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8825 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8827 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8828 error-completion on the first 2 args of condition-case (bug#14446).
8831 2013-05-25 Leo Liu <sdl.web@gmail.com>
8833 * comint.el (comint-previous-matching-input): Do not flood the
8834 *Messages* buffer with trivial messages.
8836 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8838 * progmodes/flymake.el (flymake-nop): Don't return a string.
8839 (flymake-set-at): Fix typo.
8841 * simple.el (read--expression): New function, extracted from
8842 eval-expression. Set completion-at-point-functions (bug#14465).
8843 (eval-expression, eval-minibuffer): Use it.
8845 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8847 * progmodes/flymake.el (flymake-save-buffer-in-file)
8848 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8849 (flymake-selected-frame, flymake-log, flymake-ins-after)
8850 (flymake-set-at, flymake-get-buildfile-from-cache)
8851 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8852 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8853 Refine the doc string.
8854 (flymake-get-file-name-mode-and-masks): Reformat.
8855 (flymake-get-real-file-name-function): Fix a minor bug.
8857 2013-05-24 Juri Linkov <juri@jurta.org>
8859 * progmodes/grep.el (grep-mode-font-lock-keywords):
8860 Support =linenumber= format used by git-grep for lines with
8861 function names. (Bug#13549)
8863 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8865 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8866 0 after a semi-colon; it works better for smie-auto-fill.
8867 (octave--indent-new-comment-line): New function.
8868 (octave-indent-new-comment-line): Use it (indirectly).
8869 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8870 modify comment-line-break-function.
8872 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8873 (smie-setup): Use add-function to set it.
8875 2013-05-24 Sam Steingold <sds@gnu.org>
8877 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8878 argument (before the `interactive' argument).
8880 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8882 * image-mode.el (image-mode-winprops): Add winprops to
8883 image-mode-winprops-alist before running
8884 image-mode-new-window-functions.
8885 * doc-view.el (doc-view-new-window-function): Don't delay
8886 doc-view-goto-page via timers (bug#14435).
8888 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8890 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8891 (doc-view-desktop-save-buffer): New function.
8892 (doc-view-restore-desktop-buffer): New function.
8893 (desktop-buffer-mode-handlers):
8894 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8896 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8897 `desktop-save-buffer' function.
8899 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8901 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8902 (tramp-gvfs-file-name-handler): Raise a user error when
8903 `tramp-gvfs-enabled' is nil.
8904 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8905 Do not raise a user error when loading package. (Bug#14447)
8907 * net/xesam.el: Move to obsolete/.
8909 2013-05-24 Glenn Morris <rgm@gnu.org>
8911 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8913 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8915 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8916 (Info-find-node, Man-getpage-in-background): Declare.
8918 * mail/unrmail.el (unrmail):
8919 Replace obsolete detect-coding-with-priority.
8921 * net/socks.el (socks-split-string): Use this rather than split-string.
8922 (socks-nslookup-host): Update for above change.
8923 (dynamic-choice, s5-dynamic-choice-match)
8924 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8925 Comment out unused code.
8927 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8928 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8929 (gud-tooltip-echo-area): Make obsolete.
8930 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8932 * progmodes/js.el (js--optimize-arglist): Declare.
8934 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8936 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8937 (ediff-window-C): Declare.
8939 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8940 Tweak requires to silence compiler.
8942 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8943 (he-search-string, he-tried-table, he-expand-list)
8944 (he-init-string, he-string-member, he-substitute-string)
8945 (he-reset-string): Declare.
8947 * obsolete/options.el (list-options): Use custom-variable-p,
8948 rather than obsolete alias.
8950 2013-05-23 Sam Steingold <sds@gnu.org>
8952 * simple.el (shell-command-on-region): Pass the `replace' argument
8953 down to `call-process-region' to comply with the doc as reported on
8954 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8956 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8958 * emacs-lisp/smie.el (smie-indent-forward-token)
8959 (smie-indent-backward-token): Handle string tokens (bug#14381).
8961 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8963 * ielm.el (ielm-menu): New menu.
8964 (inferior-emacs-lisp-mode): Set comment-start.
8966 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8968 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8969 Fix deactivate action.
8971 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8972 Add cleveref macros.
8974 * lisp/textmodes/reftex-parse.el
8975 (reftex-locate-bibliography-files): Accept options for
8976 bibliography commands.
8977 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8978 Add addbibresource. Basic Biblatex support.
8980 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8982 * net/tramp-gvfs.el (top):
8983 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8984 when loading package. (Bug#14447)
8986 2013-05-23 Glenn Morris <rgm@gnu.org>
8988 * progmodes/js.el: No need to load comint when compiling.
8989 (ring-insert, comint-send-string, comint-send-input)
8990 (comint-last-input-end, ido-chop): Declare.
8992 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8993 * vc/ediff-mult.el: Adjust requires.
8994 (ediff-directories-internal, ediff-directory-revisions-internal)
8995 (ediff-patch-file-internal): Declare.
8996 * vc/ediff-ptch.el: Adjust requires.
8997 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8998 (ediff-find-file): Autoload.
8999 * vc/ediff-util.el: No need to load ediff when compiling.
9000 (ediff-regions-internal): Declare.
9001 * vc/ediff-wind.el: Adjust requires.
9002 (ediff-compute-toolbar-width): Define when compiling.
9003 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9004 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9005 (dired-get-filename, dired-get-marked-files)
9006 (ediff-last-dir-patch, ediff-patch-default-directory)
9007 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9008 (ediff-patch-buffer-internal): Declare.
9010 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9011 (ispell-process, ispell-buffer-local-words, lm-summary)
9012 (lm-section-start, lm-section-end): Declare.
9013 (checkdoc-ispell-init): Simplify.
9015 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9016 (he-string-member, he-reset-string, he-substitute-string): Declare.
9018 * eshell/em-ls.el: Adjust requires.
9019 (eshell-glob-regexp): Declare.
9020 * eshell/em-tramp.el: Adjust requires.
9021 (eshell-parse-command): Autoload.
9022 * eshell/em-xtra.el: Adjust requires.
9023 (eshell-parse-command): Autoload.
9024 * eshell/esh-ext.el: Adjust requires.
9025 (eshell-parse-command, eshell-close-handles): Autoload.
9026 * eshell/esh-io.el: Adjust requires.
9027 (eshell-output-filter): Autoload.
9028 * eshell/esh-util.el: No need to load tramp when compiling.
9029 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9031 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9032 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9033 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9034 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9035 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9036 * eshell/esh-opt.el, eshell/esh-proc.el:
9037 * eshell/esh-var.el: Adjust requires.
9038 * eshell/eshell.el: Do not require esh-util twice.
9039 (eshell-add-input-to-history): Declare.
9040 (eshell-command): Check history module is active before using it.
9042 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9044 2013-05-22 Leo Liu <sdl.web@gmail.com>
9046 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9048 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9050 * autorevert.el (auto-revert-notify-add-watch)
9051 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9052 it indicates changes in file modification time.
9054 2013-05-22 Glenn Morris <rgm@gnu.org>
9056 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9057 Always delete the autoloaded function from the noruntime and
9058 unresolved functions lists.
9060 * allout.el: No need to load epa, epg, overlay when compiling.
9061 (epg-context-set-passphrase-callback, epg-list-keys)
9062 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9063 (epg-key-user-id-list): Declare.
9065 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9066 (viper-set-parsing-style-toggling-macro)
9067 (viper-set-emacs-state-searchstyle-macros):
9068 Use called-interactively-p on Emacs.
9069 (viper-looking-back): Make it an obsolete alias. Update callers.
9070 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9071 Use looking-back rather than viper-looking-back.
9072 (viper-tmp-insert-at-eob, viper-enlarge-region)
9073 (viper-read-string-with-history, viper-register-to-point)
9074 (viper-append-to-register, viper-change-state-to-vi)
9075 (viper-backward-char-carefully, viper-forward-char-carefully)
9076 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9077 (viper-change-state-to-emacs): Declare.
9078 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9079 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9080 * emulation/viper-mous.el: Do not load viper-cmd.
9081 (viper-backward-char-carefully, viper-forward-char-carefully)
9082 (viper-forward-word, viper-adjust-window): Declare.
9084 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9086 * progmodes/idlw-help.el (idlwave-help-fontify):
9087 Use called-interactively-p.
9089 * term/w32console.el (w32-get-console-codepage)
9090 (w32-get-console-output-codepage): Declare.
9092 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9093 Remove unnecessary declarations.
9094 (dframe-message): Doc fix.
9096 * info.el (dframe-select-attached-frame, dframe-current-frame):
9099 * speedbar.el (speedbar-message): Make it an obsolete alias.
9101 (speedbar-with-attached-buffer)
9102 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9103 (speedbar-with-writable): Use backquote.
9104 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9105 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9106 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9107 rather than speedbar- aliases.
9108 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9109 (speedbar-make-specialized-keymap, speedbar-insert-button)
9110 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9111 (speedbar-do-function-pointer): Declare.
9112 (rmail-speedbar-button, rmail-speedbar-find-file)
9113 (rmail-speedbar-move-message):
9114 Use dframe-with-attached-buffer rather than speedbar- alias.
9115 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9116 (dframe-message, speedbar-make-specialized-keymap)
9117 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9118 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9119 (speedbar-insert-button, dframe-select-attached-frame)
9120 (dframe-maybee-jump-to-attached-frame)
9121 (speedbar-change-initial-expansion-list)
9122 (speedbar-previously-used-expansion-list-name): Declare.
9123 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9124 Use dframe-message, dframe-with-attached-buffer rather than
9126 (gud-sentinel): Silence compiler.
9127 * progmodes/vhdl-mode.el (speedbar-refresh)
9128 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9129 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9130 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9131 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9132 (speedbar-file-lists, speedbar-make-tag-line)
9133 (speedbar-line-directory, speedbar-goto-this-file)
9134 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9135 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9136 (speedbar-make-button, speedbar-reset-scanners)
9137 (speedbar-files-item-info, speedbar-line-text)
9138 (speedbar-find-file-in-frame, speedbar-set-timer)
9139 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9140 (speedbar-with-writable): Do not (re)define it.
9141 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9142 rather than speedbar- alias.
9144 2013-05-21 Leo Liu <sdl.web@gmail.com>
9146 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9148 (octave-mode): Tweak fill-nobreak-predicate.
9149 (inferior-octave-startup): Check process to avoid infinite loop.
9150 (inferior-octave): Pop to buffer first to show abornmal process
9153 2013-05-21 Glenn Morris <rgm@gnu.org>
9155 * printing.el (pr-menu-bar): Define when compiling.
9157 2013-05-21 Leo Liu <sdl.web@gmail.com>
9159 * progmodes/octave.el (octave-auto-fill): Remove.
9160 (octave-indent-new-comment-line): Improve.
9161 (octave-mode): Use auto fill mode through
9162 comment-line-break-function and fill-nobreak-predicate.
9163 (octave-goto-function-definition): Support DEFUN_DLD.
9164 (octave-beginning-of-defun): Small tweak.
9165 (octave-help): Show parent directory.
9167 2013-05-21 Glenn Morris <rgm@gnu.org>
9169 * files.el (dired-unmark):
9170 * progmodes/gud.el (gdb-input): Update declarations.
9172 * calculator.el (electric, ehelp): No need to load when compiling.
9173 (Electric-command-loop, electric-describe-mode): Declare.
9175 * doc-view.el (doc-view-current-converter-processes): Move before use.
9177 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9178 Move MODE-set-explicitly definition before use.
9180 * international/mule-diag.el (mule-diag):
9181 Don't use obsolete window-system-version.
9183 * mail/feedmail.el (smtpmail): No need to load when compiling.
9184 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9186 * mail/mail-utils.el (rfc822): No need to load when compiling.
9187 (rfc822-addresses): Autoload it.
9188 (mail-strip-quoted-names): Trivial simplification.
9190 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9191 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9193 * net/snmp-mode.el (tempo): Don't duplicate requires.
9195 * progmodes/prolog.el (info): No need to load when compiling.
9196 (comint): Require before shell requires it.
9197 (Info-goto-node): Autoload it.
9198 (Info-follow-nearest-node): Declare.
9199 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9201 * textmodes/artist.el (picture-mode-exit): Declare.
9203 * textmodes/reftex-parse.el (reftex-parse-from-file):
9204 Trivial rewrite so the compiler can parse it better.
9206 2013-05-20 Leo Liu <sdl.web@gmail.com>
9208 * progmodes/octave.el (octave-help-mode-map)
9209 (octave-help-mode-finish-hook): New variables.
9210 (octave-help-mode, octave-help-mode-finish): New functions.
9211 (octave-help): Use octave-help-mode.
9213 2013-05-20 Glenn Morris <rgm@gnu.org>
9215 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9217 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9219 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9220 start at point, so that expansion starting right after opening
9221 slash in a regexp is recognized.
9222 (ruby-syntax-before-regexp-re): New defvar, extracted from
9223 ruby-syntax-propertize-function. Since the value of this regexp
9224 is looked up at runtime now, we should be able to turn
9225 `ruby-syntax-methods-before-regexp' into a defcustom later.
9226 (ruby-syntax-propertize-function): Split regexp matching into two
9227 parts, for opening and closing slashes. That allows us to skip
9228 over string interpolations and support multiline regexps.
9229 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9230 for them, which calls `ruby-syntax-propertize-expansion'.
9231 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9232 call to `ruby-syntax-propertize-function'.
9233 (ruby-syntax-propertize-expansion): Extracted from
9234 `ruby-syntax-propertize-expansions'. Handles one expansion.
9235 (ruby-syntax-propertize-percent-literal): Leave point right after
9236 the percent symbol, so that the expression expansion rule can
9237 propertize the contents.
9238 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9240 (ruby-syntax-propertize-expansions): Remove.
9242 2013-05-18 Juri Linkov <juri@jurta.org>
9244 * man.el (Man-default-man-entry): Remove `-' from the end
9245 of the default value. (Bug#14400)
9247 2013-05-18 Glenn Morris <rgm@gnu.org>
9249 * comint.el (comint-password-prompt-regexp):
9250 Allow "password for XXX" where XXX contains colons (eg https://...).
9252 2013-05-18 Leo Liu <sdl.web@gmail.com>
9254 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9255 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9256 (octave-source-directories): Don't check process.
9257 (octave-source-directories, octave-find-definition): Doc fix.
9259 2013-05-18 Glenn Morris <rgm@gnu.org>
9261 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9262 Remove backspace/delete bindings. (Bug#14392)
9264 * cus-dep.el (custom-make-dependencies): Sort the output.
9265 (custom-versions-load-alist): Convert comment to doc.
9267 2013-05-17 Leo Liu <sdl.web@gmail.com>
9269 * newcomment.el (comment-search-backward): Stricter in finding
9270 comment start. (Bug#14303)
9272 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9273 (octave-comment-start-skip): Properly anchored.
9275 2013-05-17 Leo Liu <sdl.web@gmail.com>
9277 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9278 Clean up when turned off. (Bug#14395)
9279 (smie--highlight-matching-block-overlay): No longer buffer-local.
9280 (smie-highlight-matching-block): Adjust.
9282 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9284 Doc string fix for "nanoseconds" (Bug#14406).
9285 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9286 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9288 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9290 * calc/calc-units.el (math-extract-units): Preserve powers
9293 2013-05-17 Leo Liu <sdl.web@gmail.com>
9295 * subr.el (delete-consecutive-dups): New function.
9296 * ido.el (ido-set-matches-1): Use it.
9297 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9298 * ido.el (ido-remove-consecutive-dups): Remove.
9300 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9302 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9303 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9304 regexp-opt's `words'.
9306 2013-05-16 Leo Liu <sdl.web@gmail.com>
9308 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9309 (smie--highlight-matching-block-overlay)
9310 (smie--highlight-matching-block-lastpos)
9311 (smie--highlight-matching-block-timer): New variables.
9312 (smie-highlight-matching-block): New function.
9313 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9314 (smie-setup): Conditionally enable smie-blink-matching-open.
9316 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9318 Sync with upstream verilog-mode r840.
9319 * progmodes/verilog-mode.el (verilog-mode-version)
9320 (verilog-mode-release-date): Update.
9321 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9322 (verilog-sig-tieoff): Fix string error on
9323 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9324 (verilog-read-decls): Fix parameters confusing
9325 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9327 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9329 * subr.el (reveal-filename): New function.
9331 * loadup.el: Compute Emacs executable versions on MS-Windows,
9332 where executables have the .exe extension. Add a hard link
9333 emacs-XX.YY.ZZ.exe on MS-Windows.
9335 * Makefile.in (XARGS_LIMIT): New variable.
9336 (custom-deps, finder-data, autoloads)
9337 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9338 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9339 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9340 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9342 2013-05-16 Leo Liu <sdl.web@gmail.com>
9344 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9345 (octave-mode-menu, octave-mode-map): Remove its uses.
9347 2013-05-16 Reto Zimmermann <reto@gnu.org>
9349 Sync with upstream vhdl mode v3.34.2.
9350 * progmodes/vhdl-mode.el: Use `push' throughout.
9351 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9352 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9353 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9354 (vhdl-actual-generic-name): New option to derive actual generic name.
9355 (vhdl-port-paste-signals): Replace formal by actual generics.
9356 (vhdl-beautify): New name for old group vhdl-align. Update users.
9357 (vhdl-beautify-options): New option.
9358 (vhdl-last-input-event): New compat alias. Use throughout.
9359 (vhdl-goto-line): Replace user level function `goto-line'.
9360 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9361 vhdl-fix-statement-buffer.
9362 (vhdl-create-mode-menu): Add some entries.
9363 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9364 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9365 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9366 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9367 to force statements on one line.
9368 (vhdl-remove-trailing-spaces-region):
9369 New, split from vhdl-remove-trailing-spaces.
9370 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9371 Respect vhdl-beautify-options.
9372 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9373 (vhdl-update-sensitivity-list): Not add with index if exists without.
9374 Not include array index with signal. Ignore keywords in comments.
9375 (vhdl-get-visible-signals): Regexp tweaks.
9376 (vhdl-template-component-inst): Handle empty library.
9377 (vhdl-template-type): Add template for 'enum' type.
9378 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9379 Use vhdl-replace-string.
9380 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9381 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9382 (vhdl-speedbar-initialize): Update for above name change.
9383 (vhdl-compose-wire-components): Fix in handling of constants.
9384 (vhdl-error-regexp-emacs-alist): New variable.
9385 (vhdl-error-regexp-add-emacs): New function;
9386 adds support for new compile.el (Emacs 22+)
9387 (vhdl-generate-makefile-1): Change target order for single lib. units.
9388 Allow use of absolute file names.
9390 2013-05-16 Leo Liu <sdl.web@gmail.com>
9392 * simple.el (prog-indent-sexp): Indent enclosing defun.
9394 2013-05-15 Glenn Morris <rgm@gnu.org>
9396 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9397 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9398 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9399 (whitespace-highlight): Move to whitespace group.
9401 * comint.el (comint-source):
9402 * pcmpl-linux.el (pcmpl-linux):
9403 * shell.el (shell-faces):
9404 * eshell/esh-opt.el (eshell-opt):
9405 * international/ccl.el (ccl): Remove empty custom groups.
9407 * completion.el (dynamic-completion-mode):
9408 * jit-lock.el (jit-lock-debug-mode):
9409 * minibuffer.el (completion-in-region-mode):
9410 * type-break.el (type-break-mode-line-message-mode)
9411 (type-break-query-mode):
9412 * emulation/tpu-edt.el (tpu-edt-mode):
9413 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9414 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9415 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9417 * term/xterm.el (xterm): Change parent group to terminals.
9419 * master.el (master): Remove empty custom group.
9420 (master-mode): Remove unused :group argument.
9421 * textmodes/refill.el (refill): Remove empty custom group.
9422 (refill-mode): Remove unused :group argument.
9424 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9426 * cus-dep.el: Provide a feature.
9427 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9428 Don't mistakenly ignore files whose basenames match a basename
9429 from preloaded-file-list (eg cedet/ede/simple.el).
9430 Add a fallback method for getting :group.
9432 2013-05-15 Juri Linkov <juri@jurta.org>
9434 * isearch.el (isearch-char-by-name): Rename from
9435 `isearch-insert-char-by-name'. Doc fix.
9436 (isearch-forward): Mention `isearch-char-by-name' in
9437 the docstring. (Bug#13348)
9439 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9440 `exit-minibuffer' instead of
9441 `isearch-nonincremental-exit-minibuffer'.
9442 (isearch-edit-string): Remove mention of
9443 `isearch-nonincremental-exit-minibuffer' from docstring.
9444 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9445 (isearch-forward-exit-minibuffer)
9446 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9448 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9450 * loadup.el: Just use unversioned DOC.
9452 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9453 literals as extending to EOB.
9454 (nxml-last-fontify-end): Remove unused variable.
9455 (nxml-after-change1): Use with-silent-modifications.
9456 (nxml-extend-after-change-region): Simplify.
9457 (nxml-extend-after-change-region1): Remove function.
9458 (nxml-after-change1): Don't adjust for dependent regions.
9459 (nxml-fontify-matcher): Simplify.
9460 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9461 (xmltok-add-dependent): Remove function.
9462 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9463 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9464 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9465 unclosed <[[, <?, comment, and other literals as extending to EOB.
9466 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9467 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9469 (rng-do-some-validation-1): Don't mark dependent regions.
9470 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9471 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9472 (nxml-clear-dependent-regions): Remove functions.
9473 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9474 (nxml-ensure-scan-up-to-date):
9475 Don't clear&mark dependent regions.
9477 2013-05-15 Leo Liu <sdl.web@gmail.com>
9479 * progmodes/octave.el (octave-goto-function-definition):
9480 Improve and fix callers.
9482 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9484 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9485 the setter (bug#14387).
9487 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9488 surrounding group (bug#14402).
9490 2013-05-14 Juri Linkov <juri@jurta.org>
9492 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9495 2013-05-14 Glenn Morris <rgm@gnu.org>
9497 * progmodes/f90.el (f90-imenu-generic-expression):
9498 Fix typo in 2013-05-08 change. (Bug#14402)
9500 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9502 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9503 Remove signals for which replies are never received.
9505 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9507 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9508 (gdb-handler-alist, gdb-handler-number): Remove variables.
9509 (gdb-handler-list): New variable.
9510 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9511 (gdb-pending-handler-p, gdb-handle-reply)
9512 (gdb-remove-all-pending-triggers): New functions.
9513 (gdb-discard-unordered-replies): New defcustom.
9514 (gdb-handler): New defstruct.
9515 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9516 instead of gdb-pending-triggers. Update docstring.
9517 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9518 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9519 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9520 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9521 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9522 (gdb-frame-handler): Pending triggers are now automatically managed.
9523 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9525 (gdb-input): Automatically handles pending triggers. Update docstring.
9526 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9527 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9529 (gdb-done-or-error): Now use gdb-handle-reply.
9531 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9533 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9536 2013-05-14 Glenn Morris <rgm@gnu.org>
9538 * subr.el (user-emacs-directory-warning): New option.
9539 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9541 2013-05-14 Leo Liu <sdl.web@gmail.com>
9543 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9545 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9546 (octave-font-lock-texinfo-comment): Fix invalid search bound
9547 error: wrong side of point.
9549 2013-05-14 Glenn Morris <rgm@gnu.org>
9551 * progmodes/flymake.el (flymake-xml-program): New option.
9552 (flymake-xml-init): Use it.
9554 * term/xterm.el: Provide a feature.
9556 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9558 2013-05-13 Glenn Morris <rgm@gnu.org>
9560 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9561 Add compat aliases as a hack workaround. (Bug#14384)
9563 2013-05-13 Leo Liu <sdl.web@gmail.com>
9565 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9567 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9569 (octave-comment-start-skip): Include %!.
9570 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9572 2013-05-12 Leo Liu <sdl.web@gmail.com>
9574 * progmodes/octave.el (inferior-octave-startup): Store the value
9575 of __octave_srcdir__ for octave-source-directories.
9576 (inferior-octave-check-process): New function refactored out of
9577 inferior-octave-send-list-and-digest.
9578 (octave-source-directories)
9579 (octave-find-definition-filename-function): New variables.
9580 (octave-source-directories)
9581 (octave-find-definition-default-filename): New functions.
9582 (octave-find-definition): Improve to find functions implemented in C++.
9584 2013-05-12 Glenn Morris <rgm@gnu.org>
9586 * calendar/diary-lib.el (diary-outlook-format-1):
9587 Don't include dayname in the output. (Bug#14349)
9589 2013-05-11 Glenn Morris <rgm@gnu.org>
9591 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9593 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9594 Treat cc-provide like provide.
9596 2013-05-11 Kevin Ryde <user42@zip.com.au>
9598 * cus-dep.el (custom-make-dependencies):
9599 Use generated-autoload-load-name for the sake of files such
9600 such cedet/semantic/bovine/c.el, where the base file name
9601 is not in load-path. (Bug#5277)
9603 2013-05-11 Glenn Morris <rgm@gnu.org>
9605 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9608 2013-05-11 Leo Liu <sdl.web@gmail.com>
9610 * progmodes/octave.el (octave-indent-comment): Improve.
9611 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9612 (octave-eldoc-function-signatures, octave-eldoc-function):
9614 (octave-mode, inferior-octave-mode): Add eldoc support.
9616 2013-05-11 Richard Stallman <rms@gnu.org>
9618 * epa.el (epa-decrypt-file): Take output file name as argument
9619 and read it using `interactive'.
9621 2013-05-11 Leo Liu <sdl.web@gmail.com>
9623 * progmodes/octave.el (octave-beginning-of-line)
9624 (octave-end-of-line): Check before using up-list because it jumps
9625 out of more syntactic contructs since moving to smie.
9626 (octave-indent-comment): New function.
9627 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9628 (octave-begin-keywords, octave-end-keywords)
9629 (octave-reserved-words, octave-smie-bnf-table)
9630 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9632 2013-05-11 Glenn Morris <rgm@gnu.org>
9634 * faces.el (internal-face-x-get-resource):
9635 * frame.el (ns-display-monitor-attributes-list):
9636 * calc/calc-aent.el (math-to-radians-2):
9637 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9640 * calc/calc-menu.el: Make it loadable in isolation.
9642 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9643 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9644 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9645 (eudc-bbdb-query-internal): Require 'bbdb.
9647 * lpr.el (lpr-headers-switches):
9648 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9650 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9652 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9654 * term.el (term-set-escape-char): Make it idempotent.
9656 2013-05-10 Leo Liu <sdl.web@gmail.com>
9658 * progmodes/octave.el (inferior-octave-completion-table):
9659 No longer a function and all uses changed. Use cache to speed up
9660 completion due to bug#11906.
9661 (octave-beginning-of-defun): Re-write to be more general.
9663 2013-05-10 Glenn Morris <rgm@gnu.org>
9665 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9667 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9669 * comint.el (comint-redirect-send-command-to-process): Use :around
9670 rather than :override for comint-redirect-filter.
9671 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9672 Call it instead of comint-redirect-original-filter-function (which
9673 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9675 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9677 * frame.el (display-monitor-attributes-list): Add NS case.
9678 (ns-display-monitor-attributes-list): Declare.
9680 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9682 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9684 2013-05-09 Glenn Morris <rgm@gnu.org>
9686 * international/fontset.el (vertical-centering-font-regexp):
9689 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9691 * bookmark.el (bookmark-search-delay):
9692 * cus-start.el (vertical-centering-font-regexp):
9693 * ps-mule.el (ps-mule-font-info-database-default):
9694 * ps-print.el (ps-default-fg, ps-default-bg):
9695 * type-break.el (type-break-good-break-interval):
9696 * whitespace.el (whitespace-indentation-regexp)
9697 (whitespace-space-after-tab-regexp):
9698 * emacs-lisp/testcover.el (testcover-1value-functions)
9699 (testcover-noreturn-functions, testcover-progn-functions)
9700 (testcover-prog1-functions):
9701 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9702 * eshell/em-glob.el (eshell-glob-translate-alist):
9703 * play/tetris.el (tetris-tty-colors):
9704 * progmodes/cpp.el (cpp-face-default-list):
9705 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9706 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9707 (idlwave-help-browser-generic-args):
9708 * progmodes/make-mode.el (makefile-special-targets-list):
9709 * progmodes/python.el (python-shell-virtualenv-path):
9710 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9711 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9712 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9713 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9714 * textmodes/reftex-vars.el (reftex-format-label-function):
9715 * textmodes/remember.el (remember-diary-file): Fix custom types.
9717 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9720 2013-05-09 Leo Liu <sdl.web@gmail.com>
9722 * progmodes/octave.el (inferior-octave-completion-at-point):
9723 Restore file completion. (Bug#14300)
9724 (inferior-octave-startup): Fix incorrect highlighting for the
9727 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9729 * progmodes/ruby-mode.el: First cut at SMIE support.
9730 (ruby-use-smie): New var.
9731 (ruby-smie-grammar): New constant.
9732 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9733 (ruby-smie--forward-token, ruby-smie--backward-token)
9734 (ruby-smie-rules): New functions.
9735 (ruby-mode-variables): Setup SMIE if applicable.
9737 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9739 * simple.el (line-move-visual): Signal beginning/end of buffer
9740 only if vertical-motion moved less than it was requested. Avoids
9741 silly incorrect error messages when there are display strings with
9742 multiple newlines at EOL.
9744 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9746 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9747 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9748 (prolog-char-quote-workaround):
9749 * progmodes/cperl-mode.el (cperl-under-as-char):
9750 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9752 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9754 (vhdl-mode-syntax-table-init): Remove.
9756 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9759 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9761 (ld-script-font-lock-keywords):
9762 Change regexps to use things like \_< and \_>.
9764 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9765 Change all regexps to use things like \_< and \_>.
9767 * progmodes/autoconf.el (autoconf-definition-regexp)
9768 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9769 Handle a _ with symbol syntax.
9770 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9772 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9773 Consolidate declaration.
9774 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9776 (ada-create-syntax-table): Remove.
9777 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9778 already has the right syntax nowadays.
9779 (ada-goto-next-word): Don't change the syntax of "_".
9781 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9784 2013-05-08 Sam Steingold <sds@gnu.org>
9786 * thingatpt.el (thing-at-point): Accept optional second argument
9787 NO-PROPERTIES to strip the text properties from the return value.
9788 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9789 to `thing-at-point' instead of stripping the properties ourselves.
9790 Also, when `thing-at-point' fails to find a url, prepend "http://"
9791 to the filename at point on the assumption that the user is
9792 pointing at something like gnu.org/gnu.
9794 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9796 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9797 * faces.el (crm-separator):
9798 Silence byte-compiler.
9800 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9801 (tool-bar-map): Remove unneeded defvars.
9803 2013-05-08 Leo Liu <sdl.web@gmail.com>
9805 Re-work a fix for bug#10994 based on Le Wang's patch.
9806 * ido.el (ido-remove-consecutive-dups): New helper.
9807 (ido-completing-read): Use it.
9808 (ido-chop): Revert fix for bug#10994.
9810 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9812 * cus-edit.el (custom-save-variables):
9813 Pretty-print long values. (Bug#14187)
9815 2013-05-08 Glenn Morris <rgm@gnu.org>
9817 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9818 (m4-mode-syntax-table): Init in the defvar.
9819 (m4-mode-abbrev-table): Let define-derived-mode define it.
9821 2013-05-08 Tom Tromey <tromey@redhat.com>
9823 * progmodes/m4-mode.el (m4-mode-syntax-table):
9824 Do not treat "_" as word constituent. (Bug#14167)
9826 2013-05-07 Glenn Morris <rgm@gnu.org>
9828 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9829 Remove explicit eshell-isearch-cancel-map.
9831 * progmodes/f90.el (f90-smart-end-names): New option.
9832 (f90-smart-end): Doc fix.
9833 (f90-end-block-optional-name): New constant.
9834 (f90-block-match): Respect f90-smart-end-names.
9836 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9838 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9839 about implicit semi-colons (bug#14218).
9841 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9843 * frame.el (display-monitor-attributes-list)
9844 (frame-monitor-attributes): New functions.
9846 2013-05-06 Leo Liu <sdl.web@gmail.com>
9848 * progmodes/octave.el (octave-syntax-propertize-function): Change
9849 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9850 (octave-font-lock-keywords): Use octave-operator-regexp.
9851 (octave-completion-at-point): Rename from
9852 octave-completion-at-point-function.
9853 (inferior-octave-directory-tracker): Robustify.
9854 (octave-text-functions): Remove and fix its uses. No such things
9857 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9859 * emacs-lisp/trace.el (trace--display-buffer): New function.
9860 (trace-make-advice): Use it.
9862 2013-05-06 Juri Linkov <juri@jurta.org>
9864 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9865 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9867 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9868 in the help string. (Bug#12985)
9870 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9872 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9874 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9876 * progmodes/perl-mode.el: Add support for here documents.
9877 (perl-syntax-propertize-function): Match here-doc markers.
9878 (perl-syntax-propertize-special-constructs): Find their end.
9879 (perl-imenu-generic-expression): Use [:alnum:].
9881 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9882 (advice--add-function): Refresh the advice if already present
9885 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9887 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9889 2013-05-06 Glenn Morris <rgm@gnu.org>
9891 * w32-fns.el (w32-charset-info-alist): Declare.
9893 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9894 of its defcustom properties.
9895 (eshell-cmpl-initialize): No need to load pcomplete.
9897 * generic-x.el: No need to require comint when compiling.
9899 * net/eudc-export.el: Make it loadable without bbdb.
9900 (top-level): Use require rather than load-library.
9901 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9902 (eudc-batch-export-records-to-bbdb)
9903 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9906 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9908 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9909 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9910 some tweaks, instead.
9912 2013-05-05 Leo Liu <sdl.web@gmail.com>
9914 * progmodes/octave.el (octave-font-lock-keywords)
9915 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9916 (inferior-octave-send-list-and-digest): Improve error message.
9917 (octave-mode, inferior-octave-mode): Use setq-local.
9918 (octave-help): Set info-lookup-mode.
9920 2013-05-05 Richard Stallman <rms@gnu.org>
9922 * vc/compare-w.el (compare-windows-whitespace):
9923 Treat no-break space as whitespace.
9925 * mail/rmailsum.el (rmail-summary-rmail-update):
9926 Detect empty summary and don't change selected message.
9927 (rmail-summary-goto-msg): Likewise.
9929 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9930 Doc fixes, rename args.
9932 2013-05-05 Alan Mackenzie <acm@muc.de>
9934 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9936 2013-05-05 Juri Linkov <juri@jurta.org>
9938 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9939 to not add the length of the summary segment to the return value.
9942 2013-05-05 Leo Liu <sdl.web@gmail.com>
9944 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9945 (inferior-octave-output-filter): Remove.
9946 (octave-send-region, inferior-octave-startup): Fix callers.
9947 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9948 (octave-binary-file-extensions): New user variable.
9949 (octave-find-definition): Confirm if opening binary files.
9950 (octave-help-file): Use octave-find-definition to get the binary
9952 (octave-help): Adjust for octave-help-file change.
9954 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9956 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9957 Merge the two entries that handle function definitions.
9958 (pascal--syntax-propertize): New const.
9959 (pascal-mode): Use it. Use setq-local.
9961 2013-05-04 Glenn Morris <rgm@gnu.org>
9963 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9964 (diary-from-outlook): Respect diary-from-outlook-function.
9966 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9968 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9969 Move the declaration from C.
9970 (read-minibuffer, eval-minibuffer): Move from C.
9971 (completion-setup-function): Avoid minibuffer-completion-contents.
9973 2013-05-03 Leo Liu <sdl.web@gmail.com>
9975 * progmodes/octave.el (octave-font-lock-keywords): Do not
9976 dehighlight 'end' in comments or strings.
9977 (octave-completing-read, octave-goto-function-definition):
9979 (octave-help-buffer): New user variable.
9980 (octave-help-file, octave-help-function): New button types.
9981 (octave-help): New command and bind it to C-h ;.
9982 (octave-find-definition): New command and bind it to M-.
9983 (user-error): Alias to error if not defined.
9985 2013-05-02 Leo Liu <sdl.web@gmail.com>
9987 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9989 (octave-font-lock-keywords): Include [ and {.
9991 2013-05-02 Leo Liu <sdl.web@gmail.com>
9993 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9994 (inferior-octave): Remove calling comint-mode and return the buffer.
9995 (inferior-octave-startup): Cosmetic changes.
9997 2013-05-02 Leo Liu <sdl.web@gmail.com>
9999 * progmodes/octave.el (octave-syntax-propertize-function):
10000 Include the case when ' is at line beginning. (Bug#14336)
10002 2013-05-02 Glenn Morris <rgm@gnu.org>
10004 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10005 * desktop.el (vc-dir-mode): Just autoload it here.
10007 2013-05-02 Alan Mackenzie <acm@muc.de>
10009 Eliminate variable c-standard-font-lock-fontify-region-function.
10010 * progmodes/cc-mode.el
10011 (c-standard-font-lock-fontify-region-function): Remove.
10012 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10014 2013-05-01 Leo Liu <sdl.web@gmail.com>
10016 * progmodes/octave.el: Compatible with older emacs-24 releases.
10017 (inferior-octave-has-built-in-variables): Remove. Built-in
10018 variables were removed from Octave in 2007.
10019 (inferior-octave-startup): Fix uses.
10020 (comint-line-beginning-position): Remove compatibility code for
10023 2013-05-01 Juri Linkov <juri@jurta.org>
10025 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10027 2013-05-01 Juri Linkov <juri@jurta.org>
10029 * comint.el (comint-previous-matching-input): Don't print message
10030 "History item: %d" when `isearch-mode' is active.
10031 (comint-history-isearch-message): Print message "History item: %d"
10032 when `comint-input-ring-index' is not empty and this function is
10033 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10035 2013-05-01 Leo Liu <sdl.web@gmail.com>
10037 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10038 definitions. Use completion-at-point to insert keywords.
10039 (octave-abbrev-start): Remove.
10040 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10042 2013-04-30 Leo Liu <sdl.web@gmail.com>
10044 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10047 2013-04-30 Alan Mackenzie <acm@muc.de>
10049 Handle arbitrarily long C++ member initialisation lists.
10050 * progmodes/cc-engine.el (c-back-over-member-initializers):
10052 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10053 (most) member init lists.
10055 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10057 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10060 2013-04-30 Leo Liu <sdl.web@gmail.com>
10062 * progmodes/octave.el (octave-variables): Remove. No builtin
10063 variables any more. All converted to functions.
10064 (octave-font-lock-keywords, octave-completion-at-point-function):
10066 (octave-font-lock-texinfo-comment): New user variable.
10067 (octave-texinfo-font-lock-keywords): New variable for texinfo
10069 (octave-function-comment-block): New face.
10070 (octave-font-lock-texinfo-comment): New function.
10071 (octave-mode): Font lock texinfo comment block.
10073 2013-04-29 Leo Liu <sdl.web@gmail.com>
10075 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10076 indexing expression.
10077 (octave-continuation-string): Do not use \.
10078 (inferior-octave-complete-impossible): Remove.
10079 (inferior-octave-completion-table)
10080 (inferior-octave-completion-at-point): Remove its uses.
10081 (inferior-octave-startup): completion_matches was introduced to
10082 Octave in 1996 so safe to assume it.
10083 (octave-function-file-comment): Improve to follow how Octave does it.
10084 (octave-update-function-file-comment): Tweak.
10086 2013-04-29 Leo Liu <sdl.web@gmail.com>
10088 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10089 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10090 (octave-function-file-comment): Fix typo.
10091 (octave-sync-function-file-names): Use read-char-choice.
10093 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10095 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10096 to t for the less important warnings.
10098 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10100 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10102 2013-04-27 Glenn Morris <rgm@gnu.org>
10104 * vc/log-view.el (log-view-current-entry):
10105 Treat "---" separator lines as part of the following rev. (Bug#14169)
10107 2013-04-27 Juri Linkov <juri@jurta.org>
10109 * subr.el (read-number): Doc fix about using it by interactive
10110 code letter `n'. (Bug#14254)
10112 2013-04-27 Juri Linkov <juri@jurta.org>
10114 * desktop.el (desktop-auto-save-timeout): New option.
10115 (desktop-file-checksum): New variable.
10116 (desktop-save): Add optional arg `auto-save' and don't auto-save
10117 if nothing changed.
10118 (desktop-auto-save-timer): New variable.
10119 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10120 (after-init-hook): Call `desktop-auto-save-set-timer'.
10121 Suggested by Reuben Thomas <rrt@sc3d.org> in
10122 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10124 2013-04-27 Leo Liu <sdl.web@gmail.com>
10126 * progmodes/octave.el (octave-function-file-p)
10127 (octave-skip-comment-forward, octave-function-file-comment)
10128 (octave-update-function-file-comment): New functions.
10129 (octave-mode-map): Bind C-c ; to
10130 octave-update-function-file-comment.
10131 (octave-mode-menu): Add octave-update-function-file-comment.
10132 (octave-mode, inferior-octave-mode): Fix doc-string.
10133 (octave-insert-defun): Conform to Octave's coding convention.
10136 * files.el (basic-save-buffer): Don't let errors in
10137 before-save-hook prevent saving buffer.
10139 2013-04-20 Roland Winkler <winkler@gnu.org>
10141 * faces.el (read-face-name): Use completing-read if arg multiple
10144 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10146 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10147 displayed, move point to after the totals line.
10148 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10151 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10153 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10154 Add current dir to the load-path.
10155 (package-generate-autoloads): Don't rely on
10156 autoload-ensure-default-file.
10158 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10160 * textmodes/remember.el (remember-store-in-files): Document that
10161 the file name format is passed to `format-time-string'.
10163 2013-04-26 Leo Liu <sdl.web@gmail.com>
10165 * progmodes/octave.el (octave-sync-function-file-names): New function.
10166 (octave-mode): Use it in before-save-hook.
10168 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10170 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10173 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10174 \n and comment, even if it's not an implicit ; (bug#14218).
10176 2013-04-26 Glenn Morris <rgm@gnu.org>
10178 * subr.el (read-number): Once more use `read' rather than
10179 `string-to-number', to trap non-numeric input. (Bug#14254)
10181 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10183 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10184 Use `syntax-multiline' text property consistently instead of
10185 `font-lock-multiline'. (Bug#14237)
10187 2013-04-26 Glenn Morris <rgm@gnu.org>
10189 * emacs-lisp/shadow.el (list-load-path-shadows):
10190 No longer necessary to check for duplicate simple.el, since
10191 2012-07-07 change to init_lread to not include installation lisp
10192 directories in load-path when running uninstalled. (Bug#14270)
10194 2013-04-26 Leo Liu <sdl.web@gmail.com>
10196 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10197 (octave-mode, inferior-octave-mode): Use setq-local.
10198 (octave-not-in-string-or-comment-p): Rename to
10199 octave-in-string-or-comment-p.
10200 (octave-in-comment-p, octave-in-string-p)
10201 (octave-in-string-or-comment-p): Replace defsubst with defun.
10203 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10205 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10207 2013-04-25 Bastien Guerry <bzg@gnu.org>
10209 * textmodes/remember.el (remember-data-directory)
10210 (remember-directory-file-name-format): Fix custom types.
10212 2013-04-25 Leo Liu <sdl.web@gmail.com>
10214 * progmodes/octave.el (octave-completion-at-point-function):
10215 Make use of inferior octave process.
10216 (octave-initialize-completions): Remove.
10217 (inferior-octave-completion-table): New function.
10218 (inferior-octave-completion-at-point): Use it.
10219 (octave-completion-alist): Remove.
10221 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10223 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10224 (opascal-mode-syntax-table): New var.
10225 (opascal-literal-kind, opascal-is-literal-end)
10226 (opascal-literal-token-at): Rewrite.
10227 (opascal--literal-start-re, opascal-font-lock-keywords)
10228 (opascal--syntax-propertize): New constants.
10229 (opascal-font-lock-defaults): Adjust.
10230 (opascal-mode): Use them. Set comment-<foo> variables as well.
10231 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10232 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10233 (delphi-other-face, opascal-other-face): Remove face variables.
10234 (opascal-save-state): Remove macro.
10235 (opascal-fontifying-progress-step): Remove constant.
10236 (opascal--ignore-changes): Remove var.
10237 (opascal-set-token-property, opascal-parse-next-literal)
10238 (opascal-is-stable-literal, opascal-complete-literal)
10239 (opascal-is-literal-start, opascal-face-of)
10240 (opascal-parse-region, opascal-parse-region-until-stable)
10241 (opascal-fontify-region, opascal-after-change)
10242 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10243 (opascal-debug-parse-region, opascal-debug-parse-window)
10244 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10245 (opascal-debug-fontify-buffer): Remove.
10246 (opascal-debug-mode-map): Adjust accordingly.
10248 2013-04-25 Leo Liu <sdl.web@gmail.com>
10250 Merge octave-mod.el and octave-inf.el into octave.el with some
10252 * progmodes/octave.el: New file renamed from octave-mod.el.
10253 * progmodes/octave-inf.el: Merged into octave.el.
10254 * progmodes/octave-mod.el: Renamed to octave.el.
10256 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10258 * textmodes/reftex-vars.el
10259 (reftex-label-ignored-macros-and-environments): New defcustom.
10261 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10263 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10265 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10266 (smie-indent-keyword): Improve the check to ensure that the next
10267 comment is really on the same line.
10268 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10270 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10271 semi-colons if the line is not otherwise empty (bug#14218).
10273 2013-04-25 Glenn Morris <rgm@gnu.org>
10275 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10277 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10279 * progmodes/opascal.el (opascal-set-token-property): Rename from
10280 opascal-set-text-properties and only set `token' (bug#14134).
10281 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10282 (opascal-literal-text-properties): Remove.
10283 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10286 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10288 * textmodes/remember.el (remember-handler-functions): Add an
10289 option for a new handler `remember-store-in-files'.
10290 (remember-data-directory, remember-directory-file-name-format):
10292 (remember-store-in-files): New function to store remember notes
10293 as separate files within a directory.
10295 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10297 * progmodes/compile.el (compilation-next-error-function):
10298 Pass "formats" to compilation-find-file (bug#11777).
10300 2013-04-24 Glenn Morris <rgm@gnu.org>
10302 * vc/vc-bzr.el (vc-bzr-print-log):
10303 * vc/vc-hg.el (vc-hg-print-log):
10304 * vc/vc-svn.el (vc-svn-print-log):
10305 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10307 * vc/vc-bzr.el (vc-bzr-print-log):
10308 * vc/vc-cvs.el (vc-cvs-print-log):
10309 * vc/vc-git.el (vc-git-print-log):
10310 * vc/vc-hg.el (vc-hg-print-log):
10311 * vc/vc-mtn.el (vc-mtn-print-log):
10312 * vc/vc-rcs.el (vc-rcs-print-log):
10313 * vc/vc-sccs.el (vc-sccs-print-log):
10314 * vc/vc-svn.el (vc-svn-print-log):
10315 * vc/vc.el (vc-print-log-internal): Doc fixes.
10317 2013-04-23 Glenn Morris <rgm@gnu.org>
10319 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10320 Remove venerable code attempting to avoid substitute-command-keys.
10322 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10324 * textmodes/reftex-vars.el (reftex-label-regexps):
10325 Call `reftex-compile-variables' after changes to this variable.
10327 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10329 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10330 Use lexical-binding.
10331 (jit-lock-force-redisplay): Use markers, check buffer's continued
10332 existence and beware narrowed buffers.
10333 (jit-lock-fontify-now): Adjust call accordingly.
10335 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10337 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10338 to avoid misleading the user.
10340 2013-04-22 Leo Liu <sdl.web@gmail.com>
10342 * info-look.el: Prefer latex2e.info. (Bug#14240)
10344 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10346 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10348 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10349 * net/tramp.el (tramp-call-process): ... here.
10350 (tramp-set-completion-function, tramp-parse-putty):
10351 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10352 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10353 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10354 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10355 (tramp-call-local-coding-command): Use `tramp-call-process'
10356 instead of `tramp-compat-call-process'.
10358 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10359 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10360 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10361 (tramp-find-inline-compress): Improve traces.
10362 (tramp-maybe-send-script): Check for Perl binary.
10363 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10365 2013-04-22 Daiki Ueno <ueno@gnu.org>
10367 * epg.el (epg-context-pinentry-mode): New function.
10368 (epg-context-set-pinentry-mode): New function.
10369 (epg--start): Pass --pinentry-mode option to gpg command.
10371 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10373 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10374 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10375 `completion-at-point'. (Bug#13774)
10377 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10378 default key binding for `describe-distribution' has been moved to
10379 `C-h C-o'. (Bug#13970)
10381 2013-04-21 Glenn Morris <rgm@gnu.org>
10383 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10385 (vc-print-log): Clarify interactive prompt.
10387 2013-04-20 Glenn Morris <rgm@gnu.org>
10389 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10390 No longer include timestamp etc information.
10392 2013-04-20 Roland Winkler <winkler@gnu.org>
10394 * faces.el (read-face-name): Bug fix, return just one face if arg
10395 multiple is nil. (Bug#14209)
10397 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10399 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10400 (remove-function): Autoload.
10402 * comint.el (comint-redirect-original-filter-function): Remove.
10403 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10404 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10405 (vc-cvs-annotate-command):
10406 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10407 * progmodes/prolog.el (prolog-consult-compile):
10408 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10409 Use add/remove-function instead.
10410 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10411 (gud-tooltip-process-output, gud-tooltip-tips):
10412 Use add/remove-function instead.
10413 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10414 (scheme-interaction-mode, exit-scheme-interaction-mode):
10415 Use add/remove-function instead.
10417 * vc/vc-dispatcher.el: Use lexical-binding.
10418 (vc--process-sentinel): Rename from vc-process-sentinel.
10419 Change last arg to be the code to run. Don't use vc-previous-sentinel
10420 and vc-sentinel-commands any more.
10421 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10422 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10424 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10426 * progmodes/sh-script.el (sh-imenu-generic-expression):
10427 Handle function names with a single character. (Bug#14111)
10429 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10431 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10432 for subroutines defined in an eval (bug#14182).
10434 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10436 * bookmark.el (bookmark-completing-read): Improve handling of empty
10437 string (bug#14176).
10439 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10441 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10443 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10445 New faster Imenu implementation (bug#14058).
10446 * progmodes/python.el:
10447 (python-imenu-prev-index-position):
10448 (python-imenu-format-item-label-function)
10449 (python-imenu-format-parent-item-label-function)
10450 (python-imenu-format-parent-item-jump-label-function):
10452 (python-imenu-format-item-label)
10453 (python-imenu-format-parent-item-label)
10454 (python-imenu-format-parent-item-jump-label)
10455 (python-imenu--put-parent, python-imenu--build-tree)
10456 (python-imenu-create-index, python-imenu-create-flat-index)
10457 (python-util-popn): New functions.
10458 (python-mode): Set imenu-create-index-function to
10459 python-imenu-create-index.
10461 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10463 * winner.el (winner-active-region): Use region-active-p, activate-mark
10464 and deactivate-mark (bug#14225).
10466 * simple.el (deactivate-mark): Don't inline it.
10468 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10470 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10472 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10474 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10475 file extensions from the archive-mode entry in order to prefer
10476 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10478 2013-04-18 Leo Liu <sdl.web@gmail.com>
10480 * bindings.el (help-event-list): Add ?\?.
10482 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10484 * subr.el (with-wrapper-hook): Declare obsolete.
10485 * simple.el (filter-buffer-substring-function): New hook.
10486 (filter-buffer-substring): Use it.
10487 (filter-buffer-substring-functions): Mark obsolete.
10488 * minibuffer.el (completion-in-region-function): New hook.
10489 (completion-in-region): Use it.
10490 (completion-in-region-functions): Mark obsolete.
10491 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10492 * abbrev.el (abbrev-expand-function): New hook.
10493 (expand-abbrev): Use it.
10494 (abbrev-expand-functions): Mark obsolete.
10495 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10496 and :filter-return.
10498 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10500 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10501 and do not care about match data.
10503 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10505 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10506 completion tables when completing error conditions and
10507 `declare' arguments.
10508 (lisp-complete-symbol, field-complete): Mark as obsolete.
10509 (check-parens): Unmatched parens are user errors.
10510 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10512 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10514 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10515 command changed buffer (ie. `flyspell-pre-buffer' is not current
10516 buffer), which prevents making decisions based on invalid value of
10517 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10518 cause an error when `flyspell-pre-point' was nil after switching
10520 (flyspell-post-command-hook): No longer needs to change buffers when
10521 checking pre-word. While at it remove unnecessary progn.
10523 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10525 * textmodes/ispell.el (ispell-add-per-file-word-list):
10526 Fix `flyspell-correct-word-before-point' error when accepting
10527 words and `coment-padding' is an integer by using
10528 `comment-normalize-vars' (Bug #14214).
10530 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10532 New defun movement commands.
10533 * progmodes/python.el (python-nav--syntactically)
10534 (python-nav--forward-defun, python-nav-backward-defun)
10535 (python-nav-forward-defun): New functions.
10537 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10539 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10540 (python-syntax-context): Use named compiler-macro for backwards
10541 compatibility with Emacs 24.x.
10543 2013-04-17 Leo Liu <sdl.web@gmail.com>
10545 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10546 octave-hide-process-buffer.
10548 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10550 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10553 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10555 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10556 Fix adjustment of offset when receiving incomplete responses from GDB
10559 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10561 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10562 python-mode-abbrev-table.
10563 (python-skeleton-define): Adjust accordingly.
10564 (python-mode-abbrev-table): New table that inherits from it so that
10565 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10567 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10568 (abbrev-symbol): Use it.
10569 (abbrev--before-point): Use it since we already handle inheritance.
10571 2013-04-16 Leo Liu <sdl.web@gmail.com>
10573 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10574 binding to info-lookup-symbol.
10576 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10578 * minibuffer.el (completion--twq-all):
10579 * term/ns-win.el (ns-initialize-window-system):
10580 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10582 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10584 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10587 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10589 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10591 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10592 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10594 (ruby-end-of-defun): Remove the unused arg, change the docstring
10595 to reflect that this function is only used as the value of
10596 `end-of-defun-function'.
10597 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10598 to reflect an earlier change that beginning/end-of-defun functions
10599 jump between methods in a class definition, as well as top-level
10602 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10604 * minibuffer.el (minibuffer-complete): Don't just scroll
10605 a *Completions* that's been iconified.
10606 (minibuffer-force-complete): Make sure repetitions do cycle when going
10607 through completion-in-region -> minibuffer-complete.
10609 2013-04-15 Alan Mackenzie <acm@muc.de>
10611 Correct the placement of c-cpp-delimiters when there're #s not at
10614 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10615 place a submatch around the #.
10616 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10617 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10620 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10622 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10623 (advice--member-p): New arg `name'.
10624 (advice--add-function, advice-member-p): Use it (bug#14202).
10626 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10628 Reformulate java imenu-generic-expression.
10629 The old expression contained ill formed regexps.
10631 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10632 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10633 (cc-imenu-java-method-arg-regexp): New defconsts.
10634 (cc-imenu-java-build-type-args-regex): New defun.
10635 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10636 handling of spaces in the regexp.
10638 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10640 * textmodes/ispell.el (ispell-command-loop): Remove
10641 flyspell highlight of a word when ispell accepts it (bug #14178).
10643 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10645 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10646 uses code from the previous `ange-ftp-run-real-handler'.
10647 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10648 only in case that function exist. This is needed for proper
10649 unloading of Tramp.
10651 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10653 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10655 * textmodes/reftex.el (reftex-compile-variables): Use it.
10657 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10659 * files.el (normal-mode): Only use default major-mode if no other mode
10662 * emacs-lisp/trace.el (trace-values): New function.
10664 * files.el: Allow : in local variables (bug#14089).
10665 (hack-local-variable-regexp): New var.
10666 (hack-local-variables-prop-line, hack-local-variables): Use it.
10668 2013-04-13 Roland Winkler <winkler@gnu.org>
10670 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10671 data before it gets modified by bibtex-beginning-of-entry.
10673 2013-04-13 Roland Winkler <winkler@gnu.org>
10675 * textmodes/bibtex.el (bibtex-url): Doc fix.
10677 2013-04-13 Roland Winkler <winkler@gnu.org>
10679 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10680 does not visit a BibTeX file, exclude it from the list of buffers
10681 returned by bibtex-initialize.
10683 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10685 * window.el (split-window): Remove interactive form, since as a
10686 command this function is a special case of split-window-below.
10687 Correct doc string.
10689 2013-04-12 Roland Winkler <winkler@gnu.org>
10691 * faces.el (read-face-name): Do not override value of arg default.
10692 Allow single faces and strings as default values. Remove those
10693 elements from return value that are not faces.
10694 (describe-face): Simplify.
10695 (face-at-point): New optional args thing and multiple so that this
10696 function can provide the same functionality previously provided by
10698 (make-face-bold, make-face-unbold, make-face-italic)
10699 (make-face-unitalic, make-face-bold-italic, invert-face)
10700 (modify-face, read-face-and-attribute): Use face-at-point.
10702 * cus-edit.el (customize-face, customize-face-other-window)
10703 * cus-theme.el (custom-theme-add-face)
10704 * face-remap.el (buffer-face-set)
10705 * facemenu.el (facemenu-set-face): Use face-at-point.
10707 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10709 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10711 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10713 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10714 off leading { and trailing } from field values.
10716 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10718 * emacs-lisp/timer.el (timer--check): New function.
10719 (timer--time, timer-set-function, timer-event-handler): Use it.
10720 (timer-set-idle-time): Simplify.
10721 (timer--activate): CSE.
10722 (timer-event-handler): Give more info in error message.
10723 (internal-timer-start-idle): New function, moved from C.
10725 * mpc.el (mpc-proc): Add `restart' argument.
10726 (mpc-proc-cmd): Use it.
10727 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10728 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10731 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10733 * progmodes/sh-script.el: Implement `sh-mode' own
10734 `add-log-current-defun-function' (bug#14112).
10735 (sh-current-defun-name): New function.
10736 (sh-mode): Use the function.
10738 2013-04-09 Bastien Guerry <bzg@gnu.org>
10740 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10742 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10744 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10746 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10749 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10751 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10754 2013-04-07 Leo Liu <sdl.web@gmail.com>
10756 * pcmpl-x.el: New file.
10758 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10760 Do not set x-display-name until X connection is established.
10761 This is needed to prevent from weird situation described at
10762 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10763 * frame.el (make-frame): Set x-display-name after call to
10764 window system initialization function, not before.
10765 * term/x-win.el (x-initialize-window-system): Add optional
10766 display argument and use it.
10767 * term/w32-win.el (w32-initialize-window-system):
10768 * term/ns-win.el (ns-initialize-window-system):
10769 * term/pc-win.el (msdos-initialize-window-system):
10770 Add compatible optional display argument.
10772 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10774 * files.el (normal-backup-enable-predicate): On MS-Windows and
10775 MS-DOS compare truenames of temporary-file-directory and of the
10776 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10777 don't fail comparison by compare-strings. Also, compare file
10778 names case-insensitively on MS-Windows and MS-DOS.
10780 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10782 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10783 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10785 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10787 * whitespace.el (whitespace-color-on, whitespace-color-off):
10788 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10790 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10792 * ispell.el (ispell-set-spellchecker-params):
10793 Really set `ispell-args' for all equivs.
10795 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10797 * ido.el (ido-completions): Use extra elements of ido-decorations
10799 (ido-decorations): Update docstring.
10801 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10803 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10804 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10805 nil during initialization, in order not to miss changes since the
10806 file was opened. (Bug#14140)
10808 2013-04-05 Leo Liu <sdl.web@gmail.com>
10810 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10812 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10814 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10816 2013-04-04 Glenn Morris <rgm@gnu.org>
10818 * electric.el (electric-pair-inhibit-predicate): Add :version.
10820 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10822 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10823 when a package is required several times (bug#14082).
10825 2013-04-04 Roland Winkler <winkler@gnu.org>
10827 * faces.el (read-face-name): Behave as promised by the docstring.
10828 Assume that arg default is a list of faces.
10829 (describe-face): Call read-face-name with list of default faces.
10831 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10833 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10834 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10835 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10837 (bookmark-exit-hook-internal): Save even if list is empty.
10839 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10841 * emacs-lisp/package.el (package-pinned-packages): New var.
10842 (package--add-to-archive-contents): Obey it (bug#14118).
10844 2013-04-03 Alan Mackenzie <acm@muc.de>
10846 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10847 Also adapt to the new values of element 7 of a parse state.
10849 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10850 parameter `not-in-delimiter'. Handle being inside comment opener.
10851 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10852 character in case we're typing a '*' after a '/'.
10853 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10854 instead by passing the parameter to c-state-pp-to-literal.
10856 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10857 for elt. 7 of a parse state.
10859 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10861 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10862 * international/latin1-disp.el, international/mule-util.el:
10863 * language/cyril-util.el, language/european.el, language/ind-util.el:
10864 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10865 * language/tibetan.el, language/viet-util.el:
10866 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10868 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10870 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10871 (electric-pair-post-self-insert-function): Use it.
10872 (electric-pair-default-inhibit): New function, extracted from
10873 electric-pair-post-self-insert-function.
10875 2013-03-31 Roland Winkler <winkler@gnu.org>
10877 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10879 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10881 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10883 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10885 Un-indent after "pass" and "return" statements (Bug#13888)
10886 * progmodes/python.el (python-indent-block-enders): New var.
10887 (python-indent-calculate-indentation): Use it.
10889 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10891 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10892 defun. Defining it as defalias could introduce too eager
10893 byte-compiler optimization. (Bug#14030)
10895 2013-03-30 Chong Yidong <cyd@gnu.org>
10897 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10899 2013-03-30 Leo Liu <sdl.web@gmail.com>
10901 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10902 (kmacro-execute-from-register): Pass the keyboard macro to
10903 kmacro-call-macro or repeating won't work correctly.
10905 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10907 * progmodes/subword.el: Back to using `forward-symbol'.
10909 * subr.el (forward-whitespace, forward-symbol)
10910 (forward-same-syntax): Move from thingatpt.el.
10912 2013-03-29 Leo Liu <sdl.web@gmail.com>
10914 * kmacro.el (kmacro-to-register): New command.
10915 (kmacro-execute-from-register): New function.
10916 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10918 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10920 * mpc.el: Use defvar-local and setq-local.
10921 (mpc--proc-connect): Connection failures are not bugs.
10922 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10923 (mpc-volume-map): Bind to the up-events.
10925 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10927 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10928 instead of `forward-symbol'.
10930 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10932 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10933 (edebug--recursive-edit): Use it.
10934 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10935 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10937 2013-03-28 Leo Liu <sdl.web@gmail.com>
10939 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10941 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10943 * facemenu.el (list-colors-callback): New defvar.
10944 (list-colors-redisplay): New function.
10945 (list-colors-display): Install list-colors-redisplay as the
10946 revert-buffer-function. (Bug#14063)
10948 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10950 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10951 and suffixes don't overlap (bug#14061).
10953 * case-table.el: Use lexical-binding.
10954 (case-table-get-table): New function.
10955 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10957 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10959 * progmodes/subword.el: Add `superword-mode' to do word motion
10960 over symbol_words (parallels and leverages `subword-mode' which
10961 does word motion inside MixedCaseWords).
10963 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10965 * eshell/em-unix.el: Move su and sudo to...
10966 * eshell/em-tramp.el: ...Eshell tramp module.
10968 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10970 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10971 Change return value to be a sexp. Delay `get-buffer' to after
10972 restoring the desktop (bug#13951).
10974 2013-03-26 Leo Liu <sdl.web@gmail.com>
10976 * register.el: Move semantic tag handling back to
10977 cedet/semantic/senator.el. (Bug#14052)
10979 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10981 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10982 into the prompt either (bug#13963).
10984 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10986 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10987 part of "(error-foo)".
10989 2013-03-24 Juri Linkov <juri@jurta.org>
10991 * replace.el (list-matching-lines-prefix-face): New defcustom.
10992 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10993 `occur-engine' if `face-differs-from-default-p' returns t.
10994 (occur-engine): Add `,' inside backquote construct to evaluate
10995 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10996 Pass `prefix-face' to the functions `occur-context-lines' and
10997 `occur-engine-add-prefix'.
10998 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10999 `prefix-face' and propertize the prefix with `prefix-face'.
11002 2013-03-24 Leo Liu <sdl.web@gmail.com>
11004 * nxml/rng-valid.el (rng-validate-while-idle)
11005 (rng-validate-quick-while-idle): Guard against deleted buffer.
11008 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11009 is the last entry in kill-buffer-hook.
11011 * files.el (kill-buffer-hook): Doc fix.
11013 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11015 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11016 Make it safe-local.
11018 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11020 2013-03-23 Leo Liu <sdl.web@gmail.com>
11022 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11025 * nxml/rng-valid.el (rng-validate-mode)
11026 (rng-after-change-function, rng-do-some-validation):
11027 * nxml/rng-maint.el (rng-validate-buffer):
11028 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11029 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11030 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11031 (nxml-extend-after-change-region): Use with-silent-modifications.
11033 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11036 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11037 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11038 timer-idle-list. (Bug#13999)
11040 2013-03-23 Juri Linkov <juri@jurta.org>
11042 * info.el (info-index-match): New face.
11043 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11044 main pattern and add text properties with the new face to matches
11045 in index entries relative to the beginning of the index entry.
11048 2013-03-21 Eric Ludlam <zappo@gnu.org>
11050 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11051 Inhibit read only while inserting objects.
11053 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11055 * progmodes/cfengine.el: Update docs to mention
11056 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11057 symbol motion. Remove "_" from the word syntax.
11059 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11061 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11062 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11064 2013-03-20 Juri Linkov <juri@jurta.org>
11066 * info.el (Info-next-reference-or-link)
11067 (Info-prev-reference-or-link): New functions.
11068 (Info-next-reference, Info-prev-reference): Use them.
11069 (Info-try-follow-nearest-node): Handle footnote navigation.
11070 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11072 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11074 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11075 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11077 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11079 Suppress unnecessary non-ASCII chatter during build process.
11080 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11081 (batch-skkdic-convert): Suppress most of the chatter.
11082 It's not needed so much now that machines are faster,
11083 and its non-ASCII component was confusing; see Dmitry Gutov in
11084 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11086 2013-03-20 Leo Liu <sdl.web@gmail.com>
11088 * ido.el (ido-chop): Fix bug#10994.
11090 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11092 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11094 (whitespace-color-on, whitespace-color-off):
11095 Use `font-lock-fontify-buffer' (Bug#13817).
11097 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11099 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11100 remapping in mode-line.
11101 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11103 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11105 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11106 value for `whitespace-line' face (Bug#13875).
11107 (whitespace-font-lock-keywords): Change description.
11108 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11109 the constructed keywords instead.
11110 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11112 2013-03-19 Leo Liu <sdl.web@gmail.com>
11114 * progmodes/compile.el (compilation-display-error): New command.
11115 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11118 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11120 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11122 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11124 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11126 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11128 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11130 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11131 * net/tramp-gvfs.el (top):
11132 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11133 (tramp-handle-shell-command): Use it.
11134 (tramp-dissect-file-name): Raise an error when hostname is a
11135 method name, and neither method nor user is specified.
11137 * net/trampver.el: Update release number.
11139 2013-03-18 Leo Liu <sdl.web@gmail.com>
11141 Make sure eldoc can be turned off properly.
11142 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11144 (eldoc-display-message-p): Revert last change.
11145 (eldoc-display-message-no-interference-p)
11146 (eldoc-print-current-symbol-info): Tweak.
11148 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11150 * doc-view.el (doc-view-new-window-function): Check the new window
11151 overlay's display property instead the char property of the
11152 buffer's first char. Use `with-selected-window' instead of
11153 `save-window-excursion' with `select-window'.
11154 (doc-view-document->bitmap): Check the current doc-view overlay's
11155 display property instead the char property of the buffer's first char.
11157 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11159 Automate the build of ja-dic.el (Bug#13984).
11160 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11161 from the input, rather than assume that it's been done for us by the
11162 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11163 the current date into a ja-dic.el comment, as that complicates
11164 regression testing.
11166 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11168 * whitespace.el: Fix double evaluation.
11169 (whitespace-space, whitespace-hspace, whitespace-tab)
11170 (whitespace-newline, whitespace-trailing, whitespace-line)
11171 (whitespace-space-before-tab, whitespace-indentation)
11172 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11174 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11175 (whitespace-color-on): Use a single font-lock-add-keywords call.
11176 Fix double-evaluation of face variables.
11178 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11180 * net/tramp-adb.el (tramp-adb-parse-device-names):
11181 Use `start-process' instead of `call-process'. Otherwise, the
11182 function might be blocked under MS Windows. (Bug#13299)
11184 2013-03-17 Leo Liu <sdl.web@gmail.com>
11186 Extend eldoc to display info in the mode-line. (Bug#13978)
11187 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11188 (eldoc-mode-line-string): New variable.
11189 (eldoc-minibuffer-message): New function.
11190 (eldoc-message-function): New variable.
11191 (eldoc-message): Use it.
11192 (eldoc-display-message-p)
11193 (eldoc-display-message-no-interference-p):
11194 Support eldoc-post-insert-mode.
11196 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11197 (eval-expression): Run it.
11199 2013-03-17 Roland Winkler <winkler@gnu.org>
11201 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11202 strings in the list of return values.
11204 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11206 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11207 radix before checking for HMS forms.
11209 2013-03-16 Leo Liu <sdl.web@gmail.com>
11211 * progmodes/scheme.el: Add indentation and font-locking for λ.
11214 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11216 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11217 token before point (bug#13942).
11219 2013-03-16 Leo Liu <sdl.web@gmail.com>
11221 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11223 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11225 * startup.el (command-line-normalize-file-name): Fix handling of
11226 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11227 <xfq.free@gmail.com> in
11228 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11230 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11232 Sync with Tramp 2.2.7.
11234 * net/trampver.el: Update release number.
11236 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11238 * doc-view.el: Fix bug#13887.
11239 (doc-view-insert-image): Don't modify overlay associated to
11240 non-live windows, and implement horizontal centering of image in
11241 case it's smaller than the window.
11242 (doc-view-new-window-function): Force redisplay of new windows on
11245 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11247 * saveplace.el (save-place-alist-to-file): Don't sort
11248 `save-place-alist', just pretty-print it (bug#13882).
11250 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11252 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11253 Check whether `default-file-name-coding-system' is bound.
11254 It isn't in XEmacs.
11256 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11258 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11259 backquotes for `obsolete' (bug#13929).
11261 * international/mule.el (find-auto-coding): Include file name in
11262 obsolescence warning (bug#13922).
11264 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11266 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11267 for CFEngine 3-specific indentation.
11268 (cfengine3-indent-line): Use it. Fix up category regex.
11269 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11271 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11273 * type-break.el (type-break-file-name):
11274 * textmodes/remember.el (remember-data-file):
11275 * strokes.el (strokes-file):
11276 * shadowfile.el (shadow-initialize):
11277 * saveplace.el (save-place-file):
11278 * ps-bdf.el (bdf-cache-file):
11279 * progmodes/idlwave.el (idlwave-config-directory):
11280 * net/quickurl.el (quickurl-url-file):
11281 * international/kkc.el (kkc-init-file-name):
11282 * ido.el (ido-save-directory-list-file):
11283 * emulation/viper.el (viper-custom-file-name):
11284 * emulation/vip.el (vip-startup-file):
11285 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11286 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11288 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11290 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11291 * language/thai-word.el: Switch to UTF-8.
11293 See ChangeLog.16 for earlier changes.
11295 ;; Local Variables:
11299 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11301 This file is part of GNU Emacs.
11303 GNU Emacs is free software: you can redistribute it and/or modify
11304 it under the terms of the GNU General Public License as published by
11305 the Free Software Foundation, either version 3 of the License, or
11306 (at your option) any later version.
11308 GNU Emacs is distributed in the hope that it will be useful,
11309 but WITHOUT ANY WARRANTY; without even the implied warranty of
11310 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11311 GNU General Public License for more details.
11313 You should have received a copy of the GNU General Public License
11314 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.