1 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
3 * calendar/todo-mode.el: New implementation of item insertion
4 commands and key bindings.
5 (todo-key-prompt): New face.
6 (todo-insert-item): New command.
7 (todo-insert-item--parameters): New defconst, replacing defvar
8 todo-insertion-commands-args-genlist.
9 (todo-insert-item--param-key-alist): New defconst, replacing
10 defvar todo-insertion-commands-arg-key-list.
11 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
12 (todo-insert-item--argsleft, todo-insert-item--apply-args)
13 (todo-insert-item--next-param): New functions.
14 (todo-insert-item--args, todo-insert-item--argleft)
15 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
17 (todo-key-bindings-t): Change binding of "i" from
18 todo-insertion-map to todo-insert-item.
19 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
20 (todo-insertion-command-name, todo-insertion-commands-names)
21 (todo-define-insertion-command, todo-insertion-commands)
22 (todo-insertion-key-bindings, todo-insertion-map): Remove.
24 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
26 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
27 (todo-toggle-item-highlighting): Use eval-and-compile instead of
29 (todo-move-category): Allow choosing a non-existing todo file to
30 move the category to, and create that file.
31 (todo-default-priority): New user option.
32 (todo-set-item-priority): Use it.
33 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
34 (desktop-restore-file-buffer): Declare.
35 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
36 (todo-modes-set-2): Locally set desktop-save-buffer to
37 todo-desktop-save-buffer.
38 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
39 (auto-mode-alist): Add autoload cookie.
41 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
43 * emacs-lisp/subr-x.el: Renamed from helpers.el.
44 helpers.el was a poor choice of name.
45 (string-remove-prefix): New function.
46 (string-remove-suffix): New function.
48 2013-12-20 Martin Rudalics <rudalics@gmx.at>
50 Fix assignment for new window total sizes.
51 * window.el (window--pixel-to-size): Remove function.
52 (window--pixel-to-total-1, window--pixel-to-total): Fix
53 calculation of new total sizes.
55 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
57 * comint.el (comint-output-filter): Fix rear-nonsticky property
58 placement (Bug#16010).
60 2013-12-20 Chong Yidong <cyd@gnu.org>
62 * faces.el (read-color): Minor fix for completion function.
64 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
66 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): New
68 (ruby-smie--indent-to-stmt-p): Use it.
69 (ruby-smie-rules): Revert the logic in the handling of `when'.
70 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
71 (ruby-deep-arglist, ruby-deep-indent-paren)
72 (ruby-deep-indent-paren-style): Update docstrings to note that the
73 vars don't have any effect with SMIE.
75 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
77 * calc/calc.el (calc-enter, calc-pop): Use the variable
78 `calc-context-sensitive-enter'.
80 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
82 * net/shr.el (shr-insert): Protect against infloops in degenerate
85 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
87 * progmodes/octave.el (octave): Add link to manual and octave
89 (octave-mode-menu): Link to octave-mode manual.
91 2013-12-20 Leo Liu <sdl.web@gmail.com>
93 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
94 insertion using skeleton-end-newline. (Bug#16138)
96 2013-12-20 Juri Linkov <juri@jurta.org>
98 * replace.el (occur-engine): Use `add-face-text-property'
99 to add the face property to matches and titles. (Bug#14645)
101 * hi-lock.el (hi-green): Use lighter color "light green" closer to
102 the palette of other hi-lock colors.
103 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
105 2013-12-19 Juri Linkov <juri@jurta.org>
107 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
108 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
109 (minibuffer-history-symbol): Move variable declaration closer to
112 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
115 2013-12-19 Juri Linkov <juri@jurta.org>
117 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
119 (log-edit-hook): Add it to :options. (Bug#16170)
121 2013-12-19 Juri Linkov <juri@jurta.org>
123 * simple.el (eval-expression-print-format): Don't check for
124 command names and the last command. Always display additional
125 formats of the integer result in the echo area, and insert them
126 to the current buffer only with a zero prefix arg.
127 Display character when char-displayable-p is non-nil.
128 (eval-expression): With a zero prefix arg, set `print-length' and
129 `print-level' to nil, and insert the integer values from
130 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
132 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
133 `eval-last-sexp-arg-internal'. Doc fix.
134 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
135 `eval-last-sexp-print-value'. Doc fix.
136 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
137 Set `print-length' and `print-level' to nil when arg is zero.
138 (eval-last-sexp): Doc fix.
139 (eval-defun-2): Print the integer values from
140 `eval-expression-print-format' at the end.
142 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
143 values from `eval-expression-print-format' at the end.
145 * ielm.el (ielm-eval-input): Print the integer
146 values from `eval-expression-print-format' at the end.
148 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
150 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
151 2013-12-11T19:01:44Z!tzz@lifelogs.com.
153 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
155 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
156 (hl-line-highlight, global-hl-line-highlight): Use it.
157 (hl-line-overlay): Use defvar-local.
159 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
161 * term/ns-win.el: Require dnd.
162 (global-map): Remove drag items.
163 (ns-insert-text, ns-set-foreground-at-mouse)
164 (ns-set-background-at-mouse):
165 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
166 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
169 2013-12-19 Glenn Morris <rgm@gnu.org>
171 * emacs-lisp/ert.el (ert-select-tests):
172 Fix string/symbol mixup. (Bug#16121)
174 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
176 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
177 keywords to their parent.
179 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
181 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
182 first arg to be a string (fixed dead code), or an operator symbol.
183 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
185 (ruby-smie-rules): Remove parent token check in the `.' clause, it
186 did nothing. Don't respond to `(:after ".")', it will be called
187 with :before anyway. Remove the ` @ ' rule, it didn't seem to
188 change anything. Only return indentation for binary operators
189 when they are hanging. De-dent opening paren when its parent is
190 `.', otherwise it looks bad when the dot is not at bol or eol
193 2013-12-19 Juri Linkov <juri@jurta.org>
195 * replace.el (query-replace-read-args): Split a non-negative arg
196 and a negative arg into separate elements.
197 (query-replace, query-replace-regexp, replace-string)
198 (replace-regexp): Add arg `backward'. Doc fix.
199 (replace-match-maybe-edit): When new arg `backward' is non-nil,
200 move point to the beginning of the match.
201 (replace-search, replace-highlight): Use new arg `backward'
202 to set the value of `isearch-forward'.
203 (perform-replace): Add arg `backward' and use it to perform
204 replacement backward. (Bug#14979)
206 * isearch.el (isearch-query-replace): Use a negative prefix arg
207 to call `perform-replace' with a non-nil arg `backward'.
209 2013-12-18 Juri Linkov <juri@jurta.org>
211 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
212 to the default list. Move `log-edit-show-files' to the end.
213 Add more available functions to options.
214 (log-edit): Move default specific settings to
215 `log-edit-insert-message-template'. Don't move point.
216 (log-edit-insert-message-template): New function.
217 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
220 2013-12-18 Juri Linkov <juri@jurta.org>
222 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
223 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
225 2013-12-18 Leo Liu <sdl.web@gmail.com>
227 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
229 2013-12-18 Eli Zaretskii <eliz@gnu.org>
231 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
232 formats for displaying file sizes when the -s switch is given.
233 Instead, compute a separate format for displaying the size in
234 blocks, which is displayed in addition to the "regular" size.
235 When -h is given in addition to -s, produce size in blocks in
236 human-readable form as well. (Bug#16179)
238 2013-12-18 Tassilo Horn <tsdh@gnu.org>
240 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
241 Reference tables with ~\ref{...} instead of only \ref{...}.
243 2013-12-18 Chong Yidong <cyd@gnu.org>
245 * cus-edit.el (custom-magic-alist): Fix "themed" description
248 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
249 is non-nil, do not create a new entry in the symbol's theme-value
250 or theme-face property; update theme-settings only (Bug#14664).
251 (custom-available-themes): Doc fix.
253 * cus-theme.el (custom-new-theme-mode-map): Add bindings
256 * replace.el (occur-engine): Avoid infloop (Bug#7593).
258 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
260 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
263 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
265 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
267 2013-12-18 Glenn Morris <rgm@gnu.org>
269 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
270 * cus-start.el (load-prefer-newer): New option.
272 2013-12-18 Le Wang <l26wang@gmail.com>
274 * comint.el (comint-previous-matching-input-from-input):
275 Retain point (Bug#13404).
277 2013-12-18 Chong Yidong <cyd@gnu.org>
279 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
281 2013-12-18 Glenn Morris <rgm@gnu.org>
283 * mail/emacsbug.el (report-emacs-bug):
284 Only mention enable-multibyte-characters if non-standard.
286 2013-12-17 Juri Linkov <juri@jurta.org>
288 * arc-mode.el (archive-extract-by-file): Check if directory exists
289 before deletion to not show irrelevant errors if it doesn't exist.
291 2013-12-17 Juri Linkov <juri@jurta.org>
293 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
296 * net/eww.el (browse-web): Add alias to `eww'.
297 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
298 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
300 * net/browse-url.el (browse-url-browser-function): Move `eww'
301 closer to similar functions.
303 * startup.el (fancy-startup-screen, fancy-about-screen):
304 Set browse-url-browser-function to eww-browse-url locally.
307 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
309 * window.el (window--pixel-to-total): Remove unused `mini' var.
310 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
311 (split-window): Remove unused `new' var.
312 (window--display-buffer): Remove unused `frame' and `delta' vars.
313 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
316 2013-12-17 Martin Rudalics <rudalics@gmx.at>
318 * dired.el (dired-mark-pop-up):
319 * register.el (register-preview): Don't bind
320 split-height-threshold here since it's now done in
321 display-buffer-below-selected.
323 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
325 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
326 xterm-rgb-convert-to-16bit.
327 (rxvt-register-default-colors): Standardize with
328 xterm-register-default-colors (Bug#14078).
330 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
332 * simple.el (kill-region): Pass mark first, then point, so that
333 kill-append works right (Bug#12819).
334 (copy-region-as-kill, kill-ring-save): Likewise.
336 2013-12-17 Leo Liu <sdl.web@gmail.com>
338 * net/rcirc.el (rcirc-add-face):
339 * eshell/em-prompt.el (eshell-emit-prompt):
340 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
343 2013-12-17 Chong Yidong <cyd@gnu.org>
345 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
346 Suggested by Xue Fuqiao.
348 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
350 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
352 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
354 * net/shr.el (shr-insert-document): Remove unused var
355 `shr-preliminary-table-render'.
356 (shr-rescale-image): Remove unused arg `force'.
357 (shr-put-image): Update calls accordingly.
358 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
360 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
362 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
363 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
364 :close-all, to see which indentation method to use (Bug#16116).
365 (smie-rules-function): Document the method :close-all.
367 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
369 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
371 * net/eww.el (eww-display-html): If we can't find the anchor we're
372 looking for, then go to point-min.
374 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
376 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
377 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
378 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
379 Expand dir too, in case it's relative.
381 2013-12-16 Juri Linkov <juri@jurta.org>
383 * desktop.el (desktop-auto-save-timeout): Change default to
384 `auto-save-timeout'. Doc fix.
385 (desktop-save): Skip the timestamp in desktop-saved-frameset
386 when checking for auto-save changes.
387 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
388 `desktop-auto-save' is called repeatedly by the idle timer.
389 (desktop-auto-save-set-timer): Replace `run-with-timer' with
390 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
393 2013-12-16 Juri Linkov <juri@jurta.org>
395 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
397 (isearch-pre-command-hook): Check `this-command' for symbolp.
399 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
401 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
403 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
405 * progmodes/cfengine.el (cfengine3--current-word): Remove.
406 (cfengine3--current-function): Bring in the current-function
407 functionality from `cfengine3--current-word'.
408 (cfengine3-completion-function): Bring in the
409 bounds-of-current-word functionality from
410 `cfengine3--current-word'.
412 2013-12-16 Martin Rudalics <rudalics@gmx.at>
414 * window.el (display-buffer-below-selected):
415 Bind split-height-threshold to 0 as suggested by Juri Linkov.
417 2013-12-16 Leo Liu <sdl.web@gmail.com>
419 * progmodes/compile.el (compile-goto-error): Do not push-mark.
420 Remove NOMSG arg and all uses changed.
422 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
424 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
425 (cua--deactivate-rectangle): Don't deactivate the mark.
426 (cua-set-rectangle-mark): Don't set mark-active since
427 cua--activate-rectangle already does it for us.
428 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
429 non-rectangular region.
431 * emulation/cua-base.el (cua-repeat-replace-region):
432 Use with-current-buffer.
434 * net/gnutls.el: Use cl-lib.
435 (gnutls-negotiate): `mapcan' -> cl-mapcan.
437 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
439 * emacs-lisp/package.el (package-built-in-p): Support both
440 built-in and the package.el converted package descriptions.
441 (package-show-package-list): Allow keywords.
442 (package-keyword-button-action): Use it instead of
443 `finder-list-matches'.
444 (package-menu-filter-interactive): Interactive filtering (by
446 (package-menu--generate): Support keywords and change keymappings
447 and headers when they are given.
448 (package--has-keyword-p): Helper function.
449 (package-menu--refresh): Use it.
450 (package--mapc): Helper function.
451 (package-all-keywords): Use it.
452 (package-menu-mode-map): Set up menu items and keybindings to
453 provide a filtering UI.
455 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
457 * net/gnutls.el (gnutls-verify-error): New defcustom to control
458 the behavior when a certificate fails validation. Defaults to
459 old behavior: never abort, just warn.
460 (gnutls-negotiate): Use it.
462 2013-12-14 Martin Rudalics <rudalics@gmx.at>
464 * window.el (display-buffer-below-selected): Never split window
465 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
467 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
469 * emacs-lisp/package.el (package--prepare-dependencies): New function.
470 (package-buffer-info): Use it (bug#15108).
472 * icomplete.el (icomplete-completions): Make sure the prefix is already
473 displayed elsewhere before hiding it.
475 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
477 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
478 open-paren tokens when preceded by a open-paren, too.
479 (ruby-smie-rules): Handle virtual indentation after open-paren
480 tokens specially. If there is code between it and eol, return the
481 column where is starts (Bug#16118).
483 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
485 * progmodes/cfengine.el: Fix `add-hook' doc.
486 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
487 (cfengine3--current-word): Fix parameters.
488 (cfengine3-make-syntax-cache): Simplify further.
489 (cfengine3-completion-function, cfengine3--current-function):
490 Use `assq' for symbols.
491 (cfengine3--current-function): Fix `cfengine3--current-word' call.
493 2013-12-13 Glenn Morris <rgm@gnu.org>
495 * loadup.el (load-path): Warn if site-load or site-init changes it.
496 No more need to reset it when bootstrapping.
498 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
500 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
501 locations for cf-promises.
502 (cfengine-mode-syntax-functions-regex): New caching variable.
503 (cfengine3-fallback-syntax): Fallback syntax for cases where
504 cf-promises doesn't run.
505 (cfengine3--current-word): Reimplement using
506 `cfengine-mode-syntax-functions-regex'.
507 (cfengine3-completion-function, cfengine3--current-function):
508 Use `cfengine3-make-syntax-cache' directly.
509 (cfengine3-clear-syntax-cache): New function.
510 (cfengine3-make-syntax-cache): Simplify and create
511 `cfengine-mode-syntax-functions-regex' on demand.
512 (cfengine3-format-function-docstring): Don't call
513 `cfengine3-make-syntax-cache' explicitly.
515 2013-12-13 Martin Rudalics <rudalics@gmx.at>
517 Fix windmove-find-other-window broken after pixelwise resizing
519 * windmove.el (windmove-other-window-loc): Revert change from
521 (windmove-find-other-window): Call window-in-direction.
522 * window.el (window-in-direction): New arguments SIGN, WRAP and
523 MINI to emulate original windmove-find-other-window behavior.
525 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
527 * simple.el (blink-matching--overlay): New variable.
528 (blink-matching-open): Instead of moving point, highlight the
529 matching paren with an overlay
530 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
532 * faces.el (paren-showing-faces, show-paren-match)
533 (show-paren-mismatch): Move from paren.el.
535 2013-12-13 Leo Liu <sdl.web@gmail.com>
537 * indent.el (indent-region): Disable progress reporter in
538 minibuffer. (Bug#16108)
540 * bindings.el (visual-order-cursor-movement): Fix version.
542 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
544 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
545 Also match after beginning of line.
546 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
547 files. Thanks to Russell Sim. (Bug#15378)
549 2013-12-13 Juri Linkov <juri@jurta.org>
551 * simple.el <Keypad support>: Remove key bindings duplicated
552 with bindings.el. (Bug#14397)
554 2013-12-13 Juri Linkov <juri@jurta.org>
556 * comint.el (comint-mode-map): Replace `delete-char' with
557 `delete-forward-char'. (Bug#16109)
559 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
561 * progmodes/python.el (python-indent-calculate-indentation):
562 Fix de-denters cornercase. (Bug#15731)
564 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
566 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
567 (advice--make): Pay attention to `depth'.
568 (advice--make-1): Don't autoload commands eagerly.
569 * emacs-lisp/elp.el (elp-instrument-function):
570 * emacs-lisp/trace.el (trace-function-internal):
571 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
573 * iswitchb.el (iswitchb-mode): Don't belittle ido.
575 2013-12-12 Eli Zaretskii <eliz@gnu.org>
577 * term/w32-win.el (w32-handle-dropped-file):
578 * startup.el (normal-top-level):
579 * net/browse-url.el (browse-url-file-url):
580 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
581 decode file names using 'utf-8' rather than
582 file-name-coding-system.
584 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
586 * progmodes/python.el (python-indent-context)
587 (python-indent-calculate-indentation): Fix auto-identation
588 behavior for comment blocks. (Bug#15916)
590 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
592 * progmodes/python.el (python-indent-calculate-indentation):
593 When determining indentation, don't treat "return", "pass", etc., as
594 operators when they are just string constituents. (Bug#15812)
596 2013-12-12 Juri Linkov <juri@jurta.org>
598 * uniquify.el (uniquify-buffer-name-style): Change default to
599 `post-forward-angle-brackets'.
601 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
602 `uniquify'. Change default to `post-forward-angle-brackets'.
604 2013-12-11 Glenn Morris <rgm@gnu.org>
606 * emacs-lisp/package.el (finder-list-matches):
607 Autoload rather than falsely declaring.
609 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
611 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
612 (eww-mode-map): Use them.
614 2013-12-11 Martin Rudalics <rudalics@gmx.at>
616 * window.el (display-buffer-in-side-window): Fix doc-string
619 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
621 * vc/vc-git.el: Silence byte-compiler warnings.
622 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
623 (log-edit-set-header): Declare.
625 2013-12-11 Eli Zaretskii <eliz@gnu.org>
627 * Makefile.in (custom-deps, finder-data): Run output file names
628 through unmsys--file-name. (Bug#16099)
630 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
632 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
633 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
635 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
636 instead of deleting the selection "by hand" (bug#16098).
637 Rely on insert-for-yank to yank rectangles.
638 (cua-highlight-region-shift-only): Mark obsolete.
639 (cua-mode): Don't enable/disable transient-mark-mode,
640 shift-select-mode (cua-mode works both with and without them), and
641 pc-selection-mode (obsolete).
642 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
643 (cua--deactivate-rectangle): Deactivate it.
645 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
646 (delete-selection-helper): Make sure yank starts at the top of the
648 (minibuffer-keyboard-quit): Use region-active-p.
650 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
652 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
653 to `delete' (bug#16109).
655 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
657 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
658 info manual and show keybindings and set `:group' keyword.
660 2013-12-11 Juri Linkov <juri@jurta.org>
662 * delsel.el (delete-active-region): Let-bind `this-command'
663 to prevent `kill-region' from changing its original value.
664 (delete-selection-helper): Handle `overwrite-mode' for the type
665 `kill' exactly the same way as for the type `t'.
666 (insert-char, quoted-insert, reindent-then-newline-and-indent):
667 Support more commands. (Bug#13312)
669 2013-12-11 Juri Linkov <juri@jurta.org>
671 * bindings.el: Map kp keys to non-kp keys systematically
672 with basic modifiers control, meta and shift. (Bug#14397)
674 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
676 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
677 "Close browser" menu items. Fix wrong function of "List
680 2013-12-11 Juri Linkov <juri@jurta.org>
682 * misearch.el (multi-isearch-buffers): Set the value of
683 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
684 arg of isearch-forward to t.
685 (multi-isearch-buffers-regexp): Set the value of
686 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
687 arg of isearch-forward-regexp to t.
688 (multi-isearch-files): Set the value of
689 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
690 arg of isearch-forward to t.
691 (multi-isearch-files-regexp): Set the value of
692 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
693 arg of isearch-forward-regexp to t. (Bug#16035)
695 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
696 arg of isearch-forward to t.
697 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
698 arg of isearch-forward-regexp to t.
699 (dired-isearch-filter-filenames): Remove unnecessary check for
700 `dired-isearch-filenames'.
702 * comint.el (comint-history-isearch-backward):
703 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
704 (comint-history-isearch-backward-regexp):
705 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
707 2013-12-10 Eli Zaretskii <eliz@gnu.org>
709 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
710 unmsys--file-name. (Bug#16099)
712 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
714 * emacs-lisp/package.el (package-keyword-button-action):
715 Remove finder.el require dependency.
717 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
719 * emacs-lisp/package.el: Require finder.el.
720 (describe-package-1): Add keyword buttons.
721 (package-make-button): New convenience function.
722 (package-keyword-button-action): Keyword button action using
723 `finder-list-matches'
725 2013-12-09 Eli Zaretskii <eliz@gnu.org>
727 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
730 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
732 * autorevert.el (auto-revert-notify-add-watch): Do not handle
735 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
737 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
738 after the end of a percent literal.
740 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
742 * progmodes/ruby-mode.el (ruby-forward-string): Document.
743 Handle caret-delimited strings (Bug#16079).
745 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
747 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
748 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
749 `ruby-parse-partial' (Bug#16078).
751 2013-12-09 Leo Liu <sdl.web@gmail.com>
753 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
755 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
757 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
758 (js-switch-indent-offset): New option.
759 (js--proper-indentation): Use it. And handle the case when
760 "default" is actually a key in an object literal.
761 (js--same-line): New function.
762 (js--multi-line-declaration-indentation): Use it.
763 (js--indent-in-array-comp, js--array-comp-indentation):
765 (js--proper-indentation): Use them, to handle array comprehension
768 2013-12-08 Leo Liu <sdl.web@gmail.com>
770 * progmodes/flymake.el (flymake-highlight-line): Re-write.
771 (flymake-make-overlay): Remove arg MOUSE-FACE.
772 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
774 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
776 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
778 (redisplay-highlight-region-function): Use it.
780 * emulation/cua-base.el (cua--explicit-region-start)
781 (cua--last-region-shifted): Remove.
782 (cua--deactivate): Use deactivate-mark.
783 (cua--pre-command-handler-1): Don't handle shift-selection.
784 (cua--post-command-handler-1): Don't change transient-mark-mode.
785 (cua--select-keymaps): Use region-active-p rather than
786 cua--explicit-region-start or cua--last-region-shifted.
787 (cua-mode): Enable shift-select-mode.
789 2013-12-08 Leo Liu <sdl.web@gmail.com>
791 * progmodes/flymake.el (flymake-popup-current-error-menu):
792 Rename from flymake-display-err-menu-for-current-line. Reimplement.
793 (flymake-posn-at-point-as-event, flymake-popup-menu)
794 (flymake-make-emacs-menu): Remove. (Bug#16077)
796 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
798 * rect.el (rectangle-mark-mode): Activate mark even if
799 transient-mark-mode is off (bug#16066).
800 (rectangle--highlight-for-redisplay): Fix boundary condition when point
801 is > mark and at bolp.
803 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
804 (region-extract-function): Use it.
805 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
806 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
808 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
809 kill-ring-save, kill-region, delete-char, delete-forward-char.
810 Ignore self-insert-iso.
812 * emulation/cua-gmrk.el (cua--init-global-mark):
813 Ignore `self-insert-iso'.
815 * emulation/cua-base.el (cua--prefix-copy-handler)
816 (cua--prefix-cut-handler): Rely on region-extract-function rather than
817 checking cua--rectangle.
818 (cua-delete-region): Use region-extract-function.
819 (cua-replace-region): Delete function.
820 (cua-copy-region, cua-cut-region): Obey region-extract-function.
821 (cua--pre-command-handler-1): Don't do the delete-selection thing.
822 (cua--self-insert-char-p): Ignore `self-insert-iso'.
823 (cua--init-keymaps): Don't remap delete-selection commands.
824 (cua-mode): Use delete-selection-mode instead of rolling our own
827 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
828 Obey region-extract-function.
830 Make registers and delete-selection-mode work on rectangles.
831 * register.el (describe-register-1): Don't modify the register's value.
832 (copy-to-register): Obey region-extract-function.
833 * delsel.el (delete-active-region): Obey region-extract-function.
835 2013-12-08 Leo Liu <sdl.web@gmail.com>
837 * progmodes/flymake.el (flymake, flymake-error-bitmap)
838 (flymake-warning-bitmap, flymake-fringe-indicator-position)
839 (flymake-compilation-prevents-syntax-check)
840 (flymake-start-syntax-check-on-newline)
841 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
842 (flymake-start-syntax-check-on-find-file, flymake-log-level)
843 (flymake-xml-program, flymake-master-file-dirs)
844 (flymake-master-file-count-limit)
845 (flymake-allowed-file-name-masks): Relocate.
846 (flymake-makehash, flymake-float-time)
847 (flymake-replace-regexp-in-string, flymake-split-string)
848 (flymake-get-temp-dir): Remove.
849 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
850 (flymake-current-row, flymake-selected-frame)
851 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
852 related functions. (Bug#16077)
854 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
856 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
858 2013-12-07 Tassilo Horn <tsdh@gnu.org>
860 * help-fns.el (describe-function-1): Use new advice-* functions
861 rather than old ad-* functions. Fix function type description and
862 source links for advised functions and subrs.
864 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
866 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
868 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
870 * progmodes/compile.el (compilation-start):
871 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
873 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
874 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
876 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
878 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
879 Touch up the last change.
881 2013-12-06 Leo Liu <sdl.web@gmail.com>
883 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
884 (inferior-octave-startup): Always use "octave> " for prompt.
885 (octave-goto-function-definition)
886 (octave-sync-function-file-names)
887 (octave-find-definition-default-filename): Remove redundant backquotes.
889 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
891 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
893 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
894 where appropriate already.
895 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
896 end of method names (Bug#15874).
898 2013-12-06 Juri Linkov <juri@jurta.org>
900 * isearch.el (isearch--saved-overriding-local-map):
901 New internal variable.
902 (isearch-mode): Set it to the initial value of
903 `overriding-terminal-local-map'.
904 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
905 with `isearch--saved-overriding-local-map'. (Bug#16035)
907 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
909 * progmodes/octave.el (inferior-octave-completion-table):
910 Turn back into function, use `completion-table-with-cache'
911 (Bug#11906). Update all references.
913 * minibuffer.el (completion-table-with-cache): New function.
915 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
917 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
919 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
921 * net/eww.el (eww-current-source): New variable to store page
923 (eww-display-html, eww-mode, eww-save-history)
924 (eww-restore-history): Use it.
925 (eww-view-source): New command to view page source.
926 Opportunistically uses `html-mode' to highlight the buffer.
927 (eww-mode-map): Install it.
929 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
931 * net/dbus.el (dbus-unregister-service)
932 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
934 (dbus-unregister-service): Skip :serial entries in
935 `dbus-registered-objects-table'.
936 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
938 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
940 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
941 around keywords with extra `split-string' argument.
943 2013-12-04 Martin Rudalics <rudalics@gmx.at>
945 * windmove.el (windmove-other-window-loc): Handle navigation
946 between windows (excluding the minibuffer window - Bug#16017).
948 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
950 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
951 in D-Bus type syntax.
952 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
953 preserve unibyte strings. (Bug#16048)
955 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
957 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
958 Call force-mode-line-update is the proper buffer (bug#16042).
960 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
962 * vc/log-edit.el (log-edit-add-new-comment): Rename to
963 `log-edit-remember-comment', make argument optional. Adjust all
965 (log-edit-mode): Add `log-edit-remember-comment' to
966 `kill-buffer-hook' locally.
967 (log-edit-kill-buffer): Don't remember comment explicitly since
968 the buffer is killed anyway.
970 2013-12-04 Juri Linkov <juri@jurta.org>
972 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
973 add-hook and remove-hook for multi-buffer search. (Bug#16035)
975 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
977 * notifications.el (notifications-close-notification): Call the
978 D-Bus method with ID being a `:uint32'. (Bug#16030)
980 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
982 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
984 2013-12-03 Juri Linkov <juri@jurta.org>
986 * progmodes/compile.el (compilation-start): Rename window alist
987 entry `no-display-ok' to `allow-no-window'.
989 * simple.el (shell-command): Add window alist entry
990 `allow-no-window' to `display-buffer'.
991 (async-shell-command): Doc fix.
993 * window.el (display-buffer-no-window): New action function.
994 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
996 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
998 * vc/log-edit.el (log-edit-set-header): Extract from
999 `log-edit-toggle-header'.
1000 (log-edit-extract-headers): Separate the summary, when extracted
1001 from header, from the rest of the message with an empty line.
1003 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1004 line, if present, to the Summary header.
1006 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1008 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1009 in current-buffer (bug#16029).
1011 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1013 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1014 (debugger-mode-map): Bind it.
1015 (debugger--backtrace-base): New function.
1016 (debugger-eval-expression): Use it.
1017 (debugger-frame-number): Skip local vars when present.
1018 (debugger--locals-visible-p, debugger--insert-locals)
1019 (debugger--show-locals, debugger--hide-locals): New functions.
1021 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1023 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1025 (tramp-get-remote-locale): New defun.
1026 (tramp-open-connection-setup-interactive-shell): Use it.
1028 2013-12-02 Leo Liu <sdl.web@gmail.com>
1030 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1032 * progmodes/sh-script.el (sh-shell-process):
1033 * progmodes/octave.el (inferior-octave-process-live-p):
1034 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1035 (gdb-inferior-io-sentinel):
1036 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1038 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1040 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1041 `save-selected-window' to `log-edit-hide-buf'. This makes
1042 `log-edit-show-files' idempotent.
1043 (log-edit-show-files): Mark the new window as dedicated.
1045 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1047 * vc/log-edit.el (log-edit-mode-map): Add binding for
1048 `log-edit-kill-biffer'.
1049 (log-edit-hide-buf): Add a FIXME comment.
1050 (log-edit-add-new-comment): New function, extracted from
1052 (log-edit-done, log-edit-add-to-changelog): Use it.
1053 (log-edit-kill-buffer): New command.
1055 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1057 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1058 instead of killing the buffer.
1060 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1062 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1064 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1066 * net/eww.el (eww-form-checkbox-selected-symbol)
1067 (eww-form-checkbox-symbol): New customizable variable.
1068 (eww-form-checkbox, eww-toggle-checkbox):
1069 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1071 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
1072 (shr--get-media-pref, shr--extract-best-source): New function.
1073 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1074 no :src tag was specified.
1076 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1077 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1078 Use \\` to match beginning of string instead of ^.
1079 (eww-browse-with-external-browser): Provide optional URL parameter.
1080 (eww-render): Set `eww-current-title' back to "".
1082 * net/shr.el (shr-tag-video): Display content for video if no
1083 poster is available.
1084 (shr-tag-audio): Add support for <audio> tag.
1086 * net/eww.el (eww-text-input-types): : New const.
1087 (eww-process-text-input): Treat input types in
1088 `eww-text-input-types' as text.
1090 * net/shr.el (shr-tag-table): Fix comment typo.
1092 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1094 * net/eww.el (eww-follow-link): New command to avoid reloading
1095 pages when we follow #target links (bug#15243).
1096 (eww-quit): Special mode buffers shouldn't query before exiting.
1098 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1100 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1103 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1105 * net/eww.el (eww-restore-history): Update the window title after
1106 moving in the history.
1107 (eww-current-dom): New variable used to save the current DOM.
1109 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1111 * vc/log-edit.el (log-edit-mode-map): Add binding for
1112 `log-edit-beginning-of-line'.
1113 (log-edit-setup-add-author): New user option.
1114 (log-edit-beginning-of-line): New command.
1115 (log-edit): Move major mode call above the contents setup so that
1116 the local variable values are already applied.
1117 (log-edit): Only insert "Author: " when
1118 `log-edit-setup-add-author' is non-nil.
1119 (log-edit): When SETUP is non-nil, position point after ": "
1120 instead of point-min.
1122 2013-12-01 Glenn Morris <rgm@gnu.org>
1124 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1126 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1128 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1129 redisplay to make sure the initial frame gets a chance to become
1130 visible. (Bug#16014)
1132 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1134 Support resizing frames and windows pixelwise.
1135 * cus-start.el (frame-resize-pixelwise)
1136 (window-resize-pixelwise): New entries.
1137 * emacs-lisp/debug.el (debug): Use window-total-height instead
1138 of window-total-size.
1139 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1140 * help.el (describe-bindings-internal): Call help-buffer
1141 (temp-buffer-max-width): New option.
1142 (resize-temp-buffer-window, help-window-setup)
1143 (with-help-window): Rewrite.
1144 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1146 * window.el (frame-char-size, window-min-pixel-height)
1147 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1148 (window-min-pixel-width, window-safe-min-pixel-size)
1149 (window-combination-p, window-safe-min-size)
1150 (window-resizable-p, window--size-to-pixel)
1151 (window--pixel-to-size, window--resize-apply-p): New functions.
1152 (window-safe-min-height): Fix doc-string.
1153 (window-size, window-min-size, window--min-size-1)
1154 (window-sizable, window-sizable-p, window--min-delta-1)
1155 (window-min-delta, window--max-delta-1, window-max-delta)
1156 (window--resizable, window--resizable-p, window-resizable)
1157 (window-full-height-p, window-full-width-p, window-at-side-p)
1158 (window--in-direction-2, window-in-direction)
1159 (window--resize-reset-1, window--resize-mini-window)
1160 (window-resize, window-resize-no-error)
1161 (window--resize-child-windows-normal)
1162 (window--resize-child-windows, window--resize-siblings)
1163 (window--resize-this-window, window--resize-root-window)
1164 (window--resize-root-window-vertically)
1165 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1166 (maximize-window, minimize-window, delete-window)
1167 (quit-restore-window, window-split-min-size, split-window)
1168 (balance-windows-2, balance-windows)
1169 (balance-windows-area-adjust, balance-windows-area)
1170 (window--state-get-1, window-state-get, window--state-put-1)
1171 (window--state-put-2, window-state-put)
1172 (display-buffer-record-window, window--display-buffer):
1173 Make functions handle pixelwise sizing of windows.
1174 (display-buffer--action-function-custom-type)
1175 (display-buffer-fallback-action):
1176 Add display-buffer-in-previous-window.
1177 (display-buffer-use-some-window): Resize window to height it had
1179 (fit-window-to-buffer-horizontally): New option.
1180 (fit-frame-to-buffer): Describe new values.
1181 (fit-frame-to-buffer-bottom-margin): Replace with
1182 fit-frame-to-buffer-margins.
1183 (window--sanitize-margin): New function.
1184 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1185 using window-text-pixel-size.
1187 2013-11-30 Glenn Morris <rgm@gnu.org>
1189 * emacs-lisp/bytecomp.el (byte-compile-form):
1190 Make the `interactive-only' warning like the `obsolete' one.
1191 * comint.el (comint-run):
1192 * files.el (insert-file-literally, insert-file):
1193 * replace.el (replace-string, replace-regexp):
1194 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1195 (goto-line, insert-buffer, next-line, previous-line):
1196 Tweak `interactive-only' spec.
1198 Stop keeping (most) generated cedet grammar files in the repository.
1199 * Makefile.in (semantic): New.
1200 (compile-main): Depend on semantic.
1202 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1204 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1205 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1207 * uniquify.el (uniquify-buffer-name-style): Change default.
1209 * loadup.el: Preload "uniquify".
1211 * time.el (display-time-update): Update all mode lines (bug#15999).
1213 * electric.el (electric-indent-mode): Enable by default.
1214 * loadup.el: Preload "electric".
1216 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1218 * emacs-lisp/helpers.el (string-empty-p): New function.
1219 (string-blank-p): New function.
1221 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1223 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1226 2013-11-29 Andreas Politz <politza@fh-trier.de>
1227 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1228 allow non-lambda lists as functions.
1229 (imenu--in-alist): Don't recurse into non-subalists.
1230 (imenu): Don't pass function itself as an argument (Bug#14029).
1232 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1234 * progmodes/python.el (python-mode-map): Remove binding for ":".
1235 (python-indent-electric-colon): Remove command.
1236 (python-indent-post-self-insert-function): Integrate the previous code
1237 of python-indent-electric-colon. Make it conditional on
1238 electric-indent-mode.
1239 (python-mode): Add ?: to electric-indent-chars.
1240 Move python-indent-post-self-insert-function to the end of
1241 post-self-insert-hook.
1243 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1245 * doc-view.el (doc-view-goto-page): Update mode-line.
1247 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1249 2013-11-27 Glenn Morris <rgm@gnu.org>
1251 * international/charprop.el, international/uni-bidi.el:
1252 * international/uni-category.el, international/uni-combining.el:
1253 * international/uni-comment.el, international/uni-decimal.el:
1254 * international/uni-decomposition.el, international/uni-digit.el:
1255 * international/uni-lowercase.el, international/uni-mirrored.el:
1256 * international/uni-name.el, international/uni-numeric.el:
1257 * international/uni-old-name.el, international/uni-titlecase.el:
1258 * international/uni-uppercase.el:
1259 Remove generated files from VCS repository.
1261 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1263 * filenotify.el (file-notify-add-watch): Don't special-case
1264 w32notify when computing the directory to watch.
1266 2013-11-27 Glenn Morris <rgm@gnu.org>
1268 Make bootstrap without generated uni-*.el files possible again.
1269 * loadup.el: Update command-line-args checking for unidata-gen.
1270 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1271 * composite.el, international/characters.el:
1272 Handle unicode tables being undefined.
1274 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1275 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1276 (compile-main): Depend on leim rule.
1278 * loadup.el: Move leim-list.el to leim/ subdirectory.
1279 * startup.el (normal-top-level): No more leim directory.
1280 * international/ja-dic-cnv.el (skkdic-convert):
1281 Disable version-control and autoloads in output files.
1282 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1283 Disable version-control and autoloads in output files.
1284 * leim/quail: Move here from ../leim.
1285 * leim/quail/hangul.el (hangul-input-method-activate):
1286 Add autoload cookie.
1287 (generated-autoload-load-name): Set file-local value.
1288 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1289 (generated-autoload-load-name): Set file-local value.
1291 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1293 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1294 (eww-add-bookmark): ask confirmation when add to bookmarks
1295 (eww-quit): ask confirmation before quitting eww
1297 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1299 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1300 reading output from Diff on MS-Windows and MS-DOS.
1302 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1304 * emacs-lisp/helpers.el (string-reverse): New function.
1306 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1308 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1309 names on MS Windows, like "/[::1]:".
1311 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1314 2013-11-26 Glenn Morris <rgm@gnu.org>
1316 * progmodes/python.el (python-indent-guess-indent-offset):
1317 Avoid corner-case error. (Bug#15975)
1319 Preload leim-list.el. (Bug#4789)
1320 * loadup.el: Load leim-list.el when found.
1321 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1323 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1325 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1327 * emacs-lisp/helpers.el (string-join): New function.
1329 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1331 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1332 Mark as obsolete and replace it with a symbol property.
1333 (byte-compile-form): Use new 'interactive-only property.
1334 * comint.el, files.el, replace.el, simple.el:
1335 Apply new 'interactive-only properly.
1337 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1339 * window.el (display-buffer-at-bottom): Make sure that
1340 split-window-sensibly creates the new window on bottom
1343 2013-11-23 David Kastrup <dak@gnu.org>
1345 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1346 on the conflict markers when available.
1347 (smerge--get-marker): New function.
1348 (smerge-end-re, smerge-base-re): Add subgroup.
1350 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1352 * frame.el (handle-focus-in, handle-focus-out): Add missing
1355 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1357 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1358 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1360 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1362 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1363 (gomoku--last-pos): New var.
1364 (gomoku--intangible-chars): New const.
1365 (gomoku--intangible): New function.
1366 (gomoku-mode): Use it. Derive from special-mode.
1367 (gomoku-move-up): Adjust line count.
1368 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1369 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1370 Simplify accordingly.
1372 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1373 Remove blink-cursor code.
1374 (blink-cursor-timer-function, blink-cursor-suspend):
1375 Don't special-case GUIs.
1376 (blink-cursor-mode): Use focus-in/out-hook.
1378 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1380 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1381 work when annotation is invisible (Bug#13886).
1383 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1385 * json.el (json-alist-p): Only return non-nil if the alist has
1386 simple keys (Bug#13518).
1388 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1390 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1391 when control-statement is the first statement in a buffer (Bug#15956).
1393 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1395 * imenu.el (imenu-generic-skip-comments-and-strings):
1396 New option (Bug#15560).
1397 (imenu--generic-function): Use it.
1399 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1401 * minibuffer.el (completion--in-region-1): Scroll the correct
1404 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1406 * emacs-lisp/helpers.el: Add some string helpers.
1407 (string-trim-left): Removes leading whitespace.
1408 (string-trim-right): Removes trailing whitespace.
1409 (string-trim): Removes leading and trailing whitespace.
1411 * subr.el (string-suffix-p): New function.
1413 2013-11-23 Glenn Morris <rgm@gnu.org>
1415 * progmodes/python.el (python-shell-send-file):
1416 Add option to delete file when done. (Bug#15647)
1417 (python-shell-send-string, python-shell-send-region): Use it.
1419 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1421 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1422 to set buffer-read-only to t, never to nil. (Bug#15938)
1424 * textmodes/tex-mode.el (latex-noindent-environments):
1425 Add safe-local-variable property. (Bug#15936)
1427 2013-11-23 Glenn Morris <rgm@gnu.org>
1429 * textmodes/enriched.el (enriched-mode): Doc fix.
1430 * emacs-lisp/authors.el (authors-renamed-files-alist):
1431 Add enriched.doc -> enriched.txt.
1433 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1435 2013-11-22 Leo Liu <sdl.web@gmail.com>
1437 * progmodes/octave.el (inferior-octave-startup): Spit out error
1440 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1442 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1445 (ruby-encoding-magic-comment-style): Add :version.
1447 2013-11-22 Leo Liu <sdl.web@gmail.com>
1449 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1451 (octave-help-mode): Adapt to change to help-mode-finish to use
1452 derived-mode-p on 2013-09-17.
1453 (inferior-octave-prompt): Also match octave-gui.
1454 (octave-kill-process): Don't ask twice. (Bug#10564)
1456 2013-11-22 Leo Liu <sdl.web@gmail.com>
1458 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1459 (inferior-octave-startup, inferior-octave-check-process)
1460 (inferior-octave-track-window-width-change)
1461 (octave-completion-at-point, octave-eldoc-function): Use it.
1462 (octave-kill-process): Provide confirmation. (Bug#10564)
1464 2013-11-21 Leo Liu <sdl.web@gmail.com>
1466 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1467 Fix obsolete variable comment-use-global-state.
1469 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1471 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1472 Add `octave-source-file'.
1473 (octave-source-file): New function. (Bug#15935)
1475 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1477 * net/eww.el (eww-local-regex): New variable.
1478 (eww): Use it to detect localhost and similar.
1480 2013-11-21 Leo Liu <sdl.web@gmail.com>
1482 Add completion for command `ag'.
1483 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1484 (pcomplete/ag): New function.
1485 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1487 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1489 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1491 (make-obsolete): Remove interactive spec.
1493 2013-11-21 Glenn Morris <rgm@gnu.org>
1495 * startup.el (command-line-1): Use path-separator with -L.
1497 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1499 * emacs-lisp/package.el (describe-package-1): Add package archive
1502 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1504 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1505 Change default to "# encoding: %s" to differentiate it from the
1506 default Ruby encoding comment template.
1508 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1510 * ses.el (ses-mode): Doc fix. (Bug#14748)
1512 2013-11-20 Leo Liu <sdl.web@gmail.com>
1514 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1516 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1518 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1519 when rebase or bisect are in progress.
1521 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1523 * filenotify.el (file-notify-add-watch): Doc fix.
1525 2013-11-19 Leo Liu <sdl.web@gmail.com>
1527 * obsolete/rcompile.el: Mark obsolete.
1529 * progmodes/compile.el (compilation-start)
1530 (compilation-goto-locus, compilation-find-file):
1531 Pass no-display-ok and handle nil value from display-buffer.
1534 * window.el (display-buffer-alist, display-buffer): Document the
1535 new parameter no-display-ok. Return either a window or nil
1536 but never a non-window value.
1538 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1540 * electric.el (electric-indent-mode-map): Remove.
1541 (electric-indent-mode): Change the global-map instead (bug#15915).
1543 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1546 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1548 * emacs-lisp/nadvice.el (remove-function): Align with
1549 add-function's behavior.
1551 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1552 (gdb--string-regexp): New constant.
1553 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1554 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1555 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1557 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1558 Adjust use accordingly.
1559 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1561 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1563 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1564 interpolation curlies (Bug#15914).
1566 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1568 * calc/calc.el (calc-context-sensitive-enter): New variable.
1569 (calc-enter): Use `calc-context-sensitive-enter'.
1571 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1573 * progmodes/cfengine.el: Version bump.
1574 (cfengine-cf-promises): New defcustom to locate cf-promises.
1575 (cfengine3-vartypes): Add new "data" type.
1576 (cfengine3--current-word): New function to get current name-like
1578 (cfengine3--current-function): New function to look up a CFEngine
1579 function's definition.
1580 (cfengine3-format-function-docstring): New function.
1581 (cfengine3-make-syntax-cache): New function.
1582 (cfengine3-documentation-function): New function: ElDoc glue.
1583 (cfengine3-completion-function): New function: completion glue.
1584 (cfengine3-mode): Set `compile-command',
1585 `eldoc-documentation-function', and add to
1586 `completion-at-point-functions'.
1588 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1590 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1591 `tramp-current-connection'.
1593 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1595 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1596 nil/self/true/false with "end of symbol".
1598 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1600 * subr.el (version-regexp-alist): Fix a typo.
1602 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1604 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1605 "en_US.utf8" and "LC_CTYPE" to "".
1606 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1607 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1609 2013-11-15 Leo Liu <sdl.web@gmail.com>
1611 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1613 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1615 * progmodes/gud.el (ctl-x-map):
1616 Remove C-x SPC binding. (Bug#12342)
1617 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1619 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1621 * subr.el (version-regexp-alist):
1622 Recognize hg, svn and darcs versions as snapshot versions.
1624 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1625 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1626 (ruby--encoding-comment-required-p): Extract from
1627 `ruby-mode-set-encoding'.
1628 (ruby-mode-set-encoding): Add the ability to always insert an
1629 utf-8 encoding comment. Fix and simplify coding comment update
1632 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1634 * net/tramp-gvfs.el (top): Run init code only when
1635 `tramp-gvfs-enabled' is not nil.
1636 (tramp-gvfs-enabled): Check also :system bus.
1638 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1640 Sync with upstream verilog-mode revision 78e66ba.
1641 * progmodes/verilog-mode.el (verilog-end-of-defun)
1642 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1643 (verilog-get-end-of-defun): Remove unused argument.
1644 (verilog-comment-depth): Remove unused local `e'.
1645 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1646 Don't pass arg to verilog-get-end-of-defun.
1648 2013-11-14 Glenn Morris <rgm@gnu.org>
1650 * obsolete/assoc.el (aget): Prefix dynamic variable.
1652 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1654 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1656 * widget.el, hfy-cmap.el: Remove bogus package version number.
1658 2013-11-13 Glenn Morris <rgm@gnu.org>
1660 * replace.el (replace-eval-replacement):
1661 Try to give more helpful error message. (Bug#15836)
1663 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1664 (archive-7z-update): Avoid custom type mismatches.
1666 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1668 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1670 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1671 address can be empty.
1673 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1674 Accept nil SWITCHES.
1675 (tramp-gvfs-handle-write-region): Implement APPEND.
1677 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1679 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1680 binary "|" operator and closing block args delimiter.
1681 Remove FIXME comment referring to Ruby 1.8-only syntax.
1682 (ruby-smie--implicit-semi-p): Not after "|" operator.
1683 (ruby-smie--closing-pipe-p): New function.
1684 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1685 (ruby-smie-rules): Indent after "|".
1687 2013-11-12 Glenn Morris <rgm@gnu.org>
1689 * ps-print.el (ps-face-attribute-list):
1690 Handle anonymous faces. (Bug#15827)
1692 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1694 * window.el (display-buffer-other-frame): Fix doc-string.
1697 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1699 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1701 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1703 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1704 (tramp-sh-handle-file-local-copy): Don't write a message when
1705 saving temporary files.
1707 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1708 both directories are remote.
1709 (tramp-smb-handle-directory-files): Do not return double entries.
1710 Do not expand full file names.
1711 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1712 (tramp-smb-handle-write-region): Implement APPEND.
1713 (tramp-smb-get-stat-capability): Fix a stupid bug.
1715 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1717 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1719 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1721 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1722 throwing error over malformed let/let* (bug#15814).
1724 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1726 * iswitchb.el (iswitchb-mode): Mark obsolete.
1728 2013-11-11 Glenn Morris <rgm@gnu.org>
1730 * international/uni-bidi.el, international/uni-category.el:
1731 * international/uni-name.el, international/uni-numeric.el:
1732 Regenerate for Unicode 6.3.0.
1734 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1736 * net/tramp.el (tramp-methods):
1737 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1738 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1740 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1742 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1743 Force highlighting text after Summary keyword in doc face for rpm.
1745 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1747 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1748 available and the word has no wildcards, append one to the grep pattern.
1749 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1750 (ispell-complete-word): Call `ispell-lookup-words' with the value
1751 independent of `ispell-look-p'.
1753 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1755 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1757 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1760 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1762 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1763 (ruby-font-lock-keywords): Use backquote.
1765 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1767 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1768 (ruby-smie--backward-token): Only consider full-string matches.
1770 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1772 * faces.el (describe-face): Add distant-foreground.
1774 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1776 * progmodes/ruby-mode.el: Improve encoding comment handling.
1777 (ruby-encoding-magic-comment-style): New option.
1778 (ruby-custom-encoding-magic-comment-template): New option.
1779 (ruby--insert-coding-comment, ruby--detect-encoding):
1780 New functions extracted from `ruby-mode-set-encoding'.
1781 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1782 to control the style of the auto-inserted encoding comment.
1784 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1786 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1787 Use `smie-backward-sexp' with token argument.
1789 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1791 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1792 Remove instrumentation code.
1794 2013-11-08 Glenn Morris <rgm@gnu.org>
1796 * progmodes/autoconf.el (autoconf-mode):
1797 Tweak comment-start-skip. (Bug#15822)
1799 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1801 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1802 at bobp (bug#15826).
1803 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1805 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1807 * man.el (Man-start-calling): New macro, extracted from
1808 Man-getpage-in-background.
1809 (Man-getpage-in-background): Use it.
1810 (Man-update-manpage): New command.
1811 (Man-mode-map): Bind it.
1813 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1815 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1816 of "and", "or", "&&" and "||".
1817 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1818 argument. Prohibit opening curly brace because it could only be a
1819 block opener in that position.
1820 (ruby-smie--forward-token, ruby-smie--backward-token):
1821 Separate "|" from "&" or "*" going after it. That can happen in block
1823 (ruby-smie--indent-to-stmt): New function, seeks the end of
1824 previous statement or beginning of buffer.
1825 (ruby-smie-rules): Use it.
1826 (ruby-smie-rules): Check if there's a ":" before a curly block
1827 opener candidate; if there is, it's a hash.
1829 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1831 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1832 (cl--block-wrapper): Fix last accidental change.
1834 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1836 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1837 Instrument, in order to hunt failure on hydra.
1839 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1841 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1842 malformed bindings form (bug#15814).
1844 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1846 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1847 "." compared to " @ ". This incidentally fixes some indentation
1849 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1850 (ruby-smie-grammar): New tokens: "and" and "or".
1851 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1852 Exclude "and" and "or". Remove "do" in order to work around token
1854 (ruby-smie-rules): Add all infix tokens. Handle the case of
1855 beginning-of-buffer.
1857 2013-11-06 Glenn Morris <rgm@gnu.org>
1859 * Makefile.in (setwins_almost, setwins_for_subdirs):
1860 Avoid accidental matches.
1862 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1864 * menu-bar.el (popup-menu): Use key-binding.
1866 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1868 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1869 menus, support also the menus produced by minor modes.
1872 2013-11-06 Leo Liu <sdl.web@gmail.com>
1874 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1875 DISTANCE to bound the search. All uses changed. (Bug#15808)
1877 2013-11-06 Glenn Morris <rgm@gnu.org>
1879 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1880 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1881 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1883 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1885 * electric.el (electric-indent-just-newline): New command.
1886 (electric-indent-mode-map): New keymap.
1887 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1888 Re-add :group which weren't redundant.
1890 * electric.el (electric-indent-local-mode): New minor mode.
1891 (electric-indent-functions-without-reindent): New var.
1892 (electric-indent-post-self-insert-function): Use it.
1893 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1895 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1897 * international/quail.el (quail-help): Be more explicit about the
1898 meaning of the labels shown on the keys. (Bug#15800)
1900 * startup.el (normal-top-level): Load the subdirs.el files before
1901 setting the locale environment. (Bug#15805)
1903 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1905 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1906 via arguments so as to get the right ones (bug#15418).
1908 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1910 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1912 Fix problems found while writing a test suite.
1914 * net/tramp-compat.el (tramp-compat-load): New defun.
1915 * net/tramp.el (tramp-handle-load): Use it.
1917 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1918 "(numberp ok-if-already-exists)" correctly.
1920 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1922 * international/characters.el (glyphless-char-display-control):
1925 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1927 * progmodes/python.el (python-mode):
1928 * progmodes/scheme.el (scheme-mode):
1929 * progmodes/prolog.el (prolog-mode):
1930 * progmodes/ruby-mode.el (ruby-mode):
1931 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1932 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1934 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1936 * rect.el (rectangle--highlight-for-redisplay):
1937 * emacs-lisp/smie.el (smie--next-indent-change):
1938 Use buffer-chars-modified-tick.
1940 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1942 * electric.el (electric-indent-post-self-insert-function):
1943 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1945 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1947 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1949 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1951 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1954 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1956 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1958 * progmodes/python.el: Fix up last change.
1959 (python-shell--save-temp-file): New function.
1960 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1961 `string' comes from the current buffer.
1962 (python-shell-send-string-no-output): Remove `msg' arg.
1963 (python--use-fake-loc): New var.
1964 (python-shell-buffer-substring): Obey it. Try to compensate for the
1965 extra coding line added by python-shell--save-temp-file.
1966 (python-shell-send-region): Use python-shell--save-temp-file and
1967 python-shell-send-file directly. Add `nomain' argument.
1968 (python-shell-send-buffer): Use python-shell-send-region.
1969 (python-electric-pair-string-delimiter): New function.
1970 (python-mode): Use it.
1972 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1974 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1975 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1976 environment and decoding all of the default-directory's to here
1978 (command-line): Decode also argv[0].
1980 * loadup.el: Error out if default-directory is a multibyte string
1981 when we are dumping.
1983 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1985 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1987 * emacs-lisp/package.el (package-menu-mode)
1988 (package-menu--print-info, package-menu--archive-predicate):
1989 Add Archive column to package list.
1991 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1993 Fix problems found while writing a test suite.
1995 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1996 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1997 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1998 to nil when running original file name handler. Otherwise,
1999 there are problems with constructs like "$$FOO".
2001 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2004 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2006 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2008 * subr.el (version<, version<=, version=):
2009 Update docstrings with information for snapshot versions.
2011 * helpers.el: New library for misc helper functions.
2012 (hash-table-keys): New function returning a list of hash keys.
2013 (hash-table-values): New function returning a list of hash values.
2015 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2017 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2018 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2020 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2022 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2023 checking whether point is after a 1-letter word.
2025 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2027 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2028 Don't infloop when expanding region over `multiline' syntax-type that
2029 begins a line (bug#15778).
2031 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2033 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2034 Make it into a proper minor mode.
2035 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2036 (rectangle-mark-mode-map): New keymap.
2037 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2039 2013-11-04 Glenn Morris <rgm@gnu.org>
2041 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2043 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2045 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2046 (ruby-smie-rules): Use smie-rule-parent instead.
2048 * emacs-lisp/smie.el (smie-rule-parent): Always call
2049 smie-indent-virtual rather than only for hanging tokens.
2050 (smie--next-indent-change): New helper command.
2052 2013-11-03 Glenn Morris <rgm@gnu.org>
2054 * Makefile.in (abs_srcdir): Remove.
2055 (emacs): Unset EMACSLOADPATH.
2057 2013-11-02 Glenn Morris <rgm@gnu.org>
2059 * Makefile.in (EMACS): Use a relative filename.
2060 (abs_top_builddir): Remove.
2061 (custom-deps, finder-data, autoloads): Use --chdir.
2063 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2065 Use relative filenames in TAGS files.
2066 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2067 (lisptagsfiles4, TAGS): Use relative file names.
2068 (TAGS-LISP): Remove.
2069 (maintainer-clean): No more TAGS-LISP file.
2071 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2072 (lisptagsfiles4): Use absolute filenames again.
2073 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2074 Remove all *loaddefs files, not just the first. Remove esh-groups.
2075 (maintainer-clean): Delete TAGS, TAGS-LISP.
2077 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2079 * emacs-lisp/package.el (package-version-join):
2080 Recognize snapshot versions.
2082 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2084 * subr.el (version-regexp-alist): Add support for snapshot versions.
2086 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2088 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2089 New function, replacement for `smie-rule-parent' for when we want to
2090 skip over our direct parent if it's an assignment token..
2091 (ruby-smie-rules): Use it.
2093 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2095 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2096 unconditionally. Remove now unnecessary forward declarations.
2097 Remove XEmacs-specific setup.
2098 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2099 (ruby-font-lock-syntactic-keywords)
2100 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2101 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2102 (ruby-here-doc-end-syntax): Remove.
2103 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2104 defined as function.
2106 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2108 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2110 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2112 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2113 table and abbrev table, `define-derived-mode' does that for us
2116 2013-11-01 Glenn Morris <rgm@gnu.org>
2118 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2119 files is atomic for some time, so no parallel compilation issues).
2121 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2123 * faces.el (face-x-resources): Add :distant-foreground.
2124 (region): Use :distant-foreground for gtk and ns.
2126 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2128 Allow multiple bibliographies when BibLaTeX is used rather than
2130 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2131 (reftex-locate-bibliography-files): Us it.
2133 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2135 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2136 allow comments in pbm files.
2138 * term/w32-win.el (dynamic-library-alist): Support newer versions
2139 of libjpeg starting with v7: look only for the DLL from the
2140 version against which Emacs was built.
2141 Support versions of libpng beyond 1.4.x.
2142 Support libtiff v4.x.
2144 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2146 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2147 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2149 (ruby-deep-arglist): Add property :type.
2151 2013-10-31 Glenn Morris <rgm@gnu.org>
2153 * Makefile.in (custom-deps, finder-data): No need to setq the target
2154 variables, we are in the right directory and the defaults work fine.
2156 2013-10-30 Glenn Morris <rgm@gnu.org>
2158 * Makefile.in (autoloads): Do not use abs_lisp.
2160 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2161 `newline' does not respect `standard-output', so use `princ'.
2163 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2165 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2166 * buff-menu.el (Buffer-menu--unmark): New function.
2167 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2169 2013-10-30 Glenn Morris <rgm@gnu.org>
2171 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2173 * emacs-lisp/package.el (lm-homepage): Declare.
2175 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2178 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2180 * Makefile.in (finder-data, autoloads, update-subdirs)
2181 (compile-main, compile-clean, compile-always, bootstrap-clean):
2182 Check return value of cd.
2183 (compile-calc): Remove.
2185 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2187 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2189 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2190 (byte-compile-and-folded): New function.
2191 (=, <, >, <=, >=): Use it.
2193 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2194 (path-separator, null-device, buffer-file-coding-system)
2195 (lpr-headers-switches): Check system-type before modifying them.
2196 (find-buffer-file-type-coding-system): Mark obsolete.
2197 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2198 find-file-not-found-set-buffer-file-coding-system.
2199 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2200 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2201 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2202 (w32-direct-print-region-helper, w32-direct-print-region-function)
2203 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2204 * startup.el (normal-top-level-add-subdirs-to-load-path):
2205 * ps-print.el (ps-print-region-function):
2206 * lpr.el (print-region-function): Use new name.
2208 * subr.el (custom-declare-variable-early): Remove function.
2209 (custom-declare-variable-list): Remove var.
2210 (error, user-error): Remove `while' loop.
2211 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2212 (user-emacs-directory-warning, locate-user-emacs-file):
2214 * simple.el (read-quoted-char-radix, read-quoted-char):
2215 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2217 * custom.el (custom-declare-variable-list): Don't process
2218 custom-declare-variable-list.
2220 * progmodes/python.el (python-shell-get-buffer): New function.
2221 (python-shell-get-process): Use it.
2222 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2223 Python which encoding was used. Don't split-string since we only care
2224 about the first line. Return the temp-file, if applicable.
2225 (python-shell-send-region): Tell compile.el how to turn locations in
2226 the temp-file into locations in the source buffer.
2228 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2230 * subr.el (undefined): Add missing behavior from the C code for
2233 * rect.el: Use lexical-binding. Add new rectangular region support.
2234 (rectangle-mark): New command.
2235 (rectangle--region): New var.
2236 (deactivate-mark-hook): Reset rectangle--region.
2237 (rectangle--extract-region, rectangle--insert-for-yank)
2238 (rectangle--highlight-for-redisplay)
2239 (rectangle--unhighlight-for-redisplay): New functions.
2240 (region-extract-function, redisplay-unhighlight-region-function)
2241 (redisplay-highlight-region-function): Use them to handle
2243 * simple.el (region-extract-function): New var.
2244 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2245 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2246 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2247 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2248 (redisplay-unhighlight-region-function)
2249 (redisplay-highlight-region-function): New vars.
2250 (redisplay--update-region-highlight): New function.
2251 (pre-redisplay-function): Use it.
2252 (exchange-point-and-mark): Don't deactivate the mark before
2253 reactivate-it anyway.
2254 * comint.el (comint-kill-region): Remove yank-handler argument.
2255 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2256 (delete-char): Remove property, since it's now part of their
2258 (self-insert-iso): Remove property since this command doesn't exist.
2260 * emacs-lisp/package.el (package--download-one-archive)
2261 (describe-package-1): Don't query the user about final newline.
2263 2013-10-29 Daniel Colascione <dancol@dancol.org>
2265 * net/tramp.el (tramp-methods): Document new functionality.
2266 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2267 tramp-hostname-checker if method provides one instead of scanning
2268 argument list for "%h" to decide hostname acceptability.
2270 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2272 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2273 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2274 Handle COPY-CONTENTS. (Bug#15737)
2276 2013-10-28 Daiki Ueno <ueno@gnu.org>
2279 (epa-file-cache-passphrase-for-symmetric-encryption):
2280 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2282 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2284 * image.el (defimage):
2285 (image-load-path): Doc fixes.
2287 2013-10-27 Alan Mackenzie <acm@muc.de>
2289 Indent statements in macros following "##" correctly.
2290 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2291 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2293 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2295 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2297 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2299 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2300 after `=' is probably a new expression.
2302 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2304 * man.el (man-imenu-title): New option.
2305 (Man-mode-map): Add menu. (Bug#15722)
2306 (Man-mode): Add imenu to menu.
2308 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2310 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2311 specific in what the first arg can be: a non-keyword word,
2312 string/regexp/percent literal opener, opening paren, or unary
2313 operator followed directly by word.
2315 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2317 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2318 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2319 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2320 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2321 Remove vars, they do not apply any more.
2322 (prolog-mode-abbrev-table): Remove redundant declaration.
2323 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2324 (prolog-use-smie): Remove.
2325 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2326 supported by prolog-electric-if-then-else-flag.
2327 (prolog-mode-variables, prolog-menu): Use setq-local.
2328 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2329 Remove binding to `Backspace' since this key doesn't exist anyway.
2330 Remove bindings for electric self-inserting keys.
2331 (prog-mode): Assume it's defined.
2332 (prolog-post-self-insert): New function.
2333 (prolog-mode): Use it.
2334 (prolog-indent-line, prolog-indent-level)
2335 (prolog-find-indent-of-matching-paren)
2336 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2337 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2338 (prolog-goto-next-paren, prolog-in-string-or-comment)
2339 (prolog-tokenize, prolog-inside-mline-comment)
2340 (prolog-find-start-of-mline-comment): Remove functions.
2341 (prolog-find-unmatched-paren, prolog-clause-end)
2342 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2343 (prolog-electric--if-then-else): Rename from
2344 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2345 (prolog-tokenize-searchkey): Remove const.
2346 (prolog-clause-info): Use forward-sexp.
2347 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2348 (prolog-electric-if-then-else): Remove commands.
2349 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2350 for use in post-self-insert-hook.
2351 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2352 for use in post-self-insert-hook.
2353 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2354 for use in post-self-insert-hook.
2355 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2356 adapt it for use in post-self-insert-hook.
2358 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2360 * emacs-lisp/ert.el (ert-run-tests-interactively):
2361 Use `completing-read'. (Bug#9756)
2363 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2365 * simple.el (line-move): Call line-move-1 instead of
2366 line-move-visual when the current window hscroll is zero, but
2367 temporary-goal-column indicates we will need to hscroll as result
2368 of the movement. (Bug#15712)
2370 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2372 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2373 capitalization. Use :visible instead of :active.
2374 Fix `ruby-indent-exp' reference. Add menu items for the generic
2375 commands that are used with SMIE.
2376 (ruby-do-end-to-brace): Insert space after `{'.
2378 2013-10-25 John Anthony <john@jo.hnanthony.com>
2380 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2382 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2384 2013-10-25 Glenn Morris <rgm@gnu.org>
2386 * vc/vc.el (vc-print-log): Don't use a working revision unless
2387 one was explicitly specified. (Bug#15322)
2389 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2391 * subr.el (add-to-list): Preserve return value in compiler-macro
2394 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2396 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2397 result. Ask user to retry using '-all' flag. (Bug#15701)
2399 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2401 * emacs-lisp/smie.el: New smie-config system.
2402 (smie-config): New defcustom.
2403 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2404 (smie-config-guess, smie-config-save): New commands.
2405 (smie-config--mode-local, smie-config--buffer-local)
2406 (smie-config--trace, smie-config--modefuns): New vars.
2407 (smie-config--advice, smie-config--mode-hook)
2408 (smie-config--setter, smie-config-local, smie-config--get-trace)
2409 (smie-config--guess-value, smie-config--guess): New functions.
2410 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2411 text properties. Treat "string fence" syntax like string syntax.
2413 * progmodes/sh-script.el (sh-use-smie): Change default.
2414 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2415 (sh-var-value): Simplify by CSE.
2416 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2417 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2419 (sh-guess-basic-offset): Use cl-incf.
2420 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2422 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2424 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2427 2013-10-24 Glenn Morris <rgm@gnu.org>
2429 * Makefile.in (abs_top_srcdir): Remove.
2430 (update-subdirs): Use relative path to update-subdirs.
2432 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2434 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2435 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2436 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2437 Call unmsys--file-name before expand-file-name, not after it.
2439 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2441 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2442 (ert-test-skipped): New error.
2443 (ert-skip, ert-stats-skipped): New defuns.
2444 (ert--skip-unless): New macro.
2445 (ert-test-skipped): New struct.
2446 (ert--run-test-debugger, ert-test-result-type-p)
2447 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2448 (ert--stats-set-test-and-result, ert-char-for-test-result)
2449 (ert-string-for-test-result, ert-run-tests-batch)
2450 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2451 Handle skipped tests. (Bug#9803)
2453 2013-10-24 Glenn Morris <rgm@gnu.org>
2455 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2457 * Makefile.in (abs_top_srcdir): New, set by configure.
2458 (update-subdirs): Correct build-aux location.
2460 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2462 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2463 value, whether we could auto-deduce `backend', or not.
2465 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2466 with parameters" example. Simplify the "is it block or is it
2467 hash" check, but also make it more thorough.
2469 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2471 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2473 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2475 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2478 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2481 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2483 * progmodes/compile.el (compilation-directory-matcher)
2484 (compilation-page-delimiter):
2485 Support GNU Make-4.0 directory quoting. (Bug#15678)
2487 2013-10-23 Leo Liu <sdl.web@gmail.com>
2489 * ido.el (ido-tidy): Handle read-only text.
2491 2013-10-23 Glenn Morris <rgm@gnu.org>
2493 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2494 (emacs, compile, compile-always):
2495 Quote entities that might contain whitespace.
2496 (custom-deps, finder-data, autoloads): Use abs_lisp.
2497 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2498 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2499 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2501 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2503 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2504 Use `following-char'.
2506 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2508 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2509 * progmodes/ruby-mode.el (ruby-smie-rules):
2510 Remove corresponding workaround. Fix indentation rule of ";" so it
2511 also applies when ";" is the parent.
2513 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2515 * frame.el (display-screens, display-pixel-height)
2516 (display-pixel-width, display-mm-width, display-backing-store)
2517 (display-save-under, display-planes, display-color-cells)
2518 (display-visual-class, display-monitor-attributes-list):
2519 Mention the optional ‘display’ argument in doc strings.
2521 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2523 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2524 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2526 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2528 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2529 TODO. Add "." after " @ ".
2530 (ruby-smie--at-dot-call): New function. Checks if point at method
2531 call with explicit target.
2532 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2533 to the method name tokens when it precedes them.
2534 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2535 (ruby-smie-rules): Add rule for indentation before and after "."
2538 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2540 * textmodes/remember.el (remember-diary-extract-entries):
2543 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2546 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2548 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2549 (ruby-smie--implicit-semi-p): Add new operator chars.
2551 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2553 (ruby-smie--args-separator-p): Check that there's no newline
2554 between method call and its arguments.
2556 2013-10-20 Alan Mackenzie <acm@muc.de>
2558 Allow comma separated lists after Java "implements".
2560 * progmodes/cc-engine.el (c-backward-over-enum-header):
2562 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2563 from a "disallowed" list in enum fontification.
2565 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2567 * startup.el (default-frame-background-mode): Remove unused defvar.
2569 * progmodes/verilog-mode.el (verilog-mode): Don't set
2570 comment-indent-function globally.
2572 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2574 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2575 Move Info menu item creation to ns-win.el.
2577 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2580 * menu-bar.el: Move GNUStep specific menus...
2582 * term/ns-win.el (ns-initialize-window-system): ... to here.
2584 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2586 * simple.el (newline): Only run post-self-insert-hook when
2587 called interactively.
2589 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2591 * icomplete.el (icomplete-with-completion-tables): Add :version.
2593 2013-10-19 Alan Mackenzie <acm@muc.de>
2595 Fix fontification bugs with constructors and const.
2597 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2598 CASE 2) Remove the check for the absence of a suffix construct
2599 after a function declaration with only types (no identifiers) in
2600 the parentheses. Also, accept a function declaration with just a
2601 type inside the parentheses, if this type can be positively
2602 recognised as such, or if a prefix keyword like "explicit" nails
2603 down the construct as a declaration.
2605 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2607 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2608 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2609 the problem whereby selecting a menu item that leads to a
2610 minibuffer prompt moves the cursor out of the minibuffer window,
2611 making it hard to type at the prompt. Suggested by Stefan Monnier
2612 <monnier@iro.umontreal.ca>.
2614 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2616 * menu-bar.el: Don't make Services menu.
2618 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2620 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2621 (ffap-alist): Use ffap-c++-mode for c++-mode.
2622 (ffap-c++-path): New variable.
2623 (ffap-c++-mode): New function.
2625 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2627 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2629 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2631 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2632 introduced on 2013-09-08, which results in an infinite loop
2633 requesting a password.
2635 2013-10-18 Glenn Morris <rgm@gnu.org>
2637 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2639 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2641 Sync with upstream verilog-mode revision 1a6ecec7.
2642 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2643 (verilog-mode-release-date): Remove.
2644 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2645 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2646 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2647 (verilog-auto-tieoff-ignore-regexp)
2648 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2649 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2650 (verilog-signals-with, verilog-dir-cache-preserving)
2651 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2653 (verilog-case-fold): New option, to control case folding in
2654 regexp searches, bug597.
2655 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2656 (verilog-string-match-fold, verilog-in-paren-count)
2657 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2658 (verilog-at-close-struct-p): New functions.
2659 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2660 (verilog-forward-sexp, verilog-set-auto-endcomments):
2661 (verilog-leap-to-case-head): Handle "unique0" case.
2662 (verilog-in-constraint-re): New constant.
2663 (verilog-keywords, verilog-type-font-keywords):
2664 Add some SystemVerilog 1800-2012 keywords.
2665 (verilog-label-be): Remove unimplemented argument, bug669.
2666 (verilog-batch-execute-func): When batch expanding clear
2667 create-lockfiles to prevent spurious user locks when a file ends
2669 (verilog-calculate-indent, verilog-calc-1)
2670 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2671 (verilog-do-indent): Fix indentation of nested constraints
2673 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2674 (verilog-auto-inst-param): Use verilog-string-match-fold.
2675 (verilog-read-inst-module-matcher):
2676 Fix AUTOINST on gate primitives with #1.
2677 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2678 Reads all user-defined typed variables.
2679 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2680 (verilog-signals-matching-regexp)
2681 (verilog-signals-not-matching-regexp, verilog-auto):
2682 Respect verilog-case-fold.
2683 (verilog-diff-report): Fix line count.
2684 (verilog-auto-assign-modport): Remove unused local `modi'.
2685 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2686 better handle multidimensional arrays.
2687 Fix packed array ports misadding bit index in AUTOINST, bug637.
2688 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2689 to not double-declare existing outputs and inputs, respectively.
2690 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2691 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2692 (verilog-sk-uvm-component): New skeleton.
2693 (verilog-submit-bug-report): Add verilog-case-fold,
2694 remove verilog-mode-release-date.
2696 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2698 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2701 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2703 * textmodes/remember.el (remember): set buffer-offer-save in
2704 remember buffers (bug#13566).
2706 2013-10-18 Daniel Colascione <dancol@dancol.org>
2708 When evaluating forms in ielm, direct standard output to ielm
2709 buffer. Add new ielm-return-for-effect command. Remove trailing
2710 whitespace throughout.
2712 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2713 (ielm-return-for-effect): New command.
2714 (ielm-send-input): Accept optional `for-effect' parameter.
2715 (ielm-eval-input): Accept optional `for-effect' parameter.
2716 Bind `standard-output' to stream we create using
2717 `ielm-standard-output-impl'. Suppress printing result when
2719 (ielm-standard-output-impl): New function.
2720 (inferior-emacs-lisp-mode): Explain new features in documentation.
2722 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2726 * net/tramp.el (tramp-debug-message): Do not check for connection
2728 (tramp-message): Use "vector" connection property.
2730 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2731 (tramp-equal-remote, tramp-eshell-directory-change)
2732 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2733 (tramp-adb-handle-rename-file)
2734 * net/tramp-cmds.el (tramp-list-remote-buffers)
2735 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2736 * net/tramp-compat.el (tramp-compat-process-running-p)
2737 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2738 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2739 (tramp-gvfs-handle-rename-file)
2740 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2741 (tramp-set-file-uid-gid)
2742 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2743 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2746 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2747 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2748 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2749 (tramp-gw-open-network-stream): Suppress unrelated traces.
2751 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2752 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2753 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2754 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2755 connection property.
2757 * net/tramp-cache.el (top): Suppress traces when reading
2760 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2761 Refactor common code. Improve debug message.
2762 (tramp-maybe-open-connection)
2763 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2764 connection buffer too early.
2766 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2767 from `tramp-smb-actions-with-acl'.
2768 (tramp-smb-actions-set-acl): New defconst.
2769 (tramp-smb-handle-copy-directory)
2770 (tramp-smb-action-get-acl): New defun, renamed from
2771 `tramp-smb-action-with-acl'.
2772 (tramp-smb-action-set-acl): New defun.
2773 (tramp-smb-handle-set-file-acl): Rewrite.
2775 2013-10-17 Glenn Morris <rgm@gnu.org>
2777 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2779 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2781 * skeleton.el (skeleton-newline): Remove.
2782 (skeleton-internal-1): Use (insert "\n") instead.
2784 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2787 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2788 forward-sexp-function while we redo its job (bug#15613).
2790 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2792 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2793 represented by lists.
2795 2013-10-16 Glenn Morris <rgm@gnu.org>
2797 * tmm.el (tmm--history): New dynamic variable.
2798 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2800 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2802 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2803 (tramp-smb-errors): Add error messages.
2804 (tramp-smb-actions-with-acl): New defconst.
2805 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2806 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2807 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2808 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2809 (tramp-smb-get-stat-capability): Fix tests.
2811 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2813 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2816 2013-10-16 Glenn Morris <rgm@gnu.org>
2818 * ansi-color.el (ansi-color-drop-regexp):
2819 Add 1J, 1K, 2K. (Bug#15617)
2821 * files.el (hack-local-variables--warned-lexical): New.
2822 (hack-local-variables):
2823 Warn about misplaced lexical-binding. (Bug#15616)
2825 * net/eww.el (eww-render): Always set eww-current-url,
2826 and update header line. (Bug#15622)
2827 (eww-display-html): ... Rather than just doing it here.
2829 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2831 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2832 menu navigations commands.
2834 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2836 * progmodes/subword.el (subword-capitalize): Be careful when
2837 the search for [[:alpha:]] fails (bug#15580).
2839 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2841 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2842 to commands that scroll the menu.
2844 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2846 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2847 Handle methods ending with `?' and `!'.
2849 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2851 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2852 `japanese-cp932' to `cp932' to fix the problem where saving a
2853 source file written in Shift_JIS twice would end up having
2854 `coding: japanese-cp932' which Ruby could not recognize.
2855 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2856 in `ruby-encoding-map'.
2857 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2858 doesn't need to be explicitly declared in magic comment.
2859 (ruby-encoding-map): Add type declaration for better customize UI.
2861 2013-10-13 Glenn Morris <rgm@gnu.org>
2863 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2864 Occur buffers are read-only. http://bugs.debian.org/720775
2866 * emacs-lisp/authors.el (authors-fixed-entries):
2867 Comment out old alpha stuff.
2869 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2871 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2872 to `after-save-hook' instead of `before-save-hook'.
2873 (ruby-mode-set-encoding): Use the value of coding system used to
2874 write the file. Call `basic-save-buffer-1' after modifying the
2877 2013-10-13 Alan Mackenzie <acm@muc.de>
2879 Fix indentation/fontification of Java enum with
2880 "implements"/generic.
2882 * progmodes/cc-engine.el (c-backward-over-enum-header):
2883 Extracted from the three other places and enhanced to handle generics.
2884 (c-inside-bracelist-p): Uses new function above.
2885 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2887 (c-font-lock-enum-tail): Uses new function above.
2889 2013-10-13 Kenichi Handa <handa@gnu.org>
2891 * international/mule-cmds.el (select-safe-coding-system): Remove a
2892 superfluous condition in chekcing whether a coding system is safe
2895 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2897 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2899 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2901 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2903 2013-10-13 Glenn Morris <rgm@gnu.org>
2905 * menu-bar.el (menu-bar-update-buffers):
2906 Unify Buffers menu prompt string. (Bug#15576)
2908 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2910 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2912 (authors-fixed-entries): Use accented form of name.
2914 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2916 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2917 method calls (bug#15594).
2918 (ruby-smie--args-separator-p): New function.
2919 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2920 recognize paren-free method calls.
2922 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2923 internals of universal-argument.
2925 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2927 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2928 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2929 dropped menu on second mouse click on the menu bar.
2931 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2933 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2934 (explicit-shell-file-name): Declare.
2935 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2936 (sh-completion-at-point-function): New function.
2938 (sh-smie--keyword-p): Remove unused argument.
2939 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2941 (sh-set-shell): Always setup SMIE, even if we use the
2942 old indentation code.
2944 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2946 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2948 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2949 predicate would return nil are almost non-existent.
2950 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2952 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2953 cache also after commands that modify the buffer but don't move
2956 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2958 * env.el (substitute-env-in-file-name): New function.
2959 (substitute-env-vars): Extend the meaning of the optional arg.
2961 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2963 * term/w32-win.el (dynamic-library-alist): Define separate lists
2964 of GIF DLLs for versions before and after 5.0.0 of giflib.
2967 2013-10-10 João Távora <joaotavora@gmail.com>
2969 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2970 not locked, use last revision and current source as
2971 defaults. (Bug#15569)
2973 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2975 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2978 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2980 * window.el (pop-to-buffer-same-window): Fix doc-string.
2983 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2985 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2987 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2989 * calendar/icalendar.el (icalendar-import-file):
2990 Fix interactive spec. (Bug#15482)
2992 2013-10-10 Glenn Morris <rgm@gnu.org>
2994 * desktop.el (desktop-save): Default to saving in .emacs.d,
2995 since PWD is no longer in desktop-path by default. (Bug#15319)
2997 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2998 now that text mode has a menu with the same entry.
2999 (menu-bar-text-mode-auto-fill): Remove now unused func.
3000 * textmodes/text-mode.el (text-mode-map):
3001 Use auto-fill help text from menu-bar.el.
3003 2013-10-10 John Anthony <john@jo.hnanthony.com>
3005 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3007 2013-10-09 Juri Linkov <juri@jurta.org>
3009 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3010 instead of this-command-keys. Add universal-argument-more and
3011 universal-argument-minus to the list of prefix commands. (Bug#15568)
3013 2013-10-09 Glenn Morris <rgm@gnu.org>
3015 * vc/vc-svn.el (vc-svn-create-repo):
3016 Expand paths in file://... url. (Bug#15446)
3018 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3020 (authors): Remove unused local variables.
3022 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3024 * profiler.el: Create a more coherent calltree from partial backtraces.
3025 (profiler-format): Hide the tail with `invisible' so that C-s can still
3026 find the hidden elements.
3027 (profiler-calltree-depth): Don't recurse so enthusiastically.
3028 (profiler-function-equal): New hash-table-test.
3029 (profiler-calltree-build-unified): New function.
3030 (profiler-calltree-build): Use it.
3031 (profiler-report-make-name-part): Indent the calltree less.
3032 (profiler-report-mode): Add visibility specs for profiler-format.
3033 (profiler-report-expand-entry, profiler-report-toggle-entry):
3034 Expand the whole subtree when provided with a prefix arg.
3036 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3038 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3040 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3041 hanging iuwu-mod token.
3042 (ruby-smie--forward-token): Do not include a dot after a token in
3044 (ruby-smie--backward-token): Likewise.
3046 2013-10-08 Juri Linkov <juri@jurta.org>
3048 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3049 to isearch-other-control-char.
3050 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3051 and isearch-post-command-hook to post-command-hook.
3052 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3053 and isearch-post-command-hook from post-command-hook.
3054 (isearch-unread-key-sequence)
3055 (isearch-reread-key-sequence-naturally)
3056 (isearch-lookup-scroll-key, isearch-other-control-char)
3057 (isearch-other-meta-char): Remove functions.
3058 (isearch-pre-command-hook, isearch-post-command-hook):
3059 New functions based on isearch-other-meta-char rewritten
3060 relying on the new behavior of overriding-terminal-local-map
3061 that does not replace the local keymaps any more. (Bug#15200)
3063 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3065 Support menus on text-mode terminals.
3066 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3069 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3071 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3072 Move here from mouse.el.
3073 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3075 (tty-menu-navigation-map): New map for TTY menu navigation.
3077 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3079 * frame.el (display-mouse-p): Report text-mode mouse as available
3081 (display-popup-menus-p): Report availability if mouse is
3082 available; don't condition on window-system.
3084 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3085 (tty-menu-selected-face): New faces.
3087 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3089 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3090 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3091 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3092 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3094 (lisp-mode-variables): New `elisp' argument.
3095 (emacs-lisp-mode): Use it.
3096 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3097 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3099 * indent.el: Use lexical-binding.
3100 (indent-region): Add progress reporter.
3101 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3103 (indent--next-tab-stop): New function to implement this behavior.
3104 (tab-to-tab-stop, move-to-tab-stop): Use it.
3106 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3108 * indent.el (indent-rigidly--current-indentation): New function.
3109 (indent-rigidly-map): New var.
3110 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3112 2013-10-08 Bastien Guerry <bzg@gnu.org>
3114 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3116 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3118 * progmodes/perl-mode.el: Use lexical-binding.
3119 Remove redundant :group args.
3120 (perl-nochange): Change default to be closer to other major modes's
3122 (perl-indent-line): Don't consider text on current line as a
3123 valid beginning of function from which to indent.
3125 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3126 with more than one argument (bug#15538).
3128 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3130 * vc/pcvs.el: Use lexical-binding.
3131 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3132 environment of `eval'.
3133 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3134 than a list of expressions. Adjust callers.
3135 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3137 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3139 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3140 case of the dot in a chained method call being on the following line.
3142 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3144 * electric.el (electric-indent-inhibit): New var.
3145 (electric-indent-post-self-insert-function): Use it.
3146 * progmodes/python.el (python-mode): Set it.
3148 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3151 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3153 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3154 (css-mode): Use electric-indent-chars.
3156 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3157 (font-lock-beg, font-lock-end): Move before first use.
3158 (nxml-mode): Use syntax-propertize-function.
3159 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3160 (nxml-extend-after-change-region): Remove.
3161 * nxml/xmltok.el: Use lexical-binding.
3162 (xmltok-save): Use `declare'.
3163 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3164 * nxml/nxml-util.el: Use lexical-binding.
3165 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3167 * nxml/nxml-ns.el: Use lexical-binding.
3168 (nxml-ns-save): Use `declare'.
3169 (nxml-ns-prefixes-for): Avoid add-to-list.
3170 * nxml/rng-match.el: Use lexical-binding.
3171 (rng--ipattern): Use cl-defstruct.
3172 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3173 (rng-cons-group-after, rng-subst-group-after)
3174 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3175 Use closures instead of `(lambda...).
3177 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3179 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3182 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3183 Use `tramp-handle-insert-file-contents'.
3184 (tramp-gvfs-handle-insert-file-contents): Remove function.
3186 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3187 Use `save-restriction' in order to keep markers.
3189 * net/trampver.el: Update release number.
3191 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3193 * progmodes/compile.el (compilation-parse-errors):
3194 Use compilation--put-prop.
3195 (compilation--ensure-parse): Check compilation-multiline.
3197 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3199 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3202 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3204 * progmodes/ruby-mode.el: Fix recently added tests.
3205 (ruby-smie-grammar): Add - and +.
3206 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3207 (ruby-smie--backward-id): New functions.
3208 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3209 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3212 2013-10-07 Leo Liu <sdl.web@gmail.com>
3214 * register.el (register-preview-delay)
3215 (register-preview-functions): New variables.
3216 (register-read-with-preview, register-preview)
3217 (register-describe-oneline): New functions.
3218 (point-to-register, window-configuration-to-register)
3219 (frame-configuration-to-register, jump-to-register)
3220 (number-to-register, view-register, insert-register)
3221 (copy-to-register, append-to-register, prepend-to-register)
3222 (copy-rectangle-to-register): Use register-read-with-preview to
3223 read register. (Bug#15525)
3225 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3227 * net/network-stream.el (network-stream-open-starttls): Don't add
3228 --insecure if it's already present, because that gnutls-cli
3229 rejects getting that parameter twice.
3231 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3233 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3236 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3238 * newcomment.el (comment-use-global-state): Change default value
3239 to t, mark obsolete (Bug#15251).
3240 (comment-beginning): In addition to `comment-to-syntax', check the
3241 value of `comment-use-global-state'.
3243 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3245 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3246 (ruby-comment-column): Follow the global default, by default.
3247 (ruby-smie-grammar): Add assignment syntax.
3248 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3249 open-paren, a comma, or a \.
3250 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3251 and line continuations.
3252 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3253 followed by implicit semi-colons. Add rule for string concatenation
3254 and for indentation at BOB.
3255 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3257 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3258 calling next-sexp, since next-token may have skipped chars which
3259 next-sexp doesn't know should be skipped!
3261 2013-10-05 Leo Liu <sdl.web@gmail.com>
3263 * progmodes/octave.el (octave-send-region):
3264 Call compilation-forget-errors.
3266 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3268 * vc/vc-svn.el (vc-svn-find-admin-dir):
3269 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3270 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3271 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3272 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3274 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3276 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3278 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3280 * subr.el (read-passwd): Hide chars even when called within a context
3281 where after-change-functions is disabled (bug#15501).
3282 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3283 until we removed ourself from overriding-terminal-local-map.
3285 2013-10-04 Leo Liu <sdl.web@gmail.com>
3287 * progmodes/octave.el (inferior-octave-mode):
3288 Call compilation-forget-errors.
3290 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3292 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3294 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3296 * net/secrets.el (secrets-create-collection): Add optional
3297 argument ALIAS. Use proper Label keyword. Append ALIAS as
3298 dbus-call-method argument. (Bug#15516)
3300 2013-10-04 Leo Liu <sdl.web@gmail.com>
3302 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3303 (inferior-octave-compilation-font-lock-keywords): New variables.
3304 (compilation-error-regexp-alist)
3305 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3306 (inferior-octave-mode): Use compilation-shell-minor-mode.
3308 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3310 * minibuffer.el (completion--replace): Be careful that `end' might be
3313 2013-10-03 Daiki Ueno <ueno@gnu.org>
3315 Add support for package signature checking.
3316 * emacs-lisp/package.el (url-http-file-exists-p)
3317 (epg-make-context, epg-context-set-home-directory)
3318 (epg-verify-string, epg-context-result-for)
3319 (epg-signature-status, epg-signature-to-string)
3320 (epg-check-configuration, epg-configuration)
3321 (epg-import-keys-from-file): Declare.
3322 (package-check-signature): New user option.
3323 (package-unsigned-archives): New user option.
3324 (package-desc): Add `signed' field.
3325 (package-load-descriptor): Set `signed' field if .signed file exists.
3326 (package--archive-file-exists-p): New function.
3327 (package--check-signature): New function.
3328 (package-install-from-archive): Check package signature.
3329 (package--download-one-archive): Check archive signature.
3330 (package-delete): Remove .signed file.
3331 (package-import-keyring): New command.
3332 (package-refresh-contents): Import default keyring.
3333 (package-desc-status): Add "unsigned" status.
3334 (describe-package-1, package-menu--print-info)
3335 (package-menu-mark-delete, package-menu--find-upgrades)
3336 (package-menu--status-predicate): Support "unsigned" status.
3338 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3340 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3341 the new compilation scheme using the new byte-codes.
3343 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3344 (byte-pophandler): New byte codes.
3345 (byte-goto-ops): Adjust accordingly.
3346 (byte-compile--use-old-handlers): New var.
3347 (byte-compile-catch): Use new byte codes depending on
3348 byte-compile--use-old-handlers.
3349 (byte-compile-condition-case--old): Rename from
3350 byte-compile-condition-case.
3351 (byte-compile-condition-case--new): New function.
3352 (byte-compile-condition-case): New function that dispatches depending
3353 on byte-compile--use-old-handlers.
3354 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3357 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3358 Optimize under `condition-case' and `catch' if
3359 byte-compile--use-old-handlers is nil.
3360 (disassemble-offset): Handle new bytecodes.
3362 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3364 * subr.el (error): Use `declare'.
3365 (decode-char, encode-char): Use advertised-calling-convention instead
3366 of the docstring to discourage use of the `restriction' arg.
3368 2013-10-03 Daiki Ueno <ueno@gnu.org>
3370 * epg.el (epg-verify-file): Add a comment saying that it does not
3371 notify verification error as a return value nor a signal.
3372 (epg-verify-string): Ditto.
3374 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3376 * progmodes/compile.el (compilation-start): Try globbing the arg to
3379 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3381 Sync with Tramp 2.2.8.
3383 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3384 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3385 * net/trampver.el: Update release number.
3387 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3389 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3390 and default-process-coding-system for darwin only.
3392 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3394 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3396 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3398 * vc/vc-git.el (vc-git-grep): Disable pager.
3400 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3402 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3403 Use :url instead of :homepage, as per
3404 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3406 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3407 non-nil, use `syntax-ppss' (Bug#15251).
3409 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3411 * progmodes/octave.el (inferior-octave-startup-file):
3412 Prefer ~/.emacs.d/init_octave.m.
3414 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3416 * emacs-lisp/package.el (package-desc-from-define):
3417 Accept additional arguments as plist, convert them to an alist and store
3418 them in the `extras' slot.
3419 (package-generate-description-file): Convert extras alist back to
3420 plist and append to the `define-package' form arguments.
3421 (package--alist-to-plist): New function.
3422 (package--ac-desc): Add `extras' slot.
3423 (package--add-to-archive-contents): Check if the archive-contents
3424 vector is long enough, and if it is, pass its `extras' slot value
3425 to `package-desc-create'.
3426 (package-buffer-info): Call `lm-homepage', pass the returned value
3427 to `package-desc-from-define'.
3428 (describe-package-1): Render the homepage button (Bug#13291).
3430 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3431 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3433 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3435 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3436 and default-process-coding-system to utf-8-unix (Bug#15402).
3438 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3440 * subr.el (looking-back): Do not recommend using looking-back.
3442 2013-09-28 Alan Mackenzie <acm@muc.de>
3444 Fix indentation/fontification of Java enum with "implements".
3446 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3447 regexp which matches "implements", etc., in Java.
3448 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3449 specifier clauses coming after "enum".
3450 * progmodes/cc-fonts.el (c-font-lock-declarations)
3451 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3454 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3456 * faces.el (region): Change ns_selection_color to
3457 ns_selection_fg_color, add ns_selection_bg_color.
3459 2013-09-28 Leo Liu <sdl.web@gmail.com>
3461 * progmodes/octave.el (inferior-octave-completion-table)
3462 (inferior-octave-completion-at-point): Minor tweaks.
3464 * textmodes/ispell.el (ispell-lookup-words): Rename from
3465 lookup-words. (Bug#15460)
3466 (lookup-words): Obsolete.
3467 (ispell-complete-word, ispell-command-loop): All uses changed.
3469 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3471 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3472 (octave-mode-menu): Add octave-send-buffer.
3473 (octave-send-buffer): New function.
3475 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3477 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3479 (octave-mode-menu): Add octave-lookfor.
3480 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3482 (octave-lookfor): New function.
3484 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3486 * emacs-lisp/cl-macs.el:
3487 (cl--loop-destr-temps): Remove.
3488 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3490 (cl--loop-set-iterator-function): New function.
3491 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3492 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3493 Bind `it' with `let' instead of substituting it with `cl-subst'.
3494 (cl--unused-var-p): New function.
3495 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3496 Eliminate some unused variable warnings (bug#15326).
3498 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3500 * doc-view.el (doc-view-scale-reset): Rename from
3501 `doc-view-reset-zoom-level'.
3502 (doc-view-scale-adjust): New command.
3503 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3504 `doc-view-scale-adjust'.
3506 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3508 * doc-view.el (doc-view-reset-zoom-level): New command.
3509 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3510 zoom commands (bug#15466).
3512 2013-09-26 Kenichi Handa <handa@gnu.org>
3514 * international/quail.el (quail-help): Make it not a command.
3516 2013-09-26 Leo Liu <sdl.web@gmail.com>
3518 * minibuffer.el (completion-all-sorted-completions): Make args
3519 optional as they are.
3521 2013-09-25 Daniel Colascione <dancol@dancol.org>
3523 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3524 specs are and that they're not evaluated.
3526 2013-09-24 Sam Steingold <sds@gnu.org>
3528 * midnight.el (clean-buffer-list-kill-regexps)
3529 (clean-buffer-list-kill-buffer-names): Update for the new Man
3530 buffer naming which includes the object name.
3532 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3534 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3535 (eshell-parse-command, eshell-parse-pipeline): Use it since
3536 eshell-separate-commands requires a dynamic scoped var.
3537 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3539 2013-09-23 Leo Liu <sdl.web@gmail.com>
3541 * autoinsert.el (auto-insert-alist): Make the value of
3542 lexical-binding match its file setting.
3544 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3546 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3548 * autoarg.el (autoarg-kp-digit-argument):
3549 * electric.el (Electric-command-loop):
3550 * kmacro.el (kmacro-step-edit-insert):
3551 Do not set universal-argument-num-events.
3553 2013-09-22 Leo Liu <sdl.web@gmail.com>
3555 * files.el (interpreter-mode-alist): Add octave.
3557 2013-09-21 Alan Mackenzie <acm@muc.de>
3559 C++: fontify identifier in declaration following "public:" correctly.
3560 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3561 to match "public", etc.
3562 (c-decl-prefix-re): Add ":" into the C++ value.
3563 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3564 bit. Add a check for a ":" preceded by "public", etc.
3566 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3568 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3569 recognized by GDB 7.5 and later.
3571 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3573 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3575 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3577 * subr.el (internal--call-interactively): New const.
3578 (called-interactively-p): Use it (bug#3984).
3580 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3582 * vc/pcvs.el (cvs-mode-ignore):
3583 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3584 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3586 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3588 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3589 (eshell-ls-orig-insert-directory): Remove.
3590 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3591 (eshell-ls-use-in-dired): Use advice-add/remove.
3592 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3593 Add `orig-fun' arg for use in :around advice.
3594 Make it check (redundantly) eshell-ls-use-in-dired.
3596 2013-09-19 Glenn Morris <rgm@gnu.org>
3598 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3600 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3602 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3604 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3606 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3607 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3608 (tramp-get-remote-python): New defuns.
3609 (tramp-get-remote-uid-with-perl)
3610 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3611 contributed by yary <not.com@gmail.com> (tiny change).
3612 (tramp-get-remote-uid-with-python)
3613 (tramp-get-remote-gid-with-python): New defuns. Python code
3614 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3615 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3617 2013-09-19 Glenn Morris <rgm@gnu.org>
3619 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3621 * eshell/em-unix.el (eshell-remove-entries):
3622 Rename argument to avoid name-clash with global `top-level'.
3624 * eshell/esh-proc.el (eshell-kill-process-function):
3625 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3626 (eshell-reset-after-proc): Remove unused arg `proc'.
3628 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3629 (directory-files-and-attributes): Mark unused arg.
3631 * eshell/em-unix.el (eshell-remove-entries):
3632 Remove unused arg `path'. Update callers.
3634 * eshell/em-hist.el (eshell-hist-parse-arguments):
3635 Remove unused arg `silent'. Update callers.
3637 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3638 Fix (f)boundp mix-up.
3640 * eshell/em-smart.el (eshell-smart-scroll-window)
3641 (eshell-disable-after-change):
3642 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3644 2013-09-18 Alan Mackenzie <acm@muc.de>
3646 Fix fontification of type when followed by "const".
3647 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3648 "known" types from fontification.
3650 2013-09-18 Glenn Morris <rgm@gnu.org>
3652 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3653 (chart-face-list): Drop Emacsen without display-color-p.
3655 * net/eww.el (libxml-parse-html-region): Declare.
3656 (eww-display-html): Explicit error if no libxml2 support.
3658 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3660 * image.el (image-type-from-buffer, image-multi-frame-p):
3661 Remove --without-x warning/error.
3663 * mouse.el (mouse-yank-primary):
3664 * term.el (term-mouse-paste):
3665 Reorder to silence --without-x compilation.
3667 * mpc.el (doc-view-mode): Silence --without-x compilation.
3669 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3670 Silence --without-x compilation.
3672 * progmodes/gud.el (gud-find-file, gud-mode):
3673 Silence --without-x compilation.
3674 (tooltip-mode): Declare.
3676 * wdired.el (dired-backup-overwrite): Remove declaration.
3677 (wdired-mode-map): Add doc string.
3679 * custom.el (x-get-resource): Declare.
3681 * eshell/em-glob.el (ange-cache):
3682 * eshell/em-unix.el (ange-cache): Declare.
3684 * faces.el (x-display-list, x-open-connection, x-get-resource):
3687 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3688 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3691 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3693 * net/gnutls.el (gnutls-log-level): Declare.
3695 * net/shr.el (image-size, image-animate): Declare.
3697 * simple.el (font-info): Declare.
3699 * subr.el (x-popup-dialog): Declare.
3701 * term/common-win.el (x-select-enable-primary)
3702 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3705 * term/ns-win.el (x-handle-args): Declare.
3707 * term/x-win.el (x-select-enable-clipboard): Declare.
3709 * term/w32-win.el (create-default-fontset): Declare.
3711 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3714 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3715 (fit-frame-to-buffer): Explicit error if --without-x.
3716 (mouse-autoselect-window-select): Silence compiler.
3718 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3720 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3721 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3722 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3723 * eshell/esh-util.el (eshell-sublist):
3724 Remove unused local variables.
3726 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3728 * textmodes/two-column.el: Make 2C-split work for --without-x.
3729 (scroll-bar-columns): Autoload.
3730 (top-level): Require fringe when compiling.
3732 2013-09-18 Leo Liu <sdl.web@gmail.com>
3734 * subr.el (add-hook): Robustify to handle closure as well.
3736 2013-09-17 Glenn Morris <rgm@gnu.org>
3738 * simple.el (messages-buffer-mode-map): Unbind "g".
3740 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3742 * help-mode.el (help-mode-finish): Use derived-mode-p.
3743 Remove obsolete highlighting.
3745 * play/life.el (life-mode): Use define-derived-mode. Derive from
3747 (life): Let-bind inhibit-read-only.
3748 (life-setup): Avoid `setq'. Use `life-mode'.
3750 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3751 which should not be needed any more.
3752 (package-menu-refresh, package-menu-describe-package): Use user-error.
3754 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3755 (eshell-post-rewrite-command-hook): Make obsolete.
3756 (eshell-parse-command): Simplify.
3757 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3758 (eshell--cmd): Declare.
3759 (eshell-parse-pipeline): Remove unused var `final-p'.
3760 Pass a dynvar to eshell-post-rewrite-command-hook.
3761 Implement the new eshell-post-rewrite-command-function.
3762 (eshell-invoke-directly): Remove unused arg `input'.
3763 * eshell/esh-io.el (eshell-io-initialize):
3764 Use eshell-post-rewrite-command-function (bug#15399).
3765 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3766 adjust to new calling convention.
3767 (eshell-create-handles): Rename args to avoid clashing with dynvar
3770 2013-09-17 Glenn Morris <rgm@gnu.org>
3772 * simple.el (messages-buffer-mode): New major mode.
3773 (messages-buffer): New function.
3774 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3775 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3776 (ert-run-test): Use `messages-buffer' function.
3777 (ert--force-message-log-buffer-truncation): Ignore read-only.
3778 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3779 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3781 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3783 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3785 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3787 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3789 * icomplete.el (icomplete-in-buffer): New var.
3790 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3791 vars and replace them with functions.
3792 (icomplete-minibuffer-setup): Adjust accordingly.
3793 (icomplete--completion-table, icomplete--completion-predicate)
3794 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3796 (icomplete-forward-completions, icomplete-backward-completions)
3797 (icomplete-simple-completing-p, icomplete-exhibit)
3798 (icomplete-completions): Use them.
3799 (icomplete--in-region-buffer): New var.
3800 (icomplete--in-region-setup): New function.
3801 (icomplete-mode): Use it.
3803 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3805 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3806 return args and options.
3807 (eshell-eval-using-options): Use the new return value of
3808 eshell--do-opts to set the options's vars in their scope.
3809 (eshell--set-option): Rename from eshell-set-option.
3811 (eshell--process-option): Rename from eshell-process-option.
3813 (eshell--process-args): Use an `opt-vals' alist to store the options's
3814 values during their processing and return them additionally to the
3817 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3819 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3820 continuation character an operator, as far as indentation is
3821 concerned (Bug#15369).
3823 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3825 * window.el (window--state-put-2): Don't process buffer state
3826 when buffer doesn't exist any more (Bug#15382).
3828 2013-09-15 Glenn Morris <rgm@gnu.org>
3830 * eshell/em-unix.el (eshell/rm):
3831 Make -f ignore missing files. (Bug#15373)
3833 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3834 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3835 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3837 2013-09-14 Glenn Morris <rgm@gnu.org>
3839 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3841 2013-09-13 Glenn Morris <rgm@gnu.org>
3843 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3844 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3846 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3848 * frame.el (x-focus-frame): Mark as declared in frame.c.
3850 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3852 * ls-lisp.el: Use advice-add.
3853 (original-insert-directory): Remove.
3854 (ls-lisp--insert-directory): Rename from insert-directory; add
3855 `orig-fun' argument.
3856 (insert-directory): Advise.
3858 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3860 * term.el (term-emulate-terminal): Decode the command string
3861 before passing it to term-command-hook. (Bug#15337)
3863 2013-09-13 Glenn Morris <rgm@gnu.org>
3865 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3867 * eshell/esh-ext.el (eshell-search-path): Declare.
3869 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3870 Otherwise an error occurs if eshell-dirs module not loaded.
3872 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3874 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3876 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3877 `tramp-check-proper-host'. Check for a valid method name.
3879 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3880 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3881 * net/tramp-sh.el (tramp-maybe-open-connection):
3882 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3884 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3885 also for hash values.
3887 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3889 * term/ns-win.el (parameters): Don't declare as dynamic.
3890 (before-make-frame-hook): Don't add ineffective function.
3892 * eshell/*.el: Use lexical-binding (bug#15231).
3894 2013-09-12 Kenichi Handa <handa@gnu.org>
3896 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3898 2013-09-12 Glenn Morris <rgm@gnu.org>
3900 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3901 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3903 * subr.el (do-after-load-evaluation): Also give compiler warnings
3904 when obsolete files are used (except by obsolete files).
3906 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3907 in the status output, assume `filename' is the first. (Bug#15322)
3909 * vc/vc.el (vc-deduce-fileset): Doc fix.
3911 * calc/calc-help.el (Info-goto-node):
3912 * progmodes/cperl-mode.el (Info-find-node):
3913 * vc/ediff.el (Info-goto-node): Update declarations.
3915 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3917 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3918 (vc-bzr-pull): Require vc-dispatcher.
3919 * vc/vc-git.el (vc-compilation-mode): Declare.
3920 (vc-git-pull): Require vc-dispatcher.
3922 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3924 * progmodes/octave.el (help-button-action): Declare.
3926 * shell.el (shell-directory-tracker): Output error as a message
3927 rather than just returning it as a string.
3928 (shell-process-pushd): Remove useless use of message.
3930 * dframe.el (dframe-timer-fn):
3931 * files.el (dir-locals-read-from-file):
3932 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3934 * reveal.el (reveal-post-command):
3935 * saveplace.el (load-save-place-alist-from-file):
3936 * shell.el (shell-resync-dirs):
3937 * w32-common-fns.el (x-get-selection-value):
3938 * emacs-lisp/copyright.el (copyright-find-copyright):
3939 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3940 * emulation/tpu-edt.el (tpu-copy-keyfile):
3941 * play/bubbles.el (bubbles--mark-neighbourhood):
3942 * progmodes/executable.el
3943 (executable-make-buffer-file-executable-if-script-p):
3944 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3946 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3948 Cleanup Eshell to rely less on dynamic scoping.
3949 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3950 last-value, and ext-command here. Bind `args' closer to `body'.
3951 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3952 (eshell--args): Declare new dynamic var.
3953 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3954 last-value, and ext-command. Pass `args' to `body'.
3955 (eshell-process-args): Bind eshell--args.
3956 (eshell-set-option): Use eshell--args.
3957 * eshell/eshell.el (eshell): Use derived-mode-p.
3958 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3959 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3960 (eshell-glob-function): Declare.
3961 * eshell/esh-util.el: Require cl-lib.
3962 (eshell-read-hosts-file): Avoid add-to-list.
3963 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3965 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3967 (eshell/diff): Remove unused var `err'.
3968 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3970 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3971 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3973 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3974 Move declaration before first use.
3975 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3976 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3979 2013-09-12 Glenn Morris <rgm@gnu.org>
3981 * term/ns-win.el (global-map): Remove binding for ispell-next,
3982 deleted 1999-05-29. (Bug#15357)
3984 2013-09-11 Glenn Morris <rgm@gnu.org>
3986 * echistory.el (electric-command-history): Remove call to deleted func.
3988 * play/landmark.el (landmark-mode): Fix typos.
3990 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3991 Check cvs-sort-ignore-file is bound.
3993 * savehist.el: No need for cl when compiling on Emacs.
3995 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3997 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3999 (eshell-self-insert-command, eshell-send-invisible):
4000 Remove unused argument.
4001 (eshell-handle-control-codes): Remove unused var `orig'.
4002 Avoid delete-backward-char.
4004 * files.el (set-auto-mode): Simplify a bit further.
4006 2013-09-11 Glenn Morris <rgm@gnu.org>
4008 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4009 (set-auto-mode): Don't regexp-quote elements.
4010 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4011 * progmodes/cc-mode.el (interpreter-mode-alist):
4012 * progmodes/ruby-mode.el (interpreter-mode-alist):
4013 Revert previous change.
4015 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4017 * play/snake.el (snake-mode):
4018 * play/mpuz.el (mpuz-mode):
4019 * play/landmark.el (lm-mode):
4020 * play/blackbox.el (blackbox-mode):
4021 * play/5x5.el (5x5-mode):
4022 * obsolete/options.el (Edit-options-mode):
4023 * net/quickurl.el (quickurl-list-mode):
4024 * net/newst-treeview.el (newsticker-treeview-mode):
4025 * mail/rmailsum.el (rmail-summary-mode):
4026 * mail/mspools.el (mspools-mode):
4027 * locate.el (locate-mode):
4028 * ibuffer.el (ibuffer-mode):
4029 * emulation/ws-mode.el (wordstar-mode):
4030 * emacs-lisp/debug.el (debugger-mode):
4031 * array.el (array-mode):
4032 * net/eudc.el (eudc-mode): Use define-derived-mode.
4033 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4034 Move initialization into declaration.
4035 (mairix-searches-mode): Use define-derived-mode.
4036 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4037 (eudc-edit-hotlist): Use dolist.
4038 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4039 (Man-mode): Use define-derived-mode.
4040 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4041 (Info-edit-mode): Use define-derived-mode.
4042 (Info-cease-edit): Use Info-mode.
4043 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4045 (eshell-mode): Use define-derived-mode.
4046 * chistory.el (command-history-mode-map): Rename from
4047 command-history-map.
4048 (command-history-mode): Use define-derived-mode.
4049 (Command-history-setup): Remove function.
4050 * calc/calc.el (calc-trail-mode-map): New var.
4051 (calc-trail-mode): Use define-derived-mode.
4052 (calc-trail-buffer): Set calc-main-buffer manually.
4053 * bookmark.el (bookmark-insert-annotation): New function.
4054 (bookmark-edit-annotation): Use it.
4055 (bookmark-edit-annotation-mode): Make it a proper major mode.
4056 (bookmark-send-edited-annotation): Use derived-mode-p.
4057 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4058 closer to its ideal place. Use \' to match EOS.
4060 * profiler.el (profiler-calltree-find): Use function-equal.
4062 2013-09-10 Glenn Morris <rgm@gnu.org>
4064 * files.el (interpreter-mode-alist): Convert to regexps.
4065 (set-auto-mode): Adapt for this. (Bug#15306)
4066 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4067 Comment out unused variable.
4068 * progmodes/cc-mode.el (interpreter-mode-alist):
4069 * progmodes/python.el (interpreter-mode-alist):
4070 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4071 * progmodes/sh-script.el (sh-set-shell):
4072 No longer use interpreter-mode-alist to get list of shells.
4074 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4076 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4078 * simple.el: Use set-temporary-overlay-map for universal-argument.
4079 (universal-argument-map): Don't use default-bindings (bug#15317).
4080 Bind switch-frame explicitly. Replace universal-argument-minus with
4081 a conditional binding.
4082 (universal-argument-num-events, saved-overriding-map): Remove.
4083 (restore-overriding-map): Remove.
4084 (universal-argument--mode): Rename from save&set-overriding-map,
4086 (universal-argument, universal-argument-more, negative-argument)
4087 (digit-argument): Adjust accordingly.
4088 (universal-argument-minus): Remove.
4089 (universal-argument-other-key): Remove.
4091 * subr.el (with-demoted-errors): Add `format' argument.
4093 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4095 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4096 `tramp-cleanup-connection'.
4098 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4099 parameters KEEP-DEBUG and KEEP-PASSWORD.
4101 * net/tramp.el (tramp-file-name-handler):
4102 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4103 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4104 (tramp-maybe-open-connection):
4105 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4106 Use `tramp-cleanup-connection'.
4108 * net/tramp-sh.el (tramp-maybe-open-connection):
4109 Catch 'uname-changed inside the progress reporter.
4111 2013-09-10 Glenn Morris <rgm@gnu.org>
4113 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4115 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4116 returns "alternate access method" in mode (eg "-rw-r--r--.").
4118 2013-09-08 Glenn Morris <rgm@gnu.org>
4120 * saveplace.el (load-save-place-alist-from-file):
4121 Demote errors. (Bug#15305)
4123 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4125 Improve compatibility with older Emacsen, and XEmacs.
4127 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4128 only if it is bound. It isn't for XEmacs.
4129 (with-tramp-progress-reporter): Do not let-bind `result'.
4130 This yields to scoping errors in XEmacs.
4131 (tramp-handle-make-auto-save-file-name): New function, moved from
4134 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4135 for `make-auto-save-file-name'.
4136 (tramp-adb--gnu-switches-to-ash):
4137 Use `tramp-compat-replace-regexp-in-string'.
4139 * net/tramp-cache.el (tramp-cache-print): Call
4140 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4142 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4143 bound. It isn't for XEmacs.
4145 * net/tramp-compat.el (tramp-compat-copy-file):
4146 Catch `wrong-number-of-arguments' error.
4147 (tramp-compat-replace-regexp-in-string): New defun.
4149 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4150 for `make-auto-save-file-name'.
4151 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4153 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4154 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4155 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4157 * net/tramp-gw.el (tramp-gw-open-network-stream):
4158 Use `tramp-compat-replace-regexp-in-string'.
4160 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4161 Call `tramp-handle-make-auto-save-file-name'.
4162 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4163 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4164 (tramp-sh-file-inotifywait-process-filter):
4165 Use `tramp-compat-replace-regexp-in-string'.
4166 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4168 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4169 for `make-auto-save-file-name'.
4170 (tramp-smb-handle-copy-directory):
4171 Call `tramp-compat-replace-regexp-in-string'.
4172 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4173 (tramp-smb-handle-copy-file): Improve error message.
4174 (tramp-smb-handle-rename-file): Rename directly only in case
4175 `newname' does not exist yet. This is a restriction of smbclient.
4176 (tramp-smb-maybe-open-connection): Rerun the function only when
4177 `auth-sources' is non-nil.
4179 2013-09-08 Kenichi Handa <handa@gnu.org>
4181 * international/characters.el: Set category "^" (Combining) for
4184 2013-09-07 Alan Mackenzie <acm@muc.de>
4186 Correctly fontify Java class constructors.
4187 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4189 (c-recognize-typeless-decls): Set the Java value to t.
4190 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4191 While handling a "(", add a check for, effectively, Java, and handle a
4192 "typeless" declaration there.
4194 2013-09-07 Roland Winkler <winkler@gnu.org>
4196 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4197 field subtitle for entry type book.
4199 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4201 * minibuffer.el: Make minibuffer-complete call completion-in-region
4202 rather than other way around.
4203 (completion--some, completion-pcm--find-all-completions):
4204 Don't delay signals when debugging.
4205 (minibuffer-completion-contents): Beware fields within the
4206 minibuffer contents.
4207 (completion-all-sorted-completions): Use defvar-local.
4208 (completion--do-completion, completion--cache-all-sorted-completions)
4209 (completion-all-sorted-completions, minibuffer-force-complete):
4210 Add args `beg' and `end'.
4211 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4212 (minibuffer-complete): Use completion-in-region.
4213 (completion-complete-and-exit): New fun, extracted from
4214 minibuffer-complete-and-exit.
4215 (minibuffer-complete-and-exit): Use it.
4216 (completion--complete-and-exit): Rename from
4217 minibuffer--complete-and-exit.
4218 (completion-in-region--single-word): New function, extracted from
4219 minibuffer-complete-word.
4220 (minibuffer-complete-word): Use it.
4221 (display-completion-list): Make `common-substring' argument obsolete.
4222 (completion--in-region): Call completion--in-region-1 instead of
4223 minibuffer-complete.
4224 (completion-help-at-point): Pass boundaries to
4225 minibuffer-completion-help as args rather than via an overlay.
4226 (completion-pcm--string->pattern): Use `any-delim'.
4227 (completion-pcm--optimize-pattern): New function.
4228 (completion-pcm--pattern->regex): Handle `any-delim'.
4229 * icomplete.el (icomplete-forward-completions)
4230 (icomplete-backward-completions, icomplete-completions):
4231 Adjust calls to completion-all-sorted-completions and
4232 completion--cache-all-sorted-completions.
4233 (icomplete-with-completion-tables): Default to t.
4234 * emacs-lisp/crm.el (crm--current-element): Rename from
4235 crm--select-current-element. Don't put an overlay but return the
4237 (crm--completion-command): Take two new args to bind to the boundaries.
4238 (crm-completion-help): Adjust accordingly.
4239 (crm-complete): Use completion-in-region.
4240 (crm-complete-word): Use completion-in-region--single-word.
4241 (crm-complete-and-exit): Use completion-complete-and-exit.
4243 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4245 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4248 2013-09-06 Juri Linkov <juri@jurta.org>
4250 * info.el (Info-display-images-node): When image file doesn't exist
4251 display text version of the image if it's provided in the Info file.
4252 Otherwise, display the location of missing image from SRC attribute.
4253 Add help-echo text property from ALT attribute. (Bug#15279)
4255 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4257 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4258 (edit-abbrevs-mode): Use define-derived-mode.
4260 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4261 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4263 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4264 Use define-derived-mode.
4266 * epg.el (epg-start-encrypt): Minor CSE simplification.
4268 2013-09-06 William Xu <william.xwl@gmail.com>
4270 * arc-mode.el: Add support for 7za (bug#15264).
4271 (archive-7z-program): New var.
4272 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4273 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4274 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4276 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4280 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4281 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4282 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4283 (tramp-postfix-host-format, tramp-file-name-regexp)
4284 (tramp-completion-file-name-regexp)
4285 (tramp-completion-dissect-file-name)
4286 (tramp-handle-substitute-in-file-name): Remove 'url case.
4287 (tramp-file-name-regexp-url)
4288 (tramp-completion-file-name-regexp-url): Remove constants.
4290 2013-09-06 Glenn Morris <rgm@gnu.org>
4292 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4294 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4296 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4297 keywords" below "here-doc beginnings" (Bug#15270).
4299 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4301 * subr.el (pop): Use `car-safe'.
4302 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4303 to detect unused `pop' return value.
4305 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4307 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4308 (python-fill-string): Remove unused var `marker'.
4309 (python-skeleton-add-menu-items): Remove unused var `items'.
4311 * international/mule-cmds.el: Require CL.
4312 (find-coding-systems-for-charsets): Avoid add-to-list.
4313 (sanitize-coding-system-list): New function, extracted from
4314 select-safe-coding-system-interactively.
4315 (select-safe-coding-system-interactively): Use it.
4316 (read-input-method-name): Accept symbols for `default'.
4318 * emacs-lisp/advice.el (defadvice): Add indent rule.
4320 2013-09-05 Daniel Hackney <dan@haxney.org>
4324 * net/browse-url.el:
4327 * net/eudcb-ldap.el:
4340 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4341 byte compiler. Remove some unused let-bound variables.
4343 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4345 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4346 a "ref-cell", since it gets better optimized (bug#14883).
4348 2013-09-05 Glenn Morris <rgm@gnu.org>
4350 * progmodes/cc-awk.el (c-forward-sws): Declare.
4352 2013-09-04 Glenn Morris <rgm@gnu.org>
4354 * generic-x.el [rul-generic-mode]: Require cc-mode.
4355 (c++-mode-syntax-table): Declare.
4356 (rul-generic-mode-syntax-table): Init in the defvar.
4358 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4360 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4361 (vc-do-command, vc-set-async-update):
4362 * vc/vc-mtn.el (vc-mtn-dir-status):
4363 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4364 (vc-hg-pull, vc-hg-merge-branch):
4365 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4366 (vc-git-merge-branch):
4367 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4368 (vc-cvs-dir-status-files):
4369 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4370 (vc-bzr-dir-status-files):
4371 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4372 * vc/vc-annotate.el: Use lexical-binding.
4373 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4374 (vc-sentinel-movepoint): Declare.
4375 (vc-annotate): Don't use `goto-line'.
4376 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4377 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4378 (vc-sentinel-movepoint): Declare.
4379 * vc/vc-svn.el: Use lexical-binding.
4380 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4382 * vc/vc-rcs.el: Use lexical-binding.
4384 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4385 `deleted'. Don't drop errors silently.
4387 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4389 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4391 * vc/vc.el (vc-ignore): Rewrite.
4392 (vc-default-ignore): New function.
4393 (vc-default-ignore-completion-table): Use find-ignore-file.
4395 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4396 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4397 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4398 Remove. Most code moved to vc.el.
4400 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4402 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4403 * net/tramp-smb.el (tramp-smb-get-file-entries):
4404 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4405 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4407 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4409 (eww-change-select): Remove unused var `properties'.
4410 (eww-make-unique-file-name): Remove unused var `base'.
4412 * finder.el (finder-compile-keywords): Don't mess with windows.
4414 * calculator.el (calculator-funcall): Fix typo in last change.
4416 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4418 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4419 <pkg>-autoloads.el file stop us.
4421 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4422 warnings, and factor out common code.
4424 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4426 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4427 two-character operators and whether the character preceding them
4428 changes their meaning (Bug#15208).
4430 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4432 Format code sent to Python shell for robustness.
4433 * progmodes/python.el (python-shell-buffer-substring):
4435 (python-shell-send-region, python-shell-send-buffer): Use it.
4437 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4439 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4440 * net/tramp.el (tramp-user-error): ... here.
4441 (tramp-find-method, tramp-check-proper-host)
4442 (tramp-dissect-file-name, tramp-debug-message)
4443 (tramp-handle-shell-command):
4444 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4445 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4447 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4449 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4451 * avoid.el (mouse-avoidance-point-position)
4452 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4455 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4457 * progmodes/python.el (python-shell-completion-get-completions):
4458 Drop use of deleted `comint-last-prompt-overlay'.
4459 (python-nav-if-name-main): New command.
4461 2013-09-01 Glenn Morris <rgm@gnu.org>
4463 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4464 Avoid leading space in $wins. Otherwise the sed command used by
4465 eg compile-main ends up containing "/*.el". (Bug#15170)
4467 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4469 2013-08-30 Glenn Morris <rgm@gnu.org>
4471 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4472 Fix is-this-a-directory logic. (Bug#15220)
4474 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4476 * textmodes/css-mode.el: Use SMIE.
4477 (css-smie-grammar): New var.
4478 (css-smie--forward-token, css-smie--backward-token)
4479 (css-smie-rules): New functions.
4480 (css-mode): Use them.
4481 (css-navigation-syntax-table): Remove var.
4482 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4483 (css-indent-calculate, css-indent-line): Remove functions.
4485 Misc changes to reduce use of `(lambda...); and other cleanups.
4486 * cus-edit.el: Use lexical-binding.
4487 (customize-push-and-save, customize-apropos)
4488 (custom-buffer-create-internal): Use closures.
4489 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4490 * progmodes/ada-xref.el: Use setq.
4491 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4492 * dframe.el: Use lexical-binding.
4493 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4494 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4495 * descr-text.el: Use lexical-binding.
4496 (describe-text-widget, describe-text-sexp, describe-property-list):
4498 * comint.el (comint-history-isearch-push-state): Use a closure.
4499 * calculator.el: Use lexical-binding.
4500 (calculator-number-to-string): Make it work with lexical-binding.
4501 (calculator-funcall): Same and use cl-letf.
4503 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4504 (lisp--company-doc-string, lisp--company-location): New functions.
4505 (lisp-completion-at-point): Use them to improve Company support.
4507 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4508 params of lambda expressions.
4509 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4510 (ruby-smie--opening-pipe-p): New function.
4511 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4512 symbols and matched |...| for formal params.
4513 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4514 from being treated as hanging. Handle "rescue".
4516 2013-08-29 Glenn Morris <rgm@gnu.org>
4518 * progmodes/cc-engine.el (c-pull-open-brace):
4519 Move definition before use.
4521 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4523 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4524 are immutable. Don't use `unsafe' any more.
4525 (cl--defsubst-expand): Don't substitute at the same time as keeping
4526 a residual unused let-binding. Don't use `unsafe' any more.
4528 2013-08-29 Glenn Morris <rgm@gnu.org>
4530 * calendar/cal-china.el (calendar-chinese-year-cache):
4533 * nxml/nxml-util.el (nxml-debug-clear-inside):
4534 Use cl-loop rather than loop.
4536 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4538 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4540 2013-08-28 Glenn Morris <rgm@gnu.org>
4542 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4544 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4546 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4548 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4550 * simple.el (repeat-complex-command--called-interactively-skip):
4552 (repeat-complex-command): Use it (bug#14136).
4554 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4555 (c-define-abbrev-table): Add `doc' argument.
4556 (c-mode-abbrev-table, c++-mode-abbrev-table)
4557 (objc-mode-abbrev-table, java-mode-abbrev-table)
4558 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4559 (awk-mode-abbrev-table): Use it.
4560 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4561 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4562 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4563 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4564 Move initialization into the declaration; and remove any
4567 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4568 and dynamic let binding.
4570 * vc/smerge-mode.el: Remove redundant :group args.
4572 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4575 2013-08-28 Juri Linkov <juri@jurta.org>
4577 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4578 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4579 (isearch-other-meta-char): Handle an undefined shifted printing
4580 character by downshifting it. (Bug#15200)
4582 2013-08-28 Juri Linkov <juri@jurta.org>
4584 * isearch.el (isearch-search): Change regexp error message for
4585 non-regexp searches. (Bug#15166)
4587 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4589 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4590 for portability to hosts where /bin/sh has problems.
4592 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4594 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4596 2013-08-27 Juri Linkov <juri@jurta.org>
4598 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4599 in the keyboard macro. (Bug#15126)
4601 2013-08-27 Juri Linkov <juri@jurta.org>
4603 * isearch.el (isearch-quote-char): Comment out converting unibyte
4604 to multibyte, thus syncing with its `quoted-insert' counterpart.
4607 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4609 * window.el (display-buffer-use-some-window): Add missing
4610 argument in call of get-largest-window (Bug#15185).
4611 Reported by Stephen Leake.
4613 2013-08-27 Glenn Morris <rgm@gnu.org>
4615 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4617 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4619 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4620 from a matcher-function unless there's no more matches (bug#15161).
4622 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4624 * minibuffer.el: Revert change from 2013-08-20.
4626 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4627 with text property `tramp-default', if appropriate.
4628 (tramp-check-proper-host): New defun.
4629 (tramp-dissect-file-name): Do not check hostname. Revert change
4631 (tramp-backtrace): Make VEC-OR-PROC optional.
4633 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4634 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4635 * net/tramp-sh.el (tramp-maybe-open-connection):
4636 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4637 Apply `tramp-check-proper-host'.
4639 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4641 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4642 lambda expression in order to have `describe-variable' display it.
4644 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4646 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4647 BUF can be optional. (Bug#15186)
4649 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4651 * progmodes/flymake.el (flymake-get-real-file-name-function):
4652 Fix broken customization. (Bug#15184)
4654 2013-08-25 Alan Mackenzie <acm@muc.de>
4656 Improve indentation of bracelists defined by macros (without "=").
4658 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4659 expansion begins with "{", regard it as bracelist when it doesn't
4662 Parse C++ inher-intro when there's a template split over 2 lines.
4664 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4665 rigorously the search for "class" etc. followed by ":".
4667 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4668 random languages a regexp which never matches rather than nil.
4670 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4672 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4673 (c-awk-regexp-one-line-possibly-open-char-list-re)
4674 (c-awk-one-line-possibly-open-regexp-re)
4675 (c-awk-one-line-non-syn-ws*-re): Remove.
4676 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4677 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4678 (c-awk-space*-unclosed-regexp-/-re): New constants.
4679 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4680 aren't regexp delimiters.
4682 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4683 handling for a rare situation in AWK Mode involving unterminated
4686 2013-08-23 Glenn Morris <rgm@gnu.org>
4688 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4690 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4692 * files.el (create-file-buffer): If the result would begin with
4693 spaces, prepend a "|" instead of removing them. (Bug#15162)
4695 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4697 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4698 text-properties (bug#15155).
4700 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4702 (calc-keypad-redraw): Remove unused var `pad'.
4703 (calc-keypad-press): Remove unused var `menu'.
4705 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4707 * window.el (display-buffer-pop-up-frame):
4708 Call pop-up-frame-function with BUFFER current so `make-frame' will
4709 use it as the new frame's buffer (Bug#15133).
4711 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4713 * calendar/timeclock.el: Minor cleanups.
4714 (timeclock-ask-before-exiting, timeclock-use-display-time):
4716 (timeclock-modeline-display): Define as alias before the
4718 (timeclock-mode-line-display): Use define-minor-mode.
4719 (timeclock-day-list-template): Make it a function, add an argument.
4720 (timeclock-day-list-required, timeclock-day-list-length)
4721 (timeclock-day-list-debt, timeclock-day-list-span)
4722 (timeclock-day-list-break): Adjust calls accordingly.
4724 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4726 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4727 Use read--expression so that completion works again.
4729 2013-08-21 Sam Steingold <sds@gnu.org>
4731 Add rudimentary inferior shell interaction
4732 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4733 (sh-set-shell): Reset it.
4734 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4735 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4737 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4739 * align.el: Use lexical-binding.
4740 (align-region): Simplify accordingly.
4742 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4744 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4746 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4749 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4753 * net/tramp-cmds.el:
4755 * net/tramp-gvfs.el:
4757 * net/tramp-sh.el: Don't wrap external variable declarations by
4758 `eval-when-compile'.
4760 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4762 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4763 now that Emacs supports ImageMagick animations.
4765 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4767 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4768 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4770 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4772 * window.el (mouse-autoselect-window-select): Do autoselect when
4773 mouse pointer is on margin.
4775 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4777 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4779 2013-08-16 Glenn Morris <rgm@gnu.org>
4781 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4782 Handle "Remote Directory" response of some clients. (Bug#15058)
4784 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4785 Tweak warning. (Bug#14926)
4787 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4788 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4790 * image-mode.el (image-mode-map): Add menu items to reverse,
4791 increase, decrease, reset animation speed.
4792 (image--set-speed, image-increase-speed, image-decrease-speed)
4793 (image-reverse-speed, image-reset-speed): New functions.
4794 (image-mode-map): Add bindings for speed commands.
4796 * image.el (image-animate-get-speed, image-animate-set-speed):
4798 (image-animate-timeout): Respect image :speed property.
4800 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4802 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4803 previous line (bug#15101).
4804 (debugger-eval-expression, debugger-record-expression):
4805 Use read--expression (bug#15102).
4807 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4809 Remove byte compiler warnings, visible when compiling with
4810 `byte-compile-force-lexical-warnings' set to t.
4812 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4813 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4814 (tramp-handle-unhandled-file-name-directory)
4815 (tramp-handle-file-notify-add-watch, tramp-action-login)
4816 (tramp-action-succeed, tramp-action-permission-denied)
4817 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4820 * net/tramp-adb.el (tramp-adb-parse-device-names)
4821 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4822 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4823 (tramp-adb-handle-file-truename): Remove unused arguments.
4825 * net/tramp-cache.el (tramp-flush-directory-property)
4826 (tramp-flush-connection-property, tramp-list-connections)
4827 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4829 * net/tramp-compat.el (tramp-compat-make-temp-file):
4830 Rename FILENAME to F.
4832 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4833 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4834 (tramp-zeroconf-parse-workstation-device-names)
4835 (tramp-zeroconf-parse-webdav-device-names)
4836 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4838 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4839 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4841 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4843 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4844 (tramp-sh-handle-insert-file-contents-literally)
4845 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4847 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4848 Remove unused variables.
4850 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4851 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4852 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4854 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4855 Make them a defconst.
4856 (tramp-uuencode-region): Remove unused variable.
4858 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4860 * frameset.el (frameset--prop-setter): New function.
4861 (frameset-prop): Add gv-setter declaration.
4862 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4863 parameter was already set in FILTERED. Doc fix.
4864 (frameset--record-minibuffer-relationships): Allow saving a
4865 minibufferless frame without its corresponding minibuffer frame.
4866 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4867 frame, if the frame id matches.
4868 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4869 frames before orphaned ones.
4870 (frameset-restore): Warn about orphaned windows, instead of error out.
4872 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4874 * window.el (window-make-atom): Don't overwrite parameter
4876 (display-buffer-in-atom-window): Handle special case where we
4877 split an already atomic window.
4878 (window--major-non-side-window, display-buffer-in-side-window)
4879 (window--side-check): Ignore minibuffer window when walking
4881 (window-deletable-p): Return 'frame only if no other frame uses
4882 our minibuffer window.
4883 (record-window-buffer): Run buffer-list-update-hook.
4884 (split-window): Make sure window--check-frame won't destroy an
4885 existing atomic window in case the new window gets nested
4887 (display-buffer-at-bottom): Ignore minibuffer window when
4888 walking window tree. Don't split a side window.
4889 (pop-to-buffer): Don't set-buffer here, the select-window call
4891 (mouse-autoselect-window-select): Autoselect only if we are in the
4892 text portion of the window.
4894 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4896 * net/shr.el (shr-parse-image-data): New function to grab both the
4897 data itself and the Content-Type.
4898 (shr-put-image): Use it.
4900 * net/eww.el (eww-display-image): Ditto.
4902 * image.el (image-content-type-suffixes): New variable.
4904 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4906 * progmodes/python.el (python-imenu--build-tree)
4907 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4909 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4911 * simple.el (backward-word): Mention the optional argument.
4913 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4915 * frameset.el (frameset--make): Rename constructor from make-frameset.
4916 (frameset-p, frameset-valid-p): Don't autoload.
4917 (frameset-valid-p): Use normal accessors.
4919 2013-08-13 Glenn Morris <rgm@gnu.org>
4921 * progmodes/compile.el (compile-command): Tweak example in doc.
4922 * obsolete/scribe.el (scribe-mode):
4923 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4925 * mail/feedmail.el (feedmail-confirm-outgoing)
4926 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4928 * cus-start.el (truncate-partial-width-windows): Fix type.
4930 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4932 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4934 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4936 * emacs-lisp/timer.el (timer--time-setter): New function.
4937 (timer--time): Use it as gv-setter.
4939 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4940 setter is not a symbol.
4942 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4944 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4945 if sending fails. This makes debugging easier.
4947 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4949 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4950 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4951 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4953 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4955 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4957 2013-08-12 Glenn Morris <rgm@gnu.org>
4959 * format.el (format-annotate-function):
4960 Handle read-only text properties in the source. (Bug#14887)
4962 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4964 * net/eww.el (eww-display-html): Ignore coding system errors.
4965 One web site uses "utf-8lias" as the coding system.
4967 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4969 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4971 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4973 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4974 (tutorial--detailed-help): Remove unused local variables.
4975 (tutorial--save-tutorial-to): Use ignore-errors.
4976 (help-with-tutorial): Use looking-at-p.
4978 * view.el (view-buffer-other-window, view-buffer-other-frame):
4979 Mark unused arguments.
4981 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4982 (woman-select-symbol-fonts, woman, woman-find-file)
4983 (woman-insert-file-contents, woman-non-underline-faces):
4985 (woman1-unquote): Move declaration.
4987 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4988 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4989 argument. Remove unused local variable.
4990 (xml-parse-elem-type): Use string-match-p.
4991 (xml-substitute-numeric-entities): Use ignore-errors.
4993 * calculator.el (calculator): Mark unused argument.
4994 (calculator-paste, calculator-quit, calculator-integer-p):
4996 (calculator-string-to-number, calculator-decimal, calculator-exp)
4997 (calculator-op-or-exp): Use string-match-p.
4999 * dired.el (dired-buffer-more-recently-used-p): Declare.
5000 (dired-insert-set-properties, dired-insert-old-subdirs):
5003 * dired-aux.el (dired-compress): Use ignore-errors.
5004 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5005 (dired-do-async-shell-command, dired-do-shell-command)
5006 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5007 (dired-insert-subdir-validate): Use string-match-p.
5008 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5009 (dired-add-entry): Use string-match-p, looking-at-p.
5010 (dired-insert-subdir-newpos): Remove unused local variable.
5012 * filenotify.el (file-notify-callback): Remove unused local variable.
5014 * filesets.el (filesets-error): Mark unused argument.
5015 (filesets-which-command-p, filesets-filter-dir-names)
5016 (filesets-directory-files, filesets-get-external-viewer)
5017 (filesets-ingroup-get-data): Use string-match-p.
5019 * find-file.el (ff-other-file-name, ff-other-file-name)
5020 (ff-find-the-other-file, ff-cc-hh-converter):
5021 Remove unused local variables.
5022 (ff-get-file-name): Use string-match-p.
5023 (ff-all-dirs-under): Use ignore-errors.
5025 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5026 (follow-select-if-visible): Remove unused local variable.
5028 * forms.el (read-file-filter): Move declaration.
5029 (forms--make-format, forms--make-parser, forms-insert-record):
5030 Quote function with #'.
5031 (forms--update): Use string-match-p. Quote function with #'.
5033 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5034 (help-make-xrefs): Use looking-at-p.
5035 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5037 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5038 (ibuffer-confirm-operation-on): Use string-match-p.
5040 * msb.el (msb-item-handler, msb-dired-item-handler):
5041 Mark unused arguments.
5043 * ses.el (ses-decode-cell-symbol)
5044 (ses-kill-override): Remove unused local variable.
5045 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5046 (ses-load): Use ignore-errors, looking-at-p.
5047 (ses-jump-safe): Use ignore-errors.
5048 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5050 * tabify.el (untabify, tabify): Mark unused arguments.
5052 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5053 Mark unused argument.
5054 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5055 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5057 * emacs-lisp/timer.el (timer--time): Define setter with
5058 gv-define-setter to avoid deprecation warning.
5060 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5061 (*record-cmpl-statistics-p*): Remove (was commented out).
5062 (cmpl-statistics-block): Remove (body was commented out).
5063 All callers changed.
5064 (add-completions-from-buffer, load-completions-from-file):
5065 Remove unused variables.
5067 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5069 * filecache.el (file-cache-delete-file-list):
5070 Print message only when told so.
5071 (file-cache-files-matching): Use #' in mapconcat argument.
5073 * ffap.el (ffap-url-at-point): Fix reference to variable
5074 thing-at-point-default-mail-uri-scheme.
5076 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5078 * subr.el (define-error): New function.
5079 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5080 error-file-not-found and define with define-error.
5081 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5082 and define with define-error.
5083 * userlock.el (file-locked, file-supersession):
5084 * simple.el (mark-inactive):
5085 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5086 * progmodes/ada-mode.el (ada-mode-errors):
5087 * play/life.el (life-extinct):
5088 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5089 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5090 * nxml/rng-util.el (rng-error):
5091 * nxml/rng-uri.el (rng-uri-error):
5092 * nxml/rng-match.el (rng-compile-error):
5093 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5094 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5095 * nxml/nxml-rap.el (nxml-scan-error):
5096 * nxml/nxml-outln.el (nxml-outline-error):
5097 * net/soap-client.el (soap-error):
5098 * net/gnutls.el (gnutls-error):
5099 * net/ange-ftp.el (ftp-error):
5100 * mpc.el (mpc-proc-error):
5101 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5102 (json-number-format, json-string-escape, json-string-format)
5103 (json-key-format, json-object-format):
5104 * jka-compr.el (compression-error):
5105 * international/quail.el (quail-error):
5106 * international/kkc.el (kkc-error):
5107 * emacs-lisp/ert.el (ert-test-failed):
5108 * calc/calc.el (calc-error, inexact-result, math-overflow)
5110 * bookmark.el (bookmark-error-no-filename):
5111 * epg.el (epg-error): Define with define-error.
5113 * time.el (display-time-event-handler)
5114 (display-time-next-load-average): Don't call sit-for since it seems
5115 unnecessary (bug#15045).
5117 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5118 Use #' instead of ' to quote functions.
5119 (checkdoc-output-mode): Use setq-local.
5120 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5121 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5122 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5123 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5124 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5125 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5126 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5127 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5129 * ido.el (ido-completion-help): Fix up compiler warning.
5131 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5133 * frameset.el (frameset-p): Add autoload cookie.
5134 (frameset--jump-to-register): New function, based on code moved from
5136 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5138 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5139 (frameset-restore, frameset-save, frameset-session-filter-alist):
5140 Remove declarations.
5141 (register-alist): Doc fix.
5142 (frameset-to-register): Move to frameset.el.
5143 (jump-to-register, describe-register-1): Remove frameset-specific code.
5145 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5147 * allout-widgets.el (allout-widgets-pre-command-business)
5148 (allout-widgets-post-command-business)
5149 (allout-widgets-after-change-handler)
5150 (allout-decorate-item-and-context, allout-set-boundary-marker)
5151 (allout-body-modification-handler)
5152 (allout-graphics-modification-handler): Mark ignored arguments.
5153 (allout-widgets-post-command-business)
5154 (allout-widgets-exposure-change-processor)
5155 (allout-widgets-exposure-undo-processor)
5156 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5157 (allout-parse-item-at-point, allout-decorate-item-guides)
5158 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5159 * allout.el (epa-passphrase-callback-function): Declare.
5160 (allout-overlay-insert-in-front-handler)
5161 (allout-overlay-interior-modification-handler)
5162 (allout-isearch-end-handler, allout-chart-siblings)
5163 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5164 (allout-yank-processing, allout-process-exposed)
5165 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5166 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5167 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5168 (lisp-indent-defform): Mark ignored arguments.
5169 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5170 (calculate-lisp-indent): Remove unused variables.
5171 * international/characters.el (indian-2-column, arabic-2-column)
5172 (tibetan): Mark ignored arguments.
5173 (use-cjk-char-width-table): Mark ignored arguments.
5174 Remove unused variables.
5175 * international/fontset.el (build-default-fontset-data)
5176 (x-compose-font-name, create-fontset-from-fontset-spec):
5177 Mark ignored arguments.
5178 (fontset-plain-name): Remove unused variables.
5179 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5180 (keyboard-coding-system): Mark ignored arguments.
5181 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5182 * help.el (resize-temp-buffer-window):
5183 * window.el (display-buffer-in-major-side-window)
5184 (display-buffer-in-side-window, display-buffer-in-previous-window):
5185 Remove unused variables.
5186 * isearch.el (isearch-forward-symbol):
5187 * version.el (emacs-bzr-version-bzr):
5188 * international/mule-cmds.el (current-language-environment):
5189 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5191 * term/pc-win.el (x-list-fonts, x-display-planes)
5192 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5193 (x-server-version, x-display-screens, x-display-mm-height)
5194 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5195 (x-selection-owner-p, x-own-selection-internal)
5196 (x-disown-selection-internal, x-get-selection-internal)
5197 (msdos-initialize-window-system):
5198 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5199 * term/x-win.el (x-handle-no-bitmap-icon):
5200 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5201 (vc-default-find-file-hook, vc-default-extra-menu):
5202 Mark ignored arguments.
5204 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5206 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5207 break-condition in the context of the debugged code (bug#12685).
5209 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5212 Do not use an overlay to highlight the last prompt. (Bug#14744)
5213 (comint-mode): Make comint-last-prompt buffer local.
5214 (comint-last-prompt): New variable.
5215 (comint-last-prompt-overlay): Remove. Superseded by
5217 (comint-snapshot-last-prompt, comint-output-filter):
5218 Use comint-last-prompt.
5220 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5222 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5223 (frameset-save): Check validity of the resulting frameset.
5225 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5227 * ido.el (ido-record-command): Add doc string.
5229 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5231 * frameset.el (frameset): Do not disable creation of the default
5232 frameset-p predicate. Doc fix.
5233 (frameset-valid-p): New function, copied from the old predicate-p.
5234 Add additional checks.
5235 (frameset-restore): Check with frameset-valid-p.
5236 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5237 (frameset-name, frameset-description, frameset-properties)
5238 (frameset-states): Add docstring.
5239 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5240 (frameset-filter-alist): Doc fixes.
5242 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5244 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5246 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5248 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5249 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5250 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5251 (byte-compile-normal-call): Remove obsolescence check.
5253 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5255 * frameset.el (frameset-restore): Doc fix.
5257 * register.el (frameset-frame-id, frameset-frame-with-id)
5258 (frameset-p, frameset-restore, frameset-save): Declare.
5259 (register-alist): Document framesets.
5260 (frameset-session-filter-alist): Declare.
5261 (frameset-to-register): New function.
5262 (jump-to-register): Implement jumping to framesets. Doc fix.
5263 (describe-register-1): Describe framesets.
5265 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5267 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5269 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5270 Use lexical-binding.
5272 * frameset.el (frameset): Use type vector, not list (incompatible
5273 change). Do not declare a new constructor, use the default one.
5274 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5275 `name' and `description', respectively, and add read-only slot
5276 `timestamp'. Doc fixes.
5277 (frameset-copy, frameset-persistent-filter-alist)
5278 (frameset-filter-alist, frameset-switch-to-gui-p)
5279 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5280 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5281 (frameset-filter-iconified, frameset-keep-original-display-p):
5283 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5284 Rename from frameset-filter-(save|restore)-param. All callers changed.
5286 (frameset-p): Adapt to change to vector and be more thorough.
5287 Change arg name to OBJECT. Doc fix.
5288 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5289 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5290 All callers changed.
5291 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5292 All callers changed.
5293 (frameset--record-minibuffer-relationships): Rename from
5294 frameset--process-minibuffer-frames. All callers changed.
5295 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5296 Use new default constructor (again). Doc fix.
5297 (frameset--find-frame-if): Rename from `frameset--find-frame.
5298 All callers changed.
5299 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5300 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5302 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5303 PARAMETERS and WINDOW-STATE, respectively.
5304 (frameset-restore): Add new keyword argument PREDICATE.
5305 Reset frameset--target-display to nil. Doc fix.
5307 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5309 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5311 (bat-mode-syntax-table): Mark \n as end-of-comment.
5312 (bat-font-lock-keywords): Remove comment rule.
5314 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5315 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5317 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5318 (byte-compile-callargs-warn): Use `push'.
5319 (byte-compile-arglist-warn): Ignore higher-order "calls".
5320 (byte-compile-file-form-autoload): Use `pcase'.
5321 (byte-compile-function-form): If quoting a symbol, check that it exists.
5323 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5325 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5326 and add a few popular commands found in batch files.
5327 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5328 (dos-mode): Doc fixes.
5330 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5332 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5333 (dos-mode): Use setq-local. Add space after "rem".
5334 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5335 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5337 2013-08-07 Arni Magnusson <arnima@hafro.is>
5339 * progmodes/dos.el: New file.
5340 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5343 2013-08-06 Glenn Morris <rgm@gnu.org>
5345 * calendar/calendar.el: Add new faces, and day-header-array.
5346 (calendar-weekday-header, calendar-weekend-header)
5347 (calendar-month-header): New faces.
5348 (calendar-day-header-construct): New function.
5349 (calendar-day-header-width): Also :set calendar-day-header-array.
5350 (calendar-american-month-header, calendar-european-month-header)
5351 (calendar-iso-month-header): Use calendar- faces.
5352 (calendar-generate-month):
5353 Use calendar-day-header-array for day headers; apply faces to them.
5354 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5355 (calendar-abbrev-construct): Add optional maxlen argument.
5356 (calendar-day-name-array): Doc fix.
5357 (calendar-day-name-array, calendar-abbrev-length)
5358 (calendar-day-abbrev-array):
5359 Also :set calendar-day-header-array, and maybe redraw.
5360 (calendar-day-header-array): New option. (Bug#15007)
5361 (calendar-font-lock-keywords): Set to nil and make obsolete.
5362 (calendar-day-name): Add option to use header array.
5364 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5366 * net/shr.el (shr-render-td): Remove debugging.
5367 (shr-render-td): Make width computation consistent by defaulting
5368 all zero-width columns to 10 characters. This may not be optimal,
5369 but it's at least consistent.
5370 (shr-make-table-1): Redo last change to fix the real problem in
5373 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5375 * files.el (cache-long-line-scans):
5376 Make obsolete alias to `cache-long-scans'.
5378 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5380 * frameset.el (frameset, frameset-filter-alist)
5381 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5382 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5383 (frameset-compute-pos): Rename from frameset--compute-pos,
5385 (frameset-move-onscreen): Use frameset-compute-pos.
5386 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5388 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5389 Fix typos in docstrings.
5391 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5393 * frame.el (get-other-frame): Tiny cleanup.
5395 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5397 * vc/vc.el (vc-default-ignore-completion-table):
5398 Silence byte-compiler warning.
5400 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5401 slot , which can indeed be nil.
5402 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5403 Move entry for `left' from persistent to live filter alist.
5404 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5406 (frameset-filter-params): When restoring a frame, copy items added to
5407 `filtered', to avoid unwittingly modifying the original parameters.
5408 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5409 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5411 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5412 to use looking-at-p instead of looking-at. (Bug#15028)
5414 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5416 Revert introduction of isearch-filter-predicates (bug#14714).
5417 Rely on add-function instead.
5418 * isearch.el (isearch-filter-predicates): Rename it back to
5419 isearch-filter-predicate.
5420 (isearch-message-prefix): Use advice-function-mapc and advice
5421 properties to get the isearch-message-prefix.
5422 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5423 instead of run-hook-with-args-until-failure.
5424 (isearch-filter-visible): Not obsolete any more.
5425 * loadup.el: Preload nadvice.
5426 * replace.el (perform-replace): Revert to funcall
5427 instead of run-hook-with-args-until-failure.
5428 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5429 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5430 dired-isearch-filenames-toggle; make it into a proper minor mode.
5431 Use add/remove-function.
5432 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5433 Call the minor-mode rather than add/remove-hook.
5434 (dired-isearch-filter-filenames):
5435 Remove isearch-message-prefix property.
5436 * info.el (Info--search-loop): New function, extracted from Info-search.
5437 Funcall isearch-filter-predicate instead of
5438 run-hook-with-args-until-failure isearch-filter-predicates.
5439 (Info-search): Use it.
5440 (Info-mode): Use isearch-filter-predicate instead of
5441 isearch-filter-predicates.
5443 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5445 Do not call to `selected-window' where it is assumed by default.
5446 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5447 `window-hscroll', `window-width', `window-height', `window-buffer',
5448 `window-frame', `window-start', `window-point', `next-window'
5449 and `window-display-table'.
5450 * abbrev.el (abbrev--default-expand):
5451 * bs.el (bs--show-with-configuration):
5452 * buff-menu.el (Buffer-menu-mouse-select):
5453 * calc/calc.el (calc):
5454 * calendar/calendar.el (calendar-generate-window):
5455 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5457 * comint.el (send-invisible, comint-dynamic-complete-filename)
5458 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5459 * completion.el (complete):
5460 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5461 * disp-table.el (describe-current-display-table):
5462 * doc-view.el (doc-view-insert-image):
5463 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5464 * ehelp.el (with-electric-help):
5465 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5466 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5467 * emacs-lisp/helper.el (Helper-help-scroller):
5468 * emulation/cua-base.el (cua--post-command-handler-1):
5469 * eshell/esh-mode.el (eshell-output-filter):
5470 * ffap.el (ffap-gnus-wrapper):
5471 * help-macro.el (make-help-screen):
5472 * hilit-chg.el (highlight-compare-buffers):
5473 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5474 * hl-line.el (global-hl-line-highlight):
5475 * icomplete.el (icomplete-simple-completing-p):
5476 * isearch.el (isearch-done):
5477 * jit-lock.el (jit-lock-stealth-fontify):
5478 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5479 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5480 * mpc.el (mpc-tagbrowser, mpc):
5481 * net/rcirc.el (rcirc-any-buffer):
5482 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5483 * play/landmark.el (landmark-max-width, landmark-max-height):
5484 * play/zone.el (zone):
5485 * progmodes/compile.el (compilation-goto-locus):
5486 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5487 * progmodes/etags.el (find-tag-other-window):
5488 * progmodes/fortran.el (fortran-column-ruler):
5489 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5490 * progmodes/verilog-mode.el (verilog-point-text):
5491 * reposition.el (reposition-window):
5492 * rot13.el (toggle-rot13-mode):
5493 * server.el (server-switch-buffer):
5494 * shell.el (shell-dynamic-complete-command)
5495 (shell-dynamic-complete-environment-variable):
5496 * simple.el (insert-buffer, set-selective-display)
5497 (delete-completion-window):
5498 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5499 (speedbar-recenter):
5500 * startup.el (fancy-splash-head):
5501 * textmodes/ispell.el (ispell-command-loop):
5502 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5503 * tutorial.el (help-with-tutorial):
5504 * vc/add-log.el (add-change-log-entry):
5505 * vc/compare-w.el (compare-windows):
5506 * vc/ediff-help.el (ediff-indent-help-message):
5507 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5508 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5509 (ediff-setup-control-frame):
5510 * vc/emerge.el (emerge-position-region):
5511 * vc/pcvs-util.el (cvs-bury-buffer):
5512 * window.el (walk-windows, mouse-autoselect-window-select):
5513 * winner.el (winner-set-conf, winner-undo): Related users changed.
5515 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5517 * frameset.el (frameset--set-id): Doc fix.
5518 (frameset-frame-id, frameset-frame-id-equal-p)
5519 (frameset-locate-frame-id): New functions.
5520 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5521 (frameset-restore): Use them.
5523 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5525 Do not call to `selected-frame' where it is assumed by default.
5526 Affected functions are `raise-frame', `redraw-frame',
5527 `frame-first-window', `frame-terminal' and `delete-frame'.
5528 * calendar/appt.el (appt-disp-window):
5529 * epg.el (epg-wait-for-completion):
5530 * follow.el (follow-delete-other-windows-and-split)
5531 (follow-avoid-tail-recenter):
5532 * international/mule.el (set-terminal-coding-system):
5533 * mail/rmail.el (rmail-mail-return):
5534 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5535 * progmodes/f90.el (f90-add-imenu-menu):
5536 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5537 * server.el (server-switch-buffer):
5538 * simple.el (delete-completion-window):
5540 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5541 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5542 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5543 * vc/ediff.el (ediff-documentation): Related users changed.
5544 * frame.el (selected-terminal): Remove the leftover.
5546 2013-08-05 Glenn Morris <rgm@gnu.org>
5548 * calendar/calendar.el (calendar-generate-month):
5549 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5550 (calendar-generate-month, calendar-font-lock-keywords):
5551 Fix for calendar-day-header-width > length of any day name.
5553 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5555 * desktop.el (desktop-clear): Use new name of sort predicate.
5557 * frameset.el (frameset): Add docstring. Move :version property to its
5559 (frameset-copy): Rename from copy-frameset.
5560 (frameset-p): Check more thoroughly.
5561 (frameset-prop): Do not check for :version, which is no longer a prop.
5562 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5563 Use new :never value instead of t.
5564 (frameset-filter-alist): Expand and clarify docstring.
5565 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5566 (frameset-filter-minibuffer, frameset-filter-save-param)
5567 (frameset-filter-restore-param, frameset-filter-iconified):
5568 Add pointer to docstring of frameset-filter-alist.
5569 (frameset-filter-params): Rename filter values to be more meaningful:
5570 :never instead of t, and reverse the meanings of :save and :restore.
5571 (frameset--process-minibuffer-frames): Clarify error message.
5572 (frameset-save): Avoid unnecessary and confusing call to framep.
5573 Use new BOA constructor for framesets.
5574 (frameset--reuse-list): Doc fix.
5575 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5576 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5577 (frameset-minibufferless-first-p): Doc fix.
5578 Rename from frameset-sort-frames-for-deletion.
5579 (frameset-restore): Doc fixes. Use new function names.
5580 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5582 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5584 * desktop.el (desktop-restore-forces-onscreen)
5585 (desktop-restore-reuses-frames): Document :keyword constant values.
5586 (desktop-filter-parameters-alist): Remove, now identical to
5587 frameset-filter-alist.
5588 (desktop--filter-tty*): Remove, moved to frameset.el.
5589 (desktop-save-frameset, desktop-restore-frameset):
5590 Do not pass :filters argument.
5592 * frameset.el (frameset-live-filter-alist)
5593 (frameset-persistent-filter-alist): New variables.
5594 (frameset-filter-alist): Use them. Add autoload cookie.
5595 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5596 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5597 `frameset--id' (it's supposed to be internal to frameset.el).
5598 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5599 (frameset--initial-params): New function.
5600 (frameset--get-frame): Use it. Doc fix.
5601 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5602 Accept :all, not 'all.
5603 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5604 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5605 with fbound symbols. Fix frame id matching, and remove matching ids if
5606 the frame being restored is deleted. Obey :delete.
5608 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5610 * subr.el (macrop): New function.
5611 (text-clone--maintaining): New var.
5612 (text-clone--maintain): Rename from text-clone-maintain. Use it
5613 instead of inhibit-modification-hooks.
5615 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5616 a proxy, so as handle autoloads and redefinitions of the target.
5617 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5619 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5620 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5621 (pcase--mutually-exclusive-p): New function.
5622 (pcase--split-consp): Use it.
5623 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5624 mutually exclusive with the current predicate.
5626 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5627 (edebug-macrop): Remove. Use `macrop' instead.
5628 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5630 * eshell/esh-cmd.el (eshell-macrop):
5631 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5633 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5635 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5636 (advice-mapc): New function, using it.
5637 (advice-function-member-p): New function.
5638 (advice--normalize): Store the cdr in advice--saved-rewrite since
5639 that's the part that will be changed.
5640 (advice--symbol-function): New function.
5641 (advice-remove): Handle removal before the function is defined.
5642 Adjust to new advice--saved-rewrite.
5643 (advice-member-p): Use advice-function-member-p and
5644 advice--symbol-function.
5646 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5648 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5649 (frameset-filter-minibuffer): Doc fix.
5650 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5651 (frameset--set-id, frameset--process-minibuffer-frames)
5652 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5653 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5655 * desktop.el (desktop-clear): Only delete frames when called
5656 interactively and desktop-restore-frames is non-nil. Doc fix.
5657 (desktop-read): Set desktop-saved-frameset to nil.
5659 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5661 * vc/vc.el (vc-ignore): Rewrite.
5662 (vc-default-ignore-completion-table):
5664 (vc--add-line, vc--remove-regexp): New functions.
5666 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5667 (vc-svn-ignore-completion-table): New function.
5669 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5670 (vc-hg-ignore-completion-table):
5671 (vc-hg-find-ignore-file): New functions.
5673 * vc/vc-git.el (vc-git-ignore): Rewrite.
5674 (vc-git-ignore-completion-table):
5675 (vc-git-find-ignore-file): New functions.
5677 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5679 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5680 (vc-bzr-ignore-completion-table):
5681 (vc-bzr-find-ignore-file): New functions.
5683 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5685 * frameset.el (frameset-prop): New function and setter.
5686 (frameset-save): Do not modify frame list passed by the caller.
5688 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5690 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5692 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5694 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5695 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5697 * custom.el (custom-initialize-default, custom-initialize-set)
5698 (custom-initialize-reset, custom-initialize-changed): Affect the
5699 toplevel-default-value (bug#6275, bug#14586).
5700 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5703 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5705 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5706 Add cl-def* expressions.
5708 * frameset.el (frameset-filter-params): Fix order of arguments.
5710 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5712 Move code related to saving frames to frameset.el.
5713 * desktop.el: Require frameset.
5714 (desktop-restore-frames): Doc fix.
5715 (desktop-restore-reuses-frames): Rename from
5716 desktop-restoring-reuses-frames.
5717 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5718 (desktop-clear): Clear frames too.
5719 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5720 (desktop--filter-tty*, desktop-save, desktop-read):
5721 Use frameset functions.
5722 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5723 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5724 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5725 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5726 (desktop--process-minibuffer-frames, desktop-save-frames)
5727 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5728 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5729 (desktop--sort-states, desktop-restoring-frames-p)
5730 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5731 (desktop-restoring-frameset-p, desktop-restore-frameset)
5732 (desktop--check-dont-save, desktop-save-frameset): New functions.
5733 (desktop--app-id): New constant.
5734 (desktop-first-buffer, desktop-buffer-ok-count)
5735 (desktop-buffer-fail-count): Move before first use.
5736 * frameset.el: New file.
5738 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5740 * files.el: Use lexical-binding.
5741 (dir-locals-read-from-file): Remove unused `err' variable.
5742 (hack-dir-local-variables--warned-coding): New var.
5743 (hack-dir-local-variables): Use it to avoid repeated warnings.
5744 (make-backup-file-name--default-function): New function.
5745 (make-backup-file-name-function): Use it as default.
5746 (buffer-stale--default-function): New function.
5747 (buffer-stale-function): Use it as default.
5748 (revert-buffer-insert-file-contents--default-function): New function.
5749 (revert-buffer-insert-file-contents-function): Use it as default.
5750 (insert-directory): Avoid add-to-list.
5752 * autorevert.el (auto-revert-handler): Simplify.
5753 Use buffer-stale--default-function.
5755 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5757 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5759 * whitespace.el (whitespace-ensure-local-variables): New function.
5760 (whitespace-cleanup-region): Call it.
5761 (whitespace-turn-on): Call it.
5763 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5765 Complete file name handlers.
5767 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5768 (tramp-handle-verify-visited-file-modtime)
5769 (tramp-handle-file-notify-rm-watch): New functions.
5770 (tramp-call-process): Do not bind `default-directory'.
5772 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5773 Order alphabetically.
5774 [access-file, add-name-to-file, dired-call-process]:
5775 [dired-compress-file, file-acl, file-notify-rm-watch]:
5776 [file-ownership-preserved-p, file-selinux-context]:
5777 [make-directory-internal, make-symbolic-link, set-file-acl]:
5778 [set-file-selinux-context, set-visited-file-modtime]:
5779 [verify-visited-file-modtime]: Add handler.
5780 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5782 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5783 [file-notify-add-watch, file-notify-rm-watch]:
5784 [set-file-times, set-visited-file-modtime]:
5785 [verify-visited-file-modtime]: Add handler.
5786 (with-tramp-gvfs-error-message)
5787 (tramp-gvfs-handle-set-visited-file-modtime)
5788 (tramp-gvfs-fuse-file-name): Remove.
5789 (tramp-gvfs-handle-file-notify-add-watch)
5790 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5791 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5793 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5794 Order alphabetically.
5795 [file-notify-rm-watch ]: Use default Tramp handler.
5796 [executable-find]: Remove private handler.
5797 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5798 `default-directory'.
5799 (tramp-sh-handle-executable-find)
5800 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5801 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5802 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5803 Do not use `format' in `tramp-message'.
5805 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5806 [file-notify-rm-watch, set-visited-file-modtime]:
5807 [verify-visited-file-modtime]: Add handler.
5808 (tramp-smb-call-winexe): Do not bind `default-directory'.
5810 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5812 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5814 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5816 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5818 (log-view-diff-changeset): Same.
5819 (log-view-diff-common): Call backend command `previous-revision'
5820 to find out the previous revision, in both cases. Swap the
5821 variables `to' and `fr', so that `fr' usually refers to the
5822 earlier revision (Bug#14989).
5824 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5826 * ibuf-ext.el (ibuffer-filter-by-filename):
5827 Make it work with dired buffers too.
5829 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5831 * emacs-lisp/re-builder.el (reb-color-display-p):
5832 * files.el (save-buffers-kill-terminal):
5833 * net/browse-url.el (browse-url):
5834 * server.el (server-save-buffers-kill-terminal):
5835 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5836 Prefer nil to selected-frame for the first arg of frame-parameter.
5838 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5840 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5842 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5844 * minibuffer.el (completion--twq-all): Try and preserve each
5845 completion's case choice (bug#14907).
5847 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5849 * net/network-stream.el (open-network-stream): Mention the new
5850 :nogreeting parameter.
5851 (network-stream-open-starttls): Use the :nogreeting parameter
5854 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5856 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5857 more natural than popping.
5859 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5860 (shr-urlify): Highlight under mouse.
5862 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5864 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5866 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5868 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5871 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5872 point-min==1. Fix search string. Fix parentheses missing.
5874 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5875 assume point-min==1. Fix search string. Fix parentheses missing.
5877 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5879 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5882 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5884 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5885 initial frame is minibuffer-less. (Bug#14841)
5887 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5889 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5892 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5893 (tramp-maybe-open-connection): Use it.
5895 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5897 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5898 minimal set of parameters passed when creating a frame, because
5899 the minibuffer status of a frame cannot be changed later.
5901 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5903 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5904 replace-regexp-in-string and inadvertent omissions in previous change.
5905 (todo-filter-items): Ensure only file names are comma-separated in
5906 name of filtered items buffer.
5908 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5910 * desktop.el: Optionally force offscreen frames back onscreen.
5911 (desktop-restoring-reuses-frames): New option.
5912 (desktop--compute-pos, desktop--move-onscreen): New functions.
5913 (desktop--make-frame): Use desktop--move-onscreen.
5915 2013-07-27 Alan Mackenzie <acm@muc.de>
5917 Fontify a Java generic method as a function.
5918 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5921 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5923 * calendar/todo-mode.el: Add command to rename todo files.
5924 (todo-rename-file): New command.
5925 (todo-key-bindings-t): Add key binding for it. Change the
5926 bindings of todo-filter-regexp-items(-multifile) to use `x'
5927 instead of `r', since the latter is better suited to the new
5930 2013-07-27 Alan Mackenzie <acm@muc.de>
5932 Make Java try-with-resources statement parse properly.
5933 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5934 (c-block-stmt-1-2-key): New language constants/variables.
5935 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5936 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5937 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5938 with c-block-stmt-1-2-key.
5940 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5942 * desktop.el (desktop--make-frame): Apply most frame parameters after
5943 creating the frame to force (partially or totally) offscreen frames to
5944 be restored as such.
5946 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5948 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5951 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5953 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5954 `base' arg of backtrace-frame.
5956 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5958 * simple.el (list-processes): Doc fix.
5960 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5962 * desktop.el (desktop--select-frame):
5963 Try harder to reuse existing frames.
5965 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5967 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5968 (edebug-eval): Use backtrace-eval.
5969 (edebug--display, edebug--recursive-edit): Don't let-bind the
5970 edebug-outer-* vars that keep track of variables we locally let-bind.
5971 (edebug-outside-excursion): Don't restore outside values of locally
5973 (edebug--display): Use user-error.
5974 (cl-lexical-debug, cl-debug-env): Remove.
5976 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5978 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5979 are restored to be sure that they are visible before deleting any
5982 2013-07-26 Matthias Meulien <orontee@gmail.com>
5984 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5985 vc-print-root-log. (Bug#14948)
5987 2013-07-26 Richard Stallman <rms@gnu.org>
5989 Add aliases for encrypting mail.
5990 * epa.el (epa-mail-aliases): New option.
5991 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5992 Bind inhibit-read-only so read-only text doesn't ruin everything.
5993 (epa-mail-default-recipients): New subroutine broken out.
5994 Handle epa-mail-aliases.
5996 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5998 Add support for lexical variables to the debugger's `e' command.
5999 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6000 vars, except for debugger-outer-match-data.
6001 (debugger-frame-number): Move check for "on a function call" from
6002 callers into it. Add `skip-base' argument.
6003 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6004 (debugger-env-macro): Only reset the state stored in non-variables,
6005 i.e. current-buffer and match-data.
6006 (debugger-eval-expression): Rewrite using backtrace-eval.
6007 * subr.el (internal--called-interactively-p--get-frame): Remove.
6008 (called-interactively-p):
6009 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6010 `base' arg of backtrace-frame instead.
6012 2013-07-26 Glenn Morris <rgm@gnu.org>
6014 * align.el (align-regexp): Doc fix. (Bug#14857)
6015 (align-region): Explicit error if subexpression missing/does not match.
6017 * simple.el (global-visual-line-mode):
6018 Do not duplicate the mode lighter. (Bug#14858)
6020 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6022 * window.el (display-buffer): In display-buffer bind
6023 split-window-keep-point to t, bug#14829.
6025 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6027 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6028 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6029 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6030 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6032 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6033 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6035 2013-07-25 Glenn Morris <rgm@gnu.org>
6037 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6039 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6041 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6042 parameter to modify-frame-parameters if the value has not changed;
6043 this is a workaround for bug#14949.
6044 (desktop--make-frame): On cl-delete-if call, check parameter name,
6047 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6049 * vc/vc.el (vc-ignore): New function.
6051 * vc/vc-svn.el (vc-svn-ignore): New function.
6053 * vc/vc-hg.el (vc-hg-ignore): New function.
6055 * vc/vc-git.el (vc-git-ignore): New function.
6057 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6058 (vc-dir-ignore): New function.
6060 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6061 (cvs-append-to-ignore): Move here from pcvs.el.
6063 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6065 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6067 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6069 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6070 (desktop-restore-frames): Warn when deleting an existing frame failed.
6072 2013-07-24 Glenn Morris <rgm@gnu.org>
6074 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6076 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6078 * filenotify.el (file-notify-supported-p):
6079 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6082 * autorevert.el (auto-revert-use-notify):
6083 (auto-revert-notify-add-watch):
6084 * net/tramp.el (tramp-file-name-for-operation):
6085 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6086 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6087 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6088 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6089 Remove `file-notify-supported-p' entry.
6091 2013-07-24 Glenn Morris <rgm@gnu.org>
6093 * printing.el: Replace all uses of deleted ps-windows-system,
6094 ps-lp-system, ps-flatten-list with lpr- versions.
6096 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6098 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6099 checked with memq (bug#14935).
6101 * files.el (revert-buffer-function): Use a non-nil default.
6102 (revert-buffer-preserve-modes): Declare var to
6103 provide access to the `preserve-modes' argument.
6104 (revert-buffer): Let-bind it.
6105 (revert-buffer--default): New function, extracted from revert-buffer.
6107 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6109 * lpr.el: Signal print errors more prominently.
6110 (print-region-function): Don't default to nil.
6111 (lpr-print-region): New function, extracted from print-region-1.
6112 Check lpr's return value and signal an error in case of problem.
6113 (print-region-1): Use it.
6114 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6116 (ps-printer-name): Default to nil.
6117 (ps-printer-name-option): Default to lpr-printer-switch.
6118 (ps-print-region-function): Don't default to nil.
6119 (ps-postscript-code-directory): Simplify default.
6120 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6121 (ps-string-list, ps-eval-switch, ps-flatten-list)
6122 (ps-flatten-list-1): Remove.
6123 (ps-multibyte-buffer): Avoid setq.
6124 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6125 (print-region-function, ps-print-region-function): Don't set them here.
6127 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6129 * ido.el (ido-fractionp):
6130 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6131 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6132 (ido-max-directory-size, ido-max-dir-file-cache)
6133 (ido-decorations): Doc fix.
6135 * ansi-color.el: Fix old URL.
6137 2013-07-23 Michael R. Mauger <michael@mauger.com>
6139 * progmodes/sql.el: Version 3.3
6140 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6141 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6142 (sql-interactive-remove-continuation-prompt): Rewrite, use
6143 functions above. Fix continuation prompt and complete output line
6145 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6146 redirected output buffer.
6147 (sql-mode): Restore deleted code (Bug#13591).
6149 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6151 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6153 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6155 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6157 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6158 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6159 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6161 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6163 * desktop.el (desktop-clear): Simplify; remove useless checks
6164 against invalid buffer names.
6165 (desktop-list*): Use cl-list*.
6166 (desktop-buffer-info, desktop-create-buffer): Simplify.
6168 2013-07-23 Leo Liu <sdl.web@gmail.com>
6170 * bookmark.el (bookmark-make-record): Restore NAME as a default
6173 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6175 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6176 extracted from autoload--insert-text.
6177 (autoload--insert-text): Remove.
6178 (autoload--print-cookie-text): New function, extracted from
6179 autoload--insert-cookie-text.
6180 (autoload--insert-cookie-text): Remove.
6181 (autoload-generate-file-autoloads): Adjust calls accordingly.
6183 * winner.el (winner-hook-installed-p): Remove.
6184 (winner-mode): Simplify accordingly.
6186 * subr.el (add-to-list): Fix compiler-macro when `append' is
6187 not constant. Don't use `cl-member' for the base case.
6189 * progmodes/subword.el: Fix boundary case (bug#13758).
6190 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6192 (subword-backward-regexp): Make it a constant.
6193 (subword-forward-internal): Don't treat a trailing capital as the
6194 beginning of a word.
6196 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6198 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6199 global value of tabulated-list-revert-hook (bug#14930).
6201 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6203 * desktop.el: Require 'cl-lib.
6204 (desktop-before-saving-frames-functions): New hook.
6205 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6206 for frames being saved. Rename from desktop--save-minibuffer-frames.
6207 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6208 Do not save frames with non-nil `desktop-dont-save' parameter.
6209 Filter out deleted frames.
6210 (desktop--find-frame): Use cl-find-if.
6211 (desktop--select-frame): Use cl-(first|second|third) to access values
6213 (desktop--make-frame): Use cl-delete-if.
6214 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6215 (desktop-restore-frames): Use cl-(first|second|third) to access values
6216 of desktop-mini. Look for visible frame at the end, not while
6219 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6220 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6221 Use string-match-p, looking-at-p (bug#14927).
6223 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6225 * desktop.el (desktop-saved-frame-states):
6226 Rename from desktop--saved-states; all users changed.
6227 (desktop-save-frames): Rename from desktop--save-frames.
6228 Do not save state to desktop file.
6229 (desktop-save): Save desktop-saved-frame-states to desktop file
6231 (desktop-restoring-frames-p): New function.
6232 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6233 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6234 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6236 * desktop.el: Correctly restore iconified frames.
6237 (desktop--filter-iconified-position): New function.
6238 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6240 2013-07-20 Glenn Morris <rgm@gnu.org>
6242 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6243 Let `message' do the formatting.
6244 (def-gdb-preempt-display-buffer): Add explicit format.
6246 * image-dired.el (image-dired-track-original-file):
6247 Use with-current-buffer.
6248 (image-dired-track-thumbnail): Use with-current-buffer.
6249 Avoid changing point of wrong window.
6251 * image-dired.el (image-dired-track-original-file):
6252 Avoid changing point of wrong window. (Bug#14909)
6254 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6256 * progmodes/gdb-mi.el (gdb-done-or-error):
6257 Guard against "%" in gdb output. (Bug#14127)
6259 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6261 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6264 * international/mule.el (coding-system-iso-2022-flags): Fix last
6267 2013-07-20 Kenichi Handa <handa@gnu.org>
6269 * international/mule.el (coding-system-iso-2022-flags):
6270 Add `8-bit-level-4'. (Bug#8522)
6272 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6274 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6277 * net/eww.el (eww-process-text-input): Allow inputting when the
6278 point is at the start of the line, as the properties aren't
6281 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6284 2013-07-19 Richard Stallman <rms@gnu.org>
6286 * epa.el (epa-popup-info-window): Doc fix.
6288 * subr.el (split-string): New arg TRIM.
6290 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6292 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6293 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6295 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6297 * filenotify.el (file-notify--library): Rename from
6298 `file-notify-support'. Do not autoload. Adapt all uses.
6299 (file-notify-supported-p): New defun.
6301 * autorevert.el (auto-revert-use-notify):
6302 Use `file-notify-supported-p' instead of `file-notify-support'.
6304 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6306 * net/tramp.el (tramp-file-name-for-operation):
6307 Add `file-notify-supported-p'.
6309 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6311 (tramp-sh-file-name-handler-alist): Add it as handler for
6312 `file-notify-supported-p '.
6314 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6315 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6316 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6317 Add `ignore' as handler for `file-notify-*' functions.
6319 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6321 * simple.el (line-move-partial, line-move): Don't start vscroll or
6322 scroll-up if the current line is not taller than the window.
6325 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6327 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6328 highlight question marks in the method names as strings.
6329 (ruby-block-beg-keywords): Inline.
6330 (ruby-font-lock-keyword-beg-re): Extract from
6331 `ruby-font-lock-keywords'.
6333 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6335 * frame.el (blink-cursor-blinks): New defcustom.
6336 (blink-cursor-blinks-done): New defvar.
6337 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6338 (blink-cursor-timer-function): Check if number of blinks has been
6340 (blink-cursor-suspend, blink-cursor-check): New defuns.
6342 2013-07-15 Glenn Morris <rgm@gnu.org>
6344 * edmacro.el (edmacro-format-keys): Fix previous change.
6346 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6348 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6349 The hack didn't work outside English locales anyway.
6351 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6353 * simple.el (define-alternatives): Rename from alternatives-define,
6354 per RMS' suggestion.
6356 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6358 * desktop.el (desktop-restore-frames): Change default to t.
6359 (desktop-restore-in-current-display): Now offer more options.
6360 (desktop-restoring-reuses-frames): New customization option.
6361 (desktop--saved-states): Doc fix.
6362 (desktop-filter-parameters-alist): New variable, renamed and expanded
6363 from desktop--excluded-frame-parameters.
6364 (desktop--target-display): New variable.
6365 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6366 (desktop--filter-tty*, desktop--filter-*-color)
6367 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6368 (desktop--filter-save-desktop-parm)
6369 (desktop-restore-in-original-display-p): New functions.
6370 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6371 (desktop--save-minibuffer-frames): New function, inspired by a similar
6372 function from Martin Rudalics.
6373 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6374 (desktop--restore-in-this-display-p): Remove.
6375 (desktop--find-frame): Rename from desktop--find-frame-in-display
6376 and add predicate argument.
6377 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6378 (desktop--reuse-list): New variable.
6379 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6381 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6383 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6385 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6387 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6389 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6390 Highlight conversion methods on Kernel.
6392 2013-07-13 Alan Mackenzie <acm@muc.de>
6394 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6395 and comment it out. This out-commenting enables certain C++
6396 declarations to be parsed correctly.
6398 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6400 * international/mule.el (define-coding-system): Doc fix.
6402 * simple.el (default-font-height): Don't call font-info if the
6403 frame's default font didn't change since the frame was created.
6406 2013-07-13 Leo Liu <sdl.web@gmail.com>
6408 * ido.el (ido-read-file-name): Guard against non-symbol value.
6410 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6412 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6415 2013-07-13 Leo Liu <sdl.web@gmail.com>
6417 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6418 ido-set-matches call. (Bug#6852)
6420 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6422 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6423 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6425 (ruby-font-lock-keywords): Distinguish calls to functions with
6426 module-like names from module references. Highlight character
6429 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6431 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6432 (gdb-send): Handle continued commands. (Bug#14847)
6434 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6436 * desktop.el (desktop--v2s): Remove unused local variable.
6437 (desktop-save-buffer): Make defvar-local; adjust docstring.
6438 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6439 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6441 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6443 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6445 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6447 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6450 2013-07-12 Glenn Morris <rgm@gnu.org>
6452 * doc-view.el: Require cl-lib at runtime too.
6453 (doc-view-remove-if): Remove.
6454 (doc-view-search-next-match, doc-view-search-previous-match):
6457 * edmacro.el: Require cl-lib at runtime too.
6458 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6459 (edmacro-mismatch, edmacro-subseq): Remove.
6461 * shadowfile.el: Require cl-lib.
6462 (shadow-remove-if): Remove.
6463 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6466 * wid-edit.el: Require cl-lib.
6467 (widget-choose): Use cl-remove-if.
6468 (widget-remove-if): Remove.
6470 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6471 (ebrowse-delete-if-not): Remove.
6472 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6473 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6474 Use cl-delete-if-not.
6476 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6478 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6479 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6481 2013-07-12 Leo Liu <sdl.web@gmail.com>
6483 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6485 2013-07-11 Glenn Morris <rgm@gnu.org>
6487 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6488 (edebug-gensym-index, edebug-gensym):
6489 Remove reimplementation of cl-gensym.
6490 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6492 * thumbs.el: Require cl-lib at run-time too.
6493 (thumbs-gensym-counter, thumbs-gensym):
6494 Remove reimplementation of cl-gensym.
6495 (thumbs-temp-file): Use cl-gensym.
6497 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6498 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6499 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6500 (ert--union, ert--gensym-counter, ert--gensym-counter)
6501 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6502 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6503 (ert-make-test-unbound, ert--expand-should-1)
6504 (ert--expand-should, ert--should-error-handle-error)
6505 (should-error, ert--explain-equal-rec)
6506 (ert--plist-difference-explanation, ert-select-tests)
6507 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6508 Use cl-lib functions rather than reimplementations.
6510 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6512 * net/tramp.el (tramp-methods): Extend docstring.
6513 (tramp-connection-timeout): New defcustom.
6514 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6515 (with-tramp-progress-reporter): Simplify.
6516 (tramp-process-actions): Improve messages.
6518 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6519 * net/tramp-sh.el (tramp-maybe-open-connection):
6520 Use `tramp-connection-timeout'.
6521 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6524 2013-07-11 Leo Liu <sdl.web@gmail.com>
6526 * ido.el (ido-read-file-name): Conform to the requirements of
6527 read-file-name. (Bug#11861)
6528 (ido-read-directory-name): Conform to the requirements of
6529 read-directory-name.
6531 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6533 * subr.el (delay-warning): New function.
6535 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6537 * simple.el (default-line-height): New function.
6538 (line-move-partial, line-move): Use it instead of computing the
6540 (line-move-partial): Always compute ROWH. If the last line is
6541 partially-visible, but its text is completely visible, allow
6542 cursor to enter such a partially-visible line.
6544 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6546 Improve error messages. (Bug#14808)
6548 * net/tramp.el (tramp-current-connection): New defvar, moved from
6550 (tramp-message-show-progress-reporter-message): Remove, not
6552 (tramp-error-with-buffer): Show message in minibuffer.
6553 Discard input before waiting. Reset connection timestamp.
6554 (with-tramp-progress-reporter): Improve messages.
6555 (tramp-process-actions): Use progress reporter. Delete process in
6556 case of error. Improve messages.
6558 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6559 Call `tramp-error-with-buffer' with vector and buffer.
6560 (tramp-current-connection): Remove.
6561 (tramp-maybe-open-connection): The car of
6562 `tramp-current-connection' are the first 3 slots of the vector.
6564 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6566 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6567 inside continued strings.
6569 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6571 Timestamp fixes for undo (Bug#14824).
6572 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6574 2013-07-10 Leo Liu <sdl.web@gmail.com>
6576 * files.el (require-final-newline): Allow safe local value.
6579 2013-07-09 Leo Liu <sdl.web@gmail.com>
6581 * ido.el (ido-read-directory-name): Handle fallback.
6582 (ido-read-file-name): Update DIR to ido-current-directory.
6584 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6586 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6588 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6589 "autoload". Remove "warn lower camel case" section, previously
6590 commented out. Highlight negation char. Do not highlight the
6591 target in singleton method definitions.
6593 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6595 * faces.el (tty-setup-hook): Declare the hook.
6597 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6598 and detect when a guard/pred depends on local vars (bug#14773).
6599 (pcase--u1): Adjust caller.
6601 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6603 * simple.el (line-move-partial, line-move): Account for
6605 (line-move-partial): Avoid setting vscroll when the last
6606 partially-visible line in window is of default height.
6608 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6610 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6613 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6615 * subr.el (read-quoted-char): Remove unused local variable `char'.
6617 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6619 * ediff.el (ediff-version): Version update.
6620 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6621 (ediff-merge-with-ancestor-command, ediff-directories-command)
6622 (ediff-directories3-command, ediff-merge-directories-command)
6623 (ediff-merge-directories-with-ancestor-command): New functions.
6624 All are command-line interfaces to ediff: to facilitate calling
6625 Emacs with the appropriate ediff functions invoked.
6627 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6628 (viper-save-kill-buffer): Check if buffer is modified.
6630 * viper.el (viper-version): Version update.
6631 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6633 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6635 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6636 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6637 (viper-intercept-ESC-key): Simplify.
6638 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6639 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6640 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6641 (viper-setup-ESC-to-escape): New functions.
6642 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6643 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6645 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6647 * simple.el (default-font-height, window-screen-lines):
6649 (line-move, line-move-partial): Use them instead of
6650 frame-char-height and window-text-height. This makes scrolling
6651 text smoother when the buffer's default face uses a font that is
6652 different from the frame's default font.
6654 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6656 * files.el (write-file): Do not display confirm dialog for NS,
6657 it does its own dialog, which can't be cancelled (Bug#14578).
6659 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6661 * simple.el (line-move-partial): Adjust the row returned by
6662 posn-at-point for the current window-vscroll. (Bug#14567)
6664 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6666 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6667 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6670 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6672 * window.el (window-state-put-stale-windows): New variable.
6673 (window--state-put-2): Save list of windows without matching buffer.
6674 (window-state-put): Remove "bufferless" windows if possible.
6676 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6678 * simple.el (alternatives-define): Remove leftover :group keyword.
6681 2013-07-06 Leo Liu <sdl.web@gmail.com>
6683 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6684 (ido-enable-virtual-buffers): New variable.
6685 (ido-buffer-internal, ido-toggle-virtual-buffers)
6686 (ido-make-buffer-list): Use it.
6687 (ido-exhibit): Support turning on and off virtual buffers
6690 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6692 * simple.el (alternatives-define): New macro.
6694 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6696 * subr.el (read-quoted-char): Use read-key.
6697 (sit-for): Let read-event decode tty input (bug#14782).
6699 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6701 * calendar/todo-mode.el: Add handling of file deletion, both by
6702 mode command and externally. Fix various related bugs.
6703 Clarify Commentary and improve some documentation strings and code.
6704 (todo-delete-file): New command.
6705 (todo-check-file): New function.
6706 (todo-show): Handle external deletion of the file we're trying to
6707 show (bug#14688). Replace called-interactively-p by an optional
6708 prefix argument to avoid problematic interaction with catch form
6709 when byte compiled (bug#14702).
6710 (todo-quit): Handle external deletion of the archive's todo file.
6711 Make sure the buffer that was visiting the archive file is still
6712 live before trying to bury it.
6713 (todo-category-completions): Handle external deletion of any
6714 category completion files.
6715 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6716 of todo files, in case of external deletion.
6717 (todo-add-file): Replace unnecessary setq by let-binding.
6718 (todo-find-archive): Check whether there are any archives.
6719 Replace unnecessary setq by let-binding.
6720 (todo-archive-done-item): Use find-file-noselect to get the
6721 archive buffer whether or not the archive already exists.
6722 Remove superfluous code. Use file size instead of buffer-file-name to
6723 check if the archive is new; if it is, update list of archives.
6724 (todo-default-todo-file): Allow nil to be a valid value for when
6725 there are no todo files.
6726 (todo-reevaluate-default-file-defcustom): Use corrected definition
6727 of todo-default-todo-file.
6728 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6729 (todo-delete-category, todo-show-categories-table)
6730 (todo-category-number): Clarify comment.
6731 (todo-filter-items): Clarify documentation string.
6732 (todo-show-current-file, todo-display-as-todo-file)
6733 (todo-reset-and-enable-done-separator): Tweak documentation string.
6734 (todo-done-separator): Make separator length window-width, since
6735 bug#2749 is now fixed.
6737 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6739 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6740 Support both "gvfs-monitor-dir" and "inotifywait".
6741 (tramp-sh-file-inotifywait-process-filter): Rename from
6742 `tramp-sh-file-notify-process-filter'.
6743 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6744 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6746 2013-07-05 Leo Liu <sdl.web@gmail.com>
6748 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6750 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6752 * frame.el (display-pixel-height, display-pixel-width)
6753 (display-mm-height, display-mm-width): Mention behavior on
6754 multi-monitor setups in docstrings.
6755 (w32-display-monitor-attributes-list): Declare function.
6756 (display-monitor-attributes-list): Use it.
6758 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6760 * filenotify.el: New package.
6762 * autorevert.el (top): Require filenotify.el.
6763 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6765 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6766 (auto-revert-notify-handler): Use `file-notify-*' functions.
6768 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6770 * net/tramp.el (tramp-file-name-for-operation):
6771 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6773 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6774 for `file-notify-add-watch' and `file-notify-rm-watch'.
6775 (tramp-process-sentinel): Improve trace.
6776 (tramp-sh-handle-file-notify-add-watch)
6777 (tramp-sh-file-notify-process-filter)
6778 (tramp-sh-handle-file-notify-rm-watch)
6779 (tramp-get-remote-inotifywait): New defuns.
6781 2013-07-03 Juri Linkov <juri@jurta.org>
6783 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6784 call of `occur-read-primary-args' to interactive spec.
6786 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6787 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6789 2013-07-03 Matthias Meulien <orontee@gmail.com>
6791 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6792 `Buffer-menu-multi-occur'. Add it to the menu.
6793 (Buffer-menu-mode): Document it in docstring.
6794 (Buffer-menu-multi-occur): New command. (Bug#14673)
6796 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6798 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6799 keywords and built-ins.
6801 2013-07-03 Glenn Morris <rgm@gnu.org>
6803 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6805 Make info-xref checks case-sensitive by default
6806 * info.el (Info-find-node, Info-find-in-tag-table)
6807 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6808 Add option for exact case matching of nodes.
6809 * info-xref.el (info-xref): New custom group.
6810 (info-xref-case-fold): New option.
6811 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6813 2013-07-03 Leo Liu <sdl.web@gmail.com>
6815 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6817 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6819 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6820 middle of block statement initially, lower the depth. Remove
6821 FIXME comment, not longer valid. Remove middle of block statement
6822 detection, no need to do that anymore since we've been using
6823 `ruby-parse-region' here.
6825 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6827 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6829 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6831 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6833 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6835 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6836 (desktop-restore-in-current-display): New customization option.
6837 (desktop--excluded-frame-parameters): Add `font'.
6838 (desktop--save-frames): Rename from desktop--save-windows.
6839 (desktop--restore-in-this-display-p): New function.
6840 (desktop--make-full-frame): Remove unwanted width/height from
6841 full(width|height) frames.
6842 (desktop--restore-frames): Rename from desktop--restore-windows.
6843 Obey desktop-restore-current-display. Do not delete old frames or
6844 select a new frame unless we were able to restore at least one frame.
6846 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6848 * files.el (find-file-noselect): Simplify conditional expression.
6850 * remember.el (remember-append-to-file):
6851 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6853 Add `remember-notes' function to store random notes across Emacs
6855 * remember.el (remember-data-file): Add :set callback to affect
6856 notes buffer (if any).
6857 (remember-notes): New command.
6858 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6859 New defcustoms for the `remember-notes' function.
6860 (remember-notes-save-and-bury-buffer): New command.
6861 (remember-notes-mode-map): New variable.
6862 (remember-mode): New minor mode.
6863 (remember-notes--kill-buffer-query): New function.
6864 * startup.el (initial-buffer-choice): Add notes to custom type.
6866 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6868 * bindings.el (right-char, left-char): Don't call sit-for, this is
6869 no longer needed. Use arithmetic comparison only for numerical
6872 * international/mule-cmds.el (select-safe-coding-system):
6873 Handle the case of FROM being a string correctly. (Bug#14755)
6875 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6877 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6878 progression on degenerate tables.
6879 (shr-rescale-image): ImageMagick animated images currently don't work.
6881 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6883 Some fixes and improvements for desktop frame restoration.
6884 It is still experimental and disabled by default.
6885 * desktop.el (desktop--save-windows): Put the selected frame at
6886 the head of the list.
6887 (desktop--make-full-frame): New function.
6888 (desktop--restore-windows): Try to re-select the frame that was
6889 selected upon saving. Do not abort if some frames fail to restore,
6890 just show an error message and continue. Set up maximized frames
6891 so they have default non-maximized dimensions.
6893 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6895 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6896 Don't start heredoc inside a string or comment.
6898 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6900 * bindings.el (visual-order-cursor-movement): New defcustom.
6901 (right-char, left-char): Provide visual-order cursor motion by
6902 calling move-point-visually. Update the doc strings.
6904 2013-06-28 Kenichi Handa <handa@gnu.org>
6906 * international/mule.el (define-coding-system): New coding system
6907 properties :inhibit-null-byte-detection,
6908 :inhibit-iso-escape-detection, and :prefer-utf-8.
6909 (set-buffer-file-coding-system): If :charset-list property of
6910 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6911 appropriate for setting.
6913 * international/mule-cmds.el (select-safe-coding-system):
6914 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6915 multibyte characters, return utf-8 (or one of its siblings).
6917 * international/mule-conf.el (prefer-utf-8): New coding system.
6918 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6921 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6923 * net/shr.el (shr-render-region): New function.
6925 * net/eww.el: Autoload `eww-browse-url'.
6927 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6929 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6930 Adapt to `package-desc-version' being a list.
6931 Use `package--ac-desc-version' to retrieve version from a package
6934 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6936 New experimental feature to save&restore window and frame setup.
6937 * desktop.el (desktop-save-windows): New defcustom.
6938 (desktop--saved-states): New var.
6939 (desktop--excluded-frame-parameters): New defconst.
6940 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6941 (desktop--restore-windows, desktop--save-windows): New functions.
6942 (desktop-save): Call `desktop--save-windows'.
6943 (desktop-read): Call `desktop--restore-windows'.
6945 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6947 * net/shr.el (add-face-text-property): Remove compat definition.
6949 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6951 * info.el (Info-try-follow-nearest-node): Move search for footnote
6952 above search for node name to prevent missing a footnote (bug#14717).
6954 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6956 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6958 2013-06-27 Leo Liu <sdl.web@gmail.com>
6960 * net/eww.el (eww-read-bookmarks): Check file size.
6962 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6964 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6965 advice--pending if newdef is nil or an autoload (bug#13820).
6966 (advice-mapc): New function.
6968 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6970 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6972 (eww-mode-map): Add a menu bar.
6973 (eww-add-bookmark): New command.
6974 (eww-bookmark-mode): New mode and commands.
6975 (eww-add-bookmark): Remove newlines from the title.
6976 (eww-bookmark-browse): Don't bug out if it's the only window.
6978 2013-06-26 Glenn Morris <rgm@gnu.org>
6980 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6981 (hfy-size): Handle ttys. (Bug#14668)
6983 * info-xref.el: Update for Texinfo 5 change in *note format.
6984 (info-xref-node-re, info-xref-note-re): New constants.
6985 (info-xref-check-buffer): Use info-xref-note-re.
6987 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6989 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6991 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6992 nil terminate the loop (bug#14718).
6994 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6996 * net/eww.el: Rework history traversal. When going forward/back,
6997 put these actions into the history, too, so that they can be
6999 (eww-render): Move the history reset to the correct buffer.
7001 2013-06-25 Juri Linkov <juri@jurta.org>
7003 * files-x.el (modify-dir-local-variable): Change the header comment
7004 in the file with directory local variables. (Bug#14692)
7006 * files-x.el (read-file-local-variable-value): Add `default'.
7009 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7011 * net/eww.el (eww-make-unique-file-name): Create a unique file
7012 name before saving to entering `y' accidentally asynchronously.
7014 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7016 * net/eww.el (eww-download): New command and keystroke.
7018 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7020 * net/eww.el (eww-copy-page-url): Change name of command.
7022 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7023 be more consistent with Info and dired.
7025 * net/eww.el (eww-mode-map): Ditto.
7027 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7029 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7030 packages from archives.
7031 (package-archive-contents): Change format; include obsolete packages.
7032 (package-desc): Use `dir' to mark builtin packages.
7033 (package--from-builtin): Set the `dir' field to `builtin'.
7034 (generated-autoload-file, version-control): Declare.
7035 (package-compute-transaction): Change first arg and return value to be
7036 lists of package-descs. Adjust to new package-archive-contents format.
7037 (package--add-to-archive-contents): Adjust to new
7038 package-archive-contents format.
7039 (package-download-transaction): Arg is now a list of package-descs.
7040 (package-install): If `pkg' is a package name, pass it as
7041 a requirement, so it is subject to the usual (e.g. disabled) checks.
7042 (describe-package): Accept package-desc as well.
7043 (describe-package-1): Describe a specific package-desc. Add links to
7044 other package-descs for the same package name.
7045 (package-menu-describe-package): Pass the actual package-desc.
7046 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7048 (package-desc-status): New function.
7049 (package-menu--refresh): New function, extracted
7050 from package-menu--generate.
7051 (package-menu--generate): Use it.
7052 (package-delete): Update package-alist.
7053 (package-menu-execute): Don't call package-initialize.
7055 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7056 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7057 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7058 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7059 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7060 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7062 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7064 * window.el (window--state-get-1): Workaround for bug#14527.
7065 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7067 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7069 * net/eww.el (eww-back-url): Implement the history by stashing all
7070 the data into a list.
7071 (eww-forward-url): Allow going forward in the history, too.
7073 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7075 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7076 for values and use read--expression for expressions (bug#14710).
7077 (read-file-local-variable): Avoid setq.
7078 (read-file-local-variable-mode): Use minor-mode-list.
7080 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7082 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7085 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7087 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7088 Update imenu-support when dialect changes.
7090 2013-06-25 Leo Liu <sdl.web@gmail.com>
7092 * ido.el (ido-read-internal): Allow forward slash on windows.
7094 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7096 * net/eww.el (eww): Start of strings is \\`, not ^.
7098 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7100 * net/shr.el (shr-browse-url): Fix interactive spec.
7102 * net/eww.el (eww): Add a trailing slash to domain names.
7104 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7106 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7108 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7110 * net/shr.el (shr-browse-url): Use an external browser if given a
7113 * net/eww.el (eww-external-browser): Move to shr.
7115 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7117 * net/eww.el (eww): Work more correctly for file: URLs.
7118 (eww-detect-charset): Allow quoted charsets.
7119 (eww-yank-page-url): New command and keystroke.
7121 2013-06-24 Daiki Ueno <ueno@gnu.org>
7123 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7124 file name of gpg executable.
7125 (epg-context-program): New function.
7126 (epg-context-home-directory): New function.
7127 (epg-context-set-program): New function.
7128 (epg-context-set-home-directory): New function.
7129 (epg--start): Use `epg-context-program' instead of
7131 (epg--list-keys-1): Likewise.
7133 2013-06-24 Leo Liu <sdl.web@gmail.com>
7135 * ido.el (ido-read-internal): Fix bug#14620.
7137 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7139 * faces.el (face-documentation): Simplify.
7140 (read-face-attribute, tty-find-type, x-resolve-font-name):
7141 Use `string-match-p'.
7142 (list-faces-display): Use `string-match-p'. Simplify.
7143 (face-spec-recalc): Check face to avoid face alias loops.
7144 (read-color): Use `string-match-p' and non-capturing parenthesis.
7146 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7148 * net/shr.el (shr-rescale-image): Use the new
7149 :max-width/:max-height functionality.
7151 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7153 * net/eww.el (eww-search-prefix): New variable.
7155 (eww-external-browser): New variable.
7156 (eww-mode-map): New keystroke.
7157 (eww-browse-with-external-browser): New command.
7159 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7161 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7163 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7164 Don't skip aligning the next header field when padding is 0;
7165 otherwise, field width is not respected unless the title is as
7168 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7170 * emacs-lisp/package.el (package-el-version): Remove.
7171 (package-process-define-package): Fix inf-loop.
7172 (package-install): Allow symbols as arguments again.
7174 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7176 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7177 add some more keyword-like methods.
7178 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7180 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7182 * bs.el (bs-buffer-show-mark): Make defvar-local.
7183 (bs-mode): Use setq-local.
7185 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7186 (emacs-lock--try-unlocking): Make defvar-local.
7188 2013-06-22 Glenn Morris <rgm@gnu.org>
7190 * play/cookie1.el (cookie-apropos): Minor simplification.
7192 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7194 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7196 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7197 `regexp-opt', it breaks the build during dumping.
7199 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7201 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7202 Highlight keyword-like methods on Kernel and Module with
7203 font-lock-builtin-face.
7204 (auto-mode-alist): Consolidate different entries into one regexp
7205 and add more *file-s.
7207 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7209 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7211 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7212 (diary-entry): Use it in the action of this button type instead of
7215 * calendar/todo-mode.el: New version.
7216 (todo-add-category): Append new category to end of file and give
7217 it the highest number, instead of putting it at the beginning and
7218 giving it 0. Incorporate noninteractive functionality.
7219 (todo-forward-category): Adapt to 1-based category numbering.
7220 Allow skipping over archived categories.
7221 (todo-backward-category): Derive from todo-forward-category.
7222 (todo-backward-item, todo-forward-item): Make noninteractive and
7223 delegate interactive part to new commands. Make sensitive to done items.
7224 (todo-categories): Make value an alist of category names and
7225 vectors of item counts.
7226 (todo-category-beg): Make a defconst.
7227 (todo-category-number): Use 1 instead of 0 as initial value.
7228 (todo-category-select): Make sensitive to overlays, optional item
7229 highlighting and done items.
7230 (todo-delete-item): Make sensitive to overlays and marked and done items.
7231 (todo-edit-item): Make sensitive to overlays and editing of
7232 date/time header optional. Add format checks.
7233 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7234 no-op if point is not on an item. Advertise using todo-edit-quit.
7235 (todo-edit-mode): Make sensitive to new format, font-locking, and
7236 multiple todo files.
7237 (todo-insert-item, todo-insert-item-here): Derive from
7238 todo-basic-insert-item and extend functionality.
7239 (todo-item-end, todo-item-start): Make sensitive to done items.
7240 (todo-item-string): Don't return text properties. Restore point.
7241 (todo-jump-to-category): Make sensitive to multiple todo files and
7242 todo archives. Use extended category completion.
7243 (todo-lower-item, todo-raise-item): Rename to *-priority and
7244 derive from todo-set-item-priority.
7245 (todo-mode): Derive from special-mode. Make sensitive to new
7246 format, font-locking and multiple todo files. Make read-only.
7247 (todo-mode-map): Don't suppress digit keys, so they can supply
7248 prefix arguments. Add many new key bindings.
7249 (todo-prefix): Insert as an overlay instead of file text.
7250 Change semantics from diary date expression to purely visual mark.
7251 (todo-print): Rename to todo-print-buffer. Make buffer display
7252 features printable. Remove option to restrict number of items
7253 printed. Add option to print to file.
7254 (todo-print-function): Rename to todo-print-buffer-function.
7255 (todo-quit): Extend to handle exiting new todo modes.
7256 (todo-remove-item): Make sensitive to overlays.
7257 (todo-save): Extend to buffers of filtered items.
7258 (todo-show): Make sensitive to done items, multiple todo files and
7259 new todo modes. Offer to convert legacy todo file before creating
7260 first new todo file.
7261 (todo-show-priorities): Rename to todo-top-priorities.
7262 Change semantics of value 0.
7263 (todo-top-priorities): Rename to todo-filter-top-priorities,
7264 derive from todo-filter-items and extend functionality.
7265 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7266 and extend functionality to other types of filtered items.
7267 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7268 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7269 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7270 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7271 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7272 (todo-edit-mode-hook, todo-entry-prefix-function)
7273 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7274 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7275 (todo-initials, todo-insert-threshold, todo-item-string-start)
7276 (todo-line-string, todo-menu, todo-mode-hook)
7277 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7278 (todo-print-priorities, todo-remove-separator)
7279 (todo-save-top-priorities-too, todo-string-count-lines)
7280 (todo-string-multiline-p, todo-time-string-format)
7281 (todo-tmp-buffer-name): Remove.
7282 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7283 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7284 (todo-edit-category-diary-inclusion)
7285 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7286 (todo-edit-file, todo-edit-item-date-day)
7287 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7288 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7289 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7290 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7291 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7292 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7293 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7294 (todo-filter-top-priorities-multifile, todo-find-archive)
7295 (todo-find-filtered-items-file, todo-go-to-source-item)
7296 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7297 (todo-jump-to-archive-category, todo-lower-category)
7298 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7299 (todo-move-category, todo-move-item, todo-next-button)
7300 (todo-next-item, todo-padded-string, todo-powerset)
7301 (todo-previous-button, todo-previous-item)
7302 (todo-print-buffer-to-file, todo-raise-category)
7303 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7304 (todo-set-category-number, todo-set-item-priority)
7305 (todo-set-top-priorities-in-category)
7306 (todo-set-top-priorities-in-file, todo-show-categories-table)
7307 (todo-sort-categories-alphabetically-or-numerically)
7308 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7309 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7310 (todo-toggle-item-header, todo-toggle-item-highlighting)
7311 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7312 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7313 (todo-unarchive-items, todo-unmark-category): New commands.
7314 (todo-absolute-file-name, todo-add-to-buffer-list)
7315 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7316 (todo-basic-insert-item, todo-category-completions)
7317 (todo-category-number, todo-category-string-matcher-1)
7318 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7319 (todo-check-format, todo-clear-matches)
7320 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7321 (todo-current-category, todo-date-string-matcher)
7322 (todo-define-insertion-command, todo-diary-expired-matcher)
7323 (todo-diary-goto-entry, todo-diary-item-p)
7324 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7325 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7326 (todo-done-item-section-p, todo-done-separator)
7327 (todo-done-string-matcher, todo-files, todo-filter-items)
7328 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7329 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7330 (todo-insert-category-line, todo-insert-item-from-calendar)
7331 (todo-insert-sort-button, todo-insert-with-overlays)
7332 (todo-insertion-command-name, todo-insertion-key-bindings)
7333 (todo-label-to-key, todo-longest-category-name-length)
7334 (todo-make-categories-list, todo-mode-external-set)
7335 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7336 (todo-modes-set-3, todo-multiple-filter-files)
7337 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7338 (todo-read-category, todo-read-date, todo-read-dayname)
7339 (todo-read-file-name, todo-read-time)
7340 (todo-reevaluate-category-completions-files-defcustom)
7341 (todo-reevaluate-default-file-defcustom)
7342 (todo-reevaluate-filelist-defcustoms)
7343 (todo-reevaluate-filter-files-defcustom)
7344 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7345 (todo-reset-done-separator, todo-reset-done-separator-string)
7346 (todo-reset-done-string, todo-reset-global-current-todo-file)
7347 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7348 (todo-reset-prefix, todo-set-categories)
7349 (todo-set-date-from-calendar, todo-set-show-current-file)
7350 (todo-set-top-priorities, todo-short-file-name)
7351 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7352 (todo-total-item-counts, todo-update-buffer-list)
7353 (todo-update-categories-display, todo-update-categories-sexp)
7354 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7356 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7358 (todo-categories, todo-display, todo-edit, todo-faces)
7359 (todo-filtered): New defgroups.
7360 (todo-archived-only, todo-button, todo-category-string, todo-date)
7361 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7362 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7363 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7364 (todo-add-item-if-new-category, todo-always-add-time-string)
7365 (todo-categories-align, todo-categories-archived-label)
7366 (todo-categories-category-label, todo-categories-diary-label)
7367 (todo-categories-done-label, todo-categories-number-separator)
7368 (todo-categories-todo-label, todo-categories-totals-label)
7369 (todo-category-completions-files, todo-completion-ignore-case)
7370 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7371 (todo-done-separator-string, todo-done-string)
7372 (todo-files-function, todo-filter-done-items, todo-filter-files)
7373 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7374 (todo-initial-category, todo-initial-file, todo-item-mark)
7375 (todo-legacy-date-time-regexp, todo-mode-line-function)
7376 (todo-nondiary-marker, todo-number-prefix)
7377 (todo-print-buffer-function, todo-show-current-file)
7378 (todo-show-done-only, todo-show-first, todo-show-with-done)
7379 (todo-skip-archived-categories, todo-top-priorities-overrides)
7380 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7381 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7383 (todo-category-done, todo-date-pattern, todo-date-string-start)
7384 (todo-diary-items-buffer, todo-done-string-start)
7385 (todo-filtered-items-buffer, todo-item-start)
7386 (todo-month-abbrev-array, todo-month-name-array)
7387 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7388 (todo-top-priorities-buffer): New defconsts.
7389 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7390 (todo-categories-with-marks, todo-category-string-face)
7391 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7392 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7393 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7394 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7395 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7396 (todo-font-lock-keywords, todo-global-current-todo-file)
7397 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7398 (todo-insertion-commands-args)
7399 (todo-insertion-commands-args-genlist)
7400 (todo-insertion-commands-names, todo-insertion-map)
7401 (todo-key-bindings-t, todo-key-bindings-t+a)
7402 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7403 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7404 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7405 (todo-visited): New variables.
7407 2013-06-21 Glenn Morris <rgm@gnu.org>
7409 * play/cookie1.el (cookie-apropos): Add optional display argument.
7410 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7411 (psychoanalyze-pinhead): Use cookie-doctor.
7413 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7415 * emacs-lisp/package.el (tar-get-file-descriptor)
7416 (tar--extract): Declare.
7418 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7420 Extend flymake's warning predicate to be a function (bug#14217).
7421 * progmodes/flymake.el (flymake-warning-predicate): New.
7422 (flymake-parse-line): Use it.
7423 (flymake-warning-re): Make obsolete alias to
7424 `flymake-warning-predicate'.
7426 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7428 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7429 (package-obsolete-list): Remove.
7430 (package-activate): Remove min-version argument. Add `force' argument.
7431 Adjust to new package-alist format.
7432 (package-mark-obsolete): Remove.
7433 (package-unpack): Force reload of the package's autoloads.
7434 (package-installed-p): Check builtins if the installed package is not
7436 (package-initialize): Don't reset package-obsolete-list.
7437 Don't specify which package version to activate.
7438 (package-process-define-package, describe-package-1)
7439 (package-menu--generate): Adjust to new package-alist format.
7441 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7443 * allout-widgets.el (allout-widgets-mode-off)
7444 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7445 (allout-widgets-post-command-business)
7446 (allout-widgets-after-copy-or-kill-function)
7447 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7448 (allout-decorate-item-and-context)
7449 (allout-graphics-modification-handler): Fix typos in docstrings.
7450 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7452 * cmuscheme.el (scheme-start-file): Doc fix.
7453 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7454 (scheme-input-filter): Use `string-match-p'.
7456 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7458 * dired-x.el: Use Dired consistently in docstrings.
7460 * dired.el: Use Dired consistently in docstrings.
7461 (dired-readin, dired-mode): Use `setq-local'.
7462 (dired-switches-alist): Make defvar-local.
7463 (dired-buffers-for-dir): Use `zerop'.
7464 (dired-safe-switches-p, dired-switches-escape-p)
7465 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7466 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7467 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7468 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7469 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7470 (dired-toggle-marks, dired-mark-files-containing-regexp)
7471 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7472 (dired-flag-auto-save-files, dired-flag-backup-files):
7474 (dired-mark-files-regexp, dired-build-subdir-alist):
7475 Use `string-match-p', `looking-at-p'.
7477 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7478 (direct-print-region-helper): Use `string-match-p'.
7480 2013-06-21 Leo Liu <sdl.web@gmail.com>
7482 * comint.el (comint-redirect-results-list-from-process):
7485 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7487 * net/eww.el (eww-update-header-line-format): Quote % characters.
7489 2013-06-21 Glenn Morris <rgm@gnu.org>
7491 * play/cookie1.el (cookie): New custom group.
7492 (cookie-file): New option.
7493 (cookie-check-file): New function.
7494 (cookie): Make it interactive. Make start and end messages optional.
7495 Interactively, display the result. Default to cookie-file.
7496 (cookie-insert): Default to cookie-file.
7497 (cookie-snarf): Make start and end messages optional.
7498 Default to cookie-file. Use with-temp-buffer.
7499 (cookie-read): Rename from read-cookie.
7500 Make start and end messages optional. Default to cookie-file.
7501 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7503 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7504 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7506 2013-06-21 Leo Liu <sdl.web@gmail.com>
7508 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7510 2013-06-21 Glenn Morris <rgm@gnu.org>
7512 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7514 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7515 Daniel Hackney <dan@haxney.org>
7517 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7518 Consolidate the single-file vs tarball code.
7519 (package-desc-suffix): New function.
7520 (package-desc-full-name): Don't bother inlining it.
7521 (package-load-descriptor): Return the new package-desc.
7522 (package-mark-obsolete): Remove unused arg `package'.
7523 (package-unpack): Make it work for single files as well.
7524 Make it update package-alist.
7525 (package--make-autoloads-and-stuff): Rename from
7526 package--make-autoloads-and-compile. Don't compile any more.
7527 (package--compile): New function.
7528 (package-generate-description-file): New function, extracted from
7529 package-unpack-single.
7530 (package-unpack-single): Remove.
7531 (package--with-work-buffer): Add indentation and debugging info.
7532 (package-download-single): Remove.
7533 (package-install-from-archive): Rename from package-download-tar, make
7534 it take a pkg-desc, and make it work for single files as well.
7535 (package-download-transaction): Simplify.
7536 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7537 external tar program.
7538 (package-install-from-buffer): Remove `pkg-desc' argument.
7539 Use package-tar-file-info for tar-mode buffers.
7540 (package-install-file): Simplify accordingly.
7541 (package-archive-base): Change to take a pkg-desc.
7542 * tar-mode.el (tar--check-descriptor): New function, extracted from
7544 (tar-get-descriptor): Use it.
7545 (tar-get-file-descriptor): New function.
7546 (tar--extract): New function, extracted from tar-extract.
7547 (tar--extract): Use it.
7548 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7549 case the summary uses non-ascii. Adjust to new calling convention of
7550 package-tar-file-info.
7552 2013-06-21 Leo Liu <sdl.web@gmail.com>
7554 * comint.el (comint-redirect-results-list-from-process):
7555 Fix random delay. (Bug#14681)
7557 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7559 * profiler.el (profiler-format-number): Use log, not log10.
7561 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7563 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7565 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7567 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7568 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7570 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7571 (AUTOGENEL): ... here.
7572 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7573 (cl--defsubst-expand): Use it.
7575 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7577 * subr.el (log10): Move here from C code, and declare as obsolete.
7578 All uses of (log10 X) replaced with (log X 10).
7580 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7582 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7583 Declare with `defvar-local'.
7584 (tabulated-list-use-header-line, tabulated-list-entries)
7585 (tabulated-list-padding, tabulated-list-printer)
7586 (tabulated-list-sort-key): Declare with `defvar-local'.
7587 (tabulated-list-init-header, tabulated-list-print-fake-header):
7590 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7592 * arc-mode.el (archive-mode): Add `archive-write-file' to
7593 `write-contents-functions' also for remote files. (Bug#14652)
7595 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7597 * cus-edit.el (custom-commands): Fix typos.
7598 (custom-display): Fix tooltip text.
7599 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7600 Fix typos in docstrings.
7601 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7602 (custom-unlispify-menu-entry, custom-magic-value-create)
7603 (custom-add-see-also, custom-group-value-create): Use ?\s.
7604 (custom-guess-type, customize-apropos, editable-field)
7605 (custom-face-value-create): Use `string-match-p'.
7606 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7608 * custom.el (custom-load-symbol): Use `string-match-p'.
7610 * ansi-color.el: Convert to lexical binding.
7611 (ansi-colors): Fix URL.
7612 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7613 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7614 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7616 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7618 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7620 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7622 2013-06-19 Tom Tromey <tromey@redhat.com>
7624 * net/eww.el (eww-top-url): Remove.
7625 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7626 (eww-render): Set new variables. Don't set eww-top-url.
7627 (eww-handle-link): Handle "prev", "home", and "contents".
7628 Downcase the rel text.
7629 (eww-top-url): Choose best top URL.
7631 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7633 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7634 relying in widget.el. Using widget.el leads to too many
7635 user interface inconsistencies.
7636 (eww-self-insert): Implement entering commands in text fields.
7637 (eww-process-text-input): New function to make text input field editing
7639 (eww-submit): Rewrite to use the new-style form methods.
7640 (eww-select-display): Display the correct selected item.
7641 (eww-change-select): Implement changing the select value.
7642 (eww-toggle-checkbox): Implement radio/checkboxes.
7643 (eww-update-field): Fix compilation error.
7644 (eww-tag-textarea): Implement <textarea>.
7646 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7647 we don't shadow mode-specific bindings.
7649 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7652 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7654 2013-06-19 Glenn Morris <rgm@gnu.org>
7656 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7658 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7660 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7663 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7665 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7667 * net/browse-url.el (browse-url-browser-function):
7668 `eww-browse-url' has the right calling signature, `eww' does not.
7670 2013-06-19 Glenn Morris <rgm@gnu.org>
7672 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7673 Only eval autoloaded macros.
7674 (byte-compile-autoload): Only give the macro warning for macros.
7676 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7677 (ps-underlined-faces): Declare.
7679 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7680 (speedbar-add-supported-extension): Declare.
7682 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7683 Don't include a date stamp in the header of the generated file;
7684 it leads to needless differences between output files.
7686 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7688 * net/secrets.el (secrets-struct-secret-content-type):
7689 Replace check of introspection data by a test call of "CreateItem".
7690 Some servers do not offer introspection.
7692 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7694 * electric.el (electric-pair-mode): Improve interaction with
7695 electric-layout-mode.
7696 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7697 (electric-pair-syntax): Use text-mode-syntax-table in comments
7699 (electric-pair--insert): New function.
7700 (electric-pair-post-self-insert-function): Use it and
7701 electric--after-char-pos.
7703 2013-06-19 Leo Liu <sdl.web@gmail.com>
7705 * progmodes/octave.el (octave-help): Fix regexp.
7707 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7709 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7710 (shr-table-horizontal-line): Allow nil as a value, and change the
7712 (shr-insert-table-ruler): Respect the nil value.
7714 2013-06-18 Tom Tromey <tromey@barimba>
7716 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7718 (eww-open-file): New defun.
7719 (eww-render): Initialize new variables.
7720 (eww-display-html): Handle "link" and "a".
7721 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7722 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7723 (eww-back-url): Rename from eww-previous-url.
7724 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7727 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7729 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7730 Distinguish ternary operator tokens from slash symbol and slash
7733 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7735 Convert symbol prettification into minor mode and global minor mode.
7737 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7738 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7739 (prettify-symbols--keywords): Rename from
7740 `prog-prettify-symbols-alist' and make a local defvar.
7741 (prettify-symbols--compose-symbol): Rename from
7742 `prog--prettify-font-lock-compose-symbol'.
7743 (prettify-symbols--make-keywords): Rename from
7744 `prog-prettify-font-lock-symbols-keywords' and simplify.
7745 (prog-prettify-install): Remove.
7746 (prettify-symbols-mode): New minor mode, based on
7747 `prog-prettify-install'.
7748 (turn-on-prettify-symbols-mode): New function.
7749 (global-prettify-symbols-mode): New globalized minor mode.
7751 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7752 * progmodes/cfengine.el (cfengine3-mode):
7753 * progmodes/perl-mode.el (perl-mode): Don't call
7754 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7756 2013-06-18 Juri Linkov <juri@jurta.org>
7758 * files-x.el (modify-file-local-variable-message): New function.
7759 (modify-file-local-variable)
7760 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7761 and call `modify-file-local-variable-message' when it's non-nil.
7762 (add-file-local-variable, delete-file-local-variable)
7763 (add-file-local-variable-prop-line)
7764 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7765 and use it. (Bug#9820)
7767 2013-06-18 Juri Linkov <juri@jurta.org>
7769 * emulation/vi.el (vi-shell-op):
7770 * emulation/vip.el (vip-execute-com, ex-command):
7771 * emulation/viper-cmd.el (viper-exec-bang):
7772 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7773 the call of `shell-command-on-region'. (Bug#14637)
7775 * simple.el (shell-command-on-region): Doc fix.
7777 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7779 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7782 2013-06-18 Glenn Morris <rgm@gnu.org>
7784 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7786 * newcomment.el (comment-search-forward, comment-search-backward):
7787 Doc fix. (Bug#14376)
7789 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7791 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7792 (buffer-face-mode-invoke): Doc fix.
7794 2013-06-18 Matthias Meulien <orontee@gmail.com>
7796 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7797 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7799 2013-06-18 Glenn Morris <rgm@gnu.org>
7801 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7802 Replace obsolete function generic-make-keywords with its expansion.
7804 * progmodes/python.el (ffap-alist): Declare.
7806 * textmodes/reftex.el (bibtex-mode-map): Declare.
7808 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7810 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7811 (package-unpack, package-unpack-single): Return the pkg-dir.
7812 (package-download-transaction): Use it to update package-alist.
7814 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7816 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7819 2013-06-17 Juri Linkov <juri@jurta.org>
7821 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7823 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7825 * emacs-lisp/package.el (package-load-descriptor):
7826 Remove `with-syntax-table' call, `read' doesn't need it.
7827 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7829 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7831 * startup.el (command-line): Expand package name returned by
7832 `package--description-file' (bug#14639).
7834 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7836 * emacs-lisp/package.el (package-load-descriptor): Do not call
7837 `emacs-lisp-mode', just use its syntax table.
7839 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7841 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7842 `font-lock-extra-managed-props' if any prettifying keyword is added.
7843 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7844 (prog-mode): Use `setq-local'.
7846 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7848 * international/characters.el (standard-case-table): Set syntax of ?»
7849 and ?« to punctuation.
7851 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7853 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7854 Save relevant match data before calling `syntax-ppss' (bug#14595).
7856 2013-06-15 Juri Linkov <juri@jurta.org>
7858 * files-x.el (modify-file-local-variable-prop-line): Add local
7859 variables to the end of the existing comment on the first line.
7860 Use `file-auto-mode-skip' to skip interpreter magic line,
7861 and also skip XML declaration.
7863 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7865 * startup.el (package--builtin-versions): New var.
7866 (package-subdirectory-regexp): Remove.
7867 (package--description-file): Hard code its value instead.
7869 * emacs-lisp/package.el: Don't activate packages older than builtin.
7870 (package-obsolete-list): Rename from package-obsolete-alist, and make
7871 it into a simple list of package-desc.
7872 (package-strip-version): Remove.
7873 (package-built-in-p): Use package--builtin-versions.
7874 (package-mark-obsolete): Simplify.
7875 (package-process-define-package): Mark it obsolete if older than the
7877 (package-handle-response): Use line-end-position.
7878 (package-read-archive-contents, package--download-one-archive):
7880 (package--add-to-archive-contents): Skip if older than the builtin or
7882 (package-menu-describe-package): Fix last change.
7883 (package-list-unversioned): New var.
7884 (package-menu--generate): Use it.
7886 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7887 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7888 (autoload-builtin-package-versions): New variable.
7889 (autoload-generate-file-autoloads): Use them.
7890 Remove the list of autoloaded functions/macros from the
7891 (autoload...) comments.
7893 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7895 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7897 * simple.el (line-move-partial): Don't jump to the next screen
7898 line as soon as it becomes visible. Instead, continue enlarging
7899 the vscroll until the portion of a tall screen line that's left on
7900 display is about the height of the frame's default font.
7903 2013-06-15 Glenn Morris <rgm@gnu.org>
7905 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7906 compilation-error-regexp-alist void, or local while let-bound.
7908 * progmodes/make-mode.el (makefile-mode-syntax-table):
7909 Treat "=" as punctuation. (Bug#14614)
7911 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7913 * help-fns.el (describe-variable):
7914 Add extra line for permanent-local variables.
7916 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7918 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7919 Add export, import, library. (Bug#9164)
7920 (library): Set indent function.
7922 2013-06-14 Glenn Morris <rgm@gnu.org>
7924 * term/xterm.el (xterm--query):
7925 Stop after first matching handler. (Bug#14615)
7927 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7929 Add support for dired in saveplace.
7930 * dired.el (dired-initial-position-hook): New variable.
7931 (dired-initial-position): Call hook to place cursor position.
7932 * saveplace.el (save-place-to-alist): Add dired position.
7933 (save-place-dired-hook): New function.
7935 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7937 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7938 through a symbol rather than letrec.
7940 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7941 (package-desc): Add `dir' field.
7942 (package-desc-full-name): New function.
7943 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7944 (package-maybe-load-descriptor): Remove.
7945 (package-load-all-descriptors): Just call package-load-descriptor.
7946 (package--disabled-p): New function.
7947 (package-desc-vers, package-desc-doc): Remove aliases.
7948 (package--dir): Remove function.
7949 (package-activate): Check if a package is disabled.
7950 (package-process-define-package): New function, extracted from
7952 (define-package): Turn into a place holder.
7953 (package-unpack-single, package-tar-file-info):
7954 Use package--description-file.
7955 (package-compute-transaction): Use package--disabled-p.
7956 (package-download-transaction): Don't call
7957 package-maybe-load-descriptor since they're all loaded anyway.
7958 (package-install): Change argument to be a pkg-desc.
7959 (package-delete): Use a single pkg-desc argument.
7960 (describe-package-1): Use package-desc-dir instead of package--dir.
7961 Use package-desc property instead of package-symbol.
7962 (package-install-button-action): Adjust accordingly.
7963 (package--push): Rewrite.
7964 (package-menu--print-info): Adjust accordingly. Change the ID format
7966 (package-menu-describe-package, package-menu-get-status)
7967 (package-menu--find-upgrades, package-menu-mark-upgrades)
7968 (package-menu-execute, package-menu--name-predicate):
7970 * startup.el (package--description-file): New function.
7971 (command-line): Use it.
7972 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7973 Use package-desc-version.
7975 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7976 (byte-compile-preprocess): Use it.
7977 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7978 can't quite recognize.
7979 (byte-compile-add-to-list): Remove.
7980 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7981 (cconv-closure-convert): Add assertion.
7983 * emacs-lisp/map-ynp.el: Use lexical-binding.
7984 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7985 Factor out some repeated code.
7987 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7989 * subr.el (with-eval-after-load): New macro.
7990 (eval-after-load): Allow form to be a function.
7991 take advantage of lexical-binding.
7992 (do-after-load-evaluation): Use dolist and adjust to new format.
7993 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7995 2013-06-13 Juri Linkov <juri@jurta.org>
7997 * replace.el (perform-replace): Display "symbol " and other search
7998 modes from `isearch-message-prefix' in the *Help* buffer.
8000 * isearch.el (isearch-query-replace): Add " symbol" and other
8001 possible search modes from `isearch-message-prefix' to the prompt.
8002 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8003 when reading a regexp to collect.
8005 2013-06-13 Juri Linkov <juri@jurta.org>
8007 * isearch.el (word-search-regexp): Match whitespace if the search
8008 string begins or ends in whitespace. The LAX arg is applied to
8009 both ends of the search string. Use `regexp-quote' and explicit
8010 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8011 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8012 boundaries are replaced with symbol boundaries, and characters
8013 between symbols match non-word non-symbol syntax. (Bug#14602)
8015 2013-06-13 Juri Linkov <juri@jurta.org>
8017 * isearch.el (isearch-del-char): Don't exceed the length of
8018 `isearch-string' by the prefix arg. (Bug#14563)
8020 2013-06-13 Juri Linkov <juri@jurta.org>
8022 * isearch.el (isearch-yank-word, isearch-yank-line)
8023 (isearch-char-by-name, isearch-quote-char)
8024 (isearch-printing-char, isearch-process-search-char):
8025 Add optional count prefix arg. (Bug#14563)
8027 * international/isearch-x.el
8028 (isearch-process-search-multibyte-characters):
8029 Add optional count prefix arg.
8031 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8033 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8034 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8037 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8039 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8041 2013-06-13 Glenn Morris <rgm@gnu.org>
8043 * startup.el (tty-handle-args):
8044 Don't just discard "--" and anything after. (Bug#14608)
8046 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8048 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8050 Implement changes in Secret Service API. Make it backward compatible.
8051 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8052 (secrets-create-item): Use it. Prefix properties with interface.
8054 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8056 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8057 (term-emulate-terminal): Respect term-suppress-hard-newline.
8059 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8061 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8062 Only remove a `thumb-file' overlay. (Bug#14548)
8064 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8066 * mail/reporter.el (reporter-submit-bug-report):
8067 Handle missing package-name. (Bug#14600)
8069 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8071 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8072 (reftex-citation-prompt, reftex-default-bibliography)
8073 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8074 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8075 (reftex-bib-sort-author, reftex-bib-sort-year)
8076 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8077 (reftex-extract-bib-entries-from-thebibliography)
8078 (reftex-get-bibkey-default, reftex-get-bib-names)
8079 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8080 (reftex-format-bib-entry, reftex-parse-bibitem)
8081 (reftex-format-bibitem, reftex-do-citation)
8082 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8083 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8084 (reftex-insert-bib-matches, reftex-format-citation)
8085 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8086 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8087 existing comments into docstrings.
8089 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8091 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8093 2013-06-12 Andreas Schwab <schwab@suse.de>
8095 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8096 for auto-save files.
8098 2013-06-12 Glenn Morris <rgm@gnu.org>
8100 * ido.el (ido-delete-ignored-files): Remove.
8101 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8102 Go back to calling ido-ignore-item-p directly.
8104 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8106 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8108 * ido.el (ido-delete-ignored-files): New function,
8109 split from ido-make-file-list-1.
8110 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8111 (ido-make-file-list-1): Use ido-delete-ignored-files.
8113 2013-06-12 Leo Liu <sdl.web@gmail.com>
8115 * progmodes/octave.el (inferior-octave-startup)
8116 (inferior-octave-completion-table)
8117 (inferior-octave-track-window-width-change)
8118 (octave-eldoc-function-signatures, octave-help)
8119 (octave-find-definition): Use single quoted strings.
8120 (inferior-octave-startup-args): Change default value.
8121 (inferior-octave-startup): Do not hard code "-i" and
8122 "--no-line-editing".
8123 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8124 (inferior-octave-directory-tracker): Use it.
8125 (octave-goto-function-definition): Robustify.
8126 (octave-help): Support highlighting operators in 'See also'.
8127 (octave-find-definition): Find subfunctions only in Octave mode.
8129 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8131 * help-fns.el (help-fns--compiler-macro): If the handler function is
8132 named, then put a link to it.
8133 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8134 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8136 (cl-eval-when): Simplify debug spec.
8137 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8138 compiler-macro function instead of setting `compiler-macro-file'.
8140 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8142 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8143 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8145 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8146 Daniel Hackney <dan@haxney.org>
8148 First part of Daniel Hackney's patch to package.el.
8149 * emacs-lisp/package.el: Use defstruct.
8150 (package-desc): New, main struct.
8151 (package--bi-desc, package--ac-desc): New structs, used to describe the
8152 format in external files.
8153 (package-desc-vers): Replace with package-desc-version accessor.
8154 (package-desc-doc): Replace with package-desc-summary accessor.
8155 (package-activate-1): Remove `package' arg since the pkg-vec now
8157 (define-package): Use package-desc-from-define.
8158 (package-unpack-single): Change file-name arg to be a symbol.
8159 (package--add-to-archive-contents): Use package-desc-create and new
8160 accessor functions to package--ac-desc.
8161 (package-buffer-info, package-tar-file-info): Return a package-desc.
8162 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8163 arg to be a package-desc.
8164 (package-install-file): Adjust accordingly. Use \' to match EOS.
8165 (package--from-builtin): New function.
8166 (describe-package-1, package-menu--generate): Use it.
8167 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8168 (package-generate-autoloads): Idem and return the name of the file.
8169 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8170 Change pkg-info arg to be a package-desc.
8171 Use package-make-ac-desc.
8172 (package-upload-file): Use \' to match EOS.
8173 * finder.el (finder-compile-keywords): Use package-make-builtin.
8175 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8177 * vc/vc.el (vc-deduce-fileset): Change error message.
8178 (vc-read-backend): New function.
8179 (vc-next-action): Use it.
8181 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8183 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8184 (prolog-font-lock-keywords): Use regexp-opt instead.
8185 Don't manually highlight strings.
8186 (prolog-mode-variables): Simplify comment-start-skip.
8187 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8189 * emacs-lisp/generic.el (generic--normalise-comments)
8190 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8191 (generic-mode-set-comments): Use them.
8192 (generic-bracket-support): Use setq-local.
8193 (generic-make-keywords-list): Declare obsolete.
8195 2013-06-11 Glenn Morris <rgm@gnu.org>
8197 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8198 Prettify after setting font-lock-defaults. (Bug#14574)
8200 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8202 * replace.el (query-replace, occur-read-regexp-defaults-function)
8204 * subr.el (declare-function, number-sequence, local-set-key)
8205 (substitute-key-definition, locate-user-emacs-file)
8206 (with-silent-modifications, split-string, eval-after-load):
8207 Fix typos, remove unneeded backslashes and reflow some docstrings.
8209 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8211 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8212 default for Elisp files.
8214 2013-06-11 Glenn Morris <rgm@gnu.org>
8216 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8217 although define-derived-mode was doing this anyway. (Bug#14583)
8219 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8221 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8222 Fix make-variable-buffer-local call to refer to the correct variable.
8224 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8226 * eshell/em-term.el (eshell-visual-commands)
8227 (eshell-visual-subcommands, eshell-visual-options):
8228 Add summary line to docstrings. Add cross-references.
8230 2013-06-10 Glenn Morris <rgm@gnu.org>
8232 * epa.el (epa-read-file-name): New function. (Bug#14510)
8233 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8235 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8237 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8238 output redirection to be ignored with visual commands.
8240 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8242 * eshell/em-term.el (eshell-visual-command-p): New function.
8243 (eshell-term-initialize): Move long lambda to separate function
8244 eshell-visual-command-p.
8245 * eshell/em-dirs.el (eshell-dirs-initialise):
8246 * eshell/em-script.el (eshell-script-initialize):
8247 Add missing #' to lambda.
8249 2013-06-08 Leo Liu <sdl.web@gmail.com>
8251 * progmodes/octave.el (octave-add-log-current-defun): New function.
8252 (octave-mode): Set add-log-current-defun-function.
8253 (octave-goto-function-definition): Do not move point if not found.
8254 (octave-find-definition): Enhance to try subfunctions first.
8256 2013-06-08 Glenn Morris <rgm@gnu.org>
8258 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8259 (byte-compile-backward-char, byte-compile-backward-word):
8260 Improve previous change, to handle non-explicit nil.
8262 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8264 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8265 (smie--opener/closer-at-point): New function.
8266 (smie--matching-block-data): Use it. Don't match from right after an
8267 opener or right before a closer. Obey smie-blink-matching-inners.
8268 Don't signal a mismatch for repeated inners like "switch..case..case".
8270 2013-06-07 Leo Liu <sdl.web@gmail.com>
8272 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8274 (octave-function-header-regexp): Fix. (Bug#14570)
8275 (octave-help-mode-finish-hook, octave-help-mode-finish):
8276 Remove. Just use temp-buffer-show-hook.
8278 * newcomment.el (comment-search-backward): Revert last change.
8281 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8283 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8285 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8286 through xargs, to avoid failure due to MS-Windows limitations on
8287 command-line length.
8289 2013-06-06 Glenn Morris <rgm@gnu.org>
8291 * font-lock.el (lisp-font-lock-keywords-2):
8292 Treat user-error like error.
8294 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8295 (byte-compile-backward-char, byte-compile-backward-word):
8296 Handle explicit nil arguments. (Bug#14565)
8298 2013-06-05 Alan Mackenzie <acm@muc.de>
8300 * isearch.el (isearch-allow-prefix): New user option.
8301 (isearch-other-meta-char): Don't exit isearch when a prefix
8302 argument is typed whilst `isearch-allow-prefix' is non-nil.
8305 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8307 * autorevert.el (auto-revert-notify-handler): Use memq.
8308 Hide assertion failure.
8310 * skeleton.el: Use cl-lib.
8311 (skeleton-further-elements): Use defvar-local.
8312 (skeleton-insert): Use cl-progv.
8314 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8316 * progmodes/prog-mode.el (prog-prettify-symbols)
8317 (prog-prettify-install): Update docstrings.
8319 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8321 * simple.el: Move all the prog-mode code to prog-mode.el.
8322 * progmodes/prog-mode.el: New file.
8323 * loadup.el: Add prog-mode.el.
8325 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8327 * simple.el (prog-prettify-symbols): Add version.
8328 (prog-prettify-install): Add convenience function to prettify symbols.
8330 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8331 (perl--augmented-font-lock-keywords-1)
8332 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8333 variables and use it.
8335 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8336 (cfengine3-mode): Remove unneeded variable and use it.
8338 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8339 (lisp--augmented-font-lock-keywords-1)
8340 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8341 Remove unneeded variables and use it.
8343 2013-06-05 João Távora <joaotavora@gmail.com>
8345 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8346 to point when opening the connection. (Bug#14380)
8348 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8350 * subr.el (load-history-regexp, load-history-filename-element)
8351 (eval-after-load, after-load-functions, do-after-load-evaluation)
8352 (eval-next-after-load, display-delayed-warnings)
8353 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8354 definition of save-match-data.
8355 (overriding-local-map): Remove accidental obsolescence declaration.
8357 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8359 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8361 Generalize symbol prettify support to prog-mode and implement it
8362 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8363 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8364 (prog--prettify-font-lock-compose-symbol)
8365 (prog-prettify-font-lock-symbols-keywords): New variables and
8366 functions to support symbol prettification.
8367 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8368 (lisp--augmented-font-lock-keywords-1)
8369 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8370 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8371 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8372 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8373 Implement prettify of -> => :: strings.
8374 * progmodes/perl-mode.el (perl-prettify-symbols)
8375 (perl--font-lock-compose-symbol)
8376 (perl--font-lock-symbols-keywords): Move to prog-mode.
8377 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8378 (perl-font-lock-keywords-1)
8379 (perl-font-lock-keywords-2): Remove explicit prettify support.
8380 (perl--augmented-font-lock-keywords)
8381 (perl--augmented-font-lock-keywords-1)
8382 (perl--augmented-font-lock-keywords-2, perl-mode):
8383 Implement prettify support.
8385 2013-06-05 Leo Liu <sdl.web@gmail.com>
8387 Re-implement smie matching block highlight using
8388 show-paren-data-function. (Bug#14395)
8389 * emacs-lisp/smie.el (smie-matching-block-highlight)
8390 (smie--highlight-matching-block-overlay)
8391 (smie--highlight-matching-block-lastpos)
8392 (smie-highlight-matching-block)
8393 (smie-highlight-matching-block-mode): Remove.
8394 (smie--matching-block-data-cache): New variable.
8395 (smie--matching-block-data): New function.
8396 (smie-setup): Use smie--matching-block-data for
8397 show-paren-data-function.
8399 * progmodes/octave.el (octave-mode-menu): Fix.
8400 (octave-find-definition): Skip garbage lines.
8402 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8404 Fix compilation error with simultaneous dynamic+lexical scoping.
8405 Add warning when a defvar appears after the first let-binding.
8406 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8407 (byte-compile-close-variables): Initialize it.
8408 (byte-compile--declare-var): New function.
8409 (byte-compile-file-form-defvar)
8410 (byte-compile-file-form-define-abbrev-table)
8411 (byte-compile-file-form-custom-declare-variable): Use it.
8412 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8413 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8414 (byte-compile-bind): Handle dynamic bindings that shadow
8416 (byte-compile-unbind): Make arg non-optional.
8417 (byte-compile-let): Simplify.
8418 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8419 (cconv--analyse-function, cconv-analyse-form): Populate it.
8420 Protect byte-compile-bound-variables to limit the scope of defvars.
8421 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8422 Remove unneeded rule for `declare'.
8424 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8425 so as to avoid depending on cl-adjoin at run-time.
8426 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8428 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8429 (macroexp--warn-and-return): Use it.
8431 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8433 * lisp/subr.el: Convert to lexical binding.
8434 (overriding-local-map): Make obsolete.
8435 (add-to-list): Doc fix. Add compiler macro.
8436 (read-key): Swap values of local maps.
8438 2013-06-05 Leo Liu <sdl.web@gmail.com>
8440 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8442 2013-06-04 Leo Liu <sdl.web@gmail.com>
8444 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8445 (compilation-auto-jump): Suppress the "Mark set" message to give
8446 way to exit message.
8448 2013-06-04 Alan Mackenzie <acm@muc.de>
8450 Remove faulty optimisation from indentation calculation.
8451 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8452 search limit based on 2000 characters back from indent-point.
8454 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8456 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8458 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8460 * emacs-lisp/lisp.el: Use lexical-binding.
8461 (lisp--local-variables-1, lisp--local-variables): New functions.
8462 (lisp--local-variables-completion-table): New var.
8463 (lisp-completion-at-point): Use it complete let-bound vars.
8465 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8466 eagerly (bug#14422).
8468 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8470 * autorevert.el (auto-revert-notify-enabled)
8471 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8472 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8473 (auto-revert-notify-handler): Handle also gfilenotify.
8475 * subr.el (file-notify-handle-event): New defun. Replacing ...
8476 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8479 2013-06-03 Juri Linkov <juri@jurta.org>
8481 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8482 `M-s h .'. (Bug#14427)
8484 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8485 command `hi-lock-face-symbol-at-point'.
8486 (hi-lock-face-symbol-at-point): New command.
8487 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8488 (hi-lock-menu): Add `highlight-symbol-at-point'.
8489 (hi-lock-mode): Doc fix.
8491 * isearch.el (isearch-forward-symbol-at-point): New command.
8492 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8493 (isearch-highlight-regexp): Add a regexp which matches
8494 words/symbols for word/symbol mode.
8496 * subr.el (find-tag-default-bounds): New function with the body
8497 mostly moved from `find-tag-default'.
8498 (find-tag-default): Move most code to `find-tag-default-bounds',
8499 call it and apply `buffer-substring-no-properties' afterwards.
8501 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8503 * eshell/em-term.el (eshell-term-initialize):
8504 Use `cl-intersection' rather than `intersection'.
8506 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8508 * vc/log-view.el: Doc fix.
8509 (log-view-mode-map): Copy keymap from `special-mode-map'.
8511 2013-06-02 Eric Ludlam <zappo@gnu.org>
8513 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8514 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8515 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8516 (eieio-unbound, eieio-default-superclass)
8517 (eieio--define-field-accessors, method-static, method-before)
8518 (method-primary, method-after, method-num-lists)
8519 (method-generic-before, method-generic-primary)
8520 (method-generic-after, method-num-slots)
8521 (eieio-specialized-key-to-generic-key)
8522 (eieio--check-type, class-v, class-p)
8523 (eieio-class-name, define-obsolete-function-alias)
8524 (eieio-class-parents-fast, eieio-class-children-fast)
8525 (same-class-fast-p, class-constructor, generic-p)
8526 (generic-primary-only-p, generic-primary-only-one-p)
8527 (class-option-assoc, class-option, eieio-object-p)
8528 (class-abstract-p, class-method-invocation-order)
8529 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8530 (eieio-class-un-autoload, eieio-defclass)
8531 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8532 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8533 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8534 (eieio-defgeneric-reset-generic-form)
8535 (eieio-defgeneric-form-primary-only)
8536 (eieio-defgeneric-reset-generic-form-primary-only)
8537 (eieio-defgeneric-form-primary-only-one)
8538 (eieio-defgeneric-reset-generic-form-primary-only-one)
8539 (eieio-unbind-method-implementations)
8540 (eieio--defmethod, eieio--typep)
8541 (eieio-perform-slot-validation, eieio-validate-slot-value)
8542 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8543 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8544 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8545 (eieio-slot-name-index, eieio-class-slot-name-index)
8546 (eieio-set-defaults, eieio-initarg-to-attribute)
8547 (eieio-attribute-to-initarg, eieio-c3-candidate)
8548 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8549 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8550 (eieio-class-precedence-list, eieio-generic-call-methodname)
8551 (eieio-generic-call-arglst, eieio-generic-call-key)
8552 (eieio-generic-call-next-method-list)
8553 (eieio-pre-method-execution-functions, eieio-generic-call)
8554 (eieio-generic-call-primary-only, eieiomt-method-list)
8555 (eieiomt-optimizing-obarray, eieiomt-install)
8556 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8557 (eieio-generic-form, eieio-defmethod, make-obsolete)
8558 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8559 (defclass): Remove `eval-and-compile' from macro.
8560 (call-next-method, shared-initialize): Instead of using
8561 `scoped-class' variable, use new eieio--scoped-class, and
8562 eieio--with-scoped-class.
8563 (initialize-instance): Rename local variable 'scoped-class' to
8564 'this-class' to remove ambiguitity from old global.
8566 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8568 (eieio--scoped-class-stack): New variable.
8569 (eieio--scoped-class): New fcn.
8570 (eieio--with-scoped-class): New scoping macro.
8571 (eieio-defclass): Use pushnew instead of add-to-list.
8572 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8573 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8574 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8575 `scoped-class' variable, use new eieio--scoped-class, and
8576 eieio--with-scoped-class.
8578 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8580 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8582 * eshell/esh-ext.el (eshell-external-command): Pass args to
8583 `eshell-find-interpreter'.
8584 (eshell-find-interpreter): Add new second parameter ARGS.
8586 * eshell/em-script.el (eshell-script-initialize): Add second arg
8587 to the function added as MATCH to `eshell-interpreter-alist'.
8589 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8590 the function added as MATCH to `eshell-interpreter-alist'.
8592 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8593 (eshell-visual-options): New defcustom.
8594 (eshell-escape-control-x): Adapt docstring.
8595 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8596 `eshell-visual-options' in addition to `eshell-visual-commands'.
8597 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8599 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8601 * progmodes/python.el (python-indent-block-enders): Add break,
8602 continue and raise keywords.
8604 2013-06-01 Glenn Morris <rgm@gnu.org>
8606 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8608 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8609 * progmodes/cc-cmds.el (delete-forward-p):
8610 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8611 * progmodes/cc-engine.el (buffer-syntactic-context):
8612 * progmodes/cc-fonts.el (face-property-instance):
8613 * progmodes/cc-mode.el (set-keymap-parents):
8614 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8615 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8616 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8617 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8618 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8620 * progmodes/cc-vars.el (other): Emacs has this widget since
8621 at least 21.1, so don't (re)define it.
8623 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8624 Replace the obsolete alias pcomplete-arg-quote-list.
8626 2013-06-01 Leo Liu <sdl.web@gmail.com>
8628 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8630 (inferior-octave-minimal-columns)
8631 (inferior-octave-last-column-width): New variables.
8632 (inferior-octave-track-window-width-change): New function.
8633 (inferior-octave-mode): Adjust column width so that Octave output,
8634 for example from 'ls', can fit into the window nicely.
8636 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8638 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8639 Highlight expansions inside regexp literals.
8641 2013-05-31 Glenn Morris <rgm@gnu.org>
8643 * obsolete/sym-comp.el (symbol-complete):
8644 Replace obsolete completion-annotate-function.
8646 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8648 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8650 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8651 New function, checks if point is inside a literal that allows
8652 expression expansion.
8653 (ruby-syntax-propertize-expansion): Use it.
8654 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8657 2013-05-30 Juri Linkov <juri@jurta.org>
8659 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8661 (isearch-invisible): New variable.
8662 (isearch-forward): Doc fix.
8663 (isearch-mode): Set `isearch-invisible'
8664 to the value of `search-invisible'.
8665 (isearch-toggle-case-fold): Doc fix.
8666 (isearch-toggle-invisible): New command.
8667 (isearch-query-replace): Let-bind `search-invisible'
8668 to the value of `isearch-invisible'.
8669 (isearch-search): Use `isearch-invisible' instead of
8670 `search-invisible'. Let-bind `search-invisible'
8671 to the value of `isearch-invisible'. (Bug#11378)
8673 2013-05-30 Juri Linkov <juri@jurta.org>
8675 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8676 call when `query-flag' is nil and `search-invisible' is non-nil.
8679 2013-05-30 Glenn Morris <rgm@gnu.org>
8681 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8683 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8684 (cc-require): Suppress spurious "noruntime" warnings.
8685 (cc-require-when-compile): Use fboundp, for sake of compiler.
8687 * progmodes/cc-mode.el: Move load of cc-vars before that of
8688 cc-langs (which in turn loads cc-vars), to quieten compiler.
8690 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8692 * paren.el: Simplify the code.
8693 (show-paren-mode): Always start the timer.
8694 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8695 (show-paren--overlay, show-paren--overlay-1): Rename from
8696 show-paren-overlay and show-paren-overlay-1, and initialize to an
8697 overlay rather than to nil.
8698 (show-paren-function): Misc cleanup and simplifications.
8700 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8702 * paren.el (show-paren-data-function): New hook.
8703 (show-paren--default): New function, extracted from show-paren-function.
8704 (show-paren-function): Use show-paren-data-function.
8706 2013-05-30 Glenn Morris <rgm@gnu.org>
8708 * ielm.el (ielm-map, ielm-complete-symbol):
8709 Use completion-at-point rather than obsolete functions.
8710 (inferior-emacs-lisp-mode): Doc fix.
8711 Set completion-at-point-functions, rather than
8712 comint-dynamic-complete-functions.
8714 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8715 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8716 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8718 * image.el (image-animated-p): Tweak definition.
8720 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8721 (rlogin-process-connection-type): Tweak default. Add set-after.
8722 (rlogin-host): Doc fix.
8723 (rlogin): Tweak prompt.
8724 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8726 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8727 * progmodes/tcl.el (inferior-tcl-mode-map):
8728 Use completion-at-point rather than obsolete alias.
8730 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8732 * minibuffer.el (read-file-name-completion-ignore-case):
8733 Move before completion--in-region, for eager macro expansion.
8735 2013-05-29 Juri Linkov <juri@jurta.org>
8737 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8738 for total count of matching lines. Add `global-matches' for total
8739 count of matches. Rename `matches' to `lines' for count of
8740 matching lines. Add `matches' for count of matches.
8741 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8742 to `prev-line' for line number of prev match endpt.
8743 Increment `matches' for every match. Print the number of
8744 matching lines in the header.
8745 (occur-context-lines): Rename `lines' to `curr-line'.
8746 Rename `prev-lines' to `prev-line'. (Bug#14017)
8748 2013-05-29 Juri Linkov <juri@jurta.org>
8750 * replace.el (perform-replace): Add `skip-read-only-count',
8751 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8752 Increment them for corresponding conditions and report the number
8753 of skipped occurrences in the final message. (Bug#11746)
8754 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8755 (replace-string, replace-regexp): Doc fix.
8757 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8759 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8761 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8762 prog-mode-map (bug#14504).
8764 2013-05-29 Leo Liu <sdl.web@gmail.com>
8766 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8767 (octave-help): Small simplification.
8769 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8770 off the highlight first.
8772 2013-05-29 Glenn Morris <rgm@gnu.org>
8774 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8775 Handle idlwave-last-system-routine-info-cons-cell being nil.
8777 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8778 (idlwave-write-paths): Simplify via with-temp-buffer.
8780 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8781 * emulation/cua-rect.el: Also load cua-base at run time.
8783 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8784 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8785 (cperl-imenu-on-info): Require imenu.
8787 2013-05-28 Alan Mackenzie <acm@muc.de>
8789 Handle "capitalised keywords" correctly.
8790 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8792 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8794 * eshell/em-unix.el: Add -r option to cp.
8796 2013-05-28 Glenn Morris <rgm@gnu.org>
8798 * vc/vc-arch.el (vc-exec-after): Declare.
8799 (vc-switches): Autoload.
8800 * vc/vc-bzr.el: No need to require vc when compiling.
8801 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8802 (vc-resynch-buffer, vc-dir-refresh): Declare.
8803 (vc-setup-buffer, vc-switches): Autoload.
8804 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8805 (vc-resynch-buffer): Declare.
8806 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8807 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8808 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8809 (grep-read-regexp, grep-read-files, grep-expand-template)
8810 (vc-dir-refresh): Declare.
8811 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8812 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8813 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8814 * vc/vc-mtn.el (vc-exec-after): Declare.
8815 (vc-switches): Autoload.
8816 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8817 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8818 (vc-file-tree-walk): Declare.
8819 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8820 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8821 (vc-tag-precondition, vc-rename-master): Autoload.
8822 * vc/vc-svn.el (vc-exec-after): Declare.
8823 (vc-switches, vc-setup-buffer): Autoload.
8824 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8826 (vc-resynch-buffer): Declare.
8828 * obsolete/fast-lock.el (byte-compile-warnings):
8829 Don't warn about obsolete features in this obsolete file.
8831 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8832 Move definition before use.
8834 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8835 (dun-unix-verbs): Remove dun-zippy.
8836 (dun-zippy): Remove function.
8838 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8840 2013-05-27 Juri Linkov <juri@jurta.org>
8842 * replace.el (replace-search): New function with code moved out
8843 from `perform-replace'.
8844 (replace-highlight, replace-dehighlight): Move function definitions
8845 up closer to `replace-search'. (Bug#11746)
8847 2013-05-27 Juri Linkov <juri@jurta.org>
8849 * replace.el (perform-replace): Ignore invisible matches.
8850 In addition to checking `query-replace-skip-read-only', also
8851 filter out matches by calling `run-hook-with-args-until-failure'
8852 on `isearch-filter-predicates', and also check `search-invisible'
8853 for t or call `isearch-range-invisible'.
8854 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8856 2013-05-27 Juri Linkov <juri@jurta.org>
8858 * isearch.el (isearch-filter-predicates): Rename from
8859 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8860 (isearch-message-prefix): Display text from the property
8861 `isearch-message-prefix' of the currently active filters.
8862 (isearch-search): Don't compare `isearch-filter-predicate' with
8863 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8864 on `isearch-filter-predicates'. Also check `search-invisible' for t
8865 or call `isearch-range-invisible'.
8866 (isearch-filter-visible): Make obsolete.
8867 (isearch-lazy-highlight-search):
8868 Call `run-hook-with-args-until-failure' on
8869 `isearch-filter-predicates' and use `isearch-range-invisible'.
8871 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8872 `isearch-filter-predicates' instead of `funcall'ing
8873 `isearch-filter-predicate'.
8874 (Info-mode): Set `Info-isearch-filter' to
8875 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8877 * dired-aux.el (dired-isearch-filter-predicate-orig):
8879 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8880 (dired-isearch-filenames-end): Add and remove
8881 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8882 instead of changing the value of `isearch-filter-predicate'.
8883 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8884 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8885 Put property `isearch-message-prefix' to "filename " on
8886 `dired-isearch-filter-filenames'.
8888 * wdired.el (wdired-change-to-wdired-mode):
8889 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8890 locally instead of changing `isearch-filter-predicate'.
8891 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8893 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8895 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8896 return the commit hash (Bug#14459). Also set the
8897 `vc-git-detached' property.
8898 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8899 (vc-git-mode-line-string): Use the same help-echo format whether
8900 in detached mode or not, because we know the actual revision now.
8901 When in detached mode, shorten the revision to 7 chars.
8903 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8905 * emacs-lisp/easy-mmode.el (define-minor-mode):
8906 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8907 mode hook and provide a docstring.
8909 2013-05-27 Alan Mackenzie <acm@muc.de>
8911 Remove spurious syntax-table text properties inserted by C-y.
8912 * progmodes/cc-mode.el (c-after-change): Also clear hard
8913 syntax-table property with value nil.
8915 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8917 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8918 when reading the events; the buffer layout shall not be changed.
8920 2013-05-27 Leo Liu <sdl.web@gmail.com>
8922 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8924 (inferior-octave-directory-tracker): Automatically re-sync
8926 (octave-help): Improve handling of 'See also'.
8928 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8930 * doc-view.el: Minor naming convention tweaks.
8931 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8933 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8934 even if there's no `display' property yet (bug#14435).
8936 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8938 * subr.el (unmsys--file-name): Rename from reveal-filename.
8940 * Makefile.in (custom-deps, finder-data, autoloads)
8941 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8942 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8943 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8945 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8947 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8948 error-completion on the first 2 args of condition-case (bug#14446).
8951 2013-05-25 Leo Liu <sdl.web@gmail.com>
8953 * comint.el (comint-previous-matching-input): Do not flood the
8954 *Messages* buffer with trivial messages.
8956 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8958 * progmodes/flymake.el (flymake-nop): Don't return a string.
8959 (flymake-set-at): Fix typo.
8961 * simple.el (read--expression): New function, extracted from
8962 eval-expression. Set completion-at-point-functions (bug#14465).
8963 (eval-expression, eval-minibuffer): Use it.
8965 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8967 * progmodes/flymake.el (flymake-save-buffer-in-file)
8968 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8969 (flymake-selected-frame, flymake-log, flymake-ins-after)
8970 (flymake-set-at, flymake-get-buildfile-from-cache)
8971 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8972 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8973 Refine the doc string.
8974 (flymake-get-file-name-mode-and-masks): Reformat.
8975 (flymake-get-real-file-name-function): Fix a minor bug.
8977 2013-05-24 Juri Linkov <juri@jurta.org>
8979 * progmodes/grep.el (grep-mode-font-lock-keywords):
8980 Support =linenumber= format used by git-grep for lines with
8981 function names. (Bug#13549)
8983 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8985 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8986 0 after a semi-colon; it works better for smie-auto-fill.
8987 (octave--indent-new-comment-line): New function.
8988 (octave-indent-new-comment-line): Use it (indirectly).
8989 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8990 modify comment-line-break-function.
8992 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8993 (smie-setup): Use add-function to set it.
8995 2013-05-24 Sam Steingold <sds@gnu.org>
8997 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8998 argument (before the `interactive' argument).
9000 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9002 * image-mode.el (image-mode-winprops): Add winprops to
9003 image-mode-winprops-alist before running
9004 image-mode-new-window-functions.
9005 * doc-view.el (doc-view-new-window-function): Don't delay
9006 doc-view-goto-page via timers (bug#14435).
9008 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9010 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9011 (doc-view-desktop-save-buffer): New function.
9012 (doc-view-restore-desktop-buffer): New function.
9013 (desktop-buffer-mode-handlers):
9014 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9016 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9017 `desktop-save-buffer' function.
9019 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9021 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9022 (tramp-gvfs-file-name-handler): Raise a user error when
9023 `tramp-gvfs-enabled' is nil.
9024 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9025 Do not raise a user error when loading package. (Bug#14447)
9027 * net/xesam.el: Move to obsolete/.
9029 2013-05-24 Glenn Morris <rgm@gnu.org>
9031 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9033 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9035 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9036 (Info-find-node, Man-getpage-in-background): Declare.
9038 * mail/unrmail.el (unrmail):
9039 Replace obsolete detect-coding-with-priority.
9041 * net/socks.el (socks-split-string): Use this rather than split-string.
9042 (socks-nslookup-host): Update for above change.
9043 (dynamic-choice, s5-dynamic-choice-match)
9044 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9045 Comment out unused code.
9047 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9048 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9049 (gud-tooltip-echo-area): Make obsolete.
9050 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9052 * progmodes/js.el (js--optimize-arglist): Declare.
9054 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9056 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9057 (ediff-window-C): Declare.
9059 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9060 Tweak requires to silence compiler.
9062 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9063 (he-search-string, he-tried-table, he-expand-list)
9064 (he-init-string, he-string-member, he-substitute-string)
9065 (he-reset-string): Declare.
9067 * obsolete/options.el (list-options): Use custom-variable-p,
9068 rather than obsolete alias.
9070 2013-05-23 Sam Steingold <sds@gnu.org>
9072 * simple.el (shell-command-on-region): Pass the `replace' argument
9073 down to `call-process-region' to comply with the doc as reported on
9074 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9076 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9078 * emacs-lisp/smie.el (smie-indent-forward-token)
9079 (smie-indent-backward-token): Handle string tokens (bug#14381).
9081 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9083 * ielm.el (ielm-menu): New menu.
9084 (inferior-emacs-lisp-mode): Set comment-start.
9086 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9088 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9089 Fix deactivate action.
9091 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9092 Add cleveref macros.
9094 * lisp/textmodes/reftex-parse.el
9095 (reftex-locate-bibliography-files): Accept options for
9096 bibliography commands.
9097 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9098 Add addbibresource. Basic Biblatex support.
9100 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9102 * net/tramp-gvfs.el (top):
9103 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9104 when loading package. (Bug#14447)
9106 2013-05-23 Glenn Morris <rgm@gnu.org>
9108 * progmodes/js.el: No need to load comint when compiling.
9109 (ring-insert, comint-send-string, comint-send-input)
9110 (comint-last-input-end, ido-chop): Declare.
9112 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9113 * vc/ediff-mult.el: Adjust requires.
9114 (ediff-directories-internal, ediff-directory-revisions-internal)
9115 (ediff-patch-file-internal): Declare.
9116 * vc/ediff-ptch.el: Adjust requires.
9117 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9118 (ediff-find-file): Autoload.
9119 * vc/ediff-util.el: No need to load ediff when compiling.
9120 (ediff-regions-internal): Declare.
9121 * vc/ediff-wind.el: Adjust requires.
9122 (ediff-compute-toolbar-width): Define when compiling.
9123 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9124 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9125 (dired-get-filename, dired-get-marked-files)
9126 (ediff-last-dir-patch, ediff-patch-default-directory)
9127 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9128 (ediff-patch-buffer-internal): Declare.
9130 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9131 (ispell-process, ispell-buffer-local-words, lm-summary)
9132 (lm-section-start, lm-section-end): Declare.
9133 (checkdoc-ispell-init): Simplify.
9135 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9136 (he-string-member, he-reset-string, he-substitute-string): Declare.
9138 * eshell/em-ls.el: Adjust requires.
9139 (eshell-glob-regexp): Declare.
9140 * eshell/em-tramp.el: Adjust requires.
9141 (eshell-parse-command): Autoload.
9142 * eshell/em-xtra.el: Adjust requires.
9143 (eshell-parse-command): Autoload.
9144 * eshell/esh-ext.el: Adjust requires.
9145 (eshell-parse-command, eshell-close-handles): Autoload.
9146 * eshell/esh-io.el: Adjust requires.
9147 (eshell-output-filter): Autoload.
9148 * eshell/esh-util.el: No need to load tramp when compiling.
9149 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9151 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9152 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9153 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9154 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9155 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9156 * eshell/esh-opt.el, eshell/esh-proc.el:
9157 * eshell/esh-var.el: Adjust requires.
9158 * eshell/eshell.el: Do not require esh-util twice.
9159 (eshell-add-input-to-history): Declare.
9160 (eshell-command): Check history module is active before using it.
9162 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9164 2013-05-22 Leo Liu <sdl.web@gmail.com>
9166 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9168 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9170 * autorevert.el (auto-revert-notify-add-watch)
9171 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9172 it indicates changes in file modification time.
9174 2013-05-22 Glenn Morris <rgm@gnu.org>
9176 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9177 Always delete the autoloaded function from the noruntime and
9178 unresolved functions lists.
9180 * allout.el: No need to load epa, epg, overlay when compiling.
9181 (epg-context-set-passphrase-callback, epg-list-keys)
9182 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9183 (epg-key-user-id-list): Declare.
9185 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9186 (viper-set-parsing-style-toggling-macro)
9187 (viper-set-emacs-state-searchstyle-macros):
9188 Use called-interactively-p on Emacs.
9189 (viper-looking-back): Make it an obsolete alias. Update callers.
9190 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9191 Use looking-back rather than viper-looking-back.
9192 (viper-tmp-insert-at-eob, viper-enlarge-region)
9193 (viper-read-string-with-history, viper-register-to-point)
9194 (viper-append-to-register, viper-change-state-to-vi)
9195 (viper-backward-char-carefully, viper-forward-char-carefully)
9196 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9197 (viper-change-state-to-emacs): Declare.
9198 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9199 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9200 * emulation/viper-mous.el: Do not load viper-cmd.
9201 (viper-backward-char-carefully, viper-forward-char-carefully)
9202 (viper-forward-word, viper-adjust-window): Declare.
9204 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9206 * progmodes/idlw-help.el (idlwave-help-fontify):
9207 Use called-interactively-p.
9209 * term/w32console.el (w32-get-console-codepage)
9210 (w32-get-console-output-codepage): Declare.
9212 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9213 Remove unnecessary declarations.
9214 (dframe-message): Doc fix.
9216 * info.el (dframe-select-attached-frame, dframe-current-frame):
9219 * speedbar.el (speedbar-message): Make it an obsolete alias.
9221 (speedbar-with-attached-buffer)
9222 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9223 (speedbar-with-writable): Use backquote.
9224 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9225 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9226 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9227 rather than speedbar- aliases.
9228 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9229 (speedbar-make-specialized-keymap, speedbar-insert-button)
9230 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9231 (speedbar-do-function-pointer): Declare.
9232 (rmail-speedbar-button, rmail-speedbar-find-file)
9233 (rmail-speedbar-move-message):
9234 Use dframe-with-attached-buffer rather than speedbar- alias.
9235 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9236 (dframe-message, speedbar-make-specialized-keymap)
9237 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9238 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9239 (speedbar-insert-button, dframe-select-attached-frame)
9240 (dframe-maybee-jump-to-attached-frame)
9241 (speedbar-change-initial-expansion-list)
9242 (speedbar-previously-used-expansion-list-name): Declare.
9243 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9244 Use dframe-message, dframe-with-attached-buffer rather than
9246 (gud-sentinel): Silence compiler.
9247 * progmodes/vhdl-mode.el (speedbar-refresh)
9248 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9249 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9250 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9251 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9252 (speedbar-file-lists, speedbar-make-tag-line)
9253 (speedbar-line-directory, speedbar-goto-this-file)
9254 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9255 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9256 (speedbar-make-button, speedbar-reset-scanners)
9257 (speedbar-files-item-info, speedbar-line-text)
9258 (speedbar-find-file-in-frame, speedbar-set-timer)
9259 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9260 (speedbar-with-writable): Do not (re)define it.
9261 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9262 rather than speedbar- alias.
9264 2013-05-21 Leo Liu <sdl.web@gmail.com>
9266 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9268 (octave-mode): Tweak fill-nobreak-predicate.
9269 (inferior-octave-startup): Check process to avoid infinite loop.
9270 (inferior-octave): Pop to buffer first to show abornmal process
9273 2013-05-21 Glenn Morris <rgm@gnu.org>
9275 * printing.el (pr-menu-bar): Define when compiling.
9277 2013-05-21 Leo Liu <sdl.web@gmail.com>
9279 * progmodes/octave.el (octave-auto-fill): Remove.
9280 (octave-indent-new-comment-line): Improve.
9281 (octave-mode): Use auto fill mode through
9282 comment-line-break-function and fill-nobreak-predicate.
9283 (octave-goto-function-definition): Support DEFUN_DLD.
9284 (octave-beginning-of-defun): Small tweak.
9285 (octave-help): Show parent directory.
9287 2013-05-21 Glenn Morris <rgm@gnu.org>
9289 * files.el (dired-unmark):
9290 * progmodes/gud.el (gdb-input): Update declarations.
9292 * calculator.el (electric, ehelp): No need to load when compiling.
9293 (Electric-command-loop, electric-describe-mode): Declare.
9295 * doc-view.el (doc-view-current-converter-processes): Move before use.
9297 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9298 Move MODE-set-explicitly definition before use.
9300 * international/mule-diag.el (mule-diag):
9301 Don't use obsolete window-system-version.
9303 * mail/feedmail.el (smtpmail): No need to load when compiling.
9304 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9306 * mail/mail-utils.el (rfc822): No need to load when compiling.
9307 (rfc822-addresses): Autoload it.
9308 (mail-strip-quoted-names): Trivial simplification.
9310 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9311 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9313 * net/snmp-mode.el (tempo): Don't duplicate requires.
9315 * progmodes/prolog.el (info): No need to load when compiling.
9316 (comint): Require before shell requires it.
9317 (Info-goto-node): Autoload it.
9318 (Info-follow-nearest-node): Declare.
9319 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9321 * textmodes/artist.el (picture-mode-exit): Declare.
9323 * textmodes/reftex-parse.el (reftex-parse-from-file):
9324 Trivial rewrite so the compiler can parse it better.
9326 2013-05-20 Leo Liu <sdl.web@gmail.com>
9328 * progmodes/octave.el (octave-help-mode-map)
9329 (octave-help-mode-finish-hook): New variables.
9330 (octave-help-mode, octave-help-mode-finish): New functions.
9331 (octave-help): Use octave-help-mode.
9333 2013-05-20 Glenn Morris <rgm@gnu.org>
9335 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9337 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9339 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9340 start at point, so that expansion starting right after opening
9341 slash in a regexp is recognized.
9342 (ruby-syntax-before-regexp-re): New defvar, extracted from
9343 ruby-syntax-propertize-function. Since the value of this regexp
9344 is looked up at runtime now, we should be able to turn
9345 `ruby-syntax-methods-before-regexp' into a defcustom later.
9346 (ruby-syntax-propertize-function): Split regexp matching into two
9347 parts, for opening and closing slashes. That allows us to skip
9348 over string interpolations and support multiline regexps.
9349 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9350 for them, which calls `ruby-syntax-propertize-expansion'.
9351 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9352 call to `ruby-syntax-propertize-function'.
9353 (ruby-syntax-propertize-expansion): Extracted from
9354 `ruby-syntax-propertize-expansions'. Handles one expansion.
9355 (ruby-syntax-propertize-percent-literal): Leave point right after
9356 the percent symbol, so that the expression expansion rule can
9357 propertize the contents.
9358 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9360 (ruby-syntax-propertize-expansions): Remove.
9362 2013-05-18 Juri Linkov <juri@jurta.org>
9364 * man.el (Man-default-man-entry): Remove `-' from the end
9365 of the default value. (Bug#14400)
9367 2013-05-18 Glenn Morris <rgm@gnu.org>
9369 * comint.el (comint-password-prompt-regexp):
9370 Allow "password for XXX" where XXX contains colons (eg https://...).
9372 2013-05-18 Leo Liu <sdl.web@gmail.com>
9374 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9375 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9376 (octave-source-directories): Don't check process.
9377 (octave-source-directories, octave-find-definition): Doc fix.
9379 2013-05-18 Glenn Morris <rgm@gnu.org>
9381 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9382 Remove backspace/delete bindings. (Bug#14392)
9384 * cus-dep.el (custom-make-dependencies): Sort the output.
9385 (custom-versions-load-alist): Convert comment to doc.
9387 2013-05-17 Leo Liu <sdl.web@gmail.com>
9389 * newcomment.el (comment-search-backward): Stricter in finding
9390 comment start. (Bug#14303)
9392 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9393 (octave-comment-start-skip): Properly anchored.
9395 2013-05-17 Leo Liu <sdl.web@gmail.com>
9397 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9398 Clean up when turned off. (Bug#14395)
9399 (smie--highlight-matching-block-overlay): No longer buffer-local.
9400 (smie-highlight-matching-block): Adjust.
9402 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9404 Doc string fix for "nanoseconds" (Bug#14406).
9405 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9406 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9408 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9410 * calc/calc-units.el (math-extract-units): Preserve powers
9413 2013-05-17 Leo Liu <sdl.web@gmail.com>
9415 * subr.el (delete-consecutive-dups): New function.
9416 * ido.el (ido-set-matches-1): Use it.
9417 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9418 * ido.el (ido-remove-consecutive-dups): Remove.
9420 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9422 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9423 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9424 regexp-opt's `words'.
9426 2013-05-16 Leo Liu <sdl.web@gmail.com>
9428 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9429 (smie--highlight-matching-block-overlay)
9430 (smie--highlight-matching-block-lastpos)
9431 (smie--highlight-matching-block-timer): New variables.
9432 (smie-highlight-matching-block): New function.
9433 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9434 (smie-setup): Conditionally enable smie-blink-matching-open.
9436 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9438 Sync with upstream verilog-mode r840.
9439 * progmodes/verilog-mode.el (verilog-mode-version)
9440 (verilog-mode-release-date): Update.
9441 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9442 (verilog-sig-tieoff): Fix string error on
9443 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9444 (verilog-read-decls): Fix parameters confusing
9445 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9447 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9449 * subr.el (reveal-filename): New function.
9451 * loadup.el: Compute Emacs executable versions on MS-Windows,
9452 where executables have the .exe extension. Add a hard link
9453 emacs-XX.YY.ZZ.exe on MS-Windows.
9455 * Makefile.in (XARGS_LIMIT): New variable.
9456 (custom-deps, finder-data, autoloads)
9457 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9458 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9459 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9460 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9462 2013-05-16 Leo Liu <sdl.web@gmail.com>
9464 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9465 (octave-mode-menu, octave-mode-map): Remove its uses.
9467 2013-05-16 Reto Zimmermann <reto@gnu.org>
9469 Sync with upstream vhdl mode v3.34.2.
9470 * progmodes/vhdl-mode.el: Use `push' throughout.
9471 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9472 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9473 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9474 (vhdl-actual-generic-name): New option to derive actual generic name.
9475 (vhdl-port-paste-signals): Replace formal by actual generics.
9476 (vhdl-beautify): New name for old group vhdl-align. Update users.
9477 (vhdl-beautify-options): New option.
9478 (vhdl-last-input-event): New compat alias. Use throughout.
9479 (vhdl-goto-line): Replace user level function `goto-line'.
9480 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9481 vhdl-fix-statement-buffer.
9482 (vhdl-create-mode-menu): Add some entries.
9483 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9484 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9485 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9486 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9487 to force statements on one line.
9488 (vhdl-remove-trailing-spaces-region):
9489 New, split from vhdl-remove-trailing-spaces.
9490 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9491 Respect vhdl-beautify-options.
9492 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9493 (vhdl-update-sensitivity-list): Not add with index if exists without.
9494 Not include array index with signal. Ignore keywords in comments.
9495 (vhdl-get-visible-signals): Regexp tweaks.
9496 (vhdl-template-component-inst): Handle empty library.
9497 (vhdl-template-type): Add template for 'enum' type.
9498 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9499 Use vhdl-replace-string.
9500 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9501 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9502 (vhdl-speedbar-initialize): Update for above name change.
9503 (vhdl-compose-wire-components): Fix in handling of constants.
9504 (vhdl-error-regexp-emacs-alist): New variable.
9505 (vhdl-error-regexp-add-emacs): New function;
9506 adds support for new compile.el (Emacs 22+)
9507 (vhdl-generate-makefile-1): Change target order for single lib. units.
9508 Allow use of absolute file names.
9510 2013-05-16 Leo Liu <sdl.web@gmail.com>
9512 * simple.el (prog-indent-sexp): Indent enclosing defun.
9514 2013-05-15 Glenn Morris <rgm@gnu.org>
9516 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9517 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9518 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9519 (whitespace-highlight): Move to whitespace group.
9521 * comint.el (comint-source):
9522 * pcmpl-linux.el (pcmpl-linux):
9523 * shell.el (shell-faces):
9524 * eshell/esh-opt.el (eshell-opt):
9525 * international/ccl.el (ccl): Remove empty custom groups.
9527 * completion.el (dynamic-completion-mode):
9528 * jit-lock.el (jit-lock-debug-mode):
9529 * minibuffer.el (completion-in-region-mode):
9530 * type-break.el (type-break-mode-line-message-mode)
9531 (type-break-query-mode):
9532 * emulation/tpu-edt.el (tpu-edt-mode):
9533 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9534 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9535 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9537 * term/xterm.el (xterm): Change parent group to terminals.
9539 * master.el (master): Remove empty custom group.
9540 (master-mode): Remove unused :group argument.
9541 * textmodes/refill.el (refill): Remove empty custom group.
9542 (refill-mode): Remove unused :group argument.
9544 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9546 * cus-dep.el: Provide a feature.
9547 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9548 Don't mistakenly ignore files whose basenames match a basename
9549 from preloaded-file-list (eg cedet/ede/simple.el).
9550 Add a fallback method for getting :group.
9552 2013-05-15 Juri Linkov <juri@jurta.org>
9554 * isearch.el (isearch-char-by-name): Rename from
9555 `isearch-insert-char-by-name'. Doc fix.
9556 (isearch-forward): Mention `isearch-char-by-name' in
9557 the docstring. (Bug#13348)
9559 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9560 `exit-minibuffer' instead of
9561 `isearch-nonincremental-exit-minibuffer'.
9562 (isearch-edit-string): Remove mention of
9563 `isearch-nonincremental-exit-minibuffer' from docstring.
9564 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9565 (isearch-forward-exit-minibuffer)
9566 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9568 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9570 * loadup.el: Just use unversioned DOC.
9572 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9573 literals as extending to EOB.
9574 (nxml-last-fontify-end): Remove unused variable.
9575 (nxml-after-change1): Use with-silent-modifications.
9576 (nxml-extend-after-change-region): Simplify.
9577 (nxml-extend-after-change-region1): Remove function.
9578 (nxml-after-change1): Don't adjust for dependent regions.
9579 (nxml-fontify-matcher): Simplify.
9580 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9581 (xmltok-add-dependent): Remove function.
9582 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9583 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9584 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9585 unclosed <[[, <?, comment, and other literals as extending to EOB.
9586 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9587 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9589 (rng-do-some-validation-1): Don't mark dependent regions.
9590 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9591 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9592 (nxml-clear-dependent-regions): Remove functions.
9593 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9594 (nxml-ensure-scan-up-to-date):
9595 Don't clear&mark dependent regions.
9597 2013-05-15 Leo Liu <sdl.web@gmail.com>
9599 * progmodes/octave.el (octave-goto-function-definition):
9600 Improve and fix callers.
9602 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9604 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9605 the setter (bug#14387).
9607 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9608 surrounding group (bug#14402).
9610 2013-05-14 Juri Linkov <juri@jurta.org>
9612 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9615 2013-05-14 Glenn Morris <rgm@gnu.org>
9617 * progmodes/f90.el (f90-imenu-generic-expression):
9618 Fix typo in 2013-05-08 change. (Bug#14402)
9620 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9622 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9623 Remove signals for which replies are never received.
9625 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9627 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9628 (gdb-handler-alist, gdb-handler-number): Remove variables.
9629 (gdb-handler-list): New variable.
9630 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9631 (gdb-pending-handler-p, gdb-handle-reply)
9632 (gdb-remove-all-pending-triggers): New functions.
9633 (gdb-discard-unordered-replies): New defcustom.
9634 (gdb-handler): New defstruct.
9635 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9636 instead of gdb-pending-triggers. Update docstring.
9637 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9638 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9639 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9640 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9641 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9642 (gdb-frame-handler): Pending triggers are now automatically managed.
9643 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9645 (gdb-input): Automatically handles pending triggers. Update docstring.
9646 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9647 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9649 (gdb-done-or-error): Now use gdb-handle-reply.
9651 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9653 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9656 2013-05-14 Glenn Morris <rgm@gnu.org>
9658 * subr.el (user-emacs-directory-warning): New option.
9659 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9661 2013-05-14 Leo Liu <sdl.web@gmail.com>
9663 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9665 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9666 (octave-font-lock-texinfo-comment): Fix invalid search bound
9667 error: wrong side of point.
9669 2013-05-14 Glenn Morris <rgm@gnu.org>
9671 * progmodes/flymake.el (flymake-xml-program): New option.
9672 (flymake-xml-init): Use it.
9674 * term/xterm.el: Provide a feature.
9676 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9678 2013-05-13 Glenn Morris <rgm@gnu.org>
9680 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9681 Add compat aliases as a hack workaround. (Bug#14384)
9683 2013-05-13 Leo Liu <sdl.web@gmail.com>
9685 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9687 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9689 (octave-comment-start-skip): Include %!.
9690 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9692 2013-05-12 Leo Liu <sdl.web@gmail.com>
9694 * progmodes/octave.el (inferior-octave-startup): Store the value
9695 of __octave_srcdir__ for octave-source-directories.
9696 (inferior-octave-check-process): New function refactored out of
9697 inferior-octave-send-list-and-digest.
9698 (octave-source-directories)
9699 (octave-find-definition-filename-function): New variables.
9700 (octave-source-directories)
9701 (octave-find-definition-default-filename): New functions.
9702 (octave-find-definition): Improve to find functions implemented in C++.
9704 2013-05-12 Glenn Morris <rgm@gnu.org>
9706 * calendar/diary-lib.el (diary-outlook-format-1):
9707 Don't include dayname in the output. (Bug#14349)
9709 2013-05-11 Glenn Morris <rgm@gnu.org>
9711 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9713 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9714 Treat cc-provide like provide.
9716 2013-05-11 Kevin Ryde <user42@zip.com.au>
9718 * cus-dep.el (custom-make-dependencies):
9719 Use generated-autoload-load-name for the sake of files such
9720 such cedet/semantic/bovine/c.el, where the base file name
9721 is not in load-path. (Bug#5277)
9723 2013-05-11 Glenn Morris <rgm@gnu.org>
9725 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9728 2013-05-11 Leo Liu <sdl.web@gmail.com>
9730 * progmodes/octave.el (octave-indent-comment): Improve.
9731 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9732 (octave-eldoc-function-signatures, octave-eldoc-function):
9734 (octave-mode, inferior-octave-mode): Add eldoc support.
9736 2013-05-11 Richard Stallman <rms@gnu.org>
9738 * epa.el (epa-decrypt-file): Take output file name as argument
9739 and read it using `interactive'.
9741 2013-05-11 Leo Liu <sdl.web@gmail.com>
9743 * progmodes/octave.el (octave-beginning-of-line)
9744 (octave-end-of-line): Check before using up-list because it jumps
9745 out of more syntactic contructs since moving to smie.
9746 (octave-indent-comment): New function.
9747 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9748 (octave-begin-keywords, octave-end-keywords)
9749 (octave-reserved-words, octave-smie-bnf-table)
9750 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9752 2013-05-11 Glenn Morris <rgm@gnu.org>
9754 * faces.el (internal-face-x-get-resource):
9755 * frame.el (ns-display-monitor-attributes-list):
9756 * calc/calc-aent.el (math-to-radians-2):
9757 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9760 * calc/calc-menu.el: Make it loadable in isolation.
9762 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9763 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9764 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9765 (eudc-bbdb-query-internal): Require 'bbdb.
9767 * lpr.el (lpr-headers-switches):
9768 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9770 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9772 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9774 * term.el (term-set-escape-char): Make it idempotent.
9776 2013-05-10 Leo Liu <sdl.web@gmail.com>
9778 * progmodes/octave.el (inferior-octave-completion-table):
9779 No longer a function and all uses changed. Use cache to speed up
9780 completion due to bug#11906.
9781 (octave-beginning-of-defun): Re-write to be more general.
9783 2013-05-10 Glenn Morris <rgm@gnu.org>
9785 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9787 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9789 * comint.el (comint-redirect-send-command-to-process): Use :around
9790 rather than :override for comint-redirect-filter.
9791 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9792 Call it instead of comint-redirect-original-filter-function (which
9793 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9795 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9797 * frame.el (display-monitor-attributes-list): Add NS case.
9798 (ns-display-monitor-attributes-list): Declare.
9800 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9802 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9804 2013-05-09 Glenn Morris <rgm@gnu.org>
9806 * international/fontset.el (vertical-centering-font-regexp):
9809 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9811 * bookmark.el (bookmark-search-delay):
9812 * cus-start.el (vertical-centering-font-regexp):
9813 * ps-mule.el (ps-mule-font-info-database-default):
9814 * ps-print.el (ps-default-fg, ps-default-bg):
9815 * type-break.el (type-break-good-break-interval):
9816 * whitespace.el (whitespace-indentation-regexp)
9817 (whitespace-space-after-tab-regexp):
9818 * emacs-lisp/testcover.el (testcover-1value-functions)
9819 (testcover-noreturn-functions, testcover-progn-functions)
9820 (testcover-prog1-functions):
9821 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9822 * eshell/em-glob.el (eshell-glob-translate-alist):
9823 * play/tetris.el (tetris-tty-colors):
9824 * progmodes/cpp.el (cpp-face-default-list):
9825 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9826 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9827 (idlwave-help-browser-generic-args):
9828 * progmodes/make-mode.el (makefile-special-targets-list):
9829 * progmodes/python.el (python-shell-virtualenv-path):
9830 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9831 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9832 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9833 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9834 * textmodes/reftex-vars.el (reftex-format-label-function):
9835 * textmodes/remember.el (remember-diary-file): Fix custom types.
9837 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9840 2013-05-09 Leo Liu <sdl.web@gmail.com>
9842 * progmodes/octave.el (inferior-octave-completion-at-point):
9843 Restore file completion. (Bug#14300)
9844 (inferior-octave-startup): Fix incorrect highlighting for the
9847 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9849 * progmodes/ruby-mode.el: First cut at SMIE support.
9850 (ruby-use-smie): New var.
9851 (ruby-smie-grammar): New constant.
9852 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9853 (ruby-smie--forward-token, ruby-smie--backward-token)
9854 (ruby-smie-rules): New functions.
9855 (ruby-mode-variables): Setup SMIE if applicable.
9857 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9859 * simple.el (line-move-visual): Signal beginning/end of buffer
9860 only if vertical-motion moved less than it was requested. Avoids
9861 silly incorrect error messages when there are display strings with
9862 multiple newlines at EOL.
9864 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9866 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9867 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9868 (prolog-char-quote-workaround):
9869 * progmodes/cperl-mode.el (cperl-under-as-char):
9870 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9872 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9874 (vhdl-mode-syntax-table-init): Remove.
9876 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9879 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9881 (ld-script-font-lock-keywords):
9882 Change regexps to use things like \_< and \_>.
9884 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9885 Change all regexps to use things like \_< and \_>.
9887 * progmodes/autoconf.el (autoconf-definition-regexp)
9888 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9889 Handle a _ with symbol syntax.
9890 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9892 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9893 Consolidate declaration.
9894 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9896 (ada-create-syntax-table): Remove.
9897 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9898 already has the right syntax nowadays.
9899 (ada-goto-next-word): Don't change the syntax of "_".
9901 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9904 2013-05-08 Sam Steingold <sds@gnu.org>
9906 * thingatpt.el (thing-at-point): Accept optional second argument
9907 NO-PROPERTIES to strip the text properties from the return value.
9908 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9909 to `thing-at-point' instead of stripping the properties ourselves.
9910 Also, when `thing-at-point' fails to find a url, prepend "http://"
9911 to the filename at point on the assumption that the user is
9912 pointing at something like gnu.org/gnu.
9914 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9916 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9917 * faces.el (crm-separator):
9918 Silence byte-compiler.
9920 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9921 (tool-bar-map): Remove unneeded defvars.
9923 2013-05-08 Leo Liu <sdl.web@gmail.com>
9925 Re-work a fix for bug#10994 based on Le Wang's patch.
9926 * ido.el (ido-remove-consecutive-dups): New helper.
9927 (ido-completing-read): Use it.
9928 (ido-chop): Revert fix for bug#10994.
9930 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9932 * cus-edit.el (custom-save-variables):
9933 Pretty-print long values. (Bug#14187)
9935 2013-05-08 Glenn Morris <rgm@gnu.org>
9937 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9938 (m4-mode-syntax-table): Init in the defvar.
9939 (m4-mode-abbrev-table): Let define-derived-mode define it.
9941 2013-05-08 Tom Tromey <tromey@redhat.com>
9943 * progmodes/m4-mode.el (m4-mode-syntax-table):
9944 Do not treat "_" as word constituent. (Bug#14167)
9946 2013-05-07 Glenn Morris <rgm@gnu.org>
9948 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9949 Remove explicit eshell-isearch-cancel-map.
9951 * progmodes/f90.el (f90-smart-end-names): New option.
9952 (f90-smart-end): Doc fix.
9953 (f90-end-block-optional-name): New constant.
9954 (f90-block-match): Respect f90-smart-end-names.
9956 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9958 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9959 about implicit semi-colons (bug#14218).
9961 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9963 * frame.el (display-monitor-attributes-list)
9964 (frame-monitor-attributes): New functions.
9966 2013-05-06 Leo Liu <sdl.web@gmail.com>
9968 * progmodes/octave.el (octave-syntax-propertize-function): Change
9969 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9970 (octave-font-lock-keywords): Use octave-operator-regexp.
9971 (octave-completion-at-point): Rename from
9972 octave-completion-at-point-function.
9973 (inferior-octave-directory-tracker): Robustify.
9974 (octave-text-functions): Remove and fix its uses. No such things
9977 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9979 * emacs-lisp/trace.el (trace--display-buffer): New function.
9980 (trace-make-advice): Use it.
9982 2013-05-06 Juri Linkov <juri@jurta.org>
9984 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9985 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9987 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9988 in the help string. (Bug#12985)
9990 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9992 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9994 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9996 * progmodes/perl-mode.el: Add support for here documents.
9997 (perl-syntax-propertize-function): Match here-doc markers.
9998 (perl-syntax-propertize-special-constructs): Find their end.
9999 (perl-imenu-generic-expression): Use [:alnum:].
10001 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10002 (advice--add-function): Refresh the advice if already present
10005 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10007 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10009 2013-05-06 Glenn Morris <rgm@gnu.org>
10011 * w32-fns.el (w32-charset-info-alist): Declare.
10013 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10014 of its defcustom properties.
10015 (eshell-cmpl-initialize): No need to load pcomplete.
10017 * generic-x.el: No need to require comint when compiling.
10019 * net/eudc-export.el: Make it loadable without bbdb.
10020 (top-level): Use require rather than load-library.
10021 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10022 (eudc-batch-export-records-to-bbdb)
10023 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10026 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10028 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10029 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10030 some tweaks, instead.
10032 2013-05-05 Leo Liu <sdl.web@gmail.com>
10034 * progmodes/octave.el (octave-font-lock-keywords)
10035 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10036 (inferior-octave-send-list-and-digest): Improve error message.
10037 (octave-mode, inferior-octave-mode): Use setq-local.
10038 (octave-help): Set info-lookup-mode.
10040 2013-05-05 Richard Stallman <rms@gnu.org>
10042 * vc/compare-w.el (compare-windows-whitespace):
10043 Treat no-break space as whitespace.
10045 * mail/rmailsum.el (rmail-summary-rmail-update):
10046 Detect empty summary and don't change selected message.
10047 (rmail-summary-goto-msg): Likewise.
10049 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10050 Doc fixes, rename args.
10052 2013-05-05 Alan Mackenzie <acm@muc.de>
10054 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10056 2013-05-05 Juri Linkov <juri@jurta.org>
10058 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10059 to not add the length of the summary segment to the return value.
10062 2013-05-05 Leo Liu <sdl.web@gmail.com>
10064 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10065 (inferior-octave-output-filter): Remove.
10066 (octave-send-region, inferior-octave-startup): Fix callers.
10067 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10068 (octave-binary-file-extensions): New user variable.
10069 (octave-find-definition): Confirm if opening binary files.
10070 (octave-help-file): Use octave-find-definition to get the binary
10072 (octave-help): Adjust for octave-help-file change.
10074 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10076 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10077 Merge the two entries that handle function definitions.
10078 (pascal--syntax-propertize): New const.
10079 (pascal-mode): Use it. Use setq-local.
10081 2013-05-04 Glenn Morris <rgm@gnu.org>
10083 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10084 (diary-from-outlook): Respect diary-from-outlook-function.
10086 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10088 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10089 Move the declaration from C.
10090 (read-minibuffer, eval-minibuffer): Move from C.
10091 (completion-setup-function): Avoid minibuffer-completion-contents.
10093 2013-05-03 Leo Liu <sdl.web@gmail.com>
10095 * progmodes/octave.el (octave-font-lock-keywords): Do not
10096 dehighlight 'end' in comments or strings.
10097 (octave-completing-read, octave-goto-function-definition):
10099 (octave-help-buffer): New user variable.
10100 (octave-help-file, octave-help-function): New button types.
10101 (octave-help): New command and bind it to C-h ;.
10102 (octave-find-definition): New command and bind it to M-.
10103 (user-error): Alias to error if not defined.
10105 2013-05-02 Leo Liu <sdl.web@gmail.com>
10107 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10109 (octave-font-lock-keywords): Include [ and {.
10111 2013-05-02 Leo Liu <sdl.web@gmail.com>
10113 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10114 (inferior-octave): Remove calling comint-mode and return the buffer.
10115 (inferior-octave-startup): Cosmetic changes.
10117 2013-05-02 Leo Liu <sdl.web@gmail.com>
10119 * progmodes/octave.el (octave-syntax-propertize-function):
10120 Include the case when ' is at line beginning. (Bug#14336)
10122 2013-05-02 Glenn Morris <rgm@gnu.org>
10124 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10125 * desktop.el (vc-dir-mode): Just autoload it here.
10127 2013-05-02 Alan Mackenzie <acm@muc.de>
10129 Eliminate variable c-standard-font-lock-fontify-region-function.
10130 * progmodes/cc-mode.el
10131 (c-standard-font-lock-fontify-region-function): Remove.
10132 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10134 2013-05-01 Leo Liu <sdl.web@gmail.com>
10136 * progmodes/octave.el: Compatible with older emacs-24 releases.
10137 (inferior-octave-has-built-in-variables): Remove. Built-in
10138 variables were removed from Octave in 2007.
10139 (inferior-octave-startup): Fix uses.
10140 (comint-line-beginning-position): Remove compatibility code for
10143 2013-05-01 Juri Linkov <juri@jurta.org>
10145 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10147 2013-05-01 Juri Linkov <juri@jurta.org>
10149 * comint.el (comint-previous-matching-input): Don't print message
10150 "History item: %d" when `isearch-mode' is active.
10151 (comint-history-isearch-message): Print message "History item: %d"
10152 when `comint-input-ring-index' is not empty and this function is
10153 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10155 2013-05-01 Leo Liu <sdl.web@gmail.com>
10157 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10158 definitions. Use completion-at-point to insert keywords.
10159 (octave-abbrev-start): Remove.
10160 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10162 2013-04-30 Leo Liu <sdl.web@gmail.com>
10164 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10167 2013-04-30 Alan Mackenzie <acm@muc.de>
10169 Handle arbitrarily long C++ member initialisation lists.
10170 * progmodes/cc-engine.el (c-back-over-member-initializers):
10172 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10173 (most) member init lists.
10175 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10177 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10180 2013-04-30 Leo Liu <sdl.web@gmail.com>
10182 * progmodes/octave.el (octave-variables): Remove. No builtin
10183 variables any more. All converted to functions.
10184 (octave-font-lock-keywords, octave-completion-at-point-function):
10186 (octave-font-lock-texinfo-comment): New user variable.
10187 (octave-texinfo-font-lock-keywords): New variable for texinfo
10189 (octave-function-comment-block): New face.
10190 (octave-font-lock-texinfo-comment): New function.
10191 (octave-mode): Font lock texinfo comment block.
10193 2013-04-29 Leo Liu <sdl.web@gmail.com>
10195 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10196 indexing expression.
10197 (octave-continuation-string): Do not use \.
10198 (inferior-octave-complete-impossible): Remove.
10199 (inferior-octave-completion-table)
10200 (inferior-octave-completion-at-point): Remove its uses.
10201 (inferior-octave-startup): completion_matches was introduced to
10202 Octave in 1996 so safe to assume it.
10203 (octave-function-file-comment): Improve to follow how Octave does it.
10204 (octave-update-function-file-comment): Tweak.
10206 2013-04-29 Leo Liu <sdl.web@gmail.com>
10208 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10209 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10210 (octave-function-file-comment): Fix typo.
10211 (octave-sync-function-file-names): Use read-char-choice.
10213 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10215 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10216 to t for the less important warnings.
10218 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10220 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10222 2013-04-27 Glenn Morris <rgm@gnu.org>
10224 * vc/log-view.el (log-view-current-entry):
10225 Treat "---" separator lines as part of the following rev. (Bug#14169)
10227 2013-04-27 Juri Linkov <juri@jurta.org>
10229 * subr.el (read-number): Doc fix about using it by interactive
10230 code letter `n'. (Bug#14254)
10232 2013-04-27 Juri Linkov <juri@jurta.org>
10234 * desktop.el (desktop-auto-save-timeout): New option.
10235 (desktop-file-checksum): New variable.
10236 (desktop-save): Add optional arg `auto-save' and don't auto-save
10237 if nothing changed.
10238 (desktop-auto-save-timer): New variable.
10239 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10240 (after-init-hook): Call `desktop-auto-save-set-timer'.
10241 Suggested by Reuben Thomas <rrt@sc3d.org> in
10242 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10244 2013-04-27 Leo Liu <sdl.web@gmail.com>
10246 * progmodes/octave.el (octave-function-file-p)
10247 (octave-skip-comment-forward, octave-function-file-comment)
10248 (octave-update-function-file-comment): New functions.
10249 (octave-mode-map): Bind C-c ; to
10250 octave-update-function-file-comment.
10251 (octave-mode-menu): Add octave-update-function-file-comment.
10252 (octave-mode, inferior-octave-mode): Fix doc-string.
10253 (octave-insert-defun): Conform to Octave's coding convention.
10256 * files.el (basic-save-buffer): Don't let errors in
10257 before-save-hook prevent saving buffer.
10259 2013-04-20 Roland Winkler <winkler@gnu.org>
10261 * faces.el (read-face-name): Use completing-read if arg multiple
10264 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10266 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10267 displayed, move point to after the totals line.
10268 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10271 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10273 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10274 Add current dir to the load-path.
10275 (package-generate-autoloads): Don't rely on
10276 autoload-ensure-default-file.
10278 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10280 * textmodes/remember.el (remember-store-in-files): Document that
10281 the file name format is passed to `format-time-string'.
10283 2013-04-26 Leo Liu <sdl.web@gmail.com>
10285 * progmodes/octave.el (octave-sync-function-file-names): New function.
10286 (octave-mode): Use it in before-save-hook.
10288 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10290 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10293 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10294 \n and comment, even if it's not an implicit ; (bug#14218).
10296 2013-04-26 Glenn Morris <rgm@gnu.org>
10298 * subr.el (read-number): Once more use `read' rather than
10299 `string-to-number', to trap non-numeric input. (Bug#14254)
10301 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10303 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10304 Use `syntax-multiline' text property consistently instead of
10305 `font-lock-multiline'. (Bug#14237)
10307 2013-04-26 Glenn Morris <rgm@gnu.org>
10309 * emacs-lisp/shadow.el (list-load-path-shadows):
10310 No longer necessary to check for duplicate simple.el, since
10311 2012-07-07 change to init_lread to not include installation lisp
10312 directories in load-path when running uninstalled. (Bug#14270)
10314 2013-04-26 Leo Liu <sdl.web@gmail.com>
10316 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10317 (octave-mode, inferior-octave-mode): Use setq-local.
10318 (octave-not-in-string-or-comment-p): Rename to
10319 octave-in-string-or-comment-p.
10320 (octave-in-comment-p, octave-in-string-p)
10321 (octave-in-string-or-comment-p): Replace defsubst with defun.
10323 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10325 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10327 2013-04-25 Bastien Guerry <bzg@gnu.org>
10329 * textmodes/remember.el (remember-data-directory)
10330 (remember-directory-file-name-format): Fix custom types.
10332 2013-04-25 Leo Liu <sdl.web@gmail.com>
10334 * progmodes/octave.el (octave-completion-at-point-function):
10335 Make use of inferior octave process.
10336 (octave-initialize-completions): Remove.
10337 (inferior-octave-completion-table): New function.
10338 (inferior-octave-completion-at-point): Use it.
10339 (octave-completion-alist): Remove.
10341 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10343 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10344 (opascal-mode-syntax-table): New var.
10345 (opascal-literal-kind, opascal-is-literal-end)
10346 (opascal-literal-token-at): Rewrite.
10347 (opascal--literal-start-re, opascal-font-lock-keywords)
10348 (opascal--syntax-propertize): New constants.
10349 (opascal-font-lock-defaults): Adjust.
10350 (opascal-mode): Use them. Set comment-<foo> variables as well.
10351 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10352 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10353 (delphi-other-face, opascal-other-face): Remove face variables.
10354 (opascal-save-state): Remove macro.
10355 (opascal-fontifying-progress-step): Remove constant.
10356 (opascal--ignore-changes): Remove var.
10357 (opascal-set-token-property, opascal-parse-next-literal)
10358 (opascal-is-stable-literal, opascal-complete-literal)
10359 (opascal-is-literal-start, opascal-face-of)
10360 (opascal-parse-region, opascal-parse-region-until-stable)
10361 (opascal-fontify-region, opascal-after-change)
10362 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10363 (opascal-debug-parse-region, opascal-debug-parse-window)
10364 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10365 (opascal-debug-fontify-buffer): Remove.
10366 (opascal-debug-mode-map): Adjust accordingly.
10368 2013-04-25 Leo Liu <sdl.web@gmail.com>
10370 Merge octave-mod.el and octave-inf.el into octave.el with some
10372 * progmodes/octave.el: New file renamed from octave-mod.el.
10373 * progmodes/octave-inf.el: Merged into octave.el.
10374 * progmodes/octave-mod.el: Renamed to octave.el.
10376 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10378 * textmodes/reftex-vars.el
10379 (reftex-label-ignored-macros-and-environments): New defcustom.
10381 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10383 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10385 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10386 (smie-indent-keyword): Improve the check to ensure that the next
10387 comment is really on the same line.
10388 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10390 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10391 semi-colons if the line is not otherwise empty (bug#14218).
10393 2013-04-25 Glenn Morris <rgm@gnu.org>
10395 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10397 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10399 * progmodes/opascal.el (opascal-set-token-property): Rename from
10400 opascal-set-text-properties and only set `token' (bug#14134).
10401 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10402 (opascal-literal-text-properties): Remove.
10403 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10406 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10408 * textmodes/remember.el (remember-handler-functions): Add an
10409 option for a new handler `remember-store-in-files'.
10410 (remember-data-directory, remember-directory-file-name-format):
10412 (remember-store-in-files): New function to store remember notes
10413 as separate files within a directory.
10415 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10417 * progmodes/compile.el (compilation-next-error-function):
10418 Pass "formats" to compilation-find-file (bug#11777).
10420 2013-04-24 Glenn Morris <rgm@gnu.org>
10422 * vc/vc-bzr.el (vc-bzr-print-log):
10423 * vc/vc-hg.el (vc-hg-print-log):
10424 * vc/vc-svn.el (vc-svn-print-log):
10425 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10427 * vc/vc-bzr.el (vc-bzr-print-log):
10428 * vc/vc-cvs.el (vc-cvs-print-log):
10429 * vc/vc-git.el (vc-git-print-log):
10430 * vc/vc-hg.el (vc-hg-print-log):
10431 * vc/vc-mtn.el (vc-mtn-print-log):
10432 * vc/vc-rcs.el (vc-rcs-print-log):
10433 * vc/vc-sccs.el (vc-sccs-print-log):
10434 * vc/vc-svn.el (vc-svn-print-log):
10435 * vc/vc.el (vc-print-log-internal): Doc fixes.
10437 2013-04-23 Glenn Morris <rgm@gnu.org>
10439 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10440 Remove venerable code attempting to avoid substitute-command-keys.
10442 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10444 * textmodes/reftex-vars.el (reftex-label-regexps):
10445 Call `reftex-compile-variables' after changes to this variable.
10447 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10449 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10450 Use lexical-binding.
10451 (jit-lock-force-redisplay): Use markers, check buffer's continued
10452 existence and beware narrowed buffers.
10453 (jit-lock-fontify-now): Adjust call accordingly.
10455 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10457 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10458 to avoid misleading the user.
10460 2013-04-22 Leo Liu <sdl.web@gmail.com>
10462 * info-look.el: Prefer latex2e.info. (Bug#14240)
10464 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10466 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10468 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10469 * net/tramp.el (tramp-call-process): ... here.
10470 (tramp-set-completion-function, tramp-parse-putty):
10471 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10472 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10473 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10474 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10475 (tramp-call-local-coding-command): Use `tramp-call-process'
10476 instead of `tramp-compat-call-process'.
10478 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10479 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10480 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10481 (tramp-find-inline-compress): Improve traces.
10482 (tramp-maybe-send-script): Check for Perl binary.
10483 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10485 2013-04-22 Daiki Ueno <ueno@gnu.org>
10487 * epg.el (epg-context-pinentry-mode): New function.
10488 (epg-context-set-pinentry-mode): New function.
10489 (epg--start): Pass --pinentry-mode option to gpg command.
10491 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10493 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10494 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10495 `completion-at-point'. (Bug#13774)
10497 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10498 default key binding for `describe-distribution' has been moved to
10499 `C-h C-o'. (Bug#13970)
10501 2013-04-21 Glenn Morris <rgm@gnu.org>
10503 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10505 (vc-print-log): Clarify interactive prompt.
10507 2013-04-20 Glenn Morris <rgm@gnu.org>
10509 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10510 No longer include timestamp etc information.
10512 2013-04-20 Roland Winkler <winkler@gnu.org>
10514 * faces.el (read-face-name): Bug fix, return just one face if arg
10515 multiple is nil. (Bug#14209)
10517 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10519 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10520 (remove-function): Autoload.
10522 * comint.el (comint-redirect-original-filter-function): Remove.
10523 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10524 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10525 (vc-cvs-annotate-command):
10526 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10527 * progmodes/prolog.el (prolog-consult-compile):
10528 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10529 Use add/remove-function instead.
10530 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10531 (gud-tooltip-process-output, gud-tooltip-tips):
10532 Use add/remove-function instead.
10533 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10534 (scheme-interaction-mode, exit-scheme-interaction-mode):
10535 Use add/remove-function instead.
10537 * vc/vc-dispatcher.el: Use lexical-binding.
10538 (vc--process-sentinel): Rename from vc-process-sentinel.
10539 Change last arg to be the code to run. Don't use vc-previous-sentinel
10540 and vc-sentinel-commands any more.
10541 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10542 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10544 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10546 * progmodes/sh-script.el (sh-imenu-generic-expression):
10547 Handle function names with a single character. (Bug#14111)
10549 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10551 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10552 for subroutines defined in an eval (bug#14182).
10554 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10556 * bookmark.el (bookmark-completing-read): Improve handling of empty
10557 string (bug#14176).
10559 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10561 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10563 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10565 New faster Imenu implementation (bug#14058).
10566 * progmodes/python.el:
10567 (python-imenu-prev-index-position):
10568 (python-imenu-format-item-label-function)
10569 (python-imenu-format-parent-item-label-function)
10570 (python-imenu-format-parent-item-jump-label-function):
10572 (python-imenu-format-item-label)
10573 (python-imenu-format-parent-item-label)
10574 (python-imenu-format-parent-item-jump-label)
10575 (python-imenu--put-parent, python-imenu--build-tree)
10576 (python-imenu-create-index, python-imenu-create-flat-index)
10577 (python-util-popn): New functions.
10578 (python-mode): Set imenu-create-index-function to
10579 python-imenu-create-index.
10581 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10583 * winner.el (winner-active-region): Use region-active-p, activate-mark
10584 and deactivate-mark (bug#14225).
10586 * simple.el (deactivate-mark): Don't inline it.
10588 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10590 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10592 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10594 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10595 file extensions from the archive-mode entry in order to prefer
10596 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10598 2013-04-18 Leo Liu <sdl.web@gmail.com>
10600 * bindings.el (help-event-list): Add ?\?.
10602 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10604 * subr.el (with-wrapper-hook): Declare obsolete.
10605 * simple.el (filter-buffer-substring-function): New hook.
10606 (filter-buffer-substring): Use it.
10607 (filter-buffer-substring-functions): Mark obsolete.
10608 * minibuffer.el (completion-in-region-function): New hook.
10609 (completion-in-region): Use it.
10610 (completion-in-region-functions): Mark obsolete.
10611 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10612 * abbrev.el (abbrev-expand-function): New hook.
10613 (expand-abbrev): Use it.
10614 (abbrev-expand-functions): Mark obsolete.
10615 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10616 and :filter-return.
10618 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10620 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10621 and do not care about match data.
10623 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10625 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10626 completion tables when completing error conditions and
10627 `declare' arguments.
10628 (lisp-complete-symbol, field-complete): Mark as obsolete.
10629 (check-parens): Unmatched parens are user errors.
10630 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10632 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10634 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10635 command changed buffer (ie. `flyspell-pre-buffer' is not current
10636 buffer), which prevents making decisions based on invalid value of
10637 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10638 cause an error when `flyspell-pre-point' was nil after switching
10640 (flyspell-post-command-hook): No longer needs to change buffers when
10641 checking pre-word. While at it remove unnecessary progn.
10643 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10645 * textmodes/ispell.el (ispell-add-per-file-word-list):
10646 Fix `flyspell-correct-word-before-point' error when accepting
10647 words and `coment-padding' is an integer by using
10648 `comment-normalize-vars' (Bug #14214).
10650 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10652 New defun movement commands.
10653 * progmodes/python.el (python-nav--syntactically)
10654 (python-nav--forward-defun, python-nav-backward-defun)
10655 (python-nav-forward-defun): New functions.
10657 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10659 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10660 (python-syntax-context): Use named compiler-macro for backwards
10661 compatibility with Emacs 24.x.
10663 2013-04-17 Leo Liu <sdl.web@gmail.com>
10665 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10666 octave-hide-process-buffer.
10668 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10670 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10673 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10675 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10676 Fix adjustment of offset when receiving incomplete responses from GDB
10679 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10681 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10682 python-mode-abbrev-table.
10683 (python-skeleton-define): Adjust accordingly.
10684 (python-mode-abbrev-table): New table that inherits from it so that
10685 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10687 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10688 (abbrev-symbol): Use it.
10689 (abbrev--before-point): Use it since we already handle inheritance.
10691 2013-04-16 Leo Liu <sdl.web@gmail.com>
10693 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10694 binding to info-lookup-symbol.
10696 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10698 * minibuffer.el (completion--twq-all):
10699 * term/ns-win.el (ns-initialize-window-system):
10700 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10702 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10704 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10707 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10709 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10711 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10712 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10714 (ruby-end-of-defun): Remove the unused arg, change the docstring
10715 to reflect that this function is only used as the value of
10716 `end-of-defun-function'.
10717 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10718 to reflect an earlier change that beginning/end-of-defun functions
10719 jump between methods in a class definition, as well as top-level
10722 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10724 * minibuffer.el (minibuffer-complete): Don't just scroll
10725 a *Completions* that's been iconified.
10726 (minibuffer-force-complete): Make sure repetitions do cycle when going
10727 through completion-in-region -> minibuffer-complete.
10729 2013-04-15 Alan Mackenzie <acm@muc.de>
10731 Correct the placement of c-cpp-delimiters when there're #s not at
10734 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10735 place a submatch around the #.
10736 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10737 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10740 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10742 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10743 (advice--member-p): New arg `name'.
10744 (advice--add-function, advice-member-p): Use it (bug#14202).
10746 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10748 Reformulate java imenu-generic-expression.
10749 The old expression contained ill formed regexps.
10751 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10752 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10753 (cc-imenu-java-method-arg-regexp): New defconsts.
10754 (cc-imenu-java-build-type-args-regex): New defun.
10755 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10756 handling of spaces in the regexp.
10758 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10760 * textmodes/ispell.el (ispell-command-loop): Remove
10761 flyspell highlight of a word when ispell accepts it (bug #14178).
10763 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10765 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10766 uses code from the previous `ange-ftp-run-real-handler'.
10767 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10768 only in case that function exist. This is needed for proper
10769 unloading of Tramp.
10771 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10773 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10775 * textmodes/reftex.el (reftex-compile-variables): Use it.
10777 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10779 * files.el (normal-mode): Only use default major-mode if no other mode
10782 * emacs-lisp/trace.el (trace-values): New function.
10784 * files.el: Allow : in local variables (bug#14089).
10785 (hack-local-variable-regexp): New var.
10786 (hack-local-variables-prop-line, hack-local-variables): Use it.
10788 2013-04-13 Roland Winkler <winkler@gnu.org>
10790 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10791 data before it gets modified by bibtex-beginning-of-entry.
10793 2013-04-13 Roland Winkler <winkler@gnu.org>
10795 * textmodes/bibtex.el (bibtex-url): Doc fix.
10797 2013-04-13 Roland Winkler <winkler@gnu.org>
10799 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10800 does not visit a BibTeX file, exclude it from the list of buffers
10801 returned by bibtex-initialize.
10803 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10805 * window.el (split-window): Remove interactive form, since as a
10806 command this function is a special case of split-window-below.
10807 Correct doc string.
10809 2013-04-12 Roland Winkler <winkler@gnu.org>
10811 * faces.el (read-face-name): Do not override value of arg default.
10812 Allow single faces and strings as default values. Remove those
10813 elements from return value that are not faces.
10814 (describe-face): Simplify.
10815 (face-at-point): New optional args thing and multiple so that this
10816 function can provide the same functionality previously provided by
10818 (make-face-bold, make-face-unbold, make-face-italic)
10819 (make-face-unitalic, make-face-bold-italic, invert-face)
10820 (modify-face, read-face-and-attribute): Use face-at-point.
10822 * cus-edit.el (customize-face, customize-face-other-window)
10823 * cus-theme.el (custom-theme-add-face)
10824 * face-remap.el (buffer-face-set)
10825 * facemenu.el (facemenu-set-face): Use face-at-point.
10827 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10829 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10831 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10833 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10834 off leading { and trailing } from field values.
10836 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10838 * emacs-lisp/timer.el (timer--check): New function.
10839 (timer--time, timer-set-function, timer-event-handler): Use it.
10840 (timer-set-idle-time): Simplify.
10841 (timer--activate): CSE.
10842 (timer-event-handler): Give more info in error message.
10843 (internal-timer-start-idle): New function, moved from C.
10845 * mpc.el (mpc-proc): Add `restart' argument.
10846 (mpc-proc-cmd): Use it.
10847 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10848 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10851 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10853 * progmodes/sh-script.el: Implement `sh-mode' own
10854 `add-log-current-defun-function' (bug#14112).
10855 (sh-current-defun-name): New function.
10856 (sh-mode): Use the function.
10858 2013-04-09 Bastien Guerry <bzg@gnu.org>
10860 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10862 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10864 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10866 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10869 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10871 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10874 2013-04-07 Leo Liu <sdl.web@gmail.com>
10876 * pcmpl-x.el: New file.
10878 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10880 Do not set x-display-name until X connection is established.
10881 This is needed to prevent from weird situation described at
10882 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10883 * frame.el (make-frame): Set x-display-name after call to
10884 window system initialization function, not before.
10885 * term/x-win.el (x-initialize-window-system): Add optional
10886 display argument and use it.
10887 * term/w32-win.el (w32-initialize-window-system):
10888 * term/ns-win.el (ns-initialize-window-system):
10889 * term/pc-win.el (msdos-initialize-window-system):
10890 Add compatible optional display argument.
10892 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10894 * files.el (normal-backup-enable-predicate): On MS-Windows and
10895 MS-DOS compare truenames of temporary-file-directory and of the
10896 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10897 don't fail comparison by compare-strings. Also, compare file
10898 names case-insensitively on MS-Windows and MS-DOS.
10900 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10902 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10903 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10905 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10907 * whitespace.el (whitespace-color-on, whitespace-color-off):
10908 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10910 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10912 * ispell.el (ispell-set-spellchecker-params):
10913 Really set `ispell-args' for all equivs.
10915 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10917 * ido.el (ido-completions): Use extra elements of ido-decorations
10919 (ido-decorations): Update docstring.
10921 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10923 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10924 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10925 nil during initialization, in order not to miss changes since the
10926 file was opened. (Bug#14140)
10928 2013-04-05 Leo Liu <sdl.web@gmail.com>
10930 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10932 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10934 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10936 2013-04-04 Glenn Morris <rgm@gnu.org>
10938 * electric.el (electric-pair-inhibit-predicate): Add :version.
10940 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10942 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10943 when a package is required several times (bug#14082).
10945 2013-04-04 Roland Winkler <winkler@gnu.org>
10947 * faces.el (read-face-name): Behave as promised by the docstring.
10948 Assume that arg default is a list of faces.
10949 (describe-face): Call read-face-name with list of default faces.
10951 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10953 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10954 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10955 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10957 (bookmark-exit-hook-internal): Save even if list is empty.
10959 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10961 * emacs-lisp/package.el (package-pinned-packages): New var.
10962 (package--add-to-archive-contents): Obey it (bug#14118).
10964 2013-04-03 Alan Mackenzie <acm@muc.de>
10966 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10967 Also adapt to the new values of element 7 of a parse state.
10969 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10970 parameter `not-in-delimiter'. Handle being inside comment opener.
10971 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10972 character in case we're typing a '*' after a '/'.
10973 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10974 instead by passing the parameter to c-state-pp-to-literal.
10976 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10977 for elt. 7 of a parse state.
10979 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10981 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10982 * international/latin1-disp.el, international/mule-util.el:
10983 * language/cyril-util.el, language/european.el, language/ind-util.el:
10984 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10985 * language/tibetan.el, language/viet-util.el:
10986 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10988 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10990 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10991 (electric-pair-post-self-insert-function): Use it.
10992 (electric-pair-default-inhibit): New function, extracted from
10993 electric-pair-post-self-insert-function.
10995 2013-03-31 Roland Winkler <winkler@gnu.org>
10997 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10999 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11001 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11003 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11005 Un-indent after "pass" and "return" statements (Bug#13888)
11006 * progmodes/python.el (python-indent-block-enders): New var.
11007 (python-indent-calculate-indentation): Use it.
11009 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11011 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11012 defun. Defining it as defalias could introduce too eager
11013 byte-compiler optimization. (Bug#14030)
11015 2013-03-30 Chong Yidong <cyd@gnu.org>
11017 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11019 2013-03-30 Leo Liu <sdl.web@gmail.com>
11021 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11022 (kmacro-execute-from-register): Pass the keyboard macro to
11023 kmacro-call-macro or repeating won't work correctly.
11025 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11027 * progmodes/subword.el: Back to using `forward-symbol'.
11029 * subr.el (forward-whitespace, forward-symbol)
11030 (forward-same-syntax): Move from thingatpt.el.
11032 2013-03-29 Leo Liu <sdl.web@gmail.com>
11034 * kmacro.el (kmacro-to-register): New command.
11035 (kmacro-execute-from-register): New function.
11036 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11038 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11040 * mpc.el: Use defvar-local and setq-local.
11041 (mpc--proc-connect): Connection failures are not bugs.
11042 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11043 (mpc-volume-map): Bind to the up-events.
11045 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11047 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11048 instead of `forward-symbol'.
11050 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11052 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11053 (edebug--recursive-edit): Use it.
11054 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11055 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11057 2013-03-28 Leo Liu <sdl.web@gmail.com>
11059 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11061 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11063 * facemenu.el (list-colors-callback): New defvar.
11064 (list-colors-redisplay): New function.
11065 (list-colors-display): Install list-colors-redisplay as the
11066 revert-buffer-function. (Bug#14063)
11068 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11070 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11071 and suffixes don't overlap (bug#14061).
11073 * case-table.el: Use lexical-binding.
11074 (case-table-get-table): New function.
11075 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11077 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11079 * progmodes/subword.el: Add `superword-mode' to do word motion
11080 over symbol_words (parallels and leverages `subword-mode' which
11081 does word motion inside MixedCaseWords).
11083 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11085 * eshell/em-unix.el: Move su and sudo to...
11086 * eshell/em-tramp.el: ...Eshell tramp module.
11088 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11090 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11091 Change return value to be a sexp. Delay `get-buffer' to after
11092 restoring the desktop (bug#13951).
11094 2013-03-26 Leo Liu <sdl.web@gmail.com>
11096 * register.el: Move semantic tag handling back to
11097 cedet/semantic/senator.el. (Bug#14052)
11099 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11101 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11102 into the prompt either (bug#13963).
11104 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11106 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11107 part of "(error-foo)".
11109 2013-03-24 Juri Linkov <juri@jurta.org>
11111 * replace.el (list-matching-lines-prefix-face): New defcustom.
11112 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11113 `occur-engine' if `face-differs-from-default-p' returns t.
11114 (occur-engine): Add `,' inside backquote construct to evaluate
11115 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11116 Pass `prefix-face' to the functions `occur-context-lines' and
11117 `occur-engine-add-prefix'.
11118 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11119 `prefix-face' and propertize the prefix with `prefix-face'.
11122 2013-03-24 Leo Liu <sdl.web@gmail.com>
11124 * nxml/rng-valid.el (rng-validate-while-idle)
11125 (rng-validate-quick-while-idle): Guard against deleted buffer.
11128 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11129 is the last entry in kill-buffer-hook.
11131 * files.el (kill-buffer-hook): Doc fix.
11133 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11135 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11136 Make it safe-local.
11138 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11140 2013-03-23 Leo Liu <sdl.web@gmail.com>
11142 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11145 * nxml/rng-valid.el (rng-validate-mode)
11146 (rng-after-change-function, rng-do-some-validation):
11147 * nxml/rng-maint.el (rng-validate-buffer):
11148 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11149 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11150 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11151 (nxml-extend-after-change-region): Use with-silent-modifications.
11153 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11156 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11157 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11158 timer-idle-list. (Bug#13999)
11160 2013-03-23 Juri Linkov <juri@jurta.org>
11162 * info.el (info-index-match): New face.
11163 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11164 main pattern and add text properties with the new face to matches
11165 in index entries relative to the beginning of the index entry.
11168 2013-03-21 Eric Ludlam <zappo@gnu.org>
11170 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11171 Inhibit read only while inserting objects.
11173 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11175 * progmodes/cfengine.el: Update docs to mention
11176 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11177 symbol motion. Remove "_" from the word syntax.
11179 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11181 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11182 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11184 2013-03-20 Juri Linkov <juri@jurta.org>
11186 * info.el (Info-next-reference-or-link)
11187 (Info-prev-reference-or-link): New functions.
11188 (Info-next-reference, Info-prev-reference): Use them.
11189 (Info-try-follow-nearest-node): Handle footnote navigation.
11190 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11192 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11194 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11195 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11197 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11199 Suppress unnecessary non-ASCII chatter during build process.
11200 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11201 (batch-skkdic-convert): Suppress most of the chatter.
11202 It's not needed so much now that machines are faster,
11203 and its non-ASCII component was confusing; see Dmitry Gutov in
11204 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11206 2013-03-20 Leo Liu <sdl.web@gmail.com>
11208 * ido.el (ido-chop): Fix bug#10994.
11210 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11212 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11214 (whitespace-color-on, whitespace-color-off):
11215 Use `font-lock-fontify-buffer' (Bug#13817).
11217 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11219 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11220 remapping in mode-line.
11221 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11223 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11225 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11226 value for `whitespace-line' face (Bug#13875).
11227 (whitespace-font-lock-keywords): Change description.
11228 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11229 the constructed keywords instead.
11230 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11232 2013-03-19 Leo Liu <sdl.web@gmail.com>
11234 * progmodes/compile.el (compilation-display-error): New command.
11235 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11238 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11240 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11242 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11244 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11246 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11248 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11250 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11251 * net/tramp-gvfs.el (top):
11252 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11253 (tramp-handle-shell-command): Use it.
11254 (tramp-dissect-file-name): Raise an error when hostname is a
11255 method name, and neither method nor user is specified.
11257 * net/trampver.el: Update release number.
11259 2013-03-18 Leo Liu <sdl.web@gmail.com>
11261 Make sure eldoc can be turned off properly.
11262 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11264 (eldoc-display-message-p): Revert last change.
11265 (eldoc-display-message-no-interference-p)
11266 (eldoc-print-current-symbol-info): Tweak.
11268 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11270 * doc-view.el (doc-view-new-window-function): Check the new window
11271 overlay's display property instead the char property of the
11272 buffer's first char. Use `with-selected-window' instead of
11273 `save-window-excursion' with `select-window'.
11274 (doc-view-document->bitmap): Check the current doc-view overlay's
11275 display property instead the char property of the buffer's first char.
11277 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11279 Automate the build of ja-dic.el (Bug#13984).
11280 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11281 from the input, rather than assume that it's been done for us by the
11282 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11283 the current date into a ja-dic.el comment, as that complicates
11284 regression testing.
11286 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11288 * whitespace.el: Fix double evaluation.
11289 (whitespace-space, whitespace-hspace, whitespace-tab)
11290 (whitespace-newline, whitespace-trailing, whitespace-line)
11291 (whitespace-space-before-tab, whitespace-indentation)
11292 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11294 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11295 (whitespace-color-on): Use a single font-lock-add-keywords call.
11296 Fix double-evaluation of face variables.
11298 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11300 * net/tramp-adb.el (tramp-adb-parse-device-names):
11301 Use `start-process' instead of `call-process'. Otherwise, the
11302 function might be blocked under MS Windows. (Bug#13299)
11304 2013-03-17 Leo Liu <sdl.web@gmail.com>
11306 Extend eldoc to display info in the mode-line. (Bug#13978)
11307 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11308 (eldoc-mode-line-string): New variable.
11309 (eldoc-minibuffer-message): New function.
11310 (eldoc-message-function): New variable.
11311 (eldoc-message): Use it.
11312 (eldoc-display-message-p)
11313 (eldoc-display-message-no-interference-p):
11314 Support eldoc-post-insert-mode.
11316 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11317 (eval-expression): Run it.
11319 2013-03-17 Roland Winkler <winkler@gnu.org>
11321 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11322 strings in the list of return values.
11324 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11326 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11327 radix before checking for HMS forms.
11329 2013-03-16 Leo Liu <sdl.web@gmail.com>
11331 * progmodes/scheme.el: Add indentation and font-locking for λ.
11334 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11336 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11337 token before point (bug#13942).
11339 2013-03-16 Leo Liu <sdl.web@gmail.com>
11341 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11343 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11345 * startup.el (command-line-normalize-file-name): Fix handling of
11346 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11347 <xfq.free@gmail.com> in
11348 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11350 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11352 Sync with Tramp 2.2.7.
11354 * net/trampver.el: Update release number.
11356 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11358 * doc-view.el: Fix bug#13887.
11359 (doc-view-insert-image): Don't modify overlay associated to
11360 non-live windows, and implement horizontal centering of image in
11361 case it's smaller than the window.
11362 (doc-view-new-window-function): Force redisplay of new windows on
11365 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11367 * saveplace.el (save-place-alist-to-file): Don't sort
11368 `save-place-alist', just pretty-print it (bug#13882).
11370 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11372 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11373 Check whether `default-file-name-coding-system' is bound.
11374 It isn't in XEmacs.
11376 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11378 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11379 backquotes for `obsolete' (bug#13929).
11381 * international/mule.el (find-auto-coding): Include file name in
11382 obsolescence warning (bug#13922).
11384 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11386 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11387 for CFEngine 3-specific indentation.
11388 (cfengine3-indent-line): Use it. Fix up category regex.
11389 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11391 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11393 * type-break.el (type-break-file-name):
11394 * textmodes/remember.el (remember-data-file):
11395 * strokes.el (strokes-file):
11396 * shadowfile.el (shadow-initialize):
11397 * saveplace.el (save-place-file):
11398 * ps-bdf.el (bdf-cache-file):
11399 * progmodes/idlwave.el (idlwave-config-directory):
11400 * net/quickurl.el (quickurl-url-file):
11401 * international/kkc.el (kkc-init-file-name):
11402 * ido.el (ido-save-directory-list-file):
11403 * emulation/viper.el (viper-custom-file-name):
11404 * emulation/vip.el (vip-startup-file):
11405 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11406 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11408 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11410 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11411 * language/thai-word.el: Switch to UTF-8.
11413 See ChangeLog.16 for earlier changes.
11415 ;; Local Variables:
11419 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11421 This file is part of GNU Emacs.
11423 GNU Emacs is free software: you can redistribute it and/or modify
11424 it under the terms of the GNU General Public License as published by
11425 the Free Software Foundation, either version 3 of the License, or
11426 (at your option) any later version.
11428 GNU Emacs is distributed in the hope that it will be useful,
11429 but WITHOUT ANY WARRANTY; without even the implied warranty of
11430 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11431 GNU General Public License for more details.
11433 You should have received a copy of the GNU General Public License
11434 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.