1 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
3 * net/shr.el (shr-insert): Protect against infloops in degenerate
6 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8 * progmodes/octave.el (octave): Add link to manual and octave
10 (octave-mode-menu): Link to octave-mode manual.
12 2013-12-20 Leo Liu <sdl.web@gmail.com>
14 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
15 insertion using skeleton-end-newline. (Bug#16138)
17 2013-12-20 Juri Linkov <juri@jurta.org>
19 * replace.el (occur-engine): Use `add-face-text-property'
20 to add the face property to matches and titles. (Bug#14645)
22 * hi-lock.el (hi-green): Use lighter color "light green" closer to
23 the palette of other hi-lock colors.
24 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
26 2013-12-19 Juri Linkov <juri@jurta.org>
28 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
29 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
30 (minibuffer-history-symbol): Move variable declaration closer to
33 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
36 2013-12-19 Juri Linkov <juri@jurta.org>
38 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
40 (log-edit-hook): Add it to :options. (Bug#16170)
42 2013-12-19 Juri Linkov <juri@jurta.org>
44 * simple.el (eval-expression-print-format): Don't check for
45 command names and the last command. Always display additional
46 formats of the integer result in the echo area, and insert them
47 to the current buffer only with a zero prefix arg.
48 Display character when char-displayable-p is non-nil.
49 (eval-expression): With a zero prefix arg, set `print-length' and
50 `print-level' to nil, and insert the integer values from
51 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
53 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
54 `eval-last-sexp-arg-internal'. Doc fix.
55 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
56 `eval-last-sexp-print-value'. Doc fix.
57 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
58 Set `print-length' and `print-level' to nil when arg is zero.
59 (eval-last-sexp): Doc fix.
60 (eval-defun-2): Print the integer values from
61 `eval-expression-print-format' at the end.
63 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
64 values from `eval-expression-print-format' at the end.
66 * ielm.el (ielm-eval-input): Print the integer
67 values from `eval-expression-print-format' at the end.
69 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
71 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
72 2013-12-11T19:01:44Z!tzz@lifelogs.com.
74 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
76 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
77 (hl-line-highlight, global-hl-line-highlight): Use it.
78 (hl-line-overlay): Use defvar-local.
80 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
82 * term/ns-win.el: Require dnd.
83 (global-map): Remove drag items.
84 (ns-insert-text, ns-set-foreground-at-mouse)
85 (ns-set-background-at-mouse):
86 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
87 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
90 2013-12-19 Glenn Morris <rgm@gnu.org>
92 * emacs-lisp/ert.el (ert-select-tests):
93 Fix string/symbol mixup. (Bug#16121)
95 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
97 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
98 keywords to their parent.
100 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
102 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
103 first arg to be a string (fixed dead code), or an operator symbol.
104 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
106 (ruby-smie-rules): Remove parent token check in the `.' clause, it
107 did nothing. Don't respond to `(:after ".")', it will be called
108 with :before anyway. Remove the ` @ ' rule, it didn't seem to
109 change anything. Only return indentation for binary operators
110 when they are hanging. De-dent opening paren when its parent is
111 `.', otherwise it looks bad when the dot is not at bol or eol
114 2013-12-19 Juri Linkov <juri@jurta.org>
116 * replace.el (query-replace-read-args): Split a non-negative arg
117 and a negative arg into separate elements.
118 (query-replace, query-replace-regexp, replace-string)
119 (replace-regexp): Add arg `backward'. Doc fix.
120 (replace-match-maybe-edit): When new arg `backward' is non-nil,
121 move point to the beginning of the match.
122 (replace-search, replace-highlight): Use new arg `backward'
123 to set the value of `isearch-forward'.
124 (perform-replace): Add arg `backward' and use it to perform
125 replacement backward. (Bug#14979)
127 * isearch.el (isearch-query-replace): Use a negative prefix arg
128 to call `perform-replace' with a non-nil arg `backward'.
130 2013-12-18 Juri Linkov <juri@jurta.org>
132 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
133 to the default list. Move `log-edit-show-files' to the end.
134 Add more available functions to options.
135 (log-edit): Move default specific settings to
136 `log-edit-insert-message-template'. Don't move point.
137 (log-edit-insert-message-template): New function.
138 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
141 2013-12-18 Juri Linkov <juri@jurta.org>
143 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
144 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
146 2013-12-18 Leo Liu <sdl.web@gmail.com>
148 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
150 2013-12-18 Eli Zaretskii <eliz@gnu.org>
152 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
153 formats for displaying file sizes when the -s switch is given.
154 Instead, compute a separate format for displaying the size in
155 blocks, which is displayed in addition to the "regular" size.
156 When -h is given in addition to -s, produce size in blocks in
157 human-readable form as well. (Bug#16179)
159 2013-12-18 Tassilo Horn <tsdh@gnu.org>
161 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
162 Reference tables with ~\ref{...} instead of only \ref{...}.
164 2013-12-18 Chong Yidong <cyd@gnu.org>
166 * cus-edit.el (custom-magic-alist): Fix "themed" description
169 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
170 is non-nil, do not create a new entry in the symbol's theme-value
171 or theme-face property; update theme-settings only (Bug#14664).
172 (custom-available-themes): Doc fix.
174 * cus-theme.el (custom-new-theme-mode-map): Add bindings
177 * replace.el (occur-engine): Avoid infloop (Bug#7593).
179 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
181 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
184 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
186 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
188 2013-12-18 Glenn Morris <rgm@gnu.org>
190 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
191 * cus-start.el (load-prefer-newer): New option.
193 2013-12-18 Le Wang <l26wang@gmail.com>
195 * comint.el (comint-previous-matching-input-from-input):
196 Retain point (Bug#13404).
198 2013-12-18 Chong Yidong <cyd@gnu.org>
200 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
202 2013-12-18 Glenn Morris <rgm@gnu.org>
204 * mail/emacsbug.el (report-emacs-bug):
205 Only mention enable-multibyte-characters if non-standard.
207 2013-12-17 Juri Linkov <juri@jurta.org>
209 * arc-mode.el (archive-extract-by-file): Check if directory exists
210 before deletion to not show irrelevant errors if it doesn't exist.
212 2013-12-17 Juri Linkov <juri@jurta.org>
214 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
217 * net/eww.el (browse-web): Add alias to `eww'.
218 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
219 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
221 * net/browse-url.el (browse-url-browser-function): Move `eww'
222 closer to similar functions.
224 * startup.el (fancy-startup-screen, fancy-about-screen):
225 Set browse-url-browser-function to eww-browse-url locally.
228 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
230 * window.el (window--pixel-to-total): Remove unused `mini' var.
231 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
232 (split-window): Remove unused `new' var.
233 (window--display-buffer): Remove unused `frame' and `delta' vars.
234 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
237 2013-12-17 Martin Rudalics <rudalics@gmx.at>
239 * dired.el (dired-mark-pop-up):
240 * register.el (register-preview): Don't bind
241 split-height-threshold here since it's now done in
242 display-buffer-below-selected.
244 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
246 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
247 xterm-rgb-convert-to-16bit.
248 (rxvt-register-default-colors): Standardize with
249 xterm-register-default-colors (Bug#14078).
251 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
253 * simple.el (kill-region): Pass mark first, then point, so that
254 kill-append works right (Bug#12819).
255 (copy-region-as-kill, kill-ring-save): Likewise.
257 2013-12-17 Leo Liu <sdl.web@gmail.com>
259 * net/rcirc.el (rcirc-add-face):
260 * eshell/em-prompt.el (eshell-emit-prompt):
261 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
264 2013-12-17 Chong Yidong <cyd@gnu.org>
266 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
267 Suggested by Xue Fuqiao.
269 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
271 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
273 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
275 * net/shr.el (shr-insert-document): Remove unused var
276 `shr-preliminary-table-render'.
277 (shr-rescale-image): Remove unused arg `force'.
278 (shr-put-image): Update calls accordingly.
279 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
281 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
283 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
284 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
285 :close-all, to see which indentation method to use (Bug#16116).
286 (smie-rules-function): Document the method :close-all.
288 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
290 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
292 * net/eww.el (eww-display-html): If we can't find the anchor we're
293 looking for, then go to point-min.
295 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
297 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
298 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
299 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
300 Expand dir too, in case it's relative.
302 2013-12-16 Juri Linkov <juri@jurta.org>
304 * desktop.el (desktop-auto-save-timeout): Change default to
305 `auto-save-timeout'. Doc fix.
306 (desktop-save): Skip the timestamp in desktop-saved-frameset
307 when checking for auto-save changes.
308 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
309 `desktop-auto-save' is called repeatedly by the idle timer.
310 (desktop-auto-save-set-timer): Replace `run-with-timer' with
311 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
314 2013-12-16 Juri Linkov <juri@jurta.org>
316 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
318 (isearch-pre-command-hook): Check `this-command' for symbolp.
320 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
322 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
324 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
326 * progmodes/cfengine.el (cfengine3--current-word): Remove.
327 (cfengine3--current-function): Bring in the current-function
328 functionality from `cfengine3--current-word'.
329 (cfengine3-completion-function): Bring in the
330 bounds-of-current-word functionality from
331 `cfengine3--current-word'.
333 2013-12-16 Martin Rudalics <rudalics@gmx.at>
335 * window.el (display-buffer-below-selected):
336 Bind split-height-threshold to 0 as suggested by Juri Linkov.
338 2013-12-16 Leo Liu <sdl.web@gmail.com>
340 * progmodes/compile.el (compile-goto-error): Do not push-mark.
341 Remove NOMSG arg and all uses changed.
343 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
345 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
346 (cua--deactivate-rectangle): Don't deactivate the mark.
347 (cua-set-rectangle-mark): Don't set mark-active since
348 cua--activate-rectangle already does it for us.
349 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
350 non-rectangular region.
352 * emulation/cua-base.el (cua-repeat-replace-region):
353 Use with-current-buffer.
355 * net/gnutls.el: Use cl-lib.
356 (gnutls-negotiate): `mapcan' -> cl-mapcan.
358 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
360 * emacs-lisp/package.el (package-built-in-p): Support both
361 built-in and the package.el converted package descriptions.
362 (package-show-package-list): Allow keywords.
363 (package-keyword-button-action): Use it instead of
364 `finder-list-matches'.
365 (package-menu-filter-interactive): Interactive filtering (by
367 (package-menu--generate): Support keywords and change keymappings
368 and headers when they are given.
369 (package--has-keyword-p): Helper function.
370 (package-menu--refresh): Use it.
371 (package--mapc): Helper function.
372 (package-all-keywords): Use it.
373 (package-menu-mode-map): Set up menu items and keybindings to
374 provide a filtering UI.
376 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
378 * net/gnutls.el (gnutls-verify-error): New defcustom to control
379 the behavior when a certificate fails validation. Defaults to
380 old behavior: never abort, just warn.
381 (gnutls-negotiate): Use it.
383 2013-12-14 Martin Rudalics <rudalics@gmx.at>
385 * window.el (display-buffer-below-selected): Never split window
386 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
388 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
390 * emacs-lisp/package.el (package--prepare-dependencies): New function.
391 (package-buffer-info): Use it (bug#15108).
393 * icomplete.el (icomplete-completions): Make sure the prefix is already
394 displayed elsewhere before hiding it.
396 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
398 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
399 open-paren tokens when preceded by a open-paren, too.
400 (ruby-smie-rules): Handle virtual indentation after open-paren
401 tokens specially. If there is code between it and eol, return the
402 column where is starts (Bug#16118).
404 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
406 * progmodes/cfengine.el: Fix `add-hook' doc.
407 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
408 (cfengine3--current-word): Fix parameters.
409 (cfengine3-make-syntax-cache): Simplify further.
410 (cfengine3-completion-function, cfengine3--current-function):
411 Use `assq' for symbols.
412 (cfengine3--current-function): Fix `cfengine3--current-word' call.
414 2013-12-13 Glenn Morris <rgm@gnu.org>
416 * loadup.el (load-path): Warn if site-load or site-init changes it.
417 No more need to reset it when bootstrapping.
419 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
421 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
422 locations for cf-promises.
423 (cfengine-mode-syntax-functions-regex): New caching variable.
424 (cfengine3-fallback-syntax): Fallback syntax for cases where
425 cf-promises doesn't run.
426 (cfengine3--current-word): Reimplement using
427 `cfengine-mode-syntax-functions-regex'.
428 (cfengine3-completion-function, cfengine3--current-function):
429 Use `cfengine3-make-syntax-cache' directly.
430 (cfengine3-clear-syntax-cache): New function.
431 (cfengine3-make-syntax-cache): Simplify and create
432 `cfengine-mode-syntax-functions-regex' on demand.
433 (cfengine3-format-function-docstring): Don't call
434 `cfengine3-make-syntax-cache' explicitly.
436 2013-12-13 Martin Rudalics <rudalics@gmx.at>
438 Fix windmove-find-other-window broken after pixelwise resizing
440 * windmove.el (windmove-other-window-loc): Revert change from
442 (windmove-find-other-window): Call window-in-direction.
443 * window.el (window-in-direction): New arguments SIGN, WRAP and
444 MINI to emulate original windmove-find-other-window behavior.
446 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
448 * simple.el (blink-matching--overlay): New variable.
449 (blink-matching-open): Instead of moving point, highlight the
450 matching paren with an overlay
451 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
453 * faces.el (paren-showing-faces, show-paren-match)
454 (show-paren-mismatch): Move from paren.el.
456 2013-12-13 Leo Liu <sdl.web@gmail.com>
458 * indent.el (indent-region): Disable progress reporter in
459 minibuffer. (Bug#16108)
461 * bindings.el (visual-order-cursor-movement): Fix version.
463 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
465 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
466 Also match after beginning of line.
467 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
468 files. Thanks to Russell Sim. (Bug#15378)
470 2013-12-13 Juri Linkov <juri@jurta.org>
472 * simple.el <Keypad support>: Remove key bindings duplicated
473 with bindings.el. (Bug#14397)
475 2013-12-13 Juri Linkov <juri@jurta.org>
477 * comint.el (comint-mode-map): Replace `delete-char' with
478 `delete-forward-char'. (Bug#16109)
480 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
482 * progmodes/python.el (python-indent-calculate-indentation):
483 Fix de-denters cornercase. (Bug#15731)
485 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
487 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
488 (advice--make): Pay attention to `depth'.
489 (advice--make-1): Don't autoload commands eagerly.
490 * emacs-lisp/elp.el (elp-instrument-function):
491 * emacs-lisp/trace.el (trace-function-internal):
492 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
494 * iswitchb.el (iswitchb-mode): Don't belittle ido.
496 2013-12-12 Eli Zaretskii <eliz@gnu.org>
498 * term/w32-win.el (w32-handle-dropped-file):
499 * startup.el (normal-top-level):
500 * net/browse-url.el (browse-url-file-url):
501 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
502 decode file names using 'utf-8' rather than
503 file-name-coding-system.
505 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
507 * progmodes/python.el (python-indent-context)
508 (python-indent-calculate-indentation): Fix auto-identation
509 behavior for comment blocks. (Bug#15916)
511 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
513 * progmodes/python.el (python-indent-calculate-indentation):
514 When determining indentation, don't treat "return", "pass", etc., as
515 operators when they are just string constituents. (Bug#15812)
517 2013-12-12 Juri Linkov <juri@jurta.org>
519 * uniquify.el (uniquify-buffer-name-style): Change default to
520 `post-forward-angle-brackets'.
522 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
523 `uniquify'. Change default to `post-forward-angle-brackets'.
525 2013-12-11 Glenn Morris <rgm@gnu.org>
527 * emacs-lisp/package.el (finder-list-matches):
528 Autoload rather than falsely declaring.
530 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
532 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
533 (eww-mode-map): Use them.
535 2013-12-11 Martin Rudalics <rudalics@gmx.at>
537 * window.el (display-buffer-in-side-window): Fix doc-string
540 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
542 * vc/vc-git.el: Silence byte-compiler warnings.
543 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
544 (log-edit-set-header): Declare.
546 2013-12-11 Eli Zaretskii <eliz@gnu.org>
548 * Makefile.in (custom-deps, finder-data): Run output file names
549 through unmsys--file-name. (Bug#16099)
551 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
553 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
554 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
556 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
557 instead of deleting the selection "by hand" (bug#16098).
558 Rely on insert-for-yank to yank rectangles.
559 (cua-highlight-region-shift-only): Mark obsolete.
560 (cua-mode): Don't enable/disable transient-mark-mode,
561 shift-select-mode (cua-mode works both with and without them), and
562 pc-selection-mode (obsolete).
563 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
564 (cua--deactivate-rectangle): Deactivate it.
566 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
567 (delete-selection-helper): Make sure yank starts at the top of the
569 (minibuffer-keyboard-quit): Use region-active-p.
571 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
573 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
574 to `delete' (bug#16109).
576 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
578 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
579 info manual and show keybindings and set `:group' keyword.
581 2013-12-11 Juri Linkov <juri@jurta.org>
583 * delsel.el (delete-active-region): Let-bind `this-command'
584 to prevent `kill-region' from changing its original value.
585 (delete-selection-helper): Handle `overwrite-mode' for the type
586 `kill' exactly the same way as for the type `t'.
587 (insert-char, quoted-insert, reindent-then-newline-and-indent):
588 Support more commands. (Bug#13312)
590 2013-12-11 Juri Linkov <juri@jurta.org>
592 * bindings.el: Map kp keys to non-kp keys systematically
593 with basic modifiers control, meta and shift. (Bug#14397)
595 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
597 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
598 "Close browser" menu items. Fix wrong function of "List
601 2013-12-11 Juri Linkov <juri@jurta.org>
603 * misearch.el (multi-isearch-buffers): Set the value of
604 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
605 arg of isearch-forward to t.
606 (multi-isearch-buffers-regexp): Set the value of
607 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
608 arg of isearch-forward-regexp to t.
609 (multi-isearch-files): Set the value of
610 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
611 arg of isearch-forward to t.
612 (multi-isearch-files-regexp): Set the value of
613 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
614 arg of isearch-forward-regexp to t. (Bug#16035)
616 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
617 arg of isearch-forward to t.
618 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
619 arg of isearch-forward-regexp to t.
620 (dired-isearch-filter-filenames): Remove unnecessary check for
621 `dired-isearch-filenames'.
623 * comint.el (comint-history-isearch-backward):
624 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
625 (comint-history-isearch-backward-regexp):
626 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
628 2013-12-10 Eli Zaretskii <eliz@gnu.org>
630 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
631 unmsys--file-name. (Bug#16099)
633 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
635 * emacs-lisp/package.el (package-keyword-button-action):
636 Remove finder.el require dependency.
638 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
640 * emacs-lisp/package.el: Require finder.el.
641 (describe-package-1): Add keyword buttons.
642 (package-make-button): New convenience function.
643 (package-keyword-button-action): Keyword button action using
644 `finder-list-matches'
646 2013-12-09 Eli Zaretskii <eliz@gnu.org>
648 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
651 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
653 * autorevert.el (auto-revert-notify-add-watch): Do not handle
656 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
658 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
659 after the end of a percent literal.
661 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
663 * progmodes/ruby-mode.el (ruby-forward-string): Document.
664 Handle caret-delimited strings (Bug#16079).
666 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
668 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
669 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
670 `ruby-parse-partial' (Bug#16078).
672 2013-12-09 Leo Liu <sdl.web@gmail.com>
674 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
676 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
678 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
679 (js-switch-indent-offset): New option.
680 (js--proper-indentation): Use it. And handle the case when
681 "default" is actually a key in an object literal.
682 (js--same-line): New function.
683 (js--multi-line-declaration-indentation): Use it.
684 (js--indent-in-array-comp, js--array-comp-indentation):
686 (js--proper-indentation): Use them, to handle array comprehension
689 2013-12-08 Leo Liu <sdl.web@gmail.com>
691 * progmodes/flymake.el (flymake-highlight-line): Re-write.
692 (flymake-make-overlay): Remove arg MOUSE-FACE.
693 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
695 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
697 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
699 (redisplay-highlight-region-function): Use it.
701 * emulation/cua-base.el (cua--explicit-region-start)
702 (cua--last-region-shifted): Remove.
703 (cua--deactivate): Use deactivate-mark.
704 (cua--pre-command-handler-1): Don't handle shift-selection.
705 (cua--post-command-handler-1): Don't change transient-mark-mode.
706 (cua--select-keymaps): Use region-active-p rather than
707 cua--explicit-region-start or cua--last-region-shifted.
708 (cua-mode): Enable shift-select-mode.
710 2013-12-08 Leo Liu <sdl.web@gmail.com>
712 * progmodes/flymake.el (flymake-popup-current-error-menu):
713 Rename from flymake-display-err-menu-for-current-line. Reimplement.
714 (flymake-posn-at-point-as-event, flymake-popup-menu)
715 (flymake-make-emacs-menu): Remove. (Bug#16077)
717 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
719 * rect.el (rectangle-mark-mode): Activate mark even if
720 transient-mark-mode is off (bug#16066).
721 (rectangle--highlight-for-redisplay): Fix boundary condition when point
722 is > mark and at bolp.
724 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
725 (region-extract-function): Use it.
726 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
727 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
729 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
730 kill-ring-save, kill-region, delete-char, delete-forward-char.
731 Ignore self-insert-iso.
733 * emulation/cua-gmrk.el (cua--init-global-mark):
734 Ignore `self-insert-iso'.
736 * emulation/cua-base.el (cua--prefix-copy-handler)
737 (cua--prefix-cut-handler): Rely on region-extract-function rather than
738 checking cua--rectangle.
739 (cua-delete-region): Use region-extract-function.
740 (cua-replace-region): Delete function.
741 (cua-copy-region, cua-cut-region): Obey region-extract-function.
742 (cua--pre-command-handler-1): Don't do the delete-selection thing.
743 (cua--self-insert-char-p): Ignore `self-insert-iso'.
744 (cua--init-keymaps): Don't remap delete-selection commands.
745 (cua-mode): Use delete-selection-mode instead of rolling our own
748 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
749 Obey region-extract-function.
751 Make registers and delete-selection-mode work on rectangles.
752 * register.el (describe-register-1): Don't modify the register's value.
753 (copy-to-register): Obey region-extract-function.
754 * delsel.el (delete-active-region): Obey region-extract-function.
756 2013-12-08 Leo Liu <sdl.web@gmail.com>
758 * progmodes/flymake.el (flymake, flymake-error-bitmap)
759 (flymake-warning-bitmap, flymake-fringe-indicator-position)
760 (flymake-compilation-prevents-syntax-check)
761 (flymake-start-syntax-check-on-newline)
762 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
763 (flymake-start-syntax-check-on-find-file, flymake-log-level)
764 (flymake-xml-program, flymake-master-file-dirs)
765 (flymake-master-file-count-limit)
766 (flymake-allowed-file-name-masks): Relocate.
767 (flymake-makehash, flymake-float-time)
768 (flymake-replace-regexp-in-string, flymake-split-string)
769 (flymake-get-temp-dir): Remove.
770 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
771 (flymake-current-row, flymake-selected-frame)
772 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
773 related functions. (Bug#16077)
775 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
777 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
779 2013-12-07 Tassilo Horn <tsdh@gnu.org>
781 * help-fns.el (describe-function-1): Use new advice-* functions
782 rather than old ad-* functions. Fix function type description and
783 source links for advised functions and subrs.
785 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
787 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
789 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
791 * progmodes/compile.el (compilation-start):
792 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
794 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
795 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
797 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
799 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
800 Touch up the last change.
802 2013-12-06 Leo Liu <sdl.web@gmail.com>
804 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
805 (inferior-octave-startup): Always use "octave> " for prompt.
806 (octave-goto-function-definition)
807 (octave-sync-function-file-names)
808 (octave-find-definition-default-filename): Remove redundant backquotes.
810 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
812 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
814 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
815 where appropriate already.
816 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
817 end of method names (Bug#15874).
819 2013-12-06 Juri Linkov <juri@jurta.org>
821 * isearch.el (isearch--saved-overriding-local-map):
822 New internal variable.
823 (isearch-mode): Set it to the initial value of
824 `overriding-terminal-local-map'.
825 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
826 with `isearch--saved-overriding-local-map'. (Bug#16035)
828 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
830 * progmodes/octave.el (inferior-octave-completion-table):
831 Turn back into function, use `completion-table-with-cache'
832 (Bug#11906). Update all references.
834 * minibuffer.el (completion-table-with-cache): New function.
836 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
838 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
840 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
842 * net/eww.el (eww-current-source): New variable to store page
844 (eww-display-html, eww-mode, eww-save-history)
845 (eww-restore-history): Use it.
846 (eww-view-source): New command to view page source.
847 Opportunistically uses `html-mode' to highlight the buffer.
848 (eww-mode-map): Install it.
850 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
852 * net/dbus.el (dbus-unregister-service)
853 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
855 (dbus-unregister-service): Skip :serial entries in
856 `dbus-registered-objects-table'.
857 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
859 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
861 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
862 around keywords with extra `split-string' argument.
864 2013-12-04 Martin Rudalics <rudalics@gmx.at>
866 * windmove.el (windmove-other-window-loc): Handle navigation
867 between windows (excluding the minibuffer window - Bug#16017).
869 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
871 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
872 in D-Bus type syntax.
873 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
874 preserve unibyte strings. (Bug#16048)
876 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
878 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
879 Call force-mode-line-update is the proper buffer (bug#16042).
881 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
883 * vc/log-edit.el (log-edit-add-new-comment): Rename to
884 `log-edit-remember-comment', make argument optional. Adjust all
886 (log-edit-mode): Add `log-edit-remember-comment' to
887 `kill-buffer-hook' locally.
888 (log-edit-kill-buffer): Don't remember comment explicitly since
889 the buffer is killed anyway.
891 2013-12-04 Juri Linkov <juri@jurta.org>
893 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
894 add-hook and remove-hook for multi-buffer search. (Bug#16035)
896 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
898 * notifications.el (notifications-close-notification): Call the
899 D-Bus method with ID being a `:uint32'. (Bug#16030)
901 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
903 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
905 2013-12-03 Juri Linkov <juri@jurta.org>
907 * progmodes/compile.el (compilation-start): Rename window alist
908 entry `no-display-ok' to `allow-no-window'.
910 * simple.el (shell-command): Add window alist entry
911 `allow-no-window' to `display-buffer'.
912 (async-shell-command): Doc fix.
914 * window.el (display-buffer-no-window): New action function.
915 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
917 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
919 * vc/log-edit.el (log-edit-set-header): Extract from
920 `log-edit-toggle-header'.
921 (log-edit-extract-headers): Separate the summary, when extracted
922 from header, from the rest of the message with an empty line.
924 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
925 line, if present, to the Summary header.
927 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
929 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
930 in current-buffer (bug#16029).
932 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
934 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
935 (debugger-mode-map): Bind it.
936 (debugger--backtrace-base): New function.
937 (debugger-eval-expression): Use it.
938 (debugger-frame-number): Skip local vars when present.
939 (debugger--locals-visible-p, debugger--insert-locals)
940 (debugger--show-locals, debugger--hide-locals): New functions.
942 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
944 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
946 (tramp-get-remote-locale): New defun.
947 (tramp-open-connection-setup-interactive-shell): Use it.
949 2013-12-02 Leo Liu <sdl.web@gmail.com>
951 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
953 * progmodes/sh-script.el (sh-shell-process):
954 * progmodes/octave.el (inferior-octave-process-live-p):
955 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
956 (gdb-inferior-io-sentinel):
957 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
959 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
961 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
962 `save-selected-window' to `log-edit-hide-buf'. This makes
963 `log-edit-show-files' idempotent.
964 (log-edit-show-files): Mark the new window as dedicated.
966 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
968 * vc/log-edit.el (log-edit-mode-map): Add binding for
969 `log-edit-kill-biffer'.
970 (log-edit-hide-buf): Add a FIXME comment.
971 (log-edit-add-new-comment): New function, extracted from
973 (log-edit-done, log-edit-add-to-changelog): Use it.
974 (log-edit-kill-buffer): New command.
976 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
978 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
979 instead of killing the buffer.
981 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
983 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
985 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
987 * net/eww.el (eww-form-checkbox-selected-symbol)
988 (eww-form-checkbox-symbol): New customizable variable.
989 (eww-form-checkbox, eww-toggle-checkbox):
990 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
992 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
993 (shr--get-media-pref, shr--extract-best-source): New function.
994 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
995 no :src tag was specified.
997 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
998 (eww-render): Handle `eww-use-external-browser-for-content-type'.
999 Use \\` to match beginning of string instead of ^.
1000 (eww-browse-with-external-browser): Provide optional URL parameter.
1001 (eww-render): Set `eww-current-title' back to "".
1003 * net/shr.el (shr-tag-video): Display content for video if no
1004 poster is available.
1005 (shr-tag-audio): Add support for <audio> tag.
1007 * net/eww.el (eww-text-input-types): : New const.
1008 (eww-process-text-input): Treat input types in
1009 `eww-text-input-types' as text.
1011 * net/shr.el (shr-tag-table): Fix comment typo.
1013 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1015 * net/eww.el (eww-follow-link): New command to avoid reloading
1016 pages when we follow #target links (bug#15243).
1017 (eww-quit): Special mode buffers shouldn't query before exiting.
1019 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1021 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1024 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1026 * net/eww.el (eww-restore-history): Update the window title after
1027 moving in the history.
1028 (eww-current-dom): New variable used to save the current DOM.
1030 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1032 * vc/log-edit.el (log-edit-mode-map): Add binding for
1033 `log-edit-beginning-of-line'.
1034 (log-edit-setup-add-author): New user option.
1035 (log-edit-beginning-of-line): New command.
1036 (log-edit): Move major mode call above the contents setup so that
1037 the local variable values are already applied.
1038 (log-edit): Only insert "Author: " when
1039 `log-edit-setup-add-author' is non-nil.
1040 (log-edit): When SETUP is non-nil, position point after ": "
1041 instead of point-min.
1043 2013-12-01 Glenn Morris <rgm@gnu.org>
1045 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1047 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1049 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1050 redisplay to make sure the initial frame gets a chance to become
1051 visible. (Bug#16014)
1053 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1055 Support resizing frames and windows pixelwise.
1056 * cus-start.el (frame-resize-pixelwise)
1057 (window-resize-pixelwise): New entries.
1058 * emacs-lisp/debug.el (debug): Use window-total-height instead
1059 of window-total-size.
1060 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1061 * help.el (describe-bindings-internal): Call help-buffer
1062 (temp-buffer-max-width): New option.
1063 (resize-temp-buffer-window, help-window-setup)
1064 (with-help-window): Rewrite.
1065 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1067 * window.el (frame-char-size, window-min-pixel-height)
1068 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1069 (window-min-pixel-width, window-safe-min-pixel-size)
1070 (window-combination-p, window-safe-min-size)
1071 (window-resizable-p, window--size-to-pixel)
1072 (window--pixel-to-size, window--resize-apply-p): New functions.
1073 (window-safe-min-height): Fix doc-string.
1074 (window-size, window-min-size, window--min-size-1)
1075 (window-sizable, window-sizable-p, window--min-delta-1)
1076 (window-min-delta, window--max-delta-1, window-max-delta)
1077 (window--resizable, window--resizable-p, window-resizable)
1078 (window-full-height-p, window-full-width-p, window-at-side-p)
1079 (window--in-direction-2, window-in-direction)
1080 (window--resize-reset-1, window--resize-mini-window)
1081 (window-resize, window-resize-no-error)
1082 (window--resize-child-windows-normal)
1083 (window--resize-child-windows, window--resize-siblings)
1084 (window--resize-this-window, window--resize-root-window)
1085 (window--resize-root-window-vertically)
1086 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1087 (maximize-window, minimize-window, delete-window)
1088 (quit-restore-window, window-split-min-size, split-window)
1089 (balance-windows-2, balance-windows)
1090 (balance-windows-area-adjust, balance-windows-area)
1091 (window--state-get-1, window-state-get, window--state-put-1)
1092 (window--state-put-2, window-state-put)
1093 (display-buffer-record-window, window--display-buffer):
1094 Make functions handle pixelwise sizing of windows.
1095 (display-buffer--action-function-custom-type)
1096 (display-buffer-fallback-action):
1097 Add display-buffer-in-previous-window.
1098 (display-buffer-use-some-window): Resize window to height it had
1100 (fit-window-to-buffer-horizontally): New option.
1101 (fit-frame-to-buffer): Describe new values.
1102 (fit-frame-to-buffer-bottom-margin): Replace with
1103 fit-frame-to-buffer-margins.
1104 (window--sanitize-margin): New function.
1105 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1106 using window-text-pixel-size.
1108 2013-11-30 Glenn Morris <rgm@gnu.org>
1110 * emacs-lisp/bytecomp.el (byte-compile-form):
1111 Make the `interactive-only' warning like the `obsolete' one.
1112 * comint.el (comint-run):
1113 * files.el (insert-file-literally, insert-file):
1114 * replace.el (replace-string, replace-regexp):
1115 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1116 (goto-line, insert-buffer, next-line, previous-line):
1117 Tweak `interactive-only' spec.
1119 Stop keeping (most) generated cedet grammar files in the repository.
1120 * Makefile.in (semantic): New.
1121 (compile-main): Depend on semantic.
1123 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1125 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1126 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1128 * uniquify.el (uniquify-buffer-name-style): Change default.
1130 * loadup.el: Preload "uniquify".
1132 * time.el (display-time-update): Update all mode lines (bug#15999).
1134 * electric.el (electric-indent-mode): Enable by default.
1135 * loadup.el: Preload "electric".
1137 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1139 * emacs-lisp/helpers.el (string-empty-p): New function.
1140 (string-blank-p): New function.
1142 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1144 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1147 2013-11-29 Andreas Politz <politza@fh-trier.de>
1148 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1149 allow non-lambda lists as functions.
1150 (imenu--in-alist): Don't recurse into non-subalists.
1151 (imenu): Don't pass function itself as an argument (Bug#14029).
1153 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1155 * progmodes/python.el (python-mode-map): Remove binding for ":".
1156 (python-indent-electric-colon): Remove command.
1157 (python-indent-post-self-insert-function): Integrate the previous code
1158 of python-indent-electric-colon. Make it conditional on
1159 electric-indent-mode.
1160 (python-mode): Add ?: to electric-indent-chars.
1161 Move python-indent-post-self-insert-function to the end of
1162 post-self-insert-hook.
1164 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1166 * doc-view.el (doc-view-goto-page): Update mode-line.
1168 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1170 2013-11-27 Glenn Morris <rgm@gnu.org>
1172 * international/charprop.el, international/uni-bidi.el:
1173 * international/uni-category.el, international/uni-combining.el:
1174 * international/uni-comment.el, international/uni-decimal.el:
1175 * international/uni-decomposition.el, international/uni-digit.el:
1176 * international/uni-lowercase.el, international/uni-mirrored.el:
1177 * international/uni-name.el, international/uni-numeric.el:
1178 * international/uni-old-name.el, international/uni-titlecase.el:
1179 * international/uni-uppercase.el:
1180 Remove generated files from VCS repository.
1182 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1184 * filenotify.el (file-notify-add-watch): Don't special-case
1185 w32notify when computing the directory to watch.
1187 2013-11-27 Glenn Morris <rgm@gnu.org>
1189 Make bootstrap without generated uni-*.el files possible again.
1190 * loadup.el: Update command-line-args checking for unidata-gen.
1191 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1192 * composite.el, international/characters.el:
1193 Handle unicode tables being undefined.
1195 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1196 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1197 (compile-main): Depend on leim rule.
1199 * loadup.el: Move leim-list.el to leim/ subdirectory.
1200 * startup.el (normal-top-level): No more leim directory.
1201 * international/ja-dic-cnv.el (skkdic-convert):
1202 Disable version-control and autoloads in output files.
1203 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1204 Disable version-control and autoloads in output files.
1205 * leim/quail: Move here from ../leim.
1206 * leim/quail/hangul.el (hangul-input-method-activate):
1207 Add autoload cookie.
1208 (generated-autoload-load-name): Set file-local value.
1209 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1210 (generated-autoload-load-name): Set file-local value.
1212 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1214 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1215 (eww-add-bookmark): ask confirmation when add to bookmarks
1216 (eww-quit): ask confirmation before quitting eww
1218 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1220 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1221 reading output from Diff on MS-Windows and MS-DOS.
1223 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1225 * emacs-lisp/helpers.el (string-reverse): New function.
1227 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1229 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1230 names on MS Windows, like "/[::1]:".
1232 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1235 2013-11-26 Glenn Morris <rgm@gnu.org>
1237 * progmodes/python.el (python-indent-guess-indent-offset):
1238 Avoid corner-case error. (Bug#15975)
1240 Preload leim-list.el. (Bug#4789)
1241 * loadup.el: Load leim-list.el when found.
1242 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1244 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1246 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1248 * emacs-lisp/helpers.el (string-join): New function.
1250 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1252 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1253 Mark as obsolete and replace it with a symbol property.
1254 (byte-compile-form): Use new 'interactive-only property.
1255 * comint.el, files.el, replace.el, simple.el:
1256 Apply new 'interactive-only properly.
1258 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1260 * window.el (display-buffer-at-bottom): Make sure that
1261 split-window-sensibly creates the new window on bottom
1264 2013-11-23 David Kastrup <dak@gnu.org>
1266 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1267 on the conflict markers when available.
1268 (smerge--get-marker): New function.
1269 (smerge-end-re, smerge-base-re): Add subgroup.
1271 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1273 * frame.el (handle-focus-in, handle-focus-out): Add missing
1276 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1278 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1279 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1281 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1283 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1284 (gomoku--last-pos): New var.
1285 (gomoku--intangible-chars): New const.
1286 (gomoku--intangible): New function.
1287 (gomoku-mode): Use it. Derive from special-mode.
1288 (gomoku-move-up): Adjust line count.
1289 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1290 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1291 Simplify accordingly.
1293 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1294 Remove blink-cursor code.
1295 (blink-cursor-timer-function, blink-cursor-suspend):
1296 Don't special-case GUIs.
1297 (blink-cursor-mode): Use focus-in/out-hook.
1299 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1301 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1302 work when annotation is invisible (Bug#13886).
1304 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1306 * json.el (json-alist-p): Only return non-nil if the alist has
1307 simple keys (Bug#13518).
1309 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1311 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1312 when control-statement is the first statement in a buffer (Bug#15956).
1314 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1316 * imenu.el (imenu-generic-skip-comments-and-strings):
1317 New option (Bug#15560).
1318 (imenu--generic-function): Use it.
1320 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1322 * minibuffer.el (completion--in-region-1): Scroll the correct
1325 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1327 * emacs-lisp/helpers.el: Add some string helpers.
1328 (string-trim-left): Removes leading whitespace.
1329 (string-trim-right): Removes trailing whitespace.
1330 (string-trim): Removes leading and trailing whitespace.
1332 * subr.el (string-suffix-p): New function.
1334 2013-11-23 Glenn Morris <rgm@gnu.org>
1336 * progmodes/python.el (python-shell-send-file):
1337 Add option to delete file when done. (Bug#15647)
1338 (python-shell-send-string, python-shell-send-region): Use it.
1340 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1342 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1343 to set buffer-read-only to t, never to nil. (Bug#15938)
1345 * textmodes/tex-mode.el (latex-noindent-environments):
1346 Add safe-local-variable property. (Bug#15936)
1348 2013-11-23 Glenn Morris <rgm@gnu.org>
1350 * textmodes/enriched.el (enriched-mode): Doc fix.
1351 * emacs-lisp/authors.el (authors-renamed-files-alist):
1352 Add enriched.doc -> enriched.txt.
1354 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1356 2013-11-22 Leo Liu <sdl.web@gmail.com>
1358 * progmodes/octave.el (inferior-octave-startup): Spit out error
1361 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1363 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1366 (ruby-encoding-magic-comment-style): Add :version.
1368 2013-11-22 Leo Liu <sdl.web@gmail.com>
1370 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1372 (octave-help-mode): Adapt to change to help-mode-finish to use
1373 derived-mode-p on 2013-09-17.
1374 (inferior-octave-prompt): Also match octave-gui.
1375 (octave-kill-process): Don't ask twice. (Bug#10564)
1377 2013-11-22 Leo Liu <sdl.web@gmail.com>
1379 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1380 (inferior-octave-startup, inferior-octave-check-process)
1381 (inferior-octave-track-window-width-change)
1382 (octave-completion-at-point, octave-eldoc-function): Use it.
1383 (octave-kill-process): Provide confirmation. (Bug#10564)
1385 2013-11-21 Leo Liu <sdl.web@gmail.com>
1387 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1388 Fix obsolete variable comment-use-global-state.
1390 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1392 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1393 Add `octave-source-file'.
1394 (octave-source-file): New function. (Bug#15935)
1396 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1398 * net/eww.el (eww-local-regex): New variable.
1399 (eww): Use it to detect localhost and similar.
1401 2013-11-21 Leo Liu <sdl.web@gmail.com>
1403 Add completion for command `ag'.
1404 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1405 (pcomplete/ag): New function.
1406 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1408 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1410 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1412 (make-obsolete): Remove interactive spec.
1414 2013-11-21 Glenn Morris <rgm@gnu.org>
1416 * startup.el (command-line-1): Use path-separator with -L.
1418 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1420 * emacs-lisp/package.el (describe-package-1): Add package archive
1423 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1425 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1426 Change default to "# encoding: %s" to differentiate it from the
1427 default Ruby encoding comment template.
1429 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1431 * ses.el (ses-mode): Doc fix. (Bug#14748)
1433 2013-11-20 Leo Liu <sdl.web@gmail.com>
1435 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1437 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1439 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1440 when rebase or bisect are in progress.
1442 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1444 * filenotify.el (file-notify-add-watch): Doc fix.
1446 2013-11-19 Leo Liu <sdl.web@gmail.com>
1448 * obsolete/rcompile.el: Mark obsolete.
1450 * progmodes/compile.el (compilation-start)
1451 (compilation-goto-locus, compilation-find-file):
1452 Pass no-display-ok and handle nil value from display-buffer.
1455 * window.el (display-buffer-alist, display-buffer): Document the
1456 new parameter no-display-ok. Return either a window or nil
1457 but never a non-window value.
1459 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1461 * electric.el (electric-indent-mode-map): Remove.
1462 (electric-indent-mode): Change the global-map instead (bug#15915).
1464 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1467 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1469 * emacs-lisp/nadvice.el (remove-function): Align with
1470 add-function's behavior.
1472 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1473 (gdb--string-regexp): New constant.
1474 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1475 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1476 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1478 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1479 Adjust use accordingly.
1480 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1482 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1484 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1485 interpolation curlies (Bug#15914).
1487 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1489 * calc/calc.el (calc-context-sensitive-enter): New variable.
1490 (calc-enter): Use `calc-context-sensitive-enter'.
1492 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1494 * progmodes/cfengine.el: Version bump.
1495 (cfengine-cf-promises): New defcustom to locate cf-promises.
1496 (cfengine3-vartypes): Add new "data" type.
1497 (cfengine3--current-word): New function to get current name-like
1499 (cfengine3--current-function): New function to look up a CFEngine
1500 function's definition.
1501 (cfengine3-format-function-docstring): New function.
1502 (cfengine3-make-syntax-cache): New function.
1503 (cfengine3-documentation-function): New function: ElDoc glue.
1504 (cfengine3-completion-function): New function: completion glue.
1505 (cfengine3-mode): Set `compile-command',
1506 `eldoc-documentation-function', and add to
1507 `completion-at-point-functions'.
1509 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1511 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1512 `tramp-current-connection'.
1514 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1516 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1517 nil/self/true/false with "end of symbol".
1519 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1521 * subr.el (version-regexp-alist): Fix a typo.
1523 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1525 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1526 "en_US.utf8" and "LC_CTYPE" to "".
1527 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1528 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1530 2013-11-15 Leo Liu <sdl.web@gmail.com>
1532 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1534 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1536 * progmodes/gud.el (ctl-x-map):
1537 Remove C-x SPC binding. (Bug#12342)
1538 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1540 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1542 * subr.el (version-regexp-alist):
1543 Recognize hg, svn and darcs versions as snapshot versions.
1545 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1546 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1547 (ruby--encoding-comment-required-p): Extract from
1548 `ruby-mode-set-encoding'.
1549 (ruby-mode-set-encoding): Add the ability to always insert an
1550 utf-8 encoding comment. Fix and simplify coding comment update
1553 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1555 * net/tramp-gvfs.el (top): Run init code only when
1556 `tramp-gvfs-enabled' is not nil.
1557 (tramp-gvfs-enabled): Check also :system bus.
1559 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1561 Sync with upstream verilog-mode revision 78e66ba.
1562 * progmodes/verilog-mode.el (verilog-end-of-defun)
1563 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1564 (verilog-get-end-of-defun): Remove unused argument.
1565 (verilog-comment-depth): Remove unused local `e'.
1566 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1567 Don't pass arg to verilog-get-end-of-defun.
1569 2013-11-14 Glenn Morris <rgm@gnu.org>
1571 * obsolete/assoc.el (aget): Prefix dynamic variable.
1573 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1575 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1577 * widget.el, hfy-cmap.el: Remove bogus package version number.
1579 2013-11-13 Glenn Morris <rgm@gnu.org>
1581 * replace.el (replace-eval-replacement):
1582 Try to give more helpful error message. (Bug#15836)
1584 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1585 (archive-7z-update): Avoid custom type mismatches.
1587 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1589 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1591 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1592 address can be empty.
1594 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1595 Accept nil SWITCHES.
1596 (tramp-gvfs-handle-write-region): Implement APPEND.
1598 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1600 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1601 binary "|" operator and closing block args delimiter.
1602 Remove FIXME comment referring to Ruby 1.8-only syntax.
1603 (ruby-smie--implicit-semi-p): Not after "|" operator.
1604 (ruby-smie--closing-pipe-p): New function.
1605 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1606 (ruby-smie-rules): Indent after "|".
1608 2013-11-12 Glenn Morris <rgm@gnu.org>
1610 * ps-print.el (ps-face-attribute-list):
1611 Handle anonymous faces. (Bug#15827)
1613 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1615 * window.el (display-buffer-other-frame): Fix doc-string.
1618 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1620 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1622 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1624 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1625 (tramp-sh-handle-file-local-copy): Don't write a message when
1626 saving temporary files.
1628 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1629 both directories are remote.
1630 (tramp-smb-handle-directory-files): Do not return double entries.
1631 Do not expand full file names.
1632 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1633 (tramp-smb-handle-write-region): Implement APPEND.
1634 (tramp-smb-get-stat-capability): Fix a stupid bug.
1636 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1638 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1640 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1642 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1643 throwing error over malformed let/let* (bug#15814).
1645 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1647 * iswitchb.el (iswitchb-mode): Mark obsolete.
1649 2013-11-11 Glenn Morris <rgm@gnu.org>
1651 * international/uni-bidi.el, international/uni-category.el:
1652 * international/uni-name.el, international/uni-numeric.el:
1653 Regenerate for Unicode 6.3.0.
1655 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1657 * net/tramp.el (tramp-methods):
1658 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1659 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1661 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1663 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1664 Force highlighting text after Summary keyword in doc face for rpm.
1666 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1668 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1669 available and the word has no wildcards, append one to the grep pattern.
1670 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1671 (ispell-complete-word): Call `ispell-lookup-words' with the value
1672 independent of `ispell-look-p'.
1674 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1676 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1678 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1681 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1683 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1684 (ruby-font-lock-keywords): Use backquote.
1686 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1688 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1689 (ruby-smie--backward-token): Only consider full-string matches.
1691 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1693 * faces.el (describe-face): Add distant-foreground.
1695 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1697 * progmodes/ruby-mode.el: Improve encoding comment handling.
1698 (ruby-encoding-magic-comment-style): New option.
1699 (ruby-custom-encoding-magic-comment-template): New option.
1700 (ruby--insert-coding-comment, ruby--detect-encoding):
1701 New functions extracted from `ruby-mode-set-encoding'.
1702 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1703 to control the style of the auto-inserted encoding comment.
1705 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1707 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1708 Use `smie-backward-sexp' with token argument.
1710 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1712 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1713 Remove instrumentation code.
1715 2013-11-08 Glenn Morris <rgm@gnu.org>
1717 * progmodes/autoconf.el (autoconf-mode):
1718 Tweak comment-start-skip. (Bug#15822)
1720 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1722 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1723 at bobp (bug#15826).
1724 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1726 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1728 * man.el (Man-start-calling): New macro, extracted from
1729 Man-getpage-in-background.
1730 (Man-getpage-in-background): Use it.
1731 (Man-update-manpage): New command.
1732 (Man-mode-map): Bind it.
1734 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1736 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1737 of "and", "or", "&&" and "||".
1738 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1739 argument. Prohibit opening curly brace because it could only be a
1740 block opener in that position.
1741 (ruby-smie--forward-token, ruby-smie--backward-token):
1742 Separate "|" from "&" or "*" going after it. That can happen in block
1744 (ruby-smie--indent-to-stmt): New function, seeks the end of
1745 previous statement or beginning of buffer.
1746 (ruby-smie-rules): Use it.
1747 (ruby-smie-rules): Check if there's a ":" before a curly block
1748 opener candidate; if there is, it's a hash.
1750 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1752 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1753 (cl--block-wrapper): Fix last accidental change.
1755 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1757 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1758 Instrument, in order to hunt failure on hydra.
1760 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1762 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1763 malformed bindings form (bug#15814).
1765 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1767 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1768 "." compared to " @ ". This incidentally fixes some indentation
1770 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1771 (ruby-smie-grammar): New tokens: "and" and "or".
1772 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1773 Exclude "and" and "or". Remove "do" in order to work around token
1775 (ruby-smie-rules): Add all infix tokens. Handle the case of
1776 beginning-of-buffer.
1778 2013-11-06 Glenn Morris <rgm@gnu.org>
1780 * Makefile.in (setwins_almost, setwins_for_subdirs):
1781 Avoid accidental matches.
1783 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1785 * menu-bar.el (popup-menu): Use key-binding.
1787 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1789 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1790 menus, support also the menus produced by minor modes.
1793 2013-11-06 Leo Liu <sdl.web@gmail.com>
1795 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1796 DISTANCE to bound the search. All uses changed. (Bug#15808)
1798 2013-11-06 Glenn Morris <rgm@gnu.org>
1800 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1801 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1802 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1804 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1806 * electric.el (electric-indent-just-newline): New command.
1807 (electric-indent-mode-map): New keymap.
1808 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1809 Re-add :group which weren't redundant.
1811 * electric.el (electric-indent-local-mode): New minor mode.
1812 (electric-indent-functions-without-reindent): New var.
1813 (electric-indent-post-self-insert-function): Use it.
1814 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1816 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1818 * international/quail.el (quail-help): Be more explicit about the
1819 meaning of the labels shown on the keys. (Bug#15800)
1821 * startup.el (normal-top-level): Load the subdirs.el files before
1822 setting the locale environment. (Bug#15805)
1824 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1826 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1827 via arguments so as to get the right ones (bug#15418).
1829 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1831 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1833 Fix problems found while writing a test suite.
1835 * net/tramp-compat.el (tramp-compat-load): New defun.
1836 * net/tramp.el (tramp-handle-load): Use it.
1838 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1839 "(numberp ok-if-already-exists)" correctly.
1841 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1843 * international/characters.el (glyphless-char-display-control):
1846 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1848 * progmodes/python.el (python-mode):
1849 * progmodes/scheme.el (scheme-mode):
1850 * progmodes/prolog.el (prolog-mode):
1851 * progmodes/ruby-mode.el (ruby-mode):
1852 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1853 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1855 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1857 * rect.el (rectangle--highlight-for-redisplay):
1858 * emacs-lisp/smie.el (smie--next-indent-change):
1859 Use buffer-chars-modified-tick.
1861 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1863 * electric.el (electric-indent-post-self-insert-function):
1864 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1866 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1868 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1870 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1872 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1875 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1877 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1879 * progmodes/python.el: Fix up last change.
1880 (python-shell--save-temp-file): New function.
1881 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1882 `string' comes from the current buffer.
1883 (python-shell-send-string-no-output): Remove `msg' arg.
1884 (python--use-fake-loc): New var.
1885 (python-shell-buffer-substring): Obey it. Try to compensate for the
1886 extra coding line added by python-shell--save-temp-file.
1887 (python-shell-send-region): Use python-shell--save-temp-file and
1888 python-shell-send-file directly. Add `nomain' argument.
1889 (python-shell-send-buffer): Use python-shell-send-region.
1890 (python-electric-pair-string-delimiter): New function.
1891 (python-mode): Use it.
1893 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1895 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1896 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1897 environment and decoding all of the default-directory's to here
1899 (command-line): Decode also argv[0].
1901 * loadup.el: Error out if default-directory is a multibyte string
1902 when we are dumping.
1904 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1906 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1908 * emacs-lisp/package.el (package-menu-mode)
1909 (package-menu--print-info, package-menu--archive-predicate):
1910 Add Archive column to package list.
1912 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1914 Fix problems found while writing a test suite.
1916 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1917 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1918 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1919 to nil when running original file name handler. Otherwise,
1920 there are problems with constructs like "$$FOO".
1922 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1925 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1927 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1929 * subr.el (version<, version<=, version=):
1930 Update docstrings with information for snapshot versions.
1932 * helpers.el: New library for misc helper functions.
1933 (hash-table-keys): New function returning a list of hash keys.
1934 (hash-table-values): New function returning a list of hash values.
1936 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1938 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1939 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1941 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1943 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1944 checking whether point is after a 1-letter word.
1946 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1948 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1949 Don't infloop when expanding region over `multiline' syntax-type that
1950 begins a line (bug#15778).
1952 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1954 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1955 Make it into a proper minor mode.
1956 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1957 (rectangle-mark-mode-map): New keymap.
1958 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1960 2013-11-04 Glenn Morris <rgm@gnu.org>
1962 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1964 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1966 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1967 (ruby-smie-rules): Use smie-rule-parent instead.
1969 * emacs-lisp/smie.el (smie-rule-parent): Always call
1970 smie-indent-virtual rather than only for hanging tokens.
1971 (smie--next-indent-change): New helper command.
1973 2013-11-03 Glenn Morris <rgm@gnu.org>
1975 * Makefile.in (abs_srcdir): Remove.
1976 (emacs): Unset EMACSLOADPATH.
1978 2013-11-02 Glenn Morris <rgm@gnu.org>
1980 * Makefile.in (EMACS): Use a relative filename.
1981 (abs_top_builddir): Remove.
1982 (custom-deps, finder-data, autoloads): Use --chdir.
1984 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1986 Use relative filenames in TAGS files.
1987 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1988 (lisptagsfiles4, TAGS): Use relative file names.
1989 (TAGS-LISP): Remove.
1990 (maintainer-clean): No more TAGS-LISP file.
1992 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1993 (lisptagsfiles4): Use absolute filenames again.
1994 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1995 Remove all *loaddefs files, not just the first. Remove esh-groups.
1996 (maintainer-clean): Delete TAGS, TAGS-LISP.
1998 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2000 * emacs-lisp/package.el (package-version-join):
2001 Recognize snapshot versions.
2003 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2005 * subr.el (version-regexp-alist): Add support for snapshot versions.
2007 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2009 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2010 New function, replacement for `smie-rule-parent' for when we want to
2011 skip over our direct parent if it's an assignment token..
2012 (ruby-smie-rules): Use it.
2014 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2016 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2017 unconditionally. Remove now unnecessary forward declarations.
2018 Remove XEmacs-specific setup.
2019 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2020 (ruby-font-lock-syntactic-keywords)
2021 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2022 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2023 (ruby-here-doc-end-syntax): Remove.
2024 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2025 defined as function.
2027 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2029 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2031 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2033 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2034 table and abbrev table, `define-derived-mode' does that for us
2037 2013-11-01 Glenn Morris <rgm@gnu.org>
2039 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2040 files is atomic for some time, so no parallel compilation issues).
2042 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2044 * faces.el (face-x-resources): Add :distant-foreground.
2045 (region): Use :distant-foreground for gtk and ns.
2047 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2049 Allow multiple bibliographies when BibLaTeX is used rather than
2051 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2052 (reftex-locate-bibliography-files): Us it.
2054 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2056 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2057 allow comments in pbm files.
2059 * term/w32-win.el (dynamic-library-alist): Support newer versions
2060 of libjpeg starting with v7: look only for the DLL from the
2061 version against which Emacs was built.
2062 Support versions of libpng beyond 1.4.x.
2063 Support libtiff v4.x.
2065 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2067 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2068 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2070 (ruby-deep-arglist): Add property :type.
2072 2013-10-31 Glenn Morris <rgm@gnu.org>
2074 * Makefile.in (custom-deps, finder-data): No need to setq the target
2075 variables, we are in the right directory and the defaults work fine.
2077 2013-10-30 Glenn Morris <rgm@gnu.org>
2079 * Makefile.in (autoloads): Do not use abs_lisp.
2081 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2082 `newline' does not respect `standard-output', so use `princ'.
2084 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2086 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2087 * buff-menu.el (Buffer-menu--unmark): New function.
2088 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2090 2013-10-30 Glenn Morris <rgm@gnu.org>
2092 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2094 * emacs-lisp/package.el (lm-homepage): Declare.
2096 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2099 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2101 * Makefile.in (finder-data, autoloads, update-subdirs)
2102 (compile-main, compile-clean, compile-always, bootstrap-clean):
2103 Check return value of cd.
2104 (compile-calc): Remove.
2106 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2108 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2110 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2111 (byte-compile-and-folded): New function.
2112 (=, <, >, <=, >=): Use it.
2114 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2115 (path-separator, null-device, buffer-file-coding-system)
2116 (lpr-headers-switches): Check system-type before modifying them.
2117 (find-buffer-file-type-coding-system): Mark obsolete.
2118 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2119 find-file-not-found-set-buffer-file-coding-system.
2120 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2121 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2122 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2123 (w32-direct-print-region-helper, w32-direct-print-region-function)
2124 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2125 * startup.el (normal-top-level-add-subdirs-to-load-path):
2126 * ps-print.el (ps-print-region-function):
2127 * lpr.el (print-region-function): Use new name.
2129 * subr.el (custom-declare-variable-early): Remove function.
2130 (custom-declare-variable-list): Remove var.
2131 (error, user-error): Remove `while' loop.
2132 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2133 (user-emacs-directory-warning, locate-user-emacs-file):
2135 * simple.el (read-quoted-char-radix, read-quoted-char):
2136 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2138 * custom.el (custom-declare-variable-list): Don't process
2139 custom-declare-variable-list.
2141 * progmodes/python.el (python-shell-get-buffer): New function.
2142 (python-shell-get-process): Use it.
2143 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2144 Python which encoding was used. Don't split-string since we only care
2145 about the first line. Return the temp-file, if applicable.
2146 (python-shell-send-region): Tell compile.el how to turn locations in
2147 the temp-file into locations in the source buffer.
2149 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2151 * subr.el (undefined): Add missing behavior from the C code for
2154 * rect.el: Use lexical-binding. Add new rectangular region support.
2155 (rectangle-mark): New command.
2156 (rectangle--region): New var.
2157 (deactivate-mark-hook): Reset rectangle--region.
2158 (rectangle--extract-region, rectangle--insert-for-yank)
2159 (rectangle--highlight-for-redisplay)
2160 (rectangle--unhighlight-for-redisplay): New functions.
2161 (region-extract-function, redisplay-unhighlight-region-function)
2162 (redisplay-highlight-region-function): Use them to handle
2164 * simple.el (region-extract-function): New var.
2165 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2166 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2167 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2168 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2169 (redisplay-unhighlight-region-function)
2170 (redisplay-highlight-region-function): New vars.
2171 (redisplay--update-region-highlight): New function.
2172 (pre-redisplay-function): Use it.
2173 (exchange-point-and-mark): Don't deactivate the mark before
2174 reactivate-it anyway.
2175 * comint.el (comint-kill-region): Remove yank-handler argument.
2176 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2177 (delete-char): Remove property, since it's now part of their
2179 (self-insert-iso): Remove property since this command doesn't exist.
2181 * emacs-lisp/package.el (package--download-one-archive)
2182 (describe-package-1): Don't query the user about final newline.
2184 2013-10-29 Daniel Colascione <dancol@dancol.org>
2186 * net/tramp.el (tramp-methods): Document new functionality.
2187 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2188 tramp-hostname-checker if method provides one instead of scanning
2189 argument list for "%h" to decide hostname acceptability.
2191 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2193 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2194 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2195 Handle COPY-CONTENTS. (Bug#15737)
2197 2013-10-28 Daiki Ueno <ueno@gnu.org>
2200 (epa-file-cache-passphrase-for-symmetric-encryption):
2201 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2203 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2205 * image.el (defimage):
2206 (image-load-path): Doc fixes.
2208 2013-10-27 Alan Mackenzie <acm@muc.de>
2210 Indent statements in macros following "##" correctly.
2211 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2212 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2214 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2216 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2218 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2220 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2221 after `=' is probably a new expression.
2223 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2225 * man.el (man-imenu-title): New option.
2226 (Man-mode-map): Add menu. (Bug#15722)
2227 (Man-mode): Add imenu to menu.
2229 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2231 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2232 specific in what the first arg can be: a non-keyword word,
2233 string/regexp/percent literal opener, opening paren, or unary
2234 operator followed directly by word.
2236 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2238 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2239 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2240 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2241 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2242 Remove vars, they do not apply any more.
2243 (prolog-mode-abbrev-table): Remove redundant declaration.
2244 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2245 (prolog-use-smie): Remove.
2246 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2247 supported by prolog-electric-if-then-else-flag.
2248 (prolog-mode-variables, prolog-menu): Use setq-local.
2249 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2250 Remove binding to `Backspace' since this key doesn't exist anyway.
2251 Remove bindings for electric self-inserting keys.
2252 (prog-mode): Assume it's defined.
2253 (prolog-post-self-insert): New function.
2254 (prolog-mode): Use it.
2255 (prolog-indent-line, prolog-indent-level)
2256 (prolog-find-indent-of-matching-paren)
2257 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2258 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2259 (prolog-goto-next-paren, prolog-in-string-or-comment)
2260 (prolog-tokenize, prolog-inside-mline-comment)
2261 (prolog-find-start-of-mline-comment): Remove functions.
2262 (prolog-find-unmatched-paren, prolog-clause-end)
2263 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2264 (prolog-electric--if-then-else): Rename from
2265 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2266 (prolog-tokenize-searchkey): Remove const.
2267 (prolog-clause-info): Use forward-sexp.
2268 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2269 (prolog-electric-if-then-else): Remove commands.
2270 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2271 for use in post-self-insert-hook.
2272 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2273 for use in post-self-insert-hook.
2274 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2275 for use in post-self-insert-hook.
2276 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2277 adapt it for use in post-self-insert-hook.
2279 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2281 * emacs-lisp/ert.el (ert-run-tests-interactively):
2282 Use `completing-read'. (Bug#9756)
2284 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2286 * simple.el (line-move): Call line-move-1 instead of
2287 line-move-visual when the current window hscroll is zero, but
2288 temporary-goal-column indicates we will need to hscroll as result
2289 of the movement. (Bug#15712)
2291 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2293 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2294 capitalization. Use :visible instead of :active.
2295 Fix `ruby-indent-exp' reference. Add menu items for the generic
2296 commands that are used with SMIE.
2297 (ruby-do-end-to-brace): Insert space after `{'.
2299 2013-10-25 John Anthony <john@jo.hnanthony.com>
2301 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2303 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2305 2013-10-25 Glenn Morris <rgm@gnu.org>
2307 * vc/vc.el (vc-print-log): Don't use a working revision unless
2308 one was explicitly specified. (Bug#15322)
2310 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2312 * subr.el (add-to-list): Preserve return value in compiler-macro
2315 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2317 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2318 result. Ask user to retry using '-all' flag. (Bug#15701)
2320 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2322 * emacs-lisp/smie.el: New smie-config system.
2323 (smie-config): New defcustom.
2324 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2325 (smie-config-guess, smie-config-save): New commands.
2326 (smie-config--mode-local, smie-config--buffer-local)
2327 (smie-config--trace, smie-config--modefuns): New vars.
2328 (smie-config--advice, smie-config--mode-hook)
2329 (smie-config--setter, smie-config-local, smie-config--get-trace)
2330 (smie-config--guess-value, smie-config--guess): New functions.
2331 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2332 text properties. Treat "string fence" syntax like string syntax.
2334 * progmodes/sh-script.el (sh-use-smie): Change default.
2335 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2336 (sh-var-value): Simplify by CSE.
2337 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2338 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2340 (sh-guess-basic-offset): Use cl-incf.
2341 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2343 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2345 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2348 2013-10-24 Glenn Morris <rgm@gnu.org>
2350 * Makefile.in (abs_top_srcdir): Remove.
2351 (update-subdirs): Use relative path to update-subdirs.
2353 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2355 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2356 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2357 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2358 Call unmsys--file-name before expand-file-name, not after it.
2360 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2362 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2363 (ert-test-skipped): New error.
2364 (ert-skip, ert-stats-skipped): New defuns.
2365 (ert--skip-unless): New macro.
2366 (ert-test-skipped): New struct.
2367 (ert--run-test-debugger, ert-test-result-type-p)
2368 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2369 (ert--stats-set-test-and-result, ert-char-for-test-result)
2370 (ert-string-for-test-result, ert-run-tests-batch)
2371 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2372 Handle skipped tests. (Bug#9803)
2374 2013-10-24 Glenn Morris <rgm@gnu.org>
2376 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2378 * Makefile.in (abs_top_srcdir): New, set by configure.
2379 (update-subdirs): Correct build-aux location.
2381 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2383 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2384 value, whether we could auto-deduce `backend', or not.
2386 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2387 with parameters" example. Simplify the "is it block or is it
2388 hash" check, but also make it more thorough.
2390 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2392 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2394 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2396 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2399 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2402 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2404 * progmodes/compile.el (compilation-directory-matcher)
2405 (compilation-page-delimiter):
2406 Support GNU Make-4.0 directory quoting. (Bug#15678)
2408 2013-10-23 Leo Liu <sdl.web@gmail.com>
2410 * ido.el (ido-tidy): Handle read-only text.
2412 2013-10-23 Glenn Morris <rgm@gnu.org>
2414 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2415 (emacs, compile, compile-always):
2416 Quote entities that might contain whitespace.
2417 (custom-deps, finder-data, autoloads): Use abs_lisp.
2418 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2419 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2420 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2422 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2424 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2425 Use `following-char'.
2427 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2429 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2430 * progmodes/ruby-mode.el (ruby-smie-rules):
2431 Remove corresponding workaround. Fix indentation rule of ";" so it
2432 also applies when ";" is the parent.
2434 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2436 * frame.el (display-screens, display-pixel-height)
2437 (display-pixel-width, display-mm-width, display-backing-store)
2438 (display-save-under, display-planes, display-color-cells)
2439 (display-visual-class, display-monitor-attributes-list):
2440 Mention the optional ‘display’ argument in doc strings.
2442 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2444 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2445 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2447 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2449 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2450 TODO. Add "." after " @ ".
2451 (ruby-smie--at-dot-call): New function. Checks if point at method
2452 call with explicit target.
2453 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2454 to the method name tokens when it precedes them.
2455 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2456 (ruby-smie-rules): Add rule for indentation before and after "."
2459 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2461 * textmodes/remember.el (remember-diary-extract-entries):
2464 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2467 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2469 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2470 (ruby-smie--implicit-semi-p): Add new operator chars.
2472 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2474 (ruby-smie--args-separator-p): Check that there's no newline
2475 between method call and its arguments.
2477 2013-10-20 Alan Mackenzie <acm@muc.de>
2479 Allow comma separated lists after Java "implements".
2481 * progmodes/cc-engine.el (c-backward-over-enum-header):
2483 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2484 from a "disallowed" list in enum fontification.
2486 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2488 * startup.el (default-frame-background-mode): Remove unused defvar.
2490 * progmodes/verilog-mode.el (verilog-mode): Don't set
2491 comment-indent-function globally.
2493 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2495 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2496 Move Info menu item creation to ns-win.el.
2498 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2501 * menu-bar.el: Move GNUStep specific menus...
2503 * term/ns-win.el (ns-initialize-window-system): ... to here.
2505 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2507 * simple.el (newline): Only run post-self-insert-hook when
2508 called interactively.
2510 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2512 * icomplete.el (icomplete-with-completion-tables): Add :version.
2514 2013-10-19 Alan Mackenzie <acm@muc.de>
2516 Fix fontification bugs with constructors and const.
2518 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2519 CASE 2) Remove the check for the absence of a suffix construct
2520 after a function declaration with only types (no identifiers) in
2521 the parentheses. Also, accept a function declaration with just a
2522 type inside the parentheses, if this type can be positively
2523 recognised as such, or if a prefix keyword like "explicit" nails
2524 down the construct as a declaration.
2526 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2528 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2529 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2530 the problem whereby selecting a menu item that leads to a
2531 minibuffer prompt moves the cursor out of the minibuffer window,
2532 making it hard to type at the prompt. Suggested by Stefan Monnier
2533 <monnier@iro.umontreal.ca>.
2535 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2537 * menu-bar.el: Don't make Services menu.
2539 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2541 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2542 (ffap-alist): Use ffap-c++-mode for c++-mode.
2543 (ffap-c++-path): New variable.
2544 (ffap-c++-mode): New function.
2546 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2548 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2550 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2552 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2553 introduced on 2013-09-08, which results in an infinite loop
2554 requesting a password.
2556 2013-10-18 Glenn Morris <rgm@gnu.org>
2558 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2560 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2562 Sync with upstream verilog-mode revision 1a6ecec7.
2563 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2564 (verilog-mode-release-date): Remove.
2565 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2566 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2567 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2568 (verilog-auto-tieoff-ignore-regexp)
2569 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2570 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2571 (verilog-signals-with, verilog-dir-cache-preserving)
2572 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2574 (verilog-case-fold): New option, to control case folding in
2575 regexp searches, bug597.
2576 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2577 (verilog-string-match-fold, verilog-in-paren-count)
2578 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2579 (verilog-at-close-struct-p): New functions.
2580 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2581 (verilog-forward-sexp, verilog-set-auto-endcomments):
2582 (verilog-leap-to-case-head): Handle "unique0" case.
2583 (verilog-in-constraint-re): New constant.
2584 (verilog-keywords, verilog-type-font-keywords):
2585 Add some SystemVerilog 1800-2012 keywords.
2586 (verilog-label-be): Remove unimplemented argument, bug669.
2587 (verilog-batch-execute-func): When batch expanding clear
2588 create-lockfiles to prevent spurious user locks when a file ends
2590 (verilog-calculate-indent, verilog-calc-1)
2591 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2592 (verilog-do-indent): Fix indentation of nested constraints
2594 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2595 (verilog-auto-inst-param): Use verilog-string-match-fold.
2596 (verilog-read-inst-module-matcher):
2597 Fix AUTOINST on gate primitives with #1.
2598 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2599 Reads all user-defined typed variables.
2600 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2601 (verilog-signals-matching-regexp)
2602 (verilog-signals-not-matching-regexp, verilog-auto):
2603 Respect verilog-case-fold.
2604 (verilog-diff-report): Fix line count.
2605 (verilog-auto-assign-modport): Remove unused local `modi'.
2606 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2607 better handle multidimensional arrays.
2608 Fix packed array ports misadding bit index in AUTOINST, bug637.
2609 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2610 to not double-declare existing outputs and inputs, respectively.
2611 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2612 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2613 (verilog-sk-uvm-component): New skeleton.
2614 (verilog-submit-bug-report): Add verilog-case-fold,
2615 remove verilog-mode-release-date.
2617 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2619 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2622 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2624 * textmodes/remember.el (remember): set buffer-offer-save in
2625 remember buffers (bug#13566).
2627 2013-10-18 Daniel Colascione <dancol@dancol.org>
2629 When evaluating forms in ielm, direct standard output to ielm
2630 buffer. Add new ielm-return-for-effect command. Remove trailing
2631 whitespace throughout.
2633 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2634 (ielm-return-for-effect): New command.
2635 (ielm-send-input): Accept optional `for-effect' parameter.
2636 (ielm-eval-input): Accept optional `for-effect' parameter.
2637 Bind `standard-output' to stream we create using
2638 `ielm-standard-output-impl'. Suppress printing result when
2640 (ielm-standard-output-impl): New function.
2641 (inferior-emacs-lisp-mode): Explain new features in documentation.
2643 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2647 * net/tramp.el (tramp-debug-message): Do not check for connection
2649 (tramp-message): Use "vector" connection property.
2651 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2652 (tramp-equal-remote, tramp-eshell-directory-change)
2653 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2654 (tramp-adb-handle-rename-file)
2655 * net/tramp-cmds.el (tramp-list-remote-buffers)
2656 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2657 * net/tramp-compat.el (tramp-compat-process-running-p)
2658 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2659 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2660 (tramp-gvfs-handle-rename-file)
2661 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2662 (tramp-set-file-uid-gid)
2663 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2664 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2667 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2668 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2669 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2670 (tramp-gw-open-network-stream): Suppress unrelated traces.
2672 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2673 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2674 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2675 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2676 connection property.
2678 * net/tramp-cache.el (top): Suppress traces when reading
2681 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2682 Refactor common code. Improve debug message.
2683 (tramp-maybe-open-connection)
2684 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2685 connection buffer too early.
2687 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2688 from `tramp-smb-actions-with-acl'.
2689 (tramp-smb-actions-set-acl): New defconst.
2690 (tramp-smb-handle-copy-directory)
2691 (tramp-smb-action-get-acl): New defun, renamed from
2692 `tramp-smb-action-with-acl'.
2693 (tramp-smb-action-set-acl): New defun.
2694 (tramp-smb-handle-set-file-acl): Rewrite.
2696 2013-10-17 Glenn Morris <rgm@gnu.org>
2698 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2700 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2702 * skeleton.el (skeleton-newline): Remove.
2703 (skeleton-internal-1): Use (insert "\n") instead.
2705 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2708 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2709 forward-sexp-function while we redo its job (bug#15613).
2711 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2713 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2714 represented by lists.
2716 2013-10-16 Glenn Morris <rgm@gnu.org>
2718 * tmm.el (tmm--history): New dynamic variable.
2719 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2721 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2723 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2724 (tramp-smb-errors): Add error messages.
2725 (tramp-smb-actions-with-acl): New defconst.
2726 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2727 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2728 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2729 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2730 (tramp-smb-get-stat-capability): Fix tests.
2732 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2734 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2737 2013-10-16 Glenn Morris <rgm@gnu.org>
2739 * ansi-color.el (ansi-color-drop-regexp):
2740 Add 1J, 1K, 2K. (Bug#15617)
2742 * files.el (hack-local-variables--warned-lexical): New.
2743 (hack-local-variables):
2744 Warn about misplaced lexical-binding. (Bug#15616)
2746 * net/eww.el (eww-render): Always set eww-current-url,
2747 and update header line. (Bug#15622)
2748 (eww-display-html): ... Rather than just doing it here.
2750 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2752 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2753 menu navigations commands.
2755 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2757 * progmodes/subword.el (subword-capitalize): Be careful when
2758 the search for [[:alpha:]] fails (bug#15580).
2760 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2762 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2763 to commands that scroll the menu.
2765 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2767 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2768 Handle methods ending with `?' and `!'.
2770 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2772 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2773 `japanese-cp932' to `cp932' to fix the problem where saving a
2774 source file written in Shift_JIS twice would end up having
2775 `coding: japanese-cp932' which Ruby could not recognize.
2776 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2777 in `ruby-encoding-map'.
2778 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2779 doesn't need to be explicitly declared in magic comment.
2780 (ruby-encoding-map): Add type declaration for better customize UI.
2782 2013-10-13 Glenn Morris <rgm@gnu.org>
2784 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2785 Occur buffers are read-only. http://bugs.debian.org/720775
2787 * emacs-lisp/authors.el (authors-fixed-entries):
2788 Comment out old alpha stuff.
2790 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2792 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2793 to `after-save-hook' instead of `before-save-hook'.
2794 (ruby-mode-set-encoding): Use the value of coding system used to
2795 write the file. Call `basic-save-buffer-1' after modifying the
2798 2013-10-13 Alan Mackenzie <acm@muc.de>
2800 Fix indentation/fontification of Java enum with
2801 "implements"/generic.
2803 * progmodes/cc-engine.el (c-backward-over-enum-header):
2804 Extracted from the three other places and enhanced to handle generics.
2805 (c-inside-bracelist-p): Uses new function above.
2806 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2808 (c-font-lock-enum-tail): Uses new function above.
2810 2013-10-13 Kenichi Handa <handa@gnu.org>
2812 * international/mule-cmds.el (select-safe-coding-system): Remove a
2813 superfluous condition in chekcing whether a coding system is safe
2816 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2818 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2820 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2822 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2824 2013-10-13 Glenn Morris <rgm@gnu.org>
2826 * menu-bar.el (menu-bar-update-buffers):
2827 Unify Buffers menu prompt string. (Bug#15576)
2829 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2831 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2833 (authors-fixed-entries): Use accented form of name.
2835 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2837 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2838 method calls (bug#15594).
2839 (ruby-smie--args-separator-p): New function.
2840 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2841 recognize paren-free method calls.
2843 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2844 internals of universal-argument.
2846 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2848 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2849 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2850 dropped menu on second mouse click on the menu bar.
2852 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2854 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2855 (explicit-shell-file-name): Declare.
2856 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2857 (sh-completion-at-point-function): New function.
2859 (sh-smie--keyword-p): Remove unused argument.
2860 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2862 (sh-set-shell): Always setup SMIE, even if we use the
2863 old indentation code.
2865 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2867 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2869 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2870 predicate would return nil are almost non-existent.
2871 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2873 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2874 cache also after commands that modify the buffer but don't move
2877 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2879 * env.el (substitute-env-in-file-name): New function.
2880 (substitute-env-vars): Extend the meaning of the optional arg.
2882 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2884 * term/w32-win.el (dynamic-library-alist): Define separate lists
2885 of GIF DLLs for versions before and after 5.0.0 of giflib.
2888 2013-10-10 João Távora <joaotavora@gmail.com>
2890 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2891 not locked, use last revision and current source as
2892 defaults. (Bug#15569)
2894 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2896 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2899 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2901 * window.el (pop-to-buffer-same-window): Fix doc-string.
2904 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2906 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2908 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2910 * calendar/icalendar.el (icalendar-import-file):
2911 Fix interactive spec. (Bug#15482)
2913 2013-10-10 Glenn Morris <rgm@gnu.org>
2915 * desktop.el (desktop-save): Default to saving in .emacs.d,
2916 since PWD is no longer in desktop-path by default. (Bug#15319)
2918 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2919 now that text mode has a menu with the same entry.
2920 (menu-bar-text-mode-auto-fill): Remove now unused func.
2921 * textmodes/text-mode.el (text-mode-map):
2922 Use auto-fill help text from menu-bar.el.
2924 2013-10-10 John Anthony <john@jo.hnanthony.com>
2926 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2928 2013-10-09 Juri Linkov <juri@jurta.org>
2930 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2931 instead of this-command-keys. Add universal-argument-more and
2932 universal-argument-minus to the list of prefix commands. (Bug#15568)
2934 2013-10-09 Glenn Morris <rgm@gnu.org>
2936 * vc/vc-svn.el (vc-svn-create-repo):
2937 Expand paths in file://... url. (Bug#15446)
2939 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2941 (authors): Remove unused local variables.
2943 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2945 * profiler.el: Create a more coherent calltree from partial backtraces.
2946 (profiler-format): Hide the tail with `invisible' so that C-s can still
2947 find the hidden elements.
2948 (profiler-calltree-depth): Don't recurse so enthusiastically.
2949 (profiler-function-equal): New hash-table-test.
2950 (profiler-calltree-build-unified): New function.
2951 (profiler-calltree-build): Use it.
2952 (profiler-report-make-name-part): Indent the calltree less.
2953 (profiler-report-mode): Add visibility specs for profiler-format.
2954 (profiler-report-expand-entry, profiler-report-toggle-entry):
2955 Expand the whole subtree when provided with a prefix arg.
2957 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2959 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2961 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2962 hanging iuwu-mod token.
2963 (ruby-smie--forward-token): Do not include a dot after a token in
2965 (ruby-smie--backward-token): Likewise.
2967 2013-10-08 Juri Linkov <juri@jurta.org>
2969 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2970 to isearch-other-control-char.
2971 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2972 and isearch-post-command-hook to post-command-hook.
2973 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2974 and isearch-post-command-hook from post-command-hook.
2975 (isearch-unread-key-sequence)
2976 (isearch-reread-key-sequence-naturally)
2977 (isearch-lookup-scroll-key, isearch-other-control-char)
2978 (isearch-other-meta-char): Remove functions.
2979 (isearch-pre-command-hook, isearch-post-command-hook):
2980 New functions based on isearch-other-meta-char rewritten
2981 relying on the new behavior of overriding-terminal-local-map
2982 that does not replace the local keymaps any more. (Bug#15200)
2984 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2986 Support menus on text-mode terminals.
2987 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2990 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2992 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2993 Move here from mouse.el.
2994 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2996 (tty-menu-navigation-map): New map for TTY menu navigation.
2998 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3000 * frame.el (display-mouse-p): Report text-mode mouse as available
3002 (display-popup-menus-p): Report availability if mouse is
3003 available; don't condition on window-system.
3005 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3006 (tty-menu-selected-face): New faces.
3008 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3010 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3011 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3012 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3013 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3015 (lisp-mode-variables): New `elisp' argument.
3016 (emacs-lisp-mode): Use it.
3017 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3018 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3020 * indent.el: Use lexical-binding.
3021 (indent-region): Add progress reporter.
3022 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3024 (indent--next-tab-stop): New function to implement this behavior.
3025 (tab-to-tab-stop, move-to-tab-stop): Use it.
3027 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3029 * indent.el (indent-rigidly--current-indentation): New function.
3030 (indent-rigidly-map): New var.
3031 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3033 2013-10-08 Bastien Guerry <bzg@gnu.org>
3035 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3037 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3039 * progmodes/perl-mode.el: Use lexical-binding.
3040 Remove redundant :group args.
3041 (perl-nochange): Change default to be closer to other major modes's
3043 (perl-indent-line): Don't consider text on current line as a
3044 valid beginning of function from which to indent.
3046 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3047 with more than one argument (bug#15538).
3049 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3051 * vc/pcvs.el: Use lexical-binding.
3052 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3053 environment of `eval'.
3054 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3055 than a list of expressions. Adjust callers.
3056 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3058 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3060 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3061 case of the dot in a chained method call being on the following line.
3063 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3065 * electric.el (electric-indent-inhibit): New var.
3066 (electric-indent-post-self-insert-function): Use it.
3067 * progmodes/python.el (python-mode): Set it.
3069 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3072 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3074 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3075 (css-mode): Use electric-indent-chars.
3077 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3078 (font-lock-beg, font-lock-end): Move before first use.
3079 (nxml-mode): Use syntax-propertize-function.
3080 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3081 (nxml-extend-after-change-region): Remove.
3082 * nxml/xmltok.el: Use lexical-binding.
3083 (xmltok-save): Use `declare'.
3084 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3085 * nxml/nxml-util.el: Use lexical-binding.
3086 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3088 * nxml/nxml-ns.el: Use lexical-binding.
3089 (nxml-ns-save): Use `declare'.
3090 (nxml-ns-prefixes-for): Avoid add-to-list.
3091 * nxml/rng-match.el: Use lexical-binding.
3092 (rng--ipattern): Use cl-defstruct.
3093 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3094 (rng-cons-group-after, rng-subst-group-after)
3095 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3096 Use closures instead of `(lambda...).
3098 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3100 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3103 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3104 Use `tramp-handle-insert-file-contents'.
3105 (tramp-gvfs-handle-insert-file-contents): Remove function.
3107 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3108 Use `save-restriction' in order to keep markers.
3110 * net/trampver.el: Update release number.
3112 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3114 * progmodes/compile.el (compilation-parse-errors):
3115 Use compilation--put-prop.
3116 (compilation--ensure-parse): Check compilation-multiline.
3118 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3120 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3123 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3125 * progmodes/ruby-mode.el: Fix recently added tests.
3126 (ruby-smie-grammar): Add - and +.
3127 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3128 (ruby-smie--backward-id): New functions.
3129 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3130 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3133 2013-10-07 Leo Liu <sdl.web@gmail.com>
3135 * register.el (register-preview-delay)
3136 (register-preview-functions): New variables.
3137 (register-read-with-preview, register-preview)
3138 (register-describe-oneline): New functions.
3139 (point-to-register, window-configuration-to-register)
3140 (frame-configuration-to-register, jump-to-register)
3141 (number-to-register, view-register, insert-register)
3142 (copy-to-register, append-to-register, prepend-to-register)
3143 (copy-rectangle-to-register): Use register-read-with-preview to
3144 read register. (Bug#15525)
3146 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3148 * net/network-stream.el (network-stream-open-starttls): Don't add
3149 --insecure if it's already present, because that gnutls-cli
3150 rejects getting that parameter twice.
3152 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3154 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3157 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3159 * newcomment.el (comment-use-global-state): Change default value
3160 to t, mark obsolete (Bug#15251).
3161 (comment-beginning): In addition to `comment-to-syntax', check the
3162 value of `comment-use-global-state'.
3164 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3166 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3167 (ruby-comment-column): Follow the global default, by default.
3168 (ruby-smie-grammar): Add assignment syntax.
3169 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3170 open-paren, a comma, or a \.
3171 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3172 and line continuations.
3173 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3174 followed by implicit semi-colons. Add rule for string concatenation
3175 and for indentation at BOB.
3176 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3178 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3179 calling next-sexp, since next-token may have skipped chars which
3180 next-sexp doesn't know should be skipped!
3182 2013-10-05 Leo Liu <sdl.web@gmail.com>
3184 * progmodes/octave.el (octave-send-region):
3185 Call compilation-forget-errors.
3187 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3189 * vc/vc-svn.el (vc-svn-find-admin-dir):
3190 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3191 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3192 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3193 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3195 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3197 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3199 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3201 * subr.el (read-passwd): Hide chars even when called within a context
3202 where after-change-functions is disabled (bug#15501).
3203 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3204 until we removed ourself from overriding-terminal-local-map.
3206 2013-10-04 Leo Liu <sdl.web@gmail.com>
3208 * progmodes/octave.el (inferior-octave-mode):
3209 Call compilation-forget-errors.
3211 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3213 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3215 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3217 * net/secrets.el (secrets-create-collection): Add optional
3218 argument ALIAS. Use proper Label keyword. Append ALIAS as
3219 dbus-call-method argument. (Bug#15516)
3221 2013-10-04 Leo Liu <sdl.web@gmail.com>
3223 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3224 (inferior-octave-compilation-font-lock-keywords): New variables.
3225 (compilation-error-regexp-alist)
3226 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3227 (inferior-octave-mode): Use compilation-shell-minor-mode.
3229 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3231 * minibuffer.el (completion--replace): Be careful that `end' might be
3234 2013-10-03 Daiki Ueno <ueno@gnu.org>
3236 Add support for package signature checking.
3237 * emacs-lisp/package.el (url-http-file-exists-p)
3238 (epg-make-context, epg-context-set-home-directory)
3239 (epg-verify-string, epg-context-result-for)
3240 (epg-signature-status, epg-signature-to-string)
3241 (epg-check-configuration, epg-configuration)
3242 (epg-import-keys-from-file): Declare.
3243 (package-check-signature): New user option.
3244 (package-unsigned-archives): New user option.
3245 (package-desc): Add `signed' field.
3246 (package-load-descriptor): Set `signed' field if .signed file exists.
3247 (package--archive-file-exists-p): New function.
3248 (package--check-signature): New function.
3249 (package-install-from-archive): Check package signature.
3250 (package--download-one-archive): Check archive signature.
3251 (package-delete): Remove .signed file.
3252 (package-import-keyring): New command.
3253 (package-refresh-contents): Import default keyring.
3254 (package-desc-status): Add "unsigned" status.
3255 (describe-package-1, package-menu--print-info)
3256 (package-menu-mark-delete, package-menu--find-upgrades)
3257 (package-menu--status-predicate): Support "unsigned" status.
3259 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3261 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3262 the new compilation scheme using the new byte-codes.
3264 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3265 (byte-pophandler): New byte codes.
3266 (byte-goto-ops): Adjust accordingly.
3267 (byte-compile--use-old-handlers): New var.
3268 (byte-compile-catch): Use new byte codes depending on
3269 byte-compile--use-old-handlers.
3270 (byte-compile-condition-case--old): Rename from
3271 byte-compile-condition-case.
3272 (byte-compile-condition-case--new): New function.
3273 (byte-compile-condition-case): New function that dispatches depending
3274 on byte-compile--use-old-handlers.
3275 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3278 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3279 Optimize under `condition-case' and `catch' if
3280 byte-compile--use-old-handlers is nil.
3281 (disassemble-offset): Handle new bytecodes.
3283 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3285 * subr.el (error): Use `declare'.
3286 (decode-char, encode-char): Use advertised-calling-convention instead
3287 of the docstring to discourage use of the `restriction' arg.
3289 2013-10-03 Daiki Ueno <ueno@gnu.org>
3291 * epg.el (epg-verify-file): Add a comment saying that it does not
3292 notify verification error as a return value nor a signal.
3293 (epg-verify-string): Ditto.
3295 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3297 * progmodes/compile.el (compilation-start): Try globbing the arg to
3300 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3302 Sync with Tramp 2.2.8.
3304 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3305 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3306 * net/trampver.el: Update release number.
3308 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3310 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3311 and default-process-coding-system for darwin only.
3313 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3315 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3317 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3319 * vc/vc-git.el (vc-git-grep): Disable pager.
3321 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3323 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3324 Use :url instead of :homepage, as per
3325 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3327 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3328 non-nil, use `syntax-ppss' (Bug#15251).
3330 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3332 * progmodes/octave.el (inferior-octave-startup-file):
3333 Prefer ~/.emacs.d/init_octave.m.
3335 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3337 * emacs-lisp/package.el (package-desc-from-define):
3338 Accept additional arguments as plist, convert them to an alist and store
3339 them in the `extras' slot.
3340 (package-generate-description-file): Convert extras alist back to
3341 plist and append to the `define-package' form arguments.
3342 (package--alist-to-plist): New function.
3343 (package--ac-desc): Add `extras' slot.
3344 (package--add-to-archive-contents): Check if the archive-contents
3345 vector is long enough, and if it is, pass its `extras' slot value
3346 to `package-desc-create'.
3347 (package-buffer-info): Call `lm-homepage', pass the returned value
3348 to `package-desc-from-define'.
3349 (describe-package-1): Render the homepage button (Bug#13291).
3351 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3352 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3354 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3356 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3357 and default-process-coding-system to utf-8-unix (Bug#15402).
3359 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3361 * subr.el (looking-back): Do not recommend using looking-back.
3363 2013-09-28 Alan Mackenzie <acm@muc.de>
3365 Fix indentation/fontification of Java enum with "implements".
3367 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3368 regexp which matches "implements", etc., in Java.
3369 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3370 specifier clauses coming after "enum".
3371 * progmodes/cc-fonts.el (c-font-lock-declarations)
3372 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3375 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3377 * faces.el (region): Change ns_selection_color to
3378 ns_selection_fg_color, add ns_selection_bg_color.
3380 2013-09-28 Leo Liu <sdl.web@gmail.com>
3382 * progmodes/octave.el (inferior-octave-completion-table)
3383 (inferior-octave-completion-at-point): Minor tweaks.
3385 * textmodes/ispell.el (ispell-lookup-words): Rename from
3386 lookup-words. (Bug#15460)
3387 (lookup-words): Obsolete.
3388 (ispell-complete-word, ispell-command-loop): All uses changed.
3390 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3392 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3393 (octave-mode-menu): Add octave-send-buffer.
3394 (octave-send-buffer): New function.
3396 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3398 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3400 (octave-mode-menu): Add octave-lookfor.
3401 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3403 (octave-lookfor): New function.
3405 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3407 * emacs-lisp/cl-macs.el:
3408 (cl--loop-destr-temps): Remove.
3409 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3411 (cl--loop-set-iterator-function): New function.
3412 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3413 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3414 Bind `it' with `let' instead of substituting it with `cl-subst'.
3415 (cl--unused-var-p): New function.
3416 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3417 Eliminate some unused variable warnings (bug#15326).
3419 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3421 * doc-view.el (doc-view-scale-reset): Rename from
3422 `doc-view-reset-zoom-level'.
3423 (doc-view-scale-adjust): New command.
3424 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3425 `doc-view-scale-adjust'.
3427 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3429 * doc-view.el (doc-view-reset-zoom-level): New command.
3430 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3431 zoom commands (bug#15466).
3433 2013-09-26 Kenichi Handa <handa@gnu.org>
3435 * international/quail.el (quail-help): Make it not a command.
3437 2013-09-26 Leo Liu <sdl.web@gmail.com>
3439 * minibuffer.el (completion-all-sorted-completions): Make args
3440 optional as they are.
3442 2013-09-25 Daniel Colascione <dancol@dancol.org>
3444 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3445 specs are and that they're not evaluated.
3447 2013-09-24 Sam Steingold <sds@gnu.org>
3449 * midnight.el (clean-buffer-list-kill-regexps)
3450 (clean-buffer-list-kill-buffer-names): Update for the new Man
3451 buffer naming which includes the object name.
3453 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3455 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3456 (eshell-parse-command, eshell-parse-pipeline): Use it since
3457 eshell-separate-commands requires a dynamic scoped var.
3458 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3460 2013-09-23 Leo Liu <sdl.web@gmail.com>
3462 * autoinsert.el (auto-insert-alist): Make the value of
3463 lexical-binding match its file setting.
3465 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3467 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3469 * autoarg.el (autoarg-kp-digit-argument):
3470 * electric.el (Electric-command-loop):
3471 * kmacro.el (kmacro-step-edit-insert):
3472 Do not set universal-argument-num-events.
3474 2013-09-22 Leo Liu <sdl.web@gmail.com>
3476 * files.el (interpreter-mode-alist): Add octave.
3478 2013-09-21 Alan Mackenzie <acm@muc.de>
3480 C++: fontify identifier in declaration following "public:" correctly.
3481 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3482 to match "public", etc.
3483 (c-decl-prefix-re): Add ":" into the C++ value.
3484 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3485 bit. Add a check for a ":" preceded by "public", etc.
3487 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3489 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3490 recognized by GDB 7.5 and later.
3492 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3494 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3496 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3498 * subr.el (internal--call-interactively): New const.
3499 (called-interactively-p): Use it (bug#3984).
3501 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3503 * vc/pcvs.el (cvs-mode-ignore):
3504 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3505 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3507 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3509 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3510 (eshell-ls-orig-insert-directory): Remove.
3511 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3512 (eshell-ls-use-in-dired): Use advice-add/remove.
3513 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3514 Add `orig-fun' arg for use in :around advice.
3515 Make it check (redundantly) eshell-ls-use-in-dired.
3517 2013-09-19 Glenn Morris <rgm@gnu.org>
3519 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3521 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3523 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3525 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3527 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3528 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3529 (tramp-get-remote-python): New defuns.
3530 (tramp-get-remote-uid-with-perl)
3531 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3532 contributed by yary <not.com@gmail.com> (tiny change).
3533 (tramp-get-remote-uid-with-python)
3534 (tramp-get-remote-gid-with-python): New defuns. Python code
3535 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3536 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3538 2013-09-19 Glenn Morris <rgm@gnu.org>
3540 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3542 * eshell/em-unix.el (eshell-remove-entries):
3543 Rename argument to avoid name-clash with global `top-level'.
3545 * eshell/esh-proc.el (eshell-kill-process-function):
3546 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3547 (eshell-reset-after-proc): Remove unused arg `proc'.
3549 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3550 (directory-files-and-attributes): Mark unused arg.
3552 * eshell/em-unix.el (eshell-remove-entries):
3553 Remove unused arg `path'. Update callers.
3555 * eshell/em-hist.el (eshell-hist-parse-arguments):
3556 Remove unused arg `silent'. Update callers.
3558 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3559 Fix (f)boundp mix-up.
3561 * eshell/em-smart.el (eshell-smart-scroll-window)
3562 (eshell-disable-after-change):
3563 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3565 2013-09-18 Alan Mackenzie <acm@muc.de>
3567 Fix fontification of type when followed by "const".
3568 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3569 "known" types from fontification.
3571 2013-09-18 Glenn Morris <rgm@gnu.org>
3573 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3574 (chart-face-list): Drop Emacsen without display-color-p.
3576 * net/eww.el (libxml-parse-html-region): Declare.
3577 (eww-display-html): Explicit error if no libxml2 support.
3579 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3581 * image.el (image-type-from-buffer, image-multi-frame-p):
3582 Remove --without-x warning/error.
3584 * mouse.el (mouse-yank-primary):
3585 * term.el (term-mouse-paste):
3586 Reorder to silence --without-x compilation.
3588 * mpc.el (doc-view-mode): Silence --without-x compilation.
3590 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3591 Silence --without-x compilation.
3593 * progmodes/gud.el (gud-find-file, gud-mode):
3594 Silence --without-x compilation.
3595 (tooltip-mode): Declare.
3597 * wdired.el (dired-backup-overwrite): Remove declaration.
3598 (wdired-mode-map): Add doc string.
3600 * custom.el (x-get-resource): Declare.
3602 * eshell/em-glob.el (ange-cache):
3603 * eshell/em-unix.el (ange-cache): Declare.
3605 * faces.el (x-display-list, x-open-connection, x-get-resource):
3608 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3609 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3612 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3614 * net/gnutls.el (gnutls-log-level): Declare.
3616 * net/shr.el (image-size, image-animate): Declare.
3618 * simple.el (font-info): Declare.
3620 * subr.el (x-popup-dialog): Declare.
3622 * term/common-win.el (x-select-enable-primary)
3623 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3626 * term/ns-win.el (x-handle-args): Declare.
3628 * term/x-win.el (x-select-enable-clipboard): Declare.
3630 * term/w32-win.el (create-default-fontset): Declare.
3632 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3635 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3636 (fit-frame-to-buffer): Explicit error if --without-x.
3637 (mouse-autoselect-window-select): Silence compiler.
3639 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3641 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3642 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3643 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3644 * eshell/esh-util.el (eshell-sublist):
3645 Remove unused local variables.
3647 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3649 * textmodes/two-column.el: Make 2C-split work for --without-x.
3650 (scroll-bar-columns): Autoload.
3651 (top-level): Require fringe when compiling.
3653 2013-09-18 Leo Liu <sdl.web@gmail.com>
3655 * subr.el (add-hook): Robustify to handle closure as well.
3657 2013-09-17 Glenn Morris <rgm@gnu.org>
3659 * simple.el (messages-buffer-mode-map): Unbind "g".
3661 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3663 * help-mode.el (help-mode-finish): Use derived-mode-p.
3664 Remove obsolete highlighting.
3666 * play/life.el (life-mode): Use define-derived-mode. Derive from
3668 (life): Let-bind inhibit-read-only.
3669 (life-setup): Avoid `setq'. Use `life-mode'.
3671 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3672 which should not be needed any more.
3673 (package-menu-refresh, package-menu-describe-package): Use user-error.
3675 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3676 (eshell-post-rewrite-command-hook): Make obsolete.
3677 (eshell-parse-command): Simplify.
3678 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3679 (eshell--cmd): Declare.
3680 (eshell-parse-pipeline): Remove unused var `final-p'.
3681 Pass a dynvar to eshell-post-rewrite-command-hook.
3682 Implement the new eshell-post-rewrite-command-function.
3683 (eshell-invoke-directly): Remove unused arg `input'.
3684 * eshell/esh-io.el (eshell-io-initialize):
3685 Use eshell-post-rewrite-command-function (bug#15399).
3686 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3687 adjust to new calling convention.
3688 (eshell-create-handles): Rename args to avoid clashing with dynvar
3691 2013-09-17 Glenn Morris <rgm@gnu.org>
3693 * simple.el (messages-buffer-mode): New major mode.
3694 (messages-buffer): New function.
3695 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3696 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3697 (ert-run-test): Use `messages-buffer' function.
3698 (ert--force-message-log-buffer-truncation): Ignore read-only.
3699 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3700 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3702 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3704 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3706 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3708 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3710 * icomplete.el (icomplete-in-buffer): New var.
3711 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3712 vars and replace them with functions.
3713 (icomplete-minibuffer-setup): Adjust accordingly.
3714 (icomplete--completion-table, icomplete--completion-predicate)
3715 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3717 (icomplete-forward-completions, icomplete-backward-completions)
3718 (icomplete-simple-completing-p, icomplete-exhibit)
3719 (icomplete-completions): Use them.
3720 (icomplete--in-region-buffer): New var.
3721 (icomplete--in-region-setup): New function.
3722 (icomplete-mode): Use it.
3724 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3726 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3727 return args and options.
3728 (eshell-eval-using-options): Use the new return value of
3729 eshell--do-opts to set the options's vars in their scope.
3730 (eshell--set-option): Rename from eshell-set-option.
3732 (eshell--process-option): Rename from eshell-process-option.
3734 (eshell--process-args): Use an `opt-vals' alist to store the options's
3735 values during their processing and return them additionally to the
3738 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3740 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3741 continuation character an operator, as far as indentation is
3742 concerned (Bug#15369).
3744 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3746 * window.el (window--state-put-2): Don't process buffer state
3747 when buffer doesn't exist any more (Bug#15382).
3749 2013-09-15 Glenn Morris <rgm@gnu.org>
3751 * eshell/em-unix.el (eshell/rm):
3752 Make -f ignore missing files. (Bug#15373)
3754 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3755 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3756 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3758 2013-09-14 Glenn Morris <rgm@gnu.org>
3760 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3762 2013-09-13 Glenn Morris <rgm@gnu.org>
3764 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3765 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3767 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3769 * frame.el (x-focus-frame): Mark as declared in frame.c.
3771 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3773 * ls-lisp.el: Use advice-add.
3774 (original-insert-directory): Remove.
3775 (ls-lisp--insert-directory): Rename from insert-directory; add
3776 `orig-fun' argument.
3777 (insert-directory): Advise.
3779 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3781 * term.el (term-emulate-terminal): Decode the command string
3782 before passing it to term-command-hook. (Bug#15337)
3784 2013-09-13 Glenn Morris <rgm@gnu.org>
3786 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3788 * eshell/esh-ext.el (eshell-search-path): Declare.
3790 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3791 Otherwise an error occurs if eshell-dirs module not loaded.
3793 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3795 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3797 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3798 `tramp-check-proper-host'. Check for a valid method name.
3800 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3801 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3802 * net/tramp-sh.el (tramp-maybe-open-connection):
3803 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3805 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3806 also for hash values.
3808 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3810 * term/ns-win.el (parameters): Don't declare as dynamic.
3811 (before-make-frame-hook): Don't add ineffective function.
3813 * eshell/*.el: Use lexical-binding (bug#15231).
3815 2013-09-12 Kenichi Handa <handa@gnu.org>
3817 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3819 2013-09-12 Glenn Morris <rgm@gnu.org>
3821 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3822 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3824 * subr.el (do-after-load-evaluation): Also give compiler warnings
3825 when obsolete files are used (except by obsolete files).
3827 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3828 in the status output, assume `filename' is the first. (Bug#15322)
3830 * vc/vc.el (vc-deduce-fileset): Doc fix.
3832 * calc/calc-help.el (Info-goto-node):
3833 * progmodes/cperl-mode.el (Info-find-node):
3834 * vc/ediff.el (Info-goto-node): Update declarations.
3836 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3838 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3839 (vc-bzr-pull): Require vc-dispatcher.
3840 * vc/vc-git.el (vc-compilation-mode): Declare.
3841 (vc-git-pull): Require vc-dispatcher.
3843 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3845 * progmodes/octave.el (help-button-action): Declare.
3847 * shell.el (shell-directory-tracker): Output error as a message
3848 rather than just returning it as a string.
3849 (shell-process-pushd): Remove useless use of message.
3851 * dframe.el (dframe-timer-fn):
3852 * files.el (dir-locals-read-from-file):
3853 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3855 * reveal.el (reveal-post-command):
3856 * saveplace.el (load-save-place-alist-from-file):
3857 * shell.el (shell-resync-dirs):
3858 * w32-common-fns.el (x-get-selection-value):
3859 * emacs-lisp/copyright.el (copyright-find-copyright):
3860 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3861 * emulation/tpu-edt.el (tpu-copy-keyfile):
3862 * play/bubbles.el (bubbles--mark-neighbourhood):
3863 * progmodes/executable.el
3864 (executable-make-buffer-file-executable-if-script-p):
3865 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3867 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3869 Cleanup Eshell to rely less on dynamic scoping.
3870 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3871 last-value, and ext-command here. Bind `args' closer to `body'.
3872 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3873 (eshell--args): Declare new dynamic var.
3874 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3875 last-value, and ext-command. Pass `args' to `body'.
3876 (eshell-process-args): Bind eshell--args.
3877 (eshell-set-option): Use eshell--args.
3878 * eshell/eshell.el (eshell): Use derived-mode-p.
3879 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3880 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3881 (eshell-glob-function): Declare.
3882 * eshell/esh-util.el: Require cl-lib.
3883 (eshell-read-hosts-file): Avoid add-to-list.
3884 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3886 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3888 (eshell/diff): Remove unused var `err'.
3889 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3891 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3892 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3894 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3895 Move declaration before first use.
3896 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3897 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3900 2013-09-12 Glenn Morris <rgm@gnu.org>
3902 * term/ns-win.el (global-map): Remove binding for ispell-next,
3903 deleted 1999-05-29. (Bug#15357)
3905 2013-09-11 Glenn Morris <rgm@gnu.org>
3907 * echistory.el (electric-command-history): Remove call to deleted func.
3909 * play/landmark.el (landmark-mode): Fix typos.
3911 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3912 Check cvs-sort-ignore-file is bound.
3914 * savehist.el: No need for cl when compiling on Emacs.
3916 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3918 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3920 (eshell-self-insert-command, eshell-send-invisible):
3921 Remove unused argument.
3922 (eshell-handle-control-codes): Remove unused var `orig'.
3923 Avoid delete-backward-char.
3925 * files.el (set-auto-mode): Simplify a bit further.
3927 2013-09-11 Glenn Morris <rgm@gnu.org>
3929 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3930 (set-auto-mode): Don't regexp-quote elements.
3931 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3932 * progmodes/cc-mode.el (interpreter-mode-alist):
3933 * progmodes/ruby-mode.el (interpreter-mode-alist):
3934 Revert previous change.
3936 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3938 * play/snake.el (snake-mode):
3939 * play/mpuz.el (mpuz-mode):
3940 * play/landmark.el (lm-mode):
3941 * play/blackbox.el (blackbox-mode):
3942 * play/5x5.el (5x5-mode):
3943 * obsolete/options.el (Edit-options-mode):
3944 * net/quickurl.el (quickurl-list-mode):
3945 * net/newst-treeview.el (newsticker-treeview-mode):
3946 * mail/rmailsum.el (rmail-summary-mode):
3947 * mail/mspools.el (mspools-mode):
3948 * locate.el (locate-mode):
3949 * ibuffer.el (ibuffer-mode):
3950 * emulation/ws-mode.el (wordstar-mode):
3951 * emacs-lisp/debug.el (debugger-mode):
3952 * array.el (array-mode):
3953 * net/eudc.el (eudc-mode): Use define-derived-mode.
3954 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3955 Move initialization into declaration.
3956 (mairix-searches-mode): Use define-derived-mode.
3957 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3958 (eudc-edit-hotlist): Use dolist.
3959 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3960 (Man-mode): Use define-derived-mode.
3961 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3962 (Info-edit-mode): Use define-derived-mode.
3963 (Info-cease-edit): Use Info-mode.
3964 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3966 (eshell-mode): Use define-derived-mode.
3967 * chistory.el (command-history-mode-map): Rename from
3968 command-history-map.
3969 (command-history-mode): Use define-derived-mode.
3970 (Command-history-setup): Remove function.
3971 * calc/calc.el (calc-trail-mode-map): New var.
3972 (calc-trail-mode): Use define-derived-mode.
3973 (calc-trail-buffer): Set calc-main-buffer manually.
3974 * bookmark.el (bookmark-insert-annotation): New function.
3975 (bookmark-edit-annotation): Use it.
3976 (bookmark-edit-annotation-mode): Make it a proper major mode.
3977 (bookmark-send-edited-annotation): Use derived-mode-p.
3978 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3979 closer to its ideal place. Use \' to match EOS.
3981 * profiler.el (profiler-calltree-find): Use function-equal.
3983 2013-09-10 Glenn Morris <rgm@gnu.org>
3985 * files.el (interpreter-mode-alist): Convert to regexps.
3986 (set-auto-mode): Adapt for this. (Bug#15306)
3987 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3988 Comment out unused variable.
3989 * progmodes/cc-mode.el (interpreter-mode-alist):
3990 * progmodes/python.el (interpreter-mode-alist):
3991 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3992 * progmodes/sh-script.el (sh-set-shell):
3993 No longer use interpreter-mode-alist to get list of shells.
3995 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3997 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3999 * simple.el: Use set-temporary-overlay-map for universal-argument.
4000 (universal-argument-map): Don't use default-bindings (bug#15317).
4001 Bind switch-frame explicitly. Replace universal-argument-minus with
4002 a conditional binding.
4003 (universal-argument-num-events, saved-overriding-map): Remove.
4004 (restore-overriding-map): Remove.
4005 (universal-argument--mode): Rename from save&set-overriding-map,
4007 (universal-argument, universal-argument-more, negative-argument)
4008 (digit-argument): Adjust accordingly.
4009 (universal-argument-minus): Remove.
4010 (universal-argument-other-key): Remove.
4012 * subr.el (with-demoted-errors): Add `format' argument.
4014 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4016 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4017 `tramp-cleanup-connection'.
4019 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4020 parameters KEEP-DEBUG and KEEP-PASSWORD.
4022 * net/tramp.el (tramp-file-name-handler):
4023 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4024 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4025 (tramp-maybe-open-connection):
4026 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4027 Use `tramp-cleanup-connection'.
4029 * net/tramp-sh.el (tramp-maybe-open-connection):
4030 Catch 'uname-changed inside the progress reporter.
4032 2013-09-10 Glenn Morris <rgm@gnu.org>
4034 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4036 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4037 returns "alternate access method" in mode (eg "-rw-r--r--.").
4039 2013-09-08 Glenn Morris <rgm@gnu.org>
4041 * saveplace.el (load-save-place-alist-from-file):
4042 Demote errors. (Bug#15305)
4044 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4046 Improve compatibility with older Emacsen, and XEmacs.
4048 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4049 only if it is bound. It isn't for XEmacs.
4050 (with-tramp-progress-reporter): Do not let-bind `result'.
4051 This yields to scoping errors in XEmacs.
4052 (tramp-handle-make-auto-save-file-name): New function, moved from
4055 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4056 for `make-auto-save-file-name'.
4057 (tramp-adb--gnu-switches-to-ash):
4058 Use `tramp-compat-replace-regexp-in-string'.
4060 * net/tramp-cache.el (tramp-cache-print): Call
4061 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4063 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4064 bound. It isn't for XEmacs.
4066 * net/tramp-compat.el (tramp-compat-copy-file):
4067 Catch `wrong-number-of-arguments' error.
4068 (tramp-compat-replace-regexp-in-string): New defun.
4070 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4071 for `make-auto-save-file-name'.
4072 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4074 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4075 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4076 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4078 * net/tramp-gw.el (tramp-gw-open-network-stream):
4079 Use `tramp-compat-replace-regexp-in-string'.
4081 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4082 Call `tramp-handle-make-auto-save-file-name'.
4083 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4084 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4085 (tramp-sh-file-inotifywait-process-filter):
4086 Use `tramp-compat-replace-regexp-in-string'.
4087 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4089 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4090 for `make-auto-save-file-name'.
4091 (tramp-smb-handle-copy-directory):
4092 Call `tramp-compat-replace-regexp-in-string'.
4093 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4094 (tramp-smb-handle-copy-file): Improve error message.
4095 (tramp-smb-handle-rename-file): Rename directly only in case
4096 `newname' does not exist yet. This is a restriction of smbclient.
4097 (tramp-smb-maybe-open-connection): Rerun the function only when
4098 `auth-sources' is non-nil.
4100 2013-09-08 Kenichi Handa <handa@gnu.org>
4102 * international/characters.el: Set category "^" (Combining) for
4105 2013-09-07 Alan Mackenzie <acm@muc.de>
4107 Correctly fontify Java class constructors.
4108 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4110 (c-recognize-typeless-decls): Set the Java value to t.
4111 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4112 While handling a "(", add a check for, effectively, Java, and handle a
4113 "typeless" declaration there.
4115 2013-09-07 Roland Winkler <winkler@gnu.org>
4117 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4118 field subtitle for entry type book.
4120 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4122 * minibuffer.el: Make minibuffer-complete call completion-in-region
4123 rather than other way around.
4124 (completion--some, completion-pcm--find-all-completions):
4125 Don't delay signals when debugging.
4126 (minibuffer-completion-contents): Beware fields within the
4127 minibuffer contents.
4128 (completion-all-sorted-completions): Use defvar-local.
4129 (completion--do-completion, completion--cache-all-sorted-completions)
4130 (completion-all-sorted-completions, minibuffer-force-complete):
4131 Add args `beg' and `end'.
4132 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4133 (minibuffer-complete): Use completion-in-region.
4134 (completion-complete-and-exit): New fun, extracted from
4135 minibuffer-complete-and-exit.
4136 (minibuffer-complete-and-exit): Use it.
4137 (completion--complete-and-exit): Rename from
4138 minibuffer--complete-and-exit.
4139 (completion-in-region--single-word): New function, extracted from
4140 minibuffer-complete-word.
4141 (minibuffer-complete-word): Use it.
4142 (display-completion-list): Make `common-substring' argument obsolete.
4143 (completion--in-region): Call completion--in-region-1 instead of
4144 minibuffer-complete.
4145 (completion-help-at-point): Pass boundaries to
4146 minibuffer-completion-help as args rather than via an overlay.
4147 (completion-pcm--string->pattern): Use `any-delim'.
4148 (completion-pcm--optimize-pattern): New function.
4149 (completion-pcm--pattern->regex): Handle `any-delim'.
4150 * icomplete.el (icomplete-forward-completions)
4151 (icomplete-backward-completions, icomplete-completions):
4152 Adjust calls to completion-all-sorted-completions and
4153 completion--cache-all-sorted-completions.
4154 (icomplete-with-completion-tables): Default to t.
4155 * emacs-lisp/crm.el (crm--current-element): Rename from
4156 crm--select-current-element. Don't put an overlay but return the
4158 (crm--completion-command): Take two new args to bind to the boundaries.
4159 (crm-completion-help): Adjust accordingly.
4160 (crm-complete): Use completion-in-region.
4161 (crm-complete-word): Use completion-in-region--single-word.
4162 (crm-complete-and-exit): Use completion-complete-and-exit.
4164 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4166 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4169 2013-09-06 Juri Linkov <juri@jurta.org>
4171 * info.el (Info-display-images-node): When image file doesn't exist
4172 display text version of the image if it's provided in the Info file.
4173 Otherwise, display the location of missing image from SRC attribute.
4174 Add help-echo text property from ALT attribute. (Bug#15279)
4176 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4178 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4179 (edit-abbrevs-mode): Use define-derived-mode.
4181 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4182 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4184 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4185 Use define-derived-mode.
4187 * epg.el (epg-start-encrypt): Minor CSE simplification.
4189 2013-09-06 William Xu <william.xwl@gmail.com>
4191 * arc-mode.el: Add support for 7za (bug#15264).
4192 (archive-7z-program): New var.
4193 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4194 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4195 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4197 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4201 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4202 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4203 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4204 (tramp-postfix-host-format, tramp-file-name-regexp)
4205 (tramp-completion-file-name-regexp)
4206 (tramp-completion-dissect-file-name)
4207 (tramp-handle-substitute-in-file-name): Remove 'url case.
4208 (tramp-file-name-regexp-url)
4209 (tramp-completion-file-name-regexp-url): Remove constants.
4211 2013-09-06 Glenn Morris <rgm@gnu.org>
4213 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4215 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4217 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4218 keywords" below "here-doc beginnings" (Bug#15270).
4220 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4222 * subr.el (pop): Use `car-safe'.
4223 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4224 to detect unused `pop' return value.
4226 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4228 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4229 (python-fill-string): Remove unused var `marker'.
4230 (python-skeleton-add-menu-items): Remove unused var `items'.
4232 * international/mule-cmds.el: Require CL.
4233 (find-coding-systems-for-charsets): Avoid add-to-list.
4234 (sanitize-coding-system-list): New function, extracted from
4235 select-safe-coding-system-interactively.
4236 (select-safe-coding-system-interactively): Use it.
4237 (read-input-method-name): Accept symbols for `default'.
4239 * emacs-lisp/advice.el (defadvice): Add indent rule.
4241 2013-09-05 Daniel Hackney <dan@haxney.org>
4245 * net/browse-url.el:
4248 * net/eudcb-ldap.el:
4261 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4262 byte compiler. Remove some unused let-bound variables.
4264 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4266 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4267 a "ref-cell", since it gets better optimized (bug#14883).
4269 2013-09-05 Glenn Morris <rgm@gnu.org>
4271 * progmodes/cc-awk.el (c-forward-sws): Declare.
4273 2013-09-04 Glenn Morris <rgm@gnu.org>
4275 * generic-x.el [rul-generic-mode]: Require cc-mode.
4276 (c++-mode-syntax-table): Declare.
4277 (rul-generic-mode-syntax-table): Init in the defvar.
4279 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4281 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4282 (vc-do-command, vc-set-async-update):
4283 * vc/vc-mtn.el (vc-mtn-dir-status):
4284 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4285 (vc-hg-pull, vc-hg-merge-branch):
4286 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4287 (vc-git-merge-branch):
4288 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4289 (vc-cvs-dir-status-files):
4290 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4291 (vc-bzr-dir-status-files):
4292 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4293 * vc/vc-annotate.el: Use lexical-binding.
4294 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4295 (vc-sentinel-movepoint): Declare.
4296 (vc-annotate): Don't use `goto-line'.
4297 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4298 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4299 (vc-sentinel-movepoint): Declare.
4300 * vc/vc-svn.el: Use lexical-binding.
4301 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4303 * vc/vc-rcs.el: Use lexical-binding.
4305 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4306 `deleted'. Don't drop errors silently.
4308 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4310 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4312 * vc/vc.el (vc-ignore): Rewrite.
4313 (vc-default-ignore): New function.
4314 (vc-default-ignore-completion-table): Use find-ignore-file.
4316 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4317 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4318 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4319 Remove. Most code moved to vc.el.
4321 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4323 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4324 * net/tramp-smb.el (tramp-smb-get-file-entries):
4325 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4326 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4328 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4330 (eww-change-select): Remove unused var `properties'.
4331 (eww-make-unique-file-name): Remove unused var `base'.
4333 * finder.el (finder-compile-keywords): Don't mess with windows.
4335 * calculator.el (calculator-funcall): Fix typo in last change.
4337 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4339 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4340 <pkg>-autoloads.el file stop us.
4342 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4343 warnings, and factor out common code.
4345 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4347 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4348 two-character operators and whether the character preceding them
4349 changes their meaning (Bug#15208).
4351 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4353 Format code sent to Python shell for robustness.
4354 * progmodes/python.el (python-shell-buffer-substring):
4356 (python-shell-send-region, python-shell-send-buffer): Use it.
4358 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4360 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4361 * net/tramp.el (tramp-user-error): ... here.
4362 (tramp-find-method, tramp-check-proper-host)
4363 (tramp-dissect-file-name, tramp-debug-message)
4364 (tramp-handle-shell-command):
4365 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4366 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4368 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4370 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4372 * avoid.el (mouse-avoidance-point-position)
4373 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4376 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4378 * progmodes/python.el (python-shell-completion-get-completions):
4379 Drop use of deleted `comint-last-prompt-overlay'.
4380 (python-nav-if-name-main): New command.
4382 2013-09-01 Glenn Morris <rgm@gnu.org>
4384 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4385 Avoid leading space in $wins. Otherwise the sed command used by
4386 eg compile-main ends up containing "/*.el". (Bug#15170)
4388 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4390 2013-08-30 Glenn Morris <rgm@gnu.org>
4392 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4393 Fix is-this-a-directory logic. (Bug#15220)
4395 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4397 * textmodes/css-mode.el: Use SMIE.
4398 (css-smie-grammar): New var.
4399 (css-smie--forward-token, css-smie--backward-token)
4400 (css-smie-rules): New functions.
4401 (css-mode): Use them.
4402 (css-navigation-syntax-table): Remove var.
4403 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4404 (css-indent-calculate, css-indent-line): Remove functions.
4406 Misc changes to reduce use of `(lambda...); and other cleanups.
4407 * cus-edit.el: Use lexical-binding.
4408 (customize-push-and-save, customize-apropos)
4409 (custom-buffer-create-internal): Use closures.
4410 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4411 * progmodes/ada-xref.el: Use setq.
4412 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4413 * dframe.el: Use lexical-binding.
4414 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4415 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4416 * descr-text.el: Use lexical-binding.
4417 (describe-text-widget, describe-text-sexp, describe-property-list):
4419 * comint.el (comint-history-isearch-push-state): Use a closure.
4420 * calculator.el: Use lexical-binding.
4421 (calculator-number-to-string): Make it work with lexical-binding.
4422 (calculator-funcall): Same and use cl-letf.
4424 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4425 (lisp--company-doc-string, lisp--company-location): New functions.
4426 (lisp-completion-at-point): Use them to improve Company support.
4428 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4429 params of lambda expressions.
4430 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4431 (ruby-smie--opening-pipe-p): New function.
4432 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4433 symbols and matched |...| for formal params.
4434 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4435 from being treated as hanging. Handle "rescue".
4437 2013-08-29 Glenn Morris <rgm@gnu.org>
4439 * progmodes/cc-engine.el (c-pull-open-brace):
4440 Move definition before use.
4442 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4444 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4445 are immutable. Don't use `unsafe' any more.
4446 (cl--defsubst-expand): Don't substitute at the same time as keeping
4447 a residual unused let-binding. Don't use `unsafe' any more.
4449 2013-08-29 Glenn Morris <rgm@gnu.org>
4451 * calendar/cal-china.el (calendar-chinese-year-cache):
4454 * nxml/nxml-util.el (nxml-debug-clear-inside):
4455 Use cl-loop rather than loop.
4457 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4459 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4461 2013-08-28 Glenn Morris <rgm@gnu.org>
4463 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4465 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4467 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4469 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4471 * simple.el (repeat-complex-command--called-interactively-skip):
4473 (repeat-complex-command): Use it (bug#14136).
4475 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4476 (c-define-abbrev-table): Add `doc' argument.
4477 (c-mode-abbrev-table, c++-mode-abbrev-table)
4478 (objc-mode-abbrev-table, java-mode-abbrev-table)
4479 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4480 (awk-mode-abbrev-table): Use it.
4481 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4482 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4483 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4484 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4485 Move initialization into the declaration; and remove any
4488 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4489 and dynamic let binding.
4491 * vc/smerge-mode.el: Remove redundant :group args.
4493 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4496 2013-08-28 Juri Linkov <juri@jurta.org>
4498 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4499 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4500 (isearch-other-meta-char): Handle an undefined shifted printing
4501 character by downshifting it. (Bug#15200)
4503 2013-08-28 Juri Linkov <juri@jurta.org>
4505 * isearch.el (isearch-search): Change regexp error message for
4506 non-regexp searches. (Bug#15166)
4508 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4510 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4511 for portability to hosts where /bin/sh has problems.
4513 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4515 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4517 2013-08-27 Juri Linkov <juri@jurta.org>
4519 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4520 in the keyboard macro. (Bug#15126)
4522 2013-08-27 Juri Linkov <juri@jurta.org>
4524 * isearch.el (isearch-quote-char): Comment out converting unibyte
4525 to multibyte, thus syncing with its `quoted-insert' counterpart.
4528 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4530 * window.el (display-buffer-use-some-window): Add missing
4531 argument in call of get-largest-window (Bug#15185).
4532 Reported by Stephen Leake.
4534 2013-08-27 Glenn Morris <rgm@gnu.org>
4536 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4538 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4540 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4541 from a matcher-function unless there's no more matches (bug#15161).
4543 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4545 * minibuffer.el: Revert change from 2013-08-20.
4547 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4548 with text property `tramp-default', if appropriate.
4549 (tramp-check-proper-host): New defun.
4550 (tramp-dissect-file-name): Do not check hostname. Revert change
4552 (tramp-backtrace): Make VEC-OR-PROC optional.
4554 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4555 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4556 * net/tramp-sh.el (tramp-maybe-open-connection):
4557 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4558 Apply `tramp-check-proper-host'.
4560 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4562 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4563 lambda expression in order to have `describe-variable' display it.
4565 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4567 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4568 BUF can be optional. (Bug#15186)
4570 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4572 * progmodes/flymake.el (flymake-get-real-file-name-function):
4573 Fix broken customization. (Bug#15184)
4575 2013-08-25 Alan Mackenzie <acm@muc.de>
4577 Improve indentation of bracelists defined by macros (without "=").
4579 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4580 expansion begins with "{", regard it as bracelist when it doesn't
4583 Parse C++ inher-intro when there's a template split over 2 lines.
4585 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4586 rigorously the search for "class" etc. followed by ":".
4588 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4589 random languages a regexp which never matches rather than nil.
4591 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4593 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4594 (c-awk-regexp-one-line-possibly-open-char-list-re)
4595 (c-awk-one-line-possibly-open-regexp-re)
4596 (c-awk-one-line-non-syn-ws*-re): Remove.
4597 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4598 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4599 (c-awk-space*-unclosed-regexp-/-re): New constants.
4600 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4601 aren't regexp delimiters.
4603 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4604 handling for a rare situation in AWK Mode involving unterminated
4607 2013-08-23 Glenn Morris <rgm@gnu.org>
4609 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4611 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4613 * files.el (create-file-buffer): If the result would begin with
4614 spaces, prepend a "|" instead of removing them. (Bug#15162)
4616 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4618 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4619 text-properties (bug#15155).
4621 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4623 (calc-keypad-redraw): Remove unused var `pad'.
4624 (calc-keypad-press): Remove unused var `menu'.
4626 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4628 * window.el (display-buffer-pop-up-frame):
4629 Call pop-up-frame-function with BUFFER current so `make-frame' will
4630 use it as the new frame's buffer (Bug#15133).
4632 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4634 * calendar/timeclock.el: Minor cleanups.
4635 (timeclock-ask-before-exiting, timeclock-use-display-time):
4637 (timeclock-modeline-display): Define as alias before the
4639 (timeclock-mode-line-display): Use define-minor-mode.
4640 (timeclock-day-list-template): Make it a function, add an argument.
4641 (timeclock-day-list-required, timeclock-day-list-length)
4642 (timeclock-day-list-debt, timeclock-day-list-span)
4643 (timeclock-day-list-break): Adjust calls accordingly.
4645 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4647 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4648 Use read--expression so that completion works again.
4650 2013-08-21 Sam Steingold <sds@gnu.org>
4652 Add rudimentary inferior shell interaction
4653 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4654 (sh-set-shell): Reset it.
4655 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4656 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4658 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4660 * align.el: Use lexical-binding.
4661 (align-region): Simplify accordingly.
4663 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4665 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4667 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4670 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4674 * net/tramp-cmds.el:
4676 * net/tramp-gvfs.el:
4678 * net/tramp-sh.el: Don't wrap external variable declarations by
4679 `eval-when-compile'.
4681 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4683 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4684 now that Emacs supports ImageMagick animations.
4686 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4688 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4689 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4691 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4693 * window.el (mouse-autoselect-window-select): Do autoselect when
4694 mouse pointer is on margin.
4696 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4698 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4700 2013-08-16 Glenn Morris <rgm@gnu.org>
4702 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4703 Handle "Remote Directory" response of some clients. (Bug#15058)
4705 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4706 Tweak warning. (Bug#14926)
4708 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4709 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4711 * image-mode.el (image-mode-map): Add menu items to reverse,
4712 increase, decrease, reset animation speed.
4713 (image--set-speed, image-increase-speed, image-decrease-speed)
4714 (image-reverse-speed, image-reset-speed): New functions.
4715 (image-mode-map): Add bindings for speed commands.
4717 * image.el (image-animate-get-speed, image-animate-set-speed):
4719 (image-animate-timeout): Respect image :speed property.
4721 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4723 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4724 previous line (bug#15101).
4725 (debugger-eval-expression, debugger-record-expression):
4726 Use read--expression (bug#15102).
4728 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4730 Remove byte compiler warnings, visible when compiling with
4731 `byte-compile-force-lexical-warnings' set to t.
4733 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4734 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4735 (tramp-handle-unhandled-file-name-directory)
4736 (tramp-handle-file-notify-add-watch, tramp-action-login)
4737 (tramp-action-succeed, tramp-action-permission-denied)
4738 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4741 * net/tramp-adb.el (tramp-adb-parse-device-names)
4742 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4743 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4744 (tramp-adb-handle-file-truename): Remove unused arguments.
4746 * net/tramp-cache.el (tramp-flush-directory-property)
4747 (tramp-flush-connection-property, tramp-list-connections)
4748 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4750 * net/tramp-compat.el (tramp-compat-make-temp-file):
4751 Rename FILENAME to F.
4753 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4754 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4755 (tramp-zeroconf-parse-workstation-device-names)
4756 (tramp-zeroconf-parse-webdav-device-names)
4757 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4759 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4760 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4762 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4764 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4765 (tramp-sh-handle-insert-file-contents-literally)
4766 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4768 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4769 Remove unused variables.
4771 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4772 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4773 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4775 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4776 Make them a defconst.
4777 (tramp-uuencode-region): Remove unused variable.
4779 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4781 * frameset.el (frameset--prop-setter): New function.
4782 (frameset-prop): Add gv-setter declaration.
4783 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4784 parameter was already set in FILTERED. Doc fix.
4785 (frameset--record-minibuffer-relationships): Allow saving a
4786 minibufferless frame without its corresponding minibuffer frame.
4787 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4788 frame, if the frame id matches.
4789 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4790 frames before orphaned ones.
4791 (frameset-restore): Warn about orphaned windows, instead of error out.
4793 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4795 * window.el (window-make-atom): Don't overwrite parameter
4797 (display-buffer-in-atom-window): Handle special case where we
4798 split an already atomic window.
4799 (window--major-non-side-window, display-buffer-in-side-window)
4800 (window--side-check): Ignore minibuffer window when walking
4802 (window-deletable-p): Return 'frame only if no other frame uses
4803 our minibuffer window.
4804 (record-window-buffer): Run buffer-list-update-hook.
4805 (split-window): Make sure window--check-frame won't destroy an
4806 existing atomic window in case the new window gets nested
4808 (display-buffer-at-bottom): Ignore minibuffer window when
4809 walking window tree. Don't split a side window.
4810 (pop-to-buffer): Don't set-buffer here, the select-window call
4812 (mouse-autoselect-window-select): Autoselect only if we are in the
4813 text portion of the window.
4815 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4817 * net/shr.el (shr-parse-image-data): New function to grab both the
4818 data itself and the Content-Type.
4819 (shr-put-image): Use it.
4821 * net/eww.el (eww-display-image): Ditto.
4823 * image.el (image-content-type-suffixes): New variable.
4825 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4827 * progmodes/python.el (python-imenu--build-tree)
4828 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4830 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4832 * simple.el (backward-word): Mention the optional argument.
4834 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4836 * frameset.el (frameset--make): Rename constructor from make-frameset.
4837 (frameset-p, frameset-valid-p): Don't autoload.
4838 (frameset-valid-p): Use normal accessors.
4840 2013-08-13 Glenn Morris <rgm@gnu.org>
4842 * progmodes/compile.el (compile-command): Tweak example in doc.
4843 * obsolete/scribe.el (scribe-mode):
4844 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4846 * mail/feedmail.el (feedmail-confirm-outgoing)
4847 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4849 * cus-start.el (truncate-partial-width-windows): Fix type.
4851 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4853 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4855 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4857 * emacs-lisp/timer.el (timer--time-setter): New function.
4858 (timer--time): Use it as gv-setter.
4860 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4861 setter is not a symbol.
4863 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4865 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4866 if sending fails. This makes debugging easier.
4868 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4870 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4871 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4872 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4874 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4876 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4878 2013-08-12 Glenn Morris <rgm@gnu.org>
4880 * format.el (format-annotate-function):
4881 Handle read-only text properties in the source. (Bug#14887)
4883 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4885 * net/eww.el (eww-display-html): Ignore coding system errors.
4886 One web site uses "utf-8lias" as the coding system.
4888 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4890 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4892 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4894 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4895 (tutorial--detailed-help): Remove unused local variables.
4896 (tutorial--save-tutorial-to): Use ignore-errors.
4897 (help-with-tutorial): Use looking-at-p.
4899 * view.el (view-buffer-other-window, view-buffer-other-frame):
4900 Mark unused arguments.
4902 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4903 (woman-select-symbol-fonts, woman, woman-find-file)
4904 (woman-insert-file-contents, woman-non-underline-faces):
4906 (woman1-unquote): Move declaration.
4908 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4909 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4910 argument. Remove unused local variable.
4911 (xml-parse-elem-type): Use string-match-p.
4912 (xml-substitute-numeric-entities): Use ignore-errors.
4914 * calculator.el (calculator): Mark unused argument.
4915 (calculator-paste, calculator-quit, calculator-integer-p):
4917 (calculator-string-to-number, calculator-decimal, calculator-exp)
4918 (calculator-op-or-exp): Use string-match-p.
4920 * dired.el (dired-buffer-more-recently-used-p): Declare.
4921 (dired-insert-set-properties, dired-insert-old-subdirs):
4924 * dired-aux.el (dired-compress): Use ignore-errors.
4925 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4926 (dired-do-async-shell-command, dired-do-shell-command)
4927 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4928 (dired-insert-subdir-validate): Use string-match-p.
4929 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4930 (dired-add-entry): Use string-match-p, looking-at-p.
4931 (dired-insert-subdir-newpos): Remove unused local variable.
4933 * filenotify.el (file-notify-callback): Remove unused local variable.
4935 * filesets.el (filesets-error): Mark unused argument.
4936 (filesets-which-command-p, filesets-filter-dir-names)
4937 (filesets-directory-files, filesets-get-external-viewer)
4938 (filesets-ingroup-get-data): Use string-match-p.
4940 * find-file.el (ff-other-file-name, ff-other-file-name)
4941 (ff-find-the-other-file, ff-cc-hh-converter):
4942 Remove unused local variables.
4943 (ff-get-file-name): Use string-match-p.
4944 (ff-all-dirs-under): Use ignore-errors.
4946 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4947 (follow-select-if-visible): Remove unused local variable.
4949 * forms.el (read-file-filter): Move declaration.
4950 (forms--make-format, forms--make-parser, forms-insert-record):
4951 Quote function with #'.
4952 (forms--update): Use string-match-p. Quote function with #'.
4954 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4955 (help-make-xrefs): Use looking-at-p.
4956 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4958 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4959 (ibuffer-confirm-operation-on): Use string-match-p.
4961 * msb.el (msb-item-handler, msb-dired-item-handler):
4962 Mark unused arguments.
4964 * ses.el (ses-decode-cell-symbol)
4965 (ses-kill-override): Remove unused local variable.
4966 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4967 (ses-load): Use ignore-errors, looking-at-p.
4968 (ses-jump-safe): Use ignore-errors.
4969 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4971 * tabify.el (untabify, tabify): Mark unused arguments.
4973 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4974 Mark unused argument.
4975 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4976 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4978 * emacs-lisp/timer.el (timer--time): Define setter with
4979 gv-define-setter to avoid deprecation warning.
4981 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4982 (*record-cmpl-statistics-p*): Remove (was commented out).
4983 (cmpl-statistics-block): Remove (body was commented out).
4984 All callers changed.
4985 (add-completions-from-buffer, load-completions-from-file):
4986 Remove unused variables.
4988 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4990 * filecache.el (file-cache-delete-file-list):
4991 Print message only when told so.
4992 (file-cache-files-matching): Use #' in mapconcat argument.
4994 * ffap.el (ffap-url-at-point): Fix reference to variable
4995 thing-at-point-default-mail-uri-scheme.
4997 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4999 * subr.el (define-error): New function.
5000 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5001 error-file-not-found and define with define-error.
5002 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5003 and define with define-error.
5004 * userlock.el (file-locked, file-supersession):
5005 * simple.el (mark-inactive):
5006 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5007 * progmodes/ada-mode.el (ada-mode-errors):
5008 * play/life.el (life-extinct):
5009 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5010 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5011 * nxml/rng-util.el (rng-error):
5012 * nxml/rng-uri.el (rng-uri-error):
5013 * nxml/rng-match.el (rng-compile-error):
5014 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5015 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5016 * nxml/nxml-rap.el (nxml-scan-error):
5017 * nxml/nxml-outln.el (nxml-outline-error):
5018 * net/soap-client.el (soap-error):
5019 * net/gnutls.el (gnutls-error):
5020 * net/ange-ftp.el (ftp-error):
5021 * mpc.el (mpc-proc-error):
5022 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5023 (json-number-format, json-string-escape, json-string-format)
5024 (json-key-format, json-object-format):
5025 * jka-compr.el (compression-error):
5026 * international/quail.el (quail-error):
5027 * international/kkc.el (kkc-error):
5028 * emacs-lisp/ert.el (ert-test-failed):
5029 * calc/calc.el (calc-error, inexact-result, math-overflow)
5031 * bookmark.el (bookmark-error-no-filename):
5032 * epg.el (epg-error): Define with define-error.
5034 * time.el (display-time-event-handler)
5035 (display-time-next-load-average): Don't call sit-for since it seems
5036 unnecessary (bug#15045).
5038 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5039 Use #' instead of ' to quote functions.
5040 (checkdoc-output-mode): Use setq-local.
5041 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5042 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5043 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5044 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5045 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5046 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5047 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5048 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5050 * ido.el (ido-completion-help): Fix up compiler warning.
5052 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5054 * frameset.el (frameset-p): Add autoload cookie.
5055 (frameset--jump-to-register): New function, based on code moved from
5057 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5059 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5060 (frameset-restore, frameset-save, frameset-session-filter-alist):
5061 Remove declarations.
5062 (register-alist): Doc fix.
5063 (frameset-to-register): Move to frameset.el.
5064 (jump-to-register, describe-register-1): Remove frameset-specific code.
5066 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5068 * allout-widgets.el (allout-widgets-pre-command-business)
5069 (allout-widgets-post-command-business)
5070 (allout-widgets-after-change-handler)
5071 (allout-decorate-item-and-context, allout-set-boundary-marker)
5072 (allout-body-modification-handler)
5073 (allout-graphics-modification-handler): Mark ignored arguments.
5074 (allout-widgets-post-command-business)
5075 (allout-widgets-exposure-change-processor)
5076 (allout-widgets-exposure-undo-processor)
5077 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5078 (allout-parse-item-at-point, allout-decorate-item-guides)
5079 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5080 * allout.el (epa-passphrase-callback-function): Declare.
5081 (allout-overlay-insert-in-front-handler)
5082 (allout-overlay-interior-modification-handler)
5083 (allout-isearch-end-handler, allout-chart-siblings)
5084 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5085 (allout-yank-processing, allout-process-exposed)
5086 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5087 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5088 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5089 (lisp-indent-defform): Mark ignored arguments.
5090 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5091 (calculate-lisp-indent): Remove unused variables.
5092 * international/characters.el (indian-2-column, arabic-2-column)
5093 (tibetan): Mark ignored arguments.
5094 (use-cjk-char-width-table): Mark ignored arguments.
5095 Remove unused variables.
5096 * international/fontset.el (build-default-fontset-data)
5097 (x-compose-font-name, create-fontset-from-fontset-spec):
5098 Mark ignored arguments.
5099 (fontset-plain-name): Remove unused variables.
5100 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5101 (keyboard-coding-system): Mark ignored arguments.
5102 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5103 * help.el (resize-temp-buffer-window):
5104 * window.el (display-buffer-in-major-side-window)
5105 (display-buffer-in-side-window, display-buffer-in-previous-window):
5106 Remove unused variables.
5107 * isearch.el (isearch-forward-symbol):
5108 * version.el (emacs-bzr-version-bzr):
5109 * international/mule-cmds.el (current-language-environment):
5110 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5112 * term/pc-win.el (x-list-fonts, x-display-planes)
5113 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5114 (x-server-version, x-display-screens, x-display-mm-height)
5115 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5116 (x-selection-owner-p, x-own-selection-internal)
5117 (x-disown-selection-internal, x-get-selection-internal)
5118 (msdos-initialize-window-system):
5119 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5120 * term/x-win.el (x-handle-no-bitmap-icon):
5121 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5122 (vc-default-find-file-hook, vc-default-extra-menu):
5123 Mark ignored arguments.
5125 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5127 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5128 break-condition in the context of the debugged code (bug#12685).
5130 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5133 Do not use an overlay to highlight the last prompt. (Bug#14744)
5134 (comint-mode): Make comint-last-prompt buffer local.
5135 (comint-last-prompt): New variable.
5136 (comint-last-prompt-overlay): Remove. Superseded by
5138 (comint-snapshot-last-prompt, comint-output-filter):
5139 Use comint-last-prompt.
5141 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5143 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5144 (frameset-save): Check validity of the resulting frameset.
5146 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5148 * ido.el (ido-record-command): Add doc string.
5150 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5152 * frameset.el (frameset): Do not disable creation of the default
5153 frameset-p predicate. Doc fix.
5154 (frameset-valid-p): New function, copied from the old predicate-p.
5155 Add additional checks.
5156 (frameset-restore): Check with frameset-valid-p.
5157 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5158 (frameset-name, frameset-description, frameset-properties)
5159 (frameset-states): Add docstring.
5160 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5161 (frameset-filter-alist): Doc fixes.
5163 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5165 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5167 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5169 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5170 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5171 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5172 (byte-compile-normal-call): Remove obsolescence check.
5174 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5176 * frameset.el (frameset-restore): Doc fix.
5178 * register.el (frameset-frame-id, frameset-frame-with-id)
5179 (frameset-p, frameset-restore, frameset-save): Declare.
5180 (register-alist): Document framesets.
5181 (frameset-session-filter-alist): Declare.
5182 (frameset-to-register): New function.
5183 (jump-to-register): Implement jumping to framesets. Doc fix.
5184 (describe-register-1): Describe framesets.
5186 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5188 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5190 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5191 Use lexical-binding.
5193 * frameset.el (frameset): Use type vector, not list (incompatible
5194 change). Do not declare a new constructor, use the default one.
5195 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5196 `name' and `description', respectively, and add read-only slot
5197 `timestamp'. Doc fixes.
5198 (frameset-copy, frameset-persistent-filter-alist)
5199 (frameset-filter-alist, frameset-switch-to-gui-p)
5200 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5201 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5202 (frameset-filter-iconified, frameset-keep-original-display-p):
5204 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5205 Rename from frameset-filter-(save|restore)-param. All callers changed.
5207 (frameset-p): Adapt to change to vector and be more thorough.
5208 Change arg name to OBJECT. Doc fix.
5209 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5210 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5211 All callers changed.
5212 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5213 All callers changed.
5214 (frameset--record-minibuffer-relationships): Rename from
5215 frameset--process-minibuffer-frames. All callers changed.
5216 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5217 Use new default constructor (again). Doc fix.
5218 (frameset--find-frame-if): Rename from `frameset--find-frame.
5219 All callers changed.
5220 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5221 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5223 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5224 PARAMETERS and WINDOW-STATE, respectively.
5225 (frameset-restore): Add new keyword argument PREDICATE.
5226 Reset frameset--target-display to nil. Doc fix.
5228 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5230 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5232 (bat-mode-syntax-table): Mark \n as end-of-comment.
5233 (bat-font-lock-keywords): Remove comment rule.
5235 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5236 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5238 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5239 (byte-compile-callargs-warn): Use `push'.
5240 (byte-compile-arglist-warn): Ignore higher-order "calls".
5241 (byte-compile-file-form-autoload): Use `pcase'.
5242 (byte-compile-function-form): If quoting a symbol, check that it exists.
5244 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5246 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5247 and add a few popular commands found in batch files.
5248 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5249 (dos-mode): Doc fixes.
5251 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5253 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5254 (dos-mode): Use setq-local. Add space after "rem".
5255 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5256 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5258 2013-08-07 Arni Magnusson <arnima@hafro.is>
5260 * progmodes/dos.el: New file.
5261 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5264 2013-08-06 Glenn Morris <rgm@gnu.org>
5266 * calendar/calendar.el: Add new faces, and day-header-array.
5267 (calendar-weekday-header, calendar-weekend-header)
5268 (calendar-month-header): New faces.
5269 (calendar-day-header-construct): New function.
5270 (calendar-day-header-width): Also :set calendar-day-header-array.
5271 (calendar-american-month-header, calendar-european-month-header)
5272 (calendar-iso-month-header): Use calendar- faces.
5273 (calendar-generate-month):
5274 Use calendar-day-header-array for day headers; apply faces to them.
5275 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5276 (calendar-abbrev-construct): Add optional maxlen argument.
5277 (calendar-day-name-array): Doc fix.
5278 (calendar-day-name-array, calendar-abbrev-length)
5279 (calendar-day-abbrev-array):
5280 Also :set calendar-day-header-array, and maybe redraw.
5281 (calendar-day-header-array): New option. (Bug#15007)
5282 (calendar-font-lock-keywords): Set to nil and make obsolete.
5283 (calendar-day-name): Add option to use header array.
5285 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5287 * net/shr.el (shr-render-td): Remove debugging.
5288 (shr-render-td): Make width computation consistent by defaulting
5289 all zero-width columns to 10 characters. This may not be optimal,
5290 but it's at least consistent.
5291 (shr-make-table-1): Redo last change to fix the real problem in
5294 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5296 * files.el (cache-long-line-scans):
5297 Make obsolete alias to `cache-long-scans'.
5299 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5301 * frameset.el (frameset, frameset-filter-alist)
5302 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5303 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5304 (frameset-compute-pos): Rename from frameset--compute-pos,
5306 (frameset-move-onscreen): Use frameset-compute-pos.
5307 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5309 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5310 Fix typos in docstrings.
5312 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5314 * frame.el (get-other-frame): Tiny cleanup.
5316 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5318 * vc/vc.el (vc-default-ignore-completion-table):
5319 Silence byte-compiler warning.
5321 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5322 slot , which can indeed be nil.
5323 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5324 Move entry for `left' from persistent to live filter alist.
5325 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5327 (frameset-filter-params): When restoring a frame, copy items added to
5328 `filtered', to avoid unwittingly modifying the original parameters.
5329 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5330 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5332 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5333 to use looking-at-p instead of looking-at. (Bug#15028)
5335 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5337 Revert introduction of isearch-filter-predicates (bug#14714).
5338 Rely on add-function instead.
5339 * isearch.el (isearch-filter-predicates): Rename it back to
5340 isearch-filter-predicate.
5341 (isearch-message-prefix): Use advice-function-mapc and advice
5342 properties to get the isearch-message-prefix.
5343 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5344 instead of run-hook-with-args-until-failure.
5345 (isearch-filter-visible): Not obsolete any more.
5346 * loadup.el: Preload nadvice.
5347 * replace.el (perform-replace): Revert to funcall
5348 instead of run-hook-with-args-until-failure.
5349 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5350 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5351 dired-isearch-filenames-toggle; make it into a proper minor mode.
5352 Use add/remove-function.
5353 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5354 Call the minor-mode rather than add/remove-hook.
5355 (dired-isearch-filter-filenames):
5356 Remove isearch-message-prefix property.
5357 * info.el (Info--search-loop): New function, extracted from Info-search.
5358 Funcall isearch-filter-predicate instead of
5359 run-hook-with-args-until-failure isearch-filter-predicates.
5360 (Info-search): Use it.
5361 (Info-mode): Use isearch-filter-predicate instead of
5362 isearch-filter-predicates.
5364 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5366 Do not call to `selected-window' where it is assumed by default.
5367 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5368 `window-hscroll', `window-width', `window-height', `window-buffer',
5369 `window-frame', `window-start', `window-point', `next-window'
5370 and `window-display-table'.
5371 * abbrev.el (abbrev--default-expand):
5372 * bs.el (bs--show-with-configuration):
5373 * buff-menu.el (Buffer-menu-mouse-select):
5374 * calc/calc.el (calc):
5375 * calendar/calendar.el (calendar-generate-window):
5376 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5378 * comint.el (send-invisible, comint-dynamic-complete-filename)
5379 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5380 * completion.el (complete):
5381 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5382 * disp-table.el (describe-current-display-table):
5383 * doc-view.el (doc-view-insert-image):
5384 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5385 * ehelp.el (with-electric-help):
5386 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5387 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5388 * emacs-lisp/helper.el (Helper-help-scroller):
5389 * emulation/cua-base.el (cua--post-command-handler-1):
5390 * eshell/esh-mode.el (eshell-output-filter):
5391 * ffap.el (ffap-gnus-wrapper):
5392 * help-macro.el (make-help-screen):
5393 * hilit-chg.el (highlight-compare-buffers):
5394 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5395 * hl-line.el (global-hl-line-highlight):
5396 * icomplete.el (icomplete-simple-completing-p):
5397 * isearch.el (isearch-done):
5398 * jit-lock.el (jit-lock-stealth-fontify):
5399 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5400 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5401 * mpc.el (mpc-tagbrowser, mpc):
5402 * net/rcirc.el (rcirc-any-buffer):
5403 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5404 * play/landmark.el (landmark-max-width, landmark-max-height):
5405 * play/zone.el (zone):
5406 * progmodes/compile.el (compilation-goto-locus):
5407 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5408 * progmodes/etags.el (find-tag-other-window):
5409 * progmodes/fortran.el (fortran-column-ruler):
5410 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5411 * progmodes/verilog-mode.el (verilog-point-text):
5412 * reposition.el (reposition-window):
5413 * rot13.el (toggle-rot13-mode):
5414 * server.el (server-switch-buffer):
5415 * shell.el (shell-dynamic-complete-command)
5416 (shell-dynamic-complete-environment-variable):
5417 * simple.el (insert-buffer, set-selective-display)
5418 (delete-completion-window):
5419 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5420 (speedbar-recenter):
5421 * startup.el (fancy-splash-head):
5422 * textmodes/ispell.el (ispell-command-loop):
5423 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5424 * tutorial.el (help-with-tutorial):
5425 * vc/add-log.el (add-change-log-entry):
5426 * vc/compare-w.el (compare-windows):
5427 * vc/ediff-help.el (ediff-indent-help-message):
5428 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5429 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5430 (ediff-setup-control-frame):
5431 * vc/emerge.el (emerge-position-region):
5432 * vc/pcvs-util.el (cvs-bury-buffer):
5433 * window.el (walk-windows, mouse-autoselect-window-select):
5434 * winner.el (winner-set-conf, winner-undo): Related users changed.
5436 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5438 * frameset.el (frameset--set-id): Doc fix.
5439 (frameset-frame-id, frameset-frame-id-equal-p)
5440 (frameset-locate-frame-id): New functions.
5441 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5442 (frameset-restore): Use them.
5444 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5446 Do not call to `selected-frame' where it is assumed by default.
5447 Affected functions are `raise-frame', `redraw-frame',
5448 `frame-first-window', `frame-terminal' and `delete-frame'.
5449 * calendar/appt.el (appt-disp-window):
5450 * epg.el (epg-wait-for-completion):
5451 * follow.el (follow-delete-other-windows-and-split)
5452 (follow-avoid-tail-recenter):
5453 * international/mule.el (set-terminal-coding-system):
5454 * mail/rmail.el (rmail-mail-return):
5455 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5456 * progmodes/f90.el (f90-add-imenu-menu):
5457 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5458 * server.el (server-switch-buffer):
5459 * simple.el (delete-completion-window):
5461 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5462 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5463 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5464 * vc/ediff.el (ediff-documentation): Related users changed.
5465 * frame.el (selected-terminal): Remove the leftover.
5467 2013-08-05 Glenn Morris <rgm@gnu.org>
5469 * calendar/calendar.el (calendar-generate-month):
5470 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5471 (calendar-generate-month, calendar-font-lock-keywords):
5472 Fix for calendar-day-header-width > length of any day name.
5474 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5476 * desktop.el (desktop-clear): Use new name of sort predicate.
5478 * frameset.el (frameset): Add docstring. Move :version property to its
5480 (frameset-copy): Rename from copy-frameset.
5481 (frameset-p): Check more thoroughly.
5482 (frameset-prop): Do not check for :version, which is no longer a prop.
5483 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5484 Use new :never value instead of t.
5485 (frameset-filter-alist): Expand and clarify docstring.
5486 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5487 (frameset-filter-minibuffer, frameset-filter-save-param)
5488 (frameset-filter-restore-param, frameset-filter-iconified):
5489 Add pointer to docstring of frameset-filter-alist.
5490 (frameset-filter-params): Rename filter values to be more meaningful:
5491 :never instead of t, and reverse the meanings of :save and :restore.
5492 (frameset--process-minibuffer-frames): Clarify error message.
5493 (frameset-save): Avoid unnecessary and confusing call to framep.
5494 Use new BOA constructor for framesets.
5495 (frameset--reuse-list): Doc fix.
5496 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5497 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5498 (frameset-minibufferless-first-p): Doc fix.
5499 Rename from frameset-sort-frames-for-deletion.
5500 (frameset-restore): Doc fixes. Use new function names.
5501 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5503 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5505 * desktop.el (desktop-restore-forces-onscreen)
5506 (desktop-restore-reuses-frames): Document :keyword constant values.
5507 (desktop-filter-parameters-alist): Remove, now identical to
5508 frameset-filter-alist.
5509 (desktop--filter-tty*): Remove, moved to frameset.el.
5510 (desktop-save-frameset, desktop-restore-frameset):
5511 Do not pass :filters argument.
5513 * frameset.el (frameset-live-filter-alist)
5514 (frameset-persistent-filter-alist): New variables.
5515 (frameset-filter-alist): Use them. Add autoload cookie.
5516 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5517 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5518 `frameset--id' (it's supposed to be internal to frameset.el).
5519 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5520 (frameset--initial-params): New function.
5521 (frameset--get-frame): Use it. Doc fix.
5522 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5523 Accept :all, not 'all.
5524 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5525 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5526 with fbound symbols. Fix frame id matching, and remove matching ids if
5527 the frame being restored is deleted. Obey :delete.
5529 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5531 * subr.el (macrop): New function.
5532 (text-clone--maintaining): New var.
5533 (text-clone--maintain): Rename from text-clone-maintain. Use it
5534 instead of inhibit-modification-hooks.
5536 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5537 a proxy, so as handle autoloads and redefinitions of the target.
5538 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5540 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5541 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5542 (pcase--mutually-exclusive-p): New function.
5543 (pcase--split-consp): Use it.
5544 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5545 mutually exclusive with the current predicate.
5547 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5548 (edebug-macrop): Remove. Use `macrop' instead.
5549 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5551 * eshell/esh-cmd.el (eshell-macrop):
5552 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5554 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5556 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5557 (advice-mapc): New function, using it.
5558 (advice-function-member-p): New function.
5559 (advice--normalize): Store the cdr in advice--saved-rewrite since
5560 that's the part that will be changed.
5561 (advice--symbol-function): New function.
5562 (advice-remove): Handle removal before the function is defined.
5563 Adjust to new advice--saved-rewrite.
5564 (advice-member-p): Use advice-function-member-p and
5565 advice--symbol-function.
5567 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5569 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5570 (frameset-filter-minibuffer): Doc fix.
5571 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5572 (frameset--set-id, frameset--process-minibuffer-frames)
5573 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5574 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5576 * desktop.el (desktop-clear): Only delete frames when called
5577 interactively and desktop-restore-frames is non-nil. Doc fix.
5578 (desktop-read): Set desktop-saved-frameset to nil.
5580 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5582 * vc/vc.el (vc-ignore): Rewrite.
5583 (vc-default-ignore-completion-table):
5585 (vc--add-line, vc--remove-regexp): New functions.
5587 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5588 (vc-svn-ignore-completion-table): New function.
5590 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5591 (vc-hg-ignore-completion-table):
5592 (vc-hg-find-ignore-file): New functions.
5594 * vc/vc-git.el (vc-git-ignore): Rewrite.
5595 (vc-git-ignore-completion-table):
5596 (vc-git-find-ignore-file): New functions.
5598 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5600 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5601 (vc-bzr-ignore-completion-table):
5602 (vc-bzr-find-ignore-file): New functions.
5604 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5606 * frameset.el (frameset-prop): New function and setter.
5607 (frameset-save): Do not modify frame list passed by the caller.
5609 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5611 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5613 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5615 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5616 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5618 * custom.el (custom-initialize-default, custom-initialize-set)
5619 (custom-initialize-reset, custom-initialize-changed): Affect the
5620 toplevel-default-value (bug#6275, bug#14586).
5621 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5624 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5626 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5627 Add cl-def* expressions.
5629 * frameset.el (frameset-filter-params): Fix order of arguments.
5631 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5633 Move code related to saving frames to frameset.el.
5634 * desktop.el: Require frameset.
5635 (desktop-restore-frames): Doc fix.
5636 (desktop-restore-reuses-frames): Rename from
5637 desktop-restoring-reuses-frames.
5638 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5639 (desktop-clear): Clear frames too.
5640 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5641 (desktop--filter-tty*, desktop-save, desktop-read):
5642 Use frameset functions.
5643 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5644 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5645 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5646 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5647 (desktop--process-minibuffer-frames, desktop-save-frames)
5648 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5649 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5650 (desktop--sort-states, desktop-restoring-frames-p)
5651 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5652 (desktop-restoring-frameset-p, desktop-restore-frameset)
5653 (desktop--check-dont-save, desktop-save-frameset): New functions.
5654 (desktop--app-id): New constant.
5655 (desktop-first-buffer, desktop-buffer-ok-count)
5656 (desktop-buffer-fail-count): Move before first use.
5657 * frameset.el: New file.
5659 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5661 * files.el: Use lexical-binding.
5662 (dir-locals-read-from-file): Remove unused `err' variable.
5663 (hack-dir-local-variables--warned-coding): New var.
5664 (hack-dir-local-variables): Use it to avoid repeated warnings.
5665 (make-backup-file-name--default-function): New function.
5666 (make-backup-file-name-function): Use it as default.
5667 (buffer-stale--default-function): New function.
5668 (buffer-stale-function): Use it as default.
5669 (revert-buffer-insert-file-contents--default-function): New function.
5670 (revert-buffer-insert-file-contents-function): Use it as default.
5671 (insert-directory): Avoid add-to-list.
5673 * autorevert.el (auto-revert-handler): Simplify.
5674 Use buffer-stale--default-function.
5676 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5678 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5680 * whitespace.el (whitespace-ensure-local-variables): New function.
5681 (whitespace-cleanup-region): Call it.
5682 (whitespace-turn-on): Call it.
5684 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5686 Complete file name handlers.
5688 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5689 (tramp-handle-verify-visited-file-modtime)
5690 (tramp-handle-file-notify-rm-watch): New functions.
5691 (tramp-call-process): Do not bind `default-directory'.
5693 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5694 Order alphabetically.
5695 [access-file, add-name-to-file, dired-call-process]:
5696 [dired-compress-file, file-acl, file-notify-rm-watch]:
5697 [file-ownership-preserved-p, file-selinux-context]:
5698 [make-directory-internal, make-symbolic-link, set-file-acl]:
5699 [set-file-selinux-context, set-visited-file-modtime]:
5700 [verify-visited-file-modtime]: Add handler.
5701 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5703 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5704 [file-notify-add-watch, file-notify-rm-watch]:
5705 [set-file-times, set-visited-file-modtime]:
5706 [verify-visited-file-modtime]: Add handler.
5707 (with-tramp-gvfs-error-message)
5708 (tramp-gvfs-handle-set-visited-file-modtime)
5709 (tramp-gvfs-fuse-file-name): Remove.
5710 (tramp-gvfs-handle-file-notify-add-watch)
5711 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5712 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5714 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5715 Order alphabetically.
5716 [file-notify-rm-watch ]: Use default Tramp handler.
5717 [executable-find]: Remove private handler.
5718 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5719 `default-directory'.
5720 (tramp-sh-handle-executable-find)
5721 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5722 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5723 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5724 Do not use `format' in `tramp-message'.
5726 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5727 [file-notify-rm-watch, set-visited-file-modtime]:
5728 [verify-visited-file-modtime]: Add handler.
5729 (tramp-smb-call-winexe): Do not bind `default-directory'.
5731 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5733 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5735 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5737 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5739 (log-view-diff-changeset): Same.
5740 (log-view-diff-common): Call backend command `previous-revision'
5741 to find out the previous revision, in both cases. Swap the
5742 variables `to' and `fr', so that `fr' usually refers to the
5743 earlier revision (Bug#14989).
5745 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5747 * ibuf-ext.el (ibuffer-filter-by-filename):
5748 Make it work with dired buffers too.
5750 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5752 * emacs-lisp/re-builder.el (reb-color-display-p):
5753 * files.el (save-buffers-kill-terminal):
5754 * net/browse-url.el (browse-url):
5755 * server.el (server-save-buffers-kill-terminal):
5756 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5757 Prefer nil to selected-frame for the first arg of frame-parameter.
5759 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5761 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5763 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5765 * minibuffer.el (completion--twq-all): Try and preserve each
5766 completion's case choice (bug#14907).
5768 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5770 * net/network-stream.el (open-network-stream): Mention the new
5771 :nogreeting parameter.
5772 (network-stream-open-starttls): Use the :nogreeting parameter
5775 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5777 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5778 more natural than popping.
5780 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5781 (shr-urlify): Highlight under mouse.
5783 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5785 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5787 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5789 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5792 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5793 point-min==1. Fix search string. Fix parentheses missing.
5795 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5796 assume point-min==1. Fix search string. Fix parentheses missing.
5798 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5800 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5803 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5805 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5806 initial frame is minibuffer-less. (Bug#14841)
5808 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5810 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5813 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5814 (tramp-maybe-open-connection): Use it.
5816 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5818 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5819 minimal set of parameters passed when creating a frame, because
5820 the minibuffer status of a frame cannot be changed later.
5822 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5824 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5825 replace-regexp-in-string and inadvertent omissions in previous change.
5826 (todo-filter-items): Ensure only file names are comma-separated in
5827 name of filtered items buffer.
5829 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5831 * desktop.el: Optionally force offscreen frames back onscreen.
5832 (desktop-restoring-reuses-frames): New option.
5833 (desktop--compute-pos, desktop--move-onscreen): New functions.
5834 (desktop--make-frame): Use desktop--move-onscreen.
5836 2013-07-27 Alan Mackenzie <acm@muc.de>
5838 Fontify a Java generic method as a function.
5839 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5842 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5844 * calendar/todo-mode.el: Add command to rename todo files.
5845 (todo-rename-file): New command.
5846 (todo-key-bindings-t): Add key binding for it. Change the
5847 bindings of todo-filter-regexp-items(-multifile) to use `x'
5848 instead of `r', since the latter is better suited to the new
5851 2013-07-27 Alan Mackenzie <acm@muc.de>
5853 Make Java try-with-resources statement parse properly.
5854 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5855 (c-block-stmt-1-2-key): New language constants/variables.
5856 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5857 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5858 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5859 with c-block-stmt-1-2-key.
5861 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5863 * desktop.el (desktop--make-frame): Apply most frame parameters after
5864 creating the frame to force (partially or totally) offscreen frames to
5865 be restored as such.
5867 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5869 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5872 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5874 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5875 `base' arg of backtrace-frame.
5877 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5879 * simple.el (list-processes): Doc fix.
5881 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5883 * desktop.el (desktop--select-frame):
5884 Try harder to reuse existing frames.
5886 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5888 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5889 (edebug-eval): Use backtrace-eval.
5890 (edebug--display, edebug--recursive-edit): Don't let-bind the
5891 edebug-outer-* vars that keep track of variables we locally let-bind.
5892 (edebug-outside-excursion): Don't restore outside values of locally
5894 (edebug--display): Use user-error.
5895 (cl-lexical-debug, cl-debug-env): Remove.
5897 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5899 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5900 are restored to be sure that they are visible before deleting any
5903 2013-07-26 Matthias Meulien <orontee@gmail.com>
5905 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5906 vc-print-root-log. (Bug#14948)
5908 2013-07-26 Richard Stallman <rms@gnu.org>
5910 Add aliases for encrypting mail.
5911 * epa.el (epa-mail-aliases): New option.
5912 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5913 Bind inhibit-read-only so read-only text doesn't ruin everything.
5914 (epa-mail-default-recipients): New subroutine broken out.
5915 Handle epa-mail-aliases.
5917 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5919 Add support for lexical variables to the debugger's `e' command.
5920 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5921 vars, except for debugger-outer-match-data.
5922 (debugger-frame-number): Move check for "on a function call" from
5923 callers into it. Add `skip-base' argument.
5924 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5925 (debugger-env-macro): Only reset the state stored in non-variables,
5926 i.e. current-buffer and match-data.
5927 (debugger-eval-expression): Rewrite using backtrace-eval.
5928 * subr.el (internal--called-interactively-p--get-frame): Remove.
5929 (called-interactively-p):
5930 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5931 `base' arg of backtrace-frame instead.
5933 2013-07-26 Glenn Morris <rgm@gnu.org>
5935 * align.el (align-regexp): Doc fix. (Bug#14857)
5936 (align-region): Explicit error if subexpression missing/does not match.
5938 * simple.el (global-visual-line-mode):
5939 Do not duplicate the mode lighter. (Bug#14858)
5941 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5943 * window.el (display-buffer): In display-buffer bind
5944 split-window-keep-point to t, bug#14829.
5946 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5948 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5949 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5950 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5951 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5953 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5954 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5956 2013-07-25 Glenn Morris <rgm@gnu.org>
5958 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5960 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5962 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5963 parameter to modify-frame-parameters if the value has not changed;
5964 this is a workaround for bug#14949.
5965 (desktop--make-frame): On cl-delete-if call, check parameter name,
5968 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5970 * vc/vc.el (vc-ignore): New function.
5972 * vc/vc-svn.el (vc-svn-ignore): New function.
5974 * vc/vc-hg.el (vc-hg-ignore): New function.
5976 * vc/vc-git.el (vc-git-ignore): New function.
5978 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5979 (vc-dir-ignore): New function.
5981 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5982 (cvs-append-to-ignore): Move here from pcvs.el.
5984 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5986 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5988 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5990 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5991 (desktop-restore-frames): Warn when deleting an existing frame failed.
5993 2013-07-24 Glenn Morris <rgm@gnu.org>
5995 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5997 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5999 * filenotify.el (file-notify-supported-p):
6000 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6003 * autorevert.el (auto-revert-use-notify):
6004 (auto-revert-notify-add-watch):
6005 * net/tramp.el (tramp-file-name-for-operation):
6006 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6007 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6008 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6009 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6010 Remove `file-notify-supported-p' entry.
6012 2013-07-24 Glenn Morris <rgm@gnu.org>
6014 * printing.el: Replace all uses of deleted ps-windows-system,
6015 ps-lp-system, ps-flatten-list with lpr- versions.
6017 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6019 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6020 checked with memq (bug#14935).
6022 * files.el (revert-buffer-function): Use a non-nil default.
6023 (revert-buffer-preserve-modes): Declare var to
6024 provide access to the `preserve-modes' argument.
6025 (revert-buffer): Let-bind it.
6026 (revert-buffer--default): New function, extracted from revert-buffer.
6028 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6030 * lpr.el: Signal print errors more prominently.
6031 (print-region-function): Don't default to nil.
6032 (lpr-print-region): New function, extracted from print-region-1.
6033 Check lpr's return value and signal an error in case of problem.
6034 (print-region-1): Use it.
6035 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6037 (ps-printer-name): Default to nil.
6038 (ps-printer-name-option): Default to lpr-printer-switch.
6039 (ps-print-region-function): Don't default to nil.
6040 (ps-postscript-code-directory): Simplify default.
6041 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6042 (ps-string-list, ps-eval-switch, ps-flatten-list)
6043 (ps-flatten-list-1): Remove.
6044 (ps-multibyte-buffer): Avoid setq.
6045 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6046 (print-region-function, ps-print-region-function): Don't set them here.
6048 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6050 * ido.el (ido-fractionp):
6051 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6052 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6053 (ido-max-directory-size, ido-max-dir-file-cache)
6054 (ido-decorations): Doc fix.
6056 * ansi-color.el: Fix old URL.
6058 2013-07-23 Michael R. Mauger <michael@mauger.com>
6060 * progmodes/sql.el: Version 3.3
6061 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6062 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6063 (sql-interactive-remove-continuation-prompt): Rewrite, use
6064 functions above. Fix continuation prompt and complete output line
6066 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6067 redirected output buffer.
6068 (sql-mode): Restore deleted code (Bug#13591).
6070 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6072 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6074 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6076 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6078 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6079 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6080 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6082 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6084 * desktop.el (desktop-clear): Simplify; remove useless checks
6085 against invalid buffer names.
6086 (desktop-list*): Use cl-list*.
6087 (desktop-buffer-info, desktop-create-buffer): Simplify.
6089 2013-07-23 Leo Liu <sdl.web@gmail.com>
6091 * bookmark.el (bookmark-make-record): Restore NAME as a default
6094 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6096 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6097 extracted from autoload--insert-text.
6098 (autoload--insert-text): Remove.
6099 (autoload--print-cookie-text): New function, extracted from
6100 autoload--insert-cookie-text.
6101 (autoload--insert-cookie-text): Remove.
6102 (autoload-generate-file-autoloads): Adjust calls accordingly.
6104 * winner.el (winner-hook-installed-p): Remove.
6105 (winner-mode): Simplify accordingly.
6107 * subr.el (add-to-list): Fix compiler-macro when `append' is
6108 not constant. Don't use `cl-member' for the base case.
6110 * progmodes/subword.el: Fix boundary case (bug#13758).
6111 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6113 (subword-backward-regexp): Make it a constant.
6114 (subword-forward-internal): Don't treat a trailing capital as the
6115 beginning of a word.
6117 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6119 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6120 global value of tabulated-list-revert-hook (bug#14930).
6122 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6124 * desktop.el: Require 'cl-lib.
6125 (desktop-before-saving-frames-functions): New hook.
6126 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6127 for frames being saved. Rename from desktop--save-minibuffer-frames.
6128 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6129 Do not save frames with non-nil `desktop-dont-save' parameter.
6130 Filter out deleted frames.
6131 (desktop--find-frame): Use cl-find-if.
6132 (desktop--select-frame): Use cl-(first|second|third) to access values
6134 (desktop--make-frame): Use cl-delete-if.
6135 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6136 (desktop-restore-frames): Use cl-(first|second|third) to access values
6137 of desktop-mini. Look for visible frame at the end, not while
6140 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6141 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6142 Use string-match-p, looking-at-p (bug#14927).
6144 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6146 * desktop.el (desktop-saved-frame-states):
6147 Rename from desktop--saved-states; all users changed.
6148 (desktop-save-frames): Rename from desktop--save-frames.
6149 Do not save state to desktop file.
6150 (desktop-save): Save desktop-saved-frame-states to desktop file
6152 (desktop-restoring-frames-p): New function.
6153 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6154 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6155 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6157 * desktop.el: Correctly restore iconified frames.
6158 (desktop--filter-iconified-position): New function.
6159 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6161 2013-07-20 Glenn Morris <rgm@gnu.org>
6163 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6164 Let `message' do the formatting.
6165 (def-gdb-preempt-display-buffer): Add explicit format.
6167 * image-dired.el (image-dired-track-original-file):
6168 Use with-current-buffer.
6169 (image-dired-track-thumbnail): Use with-current-buffer.
6170 Avoid changing point of wrong window.
6172 * image-dired.el (image-dired-track-original-file):
6173 Avoid changing point of wrong window. (Bug#14909)
6175 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6177 * progmodes/gdb-mi.el (gdb-done-or-error):
6178 Guard against "%" in gdb output. (Bug#14127)
6180 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6182 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6185 * international/mule.el (coding-system-iso-2022-flags): Fix last
6188 2013-07-20 Kenichi Handa <handa@gnu.org>
6190 * international/mule.el (coding-system-iso-2022-flags):
6191 Add `8-bit-level-4'. (Bug#8522)
6193 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6195 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6198 * net/eww.el (eww-process-text-input): Allow inputting when the
6199 point is at the start of the line, as the properties aren't
6202 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6205 2013-07-19 Richard Stallman <rms@gnu.org>
6207 * epa.el (epa-popup-info-window): Doc fix.
6209 * subr.el (split-string): New arg TRIM.
6211 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6213 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6214 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6216 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6218 * filenotify.el (file-notify--library): Rename from
6219 `file-notify-support'. Do not autoload. Adapt all uses.
6220 (file-notify-supported-p): New defun.
6222 * autorevert.el (auto-revert-use-notify):
6223 Use `file-notify-supported-p' instead of `file-notify-support'.
6225 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6227 * net/tramp.el (tramp-file-name-for-operation):
6228 Add `file-notify-supported-p'.
6230 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6232 (tramp-sh-file-name-handler-alist): Add it as handler for
6233 `file-notify-supported-p '.
6235 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6236 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6237 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6238 Add `ignore' as handler for `file-notify-*' functions.
6240 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6242 * simple.el (line-move-partial, line-move): Don't start vscroll or
6243 scroll-up if the current line is not taller than the window.
6246 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6248 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6249 highlight question marks in the method names as strings.
6250 (ruby-block-beg-keywords): Inline.
6251 (ruby-font-lock-keyword-beg-re): Extract from
6252 `ruby-font-lock-keywords'.
6254 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6256 * frame.el (blink-cursor-blinks): New defcustom.
6257 (blink-cursor-blinks-done): New defvar.
6258 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6259 (blink-cursor-timer-function): Check if number of blinks has been
6261 (blink-cursor-suspend, blink-cursor-check): New defuns.
6263 2013-07-15 Glenn Morris <rgm@gnu.org>
6265 * edmacro.el (edmacro-format-keys): Fix previous change.
6267 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6269 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6270 The hack didn't work outside English locales anyway.
6272 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6274 * simple.el (define-alternatives): Rename from alternatives-define,
6275 per RMS' suggestion.
6277 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6279 * desktop.el (desktop-restore-frames): Change default to t.
6280 (desktop-restore-in-current-display): Now offer more options.
6281 (desktop-restoring-reuses-frames): New customization option.
6282 (desktop--saved-states): Doc fix.
6283 (desktop-filter-parameters-alist): New variable, renamed and expanded
6284 from desktop--excluded-frame-parameters.
6285 (desktop--target-display): New variable.
6286 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6287 (desktop--filter-tty*, desktop--filter-*-color)
6288 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6289 (desktop--filter-save-desktop-parm)
6290 (desktop-restore-in-original-display-p): New functions.
6291 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6292 (desktop--save-minibuffer-frames): New function, inspired by a similar
6293 function from Martin Rudalics.
6294 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6295 (desktop--restore-in-this-display-p): Remove.
6296 (desktop--find-frame): Rename from desktop--find-frame-in-display
6297 and add predicate argument.
6298 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6299 (desktop--reuse-list): New variable.
6300 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6302 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6304 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6306 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6308 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6310 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6311 Highlight conversion methods on Kernel.
6313 2013-07-13 Alan Mackenzie <acm@muc.de>
6315 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6316 and comment it out. This out-commenting enables certain C++
6317 declarations to be parsed correctly.
6319 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6321 * international/mule.el (define-coding-system): Doc fix.
6323 * simple.el (default-font-height): Don't call font-info if the
6324 frame's default font didn't change since the frame was created.
6327 2013-07-13 Leo Liu <sdl.web@gmail.com>
6329 * ido.el (ido-read-file-name): Guard against non-symbol value.
6331 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6333 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6336 2013-07-13 Leo Liu <sdl.web@gmail.com>
6338 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6339 ido-set-matches call. (Bug#6852)
6341 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6343 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6344 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6346 (ruby-font-lock-keywords): Distinguish calls to functions with
6347 module-like names from module references. Highlight character
6350 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6352 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6353 (gdb-send): Handle continued commands. (Bug#14847)
6355 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6357 * desktop.el (desktop--v2s): Remove unused local variable.
6358 (desktop-save-buffer): Make defvar-local; adjust docstring.
6359 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6360 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6362 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6364 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6366 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6368 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6371 2013-07-12 Glenn Morris <rgm@gnu.org>
6373 * doc-view.el: Require cl-lib at runtime too.
6374 (doc-view-remove-if): Remove.
6375 (doc-view-search-next-match, doc-view-search-previous-match):
6378 * edmacro.el: Require cl-lib at runtime too.
6379 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6380 (edmacro-mismatch, edmacro-subseq): Remove.
6382 * shadowfile.el: Require cl-lib.
6383 (shadow-remove-if): Remove.
6384 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6387 * wid-edit.el: Require cl-lib.
6388 (widget-choose): Use cl-remove-if.
6389 (widget-remove-if): Remove.
6391 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6392 (ebrowse-delete-if-not): Remove.
6393 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6394 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6395 Use cl-delete-if-not.
6397 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6399 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6400 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6402 2013-07-12 Leo Liu <sdl.web@gmail.com>
6404 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6406 2013-07-11 Glenn Morris <rgm@gnu.org>
6408 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6409 (edebug-gensym-index, edebug-gensym):
6410 Remove reimplementation of cl-gensym.
6411 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6413 * thumbs.el: Require cl-lib at run-time too.
6414 (thumbs-gensym-counter, thumbs-gensym):
6415 Remove reimplementation of cl-gensym.
6416 (thumbs-temp-file): Use cl-gensym.
6418 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6419 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6420 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6421 (ert--union, ert--gensym-counter, ert--gensym-counter)
6422 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6423 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6424 (ert-make-test-unbound, ert--expand-should-1)
6425 (ert--expand-should, ert--should-error-handle-error)
6426 (should-error, ert--explain-equal-rec)
6427 (ert--plist-difference-explanation, ert-select-tests)
6428 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6429 Use cl-lib functions rather than reimplementations.
6431 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6433 * net/tramp.el (tramp-methods): Extend docstring.
6434 (tramp-connection-timeout): New defcustom.
6435 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6436 (with-tramp-progress-reporter): Simplify.
6437 (tramp-process-actions): Improve messages.
6439 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6440 * net/tramp-sh.el (tramp-maybe-open-connection):
6441 Use `tramp-connection-timeout'.
6442 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6445 2013-07-11 Leo Liu <sdl.web@gmail.com>
6447 * ido.el (ido-read-file-name): Conform to the requirements of
6448 read-file-name. (Bug#11861)
6449 (ido-read-directory-name): Conform to the requirements of
6450 read-directory-name.
6452 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6454 * subr.el (delay-warning): New function.
6456 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6458 * simple.el (default-line-height): New function.
6459 (line-move-partial, line-move): Use it instead of computing the
6461 (line-move-partial): Always compute ROWH. If the last line is
6462 partially-visible, but its text is completely visible, allow
6463 cursor to enter such a partially-visible line.
6465 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6467 Improve error messages. (Bug#14808)
6469 * net/tramp.el (tramp-current-connection): New defvar, moved from
6471 (tramp-message-show-progress-reporter-message): Remove, not
6473 (tramp-error-with-buffer): Show message in minibuffer.
6474 Discard input before waiting. Reset connection timestamp.
6475 (with-tramp-progress-reporter): Improve messages.
6476 (tramp-process-actions): Use progress reporter. Delete process in
6477 case of error. Improve messages.
6479 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6480 Call `tramp-error-with-buffer' with vector and buffer.
6481 (tramp-current-connection): Remove.
6482 (tramp-maybe-open-connection): The car of
6483 `tramp-current-connection' are the first 3 slots of the vector.
6485 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6487 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6488 inside continued strings.
6490 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6492 Timestamp fixes for undo (Bug#14824).
6493 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6495 2013-07-10 Leo Liu <sdl.web@gmail.com>
6497 * files.el (require-final-newline): Allow safe local value.
6500 2013-07-09 Leo Liu <sdl.web@gmail.com>
6502 * ido.el (ido-read-directory-name): Handle fallback.
6503 (ido-read-file-name): Update DIR to ido-current-directory.
6505 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6507 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6509 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6510 "autoload". Remove "warn lower camel case" section, previously
6511 commented out. Highlight negation char. Do not highlight the
6512 target in singleton method definitions.
6514 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6516 * faces.el (tty-setup-hook): Declare the hook.
6518 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6519 and detect when a guard/pred depends on local vars (bug#14773).
6520 (pcase--u1): Adjust caller.
6522 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6524 * simple.el (line-move-partial, line-move): Account for
6526 (line-move-partial): Avoid setting vscroll when the last
6527 partially-visible line in window is of default height.
6529 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6531 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6534 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6536 * subr.el (read-quoted-char): Remove unused local variable `char'.
6538 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6540 * ediff.el (ediff-version): Version update.
6541 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6542 (ediff-merge-with-ancestor-command, ediff-directories-command)
6543 (ediff-directories3-command, ediff-merge-directories-command)
6544 (ediff-merge-directories-with-ancestor-command): New functions.
6545 All are command-line interfaces to ediff: to facilitate calling
6546 Emacs with the appropriate ediff functions invoked.
6548 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6549 (viper-save-kill-buffer): Check if buffer is modified.
6551 * viper.el (viper-version): Version update.
6552 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6554 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6556 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6557 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6558 (viper-intercept-ESC-key): Simplify.
6559 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6560 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6561 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6562 (viper-setup-ESC-to-escape): New functions.
6563 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6564 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6566 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6568 * simple.el (default-font-height, window-screen-lines):
6570 (line-move, line-move-partial): Use them instead of
6571 frame-char-height and window-text-height. This makes scrolling
6572 text smoother when the buffer's default face uses a font that is
6573 different from the frame's default font.
6575 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6577 * files.el (write-file): Do not display confirm dialog for NS,
6578 it does its own dialog, which can't be cancelled (Bug#14578).
6580 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6582 * simple.el (line-move-partial): Adjust the row returned by
6583 posn-at-point for the current window-vscroll. (Bug#14567)
6585 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6587 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6588 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6591 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6593 * window.el (window-state-put-stale-windows): New variable.
6594 (window--state-put-2): Save list of windows without matching buffer.
6595 (window-state-put): Remove "bufferless" windows if possible.
6597 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6599 * simple.el (alternatives-define): Remove leftover :group keyword.
6602 2013-07-06 Leo Liu <sdl.web@gmail.com>
6604 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6605 (ido-enable-virtual-buffers): New variable.
6606 (ido-buffer-internal, ido-toggle-virtual-buffers)
6607 (ido-make-buffer-list): Use it.
6608 (ido-exhibit): Support turning on and off virtual buffers
6611 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6613 * simple.el (alternatives-define): New macro.
6615 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6617 * subr.el (read-quoted-char): Use read-key.
6618 (sit-for): Let read-event decode tty input (bug#14782).
6620 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6622 * calendar/todo-mode.el: Add handling of file deletion, both by
6623 mode command and externally. Fix various related bugs.
6624 Clarify Commentary and improve some documentation strings and code.
6625 (todo-delete-file): New command.
6626 (todo-check-file): New function.
6627 (todo-show): Handle external deletion of the file we're trying to
6628 show (bug#14688). Replace called-interactively-p by an optional
6629 prefix argument to avoid problematic interaction with catch form
6630 when byte compiled (bug#14702).
6631 (todo-quit): Handle external deletion of the archive's todo file.
6632 Make sure the buffer that was visiting the archive file is still
6633 live before trying to bury it.
6634 (todo-category-completions): Handle external deletion of any
6635 category completion files.
6636 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6637 of todo files, in case of external deletion.
6638 (todo-add-file): Replace unnecessary setq by let-binding.
6639 (todo-find-archive): Check whether there are any archives.
6640 Replace unnecessary setq by let-binding.
6641 (todo-archive-done-item): Use find-file-noselect to get the
6642 archive buffer whether or not the archive already exists.
6643 Remove superfluous code. Use file size instead of buffer-file-name to
6644 check if the archive is new; if it is, update list of archives.
6645 (todo-default-todo-file): Allow nil to be a valid value for when
6646 there are no todo files.
6647 (todo-reevaluate-default-file-defcustom): Use corrected definition
6648 of todo-default-todo-file.
6649 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6650 (todo-delete-category, todo-show-categories-table)
6651 (todo-category-number): Clarify comment.
6652 (todo-filter-items): Clarify documentation string.
6653 (todo-show-current-file, todo-display-as-todo-file)
6654 (todo-reset-and-enable-done-separator): Tweak documentation string.
6655 (todo-done-separator): Make separator length window-width, since
6656 bug#2749 is now fixed.
6658 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6660 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6661 Support both "gvfs-monitor-dir" and "inotifywait".
6662 (tramp-sh-file-inotifywait-process-filter): Rename from
6663 `tramp-sh-file-notify-process-filter'.
6664 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6665 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6667 2013-07-05 Leo Liu <sdl.web@gmail.com>
6669 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6671 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6673 * frame.el (display-pixel-height, display-pixel-width)
6674 (display-mm-height, display-mm-width): Mention behavior on
6675 multi-monitor setups in docstrings.
6676 (w32-display-monitor-attributes-list): Declare function.
6677 (display-monitor-attributes-list): Use it.
6679 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6681 * filenotify.el: New package.
6683 * autorevert.el (top): Require filenotify.el.
6684 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6686 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6687 (auto-revert-notify-handler): Use `file-notify-*' functions.
6689 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6691 * net/tramp.el (tramp-file-name-for-operation):
6692 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6694 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6695 for `file-notify-add-watch' and `file-notify-rm-watch'.
6696 (tramp-process-sentinel): Improve trace.
6697 (tramp-sh-handle-file-notify-add-watch)
6698 (tramp-sh-file-notify-process-filter)
6699 (tramp-sh-handle-file-notify-rm-watch)
6700 (tramp-get-remote-inotifywait): New defuns.
6702 2013-07-03 Juri Linkov <juri@jurta.org>
6704 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6705 call of `occur-read-primary-args' to interactive spec.
6707 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6708 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6710 2013-07-03 Matthias Meulien <orontee@gmail.com>
6712 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6713 `Buffer-menu-multi-occur'. Add it to the menu.
6714 (Buffer-menu-mode): Document it in docstring.
6715 (Buffer-menu-multi-occur): New command. (Bug#14673)
6717 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6719 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6720 keywords and built-ins.
6722 2013-07-03 Glenn Morris <rgm@gnu.org>
6724 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6726 Make info-xref checks case-sensitive by default
6727 * info.el (Info-find-node, Info-find-in-tag-table)
6728 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6729 Add option for exact case matching of nodes.
6730 * info-xref.el (info-xref): New custom group.
6731 (info-xref-case-fold): New option.
6732 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6734 2013-07-03 Leo Liu <sdl.web@gmail.com>
6736 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6738 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6740 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6741 middle of block statement initially, lower the depth. Remove
6742 FIXME comment, not longer valid. Remove middle of block statement
6743 detection, no need to do that anymore since we've been using
6744 `ruby-parse-region' here.
6746 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6748 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6750 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6752 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6754 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6756 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6757 (desktop-restore-in-current-display): New customization option.
6758 (desktop--excluded-frame-parameters): Add `font'.
6759 (desktop--save-frames): Rename from desktop--save-windows.
6760 (desktop--restore-in-this-display-p): New function.
6761 (desktop--make-full-frame): Remove unwanted width/height from
6762 full(width|height) frames.
6763 (desktop--restore-frames): Rename from desktop--restore-windows.
6764 Obey desktop-restore-current-display. Do not delete old frames or
6765 select a new frame unless we were able to restore at least one frame.
6767 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6769 * files.el (find-file-noselect): Simplify conditional expression.
6771 * remember.el (remember-append-to-file):
6772 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6774 Add `remember-notes' function to store random notes across Emacs
6776 * remember.el (remember-data-file): Add :set callback to affect
6777 notes buffer (if any).
6778 (remember-notes): New command.
6779 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6780 New defcustoms for the `remember-notes' function.
6781 (remember-notes-save-and-bury-buffer): New command.
6782 (remember-notes-mode-map): New variable.
6783 (remember-mode): New minor mode.
6784 (remember-notes--kill-buffer-query): New function.
6785 * startup.el (initial-buffer-choice): Add notes to custom type.
6787 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6789 * bindings.el (right-char, left-char): Don't call sit-for, this is
6790 no longer needed. Use arithmetic comparison only for numerical
6793 * international/mule-cmds.el (select-safe-coding-system):
6794 Handle the case of FROM being a string correctly. (Bug#14755)
6796 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6798 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6799 progression on degenerate tables.
6800 (shr-rescale-image): ImageMagick animated images currently don't work.
6802 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6804 Some fixes and improvements for desktop frame restoration.
6805 It is still experimental and disabled by default.
6806 * desktop.el (desktop--save-windows): Put the selected frame at
6807 the head of the list.
6808 (desktop--make-full-frame): New function.
6809 (desktop--restore-windows): Try to re-select the frame that was
6810 selected upon saving. Do not abort if some frames fail to restore,
6811 just show an error message and continue. Set up maximized frames
6812 so they have default non-maximized dimensions.
6814 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6816 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6817 Don't start heredoc inside a string or comment.
6819 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6821 * bindings.el (visual-order-cursor-movement): New defcustom.
6822 (right-char, left-char): Provide visual-order cursor motion by
6823 calling move-point-visually. Update the doc strings.
6825 2013-06-28 Kenichi Handa <handa@gnu.org>
6827 * international/mule.el (define-coding-system): New coding system
6828 properties :inhibit-null-byte-detection,
6829 :inhibit-iso-escape-detection, and :prefer-utf-8.
6830 (set-buffer-file-coding-system): If :charset-list property of
6831 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6832 appropriate for setting.
6834 * international/mule-cmds.el (select-safe-coding-system):
6835 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6836 multibyte characters, return utf-8 (or one of its siblings).
6838 * international/mule-conf.el (prefer-utf-8): New coding system.
6839 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6842 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6844 * net/shr.el (shr-render-region): New function.
6846 * net/eww.el: Autoload `eww-browse-url'.
6848 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6850 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6851 Adapt to `package-desc-version' being a list.
6852 Use `package--ac-desc-version' to retrieve version from a package
6855 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6857 New experimental feature to save&restore window and frame setup.
6858 * desktop.el (desktop-save-windows): New defcustom.
6859 (desktop--saved-states): New var.
6860 (desktop--excluded-frame-parameters): New defconst.
6861 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6862 (desktop--restore-windows, desktop--save-windows): New functions.
6863 (desktop-save): Call `desktop--save-windows'.
6864 (desktop-read): Call `desktop--restore-windows'.
6866 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6868 * net/shr.el (add-face-text-property): Remove compat definition.
6870 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6872 * info.el (Info-try-follow-nearest-node): Move search for footnote
6873 above search for node name to prevent missing a footnote (bug#14717).
6875 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6877 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6879 2013-06-27 Leo Liu <sdl.web@gmail.com>
6881 * net/eww.el (eww-read-bookmarks): Check file size.
6883 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6885 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6886 advice--pending if newdef is nil or an autoload (bug#13820).
6887 (advice-mapc): New function.
6889 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6891 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6893 (eww-mode-map): Add a menu bar.
6894 (eww-add-bookmark): New command.
6895 (eww-bookmark-mode): New mode and commands.
6896 (eww-add-bookmark): Remove newlines from the title.
6897 (eww-bookmark-browse): Don't bug out if it's the only window.
6899 2013-06-26 Glenn Morris <rgm@gnu.org>
6901 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6902 (hfy-size): Handle ttys. (Bug#14668)
6904 * info-xref.el: Update for Texinfo 5 change in *note format.
6905 (info-xref-node-re, info-xref-note-re): New constants.
6906 (info-xref-check-buffer): Use info-xref-note-re.
6908 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6910 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6912 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6913 nil terminate the loop (bug#14718).
6915 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6917 * net/eww.el: Rework history traversal. When going forward/back,
6918 put these actions into the history, too, so that they can be
6920 (eww-render): Move the history reset to the correct buffer.
6922 2013-06-25 Juri Linkov <juri@jurta.org>
6924 * files-x.el (modify-dir-local-variable): Change the header comment
6925 in the file with directory local variables. (Bug#14692)
6927 * files-x.el (read-file-local-variable-value): Add `default'.
6930 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6932 * net/eww.el (eww-make-unique-file-name): Create a unique file
6933 name before saving to entering `y' accidentally asynchronously.
6935 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6937 * net/eww.el (eww-download): New command and keystroke.
6939 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6941 * net/eww.el (eww-copy-page-url): Change name of command.
6943 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6944 be more consistent with Info and dired.
6946 * net/eww.el (eww-mode-map): Ditto.
6948 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6950 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6951 packages from archives.
6952 (package-archive-contents): Change format; include obsolete packages.
6953 (package-desc): Use `dir' to mark builtin packages.
6954 (package--from-builtin): Set the `dir' field to `builtin'.
6955 (generated-autoload-file, version-control): Declare.
6956 (package-compute-transaction): Change first arg and return value to be
6957 lists of package-descs. Adjust to new package-archive-contents format.
6958 (package--add-to-archive-contents): Adjust to new
6959 package-archive-contents format.
6960 (package-download-transaction): Arg is now a list of package-descs.
6961 (package-install): If `pkg' is a package name, pass it as
6962 a requirement, so it is subject to the usual (e.g. disabled) checks.
6963 (describe-package): Accept package-desc as well.
6964 (describe-package-1): Describe a specific package-desc. Add links to
6965 other package-descs for the same package name.
6966 (package-menu-describe-package): Pass the actual package-desc.
6967 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6969 (package-desc-status): New function.
6970 (package-menu--refresh): New function, extracted
6971 from package-menu--generate.
6972 (package-menu--generate): Use it.
6973 (package-delete): Update package-alist.
6974 (package-menu-execute): Don't call package-initialize.
6976 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6977 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6978 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6979 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6980 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6981 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6983 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6985 * window.el (window--state-get-1): Workaround for bug#14527.
6986 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6988 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6990 * net/eww.el (eww-back-url): Implement the history by stashing all
6991 the data into a list.
6992 (eww-forward-url): Allow going forward in the history, too.
6994 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6996 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6997 for values and use read--expression for expressions (bug#14710).
6998 (read-file-local-variable): Avoid setq.
6999 (read-file-local-variable-mode): Use minor-mode-list.
7001 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7003 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7006 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7008 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7009 Update imenu-support when dialect changes.
7011 2013-06-25 Leo Liu <sdl.web@gmail.com>
7013 * ido.el (ido-read-internal): Allow forward slash on windows.
7015 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7017 * net/eww.el (eww): Start of strings is \\`, not ^.
7019 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7021 * net/shr.el (shr-browse-url): Fix interactive spec.
7023 * net/eww.el (eww): Add a trailing slash to domain names.
7025 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7027 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7029 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7031 * net/shr.el (shr-browse-url): Use an external browser if given a
7034 * net/eww.el (eww-external-browser): Move to shr.
7036 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7038 * net/eww.el (eww): Work more correctly for file: URLs.
7039 (eww-detect-charset): Allow quoted charsets.
7040 (eww-yank-page-url): New command and keystroke.
7042 2013-06-24 Daiki Ueno <ueno@gnu.org>
7044 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7045 file name of gpg executable.
7046 (epg-context-program): New function.
7047 (epg-context-home-directory): New function.
7048 (epg-context-set-program): New function.
7049 (epg-context-set-home-directory): New function.
7050 (epg--start): Use `epg-context-program' instead of
7052 (epg--list-keys-1): Likewise.
7054 2013-06-24 Leo Liu <sdl.web@gmail.com>
7056 * ido.el (ido-read-internal): Fix bug#14620.
7058 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7060 * faces.el (face-documentation): Simplify.
7061 (read-face-attribute, tty-find-type, x-resolve-font-name):
7062 Use `string-match-p'.
7063 (list-faces-display): Use `string-match-p'. Simplify.
7064 (face-spec-recalc): Check face to avoid face alias loops.
7065 (read-color): Use `string-match-p' and non-capturing parenthesis.
7067 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7069 * net/shr.el (shr-rescale-image): Use the new
7070 :max-width/:max-height functionality.
7072 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7074 * net/eww.el (eww-search-prefix): New variable.
7076 (eww-external-browser): New variable.
7077 (eww-mode-map): New keystroke.
7078 (eww-browse-with-external-browser): New command.
7080 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7082 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7084 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7085 Don't skip aligning the next header field when padding is 0;
7086 otherwise, field width is not respected unless the title is as
7089 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7091 * emacs-lisp/package.el (package-el-version): Remove.
7092 (package-process-define-package): Fix inf-loop.
7093 (package-install): Allow symbols as arguments again.
7095 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7097 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7098 add some more keyword-like methods.
7099 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7101 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7103 * bs.el (bs-buffer-show-mark): Make defvar-local.
7104 (bs-mode): Use setq-local.
7106 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7107 (emacs-lock--try-unlocking): Make defvar-local.
7109 2013-06-22 Glenn Morris <rgm@gnu.org>
7111 * play/cookie1.el (cookie-apropos): Minor simplification.
7113 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7115 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7117 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7118 `regexp-opt', it breaks the build during dumping.
7120 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7122 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7123 Highlight keyword-like methods on Kernel and Module with
7124 font-lock-builtin-face.
7125 (auto-mode-alist): Consolidate different entries into one regexp
7126 and add more *file-s.
7128 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7130 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7132 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7133 (diary-entry): Use it in the action of this button type instead of
7136 * calendar/todo-mode.el: New version.
7137 (todo-add-category): Append new category to end of file and give
7138 it the highest number, instead of putting it at the beginning and
7139 giving it 0. Incorporate noninteractive functionality.
7140 (todo-forward-category): Adapt to 1-based category numbering.
7141 Allow skipping over archived categories.
7142 (todo-backward-category): Derive from todo-forward-category.
7143 (todo-backward-item, todo-forward-item): Make noninteractive and
7144 delegate interactive part to new commands. Make sensitive to done items.
7145 (todo-categories): Make value an alist of category names and
7146 vectors of item counts.
7147 (todo-category-beg): Make a defconst.
7148 (todo-category-number): Use 1 instead of 0 as initial value.
7149 (todo-category-select): Make sensitive to overlays, optional item
7150 highlighting and done items.
7151 (todo-delete-item): Make sensitive to overlays and marked and done items.
7152 (todo-edit-item): Make sensitive to overlays and editing of
7153 date/time header optional. Add format checks.
7154 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7155 no-op if point is not on an item. Advertise using todo-edit-quit.
7156 (todo-edit-mode): Make sensitive to new format, font-locking, and
7157 multiple todo files.
7158 (todo-insert-item, todo-insert-item-here): Derive from
7159 todo-basic-insert-item and extend functionality.
7160 (todo-item-end, todo-item-start): Make sensitive to done items.
7161 (todo-item-string): Don't return text properties. Restore point.
7162 (todo-jump-to-category): Make sensitive to multiple todo files and
7163 todo archives. Use extended category completion.
7164 (todo-lower-item, todo-raise-item): Rename to *-priority and
7165 derive from todo-set-item-priority.
7166 (todo-mode): Derive from special-mode. Make sensitive to new
7167 format, font-locking and multiple todo files. Make read-only.
7168 (todo-mode-map): Don't suppress digit keys, so they can supply
7169 prefix arguments. Add many new key bindings.
7170 (todo-prefix): Insert as an overlay instead of file text.
7171 Change semantics from diary date expression to purely visual mark.
7172 (todo-print): Rename to todo-print-buffer. Make buffer display
7173 features printable. Remove option to restrict number of items
7174 printed. Add option to print to file.
7175 (todo-print-function): Rename to todo-print-buffer-function.
7176 (todo-quit): Extend to handle exiting new todo modes.
7177 (todo-remove-item): Make sensitive to overlays.
7178 (todo-save): Extend to buffers of filtered items.
7179 (todo-show): Make sensitive to done items, multiple todo files and
7180 new todo modes. Offer to convert legacy todo file before creating
7181 first new todo file.
7182 (todo-show-priorities): Rename to todo-top-priorities.
7183 Change semantics of value 0.
7184 (todo-top-priorities): Rename to todo-filter-top-priorities,
7185 derive from todo-filter-items and extend functionality.
7186 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7187 and extend functionality to other types of filtered items.
7188 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7189 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7190 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7191 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7192 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7193 (todo-edit-mode-hook, todo-entry-prefix-function)
7194 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7195 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7196 (todo-initials, todo-insert-threshold, todo-item-string-start)
7197 (todo-line-string, todo-menu, todo-mode-hook)
7198 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7199 (todo-print-priorities, todo-remove-separator)
7200 (todo-save-top-priorities-too, todo-string-count-lines)
7201 (todo-string-multiline-p, todo-time-string-format)
7202 (todo-tmp-buffer-name): Remove.
7203 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7204 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7205 (todo-edit-category-diary-inclusion)
7206 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7207 (todo-edit-file, todo-edit-item-date-day)
7208 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7209 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7210 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7211 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7212 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7213 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7214 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7215 (todo-filter-top-priorities-multifile, todo-find-archive)
7216 (todo-find-filtered-items-file, todo-go-to-source-item)
7217 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7218 (todo-jump-to-archive-category, todo-lower-category)
7219 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7220 (todo-move-category, todo-move-item, todo-next-button)
7221 (todo-next-item, todo-padded-string, todo-powerset)
7222 (todo-previous-button, todo-previous-item)
7223 (todo-print-buffer-to-file, todo-raise-category)
7224 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7225 (todo-set-category-number, todo-set-item-priority)
7226 (todo-set-top-priorities-in-category)
7227 (todo-set-top-priorities-in-file, todo-show-categories-table)
7228 (todo-sort-categories-alphabetically-or-numerically)
7229 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7230 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7231 (todo-toggle-item-header, todo-toggle-item-highlighting)
7232 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7233 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7234 (todo-unarchive-items, todo-unmark-category): New commands.
7235 (todo-absolute-file-name, todo-add-to-buffer-list)
7236 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7237 (todo-basic-insert-item, todo-category-completions)
7238 (todo-category-number, todo-category-string-matcher-1)
7239 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7240 (todo-check-format, todo-clear-matches)
7241 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7242 (todo-current-category, todo-date-string-matcher)
7243 (todo-define-insertion-command, todo-diary-expired-matcher)
7244 (todo-diary-goto-entry, todo-diary-item-p)
7245 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7246 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7247 (todo-done-item-section-p, todo-done-separator)
7248 (todo-done-string-matcher, todo-files, todo-filter-items)
7249 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7250 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7251 (todo-insert-category-line, todo-insert-item-from-calendar)
7252 (todo-insert-sort-button, todo-insert-with-overlays)
7253 (todo-insertion-command-name, todo-insertion-key-bindings)
7254 (todo-label-to-key, todo-longest-category-name-length)
7255 (todo-make-categories-list, todo-mode-external-set)
7256 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7257 (todo-modes-set-3, todo-multiple-filter-files)
7258 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7259 (todo-read-category, todo-read-date, todo-read-dayname)
7260 (todo-read-file-name, todo-read-time)
7261 (todo-reevaluate-category-completions-files-defcustom)
7262 (todo-reevaluate-default-file-defcustom)
7263 (todo-reevaluate-filelist-defcustoms)
7264 (todo-reevaluate-filter-files-defcustom)
7265 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7266 (todo-reset-done-separator, todo-reset-done-separator-string)
7267 (todo-reset-done-string, todo-reset-global-current-todo-file)
7268 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7269 (todo-reset-prefix, todo-set-categories)
7270 (todo-set-date-from-calendar, todo-set-show-current-file)
7271 (todo-set-top-priorities, todo-short-file-name)
7272 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7273 (todo-total-item-counts, todo-update-buffer-list)
7274 (todo-update-categories-display, todo-update-categories-sexp)
7275 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7277 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7279 (todo-categories, todo-display, todo-edit, todo-faces)
7280 (todo-filtered): New defgroups.
7281 (todo-archived-only, todo-button, todo-category-string, todo-date)
7282 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7283 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7284 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7285 (todo-add-item-if-new-category, todo-always-add-time-string)
7286 (todo-categories-align, todo-categories-archived-label)
7287 (todo-categories-category-label, todo-categories-diary-label)
7288 (todo-categories-done-label, todo-categories-number-separator)
7289 (todo-categories-todo-label, todo-categories-totals-label)
7290 (todo-category-completions-files, todo-completion-ignore-case)
7291 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7292 (todo-done-separator-string, todo-done-string)
7293 (todo-files-function, todo-filter-done-items, todo-filter-files)
7294 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7295 (todo-initial-category, todo-initial-file, todo-item-mark)
7296 (todo-legacy-date-time-regexp, todo-mode-line-function)
7297 (todo-nondiary-marker, todo-number-prefix)
7298 (todo-print-buffer-function, todo-show-current-file)
7299 (todo-show-done-only, todo-show-first, todo-show-with-done)
7300 (todo-skip-archived-categories, todo-top-priorities-overrides)
7301 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7302 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7304 (todo-category-done, todo-date-pattern, todo-date-string-start)
7305 (todo-diary-items-buffer, todo-done-string-start)
7306 (todo-filtered-items-buffer, todo-item-start)
7307 (todo-month-abbrev-array, todo-month-name-array)
7308 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7309 (todo-top-priorities-buffer): New defconsts.
7310 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7311 (todo-categories-with-marks, todo-category-string-face)
7312 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7313 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7314 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7315 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7316 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7317 (todo-font-lock-keywords, todo-global-current-todo-file)
7318 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7319 (todo-insertion-commands-args)
7320 (todo-insertion-commands-args-genlist)
7321 (todo-insertion-commands-names, todo-insertion-map)
7322 (todo-key-bindings-t, todo-key-bindings-t+a)
7323 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7324 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7325 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7326 (todo-visited): New variables.
7328 2013-06-21 Glenn Morris <rgm@gnu.org>
7330 * play/cookie1.el (cookie-apropos): Add optional display argument.
7331 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7332 (psychoanalyze-pinhead): Use cookie-doctor.
7334 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7336 * emacs-lisp/package.el (tar-get-file-descriptor)
7337 (tar--extract): Declare.
7339 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7341 Extend flymake's warning predicate to be a function (bug#14217).
7342 * progmodes/flymake.el (flymake-warning-predicate): New.
7343 (flymake-parse-line): Use it.
7344 (flymake-warning-re): Make obsolete alias to
7345 `flymake-warning-predicate'.
7347 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7349 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7350 (package-obsolete-list): Remove.
7351 (package-activate): Remove min-version argument. Add `force' argument.
7352 Adjust to new package-alist format.
7353 (package-mark-obsolete): Remove.
7354 (package-unpack): Force reload of the package's autoloads.
7355 (package-installed-p): Check builtins if the installed package is not
7357 (package-initialize): Don't reset package-obsolete-list.
7358 Don't specify which package version to activate.
7359 (package-process-define-package, describe-package-1)
7360 (package-menu--generate): Adjust to new package-alist format.
7362 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7364 * allout-widgets.el (allout-widgets-mode-off)
7365 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7366 (allout-widgets-post-command-business)
7367 (allout-widgets-after-copy-or-kill-function)
7368 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7369 (allout-decorate-item-and-context)
7370 (allout-graphics-modification-handler): Fix typos in docstrings.
7371 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7373 * cmuscheme.el (scheme-start-file): Doc fix.
7374 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7375 (scheme-input-filter): Use `string-match-p'.
7377 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7379 * dired-x.el: Use Dired consistently in docstrings.
7381 * dired.el: Use Dired consistently in docstrings.
7382 (dired-readin, dired-mode): Use `setq-local'.
7383 (dired-switches-alist): Make defvar-local.
7384 (dired-buffers-for-dir): Use `zerop'.
7385 (dired-safe-switches-p, dired-switches-escape-p)
7386 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7387 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7388 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7389 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7390 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7391 (dired-toggle-marks, dired-mark-files-containing-regexp)
7392 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7393 (dired-flag-auto-save-files, dired-flag-backup-files):
7395 (dired-mark-files-regexp, dired-build-subdir-alist):
7396 Use `string-match-p', `looking-at-p'.
7398 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7399 (direct-print-region-helper): Use `string-match-p'.
7401 2013-06-21 Leo Liu <sdl.web@gmail.com>
7403 * comint.el (comint-redirect-results-list-from-process):
7406 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7408 * net/eww.el (eww-update-header-line-format): Quote % characters.
7410 2013-06-21 Glenn Morris <rgm@gnu.org>
7412 * play/cookie1.el (cookie): New custom group.
7413 (cookie-file): New option.
7414 (cookie-check-file): New function.
7415 (cookie): Make it interactive. Make start and end messages optional.
7416 Interactively, display the result. Default to cookie-file.
7417 (cookie-insert): Default to cookie-file.
7418 (cookie-snarf): Make start and end messages optional.
7419 Default to cookie-file. Use with-temp-buffer.
7420 (cookie-read): Rename from read-cookie.
7421 Make start and end messages optional. Default to cookie-file.
7422 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7424 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7425 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7427 2013-06-21 Leo Liu <sdl.web@gmail.com>
7429 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7431 2013-06-21 Glenn Morris <rgm@gnu.org>
7433 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7435 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7436 Daniel Hackney <dan@haxney.org>
7438 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7439 Consolidate the single-file vs tarball code.
7440 (package-desc-suffix): New function.
7441 (package-desc-full-name): Don't bother inlining it.
7442 (package-load-descriptor): Return the new package-desc.
7443 (package-mark-obsolete): Remove unused arg `package'.
7444 (package-unpack): Make it work for single files as well.
7445 Make it update package-alist.
7446 (package--make-autoloads-and-stuff): Rename from
7447 package--make-autoloads-and-compile. Don't compile any more.
7448 (package--compile): New function.
7449 (package-generate-description-file): New function, extracted from
7450 package-unpack-single.
7451 (package-unpack-single): Remove.
7452 (package--with-work-buffer): Add indentation and debugging info.
7453 (package-download-single): Remove.
7454 (package-install-from-archive): Rename from package-download-tar, make
7455 it take a pkg-desc, and make it work for single files as well.
7456 (package-download-transaction): Simplify.
7457 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7458 external tar program.
7459 (package-install-from-buffer): Remove `pkg-desc' argument.
7460 Use package-tar-file-info for tar-mode buffers.
7461 (package-install-file): Simplify accordingly.
7462 (package-archive-base): Change to take a pkg-desc.
7463 * tar-mode.el (tar--check-descriptor): New function, extracted from
7465 (tar-get-descriptor): Use it.
7466 (tar-get-file-descriptor): New function.
7467 (tar--extract): New function, extracted from tar-extract.
7468 (tar--extract): Use it.
7469 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7470 case the summary uses non-ascii. Adjust to new calling convention of
7471 package-tar-file-info.
7473 2013-06-21 Leo Liu <sdl.web@gmail.com>
7475 * comint.el (comint-redirect-results-list-from-process):
7476 Fix random delay. (Bug#14681)
7478 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7480 * profiler.el (profiler-format-number): Use log, not log10.
7482 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7484 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7486 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7488 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7489 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7491 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7492 (AUTOGENEL): ... here.
7493 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7494 (cl--defsubst-expand): Use it.
7496 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7498 * subr.el (log10): Move here from C code, and declare as obsolete.
7499 All uses of (log10 X) replaced with (log X 10).
7501 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7503 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7504 Declare with `defvar-local'.
7505 (tabulated-list-use-header-line, tabulated-list-entries)
7506 (tabulated-list-padding, tabulated-list-printer)
7507 (tabulated-list-sort-key): Declare with `defvar-local'.
7508 (tabulated-list-init-header, tabulated-list-print-fake-header):
7511 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7513 * arc-mode.el (archive-mode): Add `archive-write-file' to
7514 `write-contents-functions' also for remote files. (Bug#14652)
7516 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7518 * cus-edit.el (custom-commands): Fix typos.
7519 (custom-display): Fix tooltip text.
7520 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7521 Fix typos in docstrings.
7522 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7523 (custom-unlispify-menu-entry, custom-magic-value-create)
7524 (custom-add-see-also, custom-group-value-create): Use ?\s.
7525 (custom-guess-type, customize-apropos, editable-field)
7526 (custom-face-value-create): Use `string-match-p'.
7527 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7529 * custom.el (custom-load-symbol): Use `string-match-p'.
7531 * ansi-color.el: Convert to lexical binding.
7532 (ansi-colors): Fix URL.
7533 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7534 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7535 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7537 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7539 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7541 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7543 2013-06-19 Tom Tromey <tromey@redhat.com>
7545 * net/eww.el (eww-top-url): Remove.
7546 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7547 (eww-render): Set new variables. Don't set eww-top-url.
7548 (eww-handle-link): Handle "prev", "home", and "contents".
7549 Downcase the rel text.
7550 (eww-top-url): Choose best top URL.
7552 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7554 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7555 relying in widget.el. Using widget.el leads to too many
7556 user interface inconsistencies.
7557 (eww-self-insert): Implement entering commands in text fields.
7558 (eww-process-text-input): New function to make text input field editing
7560 (eww-submit): Rewrite to use the new-style form methods.
7561 (eww-select-display): Display the correct selected item.
7562 (eww-change-select): Implement changing the select value.
7563 (eww-toggle-checkbox): Implement radio/checkboxes.
7564 (eww-update-field): Fix compilation error.
7565 (eww-tag-textarea): Implement <textarea>.
7567 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7568 we don't shadow mode-specific bindings.
7570 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7573 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7575 2013-06-19 Glenn Morris <rgm@gnu.org>
7577 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7579 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7581 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7584 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7586 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7588 * net/browse-url.el (browse-url-browser-function):
7589 `eww-browse-url' has the right calling signature, `eww' does not.
7591 2013-06-19 Glenn Morris <rgm@gnu.org>
7593 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7594 Only eval autoloaded macros.
7595 (byte-compile-autoload): Only give the macro warning for macros.
7597 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7598 (ps-underlined-faces): Declare.
7600 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7601 (speedbar-add-supported-extension): Declare.
7603 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7604 Don't include a date stamp in the header of the generated file;
7605 it leads to needless differences between output files.
7607 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7609 * net/secrets.el (secrets-struct-secret-content-type):
7610 Replace check of introspection data by a test call of "CreateItem".
7611 Some servers do not offer introspection.
7613 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7615 * electric.el (electric-pair-mode): Improve interaction with
7616 electric-layout-mode.
7617 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7618 (electric-pair-syntax): Use text-mode-syntax-table in comments
7620 (electric-pair--insert): New function.
7621 (electric-pair-post-self-insert-function): Use it and
7622 electric--after-char-pos.
7624 2013-06-19 Leo Liu <sdl.web@gmail.com>
7626 * progmodes/octave.el (octave-help): Fix regexp.
7628 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7630 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7631 (shr-table-horizontal-line): Allow nil as a value, and change the
7633 (shr-insert-table-ruler): Respect the nil value.
7635 2013-06-18 Tom Tromey <tromey@barimba>
7637 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7639 (eww-open-file): New defun.
7640 (eww-render): Initialize new variables.
7641 (eww-display-html): Handle "link" and "a".
7642 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7643 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7644 (eww-back-url): Rename from eww-previous-url.
7645 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7648 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7650 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7651 Distinguish ternary operator tokens from slash symbol and slash
7654 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7656 Convert symbol prettification into minor mode and global minor mode.
7658 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7659 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7660 (prettify-symbols--keywords): Rename from
7661 `prog-prettify-symbols-alist' and make a local defvar.
7662 (prettify-symbols--compose-symbol): Rename from
7663 `prog--prettify-font-lock-compose-symbol'.
7664 (prettify-symbols--make-keywords): Rename from
7665 `prog-prettify-font-lock-symbols-keywords' and simplify.
7666 (prog-prettify-install): Remove.
7667 (prettify-symbols-mode): New minor mode, based on
7668 `prog-prettify-install'.
7669 (turn-on-prettify-symbols-mode): New function.
7670 (global-prettify-symbols-mode): New globalized minor mode.
7672 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7673 * progmodes/cfengine.el (cfengine3-mode):
7674 * progmodes/perl-mode.el (perl-mode): Don't call
7675 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7677 2013-06-18 Juri Linkov <juri@jurta.org>
7679 * files-x.el (modify-file-local-variable-message): New function.
7680 (modify-file-local-variable)
7681 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7682 and call `modify-file-local-variable-message' when it's non-nil.
7683 (add-file-local-variable, delete-file-local-variable)
7684 (add-file-local-variable-prop-line)
7685 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7686 and use it. (Bug#9820)
7688 2013-06-18 Juri Linkov <juri@jurta.org>
7690 * emulation/vi.el (vi-shell-op):
7691 * emulation/vip.el (vip-execute-com, ex-command):
7692 * emulation/viper-cmd.el (viper-exec-bang):
7693 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7694 the call of `shell-command-on-region'. (Bug#14637)
7696 * simple.el (shell-command-on-region): Doc fix.
7698 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7700 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7703 2013-06-18 Glenn Morris <rgm@gnu.org>
7705 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7707 * newcomment.el (comment-search-forward, comment-search-backward):
7708 Doc fix. (Bug#14376)
7710 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7712 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7713 (buffer-face-mode-invoke): Doc fix.
7715 2013-06-18 Matthias Meulien <orontee@gmail.com>
7717 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7718 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7720 2013-06-18 Glenn Morris <rgm@gnu.org>
7722 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7723 Replace obsolete function generic-make-keywords with its expansion.
7725 * progmodes/python.el (ffap-alist): Declare.
7727 * textmodes/reftex.el (bibtex-mode-map): Declare.
7729 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7731 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7732 (package-unpack, package-unpack-single): Return the pkg-dir.
7733 (package-download-transaction): Use it to update package-alist.
7735 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7737 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7740 2013-06-17 Juri Linkov <juri@jurta.org>
7742 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7744 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7746 * emacs-lisp/package.el (package-load-descriptor):
7747 Remove `with-syntax-table' call, `read' doesn't need it.
7748 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7750 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7752 * startup.el (command-line): Expand package name returned by
7753 `package--description-file' (bug#14639).
7755 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7757 * emacs-lisp/package.el (package-load-descriptor): Do not call
7758 `emacs-lisp-mode', just use its syntax table.
7760 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7762 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7763 `font-lock-extra-managed-props' if any prettifying keyword is added.
7764 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7765 (prog-mode): Use `setq-local'.
7767 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7769 * international/characters.el (standard-case-table): Set syntax of ?»
7770 and ?« to punctuation.
7772 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7774 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7775 Save relevant match data before calling `syntax-ppss' (bug#14595).
7777 2013-06-15 Juri Linkov <juri@jurta.org>
7779 * files-x.el (modify-file-local-variable-prop-line): Add local
7780 variables to the end of the existing comment on the first line.
7781 Use `file-auto-mode-skip' to skip interpreter magic line,
7782 and also skip XML declaration.
7784 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7786 * startup.el (package--builtin-versions): New var.
7787 (package-subdirectory-regexp): Remove.
7788 (package--description-file): Hard code its value instead.
7790 * emacs-lisp/package.el: Don't activate packages older than builtin.
7791 (package-obsolete-list): Rename from package-obsolete-alist, and make
7792 it into a simple list of package-desc.
7793 (package-strip-version): Remove.
7794 (package-built-in-p): Use package--builtin-versions.
7795 (package-mark-obsolete): Simplify.
7796 (package-process-define-package): Mark it obsolete if older than the
7798 (package-handle-response): Use line-end-position.
7799 (package-read-archive-contents, package--download-one-archive):
7801 (package--add-to-archive-contents): Skip if older than the builtin or
7803 (package-menu-describe-package): Fix last change.
7804 (package-list-unversioned): New var.
7805 (package-menu--generate): Use it.
7807 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7808 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7809 (autoload-builtin-package-versions): New variable.
7810 (autoload-generate-file-autoloads): Use them.
7811 Remove the list of autoloaded functions/macros from the
7812 (autoload...) comments.
7814 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7816 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7818 * simple.el (line-move-partial): Don't jump to the next screen
7819 line as soon as it becomes visible. Instead, continue enlarging
7820 the vscroll until the portion of a tall screen line that's left on
7821 display is about the height of the frame's default font.
7824 2013-06-15 Glenn Morris <rgm@gnu.org>
7826 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7827 compilation-error-regexp-alist void, or local while let-bound.
7829 * progmodes/make-mode.el (makefile-mode-syntax-table):
7830 Treat "=" as punctuation. (Bug#14614)
7832 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7834 * help-fns.el (describe-variable):
7835 Add extra line for permanent-local variables.
7837 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7839 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7840 Add export, import, library. (Bug#9164)
7841 (library): Set indent function.
7843 2013-06-14 Glenn Morris <rgm@gnu.org>
7845 * term/xterm.el (xterm--query):
7846 Stop after first matching handler. (Bug#14615)
7848 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7850 Add support for dired in saveplace.
7851 * dired.el (dired-initial-position-hook): New variable.
7852 (dired-initial-position): Call hook to place cursor position.
7853 * saveplace.el (save-place-to-alist): Add dired position.
7854 (save-place-dired-hook): New function.
7856 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7858 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7859 through a symbol rather than letrec.
7861 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7862 (package-desc): Add `dir' field.
7863 (package-desc-full-name): New function.
7864 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7865 (package-maybe-load-descriptor): Remove.
7866 (package-load-all-descriptors): Just call package-load-descriptor.
7867 (package--disabled-p): New function.
7868 (package-desc-vers, package-desc-doc): Remove aliases.
7869 (package--dir): Remove function.
7870 (package-activate): Check if a package is disabled.
7871 (package-process-define-package): New function, extracted from
7873 (define-package): Turn into a place holder.
7874 (package-unpack-single, package-tar-file-info):
7875 Use package--description-file.
7876 (package-compute-transaction): Use package--disabled-p.
7877 (package-download-transaction): Don't call
7878 package-maybe-load-descriptor since they're all loaded anyway.
7879 (package-install): Change argument to be a pkg-desc.
7880 (package-delete): Use a single pkg-desc argument.
7881 (describe-package-1): Use package-desc-dir instead of package--dir.
7882 Use package-desc property instead of package-symbol.
7883 (package-install-button-action): Adjust accordingly.
7884 (package--push): Rewrite.
7885 (package-menu--print-info): Adjust accordingly. Change the ID format
7887 (package-menu-describe-package, package-menu-get-status)
7888 (package-menu--find-upgrades, package-menu-mark-upgrades)
7889 (package-menu-execute, package-menu--name-predicate):
7891 * startup.el (package--description-file): New function.
7892 (command-line): Use it.
7893 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7894 Use package-desc-version.
7896 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7897 (byte-compile-preprocess): Use it.
7898 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7899 can't quite recognize.
7900 (byte-compile-add-to-list): Remove.
7901 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7902 (cconv-closure-convert): Add assertion.
7904 * emacs-lisp/map-ynp.el: Use lexical-binding.
7905 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7906 Factor out some repeated code.
7908 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7910 * subr.el (with-eval-after-load): New macro.
7911 (eval-after-load): Allow form to be a function.
7912 take advantage of lexical-binding.
7913 (do-after-load-evaluation): Use dolist and adjust to new format.
7914 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7916 2013-06-13 Juri Linkov <juri@jurta.org>
7918 * replace.el (perform-replace): Display "symbol " and other search
7919 modes from `isearch-message-prefix' in the *Help* buffer.
7921 * isearch.el (isearch-query-replace): Add " symbol" and other
7922 possible search modes from `isearch-message-prefix' to the prompt.
7923 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7924 when reading a regexp to collect.
7926 2013-06-13 Juri Linkov <juri@jurta.org>
7928 * isearch.el (word-search-regexp): Match whitespace if the search
7929 string begins or ends in whitespace. The LAX arg is applied to
7930 both ends of the search string. Use `regexp-quote' and explicit
7931 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7932 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7933 boundaries are replaced with symbol boundaries, and characters
7934 between symbols match non-word non-symbol syntax. (Bug#14602)
7936 2013-06-13 Juri Linkov <juri@jurta.org>
7938 * isearch.el (isearch-del-char): Don't exceed the length of
7939 `isearch-string' by the prefix arg. (Bug#14563)
7941 2013-06-13 Juri Linkov <juri@jurta.org>
7943 * isearch.el (isearch-yank-word, isearch-yank-line)
7944 (isearch-char-by-name, isearch-quote-char)
7945 (isearch-printing-char, isearch-process-search-char):
7946 Add optional count prefix arg. (Bug#14563)
7948 * international/isearch-x.el
7949 (isearch-process-search-multibyte-characters):
7950 Add optional count prefix arg.
7952 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7954 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7955 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7958 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7960 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7962 2013-06-13 Glenn Morris <rgm@gnu.org>
7964 * startup.el (tty-handle-args):
7965 Don't just discard "--" and anything after. (Bug#14608)
7967 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7969 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7971 Implement changes in Secret Service API. Make it backward compatible.
7972 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7973 (secrets-create-item): Use it. Prefix properties with interface.
7975 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7977 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7978 (term-emulate-terminal): Respect term-suppress-hard-newline.
7980 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7982 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7983 Only remove a `thumb-file' overlay. (Bug#14548)
7985 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7987 * mail/reporter.el (reporter-submit-bug-report):
7988 Handle missing package-name. (Bug#14600)
7990 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7992 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7993 (reftex-citation-prompt, reftex-default-bibliography)
7994 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7995 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7996 (reftex-bib-sort-author, reftex-bib-sort-year)
7997 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7998 (reftex-extract-bib-entries-from-thebibliography)
7999 (reftex-get-bibkey-default, reftex-get-bib-names)
8000 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8001 (reftex-format-bib-entry, reftex-parse-bibitem)
8002 (reftex-format-bibitem, reftex-do-citation)
8003 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8004 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8005 (reftex-insert-bib-matches, reftex-format-citation)
8006 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8007 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8008 existing comments into docstrings.
8010 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8012 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8014 2013-06-12 Andreas Schwab <schwab@suse.de>
8016 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8017 for auto-save files.
8019 2013-06-12 Glenn Morris <rgm@gnu.org>
8021 * ido.el (ido-delete-ignored-files): Remove.
8022 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8023 Go back to calling ido-ignore-item-p directly.
8025 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8027 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8029 * ido.el (ido-delete-ignored-files): New function,
8030 split from ido-make-file-list-1.
8031 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8032 (ido-make-file-list-1): Use ido-delete-ignored-files.
8034 2013-06-12 Leo Liu <sdl.web@gmail.com>
8036 * progmodes/octave.el (inferior-octave-startup)
8037 (inferior-octave-completion-table)
8038 (inferior-octave-track-window-width-change)
8039 (octave-eldoc-function-signatures, octave-help)
8040 (octave-find-definition): Use single quoted strings.
8041 (inferior-octave-startup-args): Change default value.
8042 (inferior-octave-startup): Do not hard code "-i" and
8043 "--no-line-editing".
8044 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8045 (inferior-octave-directory-tracker): Use it.
8046 (octave-goto-function-definition): Robustify.
8047 (octave-help): Support highlighting operators in 'See also'.
8048 (octave-find-definition): Find subfunctions only in Octave mode.
8050 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8052 * help-fns.el (help-fns--compiler-macro): If the handler function is
8053 named, then put a link to it.
8054 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8055 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8057 (cl-eval-when): Simplify debug spec.
8058 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8059 compiler-macro function instead of setting `compiler-macro-file'.
8061 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8063 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8064 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8066 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8067 Daniel Hackney <dan@haxney.org>
8069 First part of Daniel Hackney's patch to package.el.
8070 * emacs-lisp/package.el: Use defstruct.
8071 (package-desc): New, main struct.
8072 (package--bi-desc, package--ac-desc): New structs, used to describe the
8073 format in external files.
8074 (package-desc-vers): Replace with package-desc-version accessor.
8075 (package-desc-doc): Replace with package-desc-summary accessor.
8076 (package-activate-1): Remove `package' arg since the pkg-vec now
8078 (define-package): Use package-desc-from-define.
8079 (package-unpack-single): Change file-name arg to be a symbol.
8080 (package--add-to-archive-contents): Use package-desc-create and new
8081 accessor functions to package--ac-desc.
8082 (package-buffer-info, package-tar-file-info): Return a package-desc.
8083 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8084 arg to be a package-desc.
8085 (package-install-file): Adjust accordingly. Use \' to match EOS.
8086 (package--from-builtin): New function.
8087 (describe-package-1, package-menu--generate): Use it.
8088 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8089 (package-generate-autoloads): Idem and return the name of the file.
8090 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8091 Change pkg-info arg to be a package-desc.
8092 Use package-make-ac-desc.
8093 (package-upload-file): Use \' to match EOS.
8094 * finder.el (finder-compile-keywords): Use package-make-builtin.
8096 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8098 * vc/vc.el (vc-deduce-fileset): Change error message.
8099 (vc-read-backend): New function.
8100 (vc-next-action): Use it.
8102 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8104 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8105 (prolog-font-lock-keywords): Use regexp-opt instead.
8106 Don't manually highlight strings.
8107 (prolog-mode-variables): Simplify comment-start-skip.
8108 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8110 * emacs-lisp/generic.el (generic--normalise-comments)
8111 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8112 (generic-mode-set-comments): Use them.
8113 (generic-bracket-support): Use setq-local.
8114 (generic-make-keywords-list): Declare obsolete.
8116 2013-06-11 Glenn Morris <rgm@gnu.org>
8118 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8119 Prettify after setting font-lock-defaults. (Bug#14574)
8121 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8123 * replace.el (query-replace, occur-read-regexp-defaults-function)
8125 * subr.el (declare-function, number-sequence, local-set-key)
8126 (substitute-key-definition, locate-user-emacs-file)
8127 (with-silent-modifications, split-string, eval-after-load):
8128 Fix typos, remove unneeded backslashes and reflow some docstrings.
8130 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8132 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8133 default for Elisp files.
8135 2013-06-11 Glenn Morris <rgm@gnu.org>
8137 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8138 although define-derived-mode was doing this anyway. (Bug#14583)
8140 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8142 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8143 Fix make-variable-buffer-local call to refer to the correct variable.
8145 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8147 * eshell/em-term.el (eshell-visual-commands)
8148 (eshell-visual-subcommands, eshell-visual-options):
8149 Add summary line to docstrings. Add cross-references.
8151 2013-06-10 Glenn Morris <rgm@gnu.org>
8153 * epa.el (epa-read-file-name): New function. (Bug#14510)
8154 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8156 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8158 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8159 output redirection to be ignored with visual commands.
8161 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8163 * eshell/em-term.el (eshell-visual-command-p): New function.
8164 (eshell-term-initialize): Move long lambda to separate function
8165 eshell-visual-command-p.
8166 * eshell/em-dirs.el (eshell-dirs-initialise):
8167 * eshell/em-script.el (eshell-script-initialize):
8168 Add missing #' to lambda.
8170 2013-06-08 Leo Liu <sdl.web@gmail.com>
8172 * progmodes/octave.el (octave-add-log-current-defun): New function.
8173 (octave-mode): Set add-log-current-defun-function.
8174 (octave-goto-function-definition): Do not move point if not found.
8175 (octave-find-definition): Enhance to try subfunctions first.
8177 2013-06-08 Glenn Morris <rgm@gnu.org>
8179 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8180 (byte-compile-backward-char, byte-compile-backward-word):
8181 Improve previous change, to handle non-explicit nil.
8183 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8185 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8186 (smie--opener/closer-at-point): New function.
8187 (smie--matching-block-data): Use it. Don't match from right after an
8188 opener or right before a closer. Obey smie-blink-matching-inners.
8189 Don't signal a mismatch for repeated inners like "switch..case..case".
8191 2013-06-07 Leo Liu <sdl.web@gmail.com>
8193 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8195 (octave-function-header-regexp): Fix. (Bug#14570)
8196 (octave-help-mode-finish-hook, octave-help-mode-finish):
8197 Remove. Just use temp-buffer-show-hook.
8199 * newcomment.el (comment-search-backward): Revert last change.
8202 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8204 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8206 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8207 through xargs, to avoid failure due to MS-Windows limitations on
8208 command-line length.
8210 2013-06-06 Glenn Morris <rgm@gnu.org>
8212 * font-lock.el (lisp-font-lock-keywords-2):
8213 Treat user-error like error.
8215 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8216 (byte-compile-backward-char, byte-compile-backward-word):
8217 Handle explicit nil arguments. (Bug#14565)
8219 2013-06-05 Alan Mackenzie <acm@muc.de>
8221 * isearch.el (isearch-allow-prefix): New user option.
8222 (isearch-other-meta-char): Don't exit isearch when a prefix
8223 argument is typed whilst `isearch-allow-prefix' is non-nil.
8226 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8228 * autorevert.el (auto-revert-notify-handler): Use memq.
8229 Hide assertion failure.
8231 * skeleton.el: Use cl-lib.
8232 (skeleton-further-elements): Use defvar-local.
8233 (skeleton-insert): Use cl-progv.
8235 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8237 * progmodes/prog-mode.el (prog-prettify-symbols)
8238 (prog-prettify-install): Update docstrings.
8240 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8242 * simple.el: Move all the prog-mode code to prog-mode.el.
8243 * progmodes/prog-mode.el: New file.
8244 * loadup.el: Add prog-mode.el.
8246 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8248 * simple.el (prog-prettify-symbols): Add version.
8249 (prog-prettify-install): Add convenience function to prettify symbols.
8251 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8252 (perl--augmented-font-lock-keywords-1)
8253 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8254 variables and use it.
8256 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8257 (cfengine3-mode): Remove unneeded variable and use it.
8259 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8260 (lisp--augmented-font-lock-keywords-1)
8261 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8262 Remove unneeded variables and use it.
8264 2013-06-05 João Távora <joaotavora@gmail.com>
8266 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8267 to point when opening the connection. (Bug#14380)
8269 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8271 * subr.el (load-history-regexp, load-history-filename-element)
8272 (eval-after-load, after-load-functions, do-after-load-evaluation)
8273 (eval-next-after-load, display-delayed-warnings)
8274 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8275 definition of save-match-data.
8276 (overriding-local-map): Remove accidental obsolescence declaration.
8278 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8280 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8282 Generalize symbol prettify support to prog-mode and implement it
8283 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8284 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8285 (prog--prettify-font-lock-compose-symbol)
8286 (prog-prettify-font-lock-symbols-keywords): New variables and
8287 functions to support symbol prettification.
8288 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8289 (lisp--augmented-font-lock-keywords-1)
8290 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8291 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8292 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8293 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8294 Implement prettify of -> => :: strings.
8295 * progmodes/perl-mode.el (perl-prettify-symbols)
8296 (perl--font-lock-compose-symbol)
8297 (perl--font-lock-symbols-keywords): Move to prog-mode.
8298 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8299 (perl-font-lock-keywords-1)
8300 (perl-font-lock-keywords-2): Remove explicit prettify support.
8301 (perl--augmented-font-lock-keywords)
8302 (perl--augmented-font-lock-keywords-1)
8303 (perl--augmented-font-lock-keywords-2, perl-mode):
8304 Implement prettify support.
8306 2013-06-05 Leo Liu <sdl.web@gmail.com>
8308 Re-implement smie matching block highlight using
8309 show-paren-data-function. (Bug#14395)
8310 * emacs-lisp/smie.el (smie-matching-block-highlight)
8311 (smie--highlight-matching-block-overlay)
8312 (smie--highlight-matching-block-lastpos)
8313 (smie-highlight-matching-block)
8314 (smie-highlight-matching-block-mode): Remove.
8315 (smie--matching-block-data-cache): New variable.
8316 (smie--matching-block-data): New function.
8317 (smie-setup): Use smie--matching-block-data for
8318 show-paren-data-function.
8320 * progmodes/octave.el (octave-mode-menu): Fix.
8321 (octave-find-definition): Skip garbage lines.
8323 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8325 Fix compilation error with simultaneous dynamic+lexical scoping.
8326 Add warning when a defvar appears after the first let-binding.
8327 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8328 (byte-compile-close-variables): Initialize it.
8329 (byte-compile--declare-var): New function.
8330 (byte-compile-file-form-defvar)
8331 (byte-compile-file-form-define-abbrev-table)
8332 (byte-compile-file-form-custom-declare-variable): Use it.
8333 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8334 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8335 (byte-compile-bind): Handle dynamic bindings that shadow
8337 (byte-compile-unbind): Make arg non-optional.
8338 (byte-compile-let): Simplify.
8339 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8340 (cconv--analyse-function, cconv-analyse-form): Populate it.
8341 Protect byte-compile-bound-variables to limit the scope of defvars.
8342 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8343 Remove unneeded rule for `declare'.
8345 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8346 so as to avoid depending on cl-adjoin at run-time.
8347 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8349 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8350 (macroexp--warn-and-return): Use it.
8352 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8354 * lisp/subr.el: Convert to lexical binding.
8355 (overriding-local-map): Make obsolete.
8356 (add-to-list): Doc fix. Add compiler macro.
8357 (read-key): Swap values of local maps.
8359 2013-06-05 Leo Liu <sdl.web@gmail.com>
8361 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8363 2013-06-04 Leo Liu <sdl.web@gmail.com>
8365 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8366 (compilation-auto-jump): Suppress the "Mark set" message to give
8367 way to exit message.
8369 2013-06-04 Alan Mackenzie <acm@muc.de>
8371 Remove faulty optimisation from indentation calculation.
8372 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8373 search limit based on 2000 characters back from indent-point.
8375 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8377 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8379 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8381 * emacs-lisp/lisp.el: Use lexical-binding.
8382 (lisp--local-variables-1, lisp--local-variables): New functions.
8383 (lisp--local-variables-completion-table): New var.
8384 (lisp-completion-at-point): Use it complete let-bound vars.
8386 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8387 eagerly (bug#14422).
8389 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8391 * autorevert.el (auto-revert-notify-enabled)
8392 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8393 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8394 (auto-revert-notify-handler): Handle also gfilenotify.
8396 * subr.el (file-notify-handle-event): New defun. Replacing ...
8397 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8400 2013-06-03 Juri Linkov <juri@jurta.org>
8402 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8403 `M-s h .'. (Bug#14427)
8405 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8406 command `hi-lock-face-symbol-at-point'.
8407 (hi-lock-face-symbol-at-point): New command.
8408 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8409 (hi-lock-menu): Add `highlight-symbol-at-point'.
8410 (hi-lock-mode): Doc fix.
8412 * isearch.el (isearch-forward-symbol-at-point): New command.
8413 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8414 (isearch-highlight-regexp): Add a regexp which matches
8415 words/symbols for word/symbol mode.
8417 * subr.el (find-tag-default-bounds): New function with the body
8418 mostly moved from `find-tag-default'.
8419 (find-tag-default): Move most code to `find-tag-default-bounds',
8420 call it and apply `buffer-substring-no-properties' afterwards.
8422 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8424 * eshell/em-term.el (eshell-term-initialize):
8425 Use `cl-intersection' rather than `intersection'.
8427 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8429 * vc/log-view.el: Doc fix.
8430 (log-view-mode-map): Copy keymap from `special-mode-map'.
8432 2013-06-02 Eric Ludlam <zappo@gnu.org>
8434 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8435 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8436 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8437 (eieio-unbound, eieio-default-superclass)
8438 (eieio--define-field-accessors, method-static, method-before)
8439 (method-primary, method-after, method-num-lists)
8440 (method-generic-before, method-generic-primary)
8441 (method-generic-after, method-num-slots)
8442 (eieio-specialized-key-to-generic-key)
8443 (eieio--check-type, class-v, class-p)
8444 (eieio-class-name, define-obsolete-function-alias)
8445 (eieio-class-parents-fast, eieio-class-children-fast)
8446 (same-class-fast-p, class-constructor, generic-p)
8447 (generic-primary-only-p, generic-primary-only-one-p)
8448 (class-option-assoc, class-option, eieio-object-p)
8449 (class-abstract-p, class-method-invocation-order)
8450 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8451 (eieio-class-un-autoload, eieio-defclass)
8452 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8453 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8454 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8455 (eieio-defgeneric-reset-generic-form)
8456 (eieio-defgeneric-form-primary-only)
8457 (eieio-defgeneric-reset-generic-form-primary-only)
8458 (eieio-defgeneric-form-primary-only-one)
8459 (eieio-defgeneric-reset-generic-form-primary-only-one)
8460 (eieio-unbind-method-implementations)
8461 (eieio--defmethod, eieio--typep)
8462 (eieio-perform-slot-validation, eieio-validate-slot-value)
8463 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8464 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8465 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8466 (eieio-slot-name-index, eieio-class-slot-name-index)
8467 (eieio-set-defaults, eieio-initarg-to-attribute)
8468 (eieio-attribute-to-initarg, eieio-c3-candidate)
8469 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8470 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8471 (eieio-class-precedence-list, eieio-generic-call-methodname)
8472 (eieio-generic-call-arglst, eieio-generic-call-key)
8473 (eieio-generic-call-next-method-list)
8474 (eieio-pre-method-execution-functions, eieio-generic-call)
8475 (eieio-generic-call-primary-only, eieiomt-method-list)
8476 (eieiomt-optimizing-obarray, eieiomt-install)
8477 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8478 (eieio-generic-form, eieio-defmethod, make-obsolete)
8479 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8480 (defclass): Remove `eval-and-compile' from macro.
8481 (call-next-method, shared-initialize): Instead of using
8482 `scoped-class' variable, use new eieio--scoped-class, and
8483 eieio--with-scoped-class.
8484 (initialize-instance): Rename local variable 'scoped-class' to
8485 'this-class' to remove ambiguitity from old global.
8487 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8489 (eieio--scoped-class-stack): New variable.
8490 (eieio--scoped-class): New fcn.
8491 (eieio--with-scoped-class): New scoping macro.
8492 (eieio-defclass): Use pushnew instead of add-to-list.
8493 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8494 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8495 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8496 `scoped-class' variable, use new eieio--scoped-class, and
8497 eieio--with-scoped-class.
8499 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8501 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8503 * eshell/esh-ext.el (eshell-external-command): Pass args to
8504 `eshell-find-interpreter'.
8505 (eshell-find-interpreter): Add new second parameter ARGS.
8507 * eshell/em-script.el (eshell-script-initialize): Add second arg
8508 to the function added as MATCH to `eshell-interpreter-alist'.
8510 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8511 the function added as MATCH to `eshell-interpreter-alist'.
8513 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8514 (eshell-visual-options): New defcustom.
8515 (eshell-escape-control-x): Adapt docstring.
8516 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8517 `eshell-visual-options' in addition to `eshell-visual-commands'.
8518 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8520 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8522 * progmodes/python.el (python-indent-block-enders): Add break,
8523 continue and raise keywords.
8525 2013-06-01 Glenn Morris <rgm@gnu.org>
8527 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8529 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8530 * progmodes/cc-cmds.el (delete-forward-p):
8531 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8532 * progmodes/cc-engine.el (buffer-syntactic-context):
8533 * progmodes/cc-fonts.el (face-property-instance):
8534 * progmodes/cc-mode.el (set-keymap-parents):
8535 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8536 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8537 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8538 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8539 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8541 * progmodes/cc-vars.el (other): Emacs has this widget since
8542 at least 21.1, so don't (re)define it.
8544 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8545 Replace the obsolete alias pcomplete-arg-quote-list.
8547 2013-06-01 Leo Liu <sdl.web@gmail.com>
8549 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8551 (inferior-octave-minimal-columns)
8552 (inferior-octave-last-column-width): New variables.
8553 (inferior-octave-track-window-width-change): New function.
8554 (inferior-octave-mode): Adjust column width so that Octave output,
8555 for example from 'ls', can fit into the window nicely.
8557 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8559 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8560 Highlight expansions inside regexp literals.
8562 2013-05-31 Glenn Morris <rgm@gnu.org>
8564 * obsolete/sym-comp.el (symbol-complete):
8565 Replace obsolete completion-annotate-function.
8567 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8569 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8571 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8572 New function, checks if point is inside a literal that allows
8573 expression expansion.
8574 (ruby-syntax-propertize-expansion): Use it.
8575 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8578 2013-05-30 Juri Linkov <juri@jurta.org>
8580 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8582 (isearch-invisible): New variable.
8583 (isearch-forward): Doc fix.
8584 (isearch-mode): Set `isearch-invisible'
8585 to the value of `search-invisible'.
8586 (isearch-toggle-case-fold): Doc fix.
8587 (isearch-toggle-invisible): New command.
8588 (isearch-query-replace): Let-bind `search-invisible'
8589 to the value of `isearch-invisible'.
8590 (isearch-search): Use `isearch-invisible' instead of
8591 `search-invisible'. Let-bind `search-invisible'
8592 to the value of `isearch-invisible'. (Bug#11378)
8594 2013-05-30 Juri Linkov <juri@jurta.org>
8596 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8597 call when `query-flag' is nil and `search-invisible' is non-nil.
8600 2013-05-30 Glenn Morris <rgm@gnu.org>
8602 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8604 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8605 (cc-require): Suppress spurious "noruntime" warnings.
8606 (cc-require-when-compile): Use fboundp, for sake of compiler.
8608 * progmodes/cc-mode.el: Move load of cc-vars before that of
8609 cc-langs (which in turn loads cc-vars), to quieten compiler.
8611 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8613 * paren.el: Simplify the code.
8614 (show-paren-mode): Always start the timer.
8615 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8616 (show-paren--overlay, show-paren--overlay-1): Rename from
8617 show-paren-overlay and show-paren-overlay-1, and initialize to an
8618 overlay rather than to nil.
8619 (show-paren-function): Misc cleanup and simplifications.
8621 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8623 * paren.el (show-paren-data-function): New hook.
8624 (show-paren--default): New function, extracted from show-paren-function.
8625 (show-paren-function): Use show-paren-data-function.
8627 2013-05-30 Glenn Morris <rgm@gnu.org>
8629 * ielm.el (ielm-map, ielm-complete-symbol):
8630 Use completion-at-point rather than obsolete functions.
8631 (inferior-emacs-lisp-mode): Doc fix.
8632 Set completion-at-point-functions, rather than
8633 comint-dynamic-complete-functions.
8635 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8636 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8637 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8639 * image.el (image-animated-p): Tweak definition.
8641 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8642 (rlogin-process-connection-type): Tweak default. Add set-after.
8643 (rlogin-host): Doc fix.
8644 (rlogin): Tweak prompt.
8645 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8647 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8648 * progmodes/tcl.el (inferior-tcl-mode-map):
8649 Use completion-at-point rather than obsolete alias.
8651 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8653 * minibuffer.el (read-file-name-completion-ignore-case):
8654 Move before completion--in-region, for eager macro expansion.
8656 2013-05-29 Juri Linkov <juri@jurta.org>
8658 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8659 for total count of matching lines. Add `global-matches' for total
8660 count of matches. Rename `matches' to `lines' for count of
8661 matching lines. Add `matches' for count of matches.
8662 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8663 to `prev-line' for line number of prev match endpt.
8664 Increment `matches' for every match. Print the number of
8665 matching lines in the header.
8666 (occur-context-lines): Rename `lines' to `curr-line'.
8667 Rename `prev-lines' to `prev-line'. (Bug#14017)
8669 2013-05-29 Juri Linkov <juri@jurta.org>
8671 * replace.el (perform-replace): Add `skip-read-only-count',
8672 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8673 Increment them for corresponding conditions and report the number
8674 of skipped occurrences in the final message. (Bug#11746)
8675 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8676 (replace-string, replace-regexp): Doc fix.
8678 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8680 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8682 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8683 prog-mode-map (bug#14504).
8685 2013-05-29 Leo Liu <sdl.web@gmail.com>
8687 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8688 (octave-help): Small simplification.
8690 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8691 off the highlight first.
8693 2013-05-29 Glenn Morris <rgm@gnu.org>
8695 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8696 Handle idlwave-last-system-routine-info-cons-cell being nil.
8698 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8699 (idlwave-write-paths): Simplify via with-temp-buffer.
8701 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8702 * emulation/cua-rect.el: Also load cua-base at run time.
8704 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8705 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8706 (cperl-imenu-on-info): Require imenu.
8708 2013-05-28 Alan Mackenzie <acm@muc.de>
8710 Handle "capitalised keywords" correctly.
8711 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8713 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8715 * eshell/em-unix.el: Add -r option to cp.
8717 2013-05-28 Glenn Morris <rgm@gnu.org>
8719 * vc/vc-arch.el (vc-exec-after): Declare.
8720 (vc-switches): Autoload.
8721 * vc/vc-bzr.el: No need to require vc when compiling.
8722 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8723 (vc-resynch-buffer, vc-dir-refresh): Declare.
8724 (vc-setup-buffer, vc-switches): Autoload.
8725 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8726 (vc-resynch-buffer): Declare.
8727 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8728 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8729 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8730 (grep-read-regexp, grep-read-files, grep-expand-template)
8731 (vc-dir-refresh): Declare.
8732 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8733 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8734 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8735 * vc/vc-mtn.el (vc-exec-after): Declare.
8736 (vc-switches): Autoload.
8737 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8738 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8739 (vc-file-tree-walk): Declare.
8740 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8741 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8742 (vc-tag-precondition, vc-rename-master): Autoload.
8743 * vc/vc-svn.el (vc-exec-after): Declare.
8744 (vc-switches, vc-setup-buffer): Autoload.
8745 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8747 (vc-resynch-buffer): Declare.
8749 * obsolete/fast-lock.el (byte-compile-warnings):
8750 Don't warn about obsolete features in this obsolete file.
8752 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8753 Move definition before use.
8755 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8756 (dun-unix-verbs): Remove dun-zippy.
8757 (dun-zippy): Remove function.
8759 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8761 2013-05-27 Juri Linkov <juri@jurta.org>
8763 * replace.el (replace-search): New function with code moved out
8764 from `perform-replace'.
8765 (replace-highlight, replace-dehighlight): Move function definitions
8766 up closer to `replace-search'. (Bug#11746)
8768 2013-05-27 Juri Linkov <juri@jurta.org>
8770 * replace.el (perform-replace): Ignore invisible matches.
8771 In addition to checking `query-replace-skip-read-only', also
8772 filter out matches by calling `run-hook-with-args-until-failure'
8773 on `isearch-filter-predicates', and also check `search-invisible'
8774 for t or call `isearch-range-invisible'.
8775 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8777 2013-05-27 Juri Linkov <juri@jurta.org>
8779 * isearch.el (isearch-filter-predicates): Rename from
8780 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8781 (isearch-message-prefix): Display text from the property
8782 `isearch-message-prefix' of the currently active filters.
8783 (isearch-search): Don't compare `isearch-filter-predicate' with
8784 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8785 on `isearch-filter-predicates'. Also check `search-invisible' for t
8786 or call `isearch-range-invisible'.
8787 (isearch-filter-visible): Make obsolete.
8788 (isearch-lazy-highlight-search):
8789 Call `run-hook-with-args-until-failure' on
8790 `isearch-filter-predicates' and use `isearch-range-invisible'.
8792 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8793 `isearch-filter-predicates' instead of `funcall'ing
8794 `isearch-filter-predicate'.
8795 (Info-mode): Set `Info-isearch-filter' to
8796 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8798 * dired-aux.el (dired-isearch-filter-predicate-orig):
8800 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8801 (dired-isearch-filenames-end): Add and remove
8802 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8803 instead of changing the value of `isearch-filter-predicate'.
8804 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8805 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8806 Put property `isearch-message-prefix' to "filename " on
8807 `dired-isearch-filter-filenames'.
8809 * wdired.el (wdired-change-to-wdired-mode):
8810 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8811 locally instead of changing `isearch-filter-predicate'.
8812 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8814 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8816 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8817 return the commit hash (Bug#14459). Also set the
8818 `vc-git-detached' property.
8819 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8820 (vc-git-mode-line-string): Use the same help-echo format whether
8821 in detached mode or not, because we know the actual revision now.
8822 When in detached mode, shorten the revision to 7 chars.
8824 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8826 * emacs-lisp/easy-mmode.el (define-minor-mode):
8827 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8828 mode hook and provide a docstring.
8830 2013-05-27 Alan Mackenzie <acm@muc.de>
8832 Remove spurious syntax-table text properties inserted by C-y.
8833 * progmodes/cc-mode.el (c-after-change): Also clear hard
8834 syntax-table property with value nil.
8836 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8838 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8839 when reading the events; the buffer layout shall not be changed.
8841 2013-05-27 Leo Liu <sdl.web@gmail.com>
8843 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8845 (inferior-octave-directory-tracker): Automatically re-sync
8847 (octave-help): Improve handling of 'See also'.
8849 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8851 * doc-view.el: Minor naming convention tweaks.
8852 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8854 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8855 even if there's no `display' property yet (bug#14435).
8857 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8859 * subr.el (unmsys--file-name): Rename from reveal-filename.
8861 * Makefile.in (custom-deps, finder-data, autoloads)
8862 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8863 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8864 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8866 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8868 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8869 error-completion on the first 2 args of condition-case (bug#14446).
8872 2013-05-25 Leo Liu <sdl.web@gmail.com>
8874 * comint.el (comint-previous-matching-input): Do not flood the
8875 *Messages* buffer with trivial messages.
8877 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8879 * progmodes/flymake.el (flymake-nop): Don't return a string.
8880 (flymake-set-at): Fix typo.
8882 * simple.el (read--expression): New function, extracted from
8883 eval-expression. Set completion-at-point-functions (bug#14465).
8884 (eval-expression, eval-minibuffer): Use it.
8886 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8888 * progmodes/flymake.el (flymake-save-buffer-in-file)
8889 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8890 (flymake-selected-frame, flymake-log, flymake-ins-after)
8891 (flymake-set-at, flymake-get-buildfile-from-cache)
8892 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8893 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8894 Refine the doc string.
8895 (flymake-get-file-name-mode-and-masks): Reformat.
8896 (flymake-get-real-file-name-function): Fix a minor bug.
8898 2013-05-24 Juri Linkov <juri@jurta.org>
8900 * progmodes/grep.el (grep-mode-font-lock-keywords):
8901 Support =linenumber= format used by git-grep for lines with
8902 function names. (Bug#13549)
8904 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8906 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8907 0 after a semi-colon; it works better for smie-auto-fill.
8908 (octave--indent-new-comment-line): New function.
8909 (octave-indent-new-comment-line): Use it (indirectly).
8910 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8911 modify comment-line-break-function.
8913 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8914 (smie-setup): Use add-function to set it.
8916 2013-05-24 Sam Steingold <sds@gnu.org>
8918 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8919 argument (before the `interactive' argument).
8921 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8923 * image-mode.el (image-mode-winprops): Add winprops to
8924 image-mode-winprops-alist before running
8925 image-mode-new-window-functions.
8926 * doc-view.el (doc-view-new-window-function): Don't delay
8927 doc-view-goto-page via timers (bug#14435).
8929 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8931 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8932 (doc-view-desktop-save-buffer): New function.
8933 (doc-view-restore-desktop-buffer): New function.
8934 (desktop-buffer-mode-handlers):
8935 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8937 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8938 `desktop-save-buffer' function.
8940 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8942 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8943 (tramp-gvfs-file-name-handler): Raise a user error when
8944 `tramp-gvfs-enabled' is nil.
8945 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8946 Do not raise a user error when loading package. (Bug#14447)
8948 * net/xesam.el: Move to obsolete/.
8950 2013-05-24 Glenn Morris <rgm@gnu.org>
8952 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8954 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8956 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8957 (Info-find-node, Man-getpage-in-background): Declare.
8959 * mail/unrmail.el (unrmail):
8960 Replace obsolete detect-coding-with-priority.
8962 * net/socks.el (socks-split-string): Use this rather than split-string.
8963 (socks-nslookup-host): Update for above change.
8964 (dynamic-choice, s5-dynamic-choice-match)
8965 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8966 Comment out unused code.
8968 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8969 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8970 (gud-tooltip-echo-area): Make obsolete.
8971 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8973 * progmodes/js.el (js--optimize-arglist): Declare.
8975 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8977 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8978 (ediff-window-C): Declare.
8980 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8981 Tweak requires to silence compiler.
8983 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8984 (he-search-string, he-tried-table, he-expand-list)
8985 (he-init-string, he-string-member, he-substitute-string)
8986 (he-reset-string): Declare.
8988 * obsolete/options.el (list-options): Use custom-variable-p,
8989 rather than obsolete alias.
8991 2013-05-23 Sam Steingold <sds@gnu.org>
8993 * simple.el (shell-command-on-region): Pass the `replace' argument
8994 down to `call-process-region' to comply with the doc as reported on
8995 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8997 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8999 * emacs-lisp/smie.el (smie-indent-forward-token)
9000 (smie-indent-backward-token): Handle string tokens (bug#14381).
9002 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9004 * ielm.el (ielm-menu): New menu.
9005 (inferior-emacs-lisp-mode): Set comment-start.
9007 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9009 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9010 Fix deactivate action.
9012 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9013 Add cleveref macros.
9015 * lisp/textmodes/reftex-parse.el
9016 (reftex-locate-bibliography-files): Accept options for
9017 bibliography commands.
9018 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9019 Add addbibresource. Basic Biblatex support.
9021 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9023 * net/tramp-gvfs.el (top):
9024 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9025 when loading package. (Bug#14447)
9027 2013-05-23 Glenn Morris <rgm@gnu.org>
9029 * progmodes/js.el: No need to load comint when compiling.
9030 (ring-insert, comint-send-string, comint-send-input)
9031 (comint-last-input-end, ido-chop): Declare.
9033 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9034 * vc/ediff-mult.el: Adjust requires.
9035 (ediff-directories-internal, ediff-directory-revisions-internal)
9036 (ediff-patch-file-internal): Declare.
9037 * vc/ediff-ptch.el: Adjust requires.
9038 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9039 (ediff-find-file): Autoload.
9040 * vc/ediff-util.el: No need to load ediff when compiling.
9041 (ediff-regions-internal): Declare.
9042 * vc/ediff-wind.el: Adjust requires.
9043 (ediff-compute-toolbar-width): Define when compiling.
9044 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9045 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9046 (dired-get-filename, dired-get-marked-files)
9047 (ediff-last-dir-patch, ediff-patch-default-directory)
9048 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9049 (ediff-patch-buffer-internal): Declare.
9051 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9052 (ispell-process, ispell-buffer-local-words, lm-summary)
9053 (lm-section-start, lm-section-end): Declare.
9054 (checkdoc-ispell-init): Simplify.
9056 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9057 (he-string-member, he-reset-string, he-substitute-string): Declare.
9059 * eshell/em-ls.el: Adjust requires.
9060 (eshell-glob-regexp): Declare.
9061 * eshell/em-tramp.el: Adjust requires.
9062 (eshell-parse-command): Autoload.
9063 * eshell/em-xtra.el: Adjust requires.
9064 (eshell-parse-command): Autoload.
9065 * eshell/esh-ext.el: Adjust requires.
9066 (eshell-parse-command, eshell-close-handles): Autoload.
9067 * eshell/esh-io.el: Adjust requires.
9068 (eshell-output-filter): Autoload.
9069 * eshell/esh-util.el: No need to load tramp when compiling.
9070 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9072 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9073 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9074 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9075 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9076 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9077 * eshell/esh-opt.el, eshell/esh-proc.el:
9078 * eshell/esh-var.el: Adjust requires.
9079 * eshell/eshell.el: Do not require esh-util twice.
9080 (eshell-add-input-to-history): Declare.
9081 (eshell-command): Check history module is active before using it.
9083 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9085 2013-05-22 Leo Liu <sdl.web@gmail.com>
9087 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9089 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9091 * autorevert.el (auto-revert-notify-add-watch)
9092 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9093 it indicates changes in file modification time.
9095 2013-05-22 Glenn Morris <rgm@gnu.org>
9097 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9098 Always delete the autoloaded function from the noruntime and
9099 unresolved functions lists.
9101 * allout.el: No need to load epa, epg, overlay when compiling.
9102 (epg-context-set-passphrase-callback, epg-list-keys)
9103 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9104 (epg-key-user-id-list): Declare.
9106 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9107 (viper-set-parsing-style-toggling-macro)
9108 (viper-set-emacs-state-searchstyle-macros):
9109 Use called-interactively-p on Emacs.
9110 (viper-looking-back): Make it an obsolete alias. Update callers.
9111 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9112 Use looking-back rather than viper-looking-back.
9113 (viper-tmp-insert-at-eob, viper-enlarge-region)
9114 (viper-read-string-with-history, viper-register-to-point)
9115 (viper-append-to-register, viper-change-state-to-vi)
9116 (viper-backward-char-carefully, viper-forward-char-carefully)
9117 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9118 (viper-change-state-to-emacs): Declare.
9119 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9120 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9121 * emulation/viper-mous.el: Do not load viper-cmd.
9122 (viper-backward-char-carefully, viper-forward-char-carefully)
9123 (viper-forward-word, viper-adjust-window): Declare.
9125 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9127 * progmodes/idlw-help.el (idlwave-help-fontify):
9128 Use called-interactively-p.
9130 * term/w32console.el (w32-get-console-codepage)
9131 (w32-get-console-output-codepage): Declare.
9133 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9134 Remove unnecessary declarations.
9135 (dframe-message): Doc fix.
9137 * info.el (dframe-select-attached-frame, dframe-current-frame):
9140 * speedbar.el (speedbar-message): Make it an obsolete alias.
9142 (speedbar-with-attached-buffer)
9143 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9144 (speedbar-with-writable): Use backquote.
9145 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9146 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9147 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9148 rather than speedbar- aliases.
9149 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9150 (speedbar-make-specialized-keymap, speedbar-insert-button)
9151 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9152 (speedbar-do-function-pointer): Declare.
9153 (rmail-speedbar-button, rmail-speedbar-find-file)
9154 (rmail-speedbar-move-message):
9155 Use dframe-with-attached-buffer rather than speedbar- alias.
9156 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9157 (dframe-message, speedbar-make-specialized-keymap)
9158 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9159 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9160 (speedbar-insert-button, dframe-select-attached-frame)
9161 (dframe-maybee-jump-to-attached-frame)
9162 (speedbar-change-initial-expansion-list)
9163 (speedbar-previously-used-expansion-list-name): Declare.
9164 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9165 Use dframe-message, dframe-with-attached-buffer rather than
9167 (gud-sentinel): Silence compiler.
9168 * progmodes/vhdl-mode.el (speedbar-refresh)
9169 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9170 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9171 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9172 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9173 (speedbar-file-lists, speedbar-make-tag-line)
9174 (speedbar-line-directory, speedbar-goto-this-file)
9175 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9176 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9177 (speedbar-make-button, speedbar-reset-scanners)
9178 (speedbar-files-item-info, speedbar-line-text)
9179 (speedbar-find-file-in-frame, speedbar-set-timer)
9180 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9181 (speedbar-with-writable): Do not (re)define it.
9182 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9183 rather than speedbar- alias.
9185 2013-05-21 Leo Liu <sdl.web@gmail.com>
9187 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9189 (octave-mode): Tweak fill-nobreak-predicate.
9190 (inferior-octave-startup): Check process to avoid infinite loop.
9191 (inferior-octave): Pop to buffer first to show abornmal process
9194 2013-05-21 Glenn Morris <rgm@gnu.org>
9196 * printing.el (pr-menu-bar): Define when compiling.
9198 2013-05-21 Leo Liu <sdl.web@gmail.com>
9200 * progmodes/octave.el (octave-auto-fill): Remove.
9201 (octave-indent-new-comment-line): Improve.
9202 (octave-mode): Use auto fill mode through
9203 comment-line-break-function and fill-nobreak-predicate.
9204 (octave-goto-function-definition): Support DEFUN_DLD.
9205 (octave-beginning-of-defun): Small tweak.
9206 (octave-help): Show parent directory.
9208 2013-05-21 Glenn Morris <rgm@gnu.org>
9210 * files.el (dired-unmark):
9211 * progmodes/gud.el (gdb-input): Update declarations.
9213 * calculator.el (electric, ehelp): No need to load when compiling.
9214 (Electric-command-loop, electric-describe-mode): Declare.
9216 * doc-view.el (doc-view-current-converter-processes): Move before use.
9218 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9219 Move MODE-set-explicitly definition before use.
9221 * international/mule-diag.el (mule-diag):
9222 Don't use obsolete window-system-version.
9224 * mail/feedmail.el (smtpmail): No need to load when compiling.
9225 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9227 * mail/mail-utils.el (rfc822): No need to load when compiling.
9228 (rfc822-addresses): Autoload it.
9229 (mail-strip-quoted-names): Trivial simplification.
9231 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9232 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9234 * net/snmp-mode.el (tempo): Don't duplicate requires.
9236 * progmodes/prolog.el (info): No need to load when compiling.
9237 (comint): Require before shell requires it.
9238 (Info-goto-node): Autoload it.
9239 (Info-follow-nearest-node): Declare.
9240 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9242 * textmodes/artist.el (picture-mode-exit): Declare.
9244 * textmodes/reftex-parse.el (reftex-parse-from-file):
9245 Trivial rewrite so the compiler can parse it better.
9247 2013-05-20 Leo Liu <sdl.web@gmail.com>
9249 * progmodes/octave.el (octave-help-mode-map)
9250 (octave-help-mode-finish-hook): New variables.
9251 (octave-help-mode, octave-help-mode-finish): New functions.
9252 (octave-help): Use octave-help-mode.
9254 2013-05-20 Glenn Morris <rgm@gnu.org>
9256 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9258 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9260 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9261 start at point, so that expansion starting right after opening
9262 slash in a regexp is recognized.
9263 (ruby-syntax-before-regexp-re): New defvar, extracted from
9264 ruby-syntax-propertize-function. Since the value of this regexp
9265 is looked up at runtime now, we should be able to turn
9266 `ruby-syntax-methods-before-regexp' into a defcustom later.
9267 (ruby-syntax-propertize-function): Split regexp matching into two
9268 parts, for opening and closing slashes. That allows us to skip
9269 over string interpolations and support multiline regexps.
9270 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9271 for them, which calls `ruby-syntax-propertize-expansion'.
9272 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9273 call to `ruby-syntax-propertize-function'.
9274 (ruby-syntax-propertize-expansion): Extracted from
9275 `ruby-syntax-propertize-expansions'. Handles one expansion.
9276 (ruby-syntax-propertize-percent-literal): Leave point right after
9277 the percent symbol, so that the expression expansion rule can
9278 propertize the contents.
9279 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9281 (ruby-syntax-propertize-expansions): Remove.
9283 2013-05-18 Juri Linkov <juri@jurta.org>
9285 * man.el (Man-default-man-entry): Remove `-' from the end
9286 of the default value. (Bug#14400)
9288 2013-05-18 Glenn Morris <rgm@gnu.org>
9290 * comint.el (comint-password-prompt-regexp):
9291 Allow "password for XXX" where XXX contains colons (eg https://...).
9293 2013-05-18 Leo Liu <sdl.web@gmail.com>
9295 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9296 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9297 (octave-source-directories): Don't check process.
9298 (octave-source-directories, octave-find-definition): Doc fix.
9300 2013-05-18 Glenn Morris <rgm@gnu.org>
9302 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9303 Remove backspace/delete bindings. (Bug#14392)
9305 * cus-dep.el (custom-make-dependencies): Sort the output.
9306 (custom-versions-load-alist): Convert comment to doc.
9308 2013-05-17 Leo Liu <sdl.web@gmail.com>
9310 * newcomment.el (comment-search-backward): Stricter in finding
9311 comment start. (Bug#14303)
9313 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9314 (octave-comment-start-skip): Properly anchored.
9316 2013-05-17 Leo Liu <sdl.web@gmail.com>
9318 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9319 Clean up when turned off. (Bug#14395)
9320 (smie--highlight-matching-block-overlay): No longer buffer-local.
9321 (smie-highlight-matching-block): Adjust.
9323 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9325 Doc string fix for "nanoseconds" (Bug#14406).
9326 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9327 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9329 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9331 * calc/calc-units.el (math-extract-units): Preserve powers
9334 2013-05-17 Leo Liu <sdl.web@gmail.com>
9336 * subr.el (delete-consecutive-dups): New function.
9337 * ido.el (ido-set-matches-1): Use it.
9338 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9339 * ido.el (ido-remove-consecutive-dups): Remove.
9341 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9343 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9344 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9345 regexp-opt's `words'.
9347 2013-05-16 Leo Liu <sdl.web@gmail.com>
9349 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9350 (smie--highlight-matching-block-overlay)
9351 (smie--highlight-matching-block-lastpos)
9352 (smie--highlight-matching-block-timer): New variables.
9353 (smie-highlight-matching-block): New function.
9354 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9355 (smie-setup): Conditionally enable smie-blink-matching-open.
9357 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9359 Sync with upstream verilog-mode r840.
9360 * progmodes/verilog-mode.el (verilog-mode-version)
9361 (verilog-mode-release-date): Update.
9362 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9363 (verilog-sig-tieoff): Fix string error on
9364 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9365 (verilog-read-decls): Fix parameters confusing
9366 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9368 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9370 * subr.el (reveal-filename): New function.
9372 * loadup.el: Compute Emacs executable versions on MS-Windows,
9373 where executables have the .exe extension. Add a hard link
9374 emacs-XX.YY.ZZ.exe on MS-Windows.
9376 * Makefile.in (XARGS_LIMIT): New variable.
9377 (custom-deps, finder-data, autoloads)
9378 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9379 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9380 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9381 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9383 2013-05-16 Leo Liu <sdl.web@gmail.com>
9385 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9386 (octave-mode-menu, octave-mode-map): Remove its uses.
9388 2013-05-16 Reto Zimmermann <reto@gnu.org>
9390 Sync with upstream vhdl mode v3.34.2.
9391 * progmodes/vhdl-mode.el: Use `push' throughout.
9392 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9393 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9394 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9395 (vhdl-actual-generic-name): New option to derive actual generic name.
9396 (vhdl-port-paste-signals): Replace formal by actual generics.
9397 (vhdl-beautify): New name for old group vhdl-align. Update users.
9398 (vhdl-beautify-options): New option.
9399 (vhdl-last-input-event): New compat alias. Use throughout.
9400 (vhdl-goto-line): Replace user level function `goto-line'.
9401 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9402 vhdl-fix-statement-buffer.
9403 (vhdl-create-mode-menu): Add some entries.
9404 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9405 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9406 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9407 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9408 to force statements on one line.
9409 (vhdl-remove-trailing-spaces-region):
9410 New, split from vhdl-remove-trailing-spaces.
9411 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9412 Respect vhdl-beautify-options.
9413 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9414 (vhdl-update-sensitivity-list): Not add with index if exists without.
9415 Not include array index with signal. Ignore keywords in comments.
9416 (vhdl-get-visible-signals): Regexp tweaks.
9417 (vhdl-template-component-inst): Handle empty library.
9418 (vhdl-template-type): Add template for 'enum' type.
9419 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9420 Use vhdl-replace-string.
9421 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9422 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9423 (vhdl-speedbar-initialize): Update for above name change.
9424 (vhdl-compose-wire-components): Fix in handling of constants.
9425 (vhdl-error-regexp-emacs-alist): New variable.
9426 (vhdl-error-regexp-add-emacs): New function;
9427 adds support for new compile.el (Emacs 22+)
9428 (vhdl-generate-makefile-1): Change target order for single lib. units.
9429 Allow use of absolute file names.
9431 2013-05-16 Leo Liu <sdl.web@gmail.com>
9433 * simple.el (prog-indent-sexp): Indent enclosing defun.
9435 2013-05-15 Glenn Morris <rgm@gnu.org>
9437 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9438 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9439 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9440 (whitespace-highlight): Move to whitespace group.
9442 * comint.el (comint-source):
9443 * pcmpl-linux.el (pcmpl-linux):
9444 * shell.el (shell-faces):
9445 * eshell/esh-opt.el (eshell-opt):
9446 * international/ccl.el (ccl): Remove empty custom groups.
9448 * completion.el (dynamic-completion-mode):
9449 * jit-lock.el (jit-lock-debug-mode):
9450 * minibuffer.el (completion-in-region-mode):
9451 * type-break.el (type-break-mode-line-message-mode)
9452 (type-break-query-mode):
9453 * emulation/tpu-edt.el (tpu-edt-mode):
9454 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9455 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9456 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9458 * term/xterm.el (xterm): Change parent group to terminals.
9460 * master.el (master): Remove empty custom group.
9461 (master-mode): Remove unused :group argument.
9462 * textmodes/refill.el (refill): Remove empty custom group.
9463 (refill-mode): Remove unused :group argument.
9465 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9467 * cus-dep.el: Provide a feature.
9468 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9469 Don't mistakenly ignore files whose basenames match a basename
9470 from preloaded-file-list (eg cedet/ede/simple.el).
9471 Add a fallback method for getting :group.
9473 2013-05-15 Juri Linkov <juri@jurta.org>
9475 * isearch.el (isearch-char-by-name): Rename from
9476 `isearch-insert-char-by-name'. Doc fix.
9477 (isearch-forward): Mention `isearch-char-by-name' in
9478 the docstring. (Bug#13348)
9480 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9481 `exit-minibuffer' instead of
9482 `isearch-nonincremental-exit-minibuffer'.
9483 (isearch-edit-string): Remove mention of
9484 `isearch-nonincremental-exit-minibuffer' from docstring.
9485 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9486 (isearch-forward-exit-minibuffer)
9487 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9489 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9491 * loadup.el: Just use unversioned DOC.
9493 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9494 literals as extending to EOB.
9495 (nxml-last-fontify-end): Remove unused variable.
9496 (nxml-after-change1): Use with-silent-modifications.
9497 (nxml-extend-after-change-region): Simplify.
9498 (nxml-extend-after-change-region1): Remove function.
9499 (nxml-after-change1): Don't adjust for dependent regions.
9500 (nxml-fontify-matcher): Simplify.
9501 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9502 (xmltok-add-dependent): Remove function.
9503 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9504 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9505 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9506 unclosed <[[, <?, comment, and other literals as extending to EOB.
9507 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9508 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9510 (rng-do-some-validation-1): Don't mark dependent regions.
9511 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9512 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9513 (nxml-clear-dependent-regions): Remove functions.
9514 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9515 (nxml-ensure-scan-up-to-date):
9516 Don't clear&mark dependent regions.
9518 2013-05-15 Leo Liu <sdl.web@gmail.com>
9520 * progmodes/octave.el (octave-goto-function-definition):
9521 Improve and fix callers.
9523 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9525 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9526 the setter (bug#14387).
9528 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9529 surrounding group (bug#14402).
9531 2013-05-14 Juri Linkov <juri@jurta.org>
9533 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9536 2013-05-14 Glenn Morris <rgm@gnu.org>
9538 * progmodes/f90.el (f90-imenu-generic-expression):
9539 Fix typo in 2013-05-08 change. (Bug#14402)
9541 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9543 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9544 Remove signals for which replies are never received.
9546 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9548 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9549 (gdb-handler-alist, gdb-handler-number): Remove variables.
9550 (gdb-handler-list): New variable.
9551 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9552 (gdb-pending-handler-p, gdb-handle-reply)
9553 (gdb-remove-all-pending-triggers): New functions.
9554 (gdb-discard-unordered-replies): New defcustom.
9555 (gdb-handler): New defstruct.
9556 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9557 instead of gdb-pending-triggers. Update docstring.
9558 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9559 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9560 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9561 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9562 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9563 (gdb-frame-handler): Pending triggers are now automatically managed.
9564 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9566 (gdb-input): Automatically handles pending triggers. Update docstring.
9567 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9568 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9570 (gdb-done-or-error): Now use gdb-handle-reply.
9572 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9574 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9577 2013-05-14 Glenn Morris <rgm@gnu.org>
9579 * subr.el (user-emacs-directory-warning): New option.
9580 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9582 2013-05-14 Leo Liu <sdl.web@gmail.com>
9584 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9586 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9587 (octave-font-lock-texinfo-comment): Fix invalid search bound
9588 error: wrong side of point.
9590 2013-05-14 Glenn Morris <rgm@gnu.org>
9592 * progmodes/flymake.el (flymake-xml-program): New option.
9593 (flymake-xml-init): Use it.
9595 * term/xterm.el: Provide a feature.
9597 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9599 2013-05-13 Glenn Morris <rgm@gnu.org>
9601 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9602 Add compat aliases as a hack workaround. (Bug#14384)
9604 2013-05-13 Leo Liu <sdl.web@gmail.com>
9606 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9608 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9610 (octave-comment-start-skip): Include %!.
9611 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9613 2013-05-12 Leo Liu <sdl.web@gmail.com>
9615 * progmodes/octave.el (inferior-octave-startup): Store the value
9616 of __octave_srcdir__ for octave-source-directories.
9617 (inferior-octave-check-process): New function refactored out of
9618 inferior-octave-send-list-and-digest.
9619 (octave-source-directories)
9620 (octave-find-definition-filename-function): New variables.
9621 (octave-source-directories)
9622 (octave-find-definition-default-filename): New functions.
9623 (octave-find-definition): Improve to find functions implemented in C++.
9625 2013-05-12 Glenn Morris <rgm@gnu.org>
9627 * calendar/diary-lib.el (diary-outlook-format-1):
9628 Don't include dayname in the output. (Bug#14349)
9630 2013-05-11 Glenn Morris <rgm@gnu.org>
9632 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9634 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9635 Treat cc-provide like provide.
9637 2013-05-11 Kevin Ryde <user42@zip.com.au>
9639 * cus-dep.el (custom-make-dependencies):
9640 Use generated-autoload-load-name for the sake of files such
9641 such cedet/semantic/bovine/c.el, where the base file name
9642 is not in load-path. (Bug#5277)
9644 2013-05-11 Glenn Morris <rgm@gnu.org>
9646 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9649 2013-05-11 Leo Liu <sdl.web@gmail.com>
9651 * progmodes/octave.el (octave-indent-comment): Improve.
9652 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9653 (octave-eldoc-function-signatures, octave-eldoc-function):
9655 (octave-mode, inferior-octave-mode): Add eldoc support.
9657 2013-05-11 Richard Stallman <rms@gnu.org>
9659 * epa.el (epa-decrypt-file): Take output file name as argument
9660 and read it using `interactive'.
9662 2013-05-11 Leo Liu <sdl.web@gmail.com>
9664 * progmodes/octave.el (octave-beginning-of-line)
9665 (octave-end-of-line): Check before using up-list because it jumps
9666 out of more syntactic contructs since moving to smie.
9667 (octave-indent-comment): New function.
9668 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9669 (octave-begin-keywords, octave-end-keywords)
9670 (octave-reserved-words, octave-smie-bnf-table)
9671 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9673 2013-05-11 Glenn Morris <rgm@gnu.org>
9675 * faces.el (internal-face-x-get-resource):
9676 * frame.el (ns-display-monitor-attributes-list):
9677 * calc/calc-aent.el (math-to-radians-2):
9678 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9681 * calc/calc-menu.el: Make it loadable in isolation.
9683 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9684 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9685 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9686 (eudc-bbdb-query-internal): Require 'bbdb.
9688 * lpr.el (lpr-headers-switches):
9689 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9691 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9693 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9695 * term.el (term-set-escape-char): Make it idempotent.
9697 2013-05-10 Leo Liu <sdl.web@gmail.com>
9699 * progmodes/octave.el (inferior-octave-completion-table):
9700 No longer a function and all uses changed. Use cache to speed up
9701 completion due to bug#11906.
9702 (octave-beginning-of-defun): Re-write to be more general.
9704 2013-05-10 Glenn Morris <rgm@gnu.org>
9706 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9708 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9710 * comint.el (comint-redirect-send-command-to-process): Use :around
9711 rather than :override for comint-redirect-filter.
9712 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9713 Call it instead of comint-redirect-original-filter-function (which
9714 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9716 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9718 * frame.el (display-monitor-attributes-list): Add NS case.
9719 (ns-display-monitor-attributes-list): Declare.
9721 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9723 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9725 2013-05-09 Glenn Morris <rgm@gnu.org>
9727 * international/fontset.el (vertical-centering-font-regexp):
9730 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9732 * bookmark.el (bookmark-search-delay):
9733 * cus-start.el (vertical-centering-font-regexp):
9734 * ps-mule.el (ps-mule-font-info-database-default):
9735 * ps-print.el (ps-default-fg, ps-default-bg):
9736 * type-break.el (type-break-good-break-interval):
9737 * whitespace.el (whitespace-indentation-regexp)
9738 (whitespace-space-after-tab-regexp):
9739 * emacs-lisp/testcover.el (testcover-1value-functions)
9740 (testcover-noreturn-functions, testcover-progn-functions)
9741 (testcover-prog1-functions):
9742 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9743 * eshell/em-glob.el (eshell-glob-translate-alist):
9744 * play/tetris.el (tetris-tty-colors):
9745 * progmodes/cpp.el (cpp-face-default-list):
9746 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9747 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9748 (idlwave-help-browser-generic-args):
9749 * progmodes/make-mode.el (makefile-special-targets-list):
9750 * progmodes/python.el (python-shell-virtualenv-path):
9751 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9752 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9753 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9754 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9755 * textmodes/reftex-vars.el (reftex-format-label-function):
9756 * textmodes/remember.el (remember-diary-file): Fix custom types.
9758 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9761 2013-05-09 Leo Liu <sdl.web@gmail.com>
9763 * progmodes/octave.el (inferior-octave-completion-at-point):
9764 Restore file completion. (Bug#14300)
9765 (inferior-octave-startup): Fix incorrect highlighting for the
9768 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9770 * progmodes/ruby-mode.el: First cut at SMIE support.
9771 (ruby-use-smie): New var.
9772 (ruby-smie-grammar): New constant.
9773 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9774 (ruby-smie--forward-token, ruby-smie--backward-token)
9775 (ruby-smie-rules): New functions.
9776 (ruby-mode-variables): Setup SMIE if applicable.
9778 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9780 * simple.el (line-move-visual): Signal beginning/end of buffer
9781 only if vertical-motion moved less than it was requested. Avoids
9782 silly incorrect error messages when there are display strings with
9783 multiple newlines at EOL.
9785 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9787 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9788 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9789 (prolog-char-quote-workaround):
9790 * progmodes/cperl-mode.el (cperl-under-as-char):
9791 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9793 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9795 (vhdl-mode-syntax-table-init): Remove.
9797 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9800 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9802 (ld-script-font-lock-keywords):
9803 Change regexps to use things like \_< and \_>.
9805 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9806 Change all regexps to use things like \_< and \_>.
9808 * progmodes/autoconf.el (autoconf-definition-regexp)
9809 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9810 Handle a _ with symbol syntax.
9811 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9813 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9814 Consolidate declaration.
9815 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9817 (ada-create-syntax-table): Remove.
9818 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9819 already has the right syntax nowadays.
9820 (ada-goto-next-word): Don't change the syntax of "_".
9822 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9825 2013-05-08 Sam Steingold <sds@gnu.org>
9827 * thingatpt.el (thing-at-point): Accept optional second argument
9828 NO-PROPERTIES to strip the text properties from the return value.
9829 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9830 to `thing-at-point' instead of stripping the properties ourselves.
9831 Also, when `thing-at-point' fails to find a url, prepend "http://"
9832 to the filename at point on the assumption that the user is
9833 pointing at something like gnu.org/gnu.
9835 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9837 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9838 * faces.el (crm-separator):
9839 Silence byte-compiler.
9841 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9842 (tool-bar-map): Remove unneeded defvars.
9844 2013-05-08 Leo Liu <sdl.web@gmail.com>
9846 Re-work a fix for bug#10994 based on Le Wang's patch.
9847 * ido.el (ido-remove-consecutive-dups): New helper.
9848 (ido-completing-read): Use it.
9849 (ido-chop): Revert fix for bug#10994.
9851 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9853 * cus-edit.el (custom-save-variables):
9854 Pretty-print long values. (Bug#14187)
9856 2013-05-08 Glenn Morris <rgm@gnu.org>
9858 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9859 (m4-mode-syntax-table): Init in the defvar.
9860 (m4-mode-abbrev-table): Let define-derived-mode define it.
9862 2013-05-08 Tom Tromey <tromey@redhat.com>
9864 * progmodes/m4-mode.el (m4-mode-syntax-table):
9865 Do not treat "_" as word constituent. (Bug#14167)
9867 2013-05-07 Glenn Morris <rgm@gnu.org>
9869 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9870 Remove explicit eshell-isearch-cancel-map.
9872 * progmodes/f90.el (f90-smart-end-names): New option.
9873 (f90-smart-end): Doc fix.
9874 (f90-end-block-optional-name): New constant.
9875 (f90-block-match): Respect f90-smart-end-names.
9877 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9879 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9880 about implicit semi-colons (bug#14218).
9882 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9884 * frame.el (display-monitor-attributes-list)
9885 (frame-monitor-attributes): New functions.
9887 2013-05-06 Leo Liu <sdl.web@gmail.com>
9889 * progmodes/octave.el (octave-syntax-propertize-function): Change
9890 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9891 (octave-font-lock-keywords): Use octave-operator-regexp.
9892 (octave-completion-at-point): Rename from
9893 octave-completion-at-point-function.
9894 (inferior-octave-directory-tracker): Robustify.
9895 (octave-text-functions): Remove and fix its uses. No such things
9898 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9900 * emacs-lisp/trace.el (trace--display-buffer): New function.
9901 (trace-make-advice): Use it.
9903 2013-05-06 Juri Linkov <juri@jurta.org>
9905 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9906 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9908 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9909 in the help string. (Bug#12985)
9911 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9913 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9915 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9917 * progmodes/perl-mode.el: Add support for here documents.
9918 (perl-syntax-propertize-function): Match here-doc markers.
9919 (perl-syntax-propertize-special-constructs): Find their end.
9920 (perl-imenu-generic-expression): Use [:alnum:].
9922 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9923 (advice--add-function): Refresh the advice if already present
9926 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9928 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9930 2013-05-06 Glenn Morris <rgm@gnu.org>
9932 * w32-fns.el (w32-charset-info-alist): Declare.
9934 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9935 of its defcustom properties.
9936 (eshell-cmpl-initialize): No need to load pcomplete.
9938 * generic-x.el: No need to require comint when compiling.
9940 * net/eudc-export.el: Make it loadable without bbdb.
9941 (top-level): Use require rather than load-library.
9942 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9943 (eudc-batch-export-records-to-bbdb)
9944 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9947 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9949 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9950 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9951 some tweaks, instead.
9953 2013-05-05 Leo Liu <sdl.web@gmail.com>
9955 * progmodes/octave.el (octave-font-lock-keywords)
9956 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9957 (inferior-octave-send-list-and-digest): Improve error message.
9958 (octave-mode, inferior-octave-mode): Use setq-local.
9959 (octave-help): Set info-lookup-mode.
9961 2013-05-05 Richard Stallman <rms@gnu.org>
9963 * vc/compare-w.el (compare-windows-whitespace):
9964 Treat no-break space as whitespace.
9966 * mail/rmailsum.el (rmail-summary-rmail-update):
9967 Detect empty summary and don't change selected message.
9968 (rmail-summary-goto-msg): Likewise.
9970 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9971 Doc fixes, rename args.
9973 2013-05-05 Alan Mackenzie <acm@muc.de>
9975 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9977 2013-05-05 Juri Linkov <juri@jurta.org>
9979 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9980 to not add the length of the summary segment to the return value.
9983 2013-05-05 Leo Liu <sdl.web@gmail.com>
9985 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9986 (inferior-octave-output-filter): Remove.
9987 (octave-send-region, inferior-octave-startup): Fix callers.
9988 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9989 (octave-binary-file-extensions): New user variable.
9990 (octave-find-definition): Confirm if opening binary files.
9991 (octave-help-file): Use octave-find-definition to get the binary
9993 (octave-help): Adjust for octave-help-file change.
9995 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9997 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9998 Merge the two entries that handle function definitions.
9999 (pascal--syntax-propertize): New const.
10000 (pascal-mode): Use it. Use setq-local.
10002 2013-05-04 Glenn Morris <rgm@gnu.org>
10004 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10005 (diary-from-outlook): Respect diary-from-outlook-function.
10007 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10009 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10010 Move the declaration from C.
10011 (read-minibuffer, eval-minibuffer): Move from C.
10012 (completion-setup-function): Avoid minibuffer-completion-contents.
10014 2013-05-03 Leo Liu <sdl.web@gmail.com>
10016 * progmodes/octave.el (octave-font-lock-keywords): Do not
10017 dehighlight 'end' in comments or strings.
10018 (octave-completing-read, octave-goto-function-definition):
10020 (octave-help-buffer): New user variable.
10021 (octave-help-file, octave-help-function): New button types.
10022 (octave-help): New command and bind it to C-h ;.
10023 (octave-find-definition): New command and bind it to M-.
10024 (user-error): Alias to error if not defined.
10026 2013-05-02 Leo Liu <sdl.web@gmail.com>
10028 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10030 (octave-font-lock-keywords): Include [ and {.
10032 2013-05-02 Leo Liu <sdl.web@gmail.com>
10034 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10035 (inferior-octave): Remove calling comint-mode and return the buffer.
10036 (inferior-octave-startup): Cosmetic changes.
10038 2013-05-02 Leo Liu <sdl.web@gmail.com>
10040 * progmodes/octave.el (octave-syntax-propertize-function):
10041 Include the case when ' is at line beginning. (Bug#14336)
10043 2013-05-02 Glenn Morris <rgm@gnu.org>
10045 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10046 * desktop.el (vc-dir-mode): Just autoload it here.
10048 2013-05-02 Alan Mackenzie <acm@muc.de>
10050 Eliminate variable c-standard-font-lock-fontify-region-function.
10051 * progmodes/cc-mode.el
10052 (c-standard-font-lock-fontify-region-function): Remove.
10053 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10055 2013-05-01 Leo Liu <sdl.web@gmail.com>
10057 * progmodes/octave.el: Compatible with older emacs-24 releases.
10058 (inferior-octave-has-built-in-variables): Remove. Built-in
10059 variables were removed from Octave in 2007.
10060 (inferior-octave-startup): Fix uses.
10061 (comint-line-beginning-position): Remove compatibility code for
10064 2013-05-01 Juri Linkov <juri@jurta.org>
10066 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10068 2013-05-01 Juri Linkov <juri@jurta.org>
10070 * comint.el (comint-previous-matching-input): Don't print message
10071 "History item: %d" when `isearch-mode' is active.
10072 (comint-history-isearch-message): Print message "History item: %d"
10073 when `comint-input-ring-index' is not empty and this function is
10074 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10076 2013-05-01 Leo Liu <sdl.web@gmail.com>
10078 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10079 definitions. Use completion-at-point to insert keywords.
10080 (octave-abbrev-start): Remove.
10081 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10083 2013-04-30 Leo Liu <sdl.web@gmail.com>
10085 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10088 2013-04-30 Alan Mackenzie <acm@muc.de>
10090 Handle arbitrarily long C++ member initialisation lists.
10091 * progmodes/cc-engine.el (c-back-over-member-initializers):
10093 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10094 (most) member init lists.
10096 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10098 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10101 2013-04-30 Leo Liu <sdl.web@gmail.com>
10103 * progmodes/octave.el (octave-variables): Remove. No builtin
10104 variables any more. All converted to functions.
10105 (octave-font-lock-keywords, octave-completion-at-point-function):
10107 (octave-font-lock-texinfo-comment): New user variable.
10108 (octave-texinfo-font-lock-keywords): New variable for texinfo
10110 (octave-function-comment-block): New face.
10111 (octave-font-lock-texinfo-comment): New function.
10112 (octave-mode): Font lock texinfo comment block.
10114 2013-04-29 Leo Liu <sdl.web@gmail.com>
10116 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10117 indexing expression.
10118 (octave-continuation-string): Do not use \.
10119 (inferior-octave-complete-impossible): Remove.
10120 (inferior-octave-completion-table)
10121 (inferior-octave-completion-at-point): Remove its uses.
10122 (inferior-octave-startup): completion_matches was introduced to
10123 Octave in 1996 so safe to assume it.
10124 (octave-function-file-comment): Improve to follow how Octave does it.
10125 (octave-update-function-file-comment): Tweak.
10127 2013-04-29 Leo Liu <sdl.web@gmail.com>
10129 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10130 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10131 (octave-function-file-comment): Fix typo.
10132 (octave-sync-function-file-names): Use read-char-choice.
10134 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10136 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10137 to t for the less important warnings.
10139 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10141 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10143 2013-04-27 Glenn Morris <rgm@gnu.org>
10145 * vc/log-view.el (log-view-current-entry):
10146 Treat "---" separator lines as part of the following rev. (Bug#14169)
10148 2013-04-27 Juri Linkov <juri@jurta.org>
10150 * subr.el (read-number): Doc fix about using it by interactive
10151 code letter `n'. (Bug#14254)
10153 2013-04-27 Juri Linkov <juri@jurta.org>
10155 * desktop.el (desktop-auto-save-timeout): New option.
10156 (desktop-file-checksum): New variable.
10157 (desktop-save): Add optional arg `auto-save' and don't auto-save
10158 if nothing changed.
10159 (desktop-auto-save-timer): New variable.
10160 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10161 (after-init-hook): Call `desktop-auto-save-set-timer'.
10162 Suggested by Reuben Thomas <rrt@sc3d.org> in
10163 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10165 2013-04-27 Leo Liu <sdl.web@gmail.com>
10167 * progmodes/octave.el (octave-function-file-p)
10168 (octave-skip-comment-forward, octave-function-file-comment)
10169 (octave-update-function-file-comment): New functions.
10170 (octave-mode-map): Bind C-c ; to
10171 octave-update-function-file-comment.
10172 (octave-mode-menu): Add octave-update-function-file-comment.
10173 (octave-mode, inferior-octave-mode): Fix doc-string.
10174 (octave-insert-defun): Conform to Octave's coding convention.
10177 * files.el (basic-save-buffer): Don't let errors in
10178 before-save-hook prevent saving buffer.
10180 2013-04-20 Roland Winkler <winkler@gnu.org>
10182 * faces.el (read-face-name): Use completing-read if arg multiple
10185 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10187 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10188 displayed, move point to after the totals line.
10189 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10192 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10194 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10195 Add current dir to the load-path.
10196 (package-generate-autoloads): Don't rely on
10197 autoload-ensure-default-file.
10199 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10201 * textmodes/remember.el (remember-store-in-files): Document that
10202 the file name format is passed to `format-time-string'.
10204 2013-04-26 Leo Liu <sdl.web@gmail.com>
10206 * progmodes/octave.el (octave-sync-function-file-names): New function.
10207 (octave-mode): Use it in before-save-hook.
10209 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10211 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10214 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10215 \n and comment, even if it's not an implicit ; (bug#14218).
10217 2013-04-26 Glenn Morris <rgm@gnu.org>
10219 * subr.el (read-number): Once more use `read' rather than
10220 `string-to-number', to trap non-numeric input. (Bug#14254)
10222 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10224 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10225 Use `syntax-multiline' text property consistently instead of
10226 `font-lock-multiline'. (Bug#14237)
10228 2013-04-26 Glenn Morris <rgm@gnu.org>
10230 * emacs-lisp/shadow.el (list-load-path-shadows):
10231 No longer necessary to check for duplicate simple.el, since
10232 2012-07-07 change to init_lread to not include installation lisp
10233 directories in load-path when running uninstalled. (Bug#14270)
10235 2013-04-26 Leo Liu <sdl.web@gmail.com>
10237 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10238 (octave-mode, inferior-octave-mode): Use setq-local.
10239 (octave-not-in-string-or-comment-p): Rename to
10240 octave-in-string-or-comment-p.
10241 (octave-in-comment-p, octave-in-string-p)
10242 (octave-in-string-or-comment-p): Replace defsubst with defun.
10244 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10246 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10248 2013-04-25 Bastien Guerry <bzg@gnu.org>
10250 * textmodes/remember.el (remember-data-directory)
10251 (remember-directory-file-name-format): Fix custom types.
10253 2013-04-25 Leo Liu <sdl.web@gmail.com>
10255 * progmodes/octave.el (octave-completion-at-point-function):
10256 Make use of inferior octave process.
10257 (octave-initialize-completions): Remove.
10258 (inferior-octave-completion-table): New function.
10259 (inferior-octave-completion-at-point): Use it.
10260 (octave-completion-alist): Remove.
10262 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10264 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10265 (opascal-mode-syntax-table): New var.
10266 (opascal-literal-kind, opascal-is-literal-end)
10267 (opascal-literal-token-at): Rewrite.
10268 (opascal--literal-start-re, opascal-font-lock-keywords)
10269 (opascal--syntax-propertize): New constants.
10270 (opascal-font-lock-defaults): Adjust.
10271 (opascal-mode): Use them. Set comment-<foo> variables as well.
10272 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10273 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10274 (delphi-other-face, opascal-other-face): Remove face variables.
10275 (opascal-save-state): Remove macro.
10276 (opascal-fontifying-progress-step): Remove constant.
10277 (opascal--ignore-changes): Remove var.
10278 (opascal-set-token-property, opascal-parse-next-literal)
10279 (opascal-is-stable-literal, opascal-complete-literal)
10280 (opascal-is-literal-start, opascal-face-of)
10281 (opascal-parse-region, opascal-parse-region-until-stable)
10282 (opascal-fontify-region, opascal-after-change)
10283 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10284 (opascal-debug-parse-region, opascal-debug-parse-window)
10285 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10286 (opascal-debug-fontify-buffer): Remove.
10287 (opascal-debug-mode-map): Adjust accordingly.
10289 2013-04-25 Leo Liu <sdl.web@gmail.com>
10291 Merge octave-mod.el and octave-inf.el into octave.el with some
10293 * progmodes/octave.el: New file renamed from octave-mod.el.
10294 * progmodes/octave-inf.el: Merged into octave.el.
10295 * progmodes/octave-mod.el: Renamed to octave.el.
10297 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10299 * textmodes/reftex-vars.el
10300 (reftex-label-ignored-macros-and-environments): New defcustom.
10302 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10304 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10306 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10307 (smie-indent-keyword): Improve the check to ensure that the next
10308 comment is really on the same line.
10309 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10311 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10312 semi-colons if the line is not otherwise empty (bug#14218).
10314 2013-04-25 Glenn Morris <rgm@gnu.org>
10316 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10318 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10320 * progmodes/opascal.el (opascal-set-token-property): Rename from
10321 opascal-set-text-properties and only set `token' (bug#14134).
10322 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10323 (opascal-literal-text-properties): Remove.
10324 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10327 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10329 * textmodes/remember.el (remember-handler-functions): Add an
10330 option for a new handler `remember-store-in-files'.
10331 (remember-data-directory, remember-directory-file-name-format):
10333 (remember-store-in-files): New function to store remember notes
10334 as separate files within a directory.
10336 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10338 * progmodes/compile.el (compilation-next-error-function):
10339 Pass "formats" to compilation-find-file (bug#11777).
10341 2013-04-24 Glenn Morris <rgm@gnu.org>
10343 * vc/vc-bzr.el (vc-bzr-print-log):
10344 * vc/vc-hg.el (vc-hg-print-log):
10345 * vc/vc-svn.el (vc-svn-print-log):
10346 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10348 * vc/vc-bzr.el (vc-bzr-print-log):
10349 * vc/vc-cvs.el (vc-cvs-print-log):
10350 * vc/vc-git.el (vc-git-print-log):
10351 * vc/vc-hg.el (vc-hg-print-log):
10352 * vc/vc-mtn.el (vc-mtn-print-log):
10353 * vc/vc-rcs.el (vc-rcs-print-log):
10354 * vc/vc-sccs.el (vc-sccs-print-log):
10355 * vc/vc-svn.el (vc-svn-print-log):
10356 * vc/vc.el (vc-print-log-internal): Doc fixes.
10358 2013-04-23 Glenn Morris <rgm@gnu.org>
10360 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10361 Remove venerable code attempting to avoid substitute-command-keys.
10363 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10365 * textmodes/reftex-vars.el (reftex-label-regexps):
10366 Call `reftex-compile-variables' after changes to this variable.
10368 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10370 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10371 Use lexical-binding.
10372 (jit-lock-force-redisplay): Use markers, check buffer's continued
10373 existence and beware narrowed buffers.
10374 (jit-lock-fontify-now): Adjust call accordingly.
10376 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10378 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10379 to avoid misleading the user.
10381 2013-04-22 Leo Liu <sdl.web@gmail.com>
10383 * info-look.el: Prefer latex2e.info. (Bug#14240)
10385 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10387 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10389 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10390 * net/tramp.el (tramp-call-process): ... here.
10391 (tramp-set-completion-function, tramp-parse-putty):
10392 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10393 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10394 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10395 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10396 (tramp-call-local-coding-command): Use `tramp-call-process'
10397 instead of `tramp-compat-call-process'.
10399 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10400 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10401 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10402 (tramp-find-inline-compress): Improve traces.
10403 (tramp-maybe-send-script): Check for Perl binary.
10404 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10406 2013-04-22 Daiki Ueno <ueno@gnu.org>
10408 * epg.el (epg-context-pinentry-mode): New function.
10409 (epg-context-set-pinentry-mode): New function.
10410 (epg--start): Pass --pinentry-mode option to gpg command.
10412 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10414 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10415 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10416 `completion-at-point'. (Bug#13774)
10418 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10419 default key binding for `describe-distribution' has been moved to
10420 `C-h C-o'. (Bug#13970)
10422 2013-04-21 Glenn Morris <rgm@gnu.org>
10424 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10426 (vc-print-log): Clarify interactive prompt.
10428 2013-04-20 Glenn Morris <rgm@gnu.org>
10430 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10431 No longer include timestamp etc information.
10433 2013-04-20 Roland Winkler <winkler@gnu.org>
10435 * faces.el (read-face-name): Bug fix, return just one face if arg
10436 multiple is nil. (Bug#14209)
10438 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10440 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10441 (remove-function): Autoload.
10443 * comint.el (comint-redirect-original-filter-function): Remove.
10444 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10445 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10446 (vc-cvs-annotate-command):
10447 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10448 * progmodes/prolog.el (prolog-consult-compile):
10449 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10450 Use add/remove-function instead.
10451 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10452 (gud-tooltip-process-output, gud-tooltip-tips):
10453 Use add/remove-function instead.
10454 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10455 (scheme-interaction-mode, exit-scheme-interaction-mode):
10456 Use add/remove-function instead.
10458 * vc/vc-dispatcher.el: Use lexical-binding.
10459 (vc--process-sentinel): Rename from vc-process-sentinel.
10460 Change last arg to be the code to run. Don't use vc-previous-sentinel
10461 and vc-sentinel-commands any more.
10462 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10463 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10465 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10467 * progmodes/sh-script.el (sh-imenu-generic-expression):
10468 Handle function names with a single character. (Bug#14111)
10470 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10472 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10473 for subroutines defined in an eval (bug#14182).
10475 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10477 * bookmark.el (bookmark-completing-read): Improve handling of empty
10478 string (bug#14176).
10480 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10482 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10484 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10486 New faster Imenu implementation (bug#14058).
10487 * progmodes/python.el:
10488 (python-imenu-prev-index-position):
10489 (python-imenu-format-item-label-function)
10490 (python-imenu-format-parent-item-label-function)
10491 (python-imenu-format-parent-item-jump-label-function):
10493 (python-imenu-format-item-label)
10494 (python-imenu-format-parent-item-label)
10495 (python-imenu-format-parent-item-jump-label)
10496 (python-imenu--put-parent, python-imenu--build-tree)
10497 (python-imenu-create-index, python-imenu-create-flat-index)
10498 (python-util-popn): New functions.
10499 (python-mode): Set imenu-create-index-function to
10500 python-imenu-create-index.
10502 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10504 * winner.el (winner-active-region): Use region-active-p, activate-mark
10505 and deactivate-mark (bug#14225).
10507 * simple.el (deactivate-mark): Don't inline it.
10509 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10511 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10513 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10515 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10516 file extensions from the archive-mode entry in order to prefer
10517 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10519 2013-04-18 Leo Liu <sdl.web@gmail.com>
10521 * bindings.el (help-event-list): Add ?\?.
10523 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10525 * subr.el (with-wrapper-hook): Declare obsolete.
10526 * simple.el (filter-buffer-substring-function): New hook.
10527 (filter-buffer-substring): Use it.
10528 (filter-buffer-substring-functions): Mark obsolete.
10529 * minibuffer.el (completion-in-region-function): New hook.
10530 (completion-in-region): Use it.
10531 (completion-in-region-functions): Mark obsolete.
10532 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10533 * abbrev.el (abbrev-expand-function): New hook.
10534 (expand-abbrev): Use it.
10535 (abbrev-expand-functions): Mark obsolete.
10536 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10537 and :filter-return.
10539 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10541 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10542 and do not care about match data.
10544 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10546 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10547 completion tables when completing error conditions and
10548 `declare' arguments.
10549 (lisp-complete-symbol, field-complete): Mark as obsolete.
10550 (check-parens): Unmatched parens are user errors.
10551 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10553 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10555 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10556 command changed buffer (ie. `flyspell-pre-buffer' is not current
10557 buffer), which prevents making decisions based on invalid value of
10558 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10559 cause an error when `flyspell-pre-point' was nil after switching
10561 (flyspell-post-command-hook): No longer needs to change buffers when
10562 checking pre-word. While at it remove unnecessary progn.
10564 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10566 * textmodes/ispell.el (ispell-add-per-file-word-list):
10567 Fix `flyspell-correct-word-before-point' error when accepting
10568 words and `coment-padding' is an integer by using
10569 `comment-normalize-vars' (Bug #14214).
10571 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10573 New defun movement commands.
10574 * progmodes/python.el (python-nav--syntactically)
10575 (python-nav--forward-defun, python-nav-backward-defun)
10576 (python-nav-forward-defun): New functions.
10578 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10580 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10581 (python-syntax-context): Use named compiler-macro for backwards
10582 compatibility with Emacs 24.x.
10584 2013-04-17 Leo Liu <sdl.web@gmail.com>
10586 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10587 octave-hide-process-buffer.
10589 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10591 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10594 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10596 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10597 Fix adjustment of offset when receiving incomplete responses from GDB
10600 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10602 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10603 python-mode-abbrev-table.
10604 (python-skeleton-define): Adjust accordingly.
10605 (python-mode-abbrev-table): New table that inherits from it so that
10606 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10608 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10609 (abbrev-symbol): Use it.
10610 (abbrev--before-point): Use it since we already handle inheritance.
10612 2013-04-16 Leo Liu <sdl.web@gmail.com>
10614 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10615 binding to info-lookup-symbol.
10617 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10619 * minibuffer.el (completion--twq-all):
10620 * term/ns-win.el (ns-initialize-window-system):
10621 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10623 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10625 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10628 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10630 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10632 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10633 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10635 (ruby-end-of-defun): Remove the unused arg, change the docstring
10636 to reflect that this function is only used as the value of
10637 `end-of-defun-function'.
10638 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10639 to reflect an earlier change that beginning/end-of-defun functions
10640 jump between methods in a class definition, as well as top-level
10643 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10645 * minibuffer.el (minibuffer-complete): Don't just scroll
10646 a *Completions* that's been iconified.
10647 (minibuffer-force-complete): Make sure repetitions do cycle when going
10648 through completion-in-region -> minibuffer-complete.
10650 2013-04-15 Alan Mackenzie <acm@muc.de>
10652 Correct the placement of c-cpp-delimiters when there're #s not at
10655 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10656 place a submatch around the #.
10657 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10658 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10661 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10663 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10664 (advice--member-p): New arg `name'.
10665 (advice--add-function, advice-member-p): Use it (bug#14202).
10667 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10669 Reformulate java imenu-generic-expression.
10670 The old expression contained ill formed regexps.
10672 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10673 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10674 (cc-imenu-java-method-arg-regexp): New defconsts.
10675 (cc-imenu-java-build-type-args-regex): New defun.
10676 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10677 handling of spaces in the regexp.
10679 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10681 * textmodes/ispell.el (ispell-command-loop): Remove
10682 flyspell highlight of a word when ispell accepts it (bug #14178).
10684 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10686 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10687 uses code from the previous `ange-ftp-run-real-handler'.
10688 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10689 only in case that function exist. This is needed for proper
10690 unloading of Tramp.
10692 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10694 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10696 * textmodes/reftex.el (reftex-compile-variables): Use it.
10698 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10700 * files.el (normal-mode): Only use default major-mode if no other mode
10703 * emacs-lisp/trace.el (trace-values): New function.
10705 * files.el: Allow : in local variables (bug#14089).
10706 (hack-local-variable-regexp): New var.
10707 (hack-local-variables-prop-line, hack-local-variables): Use it.
10709 2013-04-13 Roland Winkler <winkler@gnu.org>
10711 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10712 data before it gets modified by bibtex-beginning-of-entry.
10714 2013-04-13 Roland Winkler <winkler@gnu.org>
10716 * textmodes/bibtex.el (bibtex-url): Doc fix.
10718 2013-04-13 Roland Winkler <winkler@gnu.org>
10720 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10721 does not visit a BibTeX file, exclude it from the list of buffers
10722 returned by bibtex-initialize.
10724 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10726 * window.el (split-window): Remove interactive form, since as a
10727 command this function is a special case of split-window-below.
10728 Correct doc string.
10730 2013-04-12 Roland Winkler <winkler@gnu.org>
10732 * faces.el (read-face-name): Do not override value of arg default.
10733 Allow single faces and strings as default values. Remove those
10734 elements from return value that are not faces.
10735 (describe-face): Simplify.
10736 (face-at-point): New optional args thing and multiple so that this
10737 function can provide the same functionality previously provided by
10739 (make-face-bold, make-face-unbold, make-face-italic)
10740 (make-face-unitalic, make-face-bold-italic, invert-face)
10741 (modify-face, read-face-and-attribute): Use face-at-point.
10743 * cus-edit.el (customize-face, customize-face-other-window)
10744 * cus-theme.el (custom-theme-add-face)
10745 * face-remap.el (buffer-face-set)
10746 * facemenu.el (facemenu-set-face): Use face-at-point.
10748 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10750 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10752 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10754 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10755 off leading { and trailing } from field values.
10757 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10759 * emacs-lisp/timer.el (timer--check): New function.
10760 (timer--time, timer-set-function, timer-event-handler): Use it.
10761 (timer-set-idle-time): Simplify.
10762 (timer--activate): CSE.
10763 (timer-event-handler): Give more info in error message.
10764 (internal-timer-start-idle): New function, moved from C.
10766 * mpc.el (mpc-proc): Add `restart' argument.
10767 (mpc-proc-cmd): Use it.
10768 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10769 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10772 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10774 * progmodes/sh-script.el: Implement `sh-mode' own
10775 `add-log-current-defun-function' (bug#14112).
10776 (sh-current-defun-name): New function.
10777 (sh-mode): Use the function.
10779 2013-04-09 Bastien Guerry <bzg@gnu.org>
10781 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10783 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10785 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10787 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10790 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10792 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10795 2013-04-07 Leo Liu <sdl.web@gmail.com>
10797 * pcmpl-x.el: New file.
10799 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10801 Do not set x-display-name until X connection is established.
10802 This is needed to prevent from weird situation described at
10803 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10804 * frame.el (make-frame): Set x-display-name after call to
10805 window system initialization function, not before.
10806 * term/x-win.el (x-initialize-window-system): Add optional
10807 display argument and use it.
10808 * term/w32-win.el (w32-initialize-window-system):
10809 * term/ns-win.el (ns-initialize-window-system):
10810 * term/pc-win.el (msdos-initialize-window-system):
10811 Add compatible optional display argument.
10813 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10815 * files.el (normal-backup-enable-predicate): On MS-Windows and
10816 MS-DOS compare truenames of temporary-file-directory and of the
10817 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10818 don't fail comparison by compare-strings. Also, compare file
10819 names case-insensitively on MS-Windows and MS-DOS.
10821 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10823 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10824 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10826 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10828 * whitespace.el (whitespace-color-on, whitespace-color-off):
10829 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10831 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10833 * ispell.el (ispell-set-spellchecker-params):
10834 Really set `ispell-args' for all equivs.
10836 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10838 * ido.el (ido-completions): Use extra elements of ido-decorations
10840 (ido-decorations): Update docstring.
10842 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10844 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10845 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10846 nil during initialization, in order not to miss changes since the
10847 file was opened. (Bug#14140)
10849 2013-04-05 Leo Liu <sdl.web@gmail.com>
10851 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10853 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10855 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10857 2013-04-04 Glenn Morris <rgm@gnu.org>
10859 * electric.el (electric-pair-inhibit-predicate): Add :version.
10861 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10863 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10864 when a package is required several times (bug#14082).
10866 2013-04-04 Roland Winkler <winkler@gnu.org>
10868 * faces.el (read-face-name): Behave as promised by the docstring.
10869 Assume that arg default is a list of faces.
10870 (describe-face): Call read-face-name with list of default faces.
10872 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10874 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10875 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10876 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10878 (bookmark-exit-hook-internal): Save even if list is empty.
10880 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10882 * emacs-lisp/package.el (package-pinned-packages): New var.
10883 (package--add-to-archive-contents): Obey it (bug#14118).
10885 2013-04-03 Alan Mackenzie <acm@muc.de>
10887 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10888 Also adapt to the new values of element 7 of a parse state.
10890 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10891 parameter `not-in-delimiter'. Handle being inside comment opener.
10892 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10893 character in case we're typing a '*' after a '/'.
10894 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10895 instead by passing the parameter to c-state-pp-to-literal.
10897 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10898 for elt. 7 of a parse state.
10900 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10902 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10903 * international/latin1-disp.el, international/mule-util.el:
10904 * language/cyril-util.el, language/european.el, language/ind-util.el:
10905 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10906 * language/tibetan.el, language/viet-util.el:
10907 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10909 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10911 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10912 (electric-pair-post-self-insert-function): Use it.
10913 (electric-pair-default-inhibit): New function, extracted from
10914 electric-pair-post-self-insert-function.
10916 2013-03-31 Roland Winkler <winkler@gnu.org>
10918 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10920 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10922 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10924 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10926 Un-indent after "pass" and "return" statements (Bug#13888)
10927 * progmodes/python.el (python-indent-block-enders): New var.
10928 (python-indent-calculate-indentation): Use it.
10930 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10932 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10933 defun. Defining it as defalias could introduce too eager
10934 byte-compiler optimization. (Bug#14030)
10936 2013-03-30 Chong Yidong <cyd@gnu.org>
10938 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10940 2013-03-30 Leo Liu <sdl.web@gmail.com>
10942 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10943 (kmacro-execute-from-register): Pass the keyboard macro to
10944 kmacro-call-macro or repeating won't work correctly.
10946 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10948 * progmodes/subword.el: Back to using `forward-symbol'.
10950 * subr.el (forward-whitespace, forward-symbol)
10951 (forward-same-syntax): Move from thingatpt.el.
10953 2013-03-29 Leo Liu <sdl.web@gmail.com>
10955 * kmacro.el (kmacro-to-register): New command.
10956 (kmacro-execute-from-register): New function.
10957 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10959 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10961 * mpc.el: Use defvar-local and setq-local.
10962 (mpc--proc-connect): Connection failures are not bugs.
10963 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10964 (mpc-volume-map): Bind to the up-events.
10966 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10968 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10969 instead of `forward-symbol'.
10971 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10973 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10974 (edebug--recursive-edit): Use it.
10975 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10976 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10978 2013-03-28 Leo Liu <sdl.web@gmail.com>
10980 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10982 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10984 * facemenu.el (list-colors-callback): New defvar.
10985 (list-colors-redisplay): New function.
10986 (list-colors-display): Install list-colors-redisplay as the
10987 revert-buffer-function. (Bug#14063)
10989 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10991 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10992 and suffixes don't overlap (bug#14061).
10994 * case-table.el: Use lexical-binding.
10995 (case-table-get-table): New function.
10996 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10998 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11000 * progmodes/subword.el: Add `superword-mode' to do word motion
11001 over symbol_words (parallels and leverages `subword-mode' which
11002 does word motion inside MixedCaseWords).
11004 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11006 * eshell/em-unix.el: Move su and sudo to...
11007 * eshell/em-tramp.el: ...Eshell tramp module.
11009 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11011 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11012 Change return value to be a sexp. Delay `get-buffer' to after
11013 restoring the desktop (bug#13951).
11015 2013-03-26 Leo Liu <sdl.web@gmail.com>
11017 * register.el: Move semantic tag handling back to
11018 cedet/semantic/senator.el. (Bug#14052)
11020 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11022 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11023 into the prompt either (bug#13963).
11025 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11027 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11028 part of "(error-foo)".
11030 2013-03-24 Juri Linkov <juri@jurta.org>
11032 * replace.el (list-matching-lines-prefix-face): New defcustom.
11033 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11034 `occur-engine' if `face-differs-from-default-p' returns t.
11035 (occur-engine): Add `,' inside backquote construct to evaluate
11036 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11037 Pass `prefix-face' to the functions `occur-context-lines' and
11038 `occur-engine-add-prefix'.
11039 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11040 `prefix-face' and propertize the prefix with `prefix-face'.
11043 2013-03-24 Leo Liu <sdl.web@gmail.com>
11045 * nxml/rng-valid.el (rng-validate-while-idle)
11046 (rng-validate-quick-while-idle): Guard against deleted buffer.
11049 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11050 is the last entry in kill-buffer-hook.
11052 * files.el (kill-buffer-hook): Doc fix.
11054 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11056 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11057 Make it safe-local.
11059 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11061 2013-03-23 Leo Liu <sdl.web@gmail.com>
11063 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11066 * nxml/rng-valid.el (rng-validate-mode)
11067 (rng-after-change-function, rng-do-some-validation):
11068 * nxml/rng-maint.el (rng-validate-buffer):
11069 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11070 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11071 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11072 (nxml-extend-after-change-region): Use with-silent-modifications.
11074 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11077 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11078 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11079 timer-idle-list. (Bug#13999)
11081 2013-03-23 Juri Linkov <juri@jurta.org>
11083 * info.el (info-index-match): New face.
11084 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11085 main pattern and add text properties with the new face to matches
11086 in index entries relative to the beginning of the index entry.
11089 2013-03-21 Eric Ludlam <zappo@gnu.org>
11091 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11092 Inhibit read only while inserting objects.
11094 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11096 * progmodes/cfengine.el: Update docs to mention
11097 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11098 symbol motion. Remove "_" from the word syntax.
11100 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11102 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11103 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11105 2013-03-20 Juri Linkov <juri@jurta.org>
11107 * info.el (Info-next-reference-or-link)
11108 (Info-prev-reference-or-link): New functions.
11109 (Info-next-reference, Info-prev-reference): Use them.
11110 (Info-try-follow-nearest-node): Handle footnote navigation.
11111 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11113 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11115 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11116 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11118 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11120 Suppress unnecessary non-ASCII chatter during build process.
11121 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11122 (batch-skkdic-convert): Suppress most of the chatter.
11123 It's not needed so much now that machines are faster,
11124 and its non-ASCII component was confusing; see Dmitry Gutov in
11125 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11127 2013-03-20 Leo Liu <sdl.web@gmail.com>
11129 * ido.el (ido-chop): Fix bug#10994.
11131 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11133 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11135 (whitespace-color-on, whitespace-color-off):
11136 Use `font-lock-fontify-buffer' (Bug#13817).
11138 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11140 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11141 remapping in mode-line.
11142 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11144 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11146 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11147 value for `whitespace-line' face (Bug#13875).
11148 (whitespace-font-lock-keywords): Change description.
11149 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11150 the constructed keywords instead.
11151 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11153 2013-03-19 Leo Liu <sdl.web@gmail.com>
11155 * progmodes/compile.el (compilation-display-error): New command.
11156 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11159 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11161 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11163 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11165 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11167 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11169 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11171 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11172 * net/tramp-gvfs.el (top):
11173 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11174 (tramp-handle-shell-command): Use it.
11175 (tramp-dissect-file-name): Raise an error when hostname is a
11176 method name, and neither method nor user is specified.
11178 * net/trampver.el: Update release number.
11180 2013-03-18 Leo Liu <sdl.web@gmail.com>
11182 Make sure eldoc can be turned off properly.
11183 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11185 (eldoc-display-message-p): Revert last change.
11186 (eldoc-display-message-no-interference-p)
11187 (eldoc-print-current-symbol-info): Tweak.
11189 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11191 * doc-view.el (doc-view-new-window-function): Check the new window
11192 overlay's display property instead the char property of the
11193 buffer's first char. Use `with-selected-window' instead of
11194 `save-window-excursion' with `select-window'.
11195 (doc-view-document->bitmap): Check the current doc-view overlay's
11196 display property instead the char property of the buffer's first char.
11198 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11200 Automate the build of ja-dic.el (Bug#13984).
11201 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11202 from the input, rather than assume that it's been done for us by the
11203 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11204 the current date into a ja-dic.el comment, as that complicates
11205 regression testing.
11207 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11209 * whitespace.el: Fix double evaluation.
11210 (whitespace-space, whitespace-hspace, whitespace-tab)
11211 (whitespace-newline, whitespace-trailing, whitespace-line)
11212 (whitespace-space-before-tab, whitespace-indentation)
11213 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11215 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11216 (whitespace-color-on): Use a single font-lock-add-keywords call.
11217 Fix double-evaluation of face variables.
11219 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11221 * net/tramp-adb.el (tramp-adb-parse-device-names):
11222 Use `start-process' instead of `call-process'. Otherwise, the
11223 function might be blocked under MS Windows. (Bug#13299)
11225 2013-03-17 Leo Liu <sdl.web@gmail.com>
11227 Extend eldoc to display info in the mode-line. (Bug#13978)
11228 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11229 (eldoc-mode-line-string): New variable.
11230 (eldoc-minibuffer-message): New function.
11231 (eldoc-message-function): New variable.
11232 (eldoc-message): Use it.
11233 (eldoc-display-message-p)
11234 (eldoc-display-message-no-interference-p):
11235 Support eldoc-post-insert-mode.
11237 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11238 (eval-expression): Run it.
11240 2013-03-17 Roland Winkler <winkler@gnu.org>
11242 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11243 strings in the list of return values.
11245 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11247 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11248 radix before checking for HMS forms.
11250 2013-03-16 Leo Liu <sdl.web@gmail.com>
11252 * progmodes/scheme.el: Add indentation and font-locking for λ.
11255 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11257 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11258 token before point (bug#13942).
11260 2013-03-16 Leo Liu <sdl.web@gmail.com>
11262 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11264 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11266 * startup.el (command-line-normalize-file-name): Fix handling of
11267 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11268 <xfq.free@gmail.com> in
11269 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11271 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11273 Sync with Tramp 2.2.7.
11275 * net/trampver.el: Update release number.
11277 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11279 * doc-view.el: Fix bug#13887.
11280 (doc-view-insert-image): Don't modify overlay associated to
11281 non-live windows, and implement horizontal centering of image in
11282 case it's smaller than the window.
11283 (doc-view-new-window-function): Force redisplay of new windows on
11286 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11288 * saveplace.el (save-place-alist-to-file): Don't sort
11289 `save-place-alist', just pretty-print it (bug#13882).
11291 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11293 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11294 Check whether `default-file-name-coding-system' is bound.
11295 It isn't in XEmacs.
11297 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11299 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11300 backquotes for `obsolete' (bug#13929).
11302 * international/mule.el (find-auto-coding): Include file name in
11303 obsolescence warning (bug#13922).
11305 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11307 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11308 for CFEngine 3-specific indentation.
11309 (cfengine3-indent-line): Use it. Fix up category regex.
11310 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11312 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11314 * type-break.el (type-break-file-name):
11315 * textmodes/remember.el (remember-data-file):
11316 * strokes.el (strokes-file):
11317 * shadowfile.el (shadow-initialize):
11318 * saveplace.el (save-place-file):
11319 * ps-bdf.el (bdf-cache-file):
11320 * progmodes/idlwave.el (idlwave-config-directory):
11321 * net/quickurl.el (quickurl-url-file):
11322 * international/kkc.el (kkc-init-file-name):
11323 * ido.el (ido-save-directory-list-file):
11324 * emulation/viper.el (viper-custom-file-name):
11325 * emulation/vip.el (vip-startup-file):
11326 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11327 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11329 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11331 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11332 * language/thai-word.el: Switch to UTF-8.
11334 See ChangeLog.16 for earlier changes.
11336 ;; Local Variables:
11340 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11342 This file is part of GNU Emacs.
11344 GNU Emacs is free software: you can redistribute it and/or modify
11345 it under the terms of the GNU General Public License as published by
11346 the Free Software Foundation, either version 3 of the License, or
11347 (at your option) any later version.
11349 GNU Emacs is distributed in the hope that it will be useful,
11350 but WITHOUT ANY WARRANTY; without even the implied warranty of
11351 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11352 GNU General Public License for more details.
11354 You should have received a copy of the GNU General Public License
11355 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.