1 2013-12-20 Juri Linkov <juri@jurta.org>
3 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4 (read-regexp-suggestions): New function.
5 (read-regexp): Use `read-regexp-defaults-function' to get default values.
6 Use `read-regexp-suggestions'. Add non-empty default to history
8 (occur-read-regexp-defaults-function): Remove function.
9 (occur-read-primary-args): Use `regexp-history-last' instead of
10 `occur-read-regexp-defaults-function'.
12 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
13 (hi-lock-line-face-buffer, hi-lock-face-buffer)
14 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
15 `hi-lock-read-regexp-defaults-function'. Doc fix.
16 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
17 with `find-tag-default-as-symbol-regexp'. Doc fix.
18 (hi-lock-read-regexp-defaults): Remove function.
19 (hi-lock-regexp-okay): Add check for null.
21 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
22 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
24 * subr.el (find-tag-default-as-symbol-regexp): New function.
25 (find-tag-default-as-regexp): Move symbol regexp formatting to
26 `find-tag-default-as-symbol-regexp'.
28 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
30 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
33 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
35 * calendar/todo-mode.el: New implementation of item insertion
36 commands and key bindings.
37 (todo-key-prompt): New face.
38 (todo-insert-item): New command.
39 (todo-insert-item--parameters): New defconst, replacing defvar
40 todo-insertion-commands-args-genlist.
41 (todo-insert-item--param-key-alist): New defconst, replacing
42 defvar todo-insertion-commands-arg-key-list.
43 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
44 (todo-insert-item--argsleft, todo-insert-item--apply-args)
45 (todo-insert-item--next-param): New functions.
46 (todo-insert-item--args, todo-insert-item--argleft)
47 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
49 (todo-key-bindings-t): Change binding of "i" from
50 todo-insertion-map to todo-insert-item.
51 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
52 (todo-insertion-command-name, todo-insertion-commands-names)
53 (todo-define-insertion-command, todo-insertion-commands)
54 (todo-insertion-key-bindings, todo-insertion-map): Remove.
56 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
58 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
59 (todo-toggle-item-highlighting): Use eval-and-compile instead of
61 (todo-move-category): Allow choosing a non-existing todo file to
62 move the category to, and create that file.
63 (todo-default-priority): New user option.
64 (todo-set-item-priority): Use it.
65 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
66 (desktop-restore-file-buffer): Declare.
67 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
68 (todo-modes-set-2): Locally set desktop-save-buffer to
69 todo-desktop-save-buffer.
70 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
71 (auto-mode-alist): Add autoload cookie.
73 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
75 * emacs-lisp/subr-x.el: Renamed from helpers.el.
76 helpers.el was a poor choice of name.
77 (string-remove-prefix): New function.
78 (string-remove-suffix): New function.
80 2013-12-20 Martin Rudalics <rudalics@gmx.at>
82 Fix assignment for new window total sizes.
83 * window.el (window--pixel-to-size): Remove function.
84 (window--pixel-to-total-1, window--pixel-to-total): Fix
85 calculation of new total sizes.
87 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
89 * comint.el (comint-output-filter): Fix rear-nonsticky property
90 placement (Bug#16010).
92 2013-12-20 Chong Yidong <cyd@gnu.org>
94 * faces.el (read-color): Minor fix for completion function.
96 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
98 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): New
100 (ruby-smie--indent-to-stmt-p): Use it.
101 (ruby-smie-rules): Revert the logic in the handling of `when'.
102 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
103 (ruby-deep-arglist, ruby-deep-indent-paren)
104 (ruby-deep-indent-paren-style): Update docstrings to note that the
105 vars don't have any effect with SMIE.
107 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
109 * calc/calc.el (calc-enter, calc-pop): Use the variable
110 `calc-context-sensitive-enter'.
112 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
114 * net/shr.el (shr-insert): Protect against infloops in degenerate
117 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
119 * progmodes/octave.el (octave): Add link to manual and octave
121 (octave-mode-menu): Link to octave-mode manual.
123 2013-12-20 Leo Liu <sdl.web@gmail.com>
125 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
126 insertion using skeleton-end-newline. (Bug#16138)
128 2013-12-20 Juri Linkov <juri@jurta.org>
130 * replace.el (occur-engine): Use `add-face-text-property'
131 to add the face property to matches and titles. (Bug#14645)
133 * hi-lock.el (hi-green): Use lighter color "light green" closer to
134 the palette of other hi-lock colors.
135 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
137 2013-12-19 Juri Linkov <juri@jurta.org>
139 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
140 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
141 (minibuffer-history-symbol): Move variable declaration closer to
144 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
147 2013-12-19 Juri Linkov <juri@jurta.org>
149 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
151 (log-edit-hook): Add it to :options. (Bug#16170)
153 2013-12-19 Juri Linkov <juri@jurta.org>
155 * simple.el (eval-expression-print-format): Don't check for
156 command names and the last command. Always display additional
157 formats of the integer result in the echo area, and insert them
158 to the current buffer only with a zero prefix arg.
159 Display character when char-displayable-p is non-nil.
160 (eval-expression): With a zero prefix arg, set `print-length' and
161 `print-level' to nil, and insert the integer values from
162 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
164 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
165 `eval-last-sexp-arg-internal'. Doc fix.
166 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
167 `eval-last-sexp-print-value'. Doc fix.
168 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
169 Set `print-length' and `print-level' to nil when arg is zero.
170 (eval-last-sexp): Doc fix.
171 (eval-defun-2): Print the integer values from
172 `eval-expression-print-format' at the end.
174 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
175 values from `eval-expression-print-format' at the end.
177 * ielm.el (ielm-eval-input): Print the integer
178 values from `eval-expression-print-format' at the end.
180 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
182 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
183 2013-12-11T19:01:44Z!tzz@lifelogs.com.
185 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
187 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
188 (hl-line-highlight, global-hl-line-highlight): Use it.
189 (hl-line-overlay): Use defvar-local.
191 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
193 * term/ns-win.el: Require dnd.
194 (global-map): Remove drag items.
195 (ns-insert-text, ns-set-foreground-at-mouse)
196 (ns-set-background-at-mouse):
197 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
198 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
201 2013-12-19 Glenn Morris <rgm@gnu.org>
203 * emacs-lisp/ert.el (ert-select-tests):
204 Fix string/symbol mixup. (Bug#16121)
206 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
208 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
209 keywords to their parent.
211 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
213 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
214 first arg to be a string (fixed dead code), or an operator symbol.
215 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
217 (ruby-smie-rules): Remove parent token check in the `.' clause, it
218 did nothing. Don't respond to `(:after ".")', it will be called
219 with :before anyway. Remove the ` @ ' rule, it didn't seem to
220 change anything. Only return indentation for binary operators
221 when they are hanging. De-dent opening paren when its parent is
222 `.', otherwise it looks bad when the dot is not at bol or eol
225 2013-12-19 Juri Linkov <juri@jurta.org>
227 * replace.el (query-replace-read-args): Split a non-negative arg
228 and a negative arg into separate elements.
229 (query-replace, query-replace-regexp, replace-string)
230 (replace-regexp): Add arg `backward'. Doc fix.
231 (replace-match-maybe-edit): When new arg `backward' is non-nil,
232 move point to the beginning of the match.
233 (replace-search, replace-highlight): Use new arg `backward'
234 to set the value of `isearch-forward'.
235 (perform-replace): Add arg `backward' and use it to perform
236 replacement backward. (Bug#14979)
238 * isearch.el (isearch-query-replace): Use a negative prefix arg
239 to call `perform-replace' with a non-nil arg `backward'.
241 2013-12-18 Juri Linkov <juri@jurta.org>
243 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
244 to the default list. Move `log-edit-show-files' to the end.
245 Add more available functions to options.
246 (log-edit): Move default specific settings to
247 `log-edit-insert-message-template'. Don't move point.
248 (log-edit-insert-message-template): New function.
249 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
252 2013-12-18 Juri Linkov <juri@jurta.org>
254 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
255 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
257 2013-12-18 Leo Liu <sdl.web@gmail.com>
259 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change. (Bug#16186)
261 2013-12-18 Eli Zaretskii <eliz@gnu.org>
263 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
264 formats for displaying file sizes when the -s switch is given.
265 Instead, compute a separate format for displaying the size in
266 blocks, which is displayed in addition to the "regular" size.
267 When -h is given in addition to -s, produce size in blocks in
268 human-readable form as well. (Bug#16179)
270 2013-12-18 Tassilo Horn <tsdh@gnu.org>
272 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
273 Reference tables with ~\ref{...} instead of only \ref{...}.
275 2013-12-18 Chong Yidong <cyd@gnu.org>
277 * cus-edit.el (custom-magic-alist): Fix "themed" description
280 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
281 is non-nil, do not create a new entry in the symbol's theme-value
282 or theme-face property; update theme-settings only (Bug#14664).
283 (custom-available-themes): Doc fix.
285 * cus-theme.el (custom-new-theme-mode-map): Add bindings
288 * replace.el (occur-engine): Avoid infloop (Bug#7593).
290 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
292 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
295 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
297 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
299 2013-12-18 Glenn Morris <rgm@gnu.org>
301 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
302 * cus-start.el (load-prefer-newer): New option.
304 2013-12-18 Le Wang <l26wang@gmail.com>
306 * comint.el (comint-previous-matching-input-from-input):
307 Retain point (Bug#13404).
309 2013-12-18 Chong Yidong <cyd@gnu.org>
311 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
313 2013-12-18 Glenn Morris <rgm@gnu.org>
315 * mail/emacsbug.el (report-emacs-bug):
316 Only mention enable-multibyte-characters if non-standard.
318 2013-12-17 Juri Linkov <juri@jurta.org>
320 * arc-mode.el (archive-extract-by-file): Check if directory exists
321 before deletion to not show irrelevant errors if it doesn't exist.
323 2013-12-17 Juri Linkov <juri@jurta.org>
325 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
328 * net/eww.el (browse-web): Add alias to `eww'.
329 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
330 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
332 * net/browse-url.el (browse-url-browser-function): Move `eww'
333 closer to similar functions.
335 * startup.el (fancy-startup-screen, fancy-about-screen):
336 Set browse-url-browser-function to eww-browse-url locally.
339 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
341 * window.el (window--pixel-to-total): Remove unused `mini' var.
342 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
343 (split-window): Remove unused `new' var.
344 (window--display-buffer): Remove unused `frame' and `delta' vars.
345 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
348 2013-12-17 Martin Rudalics <rudalics@gmx.at>
350 * dired.el (dired-mark-pop-up):
351 * register.el (register-preview): Don't bind
352 split-height-threshold here since it's now done in
353 display-buffer-below-selected.
355 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
357 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
358 xterm-rgb-convert-to-16bit.
359 (rxvt-register-default-colors): Standardize with
360 xterm-register-default-colors (Bug#14078).
362 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
364 * simple.el (kill-region): Pass mark first, then point, so that
365 kill-append works right (Bug#12819).
366 (copy-region-as-kill, kill-ring-save): Likewise.
368 2013-12-17 Leo Liu <sdl.web@gmail.com>
370 * net/rcirc.el (rcirc-add-face):
371 * eshell/em-prompt.el (eshell-emit-prompt):
372 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
375 2013-12-17 Chong Yidong <cyd@gnu.org>
377 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
378 Suggested by Xue Fuqiao.
380 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
382 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
384 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
386 * net/shr.el (shr-insert-document): Remove unused var
387 `shr-preliminary-table-render'.
388 (shr-rescale-image): Remove unused arg `force'.
389 (shr-put-image): Update calls accordingly.
390 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
392 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
394 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
395 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
396 :close-all, to see which indentation method to use (Bug#16116).
397 (smie-rules-function): Document the method :close-all.
399 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
401 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
403 * net/eww.el (eww-display-html): If we can't find the anchor we're
404 looking for, then go to point-min.
406 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
408 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
409 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
410 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
411 Expand dir too, in case it's relative.
413 2013-12-16 Juri Linkov <juri@jurta.org>
415 * desktop.el (desktop-auto-save-timeout): Change default to
416 `auto-save-timeout'. Doc fix.
417 (desktop-save): Skip the timestamp in desktop-saved-frameset
418 when checking for auto-save changes.
419 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
420 `desktop-auto-save' is called repeatedly by the idle timer.
421 (desktop-auto-save-set-timer): Replace `run-with-timer' with
422 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
425 2013-12-16 Juri Linkov <juri@jurta.org>
427 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
429 (isearch-pre-command-hook): Check `this-command' for symbolp.
431 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
433 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
435 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
437 * progmodes/cfengine.el (cfengine3--current-word): Remove.
438 (cfengine3--current-function): Bring in the current-function
439 functionality from `cfengine3--current-word'.
440 (cfengine3-completion-function): Bring in the
441 bounds-of-current-word functionality from
442 `cfengine3--current-word'.
444 2013-12-16 Martin Rudalics <rudalics@gmx.at>
446 * window.el (display-buffer-below-selected):
447 Bind split-height-threshold to 0 as suggested by Juri Linkov.
449 2013-12-16 Leo Liu <sdl.web@gmail.com>
451 * progmodes/compile.el (compile-goto-error): Do not push-mark.
452 Remove NOMSG arg and all uses changed.
454 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
456 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
457 (cua--deactivate-rectangle): Don't deactivate the mark.
458 (cua-set-rectangle-mark): Don't set mark-active since
459 cua--activate-rectangle already does it for us.
460 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
461 non-rectangular region.
463 * emulation/cua-base.el (cua-repeat-replace-region):
464 Use with-current-buffer.
466 * net/gnutls.el: Use cl-lib.
467 (gnutls-negotiate): `mapcan' -> cl-mapcan.
469 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
471 * emacs-lisp/package.el (package-built-in-p): Support both
472 built-in and the package.el converted package descriptions.
473 (package-show-package-list): Allow keywords.
474 (package-keyword-button-action): Use it instead of
475 `finder-list-matches'.
476 (package-menu-filter-interactive): Interactive filtering (by
478 (package-menu--generate): Support keywords and change keymappings
479 and headers when they are given.
480 (package--has-keyword-p): Helper function.
481 (package-menu--refresh): Use it.
482 (package--mapc): Helper function.
483 (package-all-keywords): Use it.
484 (package-menu-mode-map): Set up menu items and keybindings to
485 provide a filtering UI.
487 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
489 * net/gnutls.el (gnutls-verify-error): New defcustom to control
490 the behavior when a certificate fails validation. Defaults to
491 old behavior: never abort, just warn.
492 (gnutls-negotiate): Use it.
494 2013-12-14 Martin Rudalics <rudalics@gmx.at>
496 * window.el (display-buffer-below-selected): Never split window
497 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
499 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
501 * emacs-lisp/package.el (package--prepare-dependencies): New function.
502 (package-buffer-info): Use it (bug#15108).
504 * icomplete.el (icomplete-completions): Make sure the prefix is already
505 displayed elsewhere before hiding it.
507 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
509 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
510 open-paren tokens when preceded by a open-paren, too.
511 (ruby-smie-rules): Handle virtual indentation after open-paren
512 tokens specially. If there is code between it and eol, return the
513 column where is starts (Bug#16118).
515 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
517 * progmodes/cfengine.el: Fix `add-hook' doc.
518 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
519 (cfengine3--current-word): Fix parameters.
520 (cfengine3-make-syntax-cache): Simplify further.
521 (cfengine3-completion-function, cfengine3--current-function):
522 Use `assq' for symbols.
523 (cfengine3--current-function): Fix `cfengine3--current-word' call.
525 2013-12-13 Glenn Morris <rgm@gnu.org>
527 * loadup.el (load-path): Warn if site-load or site-init changes it.
528 No more need to reset it when bootstrapping.
530 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
532 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
533 locations for cf-promises.
534 (cfengine-mode-syntax-functions-regex): New caching variable.
535 (cfengine3-fallback-syntax): Fallback syntax for cases where
536 cf-promises doesn't run.
537 (cfengine3--current-word): Reimplement using
538 `cfengine-mode-syntax-functions-regex'.
539 (cfengine3-completion-function, cfengine3--current-function):
540 Use `cfengine3-make-syntax-cache' directly.
541 (cfengine3-clear-syntax-cache): New function.
542 (cfengine3-make-syntax-cache): Simplify and create
543 `cfengine-mode-syntax-functions-regex' on demand.
544 (cfengine3-format-function-docstring): Don't call
545 `cfengine3-make-syntax-cache' explicitly.
547 2013-12-13 Martin Rudalics <rudalics@gmx.at>
549 Fix windmove-find-other-window broken after pixelwise resizing
551 * windmove.el (windmove-other-window-loc): Revert change from
553 (windmove-find-other-window): Call window-in-direction.
554 * window.el (window-in-direction): New arguments SIGN, WRAP and
555 MINI to emulate original windmove-find-other-window behavior.
557 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
559 * simple.el (blink-matching--overlay): New variable.
560 (blink-matching-open): Instead of moving point, highlight the
561 matching paren with an overlay
562 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
564 * faces.el (paren-showing-faces, show-paren-match)
565 (show-paren-mismatch): Move from paren.el.
567 2013-12-13 Leo Liu <sdl.web@gmail.com>
569 * indent.el (indent-region): Disable progress reporter in
570 minibuffer. (Bug#16108)
572 * bindings.el (visual-order-cursor-movement): Fix version.
574 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
576 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
577 Also match after beginning of line.
578 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
579 files. Thanks to Russell Sim. (Bug#15378)
581 2013-12-13 Juri Linkov <juri@jurta.org>
583 * simple.el <Keypad support>: Remove key bindings duplicated
584 with bindings.el. (Bug#14397)
586 2013-12-13 Juri Linkov <juri@jurta.org>
588 * comint.el (comint-mode-map): Replace `delete-char' with
589 `delete-forward-char'. (Bug#16109)
591 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
593 * progmodes/python.el (python-indent-calculate-indentation):
594 Fix de-denters cornercase. (Bug#15731)
596 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
598 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
599 (advice--make): Pay attention to `depth'.
600 (advice--make-1): Don't autoload commands eagerly.
601 * emacs-lisp/elp.el (elp-instrument-function):
602 * emacs-lisp/trace.el (trace-function-internal):
603 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
605 * iswitchb.el (iswitchb-mode): Don't belittle ido.
607 2013-12-12 Eli Zaretskii <eliz@gnu.org>
609 * term/w32-win.el (w32-handle-dropped-file):
610 * startup.el (normal-top-level):
611 * net/browse-url.el (browse-url-file-url):
612 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
613 decode file names using 'utf-8' rather than
614 file-name-coding-system.
616 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
618 * progmodes/python.el (python-indent-context)
619 (python-indent-calculate-indentation): Fix auto-identation
620 behavior for comment blocks. (Bug#15916)
622 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
624 * progmodes/python.el (python-indent-calculate-indentation):
625 When determining indentation, don't treat "return", "pass", etc., as
626 operators when they are just string constituents. (Bug#15812)
628 2013-12-12 Juri Linkov <juri@jurta.org>
630 * uniquify.el (uniquify-buffer-name-style): Change default to
631 `post-forward-angle-brackets'.
633 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
634 `uniquify'. Change default to `post-forward-angle-brackets'.
636 2013-12-11 Glenn Morris <rgm@gnu.org>
638 * emacs-lisp/package.el (finder-list-matches):
639 Autoload rather than falsely declaring.
641 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
643 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
644 (eww-mode-map): Use them.
646 2013-12-11 Martin Rudalics <rudalics@gmx.at>
648 * window.el (display-buffer-in-side-window): Fix doc-string
651 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
653 * vc/vc-git.el: Silence byte-compiler warnings.
654 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
655 (log-edit-set-header): Declare.
657 2013-12-11 Eli Zaretskii <eliz@gnu.org>
659 * Makefile.in (custom-deps, finder-data): Run output file names
660 through unmsys--file-name. (Bug#16099)
662 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
664 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
665 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
667 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
668 instead of deleting the selection "by hand" (bug#16098).
669 Rely on insert-for-yank to yank rectangles.
670 (cua-highlight-region-shift-only): Mark obsolete.
671 (cua-mode): Don't enable/disable transient-mark-mode,
672 shift-select-mode (cua-mode works both with and without them), and
673 pc-selection-mode (obsolete).
674 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
675 (cua--deactivate-rectangle): Deactivate it.
677 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
678 (delete-selection-helper): Make sure yank starts at the top of the
680 (minibuffer-keyboard-quit): Use region-active-p.
682 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
684 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
685 to `delete' (bug#16109).
687 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
689 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
690 info manual and show keybindings and set `:group' keyword.
692 2013-12-11 Juri Linkov <juri@jurta.org>
694 * delsel.el (delete-active-region): Let-bind `this-command'
695 to prevent `kill-region' from changing its original value.
696 (delete-selection-helper): Handle `overwrite-mode' for the type
697 `kill' exactly the same way as for the type `t'.
698 (insert-char, quoted-insert, reindent-then-newline-and-indent):
699 Support more commands. (Bug#13312)
701 2013-12-11 Juri Linkov <juri@jurta.org>
703 * bindings.el: Map kp keys to non-kp keys systematically
704 with basic modifiers control, meta and shift. (Bug#14397)
706 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
708 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
709 "Close browser" menu items. Fix wrong function of "List
712 2013-12-11 Juri Linkov <juri@jurta.org>
714 * misearch.el (multi-isearch-buffers): Set the value of
715 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
716 arg of isearch-forward to t.
717 (multi-isearch-buffers-regexp): Set the value of
718 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
719 arg of isearch-forward-regexp to t.
720 (multi-isearch-files): Set the value of
721 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
722 arg of isearch-forward to t.
723 (multi-isearch-files-regexp): Set the value of
724 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
725 arg of isearch-forward-regexp to t. (Bug#16035)
727 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
728 arg of isearch-forward to t.
729 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
730 arg of isearch-forward-regexp to t.
731 (dired-isearch-filter-filenames): Remove unnecessary check for
732 `dired-isearch-filenames'.
734 * comint.el (comint-history-isearch-backward):
735 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
736 (comint-history-isearch-backward-regexp):
737 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
739 2013-12-10 Eli Zaretskii <eliz@gnu.org>
741 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
742 unmsys--file-name. (Bug#16099)
744 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
746 * emacs-lisp/package.el (package-keyword-button-action):
747 Remove finder.el require dependency.
749 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
751 * emacs-lisp/package.el: Require finder.el.
752 (describe-package-1): Add keyword buttons.
753 (package-make-button): New convenience function.
754 (package-keyword-button-action): Keyword button action using
755 `finder-list-matches'
757 2013-12-09 Eli Zaretskii <eliz@gnu.org>
759 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
762 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
764 * autorevert.el (auto-revert-notify-add-watch): Do not handle
767 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
769 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
770 after the end of a percent literal.
772 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
774 * progmodes/ruby-mode.el (ruby-forward-string): Document.
775 Handle caret-delimited strings (Bug#16079).
777 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
779 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
780 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
781 `ruby-parse-partial' (Bug#16078).
783 2013-12-09 Leo Liu <sdl.web@gmail.com>
785 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
787 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
789 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
790 (js-switch-indent-offset): New option.
791 (js--proper-indentation): Use it. And handle the case when
792 "default" is actually a key in an object literal.
793 (js--same-line): New function.
794 (js--multi-line-declaration-indentation): Use it.
795 (js--indent-in-array-comp, js--array-comp-indentation):
797 (js--proper-indentation): Use them, to handle array comprehension
800 2013-12-08 Leo Liu <sdl.web@gmail.com>
802 * progmodes/flymake.el (flymake-highlight-line): Re-write.
803 (flymake-make-overlay): Remove arg MOUSE-FACE.
804 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
806 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
808 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
810 (redisplay-highlight-region-function): Use it.
812 * emulation/cua-base.el (cua--explicit-region-start)
813 (cua--last-region-shifted): Remove.
814 (cua--deactivate): Use deactivate-mark.
815 (cua--pre-command-handler-1): Don't handle shift-selection.
816 (cua--post-command-handler-1): Don't change transient-mark-mode.
817 (cua--select-keymaps): Use region-active-p rather than
818 cua--explicit-region-start or cua--last-region-shifted.
819 (cua-mode): Enable shift-select-mode.
821 2013-12-08 Leo Liu <sdl.web@gmail.com>
823 * progmodes/flymake.el (flymake-popup-current-error-menu):
824 Rename from flymake-display-err-menu-for-current-line. Reimplement.
825 (flymake-posn-at-point-as-event, flymake-popup-menu)
826 (flymake-make-emacs-menu): Remove. (Bug#16077)
828 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
830 * rect.el (rectangle-mark-mode): Activate mark even if
831 transient-mark-mode is off (bug#16066).
832 (rectangle--highlight-for-redisplay): Fix boundary condition when point
833 is > mark and at bolp.
835 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
836 (region-extract-function): Use it.
837 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
838 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
840 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
841 kill-ring-save, kill-region, delete-char, delete-forward-char.
842 Ignore self-insert-iso.
844 * emulation/cua-gmrk.el (cua--init-global-mark):
845 Ignore `self-insert-iso'.
847 * emulation/cua-base.el (cua--prefix-copy-handler)
848 (cua--prefix-cut-handler): Rely on region-extract-function rather than
849 checking cua--rectangle.
850 (cua-delete-region): Use region-extract-function.
851 (cua-replace-region): Delete function.
852 (cua-copy-region, cua-cut-region): Obey region-extract-function.
853 (cua--pre-command-handler-1): Don't do the delete-selection thing.
854 (cua--self-insert-char-p): Ignore `self-insert-iso'.
855 (cua--init-keymaps): Don't remap delete-selection commands.
856 (cua-mode): Use delete-selection-mode instead of rolling our own
859 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
860 Obey region-extract-function.
862 Make registers and delete-selection-mode work on rectangles.
863 * register.el (describe-register-1): Don't modify the register's value.
864 (copy-to-register): Obey region-extract-function.
865 * delsel.el (delete-active-region): Obey region-extract-function.
867 2013-12-08 Leo Liu <sdl.web@gmail.com>
869 * progmodes/flymake.el (flymake, flymake-error-bitmap)
870 (flymake-warning-bitmap, flymake-fringe-indicator-position)
871 (flymake-compilation-prevents-syntax-check)
872 (flymake-start-syntax-check-on-newline)
873 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
874 (flymake-start-syntax-check-on-find-file, flymake-log-level)
875 (flymake-xml-program, flymake-master-file-dirs)
876 (flymake-master-file-count-limit)
877 (flymake-allowed-file-name-masks): Relocate.
878 (flymake-makehash, flymake-float-time)
879 (flymake-replace-regexp-in-string, flymake-split-string)
880 (flymake-get-temp-dir): Remove.
881 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
882 (flymake-current-row, flymake-selected-frame)
883 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
884 related functions. (Bug#16077)
886 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
888 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
890 2013-12-07 Tassilo Horn <tsdh@gnu.org>
892 * help-fns.el (describe-function-1): Use new advice-* functions
893 rather than old ad-* functions. Fix function type description and
894 source links for advised functions and subrs.
896 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
898 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
900 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
902 * progmodes/compile.el (compilation-start):
903 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
905 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
906 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
908 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
910 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
911 Touch up the last change.
913 2013-12-06 Leo Liu <sdl.web@gmail.com>
915 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
916 (inferior-octave-startup): Always use "octave> " for prompt.
917 (octave-goto-function-definition)
918 (octave-sync-function-file-names)
919 (octave-find-definition-default-filename): Remove redundant backquotes.
921 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
923 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
925 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
926 where appropriate already.
927 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
928 end of method names (Bug#15874).
930 2013-12-06 Juri Linkov <juri@jurta.org>
932 * isearch.el (isearch--saved-overriding-local-map):
933 New internal variable.
934 (isearch-mode): Set it to the initial value of
935 `overriding-terminal-local-map'.
936 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
937 with `isearch--saved-overriding-local-map'. (Bug#16035)
939 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
941 * progmodes/octave.el (inferior-octave-completion-table):
942 Turn back into function, use `completion-table-with-cache'
943 (Bug#11906). Update all references.
945 * minibuffer.el (completion-table-with-cache): New function.
947 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
949 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
951 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
953 * net/eww.el (eww-current-source): New variable to store page
955 (eww-display-html, eww-mode, eww-save-history)
956 (eww-restore-history): Use it.
957 (eww-view-source): New command to view page source.
958 Opportunistically uses `html-mode' to highlight the buffer.
959 (eww-mode-map): Install it.
961 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
963 * net/dbus.el (dbus-unregister-service)
964 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
966 (dbus-unregister-service): Skip :serial entries in
967 `dbus-registered-objects-table'.
968 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
970 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
972 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
973 around keywords with extra `split-string' argument.
975 2013-12-04 Martin Rudalics <rudalics@gmx.at>
977 * windmove.el (windmove-other-window-loc): Handle navigation
978 between windows (excluding the minibuffer window - Bug#16017).
980 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
982 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
983 in D-Bus type syntax.
984 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
985 preserve unibyte strings. (Bug#16048)
987 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
989 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
990 Call force-mode-line-update is the proper buffer (bug#16042).
992 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
994 * vc/log-edit.el (log-edit-add-new-comment): Rename to
995 `log-edit-remember-comment', make argument optional. Adjust all
997 (log-edit-mode): Add `log-edit-remember-comment' to
998 `kill-buffer-hook' locally.
999 (log-edit-kill-buffer): Don't remember comment explicitly since
1000 the buffer is killed anyway.
1002 2013-12-04 Juri Linkov <juri@jurta.org>
1004 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1005 add-hook and remove-hook for multi-buffer search. (Bug#16035)
1007 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
1009 * notifications.el (notifications-close-notification): Call the
1010 D-Bus method with ID being a `:uint32'. (Bug#16030)
1012 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
1014 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1016 2013-12-03 Juri Linkov <juri@jurta.org>
1018 * progmodes/compile.el (compilation-start): Rename window alist
1019 entry `no-display-ok' to `allow-no-window'.
1021 * simple.el (shell-command): Add window alist entry
1022 `allow-no-window' to `display-buffer'.
1023 (async-shell-command): Doc fix.
1025 * window.el (display-buffer-no-window): New action function.
1026 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
1028 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1030 * vc/log-edit.el (log-edit-set-header): Extract from
1031 `log-edit-toggle-header'.
1032 (log-edit-extract-headers): Separate the summary, when extracted
1033 from header, from the rest of the message with an empty line.
1035 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1036 line, if present, to the Summary header.
1038 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1040 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1041 in current-buffer (bug#16029).
1043 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
1045 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
1046 (debugger-mode-map): Bind it.
1047 (debugger--backtrace-base): New function.
1048 (debugger-eval-expression): Use it.
1049 (debugger-frame-number): Skip local vars when present.
1050 (debugger--locals-visible-p, debugger--insert-locals)
1051 (debugger--show-locals, debugger--hide-locals): New functions.
1053 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
1055 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
1057 (tramp-get-remote-locale): New defun.
1058 (tramp-open-connection-setup-interactive-shell): Use it.
1060 2013-12-02 Leo Liu <sdl.web@gmail.com>
1062 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
1064 * progmodes/sh-script.el (sh-shell-process):
1065 * progmodes/octave.el (inferior-octave-process-live-p):
1066 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
1067 (gdb-inferior-io-sentinel):
1068 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
1070 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1072 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
1073 `save-selected-window' to `log-edit-hide-buf'. This makes
1074 `log-edit-show-files' idempotent.
1075 (log-edit-show-files): Mark the new window as dedicated.
1077 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
1079 * vc/log-edit.el (log-edit-mode-map): Add binding for
1080 `log-edit-kill-biffer'.
1081 (log-edit-hide-buf): Add a FIXME comment.
1082 (log-edit-add-new-comment): New function, extracted from
1084 (log-edit-done, log-edit-add-to-changelog): Use it.
1085 (log-edit-kill-buffer): New command.
1087 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1089 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
1090 instead of killing the buffer.
1092 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1094 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
1096 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1098 * net/eww.el (eww-form-checkbox-selected-symbol)
1099 (eww-form-checkbox-symbol): New customizable variable.
1100 (eww-form-checkbox, eww-toggle-checkbox):
1101 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
1103 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
1104 (shr--get-media-pref, shr--extract-best-source): New function.
1105 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
1106 no :src tag was specified.
1108 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
1109 (eww-render): Handle `eww-use-external-browser-for-content-type'.
1110 Use \\` to match beginning of string instead of ^.
1111 (eww-browse-with-external-browser): Provide optional URL parameter.
1112 (eww-render): Set `eww-current-title' back to "".
1114 * net/shr.el (shr-tag-video): Display content for video if no
1115 poster is available.
1116 (shr-tag-audio): Add support for <audio> tag.
1118 * net/eww.el (eww-text-input-types): : New const.
1119 (eww-process-text-input): Treat input types in
1120 `eww-text-input-types' as text.
1122 * net/shr.el (shr-tag-table): Fix comment typo.
1124 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1126 * net/eww.el (eww-follow-link): New command to avoid reloading
1127 pages when we follow #target links (bug#15243).
1128 (eww-quit): Special mode buffers shouldn't query before exiting.
1130 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1132 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
1135 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
1137 * net/eww.el (eww-restore-history): Update the window title after
1138 moving in the history.
1139 (eww-current-dom): New variable used to save the current DOM.
1141 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
1143 * vc/log-edit.el (log-edit-mode-map): Add binding for
1144 `log-edit-beginning-of-line'.
1145 (log-edit-setup-add-author): New user option.
1146 (log-edit-beginning-of-line): New command.
1147 (log-edit): Move major mode call above the contents setup so that
1148 the local variable values are already applied.
1149 (log-edit): Only insert "Author: " when
1150 `log-edit-setup-add-author' is non-nil.
1151 (log-edit): When SETUP is non-nil, position point after ": "
1152 instead of point-min.
1154 2013-12-01 Glenn Morris <rgm@gnu.org>
1156 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
1158 2013-11-30 Eli Zaretskii <eliz@gnu.org>
1160 * startup.el (fancy-splash-frame): On MS-Windows, trigger
1161 redisplay to make sure the initial frame gets a chance to become
1162 visible. (Bug#16014)
1164 2013-11-30 Martin Rudalics <rudalics@gmx.at>
1166 Support resizing frames and windows pixelwise.
1167 * cus-start.el (frame-resize-pixelwise)
1168 (window-resize-pixelwise): New entries.
1169 * emacs-lisp/debug.el (debug): Use window-total-height instead
1170 of window-total-size.
1171 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
1172 * help.el (describe-bindings-internal): Call help-buffer
1173 (temp-buffer-max-width): New option.
1174 (resize-temp-buffer-window, help-window-setup)
1175 (with-help-window): Rewrite.
1176 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
1178 * window.el (frame-char-size, window-min-pixel-height)
1179 (window-safe-min-pixel-height, window-safe-min-pixel-width)
1180 (window-min-pixel-width, window-safe-min-pixel-size)
1181 (window-combination-p, window-safe-min-size)
1182 (window-resizable-p, window--size-to-pixel)
1183 (window--pixel-to-size, window--resize-apply-p): New functions.
1184 (window-safe-min-height): Fix doc-string.
1185 (window-size, window-min-size, window--min-size-1)
1186 (window-sizable, window-sizable-p, window--min-delta-1)
1187 (window-min-delta, window--max-delta-1, window-max-delta)
1188 (window--resizable, window--resizable-p, window-resizable)
1189 (window-full-height-p, window-full-width-p, window-at-side-p)
1190 (window--in-direction-2, window-in-direction)
1191 (window--resize-reset-1, window--resize-mini-window)
1192 (window-resize, window-resize-no-error)
1193 (window--resize-child-windows-normal)
1194 (window--resize-child-windows, window--resize-siblings)
1195 (window--resize-this-window, window--resize-root-window)
1196 (window--resize-root-window-vertically)
1197 (adjust-window-trailing-edge, enlarge-window, shrink-window)
1198 (maximize-window, minimize-window, delete-window)
1199 (quit-restore-window, window-split-min-size, split-window)
1200 (balance-windows-2, balance-windows)
1201 (balance-windows-area-adjust, balance-windows-area)
1202 (window--state-get-1, window-state-get, window--state-put-1)
1203 (window--state-put-2, window-state-put)
1204 (display-buffer-record-window, window--display-buffer):
1205 Make functions handle pixelwise sizing of windows.
1206 (display-buffer--action-function-custom-type)
1207 (display-buffer-fallback-action):
1208 Add display-buffer-in-previous-window.
1209 (display-buffer-use-some-window): Resize window to height it had
1211 (fit-window-to-buffer-horizontally): New option.
1212 (fit-frame-to-buffer): Describe new values.
1213 (fit-frame-to-buffer-bottom-margin): Replace with
1214 fit-frame-to-buffer-margins.
1215 (window--sanitize-margin): New function.
1216 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
1217 using window-text-pixel-size.
1219 2013-11-30 Glenn Morris <rgm@gnu.org>
1221 * emacs-lisp/bytecomp.el (byte-compile-form):
1222 Make the `interactive-only' warning like the `obsolete' one.
1223 * comint.el (comint-run):
1224 * files.el (insert-file-literally, insert-file):
1225 * replace.el (replace-string, replace-regexp):
1226 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
1227 (goto-line, insert-buffer, next-line, previous-line):
1228 Tweak `interactive-only' spec.
1230 Stop keeping (most) generated cedet grammar files in the repository.
1231 * Makefile.in (semantic): New.
1232 (compile-main): Depend on semantic.
1234 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1236 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
1237 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
1239 * uniquify.el (uniquify-buffer-name-style): Change default.
1241 * loadup.el: Preload "uniquify".
1243 * time.el (display-time-update): Update all mode lines (bug#15999).
1245 * electric.el (electric-indent-mode): Enable by default.
1246 * loadup.el: Preload "electric".
1248 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
1250 * emacs-lisp/helpers.el (string-empty-p): New function.
1251 (string-blank-p): New function.
1253 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
1255 * imenu.el (imenu--index-alist): Add missing dot to the docstring
1258 2013-11-29 Andreas Politz <politza@fh-trier.de>
1259 * imenu.el (imenu--subalist-p): Don't error on non-conses and
1260 allow non-lambda lists as functions.
1261 (imenu--in-alist): Don't recurse into non-subalists.
1262 (imenu): Don't pass function itself as an argument (Bug#14029).
1264 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
1266 * progmodes/python.el (python-mode-map): Remove binding for ":".
1267 (python-indent-electric-colon): Remove command.
1268 (python-indent-post-self-insert-function): Integrate the previous code
1269 of python-indent-electric-colon. Make it conditional on
1270 electric-indent-mode.
1271 (python-mode): Add ?: to electric-indent-chars.
1272 Move python-indent-post-self-insert-function to the end of
1273 post-self-insert-hook.
1275 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1277 * doc-view.el (doc-view-goto-page): Update mode-line.
1279 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1281 2013-11-27 Glenn Morris <rgm@gnu.org>
1283 * international/charprop.el, international/uni-bidi.el:
1284 * international/uni-category.el, international/uni-combining.el:
1285 * international/uni-comment.el, international/uni-decimal.el:
1286 * international/uni-decomposition.el, international/uni-digit.el:
1287 * international/uni-lowercase.el, international/uni-mirrored.el:
1288 * international/uni-name.el, international/uni-numeric.el:
1289 * international/uni-old-name.el, international/uni-titlecase.el:
1290 * international/uni-uppercase.el:
1291 Remove generated files from VCS repository.
1293 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1295 * filenotify.el (file-notify-add-watch): Don't special-case
1296 w32notify when computing the directory to watch.
1298 2013-11-27 Glenn Morris <rgm@gnu.org>
1300 Make bootstrap without generated uni-*.el files possible again.
1301 * loadup.el: Update command-line-args checking for unidata-gen.
1302 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1303 * composite.el, international/characters.el:
1304 Handle unicode tables being undefined.
1306 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1307 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1308 (compile-main): Depend on leim rule.
1310 * loadup.el: Move leim-list.el to leim/ subdirectory.
1311 * startup.el (normal-top-level): No more leim directory.
1312 * international/ja-dic-cnv.el (skkdic-convert):
1313 Disable version-control and autoloads in output files.
1314 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1315 Disable version-control and autoloads in output files.
1316 * leim/quail: Move here from ../leim.
1317 * leim/quail/hangul.el (hangul-input-method-activate):
1318 Add autoload cookie.
1319 (generated-autoload-load-name): Set file-local value.
1320 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1321 (generated-autoload-load-name): Set file-local value.
1323 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1325 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1326 (eww-add-bookmark): ask confirmation when add to bookmarks
1327 (eww-quit): ask confirmation before quitting eww
1329 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1331 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1332 reading output from Diff on MS-Windows and MS-DOS.
1334 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1336 * emacs-lisp/helpers.el (string-reverse): New function.
1338 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1340 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1341 names on MS Windows, like "/[::1]:".
1343 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1346 2013-11-26 Glenn Morris <rgm@gnu.org>
1348 * progmodes/python.el (python-indent-guess-indent-offset):
1349 Avoid corner-case error. (Bug#15975)
1351 Preload leim-list.el. (Bug#4789)
1352 * loadup.el: Load leim-list.el when found.
1353 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1355 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1357 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1359 * emacs-lisp/helpers.el (string-join): New function.
1361 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1363 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1364 Mark as obsolete and replace it with a symbol property.
1365 (byte-compile-form): Use new 'interactive-only property.
1366 * comint.el, files.el, replace.el, simple.el:
1367 Apply new 'interactive-only properly.
1369 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1371 * window.el (display-buffer-at-bottom): Make sure that
1372 split-window-sensibly creates the new window on bottom
1375 2013-11-23 David Kastrup <dak@gnu.org>
1377 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1378 on the conflict markers when available.
1379 (smerge--get-marker): New function.
1380 (smerge-end-re, smerge-base-re): Add subgroup.
1382 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1384 * frame.el (handle-focus-in, handle-focus-out): Add missing
1387 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1389 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1390 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1392 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1394 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1395 (gomoku--last-pos): New var.
1396 (gomoku--intangible-chars): New const.
1397 (gomoku--intangible): New function.
1398 (gomoku-mode): Use it. Derive from special-mode.
1399 (gomoku-move-up): Adjust line count.
1400 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1401 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1402 Simplify accordingly.
1404 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1405 Remove blink-cursor code.
1406 (blink-cursor-timer-function, blink-cursor-suspend):
1407 Don't special-case GUIs.
1408 (blink-cursor-mode): Use focus-in/out-hook.
1410 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1412 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1413 work when annotation is invisible (Bug#13886).
1415 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1417 * json.el (json-alist-p): Only return non-nil if the alist has
1418 simple keys (Bug#13518).
1420 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1422 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1423 when control-statement is the first statement in a buffer (Bug#15956).
1425 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1427 * imenu.el (imenu-generic-skip-comments-and-strings):
1428 New option (Bug#15560).
1429 (imenu--generic-function): Use it.
1431 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1433 * minibuffer.el (completion--in-region-1): Scroll the correct
1436 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1438 * emacs-lisp/helpers.el: Add some string helpers.
1439 (string-trim-left): Removes leading whitespace.
1440 (string-trim-right): Removes trailing whitespace.
1441 (string-trim): Removes leading and trailing whitespace.
1443 * subr.el (string-suffix-p): New function.
1445 2013-11-23 Glenn Morris <rgm@gnu.org>
1447 * progmodes/python.el (python-shell-send-file):
1448 Add option to delete file when done. (Bug#15647)
1449 (python-shell-send-string, python-shell-send-region): Use it.
1451 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1453 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1454 to set buffer-read-only to t, never to nil. (Bug#15938)
1456 * textmodes/tex-mode.el (latex-noindent-environments):
1457 Add safe-local-variable property. (Bug#15936)
1459 2013-11-23 Glenn Morris <rgm@gnu.org>
1461 * textmodes/enriched.el (enriched-mode): Doc fix.
1462 * emacs-lisp/authors.el (authors-renamed-files-alist):
1463 Add enriched.doc -> enriched.txt.
1465 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1467 2013-11-22 Leo Liu <sdl.web@gmail.com>
1469 * progmodes/octave.el (inferior-octave-startup): Spit out error
1472 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1474 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1477 (ruby-encoding-magic-comment-style): Add :version.
1479 2013-11-22 Leo Liu <sdl.web@gmail.com>
1481 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1483 (octave-help-mode): Adapt to change to help-mode-finish to use
1484 derived-mode-p on 2013-09-17.
1485 (inferior-octave-prompt): Also match octave-gui.
1486 (octave-kill-process): Don't ask twice. (Bug#10564)
1488 2013-11-22 Leo Liu <sdl.web@gmail.com>
1490 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1491 (inferior-octave-startup, inferior-octave-check-process)
1492 (inferior-octave-track-window-width-change)
1493 (octave-completion-at-point, octave-eldoc-function): Use it.
1494 (octave-kill-process): Provide confirmation. (Bug#10564)
1496 2013-11-21 Leo Liu <sdl.web@gmail.com>
1498 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1499 Fix obsolete variable comment-use-global-state.
1501 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1503 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1504 Add `octave-source-file'.
1505 (octave-source-file): New function. (Bug#15935)
1507 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1509 * net/eww.el (eww-local-regex): New variable.
1510 (eww): Use it to detect localhost and similar.
1512 2013-11-21 Leo Liu <sdl.web@gmail.com>
1514 Add completion for command `ag'.
1515 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1516 (pcomplete/ag): New function.
1517 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1519 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1521 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1523 (make-obsolete): Remove interactive spec.
1525 2013-11-21 Glenn Morris <rgm@gnu.org>
1527 * startup.el (command-line-1): Use path-separator with -L.
1529 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1531 * emacs-lisp/package.el (describe-package-1): Add package archive
1534 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1536 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1537 Change default to "# encoding: %s" to differentiate it from the
1538 default Ruby encoding comment template.
1540 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1542 * ses.el (ses-mode): Doc fix. (Bug#14748)
1544 2013-11-20 Leo Liu <sdl.web@gmail.com>
1546 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1548 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1550 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1551 when rebase or bisect are in progress.
1553 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1555 * filenotify.el (file-notify-add-watch): Doc fix.
1557 2013-11-19 Leo Liu <sdl.web@gmail.com>
1559 * obsolete/rcompile.el: Mark obsolete.
1561 * progmodes/compile.el (compilation-start)
1562 (compilation-goto-locus, compilation-find-file):
1563 Pass no-display-ok and handle nil value from display-buffer.
1566 * window.el (display-buffer-alist, display-buffer): Document the
1567 new parameter no-display-ok. Return either a window or nil
1568 but never a non-window value.
1570 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1572 * electric.el (electric-indent-mode-map): Remove.
1573 (electric-indent-mode): Change the global-map instead (bug#15915).
1575 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1578 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1580 * emacs-lisp/nadvice.el (remove-function): Align with
1581 add-function's behavior.
1583 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1584 (gdb--string-regexp): New constant.
1585 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1586 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1587 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1589 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1590 Adjust use accordingly.
1591 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1593 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1595 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1596 interpolation curlies (Bug#15914).
1598 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1600 * calc/calc.el (calc-context-sensitive-enter): New variable.
1601 (calc-enter): Use `calc-context-sensitive-enter'.
1603 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1605 * progmodes/cfengine.el: Version bump.
1606 (cfengine-cf-promises): New defcustom to locate cf-promises.
1607 (cfengine3-vartypes): Add new "data" type.
1608 (cfengine3--current-word): New function to get current name-like
1610 (cfengine3--current-function): New function to look up a CFEngine
1611 function's definition.
1612 (cfengine3-format-function-docstring): New function.
1613 (cfengine3-make-syntax-cache): New function.
1614 (cfengine3-documentation-function): New function: ElDoc glue.
1615 (cfengine3-completion-function): New function: completion glue.
1616 (cfengine3-mode): Set `compile-command',
1617 `eldoc-documentation-function', and add to
1618 `completion-at-point-functions'.
1620 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1622 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1623 `tramp-current-connection'.
1625 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1627 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1628 nil/self/true/false with "end of symbol".
1630 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1632 * subr.el (version-regexp-alist): Fix a typo.
1634 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1636 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1637 "en_US.utf8" and "LC_CTYPE" to "".
1638 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1639 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1641 2013-11-15 Leo Liu <sdl.web@gmail.com>
1643 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1645 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1647 * progmodes/gud.el (ctl-x-map):
1648 Remove C-x SPC binding. (Bug#12342)
1649 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1651 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1653 * subr.el (version-regexp-alist):
1654 Recognize hg, svn and darcs versions as snapshot versions.
1656 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1657 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1658 (ruby--encoding-comment-required-p): Extract from
1659 `ruby-mode-set-encoding'.
1660 (ruby-mode-set-encoding): Add the ability to always insert an
1661 utf-8 encoding comment. Fix and simplify coding comment update
1664 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1666 * net/tramp-gvfs.el (top): Run init code only when
1667 `tramp-gvfs-enabled' is not nil.
1668 (tramp-gvfs-enabled): Check also :system bus.
1670 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1672 Sync with upstream verilog-mode revision 78e66ba.
1673 * progmodes/verilog-mode.el (verilog-end-of-defun)
1674 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1675 (verilog-get-end-of-defun): Remove unused argument.
1676 (verilog-comment-depth): Remove unused local `e'.
1677 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1678 Don't pass arg to verilog-get-end-of-defun.
1680 2013-11-14 Glenn Morris <rgm@gnu.org>
1682 * obsolete/assoc.el (aget): Prefix dynamic variable.
1684 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1686 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1688 * widget.el, hfy-cmap.el: Remove bogus package version number.
1690 2013-11-13 Glenn Morris <rgm@gnu.org>
1692 * replace.el (replace-eval-replacement):
1693 Try to give more helpful error message. (Bug#15836)
1695 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1696 (archive-7z-update): Avoid custom type mismatches.
1698 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1700 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1702 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1703 address can be empty.
1705 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1706 Accept nil SWITCHES.
1707 (tramp-gvfs-handle-write-region): Implement APPEND.
1709 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1711 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1712 binary "|" operator and closing block args delimiter.
1713 Remove FIXME comment referring to Ruby 1.8-only syntax.
1714 (ruby-smie--implicit-semi-p): Not after "|" operator.
1715 (ruby-smie--closing-pipe-p): New function.
1716 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1717 (ruby-smie-rules): Indent after "|".
1719 2013-11-12 Glenn Morris <rgm@gnu.org>
1721 * ps-print.el (ps-face-attribute-list):
1722 Handle anonymous faces. (Bug#15827)
1724 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1726 * window.el (display-buffer-other-frame): Fix doc-string.
1729 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1731 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1733 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1735 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1736 (tramp-sh-handle-file-local-copy): Don't write a message when
1737 saving temporary files.
1739 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1740 both directories are remote.
1741 (tramp-smb-handle-directory-files): Do not return double entries.
1742 Do not expand full file names.
1743 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1744 (tramp-smb-handle-write-region): Implement APPEND.
1745 (tramp-smb-get-stat-capability): Fix a stupid bug.
1747 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1749 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1751 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1753 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1754 throwing error over malformed let/let* (bug#15814).
1756 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1758 * iswitchb.el (iswitchb-mode): Mark obsolete.
1760 2013-11-11 Glenn Morris <rgm@gnu.org>
1762 * international/uni-bidi.el, international/uni-category.el:
1763 * international/uni-name.el, international/uni-numeric.el:
1764 Regenerate for Unicode 6.3.0.
1766 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1768 * net/tramp.el (tramp-methods):
1769 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1770 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1772 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1774 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1775 Force highlighting text after Summary keyword in doc face for rpm.
1777 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1779 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1780 available and the word has no wildcards, append one to the grep pattern.
1781 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1782 (ispell-complete-word): Call `ispell-lookup-words' with the value
1783 independent of `ispell-look-p'.
1785 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1787 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1789 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1792 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1794 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1795 (ruby-font-lock-keywords): Use backquote.
1797 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1799 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1800 (ruby-smie--backward-token): Only consider full-string matches.
1802 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1804 * faces.el (describe-face): Add distant-foreground.
1806 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1808 * progmodes/ruby-mode.el: Improve encoding comment handling.
1809 (ruby-encoding-magic-comment-style): New option.
1810 (ruby-custom-encoding-magic-comment-template): New option.
1811 (ruby--insert-coding-comment, ruby--detect-encoding):
1812 New functions extracted from `ruby-mode-set-encoding'.
1813 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1814 to control the style of the auto-inserted encoding comment.
1816 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1818 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1819 Use `smie-backward-sexp' with token argument.
1821 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1823 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1824 Remove instrumentation code.
1826 2013-11-08 Glenn Morris <rgm@gnu.org>
1828 * progmodes/autoconf.el (autoconf-mode):
1829 Tweak comment-start-skip. (Bug#15822)
1831 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1833 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1834 at bobp (bug#15826).
1835 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1837 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1839 * man.el (Man-start-calling): New macro, extracted from
1840 Man-getpage-in-background.
1841 (Man-getpage-in-background): Use it.
1842 (Man-update-manpage): New command.
1843 (Man-mode-map): Bind it.
1845 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1847 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1848 of "and", "or", "&&" and "||".
1849 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1850 argument. Prohibit opening curly brace because it could only be a
1851 block opener in that position.
1852 (ruby-smie--forward-token, ruby-smie--backward-token):
1853 Separate "|" from "&" or "*" going after it. That can happen in block
1855 (ruby-smie--indent-to-stmt): New function, seeks the end of
1856 previous statement or beginning of buffer.
1857 (ruby-smie-rules): Use it.
1858 (ruby-smie-rules): Check if there's a ":" before a curly block
1859 opener candidate; if there is, it's a hash.
1861 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1863 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1864 (cl--block-wrapper): Fix last accidental change.
1866 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1868 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1869 Instrument, in order to hunt failure on hydra.
1871 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1873 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1874 malformed bindings form (bug#15814).
1876 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1878 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1879 "." compared to " @ ". This incidentally fixes some indentation
1881 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1882 (ruby-smie-grammar): New tokens: "and" and "or".
1883 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1884 Exclude "and" and "or". Remove "do" in order to work around token
1886 (ruby-smie-rules): Add all infix tokens. Handle the case of
1887 beginning-of-buffer.
1889 2013-11-06 Glenn Morris <rgm@gnu.org>
1891 * Makefile.in (setwins_almost, setwins_for_subdirs):
1892 Avoid accidental matches.
1894 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1896 * menu-bar.el (popup-menu): Use key-binding.
1898 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1900 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1901 menus, support also the menus produced by minor modes.
1904 2013-11-06 Leo Liu <sdl.web@gmail.com>
1906 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1907 DISTANCE to bound the search. All uses changed. (Bug#15808)
1909 2013-11-06 Glenn Morris <rgm@gnu.org>
1911 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1912 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1913 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1915 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1917 * electric.el (electric-indent-just-newline): New command.
1918 (electric-indent-mode-map): New keymap.
1919 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1920 Re-add :group which weren't redundant.
1922 * electric.el (electric-indent-local-mode): New minor mode.
1923 (electric-indent-functions-without-reindent): New var.
1924 (electric-indent-post-self-insert-function): Use it.
1925 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1927 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1929 * international/quail.el (quail-help): Be more explicit about the
1930 meaning of the labels shown on the keys. (Bug#15800)
1932 * startup.el (normal-top-level): Load the subdirs.el files before
1933 setting the locale environment. (Bug#15805)
1935 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1937 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1938 via arguments so as to get the right ones (bug#15418).
1940 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1942 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1944 Fix problems found while writing a test suite.
1946 * net/tramp-compat.el (tramp-compat-load): New defun.
1947 * net/tramp.el (tramp-handle-load): Use it.
1949 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1950 "(numberp ok-if-already-exists)" correctly.
1952 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1954 * international/characters.el (glyphless-char-display-control):
1957 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1959 * progmodes/python.el (python-mode):
1960 * progmodes/scheme.el (scheme-mode):
1961 * progmodes/prolog.el (prolog-mode):
1962 * progmodes/ruby-mode.el (ruby-mode):
1963 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1964 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1966 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1968 * rect.el (rectangle--highlight-for-redisplay):
1969 * emacs-lisp/smie.el (smie--next-indent-change):
1970 Use buffer-chars-modified-tick.
1972 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1974 * electric.el (electric-indent-post-self-insert-function):
1975 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1977 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1979 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1981 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1983 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1986 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1988 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1990 * progmodes/python.el: Fix up last change.
1991 (python-shell--save-temp-file): New function.
1992 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1993 `string' comes from the current buffer.
1994 (python-shell-send-string-no-output): Remove `msg' arg.
1995 (python--use-fake-loc): New var.
1996 (python-shell-buffer-substring): Obey it. Try to compensate for the
1997 extra coding line added by python-shell--save-temp-file.
1998 (python-shell-send-region): Use python-shell--save-temp-file and
1999 python-shell-send-file directly. Add `nomain' argument.
2000 (python-shell-send-buffer): Use python-shell-send-region.
2001 (python-electric-pair-string-delimiter): New function.
2002 (python-mode): Use it.
2004 2013-11-04 Eli Zaretskii <eliz@gnu.org>
2006 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2007 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2008 environment and decoding all of the default-directory's to here
2010 (command-line): Decode also argv[0].
2012 * loadup.el: Error out if default-directory is a multibyte string
2013 when we are dumping.
2015 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
2017 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
2019 * emacs-lisp/package.el (package-menu-mode)
2020 (package-menu--print-info, package-menu--archive-predicate):
2021 Add Archive column to package list.
2023 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
2025 Fix problems found while writing a test suite.
2027 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2028 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2029 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2030 to nil when running original file name handler. Otherwise,
2031 there are problems with constructs like "$$FOO".
2033 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2036 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
2038 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2040 * subr.el (version<, version<=, version=):
2041 Update docstrings with information for snapshot versions.
2043 * helpers.el: New library for misc helper functions.
2044 (hash-table-keys): New function returning a list of hash keys.
2045 (hash-table-values): New function returning a list of hash values.
2047 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
2049 * progmodes/ruby-mode.el (ruby-smie--forward-token)
2050 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
2052 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
2054 * textmodes/fill.el (fill-single-char-nobreak-p): New function
2055 checking whether point is after a 1-letter word.
2057 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2059 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
2060 Don't infloop when expanding region over `multiline' syntax-type that
2061 begins a line (bug#15778).
2063 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2065 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
2066 Make it into a proper minor mode.
2067 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
2068 (rectangle-mark-mode-map): New keymap.
2069 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
2071 2013-11-04 Glenn Morris <rgm@gnu.org>
2073 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
2075 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2077 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
2078 (ruby-smie-rules): Use smie-rule-parent instead.
2080 * emacs-lisp/smie.el (smie-rule-parent): Always call
2081 smie-indent-virtual rather than only for hanging tokens.
2082 (smie--next-indent-change): New helper command.
2084 2013-11-03 Glenn Morris <rgm@gnu.org>
2086 * Makefile.in (abs_srcdir): Remove.
2087 (emacs): Unset EMACSLOADPATH.
2089 2013-11-02 Glenn Morris <rgm@gnu.org>
2091 * Makefile.in (EMACS): Use a relative filename.
2092 (abs_top_builddir): Remove.
2093 (custom-deps, finder-data, autoloads): Use --chdir.
2095 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
2097 Use relative filenames in TAGS files.
2098 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2099 (lisptagsfiles4, TAGS): Use relative file names.
2100 (TAGS-LISP): Remove.
2101 (maintainer-clean): No more TAGS-LISP file.
2103 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
2104 (lisptagsfiles4): Use absolute filenames again.
2105 (TAGS, TAGS-LISP): Not everything needs to run in one line.
2106 Remove all *loaddefs files, not just the first. Remove esh-groups.
2107 (maintainer-clean): Delete TAGS, TAGS-LISP.
2109 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2111 * emacs-lisp/package.el (package-version-join):
2112 Recognize snapshot versions.
2114 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2116 * subr.el (version-regexp-alist): Add support for snapshot versions.
2118 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2120 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
2121 New function, replacement for `smie-rule-parent' for when we want to
2122 skip over our direct parent if it's an assignment token..
2123 (ruby-smie-rules): Use it.
2125 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
2127 * progmodes/ruby-mode.el Use `syntax-propertize-function'
2128 unconditionally. Remove now unnecessary forward declarations.
2129 Remove XEmacs-specific setup.
2130 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2131 (ruby-font-lock-syntactic-keywords)
2132 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
2133 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2134 (ruby-here-doc-end-syntax): Remove.
2135 (ruby-mode): Don't check whether `syntax-propertize-rules' is
2136 defined as function.
2138 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
2140 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
2142 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2144 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
2145 table and abbrev table, `define-derived-mode' does that for us
2148 2013-11-01 Glenn Morris <rgm@gnu.org>
2150 * Makefile.in: Remove manual mh-e dependencies (writing .elc
2151 files is atomic for some time, so no parallel compilation issues).
2153 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
2155 * faces.el (face-x-resources): Add :distant-foreground.
2156 (region): Use :distant-foreground for gtk and ns.
2158 2013-11-01 Tassilo Horn <tsdh@gnu.org>
2160 Allow multiple bibliographies when BibLaTeX is used rather than
2162 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
2163 (reftex-locate-bibliography-files): Us it.
2165 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
2167 * image.el (image-type-header-regexps): Fix the 'pbm' part to
2168 allow comments in pbm files.
2170 * term/w32-win.el (dynamic-library-alist): Support newer versions
2171 of libjpeg starting with v7: look only for the DLL from the
2172 version against which Emacs was built.
2173 Support versions of libpng beyond 1.4.x.
2174 Support libtiff v4.x.
2176 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
2178 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
2179 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
2181 (ruby-deep-arglist): Add property :type.
2183 2013-10-31 Glenn Morris <rgm@gnu.org>
2185 * Makefile.in (custom-deps, finder-data): No need to setq the target
2186 variables, we are in the right directory and the defaults work fine.
2188 2013-10-30 Glenn Morris <rgm@gnu.org>
2190 * Makefile.in (autoloads): Do not use abs_lisp.
2192 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
2193 `newline' does not respect `standard-output', so use `princ'.
2195 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
2197 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
2198 * buff-menu.el (Buffer-menu--unmark): New function.
2199 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
2201 2013-10-30 Glenn Morris <rgm@gnu.org>
2203 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
2205 * emacs-lisp/package.el (lm-homepage): Declare.
2207 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
2210 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
2212 * Makefile.in (finder-data, autoloads, update-subdirs)
2213 (compile-main, compile-clean, compile-always, bootstrap-clean):
2214 Check return value of cd.
2215 (compile-calc): Remove.
2217 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2219 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
2221 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
2222 (byte-compile-and-folded): New function.
2223 (=, <, >, <=, >=): Use it.
2225 * dos-w32.el (minibuffer-history-case-insensitive-variables)
2226 (path-separator, null-device, buffer-file-coding-system)
2227 (lpr-headers-switches): Check system-type before modifying them.
2228 (find-buffer-file-type-coding-system): Mark obsolete.
2229 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
2230 find-file-not-found-set-buffer-file-coding-system.
2231 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
2232 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
2233 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
2234 (w32-direct-print-region-helper, w32-direct-print-region-function)
2235 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
2236 * startup.el (normal-top-level-add-subdirs-to-load-path):
2237 * ps-print.el (ps-print-region-function):
2238 * lpr.el (print-region-function): Use new name.
2240 * subr.el (custom-declare-variable-early): Remove function.
2241 (custom-declare-variable-list): Remove var.
2242 (error, user-error): Remove `while' loop.
2243 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
2244 (user-emacs-directory-warning, locate-user-emacs-file):
2246 * simple.el (read-quoted-char-radix, read-quoted-char):
2247 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
2249 * custom.el (custom-declare-variable-list): Don't process
2250 custom-declare-variable-list.
2252 * progmodes/python.el (python-shell-get-buffer): New function.
2253 (python-shell-get-process): Use it.
2254 (python-shell-send-string): Always use utf-8 and add a cookie to tell
2255 Python which encoding was used. Don't split-string since we only care
2256 about the first line. Return the temp-file, if applicable.
2257 (python-shell-send-region): Tell compile.el how to turn locations in
2258 the temp-file into locations in the source buffer.
2260 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2262 * subr.el (undefined): Add missing behavior from the C code for
2265 * rect.el: Use lexical-binding. Add new rectangular region support.
2266 (rectangle-mark): New command.
2267 (rectangle--region): New var.
2268 (deactivate-mark-hook): Reset rectangle--region.
2269 (rectangle--extract-region, rectangle--insert-for-yank)
2270 (rectangle--highlight-for-redisplay)
2271 (rectangle--unhighlight-for-redisplay): New functions.
2272 (region-extract-function, redisplay-unhighlight-region-function)
2273 (redisplay-highlight-region-function): Use them to handle
2275 * simple.el (region-extract-function): New var.
2276 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
2277 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2278 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2279 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2280 (redisplay-unhighlight-region-function)
2281 (redisplay-highlight-region-function): New vars.
2282 (redisplay--update-region-highlight): New function.
2283 (pre-redisplay-function): Use it.
2284 (exchange-point-and-mark): Don't deactivate the mark before
2285 reactivate-it anyway.
2286 * comint.el (comint-kill-region): Remove yank-handler argument.
2287 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2288 (delete-char): Remove property, since it's now part of their
2290 (self-insert-iso): Remove property since this command doesn't exist.
2292 * emacs-lisp/package.el (package--download-one-archive)
2293 (describe-package-1): Don't query the user about final newline.
2295 2013-10-29 Daniel Colascione <dancol@dancol.org>
2297 * net/tramp.el (tramp-methods): Document new functionality.
2298 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2299 tramp-hostname-checker if method provides one instead of scanning
2300 argument list for "%h" to decide hostname acceptability.
2302 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2304 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2305 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2306 Handle COPY-CONTENTS. (Bug#15737)
2308 2013-10-28 Daiki Ueno <ueno@gnu.org>
2311 (epa-file-cache-passphrase-for-symmetric-encryption):
2312 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2314 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2316 * image.el (defimage):
2317 (image-load-path): Doc fixes.
2319 2013-10-27 Alan Mackenzie <acm@muc.de>
2321 Indent statements in macros following "##" correctly.
2322 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2323 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2325 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2327 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2329 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2331 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2332 after `=' is probably a new expression.
2334 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2336 * man.el (man-imenu-title): New option.
2337 (Man-mode-map): Add menu. (Bug#15722)
2338 (Man-mode): Add imenu to menu.
2340 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2342 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2343 specific in what the first arg can be: a non-keyword word,
2344 string/regexp/percent literal opener, opening paren, or unary
2345 operator followed directly by word.
2347 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2349 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2350 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2351 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2352 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2353 Remove vars, they do not apply any more.
2354 (prolog-mode-abbrev-table): Remove redundant declaration.
2355 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2356 (prolog-use-smie): Remove.
2357 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2358 supported by prolog-electric-if-then-else-flag.
2359 (prolog-mode-variables, prolog-menu): Use setq-local.
2360 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2361 Remove binding to `Backspace' since this key doesn't exist anyway.
2362 Remove bindings for electric self-inserting keys.
2363 (prog-mode): Assume it's defined.
2364 (prolog-post-self-insert): New function.
2365 (prolog-mode): Use it.
2366 (prolog-indent-line, prolog-indent-level)
2367 (prolog-find-indent-of-matching-paren)
2368 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2369 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2370 (prolog-goto-next-paren, prolog-in-string-or-comment)
2371 (prolog-tokenize, prolog-inside-mline-comment)
2372 (prolog-find-start-of-mline-comment): Remove functions.
2373 (prolog-find-unmatched-paren, prolog-clause-end)
2374 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2375 (prolog-electric--if-then-else): Rename from
2376 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2377 (prolog-tokenize-searchkey): Remove const.
2378 (prolog-clause-info): Use forward-sexp.
2379 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2380 (prolog-electric-if-then-else): Remove commands.
2381 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2382 for use in post-self-insert-hook.
2383 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2384 for use in post-self-insert-hook.
2385 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2386 for use in post-self-insert-hook.
2387 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2388 adapt it for use in post-self-insert-hook.
2390 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2392 * emacs-lisp/ert.el (ert-run-tests-interactively):
2393 Use `completing-read'. (Bug#9756)
2395 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2397 * simple.el (line-move): Call line-move-1 instead of
2398 line-move-visual when the current window hscroll is zero, but
2399 temporary-goal-column indicates we will need to hscroll as result
2400 of the movement. (Bug#15712)
2402 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2404 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2405 capitalization. Use :visible instead of :active.
2406 Fix `ruby-indent-exp' reference. Add menu items for the generic
2407 commands that are used with SMIE.
2408 (ruby-do-end-to-brace): Insert space after `{'.
2410 2013-10-25 John Anthony <john@jo.hnanthony.com>
2412 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2414 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2416 2013-10-25 Glenn Morris <rgm@gnu.org>
2418 * vc/vc.el (vc-print-log): Don't use a working revision unless
2419 one was explicitly specified. (Bug#15322)
2421 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2423 * subr.el (add-to-list): Preserve return value in compiler-macro
2426 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2428 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2429 result. Ask user to retry using '-all' flag. (Bug#15701)
2431 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2433 * emacs-lisp/smie.el: New smie-config system.
2434 (smie-config): New defcustom.
2435 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2436 (smie-config-guess, smie-config-save): New commands.
2437 (smie-config--mode-local, smie-config--buffer-local)
2438 (smie-config--trace, smie-config--modefuns): New vars.
2439 (smie-config--advice, smie-config--mode-hook)
2440 (smie-config--setter, smie-config-local, smie-config--get-trace)
2441 (smie-config--guess-value, smie-config--guess): New functions.
2442 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2443 text properties. Treat "string fence" syntax like string syntax.
2445 * progmodes/sh-script.el (sh-use-smie): Change default.
2446 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2447 (sh-var-value): Simplify by CSE.
2448 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2449 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2451 (sh-guess-basic-offset): Use cl-incf.
2452 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2454 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2456 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2459 2013-10-24 Glenn Morris <rgm@gnu.org>
2461 * Makefile.in (abs_top_srcdir): Remove.
2462 (update-subdirs): Use relative path to update-subdirs.
2464 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2466 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2467 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2468 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2469 Call unmsys--file-name before expand-file-name, not after it.
2471 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2473 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2474 (ert-test-skipped): New error.
2475 (ert-skip, ert-stats-skipped): New defuns.
2476 (ert--skip-unless): New macro.
2477 (ert-test-skipped): New struct.
2478 (ert--run-test-debugger, ert-test-result-type-p)
2479 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2480 (ert--stats-set-test-and-result, ert-char-for-test-result)
2481 (ert-string-for-test-result, ert-run-tests-batch)
2482 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2483 Handle skipped tests. (Bug#9803)
2485 2013-10-24 Glenn Morris <rgm@gnu.org>
2487 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2489 * Makefile.in (abs_top_srcdir): New, set by configure.
2490 (update-subdirs): Correct build-aux location.
2492 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2494 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2495 value, whether we could auto-deduce `backend', or not.
2497 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2498 with parameters" example. Simplify the "is it block or is it
2499 hash" check, but also make it more thorough.
2501 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2503 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2505 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2507 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2510 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2513 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2515 * progmodes/compile.el (compilation-directory-matcher)
2516 (compilation-page-delimiter):
2517 Support GNU Make-4.0 directory quoting. (Bug#15678)
2519 2013-10-23 Leo Liu <sdl.web@gmail.com>
2521 * ido.el (ido-tidy): Handle read-only text.
2523 2013-10-23 Glenn Morris <rgm@gnu.org>
2525 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2526 (emacs, compile, compile-always):
2527 Quote entities that might contain whitespace.
2528 (custom-deps, finder-data, autoloads): Use abs_lisp.
2529 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2530 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2531 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2533 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2535 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2536 Use `following-char'.
2538 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2540 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2541 * progmodes/ruby-mode.el (ruby-smie-rules):
2542 Remove corresponding workaround. Fix indentation rule of ";" so it
2543 also applies when ";" is the parent.
2545 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2547 * frame.el (display-screens, display-pixel-height)
2548 (display-pixel-width, display-mm-width, display-backing-store)
2549 (display-save-under, display-planes, display-color-cells)
2550 (display-visual-class, display-monitor-attributes-list):
2551 Mention the optional ‘display’ argument in doc strings.
2553 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2555 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2556 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2558 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2560 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2561 TODO. Add "." after " @ ".
2562 (ruby-smie--at-dot-call): New function. Checks if point at method
2563 call with explicit target.
2564 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2565 to the method name tokens when it precedes them.
2566 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2567 (ruby-smie-rules): Add rule for indentation before and after "."
2570 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2572 * textmodes/remember.el (remember-diary-extract-entries):
2575 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2578 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2580 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2581 (ruby-smie--implicit-semi-p): Add new operator chars.
2583 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2585 (ruby-smie--args-separator-p): Check that there's no newline
2586 between method call and its arguments.
2588 2013-10-20 Alan Mackenzie <acm@muc.de>
2590 Allow comma separated lists after Java "implements".
2592 * progmodes/cc-engine.el (c-backward-over-enum-header):
2594 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2595 from a "disallowed" list in enum fontification.
2597 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2599 * startup.el (default-frame-background-mode): Remove unused defvar.
2601 * progmodes/verilog-mode.el (verilog-mode): Don't set
2602 comment-indent-function globally.
2604 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2606 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2607 Move Info menu item creation to ns-win.el.
2609 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2612 * menu-bar.el: Move GNUStep specific menus...
2614 * term/ns-win.el (ns-initialize-window-system): ... to here.
2616 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2618 * simple.el (newline): Only run post-self-insert-hook when
2619 called interactively.
2621 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2623 * icomplete.el (icomplete-with-completion-tables): Add :version.
2625 2013-10-19 Alan Mackenzie <acm@muc.de>
2627 Fix fontification bugs with constructors and const.
2629 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2630 CASE 2) Remove the check for the absence of a suffix construct
2631 after a function declaration with only types (no identifiers) in
2632 the parentheses. Also, accept a function declaration with just a
2633 type inside the parentheses, if this type can be positively
2634 recognised as such, or if a prefix keyword like "explicit" nails
2635 down the construct as a declaration.
2637 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2639 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2640 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2641 the problem whereby selecting a menu item that leads to a
2642 minibuffer prompt moves the cursor out of the minibuffer window,
2643 making it hard to type at the prompt. Suggested by Stefan Monnier
2644 <monnier@iro.umontreal.ca>.
2646 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2648 * menu-bar.el: Don't make Services menu.
2650 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2652 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2653 (ffap-alist): Use ffap-c++-mode for c++-mode.
2654 (ffap-c++-path): New variable.
2655 (ffap-c++-mode): New function.
2657 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2659 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2661 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2663 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2664 introduced on 2013-09-08, which results in an infinite loop
2665 requesting a password.
2667 2013-10-18 Glenn Morris <rgm@gnu.org>
2669 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2671 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2673 Sync with upstream verilog-mode revision 1a6ecec7.
2674 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2675 (verilog-mode-release-date): Remove.
2676 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2677 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2678 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2679 (verilog-auto-tieoff-ignore-regexp)
2680 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2681 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2682 (verilog-signals-with, verilog-dir-cache-preserving)
2683 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2685 (verilog-case-fold): New option, to control case folding in
2686 regexp searches, bug597.
2687 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2688 (verilog-string-match-fold, verilog-in-paren-count)
2689 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2690 (verilog-at-close-struct-p): New functions.
2691 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2692 (verilog-forward-sexp, verilog-set-auto-endcomments):
2693 (verilog-leap-to-case-head): Handle "unique0" case.
2694 (verilog-in-constraint-re): New constant.
2695 (verilog-keywords, verilog-type-font-keywords):
2696 Add some SystemVerilog 1800-2012 keywords.
2697 (verilog-label-be): Remove unimplemented argument, bug669.
2698 (verilog-batch-execute-func): When batch expanding clear
2699 create-lockfiles to prevent spurious user locks when a file ends
2701 (verilog-calculate-indent, verilog-calc-1)
2702 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2703 (verilog-do-indent): Fix indentation of nested constraints
2705 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2706 (verilog-auto-inst-param): Use verilog-string-match-fold.
2707 (verilog-read-inst-module-matcher):
2708 Fix AUTOINST on gate primitives with #1.
2709 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2710 Reads all user-defined typed variables.
2711 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2712 (verilog-signals-matching-regexp)
2713 (verilog-signals-not-matching-regexp, verilog-auto):
2714 Respect verilog-case-fold.
2715 (verilog-diff-report): Fix line count.
2716 (verilog-auto-assign-modport): Remove unused local `modi'.
2717 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2718 better handle multidimensional arrays.
2719 Fix packed array ports misadding bit index in AUTOINST, bug637.
2720 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2721 to not double-declare existing outputs and inputs, respectively.
2722 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2723 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2724 (verilog-sk-uvm-component): New skeleton.
2725 (verilog-submit-bug-report): Add verilog-case-fold,
2726 remove verilog-mode-release-date.
2728 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2730 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2733 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2735 * textmodes/remember.el (remember): set buffer-offer-save in
2736 remember buffers (bug#13566).
2738 2013-10-18 Daniel Colascione <dancol@dancol.org>
2740 When evaluating forms in ielm, direct standard output to ielm
2741 buffer. Add new ielm-return-for-effect command. Remove trailing
2742 whitespace throughout.
2744 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2745 (ielm-return-for-effect): New command.
2746 (ielm-send-input): Accept optional `for-effect' parameter.
2747 (ielm-eval-input): Accept optional `for-effect' parameter.
2748 Bind `standard-output' to stream we create using
2749 `ielm-standard-output-impl'. Suppress printing result when
2751 (ielm-standard-output-impl): New function.
2752 (inferior-emacs-lisp-mode): Explain new features in documentation.
2754 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2758 * net/tramp.el (tramp-debug-message): Do not check for connection
2760 (tramp-message): Use "vector" connection property.
2762 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2763 (tramp-equal-remote, tramp-eshell-directory-change)
2764 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2765 (tramp-adb-handle-rename-file)
2766 * net/tramp-cmds.el (tramp-list-remote-buffers)
2767 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2768 * net/tramp-compat.el (tramp-compat-process-running-p)
2769 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2770 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2771 (tramp-gvfs-handle-rename-file)
2772 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2773 (tramp-set-file-uid-gid)
2774 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2775 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2778 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2779 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2780 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2781 (tramp-gw-open-network-stream): Suppress unrelated traces.
2783 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2784 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2785 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2786 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2787 connection property.
2789 * net/tramp-cache.el (top): Suppress traces when reading
2792 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2793 Refactor common code. Improve debug message.
2794 (tramp-maybe-open-connection)
2795 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2796 connection buffer too early.
2798 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2799 from `tramp-smb-actions-with-acl'.
2800 (tramp-smb-actions-set-acl): New defconst.
2801 (tramp-smb-handle-copy-directory)
2802 (tramp-smb-action-get-acl): New defun, renamed from
2803 `tramp-smb-action-with-acl'.
2804 (tramp-smb-action-set-acl): New defun.
2805 (tramp-smb-handle-set-file-acl): Rewrite.
2807 2013-10-17 Glenn Morris <rgm@gnu.org>
2809 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2811 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2813 * skeleton.el (skeleton-newline): Remove.
2814 (skeleton-internal-1): Use (insert "\n") instead.
2816 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2819 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2820 forward-sexp-function while we redo its job (bug#15613).
2822 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2824 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2825 represented by lists.
2827 2013-10-16 Glenn Morris <rgm@gnu.org>
2829 * tmm.el (tmm--history): New dynamic variable.
2830 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2832 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2834 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2835 (tramp-smb-errors): Add error messages.
2836 (tramp-smb-actions-with-acl): New defconst.
2837 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2838 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2839 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2840 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2841 (tramp-smb-get-stat-capability): Fix tests.
2843 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2845 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2848 2013-10-16 Glenn Morris <rgm@gnu.org>
2850 * ansi-color.el (ansi-color-drop-regexp):
2851 Add 1J, 1K, 2K. (Bug#15617)
2853 * files.el (hack-local-variables--warned-lexical): New.
2854 (hack-local-variables):
2855 Warn about misplaced lexical-binding. (Bug#15616)
2857 * net/eww.el (eww-render): Always set eww-current-url,
2858 and update header line. (Bug#15622)
2859 (eww-display-html): ... Rather than just doing it here.
2861 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2863 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2864 menu navigations commands.
2866 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2868 * progmodes/subword.el (subword-capitalize): Be careful when
2869 the search for [[:alpha:]] fails (bug#15580).
2871 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2873 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2874 to commands that scroll the menu.
2876 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2878 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2879 Handle methods ending with `?' and `!'.
2881 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2883 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2884 `japanese-cp932' to `cp932' to fix the problem where saving a
2885 source file written in Shift_JIS twice would end up having
2886 `coding: japanese-cp932' which Ruby could not recognize.
2887 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2888 in `ruby-encoding-map'.
2889 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2890 doesn't need to be explicitly declared in magic comment.
2891 (ruby-encoding-map): Add type declaration for better customize UI.
2893 2013-10-13 Glenn Morris <rgm@gnu.org>
2895 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2896 Occur buffers are read-only. http://bugs.debian.org/720775
2898 * emacs-lisp/authors.el (authors-fixed-entries):
2899 Comment out old alpha stuff.
2901 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2903 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2904 to `after-save-hook' instead of `before-save-hook'.
2905 (ruby-mode-set-encoding): Use the value of coding system used to
2906 write the file. Call `basic-save-buffer-1' after modifying the
2909 2013-10-13 Alan Mackenzie <acm@muc.de>
2911 Fix indentation/fontification of Java enum with
2912 "implements"/generic.
2914 * progmodes/cc-engine.el (c-backward-over-enum-header):
2915 Extracted from the three other places and enhanced to handle generics.
2916 (c-inside-bracelist-p): Uses new function above.
2917 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2919 (c-font-lock-enum-tail): Uses new function above.
2921 2013-10-13 Kenichi Handa <handa@gnu.org>
2923 * international/mule-cmds.el (select-safe-coding-system): Remove a
2924 superfluous condition in chekcing whether a coding system is safe
2927 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2929 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2931 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2933 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2935 2013-10-13 Glenn Morris <rgm@gnu.org>
2937 * menu-bar.el (menu-bar-update-buffers):
2938 Unify Buffers menu prompt string. (Bug#15576)
2940 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2942 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2944 (authors-fixed-entries): Use accented form of name.
2946 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2948 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2949 method calls (bug#15594).
2950 (ruby-smie--args-separator-p): New function.
2951 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2952 recognize paren-free method calls.
2954 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2955 internals of universal-argument.
2957 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2959 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2960 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2961 dropped menu on second mouse click on the menu bar.
2963 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2965 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2966 (explicit-shell-file-name): Declare.
2967 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2968 (sh-completion-at-point-function): New function.
2970 (sh-smie--keyword-p): Remove unused argument.
2971 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2973 (sh-set-shell): Always setup SMIE, even if we use the
2974 old indentation code.
2976 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2978 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2980 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2981 predicate would return nil are almost non-existent.
2982 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2984 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2985 cache also after commands that modify the buffer but don't move
2988 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2990 * env.el (substitute-env-in-file-name): New function.
2991 (substitute-env-vars): Extend the meaning of the optional arg.
2993 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2995 * term/w32-win.el (dynamic-library-alist): Define separate lists
2996 of GIF DLLs for versions before and after 5.0.0 of giflib.
2999 2013-10-10 João Távora <joaotavora@gmail.com>
3001 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3002 not locked, use last revision and current source as
3003 defaults. (Bug#15569)
3005 2013-10-10 Masatake YAMATO <yamato@redhat.com>
3007 * menu-bar.el (menu-bar-open): Don't use popup-menu if
3010 2013-10-10 Martin Rudalics <rudalics@gmx.at>
3012 * window.el (pop-to-buffer-same-window): Fix doc-string.
3015 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
3017 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3019 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
3021 * calendar/icalendar.el (icalendar-import-file):
3022 Fix interactive spec. (Bug#15482)
3024 2013-10-10 Glenn Morris <rgm@gnu.org>
3026 * desktop.el (desktop-save): Default to saving in .emacs.d,
3027 since PWD is no longer in desktop-path by default. (Bug#15319)
3029 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3030 now that text mode has a menu with the same entry.
3031 (menu-bar-text-mode-auto-fill): Remove now unused func.
3032 * textmodes/text-mode.el (text-mode-map):
3033 Use auto-fill help text from menu-bar.el.
3035 2013-10-10 John Anthony <john@jo.hnanthony.com>
3037 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
3039 2013-10-09 Juri Linkov <juri@jurta.org>
3041 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3042 instead of this-command-keys. Add universal-argument-more and
3043 universal-argument-minus to the list of prefix commands. (Bug#15568)
3045 2013-10-09 Glenn Morris <rgm@gnu.org>
3047 * vc/vc-svn.el (vc-svn-create-repo):
3048 Expand paths in file://... url. (Bug#15446)
3050 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
3052 (authors): Remove unused local variables.
3054 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
3056 * profiler.el: Create a more coherent calltree from partial backtraces.
3057 (profiler-format): Hide the tail with `invisible' so that C-s can still
3058 find the hidden elements.
3059 (profiler-calltree-depth): Don't recurse so enthusiastically.
3060 (profiler-function-equal): New hash-table-test.
3061 (profiler-calltree-build-unified): New function.
3062 (profiler-calltree-build): Use it.
3063 (profiler-report-make-name-part): Indent the calltree less.
3064 (profiler-report-mode): Add visibility specs for profiler-format.
3065 (profiler-report-expand-entry, profiler-report-toggle-entry):
3066 Expand the whole subtree when provided with a prefix arg.
3068 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
3070 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
3072 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
3073 hanging iuwu-mod token.
3074 (ruby-smie--forward-token): Do not include a dot after a token in
3076 (ruby-smie--backward-token): Likewise.
3078 2013-10-08 Juri Linkov <juri@jurta.org>
3080 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
3081 to isearch-other-control-char.
3082 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
3083 and isearch-post-command-hook to post-command-hook.
3084 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
3085 and isearch-post-command-hook from post-command-hook.
3086 (isearch-unread-key-sequence)
3087 (isearch-reread-key-sequence-naturally)
3088 (isearch-lookup-scroll-key, isearch-other-control-char)
3089 (isearch-other-meta-char): Remove functions.
3090 (isearch-pre-command-hook, isearch-post-command-hook):
3091 New functions based on isearch-other-meta-char rewritten
3092 relying on the new behavior of overriding-terminal-local-map
3093 that does not replace the local keymaps any more. (Bug#15200)
3095 2013-10-08 Eli Zaretskii <eliz@gnu.org>
3097 Support menus on text-mode terminals.
3098 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
3101 * tooltip.el (tooltip-mode): Don't error out on TTYs.
3103 * menu-bar.el (popup-menu, popup-menu-normalize-position):
3104 Move here from mouse.el.
3105 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
3107 (tty-menu-navigation-map): New map for TTY menu navigation.
3109 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
3111 * frame.el (display-mouse-p): Report text-mode mouse as available
3113 (display-popup-menus-p): Report availability if mouse is
3114 available; don't condition on window-system.
3116 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
3117 (tty-menu-selected-face): New faces.
3119 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3121 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
3122 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
3123 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
3124 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
3126 (lisp-mode-variables): New `elisp' argument.
3127 (emacs-lisp-mode): Use it.
3128 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
3129 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
3131 * indent.el: Use lexical-binding.
3132 (indent-region): Add progress reporter.
3133 (tab-stop-list): Make it implicitly extend to infinity by repeating the
3135 (indent--next-tab-stop): New function to implement this behavior.
3136 (tab-to-tab-stop, move-to-tab-stop): Use it.
3138 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
3140 * indent.el (indent-rigidly--current-indentation): New function.
3141 (indent-rigidly-map): New var.
3142 (indent-rigidly): Use it to provide interactive mode (bug#8196).
3144 2013-10-08 Bastien Guerry <bzg@gnu.org>
3146 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
3148 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
3150 * progmodes/perl-mode.el: Use lexical-binding.
3151 Remove redundant :group args.
3152 (perl-nochange): Change default to be closer to other major modes's
3154 (perl-indent-line): Don't consider text on current line as a
3155 valid beginning of function from which to indent.
3157 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
3158 with more than one argument (bug#15538).
3160 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
3162 * vc/pcvs.el: Use lexical-binding.
3163 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
3164 environment of `eval'.
3165 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
3166 than a list of expressions. Adjust callers.
3167 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
3169 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
3171 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
3172 case of the dot in a chained method call being on the following line.
3174 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3176 * electric.el (electric-indent-inhibit): New var.
3177 (electric-indent-post-self-insert-function): Use it.
3178 * progmodes/python.el (python-mode): Set it.
3180 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
3183 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
3185 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
3186 (css-mode): Use electric-indent-chars.
3188 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
3189 (font-lock-beg, font-lock-end): Move before first use.
3190 (nxml-mode): Use syntax-propertize-function.
3191 (nxml-after-change, nxml-after-change1): Adjust accordingly.
3192 (nxml-extend-after-change-region): Remove.
3193 * nxml/xmltok.el: Use lexical-binding.
3194 (xmltok-save): Use `declare'.
3195 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
3196 * nxml/nxml-util.el: Use lexical-binding.
3197 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
3199 * nxml/nxml-ns.el: Use lexical-binding.
3200 (nxml-ns-save): Use `declare'.
3201 (nxml-ns-prefixes-for): Avoid add-to-list.
3202 * nxml/rng-match.el: Use lexical-binding.
3203 (rng--ipattern): Use cl-defstruct.
3204 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
3205 (rng-cons-group-after, rng-subst-group-after)
3206 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
3207 Use closures instead of `(lambda...).
3209 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
3211 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
3214 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3215 Use `tramp-handle-insert-file-contents'.
3216 (tramp-gvfs-handle-insert-file-contents): Remove function.
3218 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3219 Use `save-restriction' in order to keep markers.
3221 * net/trampver.el: Update release number.
3223 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3225 * progmodes/compile.el (compilation-parse-errors):
3226 Use compilation--put-prop.
3227 (compilation--ensure-parse): Check compilation-multiline.
3229 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
3231 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
3234 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
3236 * progmodes/ruby-mode.el: Fix recently added tests.
3237 (ruby-smie-grammar): Add - and +.
3238 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
3239 (ruby-smie--backward-id): New functions.
3240 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
3241 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
3244 2013-10-07 Leo Liu <sdl.web@gmail.com>
3246 * register.el (register-preview-delay)
3247 (register-preview-functions): New variables.
3248 (register-read-with-preview, register-preview)
3249 (register-describe-oneline): New functions.
3250 (point-to-register, window-configuration-to-register)
3251 (frame-configuration-to-register, jump-to-register)
3252 (number-to-register, view-register, insert-register)
3253 (copy-to-register, append-to-register, prepend-to-register)
3254 (copy-rectangle-to-register): Use register-read-with-preview to
3255 read register. (Bug#15525)
3257 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
3259 * net/network-stream.el (network-stream-open-starttls): Don't add
3260 --insecure if it's already present, because that gnutls-cli
3261 rejects getting that parameter twice.
3263 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
3265 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
3268 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
3270 * newcomment.el (comment-use-global-state): Change default value
3271 to t, mark obsolete (Bug#15251).
3272 (comment-beginning): In addition to `comment-to-syntax', check the
3273 value of `comment-use-global-state'.
3275 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
3277 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3278 (ruby-comment-column): Follow the global default, by default.
3279 (ruby-smie-grammar): Add assignment syntax.
3280 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3281 open-paren, a comma, or a \.
3282 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3283 and line continuations.
3284 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3285 followed by implicit semi-colons. Add rule for string concatenation
3286 and for indentation at BOB.
3287 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3289 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3290 calling next-sexp, since next-token may have skipped chars which
3291 next-sexp doesn't know should be skipped!
3293 2013-10-05 Leo Liu <sdl.web@gmail.com>
3295 * progmodes/octave.el (octave-send-region):
3296 Call compilation-forget-errors.
3298 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3300 * vc/vc-svn.el (vc-svn-find-admin-dir):
3301 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3302 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3303 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3304 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3306 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3308 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3310 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3312 * subr.el (read-passwd): Hide chars even when called within a context
3313 where after-change-functions is disabled (bug#15501).
3314 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3315 until we removed ourself from overriding-terminal-local-map.
3317 2013-10-04 Leo Liu <sdl.web@gmail.com>
3319 * progmodes/octave.el (inferior-octave-mode):
3320 Call compilation-forget-errors.
3322 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3324 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3326 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3328 * net/secrets.el (secrets-create-collection): Add optional
3329 argument ALIAS. Use proper Label keyword. Append ALIAS as
3330 dbus-call-method argument. (Bug#15516)
3332 2013-10-04 Leo Liu <sdl.web@gmail.com>
3334 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3335 (inferior-octave-compilation-font-lock-keywords): New variables.
3336 (compilation-error-regexp-alist)
3337 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3338 (inferior-octave-mode): Use compilation-shell-minor-mode.
3340 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3342 * minibuffer.el (completion--replace): Be careful that `end' might be
3345 2013-10-03 Daiki Ueno <ueno@gnu.org>
3347 Add support for package signature checking.
3348 * emacs-lisp/package.el (url-http-file-exists-p)
3349 (epg-make-context, epg-context-set-home-directory)
3350 (epg-verify-string, epg-context-result-for)
3351 (epg-signature-status, epg-signature-to-string)
3352 (epg-check-configuration, epg-configuration)
3353 (epg-import-keys-from-file): Declare.
3354 (package-check-signature): New user option.
3355 (package-unsigned-archives): New user option.
3356 (package-desc): Add `signed' field.
3357 (package-load-descriptor): Set `signed' field if .signed file exists.
3358 (package--archive-file-exists-p): New function.
3359 (package--check-signature): New function.
3360 (package-install-from-archive): Check package signature.
3361 (package--download-one-archive): Check archive signature.
3362 (package-delete): Remove .signed file.
3363 (package-import-keyring): New command.
3364 (package-refresh-contents): Import default keyring.
3365 (package-desc-status): Add "unsigned" status.
3366 (describe-package-1, package-menu--print-info)
3367 (package-menu-mark-delete, package-menu--find-upgrades)
3368 (package-menu--status-predicate): Support "unsigned" status.
3370 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3372 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3373 the new compilation scheme using the new byte-codes.
3375 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3376 (byte-pophandler): New byte codes.
3377 (byte-goto-ops): Adjust accordingly.
3378 (byte-compile--use-old-handlers): New var.
3379 (byte-compile-catch): Use new byte codes depending on
3380 byte-compile--use-old-handlers.
3381 (byte-compile-condition-case--old): Rename from
3382 byte-compile-condition-case.
3383 (byte-compile-condition-case--new): New function.
3384 (byte-compile-condition-case): New function that dispatches depending
3385 on byte-compile--use-old-handlers.
3386 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3389 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3390 Optimize under `condition-case' and `catch' if
3391 byte-compile--use-old-handlers is nil.
3392 (disassemble-offset): Handle new bytecodes.
3394 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3396 * subr.el (error): Use `declare'.
3397 (decode-char, encode-char): Use advertised-calling-convention instead
3398 of the docstring to discourage use of the `restriction' arg.
3400 2013-10-03 Daiki Ueno <ueno@gnu.org>
3402 * epg.el (epg-verify-file): Add a comment saying that it does not
3403 notify verification error as a return value nor a signal.
3404 (epg-verify-string): Ditto.
3406 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3408 * progmodes/compile.el (compilation-start): Try globbing the arg to
3411 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3413 Sync with Tramp 2.2.8.
3415 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3416 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3417 * net/trampver.el: Update release number.
3419 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3421 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3422 and default-process-coding-system for darwin only.
3424 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3426 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3428 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3430 * vc/vc-git.el (vc-git-grep): Disable pager.
3432 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3434 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3435 Use :url instead of :homepage, as per
3436 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3438 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3439 non-nil, use `syntax-ppss' (Bug#15251).
3441 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3443 * progmodes/octave.el (inferior-octave-startup-file):
3444 Prefer ~/.emacs.d/init_octave.m.
3446 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3448 * emacs-lisp/package.el (package-desc-from-define):
3449 Accept additional arguments as plist, convert them to an alist and store
3450 them in the `extras' slot.
3451 (package-generate-description-file): Convert extras alist back to
3452 plist and append to the `define-package' form arguments.
3453 (package--alist-to-plist): New function.
3454 (package--ac-desc): Add `extras' slot.
3455 (package--add-to-archive-contents): Check if the archive-contents
3456 vector is long enough, and if it is, pass its `extras' slot value
3457 to `package-desc-create'.
3458 (package-buffer-info): Call `lm-homepage', pass the returned value
3459 to `package-desc-from-define'.
3460 (describe-package-1): Render the homepage button (Bug#13291).
3462 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3463 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3465 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3467 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3468 and default-process-coding-system to utf-8-unix (Bug#15402).
3470 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3472 * subr.el (looking-back): Do not recommend using looking-back.
3474 2013-09-28 Alan Mackenzie <acm@muc.de>
3476 Fix indentation/fontification of Java enum with "implements".
3478 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3479 regexp which matches "implements", etc., in Java.
3480 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3481 specifier clauses coming after "enum".
3482 * progmodes/cc-fonts.el (c-font-lock-declarations)
3483 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3486 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3488 * faces.el (region): Change ns_selection_color to
3489 ns_selection_fg_color, add ns_selection_bg_color.
3491 2013-09-28 Leo Liu <sdl.web@gmail.com>
3493 * progmodes/octave.el (inferior-octave-completion-table)
3494 (inferior-octave-completion-at-point): Minor tweaks.
3496 * textmodes/ispell.el (ispell-lookup-words): Rename from
3497 lookup-words. (Bug#15460)
3498 (lookup-words): Obsolete.
3499 (ispell-complete-word, ispell-command-loop): All uses changed.
3501 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3503 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3504 (octave-mode-menu): Add octave-send-buffer.
3505 (octave-send-buffer): New function.
3507 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3509 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3511 (octave-mode-menu): Add octave-lookfor.
3512 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3514 (octave-lookfor): New function.
3516 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3518 * emacs-lisp/cl-macs.el:
3519 (cl--loop-destr-temps): Remove.
3520 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3522 (cl--loop-set-iterator-function): New function.
3523 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3524 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3525 Bind `it' with `let' instead of substituting it with `cl-subst'.
3526 (cl--unused-var-p): New function.
3527 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3528 Eliminate some unused variable warnings (bug#15326).
3530 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3532 * doc-view.el (doc-view-scale-reset): Rename from
3533 `doc-view-reset-zoom-level'.
3534 (doc-view-scale-adjust): New command.
3535 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3536 `doc-view-scale-adjust'.
3538 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3540 * doc-view.el (doc-view-reset-zoom-level): New command.
3541 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3542 zoom commands (bug#15466).
3544 2013-09-26 Kenichi Handa <handa@gnu.org>
3546 * international/quail.el (quail-help): Make it not a command.
3548 2013-09-26 Leo Liu <sdl.web@gmail.com>
3550 * minibuffer.el (completion-all-sorted-completions): Make args
3551 optional as they are.
3553 2013-09-25 Daniel Colascione <dancol@dancol.org>
3555 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3556 specs are and that they're not evaluated.
3558 2013-09-24 Sam Steingold <sds@gnu.org>
3560 * midnight.el (clean-buffer-list-kill-regexps)
3561 (clean-buffer-list-kill-buffer-names): Update for the new Man
3562 buffer naming which includes the object name.
3564 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3566 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3567 (eshell-parse-command, eshell-parse-pipeline): Use it since
3568 eshell-separate-commands requires a dynamic scoped var.
3569 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3571 2013-09-23 Leo Liu <sdl.web@gmail.com>
3573 * autoinsert.el (auto-insert-alist): Make the value of
3574 lexical-binding match its file setting.
3576 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3578 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3580 * autoarg.el (autoarg-kp-digit-argument):
3581 * electric.el (Electric-command-loop):
3582 * kmacro.el (kmacro-step-edit-insert):
3583 Do not set universal-argument-num-events.
3585 2013-09-22 Leo Liu <sdl.web@gmail.com>
3587 * files.el (interpreter-mode-alist): Add octave.
3589 2013-09-21 Alan Mackenzie <acm@muc.de>
3591 C++: fontify identifier in declaration following "public:" correctly.
3592 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3593 to match "public", etc.
3594 (c-decl-prefix-re): Add ":" into the C++ value.
3595 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3596 bit. Add a check for a ":" preceded by "public", etc.
3598 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3600 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3601 recognized by GDB 7.5 and later.
3603 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3605 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3607 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3609 * subr.el (internal--call-interactively): New const.
3610 (called-interactively-p): Use it (bug#3984).
3612 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3614 * vc/pcvs.el (cvs-mode-ignore):
3615 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3616 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3618 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3620 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3621 (eshell-ls-orig-insert-directory): Remove.
3622 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3623 (eshell-ls-use-in-dired): Use advice-add/remove.
3624 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3625 Add `orig-fun' arg for use in :around advice.
3626 Make it check (redundantly) eshell-ls-use-in-dired.
3628 2013-09-19 Glenn Morris <rgm@gnu.org>
3630 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3632 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3634 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3636 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3638 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3639 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3640 (tramp-get-remote-python): New defuns.
3641 (tramp-get-remote-uid-with-perl)
3642 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3643 contributed by yary <not.com@gmail.com> (tiny change).
3644 (tramp-get-remote-uid-with-python)
3645 (tramp-get-remote-gid-with-python): New defuns. Python code
3646 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3647 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3649 2013-09-19 Glenn Morris <rgm@gnu.org>
3651 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3653 * eshell/em-unix.el (eshell-remove-entries):
3654 Rename argument to avoid name-clash with global `top-level'.
3656 * eshell/esh-proc.el (eshell-kill-process-function):
3657 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3658 (eshell-reset-after-proc): Remove unused arg `proc'.
3660 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3661 (directory-files-and-attributes): Mark unused arg.
3663 * eshell/em-unix.el (eshell-remove-entries):
3664 Remove unused arg `path'. Update callers.
3666 * eshell/em-hist.el (eshell-hist-parse-arguments):
3667 Remove unused arg `silent'. Update callers.
3669 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3670 Fix (f)boundp mix-up.
3672 * eshell/em-smart.el (eshell-smart-scroll-window)
3673 (eshell-disable-after-change):
3674 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3676 2013-09-18 Alan Mackenzie <acm@muc.de>
3678 Fix fontification of type when followed by "const".
3679 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3680 "known" types from fontification.
3682 2013-09-18 Glenn Morris <rgm@gnu.org>
3684 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3685 (chart-face-list): Drop Emacsen without display-color-p.
3687 * net/eww.el (libxml-parse-html-region): Declare.
3688 (eww-display-html): Explicit error if no libxml2 support.
3690 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3692 * image.el (image-type-from-buffer, image-multi-frame-p):
3693 Remove --without-x warning/error.
3695 * mouse.el (mouse-yank-primary):
3696 * term.el (term-mouse-paste):
3697 Reorder to silence --without-x compilation.
3699 * mpc.el (doc-view-mode): Silence --without-x compilation.
3701 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3702 Silence --without-x compilation.
3704 * progmodes/gud.el (gud-find-file, gud-mode):
3705 Silence --without-x compilation.
3706 (tooltip-mode): Declare.
3708 * wdired.el (dired-backup-overwrite): Remove declaration.
3709 (wdired-mode-map): Add doc string.
3711 * custom.el (x-get-resource): Declare.
3713 * eshell/em-glob.el (ange-cache):
3714 * eshell/em-unix.el (ange-cache): Declare.
3716 * faces.el (x-display-list, x-open-connection, x-get-resource):
3719 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3720 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3723 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3725 * net/gnutls.el (gnutls-log-level): Declare.
3727 * net/shr.el (image-size, image-animate): Declare.
3729 * simple.el (font-info): Declare.
3731 * subr.el (x-popup-dialog): Declare.
3733 * term/common-win.el (x-select-enable-primary)
3734 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3737 * term/ns-win.el (x-handle-args): Declare.
3739 * term/x-win.el (x-select-enable-clipboard): Declare.
3741 * term/w32-win.el (create-default-fontset): Declare.
3743 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3746 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3747 (fit-frame-to-buffer): Explicit error if --without-x.
3748 (mouse-autoselect-window-select): Silence compiler.
3750 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3752 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3753 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3754 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3755 * eshell/esh-util.el (eshell-sublist):
3756 Remove unused local variables.
3758 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3760 * textmodes/two-column.el: Make 2C-split work for --without-x.
3761 (scroll-bar-columns): Autoload.
3762 (top-level): Require fringe when compiling.
3764 2013-09-18 Leo Liu <sdl.web@gmail.com>
3766 * subr.el (add-hook): Robustify to handle closure as well.
3768 2013-09-17 Glenn Morris <rgm@gnu.org>
3770 * simple.el (messages-buffer-mode-map): Unbind "g".
3772 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3774 * help-mode.el (help-mode-finish): Use derived-mode-p.
3775 Remove obsolete highlighting.
3777 * play/life.el (life-mode): Use define-derived-mode. Derive from
3779 (life): Let-bind inhibit-read-only.
3780 (life-setup): Avoid `setq'. Use `life-mode'.
3782 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3783 which should not be needed any more.
3784 (package-menu-refresh, package-menu-describe-package): Use user-error.
3786 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3787 (eshell-post-rewrite-command-hook): Make obsolete.
3788 (eshell-parse-command): Simplify.
3789 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3790 (eshell--cmd): Declare.
3791 (eshell-parse-pipeline): Remove unused var `final-p'.
3792 Pass a dynvar to eshell-post-rewrite-command-hook.
3793 Implement the new eshell-post-rewrite-command-function.
3794 (eshell-invoke-directly): Remove unused arg `input'.
3795 * eshell/esh-io.el (eshell-io-initialize):
3796 Use eshell-post-rewrite-command-function (bug#15399).
3797 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3798 adjust to new calling convention.
3799 (eshell-create-handles): Rename args to avoid clashing with dynvar
3802 2013-09-17 Glenn Morris <rgm@gnu.org>
3804 * simple.el (messages-buffer-mode): New major mode.
3805 (messages-buffer): New function.
3806 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3807 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3808 (ert-run-test): Use `messages-buffer' function.
3809 (ert--force-message-log-buffer-truncation): Ignore read-only.
3810 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3811 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3813 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3815 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3817 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3819 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3821 * icomplete.el (icomplete-in-buffer): New var.
3822 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3823 vars and replace them with functions.
3824 (icomplete-minibuffer-setup): Adjust accordingly.
3825 (icomplete--completion-table, icomplete--completion-predicate)
3826 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3828 (icomplete-forward-completions, icomplete-backward-completions)
3829 (icomplete-simple-completing-p, icomplete-exhibit)
3830 (icomplete-completions): Use them.
3831 (icomplete--in-region-buffer): New var.
3832 (icomplete--in-region-setup): New function.
3833 (icomplete-mode): Use it.
3835 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3837 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3838 return args and options.
3839 (eshell-eval-using-options): Use the new return value of
3840 eshell--do-opts to set the options's vars in their scope.
3841 (eshell--set-option): Rename from eshell-set-option.
3843 (eshell--process-option): Rename from eshell-process-option.
3845 (eshell--process-args): Use an `opt-vals' alist to store the options's
3846 values during their processing and return them additionally to the
3849 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3851 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3852 continuation character an operator, as far as indentation is
3853 concerned (Bug#15369).
3855 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3857 * window.el (window--state-put-2): Don't process buffer state
3858 when buffer doesn't exist any more (Bug#15382).
3860 2013-09-15 Glenn Morris <rgm@gnu.org>
3862 * eshell/em-unix.el (eshell/rm):
3863 Make -f ignore missing files. (Bug#15373)
3865 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3866 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3867 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3869 2013-09-14 Glenn Morris <rgm@gnu.org>
3871 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3873 2013-09-13 Glenn Morris <rgm@gnu.org>
3875 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3876 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3878 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3880 * frame.el (x-focus-frame): Mark as declared in frame.c.
3882 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3884 * ls-lisp.el: Use advice-add.
3885 (original-insert-directory): Remove.
3886 (ls-lisp--insert-directory): Rename from insert-directory; add
3887 `orig-fun' argument.
3888 (insert-directory): Advise.
3890 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3892 * term.el (term-emulate-terminal): Decode the command string
3893 before passing it to term-command-hook. (Bug#15337)
3895 2013-09-13 Glenn Morris <rgm@gnu.org>
3897 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3899 * eshell/esh-ext.el (eshell-search-path): Declare.
3901 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3902 Otherwise an error occurs if eshell-dirs module not loaded.
3904 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3906 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3908 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3909 `tramp-check-proper-host'. Check for a valid method name.
3911 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3912 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3913 * net/tramp-sh.el (tramp-maybe-open-connection):
3914 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3916 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3917 also for hash values.
3919 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3921 * term/ns-win.el (parameters): Don't declare as dynamic.
3922 (before-make-frame-hook): Don't add ineffective function.
3924 * eshell/*.el: Use lexical-binding (bug#15231).
3926 2013-09-12 Kenichi Handa <handa@gnu.org>
3928 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3930 2013-09-12 Glenn Morris <rgm@gnu.org>
3932 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3933 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3935 * subr.el (do-after-load-evaluation): Also give compiler warnings
3936 when obsolete files are used (except by obsolete files).
3938 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3939 in the status output, assume `filename' is the first. (Bug#15322)
3941 * vc/vc.el (vc-deduce-fileset): Doc fix.
3943 * calc/calc-help.el (Info-goto-node):
3944 * progmodes/cperl-mode.el (Info-find-node):
3945 * vc/ediff.el (Info-goto-node): Update declarations.
3947 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3949 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3950 (vc-bzr-pull): Require vc-dispatcher.
3951 * vc/vc-git.el (vc-compilation-mode): Declare.
3952 (vc-git-pull): Require vc-dispatcher.
3954 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3956 * progmodes/octave.el (help-button-action): Declare.
3958 * shell.el (shell-directory-tracker): Output error as a message
3959 rather than just returning it as a string.
3960 (shell-process-pushd): Remove useless use of message.
3962 * dframe.el (dframe-timer-fn):
3963 * files.el (dir-locals-read-from-file):
3964 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3966 * reveal.el (reveal-post-command):
3967 * saveplace.el (load-save-place-alist-from-file):
3968 * shell.el (shell-resync-dirs):
3969 * w32-common-fns.el (x-get-selection-value):
3970 * emacs-lisp/copyright.el (copyright-find-copyright):
3971 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3972 * emulation/tpu-edt.el (tpu-copy-keyfile):
3973 * play/bubbles.el (bubbles--mark-neighbourhood):
3974 * progmodes/executable.el
3975 (executable-make-buffer-file-executable-if-script-p):
3976 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3978 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3980 Cleanup Eshell to rely less on dynamic scoping.
3981 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3982 last-value, and ext-command here. Bind `args' closer to `body'.
3983 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3984 (eshell--args): Declare new dynamic var.
3985 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3986 last-value, and ext-command. Pass `args' to `body'.
3987 (eshell-process-args): Bind eshell--args.
3988 (eshell-set-option): Use eshell--args.
3989 * eshell/eshell.el (eshell): Use derived-mode-p.
3990 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3991 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3992 (eshell-glob-function): Declare.
3993 * eshell/esh-util.el: Require cl-lib.
3994 (eshell-read-hosts-file): Avoid add-to-list.
3995 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3997 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3999 (eshell/diff): Remove unused var `err'.
4000 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4002 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4003 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4005 * eshell/em-glob.el (eshell-glob-matches, message-shown):
4006 Move declaration before first use.
4007 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4008 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4011 2013-09-12 Glenn Morris <rgm@gnu.org>
4013 * term/ns-win.el (global-map): Remove binding for ispell-next,
4014 deleted 1999-05-29. (Bug#15357)
4016 2013-09-11 Glenn Morris <rgm@gnu.org>
4018 * echistory.el (electric-command-history): Remove call to deleted func.
4020 * play/landmark.el (landmark-mode): Fix typos.
4022 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4023 Check cvs-sort-ignore-file is bound.
4025 * savehist.el: No need for cl when compiling on Emacs.
4027 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4029 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4031 (eshell-self-insert-command, eshell-send-invisible):
4032 Remove unused argument.
4033 (eshell-handle-control-codes): Remove unused var `orig'.
4034 Avoid delete-backward-char.
4036 * files.el (set-auto-mode): Simplify a bit further.
4038 2013-09-11 Glenn Morris <rgm@gnu.org>
4040 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4041 (set-auto-mode): Don't regexp-quote elements.
4042 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
4043 * progmodes/cc-mode.el (interpreter-mode-alist):
4044 * progmodes/ruby-mode.el (interpreter-mode-alist):
4045 Revert previous change.
4047 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
4049 * play/snake.el (snake-mode):
4050 * play/mpuz.el (mpuz-mode):
4051 * play/landmark.el (lm-mode):
4052 * play/blackbox.el (blackbox-mode):
4053 * play/5x5.el (5x5-mode):
4054 * obsolete/options.el (Edit-options-mode):
4055 * net/quickurl.el (quickurl-list-mode):
4056 * net/newst-treeview.el (newsticker-treeview-mode):
4057 * mail/rmailsum.el (rmail-summary-mode):
4058 * mail/mspools.el (mspools-mode):
4059 * locate.el (locate-mode):
4060 * ibuffer.el (ibuffer-mode):
4061 * emulation/ws-mode.el (wordstar-mode):
4062 * emacs-lisp/debug.el (debugger-mode):
4063 * array.el (array-mode):
4064 * net/eudc.el (eudc-mode): Use define-derived-mode.
4065 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
4066 Move initialization into declaration.
4067 (mairix-searches-mode): Use define-derived-mode.
4068 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
4069 (eudc-edit-hotlist): Use dolist.
4070 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
4071 (Man-mode): Use define-derived-mode.
4072 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
4073 (Info-edit-mode): Use define-derived-mode.
4074 (Info-cease-edit): Use Info-mode.
4075 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
4077 (eshell-mode): Use define-derived-mode.
4078 * chistory.el (command-history-mode-map): Rename from
4079 command-history-map.
4080 (command-history-mode): Use define-derived-mode.
4081 (Command-history-setup): Remove function.
4082 * calc/calc.el (calc-trail-mode-map): New var.
4083 (calc-trail-mode): Use define-derived-mode.
4084 (calc-trail-buffer): Set calc-main-buffer manually.
4085 * bookmark.el (bookmark-insert-annotation): New function.
4086 (bookmark-edit-annotation): Use it.
4087 (bookmark-edit-annotation-mode): Make it a proper major mode.
4088 (bookmark-send-edited-annotation): Use derived-mode-p.
4089 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
4090 closer to its ideal place. Use \' to match EOS.
4092 * profiler.el (profiler-calltree-find): Use function-equal.
4094 2013-09-10 Glenn Morris <rgm@gnu.org>
4096 * files.el (interpreter-mode-alist): Convert to regexps.
4097 (set-auto-mode): Adapt for this. (Bug#15306)
4098 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
4099 Comment out unused variable.
4100 * progmodes/cc-mode.el (interpreter-mode-alist):
4101 * progmodes/python.el (interpreter-mode-alist):
4102 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
4103 * progmodes/sh-script.el (sh-set-shell):
4104 No longer use interpreter-mode-alist to get list of shells.
4106 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
4108 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4110 * simple.el: Use set-temporary-overlay-map for universal-argument.
4111 (universal-argument-map): Don't use default-bindings (bug#15317).
4112 Bind switch-frame explicitly. Replace universal-argument-minus with
4113 a conditional binding.
4114 (universal-argument-num-events, saved-overriding-map): Remove.
4115 (restore-overriding-map): Remove.
4116 (universal-argument--mode): Rename from save&set-overriding-map,
4118 (universal-argument, universal-argument-more, negative-argument)
4119 (digit-argument): Adjust accordingly.
4120 (universal-argument-minus): Remove.
4121 (universal-argument-other-key): Remove.
4123 * subr.el (with-demoted-errors): Add `format' argument.
4125 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
4127 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
4128 `tramp-cleanup-connection'.
4130 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
4131 parameters KEEP-DEBUG and KEEP-PASSWORD.
4133 * net/tramp.el (tramp-file-name-handler):
4134 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4135 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
4136 (tramp-maybe-open-connection):
4137 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4138 Use `tramp-cleanup-connection'.
4140 * net/tramp-sh.el (tramp-maybe-open-connection):
4141 Catch 'uname-changed inside the progress reporter.
4143 2013-09-10 Glenn Morris <rgm@gnu.org>
4145 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
4147 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
4148 returns "alternate access method" in mode (eg "-rw-r--r--.").
4150 2013-09-08 Glenn Morris <rgm@gnu.org>
4152 * saveplace.el (load-save-place-alist-from-file):
4153 Demote errors. (Bug#15305)
4155 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
4157 Improve compatibility with older Emacsen, and XEmacs.
4159 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
4160 only if it is bound. It isn't for XEmacs.
4161 (with-tramp-progress-reporter): Do not let-bind `result'.
4162 This yields to scoping errors in XEmacs.
4163 (tramp-handle-make-auto-save-file-name): New function, moved from
4166 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
4167 for `make-auto-save-file-name'.
4168 (tramp-adb--gnu-switches-to-ash):
4169 Use `tramp-compat-replace-regexp-in-string'.
4171 * net/tramp-cache.el (tramp-cache-print): Call
4172 `substring-no-properties' only if it is bound. It isn't for XEmacs.
4174 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
4175 bound. It isn't for XEmacs.
4177 * net/tramp-compat.el (tramp-compat-copy-file):
4178 Catch `wrong-number-of-arguments' error.
4179 (tramp-compat-replace-regexp-in-string): New defun.
4181 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
4182 for `make-auto-save-file-name'.
4183 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
4185 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
4186 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
4187 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
4189 * net/tramp-gw.el (tramp-gw-open-network-stream):
4190 Use `tramp-compat-replace-regexp-in-string'.
4192 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4193 Call `tramp-handle-make-auto-save-file-name'.
4194 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
4195 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4196 (tramp-sh-file-inotifywait-process-filter):
4197 Use `tramp-compat-replace-regexp-in-string'.
4198 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
4200 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
4201 for `make-auto-save-file-name'.
4202 (tramp-smb-handle-copy-directory):
4203 Call `tramp-compat-replace-regexp-in-string'.
4204 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
4205 (tramp-smb-handle-copy-file): Improve error message.
4206 (tramp-smb-handle-rename-file): Rename directly only in case
4207 `newname' does not exist yet. This is a restriction of smbclient.
4208 (tramp-smb-maybe-open-connection): Rerun the function only when
4209 `auth-sources' is non-nil.
4211 2013-09-08 Kenichi Handa <handa@gnu.org>
4213 * international/characters.el: Set category "^" (Combining) for
4216 2013-09-07 Alan Mackenzie <acm@muc.de>
4218 Correctly fontify Java class constructors.
4219 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
4221 (c-recognize-typeless-decls): Set the Java value to t.
4222 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4223 While handling a "(", add a check for, effectively, Java, and handle a
4224 "typeless" declaration there.
4226 2013-09-07 Roland Winkler <winkler@gnu.org>
4228 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
4229 field subtitle for entry type book.
4231 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4233 * minibuffer.el: Make minibuffer-complete call completion-in-region
4234 rather than other way around.
4235 (completion--some, completion-pcm--find-all-completions):
4236 Don't delay signals when debugging.
4237 (minibuffer-completion-contents): Beware fields within the
4238 minibuffer contents.
4239 (completion-all-sorted-completions): Use defvar-local.
4240 (completion--do-completion, completion--cache-all-sorted-completions)
4241 (completion-all-sorted-completions, minibuffer-force-complete):
4242 Add args `beg' and `end'.
4243 (completion--in-region-1): New fun, extracted from minibuffer-complete.
4244 (minibuffer-complete): Use completion-in-region.
4245 (completion-complete-and-exit): New fun, extracted from
4246 minibuffer-complete-and-exit.
4247 (minibuffer-complete-and-exit): Use it.
4248 (completion--complete-and-exit): Rename from
4249 minibuffer--complete-and-exit.
4250 (completion-in-region--single-word): New function, extracted from
4251 minibuffer-complete-word.
4252 (minibuffer-complete-word): Use it.
4253 (display-completion-list): Make `common-substring' argument obsolete.
4254 (completion--in-region): Call completion--in-region-1 instead of
4255 minibuffer-complete.
4256 (completion-help-at-point): Pass boundaries to
4257 minibuffer-completion-help as args rather than via an overlay.
4258 (completion-pcm--string->pattern): Use `any-delim'.
4259 (completion-pcm--optimize-pattern): New function.
4260 (completion-pcm--pattern->regex): Handle `any-delim'.
4261 * icomplete.el (icomplete-forward-completions)
4262 (icomplete-backward-completions, icomplete-completions):
4263 Adjust calls to completion-all-sorted-completions and
4264 completion--cache-all-sorted-completions.
4265 (icomplete-with-completion-tables): Default to t.
4266 * emacs-lisp/crm.el (crm--current-element): Rename from
4267 crm--select-current-element. Don't put an overlay but return the
4269 (crm--completion-command): Take two new args to bind to the boundaries.
4270 (crm-completion-help): Adjust accordingly.
4271 (crm-complete): Use completion-in-region.
4272 (crm-complete-word): Use completion-in-region--single-word.
4273 (crm-complete-and-exit): Use completion-complete-and-exit.
4275 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4277 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4280 2013-09-06 Juri Linkov <juri@jurta.org>
4282 * info.el (Info-display-images-node): When image file doesn't exist
4283 display text version of the image if it's provided in the Info file.
4284 Otherwise, display the location of missing image from SRC attribute.
4285 Add help-echo text property from ALT attribute. (Bug#15279)
4287 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4289 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4290 (edit-abbrevs-mode): Use define-derived-mode.
4292 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4293 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4295 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4296 Use define-derived-mode.
4298 * epg.el (epg-start-encrypt): Minor CSE simplification.
4300 2013-09-06 William Xu <william.xwl@gmail.com>
4302 * arc-mode.el: Add support for 7za (bug#15264).
4303 (archive-7z-program): New var.
4304 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4305 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4306 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4308 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4312 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4313 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4314 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4315 (tramp-postfix-host-format, tramp-file-name-regexp)
4316 (tramp-completion-file-name-regexp)
4317 (tramp-completion-dissect-file-name)
4318 (tramp-handle-substitute-in-file-name): Remove 'url case.
4319 (tramp-file-name-regexp-url)
4320 (tramp-completion-file-name-regexp-url): Remove constants.
4322 2013-09-06 Glenn Morris <rgm@gnu.org>
4324 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4326 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4328 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4329 keywords" below "here-doc beginnings" (Bug#15270).
4331 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4333 * subr.el (pop): Use `car-safe'.
4334 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4335 to detect unused `pop' return value.
4337 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4339 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4340 (python-fill-string): Remove unused var `marker'.
4341 (python-skeleton-add-menu-items): Remove unused var `items'.
4343 * international/mule-cmds.el: Require CL.
4344 (find-coding-systems-for-charsets): Avoid add-to-list.
4345 (sanitize-coding-system-list): New function, extracted from
4346 select-safe-coding-system-interactively.
4347 (select-safe-coding-system-interactively): Use it.
4348 (read-input-method-name): Accept symbols for `default'.
4350 * emacs-lisp/advice.el (defadvice): Add indent rule.
4352 2013-09-05 Daniel Hackney <dan@haxney.org>
4356 * net/browse-url.el:
4359 * net/eudcb-ldap.el:
4372 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4373 byte compiler. Remove some unused let-bound variables.
4375 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4377 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4378 a "ref-cell", since it gets better optimized (bug#14883).
4380 2013-09-05 Glenn Morris <rgm@gnu.org>
4382 * progmodes/cc-awk.el (c-forward-sws): Declare.
4384 2013-09-04 Glenn Morris <rgm@gnu.org>
4386 * generic-x.el [rul-generic-mode]: Require cc-mode.
4387 (c++-mode-syntax-table): Declare.
4388 (rul-generic-mode-syntax-table): Init in the defvar.
4390 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4392 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4393 (vc-do-command, vc-set-async-update):
4394 * vc/vc-mtn.el (vc-mtn-dir-status):
4395 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4396 (vc-hg-pull, vc-hg-merge-branch):
4397 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4398 (vc-git-merge-branch):
4399 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4400 (vc-cvs-dir-status-files):
4401 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4402 (vc-bzr-dir-status-files):
4403 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4404 * vc/vc-annotate.el: Use lexical-binding.
4405 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4406 (vc-sentinel-movepoint): Declare.
4407 (vc-annotate): Don't use `goto-line'.
4408 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4409 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4410 (vc-sentinel-movepoint): Declare.
4411 * vc/vc-svn.el: Use lexical-binding.
4412 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4414 * vc/vc-rcs.el: Use lexical-binding.
4416 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4417 `deleted'. Don't drop errors silently.
4419 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4421 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4423 * vc/vc.el (vc-ignore): Rewrite.
4424 (vc-default-ignore): New function.
4425 (vc-default-ignore-completion-table): Use find-ignore-file.
4427 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4428 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4429 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4430 Remove. Most code moved to vc.el.
4432 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4434 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4435 * net/tramp-smb.el (tramp-smb-get-file-entries):
4436 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4437 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4439 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4441 (eww-change-select): Remove unused var `properties'.
4442 (eww-make-unique-file-name): Remove unused var `base'.
4444 * finder.el (finder-compile-keywords): Don't mess with windows.
4446 * calculator.el (calculator-funcall): Fix typo in last change.
4448 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4450 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4451 <pkg>-autoloads.el file stop us.
4453 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4454 warnings, and factor out common code.
4456 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4458 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4459 two-character operators and whether the character preceding them
4460 changes their meaning (Bug#15208).
4462 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4464 Format code sent to Python shell for robustness.
4465 * progmodes/python.el (python-shell-buffer-substring):
4467 (python-shell-send-region, python-shell-send-buffer): Use it.
4469 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4471 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4472 * net/tramp.el (tramp-user-error): ... here.
4473 (tramp-find-method, tramp-check-proper-host)
4474 (tramp-dissect-file-name, tramp-debug-message)
4475 (tramp-handle-shell-command):
4476 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4477 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4479 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4481 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4483 * avoid.el (mouse-avoidance-point-position)
4484 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4487 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4489 * progmodes/python.el (python-shell-completion-get-completions):
4490 Drop use of deleted `comint-last-prompt-overlay'.
4491 (python-nav-if-name-main): New command.
4493 2013-09-01 Glenn Morris <rgm@gnu.org>
4495 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4496 Avoid leading space in $wins. Otherwise the sed command used by
4497 eg compile-main ends up containing "/*.el". (Bug#15170)
4499 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4501 2013-08-30 Glenn Morris <rgm@gnu.org>
4503 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4504 Fix is-this-a-directory logic. (Bug#15220)
4506 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4508 * textmodes/css-mode.el: Use SMIE.
4509 (css-smie-grammar): New var.
4510 (css-smie--forward-token, css-smie--backward-token)
4511 (css-smie-rules): New functions.
4512 (css-mode): Use them.
4513 (css-navigation-syntax-table): Remove var.
4514 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4515 (css-indent-calculate, css-indent-line): Remove functions.
4517 Misc changes to reduce use of `(lambda...); and other cleanups.
4518 * cus-edit.el: Use lexical-binding.
4519 (customize-push-and-save, customize-apropos)
4520 (custom-buffer-create-internal): Use closures.
4521 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4522 * progmodes/ada-xref.el: Use setq.
4523 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4524 * dframe.el: Use lexical-binding.
4525 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4526 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4527 * descr-text.el: Use lexical-binding.
4528 (describe-text-widget, describe-text-sexp, describe-property-list):
4530 * comint.el (comint-history-isearch-push-state): Use a closure.
4531 * calculator.el: Use lexical-binding.
4532 (calculator-number-to-string): Make it work with lexical-binding.
4533 (calculator-funcall): Same and use cl-letf.
4535 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4536 (lisp--company-doc-string, lisp--company-location): New functions.
4537 (lisp-completion-at-point): Use them to improve Company support.
4539 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4540 params of lambda expressions.
4541 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4542 (ruby-smie--opening-pipe-p): New function.
4543 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4544 symbols and matched |...| for formal params.
4545 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4546 from being treated as hanging. Handle "rescue".
4548 2013-08-29 Glenn Morris <rgm@gnu.org>
4550 * progmodes/cc-engine.el (c-pull-open-brace):
4551 Move definition before use.
4553 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4555 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4556 are immutable. Don't use `unsafe' any more.
4557 (cl--defsubst-expand): Don't substitute at the same time as keeping
4558 a residual unused let-binding. Don't use `unsafe' any more.
4560 2013-08-29 Glenn Morris <rgm@gnu.org>
4562 * calendar/cal-china.el (calendar-chinese-year-cache):
4565 * nxml/nxml-util.el (nxml-debug-clear-inside):
4566 Use cl-loop rather than loop.
4568 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4570 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4572 2013-08-28 Glenn Morris <rgm@gnu.org>
4574 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4576 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4578 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4580 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4582 * simple.el (repeat-complex-command--called-interactively-skip):
4584 (repeat-complex-command): Use it (bug#14136).
4586 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4587 (c-define-abbrev-table): Add `doc' argument.
4588 (c-mode-abbrev-table, c++-mode-abbrev-table)
4589 (objc-mode-abbrev-table, java-mode-abbrev-table)
4590 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4591 (awk-mode-abbrev-table): Use it.
4592 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4593 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4594 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4595 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4596 Move initialization into the declaration; and remove any
4599 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4600 and dynamic let binding.
4602 * vc/smerge-mode.el: Remove redundant :group args.
4604 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4607 2013-08-28 Juri Linkov <juri@jurta.org>
4609 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4610 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4611 (isearch-other-meta-char): Handle an undefined shifted printing
4612 character by downshifting it. (Bug#15200)
4614 2013-08-28 Juri Linkov <juri@jurta.org>
4616 * isearch.el (isearch-search): Change regexp error message for
4617 non-regexp searches. (Bug#15166)
4619 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4621 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4622 for portability to hosts where /bin/sh has problems.
4624 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4626 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4628 2013-08-27 Juri Linkov <juri@jurta.org>
4630 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4631 in the keyboard macro. (Bug#15126)
4633 2013-08-27 Juri Linkov <juri@jurta.org>
4635 * isearch.el (isearch-quote-char): Comment out converting unibyte
4636 to multibyte, thus syncing with its `quoted-insert' counterpart.
4639 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4641 * window.el (display-buffer-use-some-window): Add missing
4642 argument in call of get-largest-window (Bug#15185).
4643 Reported by Stephen Leake.
4645 2013-08-27 Glenn Morris <rgm@gnu.org>
4647 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4649 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4651 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4652 from a matcher-function unless there's no more matches (bug#15161).
4654 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4656 * minibuffer.el: Revert change from 2013-08-20.
4658 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4659 with text property `tramp-default', if appropriate.
4660 (tramp-check-proper-host): New defun.
4661 (tramp-dissect-file-name): Do not check hostname. Revert change
4663 (tramp-backtrace): Make VEC-OR-PROC optional.
4665 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4666 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4667 * net/tramp-sh.el (tramp-maybe-open-connection):
4668 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4669 Apply `tramp-check-proper-host'.
4671 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4673 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4674 lambda expression in order to have `describe-variable' display it.
4676 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4678 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4679 BUF can be optional. (Bug#15186)
4681 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4683 * progmodes/flymake.el (flymake-get-real-file-name-function):
4684 Fix broken customization. (Bug#15184)
4686 2013-08-25 Alan Mackenzie <acm@muc.de>
4688 Improve indentation of bracelists defined by macros (without "=").
4690 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4691 expansion begins with "{", regard it as bracelist when it doesn't
4694 Parse C++ inher-intro when there's a template split over 2 lines.
4696 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4697 rigorously the search for "class" etc. followed by ":".
4699 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4700 random languages a regexp which never matches rather than nil.
4702 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4704 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4705 (c-awk-regexp-one-line-possibly-open-char-list-re)
4706 (c-awk-one-line-possibly-open-regexp-re)
4707 (c-awk-one-line-non-syn-ws*-re): Remove.
4708 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4709 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4710 (c-awk-space*-unclosed-regexp-/-re): New constants.
4711 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4712 aren't regexp delimiters.
4714 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4715 handling for a rare situation in AWK Mode involving unterminated
4718 2013-08-23 Glenn Morris <rgm@gnu.org>
4720 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4722 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4724 * files.el (create-file-buffer): If the result would begin with
4725 spaces, prepend a "|" instead of removing them. (Bug#15162)
4727 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4729 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4730 text-properties (bug#15155).
4732 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4734 (calc-keypad-redraw): Remove unused var `pad'.
4735 (calc-keypad-press): Remove unused var `menu'.
4737 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4739 * window.el (display-buffer-pop-up-frame):
4740 Call pop-up-frame-function with BUFFER current so `make-frame' will
4741 use it as the new frame's buffer (Bug#15133).
4743 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4745 * calendar/timeclock.el: Minor cleanups.
4746 (timeclock-ask-before-exiting, timeclock-use-display-time):
4748 (timeclock-modeline-display): Define as alias before the
4750 (timeclock-mode-line-display): Use define-minor-mode.
4751 (timeclock-day-list-template): Make it a function, add an argument.
4752 (timeclock-day-list-required, timeclock-day-list-length)
4753 (timeclock-day-list-debt, timeclock-day-list-span)
4754 (timeclock-day-list-break): Adjust calls accordingly.
4756 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4758 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4759 Use read--expression so that completion works again.
4761 2013-08-21 Sam Steingold <sds@gnu.org>
4763 Add rudimentary inferior shell interaction
4764 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4765 (sh-set-shell): Reset it.
4766 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4767 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4769 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4771 * align.el: Use lexical-binding.
4772 (align-region): Simplify accordingly.
4774 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4776 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4778 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4781 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4785 * net/tramp-cmds.el:
4787 * net/tramp-gvfs.el:
4789 * net/tramp-sh.el: Don't wrap external variable declarations by
4790 `eval-when-compile'.
4792 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4794 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4795 now that Emacs supports ImageMagick animations.
4797 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4799 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4800 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4802 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4804 * window.el (mouse-autoselect-window-select): Do autoselect when
4805 mouse pointer is on margin.
4807 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4809 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4811 2013-08-16 Glenn Morris <rgm@gnu.org>
4813 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4814 Handle "Remote Directory" response of some clients. (Bug#15058)
4816 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4817 Tweak warning. (Bug#14926)
4819 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4820 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4822 * image-mode.el (image-mode-map): Add menu items to reverse,
4823 increase, decrease, reset animation speed.
4824 (image--set-speed, image-increase-speed, image-decrease-speed)
4825 (image-reverse-speed, image-reset-speed): New functions.
4826 (image-mode-map): Add bindings for speed commands.
4828 * image.el (image-animate-get-speed, image-animate-set-speed):
4830 (image-animate-timeout): Respect image :speed property.
4832 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4834 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4835 previous line (bug#15101).
4836 (debugger-eval-expression, debugger-record-expression):
4837 Use read--expression (bug#15102).
4839 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4841 Remove byte compiler warnings, visible when compiling with
4842 `byte-compile-force-lexical-warnings' set to t.
4844 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4845 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4846 (tramp-handle-unhandled-file-name-directory)
4847 (tramp-handle-file-notify-add-watch, tramp-action-login)
4848 (tramp-action-succeed, tramp-action-permission-denied)
4849 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4852 * net/tramp-adb.el (tramp-adb-parse-device-names)
4853 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4854 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4855 (tramp-adb-handle-file-truename): Remove unused arguments.
4857 * net/tramp-cache.el (tramp-flush-directory-property)
4858 (tramp-flush-connection-property, tramp-list-connections)
4859 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4861 * net/tramp-compat.el (tramp-compat-make-temp-file):
4862 Rename FILENAME to F.
4864 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4865 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4866 (tramp-zeroconf-parse-workstation-device-names)
4867 (tramp-zeroconf-parse-webdav-device-names)
4868 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4870 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4871 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4873 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4875 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4876 (tramp-sh-handle-insert-file-contents-literally)
4877 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4879 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4880 Remove unused variables.
4882 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4883 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4884 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4886 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4887 Make them a defconst.
4888 (tramp-uuencode-region): Remove unused variable.
4890 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4892 * frameset.el (frameset--prop-setter): New function.
4893 (frameset-prop): Add gv-setter declaration.
4894 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4895 parameter was already set in FILTERED. Doc fix.
4896 (frameset--record-minibuffer-relationships): Allow saving a
4897 minibufferless frame without its corresponding minibuffer frame.
4898 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4899 frame, if the frame id matches.
4900 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4901 frames before orphaned ones.
4902 (frameset-restore): Warn about orphaned windows, instead of error out.
4904 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4906 * window.el (window-make-atom): Don't overwrite parameter
4908 (display-buffer-in-atom-window): Handle special case where we
4909 split an already atomic window.
4910 (window--major-non-side-window, display-buffer-in-side-window)
4911 (window--side-check): Ignore minibuffer window when walking
4913 (window-deletable-p): Return 'frame only if no other frame uses
4914 our minibuffer window.
4915 (record-window-buffer): Run buffer-list-update-hook.
4916 (split-window): Make sure window--check-frame won't destroy an
4917 existing atomic window in case the new window gets nested
4919 (display-buffer-at-bottom): Ignore minibuffer window when
4920 walking window tree. Don't split a side window.
4921 (pop-to-buffer): Don't set-buffer here, the select-window call
4923 (mouse-autoselect-window-select): Autoselect only if we are in the
4924 text portion of the window.
4926 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4928 * net/shr.el (shr-parse-image-data): New function to grab both the
4929 data itself and the Content-Type.
4930 (shr-put-image): Use it.
4932 * net/eww.el (eww-display-image): Ditto.
4934 * image.el (image-content-type-suffixes): New variable.
4936 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4938 * progmodes/python.el (python-imenu--build-tree)
4939 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4941 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4943 * simple.el (backward-word): Mention the optional argument.
4945 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4947 * frameset.el (frameset--make): Rename constructor from make-frameset.
4948 (frameset-p, frameset-valid-p): Don't autoload.
4949 (frameset-valid-p): Use normal accessors.
4951 2013-08-13 Glenn Morris <rgm@gnu.org>
4953 * progmodes/compile.el (compile-command): Tweak example in doc.
4954 * obsolete/scribe.el (scribe-mode):
4955 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4957 * mail/feedmail.el (feedmail-confirm-outgoing)
4958 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4960 * cus-start.el (truncate-partial-width-windows): Fix type.
4962 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4964 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4966 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4968 * emacs-lisp/timer.el (timer--time-setter): New function.
4969 (timer--time): Use it as gv-setter.
4971 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4972 setter is not a symbol.
4974 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4976 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4977 if sending fails. This makes debugging easier.
4979 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4981 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4982 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4983 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4985 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4987 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4989 2013-08-12 Glenn Morris <rgm@gnu.org>
4991 * format.el (format-annotate-function):
4992 Handle read-only text properties in the source. (Bug#14887)
4994 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4996 * net/eww.el (eww-display-html): Ignore coding system errors.
4997 One web site uses "utf-8lias" as the coding system.
4999 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
5001 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5003 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
5005 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5006 (tutorial--detailed-help): Remove unused local variables.
5007 (tutorial--save-tutorial-to): Use ignore-errors.
5008 (help-with-tutorial): Use looking-at-p.
5010 * view.el (view-buffer-other-window, view-buffer-other-frame):
5011 Mark unused arguments.
5013 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5014 (woman-select-symbol-fonts, woman, woman-find-file)
5015 (woman-insert-file-contents, woman-non-underline-faces):
5017 (woman1-unquote): Move declaration.
5019 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5020 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
5021 argument. Remove unused local variable.
5022 (xml-parse-elem-type): Use string-match-p.
5023 (xml-substitute-numeric-entities): Use ignore-errors.
5025 * calculator.el (calculator): Mark unused argument.
5026 (calculator-paste, calculator-quit, calculator-integer-p):
5028 (calculator-string-to-number, calculator-decimal, calculator-exp)
5029 (calculator-op-or-exp): Use string-match-p.
5031 * dired.el (dired-buffer-more-recently-used-p): Declare.
5032 (dired-insert-set-properties, dired-insert-old-subdirs):
5035 * dired-aux.el (dired-compress): Use ignore-errors.
5036 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5037 (dired-do-async-shell-command, dired-do-shell-command)
5038 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5039 (dired-insert-subdir-validate): Use string-match-p.
5040 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5041 (dired-add-entry): Use string-match-p, looking-at-p.
5042 (dired-insert-subdir-newpos): Remove unused local variable.
5044 * filenotify.el (file-notify-callback): Remove unused local variable.
5046 * filesets.el (filesets-error): Mark unused argument.
5047 (filesets-which-command-p, filesets-filter-dir-names)
5048 (filesets-directory-files, filesets-get-external-viewer)
5049 (filesets-ingroup-get-data): Use string-match-p.
5051 * find-file.el (ff-other-file-name, ff-other-file-name)
5052 (ff-find-the-other-file, ff-cc-hh-converter):
5053 Remove unused local variables.
5054 (ff-get-file-name): Use string-match-p.
5055 (ff-all-dirs-under): Use ignore-errors.
5057 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
5058 (follow-select-if-visible): Remove unused local variable.
5060 * forms.el (read-file-filter): Move declaration.
5061 (forms--make-format, forms--make-parser, forms-insert-record):
5062 Quote function with #'.
5063 (forms--update): Use string-match-p. Quote function with #'.
5065 * help-mode.el (help-dir-local-var-def): Mark unused argument.
5066 (help-make-xrefs): Use looking-at-p.
5067 (help-xref-on-pp): Use looking-at-p, ignore-errors.
5069 * ibuffer.el (ibuffer-ext-visible-p): Declare.
5070 (ibuffer-confirm-operation-on): Use string-match-p.
5072 * msb.el (msb-item-handler, msb-dired-item-handler):
5073 Mark unused arguments.
5075 * ses.el (ses-decode-cell-symbol)
5076 (ses-kill-override): Remove unused local variable.
5077 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
5078 (ses-load): Use ignore-errors, looking-at-p.
5079 (ses-jump-safe): Use ignore-errors.
5080 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
5082 * tabify.el (untabify, tabify): Mark unused arguments.
5084 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
5085 Mark unused argument.
5086 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
5087 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
5089 * emacs-lisp/timer.el (timer--time): Define setter with
5090 gv-define-setter to avoid deprecation warning.
5092 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
5093 (*record-cmpl-statistics-p*): Remove (was commented out).
5094 (cmpl-statistics-block): Remove (body was commented out).
5095 All callers changed.
5096 (add-completions-from-buffer, load-completions-from-file):
5097 Remove unused variables.
5099 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5101 * filecache.el (file-cache-delete-file-list):
5102 Print message only when told so.
5103 (file-cache-files-matching): Use #' in mapconcat argument.
5105 * ffap.el (ffap-url-at-point): Fix reference to variable
5106 thing-at-point-default-mail-uri-scheme.
5108 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5110 * subr.el (define-error): New function.
5111 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
5112 error-file-not-found and define with define-error.
5113 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
5114 and define with define-error.
5115 * userlock.el (file-locked, file-supersession):
5116 * simple.el (mark-inactive):
5117 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
5118 * progmodes/ada-mode.el (ada-mode-errors):
5119 * play/life.el (life-extinct):
5120 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
5121 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
5122 * nxml/rng-util.el (rng-error):
5123 * nxml/rng-uri.el (rng-uri-error):
5124 * nxml/rng-match.el (rng-compile-error):
5125 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
5126 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
5127 * nxml/nxml-rap.el (nxml-scan-error):
5128 * nxml/nxml-outln.el (nxml-outline-error):
5129 * net/soap-client.el (soap-error):
5130 * net/gnutls.el (gnutls-error):
5131 * net/ange-ftp.el (ftp-error):
5132 * mpc.el (mpc-proc-error):
5133 * json.el (json-error, json-readtable-error, json-unknown-keyword)
5134 (json-number-format, json-string-escape, json-string-format)
5135 (json-key-format, json-object-format):
5136 * jka-compr.el (compression-error):
5137 * international/quail.el (quail-error):
5138 * international/kkc.el (kkc-error):
5139 * emacs-lisp/ert.el (ert-test-failed):
5140 * calc/calc.el (calc-error, inexact-result, math-overflow)
5142 * bookmark.el (bookmark-error-no-filename):
5143 * epg.el (epg-error): Define with define-error.
5145 * time.el (display-time-event-handler)
5146 (display-time-next-load-average): Don't call sit-for since it seems
5147 unnecessary (bug#15045).
5149 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
5150 Use #' instead of ' to quote functions.
5151 (checkdoc-output-mode): Use setq-local.
5152 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
5153 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
5154 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
5155 (checkdoc-ispell, checkdoc-ispell-current-buffer)
5156 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
5157 (checkdoc-ispell-message-text, checkdoc-ispell-start)
5158 (checkdoc-ispell-continue, checkdoc-ispell-comments)
5159 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
5161 * ido.el (ido-completion-help): Fix up compiler warning.
5163 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
5165 * frameset.el (frameset-p): Add autoload cookie.
5166 (frameset--jump-to-register): New function, based on code moved from
5168 (frameset-to-register): Move from register.el. Adapt to `registerv'.
5170 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
5171 (frameset-restore, frameset-save, frameset-session-filter-alist):
5172 Remove declarations.
5173 (register-alist): Doc fix.
5174 (frameset-to-register): Move to frameset.el.
5175 (jump-to-register, describe-register-1): Remove frameset-specific code.
5177 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5179 * allout-widgets.el (allout-widgets-pre-command-business)
5180 (allout-widgets-post-command-business)
5181 (allout-widgets-after-change-handler)
5182 (allout-decorate-item-and-context, allout-set-boundary-marker)
5183 (allout-body-modification-handler)
5184 (allout-graphics-modification-handler): Mark ignored arguments.
5185 (allout-widgets-post-command-business)
5186 (allout-widgets-exposure-change-processor)
5187 (allout-widgets-exposure-undo-processor)
5188 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
5189 (allout-parse-item-at-point, allout-decorate-item-guides)
5190 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
5191 * allout.el (epa-passphrase-callback-function): Declare.
5192 (allout-overlay-insert-in-front-handler)
5193 (allout-overlay-interior-modification-handler)
5194 (allout-isearch-end-handler, allout-chart-siblings)
5195 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
5196 (allout-yank-processing, allout-process-exposed)
5197 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
5198 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
5199 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
5200 (lisp-indent-defform): Mark ignored arguments.
5201 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
5202 (calculate-lisp-indent): Remove unused variables.
5203 * international/characters.el (indian-2-column, arabic-2-column)
5204 (tibetan): Mark ignored arguments.
5205 (use-cjk-char-width-table): Mark ignored arguments.
5206 Remove unused variables.
5207 * international/fontset.el (build-default-fontset-data)
5208 (x-compose-font-name, create-fontset-from-fontset-spec):
5209 Mark ignored arguments.
5210 (fontset-plain-name): Remove unused variables.
5211 * international/mule.el (charset-id, charset-bytes, generic-char-p)
5212 (keyboard-coding-system): Mark ignored arguments.
5213 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
5214 * help.el (resize-temp-buffer-window):
5215 * window.el (display-buffer-in-major-side-window)
5216 (display-buffer-in-side-window, display-buffer-in-previous-window):
5217 Remove unused variables.
5218 * isearch.el (isearch-forward-symbol):
5219 * version.el (emacs-bzr-version-bzr):
5220 * international/mule-cmds.el (current-language-environment):
5221 * term/common-win.el (x-handle-iconic, x-handle-geometry)
5223 * term/pc-win.el (x-list-fonts, x-display-planes)
5224 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
5225 (x-server-version, x-display-screens, x-display-mm-height)
5226 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
5227 (x-selection-owner-p, x-own-selection-internal)
5228 (x-disown-selection-internal, x-get-selection-internal)
5229 (msdos-initialize-window-system):
5230 * term/tty-colors.el (tty-color-alist, tty-color-clear):
5231 * term/x-win.el (x-handle-no-bitmap-icon):
5232 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
5233 (vc-default-find-file-hook, vc-default-extra-menu):
5234 Mark ignored arguments.
5236 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5238 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
5239 break-condition in the context of the debugged code (bug#12685).
5241 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
5244 Do not use an overlay to highlight the last prompt. (Bug#14744)
5245 (comint-mode): Make comint-last-prompt buffer local.
5246 (comint-last-prompt): New variable.
5247 (comint-last-prompt-overlay): Remove. Superseded by
5249 (comint-snapshot-last-prompt, comint-output-filter):
5250 Use comint-last-prompt.
5252 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5254 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
5255 (frameset-save): Check validity of the resulting frameset.
5257 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
5259 * ido.el (ido-record-command): Add doc string.
5261 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5263 * frameset.el (frameset): Do not disable creation of the default
5264 frameset-p predicate. Doc fix.
5265 (frameset-valid-p): New function, copied from the old predicate-p.
5266 Add additional checks.
5267 (frameset-restore): Check with frameset-valid-p.
5268 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
5269 (frameset-name, frameset-description, frameset-properties)
5270 (frameset-states): Add docstring.
5271 (frameset-session-filter-alist, frameset-persistent-filter-alist)
5272 (frameset-filter-alist): Doc fixes.
5274 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5276 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5278 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5280 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5281 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5282 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5283 (byte-compile-normal-call): Remove obsolescence check.
5285 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5287 * frameset.el (frameset-restore): Doc fix.
5289 * register.el (frameset-frame-id, frameset-frame-with-id)
5290 (frameset-p, frameset-restore, frameset-save): Declare.
5291 (register-alist): Document framesets.
5292 (frameset-session-filter-alist): Declare.
5293 (frameset-to-register): New function.
5294 (jump-to-register): Implement jumping to framesets. Doc fix.
5295 (describe-register-1): Describe framesets.
5297 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5299 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5301 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5302 Use lexical-binding.
5304 * frameset.el (frameset): Use type vector, not list (incompatible
5305 change). Do not declare a new constructor, use the default one.
5306 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5307 `name' and `description', respectively, and add read-only slot
5308 `timestamp'. Doc fixes.
5309 (frameset-copy, frameset-persistent-filter-alist)
5310 (frameset-filter-alist, frameset-switch-to-gui-p)
5311 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5312 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5313 (frameset-filter-iconified, frameset-keep-original-display-p):
5315 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5316 Rename from frameset-filter-(save|restore)-param. All callers changed.
5318 (frameset-p): Adapt to change to vector and be more thorough.
5319 Change arg name to OBJECT. Doc fix.
5320 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5321 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5322 All callers changed.
5323 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5324 All callers changed.
5325 (frameset--record-minibuffer-relationships): Rename from
5326 frameset--process-minibuffer-frames. All callers changed.
5327 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5328 Use new default constructor (again). Doc fix.
5329 (frameset--find-frame-if): Rename from `frameset--find-frame.
5330 All callers changed.
5331 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5332 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5334 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5335 PARAMETERS and WINDOW-STATE, respectively.
5336 (frameset-restore): Add new keyword argument PREDICATE.
5337 Reset frameset--target-display to nil. Doc fix.
5339 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5341 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5343 (bat-mode-syntax-table): Mark \n as end-of-comment.
5344 (bat-font-lock-keywords): Remove comment rule.
5346 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5347 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5349 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5350 (byte-compile-callargs-warn): Use `push'.
5351 (byte-compile-arglist-warn): Ignore higher-order "calls".
5352 (byte-compile-file-form-autoload): Use `pcase'.
5353 (byte-compile-function-form): If quoting a symbol, check that it exists.
5355 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5357 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5358 and add a few popular commands found in batch files.
5359 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5360 (dos-mode): Doc fixes.
5362 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5364 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5365 (dos-mode): Use setq-local. Add space after "rem".
5366 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5367 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5369 2013-08-07 Arni Magnusson <arnima@hafro.is>
5371 * progmodes/dos.el: New file.
5372 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5375 2013-08-06 Glenn Morris <rgm@gnu.org>
5377 * calendar/calendar.el: Add new faces, and day-header-array.
5378 (calendar-weekday-header, calendar-weekend-header)
5379 (calendar-month-header): New faces.
5380 (calendar-day-header-construct): New function.
5381 (calendar-day-header-width): Also :set calendar-day-header-array.
5382 (calendar-american-month-header, calendar-european-month-header)
5383 (calendar-iso-month-header): Use calendar- faces.
5384 (calendar-generate-month):
5385 Use calendar-day-header-array for day headers; apply faces to them.
5386 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5387 (calendar-abbrev-construct): Add optional maxlen argument.
5388 (calendar-day-name-array): Doc fix.
5389 (calendar-day-name-array, calendar-abbrev-length)
5390 (calendar-day-abbrev-array):
5391 Also :set calendar-day-header-array, and maybe redraw.
5392 (calendar-day-header-array): New option. (Bug#15007)
5393 (calendar-font-lock-keywords): Set to nil and make obsolete.
5394 (calendar-day-name): Add option to use header array.
5396 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5398 * net/shr.el (shr-render-td): Remove debugging.
5399 (shr-render-td): Make width computation consistent by defaulting
5400 all zero-width columns to 10 characters. This may not be optimal,
5401 but it's at least consistent.
5402 (shr-make-table-1): Redo last change to fix the real problem in
5405 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5407 * files.el (cache-long-line-scans):
5408 Make obsolete alias to `cache-long-scans'.
5410 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5412 * frameset.el (frameset, frameset-filter-alist)
5413 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5414 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5415 (frameset-compute-pos): Rename from frameset--compute-pos,
5417 (frameset-move-onscreen): Use frameset-compute-pos.
5418 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5420 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5421 Fix typos in docstrings.
5423 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5425 * frame.el (get-other-frame): Tiny cleanup.
5427 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5429 * vc/vc.el (vc-default-ignore-completion-table):
5430 Silence byte-compiler warning.
5432 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5433 slot , which can indeed be nil.
5434 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5435 Move entry for `left' from persistent to live filter alist.
5436 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5438 (frameset-filter-params): When restoring a frame, copy items added to
5439 `filtered', to avoid unwittingly modifying the original parameters.
5440 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5441 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5443 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5444 to use looking-at-p instead of looking-at. (Bug#15028)
5446 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5448 Revert introduction of isearch-filter-predicates (bug#14714).
5449 Rely on add-function instead.
5450 * isearch.el (isearch-filter-predicates): Rename it back to
5451 isearch-filter-predicate.
5452 (isearch-message-prefix): Use advice-function-mapc and advice
5453 properties to get the isearch-message-prefix.
5454 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5455 instead of run-hook-with-args-until-failure.
5456 (isearch-filter-visible): Not obsolete any more.
5457 * loadup.el: Preload nadvice.
5458 * replace.el (perform-replace): Revert to funcall
5459 instead of run-hook-with-args-until-failure.
5460 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5461 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5462 dired-isearch-filenames-toggle; make it into a proper minor mode.
5463 Use add/remove-function.
5464 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5465 Call the minor-mode rather than add/remove-hook.
5466 (dired-isearch-filter-filenames):
5467 Remove isearch-message-prefix property.
5468 * info.el (Info--search-loop): New function, extracted from Info-search.
5469 Funcall isearch-filter-predicate instead of
5470 run-hook-with-args-until-failure isearch-filter-predicates.
5471 (Info-search): Use it.
5472 (Info-mode): Use isearch-filter-predicate instead of
5473 isearch-filter-predicates.
5475 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5477 Do not call to `selected-window' where it is assumed by default.
5478 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5479 `window-hscroll', `window-width', `window-height', `window-buffer',
5480 `window-frame', `window-start', `window-point', `next-window'
5481 and `window-display-table'.
5482 * abbrev.el (abbrev--default-expand):
5483 * bs.el (bs--show-with-configuration):
5484 * buff-menu.el (Buffer-menu-mouse-select):
5485 * calc/calc.el (calc):
5486 * calendar/calendar.el (calendar-generate-window):
5487 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5489 * comint.el (send-invisible, comint-dynamic-complete-filename)
5490 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5491 * completion.el (complete):
5492 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5493 * disp-table.el (describe-current-display-table):
5494 * doc-view.el (doc-view-insert-image):
5495 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5496 * ehelp.el (with-electric-help):
5497 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5498 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5499 * emacs-lisp/helper.el (Helper-help-scroller):
5500 * emulation/cua-base.el (cua--post-command-handler-1):
5501 * eshell/esh-mode.el (eshell-output-filter):
5502 * ffap.el (ffap-gnus-wrapper):
5503 * help-macro.el (make-help-screen):
5504 * hilit-chg.el (highlight-compare-buffers):
5505 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5506 * hl-line.el (global-hl-line-highlight):
5507 * icomplete.el (icomplete-simple-completing-p):
5508 * isearch.el (isearch-done):
5509 * jit-lock.el (jit-lock-stealth-fontify):
5510 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5511 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5512 * mpc.el (mpc-tagbrowser, mpc):
5513 * net/rcirc.el (rcirc-any-buffer):
5514 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5515 * play/landmark.el (landmark-max-width, landmark-max-height):
5516 * play/zone.el (zone):
5517 * progmodes/compile.el (compilation-goto-locus):
5518 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5519 * progmodes/etags.el (find-tag-other-window):
5520 * progmodes/fortran.el (fortran-column-ruler):
5521 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5522 * progmodes/verilog-mode.el (verilog-point-text):
5523 * reposition.el (reposition-window):
5524 * rot13.el (toggle-rot13-mode):
5525 * server.el (server-switch-buffer):
5526 * shell.el (shell-dynamic-complete-command)
5527 (shell-dynamic-complete-environment-variable):
5528 * simple.el (insert-buffer, set-selective-display)
5529 (delete-completion-window):
5530 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5531 (speedbar-recenter):
5532 * startup.el (fancy-splash-head):
5533 * textmodes/ispell.el (ispell-command-loop):
5534 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5535 * tutorial.el (help-with-tutorial):
5536 * vc/add-log.el (add-change-log-entry):
5537 * vc/compare-w.el (compare-windows):
5538 * vc/ediff-help.el (ediff-indent-help-message):
5539 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5540 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5541 (ediff-setup-control-frame):
5542 * vc/emerge.el (emerge-position-region):
5543 * vc/pcvs-util.el (cvs-bury-buffer):
5544 * window.el (walk-windows, mouse-autoselect-window-select):
5545 * winner.el (winner-set-conf, winner-undo): Related users changed.
5547 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5549 * frameset.el (frameset--set-id): Doc fix.
5550 (frameset-frame-id, frameset-frame-id-equal-p)
5551 (frameset-locate-frame-id): New functions.
5552 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5553 (frameset-restore): Use them.
5555 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5557 Do not call to `selected-frame' where it is assumed by default.
5558 Affected functions are `raise-frame', `redraw-frame',
5559 `frame-first-window', `frame-terminal' and `delete-frame'.
5560 * calendar/appt.el (appt-disp-window):
5561 * epg.el (epg-wait-for-completion):
5562 * follow.el (follow-delete-other-windows-and-split)
5563 (follow-avoid-tail-recenter):
5564 * international/mule.el (set-terminal-coding-system):
5565 * mail/rmail.el (rmail-mail-return):
5566 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5567 * progmodes/f90.el (f90-add-imenu-menu):
5568 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5569 * server.el (server-switch-buffer):
5570 * simple.el (delete-completion-window):
5572 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5573 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5574 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5575 * vc/ediff.el (ediff-documentation): Related users changed.
5576 * frame.el (selected-terminal): Remove the leftover.
5578 2013-08-05 Glenn Morris <rgm@gnu.org>
5580 * calendar/calendar.el (calendar-generate-month):
5581 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5582 (calendar-generate-month, calendar-font-lock-keywords):
5583 Fix for calendar-day-header-width > length of any day name.
5585 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5587 * desktop.el (desktop-clear): Use new name of sort predicate.
5589 * frameset.el (frameset): Add docstring. Move :version property to its
5591 (frameset-copy): Rename from copy-frameset.
5592 (frameset-p): Check more thoroughly.
5593 (frameset-prop): Do not check for :version, which is no longer a prop.
5594 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5595 Use new :never value instead of t.
5596 (frameset-filter-alist): Expand and clarify docstring.
5597 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5598 (frameset-filter-minibuffer, frameset-filter-save-param)
5599 (frameset-filter-restore-param, frameset-filter-iconified):
5600 Add pointer to docstring of frameset-filter-alist.
5601 (frameset-filter-params): Rename filter values to be more meaningful:
5602 :never instead of t, and reverse the meanings of :save and :restore.
5603 (frameset--process-minibuffer-frames): Clarify error message.
5604 (frameset-save): Avoid unnecessary and confusing call to framep.
5605 Use new BOA constructor for framesets.
5606 (frameset--reuse-list): Doc fix.
5607 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5608 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5609 (frameset-minibufferless-first-p): Doc fix.
5610 Rename from frameset-sort-frames-for-deletion.
5611 (frameset-restore): Doc fixes. Use new function names.
5612 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5614 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5616 * desktop.el (desktop-restore-forces-onscreen)
5617 (desktop-restore-reuses-frames): Document :keyword constant values.
5618 (desktop-filter-parameters-alist): Remove, now identical to
5619 frameset-filter-alist.
5620 (desktop--filter-tty*): Remove, moved to frameset.el.
5621 (desktop-save-frameset, desktop-restore-frameset):
5622 Do not pass :filters argument.
5624 * frameset.el (frameset-live-filter-alist)
5625 (frameset-persistent-filter-alist): New variables.
5626 (frameset-filter-alist): Use them. Add autoload cookie.
5627 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5628 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5629 `frameset--id' (it's supposed to be internal to frameset.el).
5630 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5631 (frameset--initial-params): New function.
5632 (frameset--get-frame): Use it. Doc fix.
5633 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5634 Accept :all, not 'all.
5635 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5636 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5637 with fbound symbols. Fix frame id matching, and remove matching ids if
5638 the frame being restored is deleted. Obey :delete.
5640 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5642 * subr.el (macrop): New function.
5643 (text-clone--maintaining): New var.
5644 (text-clone--maintain): Rename from text-clone-maintain. Use it
5645 instead of inhibit-modification-hooks.
5647 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5648 a proxy, so as handle autoloads and redefinitions of the target.
5649 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5651 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5652 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5653 (pcase--mutually-exclusive-p): New function.
5654 (pcase--split-consp): Use it.
5655 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5656 mutually exclusive with the current predicate.
5658 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5659 (edebug-macrop): Remove. Use `macrop' instead.
5660 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5662 * eshell/esh-cmd.el (eshell-macrop):
5663 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5665 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5667 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5668 (advice-mapc): New function, using it.
5669 (advice-function-member-p): New function.
5670 (advice--normalize): Store the cdr in advice--saved-rewrite since
5671 that's the part that will be changed.
5672 (advice--symbol-function): New function.
5673 (advice-remove): Handle removal before the function is defined.
5674 Adjust to new advice--saved-rewrite.
5675 (advice-member-p): Use advice-function-member-p and
5676 advice--symbol-function.
5678 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5680 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5681 (frameset-filter-minibuffer): Doc fix.
5682 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5683 (frameset--set-id, frameset--process-minibuffer-frames)
5684 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5685 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5687 * desktop.el (desktop-clear): Only delete frames when called
5688 interactively and desktop-restore-frames is non-nil. Doc fix.
5689 (desktop-read): Set desktop-saved-frameset to nil.
5691 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5693 * vc/vc.el (vc-ignore): Rewrite.
5694 (vc-default-ignore-completion-table):
5696 (vc--add-line, vc--remove-regexp): New functions.
5698 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5699 (vc-svn-ignore-completion-table): New function.
5701 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5702 (vc-hg-ignore-completion-table):
5703 (vc-hg-find-ignore-file): New functions.
5705 * vc/vc-git.el (vc-git-ignore): Rewrite.
5706 (vc-git-ignore-completion-table):
5707 (vc-git-find-ignore-file): New functions.
5709 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5711 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5712 (vc-bzr-ignore-completion-table):
5713 (vc-bzr-find-ignore-file): New functions.
5715 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5717 * frameset.el (frameset-prop): New function and setter.
5718 (frameset-save): Do not modify frame list passed by the caller.
5720 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5722 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5724 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5726 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5727 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5729 * custom.el (custom-initialize-default, custom-initialize-set)
5730 (custom-initialize-reset, custom-initialize-changed): Affect the
5731 toplevel-default-value (bug#6275, bug#14586).
5732 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5735 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5737 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5738 Add cl-def* expressions.
5740 * frameset.el (frameset-filter-params): Fix order of arguments.
5742 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5744 Move code related to saving frames to frameset.el.
5745 * desktop.el: Require frameset.
5746 (desktop-restore-frames): Doc fix.
5747 (desktop-restore-reuses-frames): Rename from
5748 desktop-restoring-reuses-frames.
5749 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5750 (desktop-clear): Clear frames too.
5751 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5752 (desktop--filter-tty*, desktop-save, desktop-read):
5753 Use frameset functions.
5754 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5755 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5756 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5757 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5758 (desktop--process-minibuffer-frames, desktop-save-frames)
5759 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5760 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5761 (desktop--sort-states, desktop-restoring-frames-p)
5762 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5763 (desktop-restoring-frameset-p, desktop-restore-frameset)
5764 (desktop--check-dont-save, desktop-save-frameset): New functions.
5765 (desktop--app-id): New constant.
5766 (desktop-first-buffer, desktop-buffer-ok-count)
5767 (desktop-buffer-fail-count): Move before first use.
5768 * frameset.el: New file.
5770 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5772 * files.el: Use lexical-binding.
5773 (dir-locals-read-from-file): Remove unused `err' variable.
5774 (hack-dir-local-variables--warned-coding): New var.
5775 (hack-dir-local-variables): Use it to avoid repeated warnings.
5776 (make-backup-file-name--default-function): New function.
5777 (make-backup-file-name-function): Use it as default.
5778 (buffer-stale--default-function): New function.
5779 (buffer-stale-function): Use it as default.
5780 (revert-buffer-insert-file-contents--default-function): New function.
5781 (revert-buffer-insert-file-contents-function): Use it as default.
5782 (insert-directory): Avoid add-to-list.
5784 * autorevert.el (auto-revert-handler): Simplify.
5785 Use buffer-stale--default-function.
5787 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5789 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5791 * whitespace.el (whitespace-ensure-local-variables): New function.
5792 (whitespace-cleanup-region): Call it.
5793 (whitespace-turn-on): Call it.
5795 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5797 Complete file name handlers.
5799 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5800 (tramp-handle-verify-visited-file-modtime)
5801 (tramp-handle-file-notify-rm-watch): New functions.
5802 (tramp-call-process): Do not bind `default-directory'.
5804 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5805 Order alphabetically.
5806 [access-file, add-name-to-file, dired-call-process]:
5807 [dired-compress-file, file-acl, file-notify-rm-watch]:
5808 [file-ownership-preserved-p, file-selinux-context]:
5809 [make-directory-internal, make-symbolic-link, set-file-acl]:
5810 [set-file-selinux-context, set-visited-file-modtime]:
5811 [verify-visited-file-modtime]: Add handler.
5812 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5814 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5815 [file-notify-add-watch, file-notify-rm-watch]:
5816 [set-file-times, set-visited-file-modtime]:
5817 [verify-visited-file-modtime]: Add handler.
5818 (with-tramp-gvfs-error-message)
5819 (tramp-gvfs-handle-set-visited-file-modtime)
5820 (tramp-gvfs-fuse-file-name): Remove.
5821 (tramp-gvfs-handle-file-notify-add-watch)
5822 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5823 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5825 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5826 Order alphabetically.
5827 [file-notify-rm-watch ]: Use default Tramp handler.
5828 [executable-find]: Remove private handler.
5829 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5830 `default-directory'.
5831 (tramp-sh-handle-executable-find)
5832 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5833 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5834 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5835 Do not use `format' in `tramp-message'.
5837 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5838 [file-notify-rm-watch, set-visited-file-modtime]:
5839 [verify-visited-file-modtime]: Add handler.
5840 (tramp-smb-call-winexe): Do not bind `default-directory'.
5842 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5844 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5846 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5848 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5850 (log-view-diff-changeset): Same.
5851 (log-view-diff-common): Call backend command `previous-revision'
5852 to find out the previous revision, in both cases. Swap the
5853 variables `to' and `fr', so that `fr' usually refers to the
5854 earlier revision (Bug#14989).
5856 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5858 * ibuf-ext.el (ibuffer-filter-by-filename):
5859 Make it work with dired buffers too.
5861 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5863 * emacs-lisp/re-builder.el (reb-color-display-p):
5864 * files.el (save-buffers-kill-terminal):
5865 * net/browse-url.el (browse-url):
5866 * server.el (server-save-buffers-kill-terminal):
5867 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5868 Prefer nil to selected-frame for the first arg of frame-parameter.
5870 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5872 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5874 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5876 * minibuffer.el (completion--twq-all): Try and preserve each
5877 completion's case choice (bug#14907).
5879 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5881 * net/network-stream.el (open-network-stream): Mention the new
5882 :nogreeting parameter.
5883 (network-stream-open-starttls): Use the :nogreeting parameter
5886 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5888 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5889 more natural than popping.
5891 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5892 (shr-urlify): Highlight under mouse.
5894 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5896 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5898 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5900 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5903 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5904 point-min==1. Fix search string. Fix parentheses missing.
5906 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5907 assume point-min==1. Fix search string. Fix parentheses missing.
5909 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5911 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5914 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5916 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5917 initial frame is minibuffer-less. (Bug#14841)
5919 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5921 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5924 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5925 (tramp-maybe-open-connection): Use it.
5927 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5929 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5930 minimal set of parameters passed when creating a frame, because
5931 the minibuffer status of a frame cannot be changed later.
5933 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5935 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5936 replace-regexp-in-string and inadvertent omissions in previous change.
5937 (todo-filter-items): Ensure only file names are comma-separated in
5938 name of filtered items buffer.
5940 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5942 * desktop.el: Optionally force offscreen frames back onscreen.
5943 (desktop-restoring-reuses-frames): New option.
5944 (desktop--compute-pos, desktop--move-onscreen): New functions.
5945 (desktop--make-frame): Use desktop--move-onscreen.
5947 2013-07-27 Alan Mackenzie <acm@muc.de>
5949 Fontify a Java generic method as a function.
5950 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5953 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5955 * calendar/todo-mode.el: Add command to rename todo files.
5956 (todo-rename-file): New command.
5957 (todo-key-bindings-t): Add key binding for it. Change the
5958 bindings of todo-filter-regexp-items(-multifile) to use `x'
5959 instead of `r', since the latter is better suited to the new
5962 2013-07-27 Alan Mackenzie <acm@muc.de>
5964 Make Java try-with-resources statement parse properly.
5965 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5966 (c-block-stmt-1-2-key): New language constants/variables.
5967 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5968 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5969 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5970 with c-block-stmt-1-2-key.
5972 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5974 * desktop.el (desktop--make-frame): Apply most frame parameters after
5975 creating the frame to force (partially or totally) offscreen frames to
5976 be restored as such.
5978 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5980 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5983 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5985 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5986 `base' arg of backtrace-frame.
5988 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5990 * simple.el (list-processes): Doc fix.
5992 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5994 * desktop.el (desktop--select-frame):
5995 Try harder to reuse existing frames.
5997 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5999 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6000 (edebug-eval): Use backtrace-eval.
6001 (edebug--display, edebug--recursive-edit): Don't let-bind the
6002 edebug-outer-* vars that keep track of variables we locally let-bind.
6003 (edebug-outside-excursion): Don't restore outside values of locally
6005 (edebug--display): Use user-error.
6006 (cl-lexical-debug, cl-debug-env): Remove.
6008 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
6010 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6011 are restored to be sure that they are visible before deleting any
6014 2013-07-26 Matthias Meulien <orontee@gmail.com>
6016 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6017 vc-print-root-log. (Bug#14948)
6019 2013-07-26 Richard Stallman <rms@gnu.org>
6021 Add aliases for encrypting mail.
6022 * epa.el (epa-mail-aliases): New option.
6023 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6024 Bind inhibit-read-only so read-only text doesn't ruin everything.
6025 (epa-mail-default-recipients): New subroutine broken out.
6026 Handle epa-mail-aliases.
6028 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6030 Add support for lexical variables to the debugger's `e' command.
6031 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6032 vars, except for debugger-outer-match-data.
6033 (debugger-frame-number): Move check for "on a function call" from
6034 callers into it. Add `skip-base' argument.
6035 (debugger-frame, debugger-frame-clear): Simplify accordingly.
6036 (debugger-env-macro): Only reset the state stored in non-variables,
6037 i.e. current-buffer and match-data.
6038 (debugger-eval-expression): Rewrite using backtrace-eval.
6039 * subr.el (internal--called-interactively-p--get-frame): Remove.
6040 (called-interactively-p):
6041 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6042 `base' arg of backtrace-frame instead.
6044 2013-07-26 Glenn Morris <rgm@gnu.org>
6046 * align.el (align-regexp): Doc fix. (Bug#14857)
6047 (align-region): Explicit error if subexpression missing/does not match.
6049 * simple.el (global-visual-line-mode):
6050 Do not duplicate the mode lighter. (Bug#14858)
6052 2013-07-25 Martin Rudalics <rudalics@gmx.at>
6054 * window.el (display-buffer): In display-buffer bind
6055 split-window-keep-point to t, bug#14829.
6057 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6059 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
6060 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
6061 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
6062 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6064 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
6065 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
6067 2013-07-25 Glenn Morris <rgm@gnu.org>
6069 * dired-x.el (dired-mark-extension): Convert comment to doc string.
6071 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
6073 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
6074 parameter to modify-frame-parameters if the value has not changed;
6075 this is a workaround for bug#14949.
6076 (desktop--make-frame): On cl-delete-if call, check parameter name,
6079 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
6081 * vc/vc.el (vc-ignore): New function.
6083 * vc/vc-svn.el (vc-svn-ignore): New function.
6085 * vc/vc-hg.el (vc-hg-ignore): New function.
6087 * vc/vc-git.el (vc-git-ignore): New function.
6089 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
6090 (vc-dir-ignore): New function.
6092 * vc/vc-cvs.el (vc-cvs-ignore): New function.
6093 (cvs-append-to-ignore): Move here from pcvs.el.
6095 * vc/vc-bzr.el (vc-bzr-ignore): New function.
6097 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
6099 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
6101 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
6102 (desktop-restore-frames): Warn when deleting an existing frame failed.
6104 2013-07-24 Glenn Morris <rgm@gnu.org>
6106 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
6108 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
6110 * filenotify.el (file-notify-supported-p):
6111 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6114 * autorevert.el (auto-revert-use-notify):
6115 (auto-revert-notify-add-watch):
6116 * net/tramp.el (tramp-file-name-for-operation):
6117 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6118 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6119 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6120 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6121 Remove `file-notify-supported-p' entry.
6123 2013-07-24 Glenn Morris <rgm@gnu.org>
6125 * printing.el: Replace all uses of deleted ps-windows-system,
6126 ps-lp-system, ps-flatten-list with lpr- versions.
6128 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6130 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
6131 checked with memq (bug#14935).
6133 * files.el (revert-buffer-function): Use a non-nil default.
6134 (revert-buffer-preserve-modes): Declare var to
6135 provide access to the `preserve-modes' argument.
6136 (revert-buffer): Let-bind it.
6137 (revert-buffer--default): New function, extracted from revert-buffer.
6139 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
6141 * lpr.el: Signal print errors more prominently.
6142 (print-region-function): Don't default to nil.
6143 (lpr-print-region): New function, extracted from print-region-1.
6144 Check lpr's return value and signal an error in case of problem.
6145 (print-region-1): Use it.
6146 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
6148 (ps-printer-name): Default to nil.
6149 (ps-printer-name-option): Default to lpr-printer-switch.
6150 (ps-print-region-function): Don't default to nil.
6151 (ps-postscript-code-directory): Simplify default.
6152 (ps-do-despool): Use lpr-print-region to properly check the outcome.
6153 (ps-string-list, ps-eval-switch, ps-flatten-list)
6154 (ps-flatten-list-1): Remove.
6155 (ps-multibyte-buffer): Avoid setq.
6156 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
6157 (print-region-function, ps-print-region-function): Don't set them here.
6159 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
6161 * ido.el (ido-fractionp):
6162 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
6163 (ido-max-file-prompt-width, ido-unc-hosts-cache)
6164 (ido-max-directory-size, ido-max-dir-file-cache)
6165 (ido-decorations): Doc fix.
6167 * ansi-color.el: Fix old URL.
6169 2013-07-23 Michael R. Mauger <michael@mauger.com>
6171 * progmodes/sql.el: Version 3.3
6172 (sql-product-alist): Improve oracle :prompt-cont-regexp.
6173 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
6174 (sql-interactive-remove-continuation-prompt): Rewrite, use
6175 functions above. Fix continuation prompt and complete output line
6177 (sql-redirect-one, sql-execute): Use `read-only-mode' on
6178 redirected output buffer.
6179 (sql-mode): Restore deleted code (Bug#13591).
6181 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6183 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
6185 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
6187 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
6189 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6190 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6191 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
6193 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
6195 * desktop.el (desktop-clear): Simplify; remove useless checks
6196 against invalid buffer names.
6197 (desktop-list*): Use cl-list*.
6198 (desktop-buffer-info, desktop-create-buffer): Simplify.
6200 2013-07-23 Leo Liu <sdl.web@gmail.com>
6202 * bookmark.el (bookmark-make-record): Restore NAME as a default
6205 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
6207 * emacs-lisp/autoload.el (autoload--setup-output): New function,
6208 extracted from autoload--insert-text.
6209 (autoload--insert-text): Remove.
6210 (autoload--print-cookie-text): New function, extracted from
6211 autoload--insert-cookie-text.
6212 (autoload--insert-cookie-text): Remove.
6213 (autoload-generate-file-autoloads): Adjust calls accordingly.
6215 * winner.el (winner-hook-installed-p): Remove.
6216 (winner-mode): Simplify accordingly.
6218 * subr.el (add-to-list): Fix compiler-macro when `append' is
6219 not constant. Don't use `cl-member' for the base case.
6221 * progmodes/subword.el: Fix boundary case (bug#13758).
6222 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
6224 (subword-backward-regexp): Make it a constant.
6225 (subword-forward-internal): Don't treat a trailing capital as the
6226 beginning of a word.
6228 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
6230 * emacs-lisp/package.el (package-menu-mode): Don't modify the
6231 global value of tabulated-list-revert-hook (bug#14930).
6233 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
6235 * desktop.el: Require 'cl-lib.
6236 (desktop-before-saving-frames-functions): New hook.
6237 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
6238 for frames being saved. Rename from desktop--save-minibuffer-frames.
6239 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
6240 Do not save frames with non-nil `desktop-dont-save' parameter.
6241 Filter out deleted frames.
6242 (desktop--find-frame): Use cl-find-if.
6243 (desktop--select-frame): Use cl-(first|second|third) to access values
6245 (desktop--make-frame): Use cl-delete-if.
6246 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
6247 (desktop-restore-frames): Use cl-(first|second|third) to access values
6248 of desktop-mini. Look for visible frame at the end, not while
6251 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
6252 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
6253 Use string-match-p, looking-at-p (bug#14927).
6255 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
6257 * desktop.el (desktop-saved-frame-states):
6258 Rename from desktop--saved-states; all users changed.
6259 (desktop-save-frames): Rename from desktop--save-frames.
6260 Do not save state to desktop file.
6261 (desktop-save): Save desktop-saved-frame-states to desktop file
6263 (desktop-restoring-frames-p): New function.
6264 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
6265 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
6266 buffer-lists when restoring frames. Suggested by Martin Rudalics.
6268 * desktop.el: Correctly restore iconified frames.
6269 (desktop--filter-iconified-position): New function.
6270 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
6272 2013-07-20 Glenn Morris <rgm@gnu.org>
6274 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
6275 Let `message' do the formatting.
6276 (def-gdb-preempt-display-buffer): Add explicit format.
6278 * image-dired.el (image-dired-track-original-file):
6279 Use with-current-buffer.
6280 (image-dired-track-thumbnail): Use with-current-buffer.
6281 Avoid changing point of wrong window.
6283 * image-dired.el (image-dired-track-original-file):
6284 Avoid changing point of wrong window. (Bug#14909)
6286 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6288 * progmodes/gdb-mi.el (gdb-done-or-error):
6289 Guard against "%" in gdb output. (Bug#14127)
6291 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6293 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6296 * international/mule.el (coding-system-iso-2022-flags): Fix last
6299 2013-07-20 Kenichi Handa <handa@gnu.org>
6301 * international/mule.el (coding-system-iso-2022-flags):
6302 Add `8-bit-level-4'. (Bug#8522)
6304 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6306 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6309 * net/eww.el (eww-process-text-input): Allow inputting when the
6310 point is at the start of the line, as the properties aren't
6313 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6316 2013-07-19 Richard Stallman <rms@gnu.org>
6318 * epa.el (epa-popup-info-window): Doc fix.
6320 * subr.el (split-string): New arg TRIM.
6322 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6324 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6325 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6327 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6329 * filenotify.el (file-notify--library): Rename from
6330 `file-notify-support'. Do not autoload. Adapt all uses.
6331 (file-notify-supported-p): New defun.
6333 * autorevert.el (auto-revert-use-notify):
6334 Use `file-notify-supported-p' instead of `file-notify-support'.
6336 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6338 * net/tramp.el (tramp-file-name-for-operation):
6339 Add `file-notify-supported-p'.
6341 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6343 (tramp-sh-file-name-handler-alist): Add it as handler for
6344 `file-notify-supported-p '.
6346 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6347 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6348 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6349 Add `ignore' as handler for `file-notify-*' functions.
6351 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6353 * simple.el (line-move-partial, line-move): Don't start vscroll or
6354 scroll-up if the current line is not taller than the window.
6357 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6359 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6360 highlight question marks in the method names as strings.
6361 (ruby-block-beg-keywords): Inline.
6362 (ruby-font-lock-keyword-beg-re): Extract from
6363 `ruby-font-lock-keywords'.
6365 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6367 * frame.el (blink-cursor-blinks): New defcustom.
6368 (blink-cursor-blinks-done): New defvar.
6369 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6370 (blink-cursor-timer-function): Check if number of blinks has been
6372 (blink-cursor-suspend, blink-cursor-check): New defuns.
6374 2013-07-15 Glenn Morris <rgm@gnu.org>
6376 * edmacro.el (edmacro-format-keys): Fix previous change.
6378 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6380 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6381 The hack didn't work outside English locales anyway.
6383 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6385 * simple.el (define-alternatives): Rename from alternatives-define,
6386 per RMS' suggestion.
6388 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6390 * desktop.el (desktop-restore-frames): Change default to t.
6391 (desktop-restore-in-current-display): Now offer more options.
6392 (desktop-restoring-reuses-frames): New customization option.
6393 (desktop--saved-states): Doc fix.
6394 (desktop-filter-parameters-alist): New variable, renamed and expanded
6395 from desktop--excluded-frame-parameters.
6396 (desktop--target-display): New variable.
6397 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6398 (desktop--filter-tty*, desktop--filter-*-color)
6399 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6400 (desktop--filter-save-desktop-parm)
6401 (desktop-restore-in-original-display-p): New functions.
6402 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6403 (desktop--save-minibuffer-frames): New function, inspired by a similar
6404 function from Martin Rudalics.
6405 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6406 (desktop--restore-in-this-display-p): Remove.
6407 (desktop--find-frame): Rename from desktop--find-frame-in-display
6408 and add predicate argument.
6409 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6410 (desktop--reuse-list): New variable.
6411 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6413 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6415 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6417 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6419 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6421 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6422 Highlight conversion methods on Kernel.
6424 2013-07-13 Alan Mackenzie <acm@muc.de>
6426 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6427 and comment it out. This out-commenting enables certain C++
6428 declarations to be parsed correctly.
6430 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6432 * international/mule.el (define-coding-system): Doc fix.
6434 * simple.el (default-font-height): Don't call font-info if the
6435 frame's default font didn't change since the frame was created.
6438 2013-07-13 Leo Liu <sdl.web@gmail.com>
6440 * ido.el (ido-read-file-name): Guard against non-symbol value.
6442 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6444 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6447 2013-07-13 Leo Liu <sdl.web@gmail.com>
6449 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6450 ido-set-matches call. (Bug#6852)
6452 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6454 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6455 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6457 (ruby-font-lock-keywords): Distinguish calls to functions with
6458 module-like names from module references. Highlight character
6461 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6463 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6464 (gdb-send): Handle continued commands. (Bug#14847)
6466 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6468 * desktop.el (desktop--v2s): Remove unused local variable.
6469 (desktop-save-buffer): Make defvar-local; adjust docstring.
6470 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6471 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6473 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6475 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6477 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6479 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6482 2013-07-12 Glenn Morris <rgm@gnu.org>
6484 * doc-view.el: Require cl-lib at runtime too.
6485 (doc-view-remove-if): Remove.
6486 (doc-view-search-next-match, doc-view-search-previous-match):
6489 * edmacro.el: Require cl-lib at runtime too.
6490 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6491 (edmacro-mismatch, edmacro-subseq): Remove.
6493 * shadowfile.el: Require cl-lib.
6494 (shadow-remove-if): Remove.
6495 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6498 * wid-edit.el: Require cl-lib.
6499 (widget-choose): Use cl-remove-if.
6500 (widget-remove-if): Remove.
6502 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6503 (ebrowse-delete-if-not): Remove.
6504 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6505 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6506 Use cl-delete-if-not.
6508 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6510 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6511 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6513 2013-07-12 Leo Liu <sdl.web@gmail.com>
6515 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6517 2013-07-11 Glenn Morris <rgm@gnu.org>
6519 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6520 (edebug-gensym-index, edebug-gensym):
6521 Remove reimplementation of cl-gensym.
6522 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6524 * thumbs.el: Require cl-lib at run-time too.
6525 (thumbs-gensym-counter, thumbs-gensym):
6526 Remove reimplementation of cl-gensym.
6527 (thumbs-temp-file): Use cl-gensym.
6529 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6530 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6531 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6532 (ert--union, ert--gensym-counter, ert--gensym-counter)
6533 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6534 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6535 (ert-make-test-unbound, ert--expand-should-1)
6536 (ert--expand-should, ert--should-error-handle-error)
6537 (should-error, ert--explain-equal-rec)
6538 (ert--plist-difference-explanation, ert-select-tests)
6539 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6540 Use cl-lib functions rather than reimplementations.
6542 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6544 * net/tramp.el (tramp-methods): Extend docstring.
6545 (tramp-connection-timeout): New defcustom.
6546 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6547 (with-tramp-progress-reporter): Simplify.
6548 (tramp-process-actions): Improve messages.
6550 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6551 * net/tramp-sh.el (tramp-maybe-open-connection):
6552 Use `tramp-connection-timeout'.
6553 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6556 2013-07-11 Leo Liu <sdl.web@gmail.com>
6558 * ido.el (ido-read-file-name): Conform to the requirements of
6559 read-file-name. (Bug#11861)
6560 (ido-read-directory-name): Conform to the requirements of
6561 read-directory-name.
6563 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6565 * subr.el (delay-warning): New function.
6567 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6569 * simple.el (default-line-height): New function.
6570 (line-move-partial, line-move): Use it instead of computing the
6572 (line-move-partial): Always compute ROWH. If the last line is
6573 partially-visible, but its text is completely visible, allow
6574 cursor to enter such a partially-visible line.
6576 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6578 Improve error messages. (Bug#14808)
6580 * net/tramp.el (tramp-current-connection): New defvar, moved from
6582 (tramp-message-show-progress-reporter-message): Remove, not
6584 (tramp-error-with-buffer): Show message in minibuffer.
6585 Discard input before waiting. Reset connection timestamp.
6586 (with-tramp-progress-reporter): Improve messages.
6587 (tramp-process-actions): Use progress reporter. Delete process in
6588 case of error. Improve messages.
6590 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6591 Call `tramp-error-with-buffer' with vector and buffer.
6592 (tramp-current-connection): Remove.
6593 (tramp-maybe-open-connection): The car of
6594 `tramp-current-connection' are the first 3 slots of the vector.
6596 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6598 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6599 inside continued strings.
6601 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6603 Timestamp fixes for undo (Bug#14824).
6604 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6606 2013-07-10 Leo Liu <sdl.web@gmail.com>
6608 * files.el (require-final-newline): Allow safe local value.
6611 2013-07-09 Leo Liu <sdl.web@gmail.com>
6613 * ido.el (ido-read-directory-name): Handle fallback.
6614 (ido-read-file-name): Update DIR to ido-current-directory.
6616 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6618 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6620 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6621 "autoload". Remove "warn lower camel case" section, previously
6622 commented out. Highlight negation char. Do not highlight the
6623 target in singleton method definitions.
6625 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6627 * faces.el (tty-setup-hook): Declare the hook.
6629 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6630 and detect when a guard/pred depends on local vars (bug#14773).
6631 (pcase--u1): Adjust caller.
6633 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6635 * simple.el (line-move-partial, line-move): Account for
6637 (line-move-partial): Avoid setting vscroll when the last
6638 partially-visible line in window is of default height.
6640 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6642 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6645 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6647 * subr.el (read-quoted-char): Remove unused local variable `char'.
6649 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6651 * ediff.el (ediff-version): Version update.
6652 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6653 (ediff-merge-with-ancestor-command, ediff-directories-command)
6654 (ediff-directories3-command, ediff-merge-directories-command)
6655 (ediff-merge-directories-with-ancestor-command): New functions.
6656 All are command-line interfaces to ediff: to facilitate calling
6657 Emacs with the appropriate ediff functions invoked.
6659 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6660 (viper-save-kill-buffer): Check if buffer is modified.
6662 * viper.el (viper-version): Version update.
6663 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6665 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6667 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6668 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6669 (viper-intercept-ESC-key): Simplify.
6670 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6671 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6672 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6673 (viper-setup-ESC-to-escape): New functions.
6674 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6675 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6677 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6679 * simple.el (default-font-height, window-screen-lines):
6681 (line-move, line-move-partial): Use them instead of
6682 frame-char-height and window-text-height. This makes scrolling
6683 text smoother when the buffer's default face uses a font that is
6684 different from the frame's default font.
6686 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6688 * files.el (write-file): Do not display confirm dialog for NS,
6689 it does its own dialog, which can't be cancelled (Bug#14578).
6691 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6693 * simple.el (line-move-partial): Adjust the row returned by
6694 posn-at-point for the current window-vscroll. (Bug#14567)
6696 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6698 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6699 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6702 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6704 * window.el (window-state-put-stale-windows): New variable.
6705 (window--state-put-2): Save list of windows without matching buffer.
6706 (window-state-put): Remove "bufferless" windows if possible.
6708 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6710 * simple.el (alternatives-define): Remove leftover :group keyword.
6713 2013-07-06 Leo Liu <sdl.web@gmail.com>
6715 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6716 (ido-enable-virtual-buffers): New variable.
6717 (ido-buffer-internal, ido-toggle-virtual-buffers)
6718 (ido-make-buffer-list): Use it.
6719 (ido-exhibit): Support turning on and off virtual buffers
6722 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6724 * simple.el (alternatives-define): New macro.
6726 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6728 * subr.el (read-quoted-char): Use read-key.
6729 (sit-for): Let read-event decode tty input (bug#14782).
6731 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6733 * calendar/todo-mode.el: Add handling of file deletion, both by
6734 mode command and externally. Fix various related bugs.
6735 Clarify Commentary and improve some documentation strings and code.
6736 (todo-delete-file): New command.
6737 (todo-check-file): New function.
6738 (todo-show): Handle external deletion of the file we're trying to
6739 show (bug#14688). Replace called-interactively-p by an optional
6740 prefix argument to avoid problematic interaction with catch form
6741 when byte compiled (bug#14702).
6742 (todo-quit): Handle external deletion of the archive's todo file.
6743 Make sure the buffer that was visiting the archive file is still
6744 live before trying to bury it.
6745 (todo-category-completions): Handle external deletion of any
6746 category completion files.
6747 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6748 of todo files, in case of external deletion.
6749 (todo-add-file): Replace unnecessary setq by let-binding.
6750 (todo-find-archive): Check whether there are any archives.
6751 Replace unnecessary setq by let-binding.
6752 (todo-archive-done-item): Use find-file-noselect to get the
6753 archive buffer whether or not the archive already exists.
6754 Remove superfluous code. Use file size instead of buffer-file-name to
6755 check if the archive is new; if it is, update list of archives.
6756 (todo-default-todo-file): Allow nil to be a valid value for when
6757 there are no todo files.
6758 (todo-reevaluate-default-file-defcustom): Use corrected definition
6759 of todo-default-todo-file.
6760 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6761 (todo-delete-category, todo-show-categories-table)
6762 (todo-category-number): Clarify comment.
6763 (todo-filter-items): Clarify documentation string.
6764 (todo-show-current-file, todo-display-as-todo-file)
6765 (todo-reset-and-enable-done-separator): Tweak documentation string.
6766 (todo-done-separator): Make separator length window-width, since
6767 bug#2749 is now fixed.
6769 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6771 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6772 Support both "gvfs-monitor-dir" and "inotifywait".
6773 (tramp-sh-file-inotifywait-process-filter): Rename from
6774 `tramp-sh-file-notify-process-filter'.
6775 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6776 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6778 2013-07-05 Leo Liu <sdl.web@gmail.com>
6780 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6782 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6784 * frame.el (display-pixel-height, display-pixel-width)
6785 (display-mm-height, display-mm-width): Mention behavior on
6786 multi-monitor setups in docstrings.
6787 (w32-display-monitor-attributes-list): Declare function.
6788 (display-monitor-attributes-list): Use it.
6790 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6792 * filenotify.el: New package.
6794 * autorevert.el (top): Require filenotify.el.
6795 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6797 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6798 (auto-revert-notify-handler): Use `file-notify-*' functions.
6800 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6802 * net/tramp.el (tramp-file-name-for-operation):
6803 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6805 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6806 for `file-notify-add-watch' and `file-notify-rm-watch'.
6807 (tramp-process-sentinel): Improve trace.
6808 (tramp-sh-handle-file-notify-add-watch)
6809 (tramp-sh-file-notify-process-filter)
6810 (tramp-sh-handle-file-notify-rm-watch)
6811 (tramp-get-remote-inotifywait): New defuns.
6813 2013-07-03 Juri Linkov <juri@jurta.org>
6815 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6816 call of `occur-read-primary-args' to interactive spec.
6818 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6819 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6821 2013-07-03 Matthias Meulien <orontee@gmail.com>
6823 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6824 `Buffer-menu-multi-occur'. Add it to the menu.
6825 (Buffer-menu-mode): Document it in docstring.
6826 (Buffer-menu-multi-occur): New command. (Bug#14673)
6828 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6830 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6831 keywords and built-ins.
6833 2013-07-03 Glenn Morris <rgm@gnu.org>
6835 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6837 Make info-xref checks case-sensitive by default
6838 * info.el (Info-find-node, Info-find-in-tag-table)
6839 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6840 Add option for exact case matching of nodes.
6841 * info-xref.el (info-xref): New custom group.
6842 (info-xref-case-fold): New option.
6843 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6845 2013-07-03 Leo Liu <sdl.web@gmail.com>
6847 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6849 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6851 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6852 middle of block statement initially, lower the depth. Remove
6853 FIXME comment, not longer valid. Remove middle of block statement
6854 detection, no need to do that anymore since we've been using
6855 `ruby-parse-region' here.
6857 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6859 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6861 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6863 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6865 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6867 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6868 (desktop-restore-in-current-display): New customization option.
6869 (desktop--excluded-frame-parameters): Add `font'.
6870 (desktop--save-frames): Rename from desktop--save-windows.
6871 (desktop--restore-in-this-display-p): New function.
6872 (desktop--make-full-frame): Remove unwanted width/height from
6873 full(width|height) frames.
6874 (desktop--restore-frames): Rename from desktop--restore-windows.
6875 Obey desktop-restore-current-display. Do not delete old frames or
6876 select a new frame unless we were able to restore at least one frame.
6878 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6880 * files.el (find-file-noselect): Simplify conditional expression.
6882 * remember.el (remember-append-to-file):
6883 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6885 Add `remember-notes' function to store random notes across Emacs
6887 * remember.el (remember-data-file): Add :set callback to affect
6888 notes buffer (if any).
6889 (remember-notes): New command.
6890 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6891 New defcustoms for the `remember-notes' function.
6892 (remember-notes-save-and-bury-buffer): New command.
6893 (remember-notes-mode-map): New variable.
6894 (remember-mode): New minor mode.
6895 (remember-notes--kill-buffer-query): New function.
6896 * startup.el (initial-buffer-choice): Add notes to custom type.
6898 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6900 * bindings.el (right-char, left-char): Don't call sit-for, this is
6901 no longer needed. Use arithmetic comparison only for numerical
6904 * international/mule-cmds.el (select-safe-coding-system):
6905 Handle the case of FROM being a string correctly. (Bug#14755)
6907 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6909 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6910 progression on degenerate tables.
6911 (shr-rescale-image): ImageMagick animated images currently don't work.
6913 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6915 Some fixes and improvements for desktop frame restoration.
6916 It is still experimental and disabled by default.
6917 * desktop.el (desktop--save-windows): Put the selected frame at
6918 the head of the list.
6919 (desktop--make-full-frame): New function.
6920 (desktop--restore-windows): Try to re-select the frame that was
6921 selected upon saving. Do not abort if some frames fail to restore,
6922 just show an error message and continue. Set up maximized frames
6923 so they have default non-maximized dimensions.
6925 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6927 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6928 Don't start heredoc inside a string or comment.
6930 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6932 * bindings.el (visual-order-cursor-movement): New defcustom.
6933 (right-char, left-char): Provide visual-order cursor motion by
6934 calling move-point-visually. Update the doc strings.
6936 2013-06-28 Kenichi Handa <handa@gnu.org>
6938 * international/mule.el (define-coding-system): New coding system
6939 properties :inhibit-null-byte-detection,
6940 :inhibit-iso-escape-detection, and :prefer-utf-8.
6941 (set-buffer-file-coding-system): If :charset-list property of
6942 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6943 appropriate for setting.
6945 * international/mule-cmds.el (select-safe-coding-system):
6946 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6947 multibyte characters, return utf-8 (or one of its siblings).
6949 * international/mule-conf.el (prefer-utf-8): New coding system.
6950 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6953 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6955 * net/shr.el (shr-render-region): New function.
6957 * net/eww.el: Autoload `eww-browse-url'.
6959 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6961 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6962 Adapt to `package-desc-version' being a list.
6963 Use `package--ac-desc-version' to retrieve version from a package
6966 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6968 New experimental feature to save&restore window and frame setup.
6969 * desktop.el (desktop-save-windows): New defcustom.
6970 (desktop--saved-states): New var.
6971 (desktop--excluded-frame-parameters): New defconst.
6972 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6973 (desktop--restore-windows, desktop--save-windows): New functions.
6974 (desktop-save): Call `desktop--save-windows'.
6975 (desktop-read): Call `desktop--restore-windows'.
6977 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6979 * net/shr.el (add-face-text-property): Remove compat definition.
6981 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6983 * info.el (Info-try-follow-nearest-node): Move search for footnote
6984 above search for node name to prevent missing a footnote (bug#14717).
6986 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6988 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6990 2013-06-27 Leo Liu <sdl.web@gmail.com>
6992 * net/eww.el (eww-read-bookmarks): Check file size.
6994 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6996 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6997 advice--pending if newdef is nil or an autoload (bug#13820).
6998 (advice-mapc): New function.
7000 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
7002 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7004 (eww-mode-map): Add a menu bar.
7005 (eww-add-bookmark): New command.
7006 (eww-bookmark-mode): New mode and commands.
7007 (eww-add-bookmark): Remove newlines from the title.
7008 (eww-bookmark-browse): Don't bug out if it's the only window.
7010 2013-06-26 Glenn Morris <rgm@gnu.org>
7012 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7013 (hfy-size): Handle ttys. (Bug#14668)
7015 * info-xref.el: Update for Texinfo 5 change in *note format.
7016 (info-xref-node-re, info-xref-note-re): New constants.
7017 (info-xref-check-buffer): Use info-xref-note-re.
7019 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
7021 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7023 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7024 nil terminate the loop (bug#14718).
7026 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7028 * net/eww.el: Rework history traversal. When going forward/back,
7029 put these actions into the history, too, so that they can be
7031 (eww-render): Move the history reset to the correct buffer.
7033 2013-06-25 Juri Linkov <juri@jurta.org>
7035 * files-x.el (modify-dir-local-variable): Change the header comment
7036 in the file with directory local variables. (Bug#14692)
7038 * files-x.el (read-file-local-variable-value): Add `default'.
7041 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7043 * net/eww.el (eww-make-unique-file-name): Create a unique file
7044 name before saving to entering `y' accidentally asynchronously.
7046 2013-06-25 Ivan Kanis <ivan@kanis.fr>
7048 * net/eww.el (eww-download): New command and keystroke.
7050 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7052 * net/eww.el (eww-copy-page-url): Change name of command.
7054 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
7055 be more consistent with Info and dired.
7057 * net/eww.el (eww-mode-map): Ditto.
7059 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7061 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
7062 packages from archives.
7063 (package-archive-contents): Change format; include obsolete packages.
7064 (package-desc): Use `dir' to mark builtin packages.
7065 (package--from-builtin): Set the `dir' field to `builtin'.
7066 (generated-autoload-file, version-control): Declare.
7067 (package-compute-transaction): Change first arg and return value to be
7068 lists of package-descs. Adjust to new package-archive-contents format.
7069 (package--add-to-archive-contents): Adjust to new
7070 package-archive-contents format.
7071 (package-download-transaction): Arg is now a list of package-descs.
7072 (package-install): If `pkg' is a package name, pass it as
7073 a requirement, so it is subject to the usual (e.g. disabled) checks.
7074 (describe-package): Accept package-desc as well.
7075 (describe-package-1): Describe a specific package-desc. Add links to
7076 other package-descs for the same package name.
7077 (package-menu-describe-package): Pass the actual package-desc.
7078 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
7080 (package-desc-status): New function.
7081 (package-menu--refresh): New function, extracted
7082 from package-menu--generate.
7083 (package-menu--generate): Use it.
7084 (package-delete): Update package-alist.
7085 (package-menu-execute): Don't call package-initialize.
7087 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
7088 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
7089 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
7090 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
7091 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
7092 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
7094 2013-06-25 Martin Rudalics <rudalics@gmx.at>
7096 * window.el (window--state-get-1): Workaround for bug#14527.
7097 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
7099 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
7101 * net/eww.el (eww-back-url): Implement the history by stashing all
7102 the data into a list.
7103 (eww-forward-url): Allow going forward in the history, too.
7105 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
7107 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
7108 for values and use read--expression for expressions (bug#14710).
7109 (read-file-local-variable): Avoid setq.
7110 (read-file-local-variable-mode): Use minor-mode-list.
7112 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7114 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
7117 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7119 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
7120 Update imenu-support when dialect changes.
7122 2013-06-25 Leo Liu <sdl.web@gmail.com>
7124 * ido.el (ido-read-internal): Allow forward slash on windows.
7126 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7128 * net/eww.el (eww): Start of strings is \\`, not ^.
7130 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7132 * net/shr.el (shr-browse-url): Fix interactive spec.
7134 * net/eww.el (eww): Add a trailing slash to domain names.
7136 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
7138 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
7140 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
7142 * net/shr.el (shr-browse-url): Use an external browser if given a
7145 * net/eww.el (eww-external-browser): Move to shr.
7147 2013-06-24 Ivan Kanis <ivan@kanis.fr>
7149 * net/eww.el (eww): Work more correctly for file: URLs.
7150 (eww-detect-charset): Allow quoted charsets.
7151 (eww-yank-page-url): New command and keystroke.
7153 2013-06-24 Daiki Ueno <ueno@gnu.org>
7155 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
7156 file name of gpg executable.
7157 (epg-context-program): New function.
7158 (epg-context-home-directory): New function.
7159 (epg-context-set-program): New function.
7160 (epg-context-set-home-directory): New function.
7161 (epg--start): Use `epg-context-program' instead of
7163 (epg--list-keys-1): Likewise.
7165 2013-06-24 Leo Liu <sdl.web@gmail.com>
7167 * ido.el (ido-read-internal): Fix bug#14620.
7169 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7171 * faces.el (face-documentation): Simplify.
7172 (read-face-attribute, tty-find-type, x-resolve-font-name):
7173 Use `string-match-p'.
7174 (list-faces-display): Use `string-match-p'. Simplify.
7175 (face-spec-recalc): Check face to avoid face alias loops.
7176 (read-color): Use `string-match-p' and non-capturing parenthesis.
7178 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7180 * net/shr.el (shr-rescale-image): Use the new
7181 :max-width/:max-height functionality.
7183 2013-06-23 Ivan Kanis <ivan@kanis.fr>
7185 * net/eww.el (eww-search-prefix): New variable.
7187 (eww-external-browser): New variable.
7188 (eww-mode-map): New keystroke.
7189 (eww-browse-with-external-browser): New command.
7191 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
7193 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
7195 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7196 Don't skip aligning the next header field when padding is 0;
7197 otherwise, field width is not respected unless the title is as
7200 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7202 * emacs-lisp/package.el (package-el-version): Remove.
7203 (package-process-define-package): Fix inf-loop.
7204 (package-install): Allow symbols as arguments again.
7206 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7208 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
7209 add some more keyword-like methods.
7210 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
7212 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
7214 * bs.el (bs-buffer-show-mark): Make defvar-local.
7215 (bs-mode): Use setq-local.
7217 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
7218 (emacs-lock--try-unlocking): Make defvar-local.
7220 2013-06-22 Glenn Morris <rgm@gnu.org>
7222 * play/cookie1.el (cookie-apropos): Minor simplification.
7224 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
7226 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
7228 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
7229 `regexp-opt', it breaks the build during dumping.
7231 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
7233 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7234 Highlight keyword-like methods on Kernel and Module with
7235 font-lock-builtin-face.
7236 (auto-mode-alist): Consolidate different entries into one regexp
7237 and add more *file-s.
7239 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
7241 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
7243 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
7244 (diary-entry): Use it in the action of this button type instead of
7247 * calendar/todo-mode.el: New version.
7248 (todo-add-category): Append new category to end of file and give
7249 it the highest number, instead of putting it at the beginning and
7250 giving it 0. Incorporate noninteractive functionality.
7251 (todo-forward-category): Adapt to 1-based category numbering.
7252 Allow skipping over archived categories.
7253 (todo-backward-category): Derive from todo-forward-category.
7254 (todo-backward-item, todo-forward-item): Make noninteractive and
7255 delegate interactive part to new commands. Make sensitive to done items.
7256 (todo-categories): Make value an alist of category names and
7257 vectors of item counts.
7258 (todo-category-beg): Make a defconst.
7259 (todo-category-number): Use 1 instead of 0 as initial value.
7260 (todo-category-select): Make sensitive to overlays, optional item
7261 highlighting and done items.
7262 (todo-delete-item): Make sensitive to overlays and marked and done items.
7263 (todo-edit-item): Make sensitive to overlays and editing of
7264 date/time header optional. Add format checks.
7265 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
7266 no-op if point is not on an item. Advertise using todo-edit-quit.
7267 (todo-edit-mode): Make sensitive to new format, font-locking, and
7268 multiple todo files.
7269 (todo-insert-item, todo-insert-item-here): Derive from
7270 todo-basic-insert-item and extend functionality.
7271 (todo-item-end, todo-item-start): Make sensitive to done items.
7272 (todo-item-string): Don't return text properties. Restore point.
7273 (todo-jump-to-category): Make sensitive to multiple todo files and
7274 todo archives. Use extended category completion.
7275 (todo-lower-item, todo-raise-item): Rename to *-priority and
7276 derive from todo-set-item-priority.
7277 (todo-mode): Derive from special-mode. Make sensitive to new
7278 format, font-locking and multiple todo files. Make read-only.
7279 (todo-mode-map): Don't suppress digit keys, so they can supply
7280 prefix arguments. Add many new key bindings.
7281 (todo-prefix): Insert as an overlay instead of file text.
7282 Change semantics from diary date expression to purely visual mark.
7283 (todo-print): Rename to todo-print-buffer. Make buffer display
7284 features printable. Remove option to restrict number of items
7285 printed. Add option to print to file.
7286 (todo-print-function): Rename to todo-print-buffer-function.
7287 (todo-quit): Extend to handle exiting new todo modes.
7288 (todo-remove-item): Make sensitive to overlays.
7289 (todo-save): Extend to buffers of filtered items.
7290 (todo-show): Make sensitive to done items, multiple todo files and
7291 new todo modes. Offer to convert legacy todo file before creating
7292 first new todo file.
7293 (todo-show-priorities): Rename to todo-top-priorities.
7294 Change semantics of value 0.
7295 (todo-top-priorities): Rename to todo-filter-top-priorities,
7296 derive from todo-filter-items and extend functionality.
7297 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7298 and extend functionality to other types of filtered items.
7299 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7300 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7301 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7302 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7303 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7304 (todo-edit-mode-hook, todo-entry-prefix-function)
7305 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7306 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7307 (todo-initials, todo-insert-threshold, todo-item-string-start)
7308 (todo-line-string, todo-menu, todo-mode-hook)
7309 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7310 (todo-print-priorities, todo-remove-separator)
7311 (todo-save-top-priorities-too, todo-string-count-lines)
7312 (todo-string-multiline-p, todo-time-string-format)
7313 (todo-tmp-buffer-name): Remove.
7314 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7315 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7316 (todo-edit-category-diary-inclusion)
7317 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7318 (todo-edit-file, todo-edit-item-date-day)
7319 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7320 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7321 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7322 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7323 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7324 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7325 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7326 (todo-filter-top-priorities-multifile, todo-find-archive)
7327 (todo-find-filtered-items-file, todo-go-to-source-item)
7328 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7329 (todo-jump-to-archive-category, todo-lower-category)
7330 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7331 (todo-move-category, todo-move-item, todo-next-button)
7332 (todo-next-item, todo-padded-string, todo-powerset)
7333 (todo-previous-button, todo-previous-item)
7334 (todo-print-buffer-to-file, todo-raise-category)
7335 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7336 (todo-set-category-number, todo-set-item-priority)
7337 (todo-set-top-priorities-in-category)
7338 (todo-set-top-priorities-in-file, todo-show-categories-table)
7339 (todo-sort-categories-alphabetically-or-numerically)
7340 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7341 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7342 (todo-toggle-item-header, todo-toggle-item-highlighting)
7343 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7344 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7345 (todo-unarchive-items, todo-unmark-category): New commands.
7346 (todo-absolute-file-name, todo-add-to-buffer-list)
7347 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7348 (todo-basic-insert-item, todo-category-completions)
7349 (todo-category-number, todo-category-string-matcher-1)
7350 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7351 (todo-check-format, todo-clear-matches)
7352 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7353 (todo-current-category, todo-date-string-matcher)
7354 (todo-define-insertion-command, todo-diary-expired-matcher)
7355 (todo-diary-goto-entry, todo-diary-item-p)
7356 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7357 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7358 (todo-done-item-section-p, todo-done-separator)
7359 (todo-done-string-matcher, todo-files, todo-filter-items)
7360 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7361 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7362 (todo-insert-category-line, todo-insert-item-from-calendar)
7363 (todo-insert-sort-button, todo-insert-with-overlays)
7364 (todo-insertion-command-name, todo-insertion-key-bindings)
7365 (todo-label-to-key, todo-longest-category-name-length)
7366 (todo-make-categories-list, todo-mode-external-set)
7367 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7368 (todo-modes-set-3, todo-multiple-filter-files)
7369 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7370 (todo-read-category, todo-read-date, todo-read-dayname)
7371 (todo-read-file-name, todo-read-time)
7372 (todo-reevaluate-category-completions-files-defcustom)
7373 (todo-reevaluate-default-file-defcustom)
7374 (todo-reevaluate-filelist-defcustoms)
7375 (todo-reevaluate-filter-files-defcustom)
7376 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7377 (todo-reset-done-separator, todo-reset-done-separator-string)
7378 (todo-reset-done-string, todo-reset-global-current-todo-file)
7379 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7380 (todo-reset-prefix, todo-set-categories)
7381 (todo-set-date-from-calendar, todo-set-show-current-file)
7382 (todo-set-top-priorities, todo-short-file-name)
7383 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7384 (todo-total-item-counts, todo-update-buffer-list)
7385 (todo-update-categories-display, todo-update-categories-sexp)
7386 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7388 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7390 (todo-categories, todo-display, todo-edit, todo-faces)
7391 (todo-filtered): New defgroups.
7392 (todo-archived-only, todo-button, todo-category-string, todo-date)
7393 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7394 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7395 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7396 (todo-add-item-if-new-category, todo-always-add-time-string)
7397 (todo-categories-align, todo-categories-archived-label)
7398 (todo-categories-category-label, todo-categories-diary-label)
7399 (todo-categories-done-label, todo-categories-number-separator)
7400 (todo-categories-todo-label, todo-categories-totals-label)
7401 (todo-category-completions-files, todo-completion-ignore-case)
7402 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7403 (todo-done-separator-string, todo-done-string)
7404 (todo-files-function, todo-filter-done-items, todo-filter-files)
7405 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7406 (todo-initial-category, todo-initial-file, todo-item-mark)
7407 (todo-legacy-date-time-regexp, todo-mode-line-function)
7408 (todo-nondiary-marker, todo-number-prefix)
7409 (todo-print-buffer-function, todo-show-current-file)
7410 (todo-show-done-only, todo-show-first, todo-show-with-done)
7411 (todo-skip-archived-categories, todo-top-priorities-overrides)
7412 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7413 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7415 (todo-category-done, todo-date-pattern, todo-date-string-start)
7416 (todo-diary-items-buffer, todo-done-string-start)
7417 (todo-filtered-items-buffer, todo-item-start)
7418 (todo-month-abbrev-array, todo-month-name-array)
7419 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7420 (todo-top-priorities-buffer): New defconsts.
7421 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7422 (todo-categories-with-marks, todo-category-string-face)
7423 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7424 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7425 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7426 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7427 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7428 (todo-font-lock-keywords, todo-global-current-todo-file)
7429 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7430 (todo-insertion-commands-args)
7431 (todo-insertion-commands-args-genlist)
7432 (todo-insertion-commands-names, todo-insertion-map)
7433 (todo-key-bindings-t, todo-key-bindings-t+a)
7434 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7435 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7436 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7437 (todo-visited): New variables.
7439 2013-06-21 Glenn Morris <rgm@gnu.org>
7441 * play/cookie1.el (cookie-apropos): Add optional display argument.
7442 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7443 (psychoanalyze-pinhead): Use cookie-doctor.
7445 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7447 * emacs-lisp/package.el (tar-get-file-descriptor)
7448 (tar--extract): Declare.
7450 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7452 Extend flymake's warning predicate to be a function (bug#14217).
7453 * progmodes/flymake.el (flymake-warning-predicate): New.
7454 (flymake-parse-line): Use it.
7455 (flymake-warning-re): Make obsolete alias to
7456 `flymake-warning-predicate'.
7458 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7460 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7461 (package-obsolete-list): Remove.
7462 (package-activate): Remove min-version argument. Add `force' argument.
7463 Adjust to new package-alist format.
7464 (package-mark-obsolete): Remove.
7465 (package-unpack): Force reload of the package's autoloads.
7466 (package-installed-p): Check builtins if the installed package is not
7468 (package-initialize): Don't reset package-obsolete-list.
7469 Don't specify which package version to activate.
7470 (package-process-define-package, describe-package-1)
7471 (package-menu--generate): Adjust to new package-alist format.
7473 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7475 * allout-widgets.el (allout-widgets-mode-off)
7476 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7477 (allout-widgets-post-command-business)
7478 (allout-widgets-after-copy-or-kill-function)
7479 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7480 (allout-decorate-item-and-context)
7481 (allout-graphics-modification-handler): Fix typos in docstrings.
7482 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7484 * cmuscheme.el (scheme-start-file): Doc fix.
7485 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7486 (scheme-input-filter): Use `string-match-p'.
7488 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7490 * dired-x.el: Use Dired consistently in docstrings.
7492 * dired.el: Use Dired consistently in docstrings.
7493 (dired-readin, dired-mode): Use `setq-local'.
7494 (dired-switches-alist): Make defvar-local.
7495 (dired-buffers-for-dir): Use `zerop'.
7496 (dired-safe-switches-p, dired-switches-escape-p)
7497 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7498 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7499 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7500 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7501 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7502 (dired-toggle-marks, dired-mark-files-containing-regexp)
7503 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7504 (dired-flag-auto-save-files, dired-flag-backup-files):
7506 (dired-mark-files-regexp, dired-build-subdir-alist):
7507 Use `string-match-p', `looking-at-p'.
7509 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7510 (direct-print-region-helper): Use `string-match-p'.
7512 2013-06-21 Leo Liu <sdl.web@gmail.com>
7514 * comint.el (comint-redirect-results-list-from-process):
7517 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7519 * net/eww.el (eww-update-header-line-format): Quote % characters.
7521 2013-06-21 Glenn Morris <rgm@gnu.org>
7523 * play/cookie1.el (cookie): New custom group.
7524 (cookie-file): New option.
7525 (cookie-check-file): New function.
7526 (cookie): Make it interactive. Make start and end messages optional.
7527 Interactively, display the result. Default to cookie-file.
7528 (cookie-insert): Default to cookie-file.
7529 (cookie-snarf): Make start and end messages optional.
7530 Default to cookie-file. Use with-temp-buffer.
7531 (cookie-read): Rename from read-cookie.
7532 Make start and end messages optional. Default to cookie-file.
7533 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7535 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7536 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7538 2013-06-21 Leo Liu <sdl.web@gmail.com>
7540 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7542 2013-06-21 Glenn Morris <rgm@gnu.org>
7544 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7546 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7547 Daniel Hackney <dan@haxney.org>
7549 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7550 Consolidate the single-file vs tarball code.
7551 (package-desc-suffix): New function.
7552 (package-desc-full-name): Don't bother inlining it.
7553 (package-load-descriptor): Return the new package-desc.
7554 (package-mark-obsolete): Remove unused arg `package'.
7555 (package-unpack): Make it work for single files as well.
7556 Make it update package-alist.
7557 (package--make-autoloads-and-stuff): Rename from
7558 package--make-autoloads-and-compile. Don't compile any more.
7559 (package--compile): New function.
7560 (package-generate-description-file): New function, extracted from
7561 package-unpack-single.
7562 (package-unpack-single): Remove.
7563 (package--with-work-buffer): Add indentation and debugging info.
7564 (package-download-single): Remove.
7565 (package-install-from-archive): Rename from package-download-tar, make
7566 it take a pkg-desc, and make it work for single files as well.
7567 (package-download-transaction): Simplify.
7568 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7569 external tar program.
7570 (package-install-from-buffer): Remove `pkg-desc' argument.
7571 Use package-tar-file-info for tar-mode buffers.
7572 (package-install-file): Simplify accordingly.
7573 (package-archive-base): Change to take a pkg-desc.
7574 * tar-mode.el (tar--check-descriptor): New function, extracted from
7576 (tar-get-descriptor): Use it.
7577 (tar-get-file-descriptor): New function.
7578 (tar--extract): New function, extracted from tar-extract.
7579 (tar--extract): Use it.
7580 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7581 case the summary uses non-ascii. Adjust to new calling convention of
7582 package-tar-file-info.
7584 2013-06-21 Leo Liu <sdl.web@gmail.com>
7586 * comint.el (comint-redirect-results-list-from-process):
7587 Fix random delay. (Bug#14681)
7589 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7591 * profiler.el (profiler-format-number): Use log, not log10.
7593 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7595 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7597 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7599 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7600 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7602 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7603 (AUTOGENEL): ... here.
7604 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7605 (cl--defsubst-expand): Use it.
7607 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7609 * subr.el (log10): Move here from C code, and declare as obsolete.
7610 All uses of (log10 X) replaced with (log X 10).
7612 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7614 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7615 Declare with `defvar-local'.
7616 (tabulated-list-use-header-line, tabulated-list-entries)
7617 (tabulated-list-padding, tabulated-list-printer)
7618 (tabulated-list-sort-key): Declare with `defvar-local'.
7619 (tabulated-list-init-header, tabulated-list-print-fake-header):
7622 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7624 * arc-mode.el (archive-mode): Add `archive-write-file' to
7625 `write-contents-functions' also for remote files. (Bug#14652)
7627 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7629 * cus-edit.el (custom-commands): Fix typos.
7630 (custom-display): Fix tooltip text.
7631 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7632 Fix typos in docstrings.
7633 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7634 (custom-unlispify-menu-entry, custom-magic-value-create)
7635 (custom-add-see-also, custom-group-value-create): Use ?\s.
7636 (custom-guess-type, customize-apropos, editable-field)
7637 (custom-face-value-create): Use `string-match-p'.
7638 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7640 * custom.el (custom-load-symbol): Use `string-match-p'.
7642 * ansi-color.el: Convert to lexical binding.
7643 (ansi-colors): Fix URL.
7644 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7645 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7646 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7648 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7650 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7652 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7654 2013-06-19 Tom Tromey <tromey@redhat.com>
7656 * net/eww.el (eww-top-url): Remove.
7657 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7658 (eww-render): Set new variables. Don't set eww-top-url.
7659 (eww-handle-link): Handle "prev", "home", and "contents".
7660 Downcase the rel text.
7661 (eww-top-url): Choose best top URL.
7663 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7665 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7666 relying in widget.el. Using widget.el leads to too many
7667 user interface inconsistencies.
7668 (eww-self-insert): Implement entering commands in text fields.
7669 (eww-process-text-input): New function to make text input field editing
7671 (eww-submit): Rewrite to use the new-style form methods.
7672 (eww-select-display): Display the correct selected item.
7673 (eww-change-select): Implement changing the select value.
7674 (eww-toggle-checkbox): Implement radio/checkboxes.
7675 (eww-update-field): Fix compilation error.
7676 (eww-tag-textarea): Implement <textarea>.
7678 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7679 we don't shadow mode-specific bindings.
7681 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7684 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7686 2013-06-19 Glenn Morris <rgm@gnu.org>
7688 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7690 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7692 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7695 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7697 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7699 * net/browse-url.el (browse-url-browser-function):
7700 `eww-browse-url' has the right calling signature, `eww' does not.
7702 2013-06-19 Glenn Morris <rgm@gnu.org>
7704 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7705 Only eval autoloaded macros.
7706 (byte-compile-autoload): Only give the macro warning for macros.
7708 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7709 (ps-underlined-faces): Declare.
7711 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7712 (speedbar-add-supported-extension): Declare.
7714 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7715 Don't include a date stamp in the header of the generated file;
7716 it leads to needless differences between output files.
7718 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7720 * net/secrets.el (secrets-struct-secret-content-type):
7721 Replace check of introspection data by a test call of "CreateItem".
7722 Some servers do not offer introspection.
7724 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7726 * electric.el (electric-pair-mode): Improve interaction with
7727 electric-layout-mode.
7728 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7729 (electric-pair-syntax): Use text-mode-syntax-table in comments
7731 (electric-pair--insert): New function.
7732 (electric-pair-post-self-insert-function): Use it and
7733 electric--after-char-pos.
7735 2013-06-19 Leo Liu <sdl.web@gmail.com>
7737 * progmodes/octave.el (octave-help): Fix regexp.
7739 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7741 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7742 (shr-table-horizontal-line): Allow nil as a value, and change the
7744 (shr-insert-table-ruler): Respect the nil value.
7746 2013-06-18 Tom Tromey <tromey@barimba>
7748 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7750 (eww-open-file): New defun.
7751 (eww-render): Initialize new variables.
7752 (eww-display-html): Handle "link" and "a".
7753 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7754 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7755 (eww-back-url): Rename from eww-previous-url.
7756 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7759 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7761 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7762 Distinguish ternary operator tokens from slash symbol and slash
7765 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7767 Convert symbol prettification into minor mode and global minor mode.
7769 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7770 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7771 (prettify-symbols--keywords): Rename from
7772 `prog-prettify-symbols-alist' and make a local defvar.
7773 (prettify-symbols--compose-symbol): Rename from
7774 `prog--prettify-font-lock-compose-symbol'.
7775 (prettify-symbols--make-keywords): Rename from
7776 `prog-prettify-font-lock-symbols-keywords' and simplify.
7777 (prog-prettify-install): Remove.
7778 (prettify-symbols-mode): New minor mode, based on
7779 `prog-prettify-install'.
7780 (turn-on-prettify-symbols-mode): New function.
7781 (global-prettify-symbols-mode): New globalized minor mode.
7783 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7784 * progmodes/cfengine.el (cfengine3-mode):
7785 * progmodes/perl-mode.el (perl-mode): Don't call
7786 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7788 2013-06-18 Juri Linkov <juri@jurta.org>
7790 * files-x.el (modify-file-local-variable-message): New function.
7791 (modify-file-local-variable)
7792 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7793 and call `modify-file-local-variable-message' when it's non-nil.
7794 (add-file-local-variable, delete-file-local-variable)
7795 (add-file-local-variable-prop-line)
7796 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7797 and use it. (Bug#9820)
7799 2013-06-18 Juri Linkov <juri@jurta.org>
7801 * emulation/vi.el (vi-shell-op):
7802 * emulation/vip.el (vip-execute-com, ex-command):
7803 * emulation/viper-cmd.el (viper-exec-bang):
7804 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7805 the call of `shell-command-on-region'. (Bug#14637)
7807 * simple.el (shell-command-on-region): Doc fix.
7809 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7811 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7814 2013-06-18 Glenn Morris <rgm@gnu.org>
7816 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7818 * newcomment.el (comment-search-forward, comment-search-backward):
7819 Doc fix. (Bug#14376)
7821 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7823 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7824 (buffer-face-mode-invoke): Doc fix.
7826 2013-06-18 Matthias Meulien <orontee@gmail.com>
7828 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7829 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7831 2013-06-18 Glenn Morris <rgm@gnu.org>
7833 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7834 Replace obsolete function generic-make-keywords with its expansion.
7836 * progmodes/python.el (ffap-alist): Declare.
7838 * textmodes/reftex.el (bibtex-mode-map): Declare.
7840 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7842 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7843 (package-unpack, package-unpack-single): Return the pkg-dir.
7844 (package-download-transaction): Use it to update package-alist.
7846 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7848 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7851 2013-06-17 Juri Linkov <juri@jurta.org>
7853 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7855 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7857 * emacs-lisp/package.el (package-load-descriptor):
7858 Remove `with-syntax-table' call, `read' doesn't need it.
7859 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7861 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7863 * startup.el (command-line): Expand package name returned by
7864 `package--description-file' (bug#14639).
7866 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7868 * emacs-lisp/package.el (package-load-descriptor): Do not call
7869 `emacs-lisp-mode', just use its syntax table.
7871 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7873 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7874 `font-lock-extra-managed-props' if any prettifying keyword is added.
7875 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7876 (prog-mode): Use `setq-local'.
7878 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7880 * international/characters.el (standard-case-table): Set syntax of ?»
7881 and ?« to punctuation.
7883 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7885 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7886 Save relevant match data before calling `syntax-ppss' (bug#14595).
7888 2013-06-15 Juri Linkov <juri@jurta.org>
7890 * files-x.el (modify-file-local-variable-prop-line): Add local
7891 variables to the end of the existing comment on the first line.
7892 Use `file-auto-mode-skip' to skip interpreter magic line,
7893 and also skip XML declaration.
7895 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7897 * startup.el (package--builtin-versions): New var.
7898 (package-subdirectory-regexp): Remove.
7899 (package--description-file): Hard code its value instead.
7901 * emacs-lisp/package.el: Don't activate packages older than builtin.
7902 (package-obsolete-list): Rename from package-obsolete-alist, and make
7903 it into a simple list of package-desc.
7904 (package-strip-version): Remove.
7905 (package-built-in-p): Use package--builtin-versions.
7906 (package-mark-obsolete): Simplify.
7907 (package-process-define-package): Mark it obsolete if older than the
7909 (package-handle-response): Use line-end-position.
7910 (package-read-archive-contents, package--download-one-archive):
7912 (package--add-to-archive-contents): Skip if older than the builtin or
7914 (package-menu-describe-package): Fix last change.
7915 (package-list-unversioned): New var.
7916 (package-menu--generate): Use it.
7918 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7919 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7920 (autoload-builtin-package-versions): New variable.
7921 (autoload-generate-file-autoloads): Use them.
7922 Remove the list of autoloaded functions/macros from the
7923 (autoload...) comments.
7925 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7927 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7929 * simple.el (line-move-partial): Don't jump to the next screen
7930 line as soon as it becomes visible. Instead, continue enlarging
7931 the vscroll until the portion of a tall screen line that's left on
7932 display is about the height of the frame's default font.
7935 2013-06-15 Glenn Morris <rgm@gnu.org>
7937 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7938 compilation-error-regexp-alist void, or local while let-bound.
7940 * progmodes/make-mode.el (makefile-mode-syntax-table):
7941 Treat "=" as punctuation. (Bug#14614)
7943 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7945 * help-fns.el (describe-variable):
7946 Add extra line for permanent-local variables.
7948 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7950 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7951 Add export, import, library. (Bug#9164)
7952 (library): Set indent function.
7954 2013-06-14 Glenn Morris <rgm@gnu.org>
7956 * term/xterm.el (xterm--query):
7957 Stop after first matching handler. (Bug#14615)
7959 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7961 Add support for dired in saveplace.
7962 * dired.el (dired-initial-position-hook): New variable.
7963 (dired-initial-position): Call hook to place cursor position.
7964 * saveplace.el (save-place-to-alist): Add dired position.
7965 (save-place-dired-hook): New function.
7967 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7969 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7970 through a symbol rather than letrec.
7972 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7973 (package-desc): Add `dir' field.
7974 (package-desc-full-name): New function.
7975 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7976 (package-maybe-load-descriptor): Remove.
7977 (package-load-all-descriptors): Just call package-load-descriptor.
7978 (package--disabled-p): New function.
7979 (package-desc-vers, package-desc-doc): Remove aliases.
7980 (package--dir): Remove function.
7981 (package-activate): Check if a package is disabled.
7982 (package-process-define-package): New function, extracted from
7984 (define-package): Turn into a place holder.
7985 (package-unpack-single, package-tar-file-info):
7986 Use package--description-file.
7987 (package-compute-transaction): Use package--disabled-p.
7988 (package-download-transaction): Don't call
7989 package-maybe-load-descriptor since they're all loaded anyway.
7990 (package-install): Change argument to be a pkg-desc.
7991 (package-delete): Use a single pkg-desc argument.
7992 (describe-package-1): Use package-desc-dir instead of package--dir.
7993 Use package-desc property instead of package-symbol.
7994 (package-install-button-action): Adjust accordingly.
7995 (package--push): Rewrite.
7996 (package-menu--print-info): Adjust accordingly. Change the ID format
7998 (package-menu-describe-package, package-menu-get-status)
7999 (package-menu--find-upgrades, package-menu-mark-upgrades)
8000 (package-menu-execute, package-menu--name-predicate):
8002 * startup.el (package--description-file): New function.
8003 (command-line): Use it.
8004 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8005 Use package-desc-version.
8007 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8008 (byte-compile-preprocess): Use it.
8009 (byte-compile-file-form-defalias): Try a bit harder to use macros we
8010 can't quite recognize.
8011 (byte-compile-add-to-list): Remove.
8012 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8013 (cconv-closure-convert): Add assertion.
8015 * emacs-lisp/map-ynp.el: Use lexical-binding.
8016 (map-y-or-n-p): Remove unused vars `tail' and `object'.
8017 Factor out some repeated code.
8019 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8021 * subr.el (with-eval-after-load): New macro.
8022 (eval-after-load): Allow form to be a function.
8023 take advantage of lexical-binding.
8024 (do-after-load-evaluation): Use dolist and adjust to new format.
8025 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8027 2013-06-13 Juri Linkov <juri@jurta.org>
8029 * replace.el (perform-replace): Display "symbol " and other search
8030 modes from `isearch-message-prefix' in the *Help* buffer.
8032 * isearch.el (isearch-query-replace): Add " symbol" and other
8033 possible search modes from `isearch-message-prefix' to the prompt.
8034 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8035 when reading a regexp to collect.
8037 2013-06-13 Juri Linkov <juri@jurta.org>
8039 * isearch.el (word-search-regexp): Match whitespace if the search
8040 string begins or ends in whitespace. The LAX arg is applied to
8041 both ends of the search string. Use `regexp-quote' and explicit
8042 \< and \> instead of \b. Use \` and \' instead of ^ and $.
8043 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
8044 boundaries are replaced with symbol boundaries, and characters
8045 between symbols match non-word non-symbol syntax. (Bug#14602)
8047 2013-06-13 Juri Linkov <juri@jurta.org>
8049 * isearch.el (isearch-del-char): Don't exceed the length of
8050 `isearch-string' by the prefix arg. (Bug#14563)
8052 2013-06-13 Juri Linkov <juri@jurta.org>
8054 * isearch.el (isearch-yank-word, isearch-yank-line)
8055 (isearch-char-by-name, isearch-quote-char)
8056 (isearch-printing-char, isearch-process-search-char):
8057 Add optional count prefix arg. (Bug#14563)
8059 * international/isearch-x.el
8060 (isearch-process-search-multibyte-characters):
8061 Add optional count prefix arg.
8063 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8065 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
8066 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
8069 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
8071 * subr.el (set-temporary-overlay-map): Add on-exit argument.
8073 2013-06-13 Glenn Morris <rgm@gnu.org>
8075 * startup.el (tty-handle-args):
8076 Don't just discard "--" and anything after. (Bug#14608)
8078 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
8080 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
8082 Implement changes in Secret Service API. Make it backward compatible.
8083 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
8084 (secrets-create-item): Use it. Prefix properties with interface.
8086 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
8088 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
8089 (term-emulate-terminal): Respect term-suppress-hard-newline.
8091 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
8093 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8094 Only remove a `thumb-file' overlay. (Bug#14548)
8096 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
8098 * mail/reporter.el (reporter-submit-bug-report):
8099 Handle missing package-name. (Bug#14600)
8101 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8103 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
8104 (reftex-citation-prompt, reftex-default-bibliography)
8105 (reftex-bib-or-thebib, reftex-get-bibfile-list)
8106 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
8107 (reftex-bib-sort-author, reftex-bib-sort-year)
8108 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
8109 (reftex-extract-bib-entries-from-thebibliography)
8110 (reftex-get-bibkey-default, reftex-get-bib-names)
8111 (reftex-parse-bibtex-entry, reftex-get-bib-field)
8112 (reftex-format-bib-entry, reftex-parse-bibitem)
8113 (reftex-format-bibitem, reftex-do-citation)
8114 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
8115 (reftex-restrict-bib-matches, reftex-extract-bib-file)
8116 (reftex-insert-bib-matches, reftex-format-citation)
8117 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
8118 (reftex-create-bibtex-file): Add docstrings, mostly by converting
8119 existing comments into docstrings.
8121 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8123 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
8125 2013-06-12 Andreas Schwab <schwab@suse.de>
8127 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
8128 for auto-save files.
8130 2013-06-12 Glenn Morris <rgm@gnu.org>
8132 * ido.el (ido-delete-ignored-files): Remove.
8133 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
8134 Go back to calling ido-ignore-item-p directly.
8136 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
8138 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
8140 * ido.el (ido-delete-ignored-files): New function,
8141 split from ido-make-file-list-1.
8142 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
8143 (ido-make-file-list-1): Use ido-delete-ignored-files.
8145 2013-06-12 Leo Liu <sdl.web@gmail.com>
8147 * progmodes/octave.el (inferior-octave-startup)
8148 (inferior-octave-completion-table)
8149 (inferior-octave-track-window-width-change)
8150 (octave-eldoc-function-signatures, octave-help)
8151 (octave-find-definition): Use single quoted strings.
8152 (inferior-octave-startup-args): Change default value.
8153 (inferior-octave-startup): Do not hard code "-i" and
8154 "--no-line-editing".
8155 (inferior-octave-resync-dirs): Add optional arg NOERROR.
8156 (inferior-octave-directory-tracker): Use it.
8157 (octave-goto-function-definition): Robustify.
8158 (octave-help): Support highlighting operators in 'See also'.
8159 (octave-find-definition): Find subfunctions only in Octave mode.
8161 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8163 * help-fns.el (help-fns--compiler-macro): If the handler function is
8164 named, then put a link to it.
8165 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
8166 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
8168 (cl-eval-when): Simplify debug spec.
8169 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
8170 compiler-macro function instead of setting `compiler-macro-file'.
8172 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
8174 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
8175 * vc/vc-hooks.el (vc-stay-local): Doc fix.
8177 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
8178 Daniel Hackney <dan@haxney.org>
8180 First part of Daniel Hackney's patch to package.el.
8181 * emacs-lisp/package.el: Use defstruct.
8182 (package-desc): New, main struct.
8183 (package--bi-desc, package--ac-desc): New structs, used to describe the
8184 format in external files.
8185 (package-desc-vers): Replace with package-desc-version accessor.
8186 (package-desc-doc): Replace with package-desc-summary accessor.
8187 (package-activate-1): Remove `package' arg since the pkg-vec now
8189 (define-package): Use package-desc-from-define.
8190 (package-unpack-single): Change file-name arg to be a symbol.
8191 (package--add-to-archive-contents): Use package-desc-create and new
8192 accessor functions to package--ac-desc.
8193 (package-buffer-info, package-tar-file-info): Return a package-desc.
8194 (package-install-from-buffer): Remove `type' argument. Change pkg-info
8195 arg to be a package-desc.
8196 (package-install-file): Adjust accordingly. Use \' to match EOS.
8197 (package--from-builtin): New function.
8198 (describe-package-1, package-menu--generate): Use it.
8199 (package--make-autoloads-and-compile): Change name arg to be a symbol.
8200 (package-generate-autoloads): Idem and return the name of the file.
8201 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8202 Change pkg-info arg to be a package-desc.
8203 Use package-make-ac-desc.
8204 (package-upload-file): Use \' to match EOS.
8205 * finder.el (finder-compile-keywords): Use package-make-builtin.
8207 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8209 * vc/vc.el (vc-deduce-fileset): Change error message.
8210 (vc-read-backend): New function.
8211 (vc-next-action): Use it.
8213 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
8215 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
8216 (prolog-font-lock-keywords): Use regexp-opt instead.
8217 Don't manually highlight strings.
8218 (prolog-mode-variables): Simplify comment-start-skip.
8219 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
8221 * emacs-lisp/generic.el (generic--normalise-comments)
8222 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
8223 (generic-mode-set-comments): Use them.
8224 (generic-bracket-support): Use setq-local.
8225 (generic-make-keywords-list): Declare obsolete.
8227 2013-06-11 Glenn Morris <rgm@gnu.org>
8229 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8230 Prettify after setting font-lock-defaults. (Bug#14574)
8232 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
8234 * replace.el (query-replace, occur-read-regexp-defaults-function)
8236 * subr.el (declare-function, number-sequence, local-set-key)
8237 (substitute-key-definition, locate-user-emacs-file)
8238 (with-silent-modifications, split-string, eval-after-load):
8239 Fix typos, remove unneeded backslashes and reflow some docstrings.
8241 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
8243 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
8244 default for Elisp files.
8246 2013-06-11 Glenn Morris <rgm@gnu.org>
8248 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
8249 although define-derived-mode was doing this anyway. (Bug#14583)
8251 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
8253 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8254 Fix make-variable-buffer-local call to refer to the correct variable.
8256 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
8258 * eshell/em-term.el (eshell-visual-commands)
8259 (eshell-visual-subcommands, eshell-visual-options):
8260 Add summary line to docstrings. Add cross-references.
8262 2013-06-10 Glenn Morris <rgm@gnu.org>
8264 * epa.el (epa-read-file-name): New function. (Bug#14510)
8265 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
8267 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8269 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
8270 output redirection to be ignored with visual commands.
8272 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
8274 * eshell/em-term.el (eshell-visual-command-p): New function.
8275 (eshell-term-initialize): Move long lambda to separate function
8276 eshell-visual-command-p.
8277 * eshell/em-dirs.el (eshell-dirs-initialise):
8278 * eshell/em-script.el (eshell-script-initialize):
8279 Add missing #' to lambda.
8281 2013-06-08 Leo Liu <sdl.web@gmail.com>
8283 * progmodes/octave.el (octave-add-log-current-defun): New function.
8284 (octave-mode): Set add-log-current-defun-function.
8285 (octave-goto-function-definition): Do not move point if not found.
8286 (octave-find-definition): Enhance to try subfunctions first.
8288 2013-06-08 Glenn Morris <rgm@gnu.org>
8290 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8291 (byte-compile-backward-char, byte-compile-backward-word):
8292 Improve previous change, to handle non-explicit nil.
8294 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8296 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8297 (smie--opener/closer-at-point): New function.
8298 (smie--matching-block-data): Use it. Don't match from right after an
8299 opener or right before a closer. Obey smie-blink-matching-inners.
8300 Don't signal a mismatch for repeated inners like "switch..case..case".
8302 2013-06-07 Leo Liu <sdl.web@gmail.com>
8304 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8306 (octave-function-header-regexp): Fix. (Bug#14570)
8307 (octave-help-mode-finish-hook, octave-help-mode-finish):
8308 Remove. Just use temp-buffer-show-hook.
8310 * newcomment.el (comment-search-backward): Revert last change.
8313 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8315 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8317 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8318 through xargs, to avoid failure due to MS-Windows limitations on
8319 command-line length.
8321 2013-06-06 Glenn Morris <rgm@gnu.org>
8323 * font-lock.el (lisp-font-lock-keywords-2):
8324 Treat user-error like error.
8326 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8327 (byte-compile-backward-char, byte-compile-backward-word):
8328 Handle explicit nil arguments. (Bug#14565)
8330 2013-06-05 Alan Mackenzie <acm@muc.de>
8332 * isearch.el (isearch-allow-prefix): New user option.
8333 (isearch-other-meta-char): Don't exit isearch when a prefix
8334 argument is typed whilst `isearch-allow-prefix' is non-nil.
8337 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8339 * autorevert.el (auto-revert-notify-handler): Use memq.
8340 Hide assertion failure.
8342 * skeleton.el: Use cl-lib.
8343 (skeleton-further-elements): Use defvar-local.
8344 (skeleton-insert): Use cl-progv.
8346 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8348 * progmodes/prog-mode.el (prog-prettify-symbols)
8349 (prog-prettify-install): Update docstrings.
8351 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8353 * simple.el: Move all the prog-mode code to prog-mode.el.
8354 * progmodes/prog-mode.el: New file.
8355 * loadup.el: Add prog-mode.el.
8357 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8359 * simple.el (prog-prettify-symbols): Add version.
8360 (prog-prettify-install): Add convenience function to prettify symbols.
8362 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8363 (perl--augmented-font-lock-keywords-1)
8364 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8365 variables and use it.
8367 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8368 (cfengine3-mode): Remove unneeded variable and use it.
8370 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8371 (lisp--augmented-font-lock-keywords-1)
8372 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8373 Remove unneeded variables and use it.
8375 2013-06-05 João Távora <joaotavora@gmail.com>
8377 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8378 to point when opening the connection. (Bug#14380)
8380 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8382 * subr.el (load-history-regexp, load-history-filename-element)
8383 (eval-after-load, after-load-functions, do-after-load-evaluation)
8384 (eval-next-after-load, display-delayed-warnings)
8385 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8386 definition of save-match-data.
8387 (overriding-local-map): Remove accidental obsolescence declaration.
8389 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8391 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8393 Generalize symbol prettify support to prog-mode and implement it
8394 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8395 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8396 (prog--prettify-font-lock-compose-symbol)
8397 (prog-prettify-font-lock-symbols-keywords): New variables and
8398 functions to support symbol prettification.
8399 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8400 (lisp--augmented-font-lock-keywords-1)
8401 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8402 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8403 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8404 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8405 Implement prettify of -> => :: strings.
8406 * progmodes/perl-mode.el (perl-prettify-symbols)
8407 (perl--font-lock-compose-symbol)
8408 (perl--font-lock-symbols-keywords): Move to prog-mode.
8409 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8410 (perl-font-lock-keywords-1)
8411 (perl-font-lock-keywords-2): Remove explicit prettify support.
8412 (perl--augmented-font-lock-keywords)
8413 (perl--augmented-font-lock-keywords-1)
8414 (perl--augmented-font-lock-keywords-2, perl-mode):
8415 Implement prettify support.
8417 2013-06-05 Leo Liu <sdl.web@gmail.com>
8419 Re-implement smie matching block highlight using
8420 show-paren-data-function. (Bug#14395)
8421 * emacs-lisp/smie.el (smie-matching-block-highlight)
8422 (smie--highlight-matching-block-overlay)
8423 (smie--highlight-matching-block-lastpos)
8424 (smie-highlight-matching-block)
8425 (smie-highlight-matching-block-mode): Remove.
8426 (smie--matching-block-data-cache): New variable.
8427 (smie--matching-block-data): New function.
8428 (smie-setup): Use smie--matching-block-data for
8429 show-paren-data-function.
8431 * progmodes/octave.el (octave-mode-menu): Fix.
8432 (octave-find-definition): Skip garbage lines.
8434 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8436 Fix compilation error with simultaneous dynamic+lexical scoping.
8437 Add warning when a defvar appears after the first let-binding.
8438 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8439 (byte-compile-close-variables): Initialize it.
8440 (byte-compile--declare-var): New function.
8441 (byte-compile-file-form-defvar)
8442 (byte-compile-file-form-define-abbrev-table)
8443 (byte-compile-file-form-custom-declare-variable): Use it.
8444 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8445 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8446 (byte-compile-bind): Handle dynamic bindings that shadow
8448 (byte-compile-unbind): Make arg non-optional.
8449 (byte-compile-let): Simplify.
8450 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8451 (cconv--analyse-function, cconv-analyse-form): Populate it.
8452 Protect byte-compile-bound-variables to limit the scope of defvars.
8453 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8454 Remove unneeded rule for `declare'.
8456 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8457 so as to avoid depending on cl-adjoin at run-time.
8458 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8460 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8461 (macroexp--warn-and-return): Use it.
8463 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8465 * lisp/subr.el: Convert to lexical binding.
8466 (overriding-local-map): Make obsolete.
8467 (add-to-list): Doc fix. Add compiler macro.
8468 (read-key): Swap values of local maps.
8470 2013-06-05 Leo Liu <sdl.web@gmail.com>
8472 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8474 2013-06-04 Leo Liu <sdl.web@gmail.com>
8476 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8477 (compilation-auto-jump): Suppress the "Mark set" message to give
8478 way to exit message.
8480 2013-06-04 Alan Mackenzie <acm@muc.de>
8482 Remove faulty optimisation from indentation calculation.
8483 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8484 search limit based on 2000 characters back from indent-point.
8486 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8488 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8490 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8492 * emacs-lisp/lisp.el: Use lexical-binding.
8493 (lisp--local-variables-1, lisp--local-variables): New functions.
8494 (lisp--local-variables-completion-table): New var.
8495 (lisp-completion-at-point): Use it complete let-bound vars.
8497 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8498 eagerly (bug#14422).
8500 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8502 * autorevert.el (auto-revert-notify-enabled)
8503 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8504 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8505 (auto-revert-notify-handler): Handle also gfilenotify.
8507 * subr.el (file-notify-handle-event): New defun. Replacing ...
8508 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8511 2013-06-03 Juri Linkov <juri@jurta.org>
8513 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8514 `M-s h .'. (Bug#14427)
8516 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8517 command `hi-lock-face-symbol-at-point'.
8518 (hi-lock-face-symbol-at-point): New command.
8519 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8520 (hi-lock-menu): Add `highlight-symbol-at-point'.
8521 (hi-lock-mode): Doc fix.
8523 * isearch.el (isearch-forward-symbol-at-point): New command.
8524 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8525 (isearch-highlight-regexp): Add a regexp which matches
8526 words/symbols for word/symbol mode.
8528 * subr.el (find-tag-default-bounds): New function with the body
8529 mostly moved from `find-tag-default'.
8530 (find-tag-default): Move most code to `find-tag-default-bounds',
8531 call it and apply `buffer-substring-no-properties' afterwards.
8533 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8535 * eshell/em-term.el (eshell-term-initialize):
8536 Use `cl-intersection' rather than `intersection'.
8538 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8540 * vc/log-view.el: Doc fix.
8541 (log-view-mode-map): Copy keymap from `special-mode-map'.
8543 2013-06-02 Eric Ludlam <zappo@gnu.org>
8545 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8546 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8547 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8548 (eieio-unbound, eieio-default-superclass)
8549 (eieio--define-field-accessors, method-static, method-before)
8550 (method-primary, method-after, method-num-lists)
8551 (method-generic-before, method-generic-primary)
8552 (method-generic-after, method-num-slots)
8553 (eieio-specialized-key-to-generic-key)
8554 (eieio--check-type, class-v, class-p)
8555 (eieio-class-name, define-obsolete-function-alias)
8556 (eieio-class-parents-fast, eieio-class-children-fast)
8557 (same-class-fast-p, class-constructor, generic-p)
8558 (generic-primary-only-p, generic-primary-only-one-p)
8559 (class-option-assoc, class-option, eieio-object-p)
8560 (class-abstract-p, class-method-invocation-order)
8561 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8562 (eieio-class-un-autoload, eieio-defclass)
8563 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8564 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8565 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8566 (eieio-defgeneric-reset-generic-form)
8567 (eieio-defgeneric-form-primary-only)
8568 (eieio-defgeneric-reset-generic-form-primary-only)
8569 (eieio-defgeneric-form-primary-only-one)
8570 (eieio-defgeneric-reset-generic-form-primary-only-one)
8571 (eieio-unbind-method-implementations)
8572 (eieio--defmethod, eieio--typep)
8573 (eieio-perform-slot-validation, eieio-validate-slot-value)
8574 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8575 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8576 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8577 (eieio-slot-name-index, eieio-class-slot-name-index)
8578 (eieio-set-defaults, eieio-initarg-to-attribute)
8579 (eieio-attribute-to-initarg, eieio-c3-candidate)
8580 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8581 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8582 (eieio-class-precedence-list, eieio-generic-call-methodname)
8583 (eieio-generic-call-arglst, eieio-generic-call-key)
8584 (eieio-generic-call-next-method-list)
8585 (eieio-pre-method-execution-functions, eieio-generic-call)
8586 (eieio-generic-call-primary-only, eieiomt-method-list)
8587 (eieiomt-optimizing-obarray, eieiomt-install)
8588 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8589 (eieio-generic-form, eieio-defmethod, make-obsolete)
8590 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8591 (defclass): Remove `eval-and-compile' from macro.
8592 (call-next-method, shared-initialize): Instead of using
8593 `scoped-class' variable, use new eieio--scoped-class, and
8594 eieio--with-scoped-class.
8595 (initialize-instance): Rename local variable 'scoped-class' to
8596 'this-class' to remove ambiguitity from old global.
8598 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8600 (eieio--scoped-class-stack): New variable.
8601 (eieio--scoped-class): New fcn.
8602 (eieio--with-scoped-class): New scoping macro.
8603 (eieio-defclass): Use pushnew instead of add-to-list.
8604 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8605 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8606 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8607 `scoped-class' variable, use new eieio--scoped-class, and
8608 eieio--with-scoped-class.
8610 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8612 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8614 * eshell/esh-ext.el (eshell-external-command): Pass args to
8615 `eshell-find-interpreter'.
8616 (eshell-find-interpreter): Add new second parameter ARGS.
8618 * eshell/em-script.el (eshell-script-initialize): Add second arg
8619 to the function added as MATCH to `eshell-interpreter-alist'.
8621 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8622 the function added as MATCH to `eshell-interpreter-alist'.
8624 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8625 (eshell-visual-options): New defcustom.
8626 (eshell-escape-control-x): Adapt docstring.
8627 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8628 `eshell-visual-options' in addition to `eshell-visual-commands'.
8629 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8631 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8633 * progmodes/python.el (python-indent-block-enders): Add break,
8634 continue and raise keywords.
8636 2013-06-01 Glenn Morris <rgm@gnu.org>
8638 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8640 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8641 * progmodes/cc-cmds.el (delete-forward-p):
8642 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8643 * progmodes/cc-engine.el (buffer-syntactic-context):
8644 * progmodes/cc-fonts.el (face-property-instance):
8645 * progmodes/cc-mode.el (set-keymap-parents):
8646 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8647 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8648 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8649 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8650 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8652 * progmodes/cc-vars.el (other): Emacs has this widget since
8653 at least 21.1, so don't (re)define it.
8655 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8656 Replace the obsolete alias pcomplete-arg-quote-list.
8658 2013-06-01 Leo Liu <sdl.web@gmail.com>
8660 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8662 (inferior-octave-minimal-columns)
8663 (inferior-octave-last-column-width): New variables.
8664 (inferior-octave-track-window-width-change): New function.
8665 (inferior-octave-mode): Adjust column width so that Octave output,
8666 for example from 'ls', can fit into the window nicely.
8668 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8670 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8671 Highlight expansions inside regexp literals.
8673 2013-05-31 Glenn Morris <rgm@gnu.org>
8675 * obsolete/sym-comp.el (symbol-complete):
8676 Replace obsolete completion-annotate-function.
8678 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8680 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8682 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8683 New function, checks if point is inside a literal that allows
8684 expression expansion.
8685 (ruby-syntax-propertize-expansion): Use it.
8686 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8689 2013-05-30 Juri Linkov <juri@jurta.org>
8691 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8693 (isearch-invisible): New variable.
8694 (isearch-forward): Doc fix.
8695 (isearch-mode): Set `isearch-invisible'
8696 to the value of `search-invisible'.
8697 (isearch-toggle-case-fold): Doc fix.
8698 (isearch-toggle-invisible): New command.
8699 (isearch-query-replace): Let-bind `search-invisible'
8700 to the value of `isearch-invisible'.
8701 (isearch-search): Use `isearch-invisible' instead of
8702 `search-invisible'. Let-bind `search-invisible'
8703 to the value of `isearch-invisible'. (Bug#11378)
8705 2013-05-30 Juri Linkov <juri@jurta.org>
8707 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8708 call when `query-flag' is nil and `search-invisible' is non-nil.
8711 2013-05-30 Glenn Morris <rgm@gnu.org>
8713 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8715 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8716 (cc-require): Suppress spurious "noruntime" warnings.
8717 (cc-require-when-compile): Use fboundp, for sake of compiler.
8719 * progmodes/cc-mode.el: Move load of cc-vars before that of
8720 cc-langs (which in turn loads cc-vars), to quieten compiler.
8722 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8724 * paren.el: Simplify the code.
8725 (show-paren-mode): Always start the timer.
8726 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8727 (show-paren--overlay, show-paren--overlay-1): Rename from
8728 show-paren-overlay and show-paren-overlay-1, and initialize to an
8729 overlay rather than to nil.
8730 (show-paren-function): Misc cleanup and simplifications.
8732 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8734 * paren.el (show-paren-data-function): New hook.
8735 (show-paren--default): New function, extracted from show-paren-function.
8736 (show-paren-function): Use show-paren-data-function.
8738 2013-05-30 Glenn Morris <rgm@gnu.org>
8740 * ielm.el (ielm-map, ielm-complete-symbol):
8741 Use completion-at-point rather than obsolete functions.
8742 (inferior-emacs-lisp-mode): Doc fix.
8743 Set completion-at-point-functions, rather than
8744 comint-dynamic-complete-functions.
8746 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8747 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8748 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8750 * image.el (image-animated-p): Tweak definition.
8752 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8753 (rlogin-process-connection-type): Tweak default. Add set-after.
8754 (rlogin-host): Doc fix.
8755 (rlogin): Tweak prompt.
8756 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8758 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8759 * progmodes/tcl.el (inferior-tcl-mode-map):
8760 Use completion-at-point rather than obsolete alias.
8762 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8764 * minibuffer.el (read-file-name-completion-ignore-case):
8765 Move before completion--in-region, for eager macro expansion.
8767 2013-05-29 Juri Linkov <juri@jurta.org>
8769 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8770 for total count of matching lines. Add `global-matches' for total
8771 count of matches. Rename `matches' to `lines' for count of
8772 matching lines. Add `matches' for count of matches.
8773 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8774 to `prev-line' for line number of prev match endpt.
8775 Increment `matches' for every match. Print the number of
8776 matching lines in the header.
8777 (occur-context-lines): Rename `lines' to `curr-line'.
8778 Rename `prev-lines' to `prev-line'. (Bug#14017)
8780 2013-05-29 Juri Linkov <juri@jurta.org>
8782 * replace.el (perform-replace): Add `skip-read-only-count',
8783 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8784 Increment them for corresponding conditions and report the number
8785 of skipped occurrences in the final message. (Bug#11746)
8786 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8787 (replace-string, replace-regexp): Doc fix.
8789 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8791 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8793 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8794 prog-mode-map (bug#14504).
8796 2013-05-29 Leo Liu <sdl.web@gmail.com>
8798 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8799 (octave-help): Small simplification.
8801 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8802 off the highlight first.
8804 2013-05-29 Glenn Morris <rgm@gnu.org>
8806 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8807 Handle idlwave-last-system-routine-info-cons-cell being nil.
8809 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8810 (idlwave-write-paths): Simplify via with-temp-buffer.
8812 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8813 * emulation/cua-rect.el: Also load cua-base at run time.
8815 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8816 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8817 (cperl-imenu-on-info): Require imenu.
8819 2013-05-28 Alan Mackenzie <acm@muc.de>
8821 Handle "capitalised keywords" correctly.
8822 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8824 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8826 * eshell/em-unix.el: Add -r option to cp.
8828 2013-05-28 Glenn Morris <rgm@gnu.org>
8830 * vc/vc-arch.el (vc-exec-after): Declare.
8831 (vc-switches): Autoload.
8832 * vc/vc-bzr.el: No need to require vc when compiling.
8833 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8834 (vc-resynch-buffer, vc-dir-refresh): Declare.
8835 (vc-setup-buffer, vc-switches): Autoload.
8836 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8837 (vc-resynch-buffer): Declare.
8838 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8839 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8840 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8841 (grep-read-regexp, grep-read-files, grep-expand-template)
8842 (vc-dir-refresh): Declare.
8843 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8844 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8845 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8846 * vc/vc-mtn.el (vc-exec-after): Declare.
8847 (vc-switches): Autoload.
8848 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8849 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8850 (vc-file-tree-walk): Declare.
8851 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8852 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8853 (vc-tag-precondition, vc-rename-master): Autoload.
8854 * vc/vc-svn.el (vc-exec-after): Declare.
8855 (vc-switches, vc-setup-buffer): Autoload.
8856 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8858 (vc-resynch-buffer): Declare.
8860 * obsolete/fast-lock.el (byte-compile-warnings):
8861 Don't warn about obsolete features in this obsolete file.
8863 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8864 Move definition before use.
8866 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8867 (dun-unix-verbs): Remove dun-zippy.
8868 (dun-zippy): Remove function.
8870 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8872 2013-05-27 Juri Linkov <juri@jurta.org>
8874 * replace.el (replace-search): New function with code moved out
8875 from `perform-replace'.
8876 (replace-highlight, replace-dehighlight): Move function definitions
8877 up closer to `replace-search'. (Bug#11746)
8879 2013-05-27 Juri Linkov <juri@jurta.org>
8881 * replace.el (perform-replace): Ignore invisible matches.
8882 In addition to checking `query-replace-skip-read-only', also
8883 filter out matches by calling `run-hook-with-args-until-failure'
8884 on `isearch-filter-predicates', and also check `search-invisible'
8885 for t or call `isearch-range-invisible'.
8886 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8888 2013-05-27 Juri Linkov <juri@jurta.org>
8890 * isearch.el (isearch-filter-predicates): Rename from
8891 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8892 (isearch-message-prefix): Display text from the property
8893 `isearch-message-prefix' of the currently active filters.
8894 (isearch-search): Don't compare `isearch-filter-predicate' with
8895 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8896 on `isearch-filter-predicates'. Also check `search-invisible' for t
8897 or call `isearch-range-invisible'.
8898 (isearch-filter-visible): Make obsolete.
8899 (isearch-lazy-highlight-search):
8900 Call `run-hook-with-args-until-failure' on
8901 `isearch-filter-predicates' and use `isearch-range-invisible'.
8903 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8904 `isearch-filter-predicates' instead of `funcall'ing
8905 `isearch-filter-predicate'.
8906 (Info-mode): Set `Info-isearch-filter' to
8907 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8909 * dired-aux.el (dired-isearch-filter-predicate-orig):
8911 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8912 (dired-isearch-filenames-end): Add and remove
8913 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8914 instead of changing the value of `isearch-filter-predicate'.
8915 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8916 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8917 Put property `isearch-message-prefix' to "filename " on
8918 `dired-isearch-filter-filenames'.
8920 * wdired.el (wdired-change-to-wdired-mode):
8921 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8922 locally instead of changing `isearch-filter-predicate'.
8923 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8925 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8927 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8928 return the commit hash (Bug#14459). Also set the
8929 `vc-git-detached' property.
8930 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8931 (vc-git-mode-line-string): Use the same help-echo format whether
8932 in detached mode or not, because we know the actual revision now.
8933 When in detached mode, shorten the revision to 7 chars.
8935 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8937 * emacs-lisp/easy-mmode.el (define-minor-mode):
8938 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8939 mode hook and provide a docstring.
8941 2013-05-27 Alan Mackenzie <acm@muc.de>
8943 Remove spurious syntax-table text properties inserted by C-y.
8944 * progmodes/cc-mode.el (c-after-change): Also clear hard
8945 syntax-table property with value nil.
8947 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8949 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8950 when reading the events; the buffer layout shall not be changed.
8952 2013-05-27 Leo Liu <sdl.web@gmail.com>
8954 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8956 (inferior-octave-directory-tracker): Automatically re-sync
8958 (octave-help): Improve handling of 'See also'.
8960 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8962 * doc-view.el: Minor naming convention tweaks.
8963 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8965 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8966 even if there's no `display' property yet (bug#14435).
8968 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8970 * subr.el (unmsys--file-name): Rename from reveal-filename.
8972 * Makefile.in (custom-deps, finder-data, autoloads)
8973 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8974 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8975 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8977 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8979 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8980 error-completion on the first 2 args of condition-case (bug#14446).
8983 2013-05-25 Leo Liu <sdl.web@gmail.com>
8985 * comint.el (comint-previous-matching-input): Do not flood the
8986 *Messages* buffer with trivial messages.
8988 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8990 * progmodes/flymake.el (flymake-nop): Don't return a string.
8991 (flymake-set-at): Fix typo.
8993 * simple.el (read--expression): New function, extracted from
8994 eval-expression. Set completion-at-point-functions (bug#14465).
8995 (eval-expression, eval-minibuffer): Use it.
8997 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8999 * progmodes/flymake.el (flymake-save-buffer-in-file)
9000 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9001 (flymake-selected-frame, flymake-log, flymake-ins-after)
9002 (flymake-set-at, flymake-get-buildfile-from-cache)
9003 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9004 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9005 Refine the doc string.
9006 (flymake-get-file-name-mode-and-masks): Reformat.
9007 (flymake-get-real-file-name-function): Fix a minor bug.
9009 2013-05-24 Juri Linkov <juri@jurta.org>
9011 * progmodes/grep.el (grep-mode-font-lock-keywords):
9012 Support =linenumber= format used by git-grep for lines with
9013 function names. (Bug#13549)
9015 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9017 * progmodes/octave.el (octave-smie-rules): Return nil rather than
9018 0 after a semi-colon; it works better for smie-auto-fill.
9019 (octave--indent-new-comment-line): New function.
9020 (octave-indent-new-comment-line): Use it (indirectly).
9021 (octave-mode): Don't disable smie-auto-fill. Use add-function to
9022 modify comment-line-break-function.
9024 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9025 (smie-setup): Use add-function to set it.
9027 2013-05-24 Sam Steingold <sds@gnu.org>
9029 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9030 argument (before the `interactive' argument).
9032 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
9034 * image-mode.el (image-mode-winprops): Add winprops to
9035 image-mode-winprops-alist before running
9036 image-mode-new-window-functions.
9037 * doc-view.el (doc-view-new-window-function): Don't delay
9038 doc-view-goto-page via timers (bug#14435).
9040 2013-05-24 Tassilo Horn <tsdh@gnu.org>
9042 * doc-view.el: Integrate with desktop.el. (Bug#14435)
9043 (doc-view-desktop-save-buffer): New function.
9044 (doc-view-restore-desktop-buffer): New function.
9045 (desktop-buffer-mode-handlers):
9046 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
9048 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
9049 `desktop-save-buffer' function.
9051 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
9053 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
9054 (tramp-gvfs-file-name-handler): Raise a user error when
9055 `tramp-gvfs-enabled' is nil.
9056 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
9057 Do not raise a user error when loading package. (Bug#14447)
9059 * net/xesam.el: Move to obsolete/.
9061 2013-05-24 Glenn Morris <rgm@gnu.org>
9063 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
9065 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
9067 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
9068 (Info-find-node, Man-getpage-in-background): Declare.
9070 * mail/unrmail.el (unrmail):
9071 Replace obsolete detect-coding-with-priority.
9073 * net/socks.el (socks-split-string): Use this rather than split-string.
9074 (socks-nslookup-host): Update for above change.
9075 (dynamic-choice, s5-dynamic-choice-match)
9076 (s5-dynamic-choice-match-inline, s5-widget-value-create):
9077 Comment out unused code.
9079 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
9080 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
9081 (gud-tooltip-echo-area): Make obsolete.
9082 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
9084 * progmodes/js.el (js--optimize-arglist): Declare.
9086 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
9088 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
9089 (ediff-window-C): Declare.
9091 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
9092 Tweak requires to silence compiler.
9094 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
9095 (he-search-string, he-tried-table, he-expand-list)
9096 (he-init-string, he-string-member, he-substitute-string)
9097 (he-reset-string): Declare.
9099 * obsolete/options.el (list-options): Use custom-variable-p,
9100 rather than obsolete alias.
9102 2013-05-23 Sam Steingold <sds@gnu.org>
9104 * simple.el (shell-command-on-region): Pass the `replace' argument
9105 down to `call-process-region' to comply with the doc as reported on
9106 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
9108 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
9110 * emacs-lisp/smie.el (smie-indent-forward-token)
9111 (smie-indent-backward-token): Handle string tokens (bug#14381).
9113 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9115 * ielm.el (ielm-menu): New menu.
9116 (inferior-emacs-lisp-mode): Set comment-start.
9118 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9120 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
9121 Fix deactivate action.
9123 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
9124 Add cleveref macros.
9126 * lisp/textmodes/reftex-parse.el
9127 (reftex-locate-bibliography-files): Accept options for
9128 bibliography commands.
9129 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
9130 Add addbibresource. Basic Biblatex support.
9132 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
9134 * net/tramp-gvfs.el (top):
9135 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
9136 when loading package. (Bug#14447)
9138 2013-05-23 Glenn Morris <rgm@gnu.org>
9140 * progmodes/js.el: No need to load comint when compiling.
9141 (ring-insert, comint-send-string, comint-send-input)
9142 (comint-last-input-end, ido-chop): Declare.
9144 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
9145 * vc/ediff-mult.el: Adjust requires.
9146 (ediff-directories-internal, ediff-directory-revisions-internal)
9147 (ediff-patch-file-internal): Declare.
9148 * vc/ediff-ptch.el: Adjust requires.
9149 (ediff-use-last-dir, ediff-buffers-internal): Declare.
9150 (ediff-find-file): Autoload.
9151 * vc/ediff-util.el: No need to load ediff when compiling.
9152 (ediff-regions-internal): Declare.
9153 * vc/ediff-wind.el: Adjust requires.
9154 (ediff-compute-toolbar-width): Define when compiling.
9155 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
9156 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
9157 (dired-get-filename, dired-get-marked-files)
9158 (ediff-last-dir-patch, ediff-patch-default-directory)
9159 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
9160 (ediff-patch-buffer-internal): Declare.
9162 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
9163 (ispell-process, ispell-buffer-local-words, lm-summary)
9164 (lm-section-start, lm-section-end): Declare.
9165 (checkdoc-ispell-init): Simplify.
9167 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
9168 (he-string-member, he-reset-string, he-substitute-string): Declare.
9170 * eshell/em-ls.el: Adjust requires.
9171 (eshell-glob-regexp): Declare.
9172 * eshell/em-tramp.el: Adjust requires.
9173 (eshell-parse-command): Autoload.
9174 * eshell/em-xtra.el: Adjust requires.
9175 (eshell-parse-command): Autoload.
9176 * eshell/esh-ext.el: Adjust requires.
9177 (eshell-parse-command, eshell-close-handles): Autoload.
9178 * eshell/esh-io.el: Adjust requires.
9179 (eshell-output-filter): Autoload.
9180 * eshell/esh-util.el: No need to load tramp when compiling.
9181 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
9183 (eshell-parse-ange-ls): Require ange-ftp and tramp.
9184 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
9185 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
9186 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
9187 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
9188 * eshell/esh-opt.el, eshell/esh-proc.el:
9189 * eshell/esh-var.el: Adjust requires.
9190 * eshell/eshell.el: Do not require esh-util twice.
9191 (eshell-add-input-to-history): Declare.
9192 (eshell-command): Check history module is active before using it.
9194 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
9196 2013-05-22 Leo Liu <sdl.web@gmail.com>
9198 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
9200 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
9202 * autorevert.el (auto-revert-notify-add-watch)
9203 (auto-revert-notify-handler): Add `attrib' for the inotify case,
9204 it indicates changes in file modification time.
9206 2013-05-22 Glenn Morris <rgm@gnu.org>
9208 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9209 Always delete the autoloaded function from the noruntime and
9210 unresolved functions lists.
9212 * allout.el: No need to load epa, epg, overlay when compiling.
9213 (epg-context-set-passphrase-callback, epg-list-keys)
9214 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
9215 (epg-key-user-id-list): Declare.
9217 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
9218 (viper-set-parsing-style-toggling-macro)
9219 (viper-set-emacs-state-searchstyle-macros):
9220 Use called-interactively-p on Emacs.
9221 (viper-looking-back): Make it an obsolete alias. Update callers.
9222 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
9223 Use looking-back rather than viper-looking-back.
9224 (viper-tmp-insert-at-eob, viper-enlarge-region)
9225 (viper-read-string-with-history, viper-register-to-point)
9226 (viper-append-to-register, viper-change-state-to-vi)
9227 (viper-backward-char-carefully, viper-forward-char-carefully)
9228 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
9229 (viper-change-state-to-emacs): Declare.
9230 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
9231 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
9232 * emulation/viper-mous.el: Do not load viper-cmd.
9233 (viper-backward-char-carefully, viper-forward-char-carefully)
9234 (viper-forward-word, viper-adjust-window): Declare.
9236 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
9238 * progmodes/idlw-help.el (idlwave-help-fontify):
9239 Use called-interactively-p.
9241 * term/w32console.el (w32-get-console-codepage)
9242 (w32-get-console-output-codepage): Declare.
9244 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
9245 Remove unnecessary declarations.
9246 (dframe-message): Doc fix.
9248 * info.el (dframe-select-attached-frame, dframe-current-frame):
9251 * speedbar.el (speedbar-message): Make it an obsolete alias.
9253 (speedbar-with-attached-buffer)
9254 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
9255 (speedbar-with-writable): Use backquote.
9256 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
9257 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
9258 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
9259 rather than speedbar- aliases.
9260 * mail/rmail.el: Load dframe rather than speedbar when compiling.
9261 (speedbar-make-specialized-keymap, speedbar-insert-button)
9262 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
9263 (speedbar-do-function-pointer): Declare.
9264 (rmail-speedbar-button, rmail-speedbar-find-file)
9265 (rmail-speedbar-move-message):
9266 Use dframe-with-attached-buffer rather than speedbar- alias.
9267 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
9268 (dframe-message, speedbar-make-specialized-keymap)
9269 (speedbar-add-expansion-list, speedbar-mode-functions-list)
9270 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
9271 (speedbar-insert-button, dframe-select-attached-frame)
9272 (dframe-maybee-jump-to-attached-frame)
9273 (speedbar-change-initial-expansion-list)
9274 (speedbar-previously-used-expansion-list-name): Declare.
9275 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
9276 Use dframe-message, dframe-with-attached-buffer rather than
9278 (gud-sentinel): Silence compiler.
9279 * progmodes/vhdl-mode.el (speedbar-refresh)
9280 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9281 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9282 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9283 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9284 (speedbar-file-lists, speedbar-make-tag-line)
9285 (speedbar-line-directory, speedbar-goto-this-file)
9286 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9287 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9288 (speedbar-make-button, speedbar-reset-scanners)
9289 (speedbar-files-item-info, speedbar-line-text)
9290 (speedbar-find-file-in-frame, speedbar-set-timer)
9291 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9292 (speedbar-with-writable): Do not (re)define it.
9293 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9294 rather than speedbar- alias.
9296 2013-05-21 Leo Liu <sdl.web@gmail.com>
9298 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9300 (octave-mode): Tweak fill-nobreak-predicate.
9301 (inferior-octave-startup): Check process to avoid infinite loop.
9302 (inferior-octave): Pop to buffer first to show abornmal process
9305 2013-05-21 Glenn Morris <rgm@gnu.org>
9307 * printing.el (pr-menu-bar): Define when compiling.
9309 2013-05-21 Leo Liu <sdl.web@gmail.com>
9311 * progmodes/octave.el (octave-auto-fill): Remove.
9312 (octave-indent-new-comment-line): Improve.
9313 (octave-mode): Use auto fill mode through
9314 comment-line-break-function and fill-nobreak-predicate.
9315 (octave-goto-function-definition): Support DEFUN_DLD.
9316 (octave-beginning-of-defun): Small tweak.
9317 (octave-help): Show parent directory.
9319 2013-05-21 Glenn Morris <rgm@gnu.org>
9321 * files.el (dired-unmark):
9322 * progmodes/gud.el (gdb-input): Update declarations.
9324 * calculator.el (electric, ehelp): No need to load when compiling.
9325 (Electric-command-loop, electric-describe-mode): Declare.
9327 * doc-view.el (doc-view-current-converter-processes): Move before use.
9329 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9330 Move MODE-set-explicitly definition before use.
9332 * international/mule-diag.el (mule-diag):
9333 Don't use obsolete window-system-version.
9335 * mail/feedmail.el (smtpmail): No need to load when compiling.
9336 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9338 * mail/mail-utils.el (rfc822): No need to load when compiling.
9339 (rfc822-addresses): Autoload it.
9340 (mail-strip-quoted-names): Trivial simplification.
9342 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9343 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9345 * net/snmp-mode.el (tempo): Don't duplicate requires.
9347 * progmodes/prolog.el (info): No need to load when compiling.
9348 (comint): Require before shell requires it.
9349 (Info-goto-node): Autoload it.
9350 (Info-follow-nearest-node): Declare.
9351 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9353 * textmodes/artist.el (picture-mode-exit): Declare.
9355 * textmodes/reftex-parse.el (reftex-parse-from-file):
9356 Trivial rewrite so the compiler can parse it better.
9358 2013-05-20 Leo Liu <sdl.web@gmail.com>
9360 * progmodes/octave.el (octave-help-mode-map)
9361 (octave-help-mode-finish-hook): New variables.
9362 (octave-help-mode, octave-help-mode-finish): New functions.
9363 (octave-help): Use octave-help-mode.
9365 2013-05-20 Glenn Morris <rgm@gnu.org>
9367 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9369 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9371 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9372 start at point, so that expansion starting right after opening
9373 slash in a regexp is recognized.
9374 (ruby-syntax-before-regexp-re): New defvar, extracted from
9375 ruby-syntax-propertize-function. Since the value of this regexp
9376 is looked up at runtime now, we should be able to turn
9377 `ruby-syntax-methods-before-regexp' into a defcustom later.
9378 (ruby-syntax-propertize-function): Split regexp matching into two
9379 parts, for opening and closing slashes. That allows us to skip
9380 over string interpolations and support multiline regexps.
9381 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9382 for them, which calls `ruby-syntax-propertize-expansion'.
9383 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9384 call to `ruby-syntax-propertize-function'.
9385 (ruby-syntax-propertize-expansion): Extracted from
9386 `ruby-syntax-propertize-expansions'. Handles one expansion.
9387 (ruby-syntax-propertize-percent-literal): Leave point right after
9388 the percent symbol, so that the expression expansion rule can
9389 propertize the contents.
9390 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9392 (ruby-syntax-propertize-expansions): Remove.
9394 2013-05-18 Juri Linkov <juri@jurta.org>
9396 * man.el (Man-default-man-entry): Remove `-' from the end
9397 of the default value. (Bug#14400)
9399 2013-05-18 Glenn Morris <rgm@gnu.org>
9401 * comint.el (comint-password-prompt-regexp):
9402 Allow "password for XXX" where XXX contains colons (eg https://...).
9404 2013-05-18 Leo Liu <sdl.web@gmail.com>
9406 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9407 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9408 (octave-source-directories): Don't check process.
9409 (octave-source-directories, octave-find-definition): Doc fix.
9411 2013-05-18 Glenn Morris <rgm@gnu.org>
9413 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9414 Remove backspace/delete bindings. (Bug#14392)
9416 * cus-dep.el (custom-make-dependencies): Sort the output.
9417 (custom-versions-load-alist): Convert comment to doc.
9419 2013-05-17 Leo Liu <sdl.web@gmail.com>
9421 * newcomment.el (comment-search-backward): Stricter in finding
9422 comment start. (Bug#14303)
9424 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9425 (octave-comment-start-skip): Properly anchored.
9427 2013-05-17 Leo Liu <sdl.web@gmail.com>
9429 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9430 Clean up when turned off. (Bug#14395)
9431 (smie--highlight-matching-block-overlay): No longer buffer-local.
9432 (smie-highlight-matching-block): Adjust.
9434 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9436 Doc string fix for "nanoseconds" (Bug#14406).
9437 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9438 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9440 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9442 * calc/calc-units.el (math-extract-units): Preserve powers
9445 2013-05-17 Leo Liu <sdl.web@gmail.com>
9447 * subr.el (delete-consecutive-dups): New function.
9448 * ido.el (ido-set-matches-1): Use it.
9449 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9450 * ido.el (ido-remove-consecutive-dups): Remove.
9452 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9454 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9455 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9456 regexp-opt's `words'.
9458 2013-05-16 Leo Liu <sdl.web@gmail.com>
9460 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9461 (smie--highlight-matching-block-overlay)
9462 (smie--highlight-matching-block-lastpos)
9463 (smie--highlight-matching-block-timer): New variables.
9464 (smie-highlight-matching-block): New function.
9465 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9466 (smie-setup): Conditionally enable smie-blink-matching-open.
9468 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9470 Sync with upstream verilog-mode r840.
9471 * progmodes/verilog-mode.el (verilog-mode-version)
9472 (verilog-mode-release-date): Update.
9473 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9474 (verilog-sig-tieoff): Fix string error on
9475 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9476 (verilog-read-decls): Fix parameters confusing
9477 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9479 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9481 * subr.el (reveal-filename): New function.
9483 * loadup.el: Compute Emacs executable versions on MS-Windows,
9484 where executables have the .exe extension. Add a hard link
9485 emacs-XX.YY.ZZ.exe on MS-Windows.
9487 * Makefile.in (XARGS_LIMIT): New variable.
9488 (custom-deps, finder-data, autoloads)
9489 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9490 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9491 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9492 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9494 2013-05-16 Leo Liu <sdl.web@gmail.com>
9496 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9497 (octave-mode-menu, octave-mode-map): Remove its uses.
9499 2013-05-16 Reto Zimmermann <reto@gnu.org>
9501 Sync with upstream vhdl mode v3.34.2.
9502 * progmodes/vhdl-mode.el: Use `push' throughout.
9503 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9504 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9505 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9506 (vhdl-actual-generic-name): New option to derive actual generic name.
9507 (vhdl-port-paste-signals): Replace formal by actual generics.
9508 (vhdl-beautify): New name for old group vhdl-align. Update users.
9509 (vhdl-beautify-options): New option.
9510 (vhdl-last-input-event): New compat alias. Use throughout.
9511 (vhdl-goto-line): Replace user level function `goto-line'.
9512 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9513 vhdl-fix-statement-buffer.
9514 (vhdl-create-mode-menu): Add some entries.
9515 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9516 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9517 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9518 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9519 to force statements on one line.
9520 (vhdl-remove-trailing-spaces-region):
9521 New, split from vhdl-remove-trailing-spaces.
9522 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9523 Respect vhdl-beautify-options.
9524 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9525 (vhdl-update-sensitivity-list): Not add with index if exists without.
9526 Not include array index with signal. Ignore keywords in comments.
9527 (vhdl-get-visible-signals): Regexp tweaks.
9528 (vhdl-template-component-inst): Handle empty library.
9529 (vhdl-template-type): Add template for 'enum' type.
9530 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9531 Use vhdl-replace-string.
9532 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9533 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9534 (vhdl-speedbar-initialize): Update for above name change.
9535 (vhdl-compose-wire-components): Fix in handling of constants.
9536 (vhdl-error-regexp-emacs-alist): New variable.
9537 (vhdl-error-regexp-add-emacs): New function;
9538 adds support for new compile.el (Emacs 22+)
9539 (vhdl-generate-makefile-1): Change target order for single lib. units.
9540 Allow use of absolute file names.
9542 2013-05-16 Leo Liu <sdl.web@gmail.com>
9544 * simple.el (prog-indent-sexp): Indent enclosing defun.
9546 2013-05-15 Glenn Morris <rgm@gnu.org>
9548 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9549 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9550 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9551 (whitespace-highlight): Move to whitespace group.
9553 * comint.el (comint-source):
9554 * pcmpl-linux.el (pcmpl-linux):
9555 * shell.el (shell-faces):
9556 * eshell/esh-opt.el (eshell-opt):
9557 * international/ccl.el (ccl): Remove empty custom groups.
9559 * completion.el (dynamic-completion-mode):
9560 * jit-lock.el (jit-lock-debug-mode):
9561 * minibuffer.el (completion-in-region-mode):
9562 * type-break.el (type-break-mode-line-message-mode)
9563 (type-break-query-mode):
9564 * emulation/tpu-edt.el (tpu-edt-mode):
9565 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9566 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9567 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9569 * term/xterm.el (xterm): Change parent group to terminals.
9571 * master.el (master): Remove empty custom group.
9572 (master-mode): Remove unused :group argument.
9573 * textmodes/refill.el (refill): Remove empty custom group.
9574 (refill-mode): Remove unused :group argument.
9576 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9578 * cus-dep.el: Provide a feature.
9579 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9580 Don't mistakenly ignore files whose basenames match a basename
9581 from preloaded-file-list (eg cedet/ede/simple.el).
9582 Add a fallback method for getting :group.
9584 2013-05-15 Juri Linkov <juri@jurta.org>
9586 * isearch.el (isearch-char-by-name): Rename from
9587 `isearch-insert-char-by-name'. Doc fix.
9588 (isearch-forward): Mention `isearch-char-by-name' in
9589 the docstring. (Bug#13348)
9591 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9592 `exit-minibuffer' instead of
9593 `isearch-nonincremental-exit-minibuffer'.
9594 (isearch-edit-string): Remove mention of
9595 `isearch-nonincremental-exit-minibuffer' from docstring.
9596 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9597 (isearch-forward-exit-minibuffer)
9598 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9600 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9602 * loadup.el: Just use unversioned DOC.
9604 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9605 literals as extending to EOB.
9606 (nxml-last-fontify-end): Remove unused variable.
9607 (nxml-after-change1): Use with-silent-modifications.
9608 (nxml-extend-after-change-region): Simplify.
9609 (nxml-extend-after-change-region1): Remove function.
9610 (nxml-after-change1): Don't adjust for dependent regions.
9611 (nxml-fontify-matcher): Simplify.
9612 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9613 (xmltok-add-dependent): Remove function.
9614 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9615 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9616 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9617 unclosed <[[, <?, comment, and other literals as extending to EOB.
9618 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9619 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9621 (rng-do-some-validation-1): Don't mark dependent regions.
9622 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9623 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9624 (nxml-clear-dependent-regions): Remove functions.
9625 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9626 (nxml-ensure-scan-up-to-date):
9627 Don't clear&mark dependent regions.
9629 2013-05-15 Leo Liu <sdl.web@gmail.com>
9631 * progmodes/octave.el (octave-goto-function-definition):
9632 Improve and fix callers.
9634 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9636 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9637 the setter (bug#14387).
9639 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9640 surrounding group (bug#14402).
9642 2013-05-14 Juri Linkov <juri@jurta.org>
9644 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9647 2013-05-14 Glenn Morris <rgm@gnu.org>
9649 * progmodes/f90.el (f90-imenu-generic-expression):
9650 Fix typo in 2013-05-08 change. (Bug#14402)
9652 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9654 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9655 Remove signals for which replies are never received.
9657 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9659 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9660 (gdb-handler-alist, gdb-handler-number): Remove variables.
9661 (gdb-handler-list): New variable.
9662 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9663 (gdb-pending-handler-p, gdb-handle-reply)
9664 (gdb-remove-all-pending-triggers): New functions.
9665 (gdb-discard-unordered-replies): New defcustom.
9666 (gdb-handler): New defstruct.
9667 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9668 instead of gdb-pending-triggers. Update docstring.
9669 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9670 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9671 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9672 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9673 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9674 (gdb-frame-handler): Pending triggers are now automatically managed.
9675 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9677 (gdb-input): Automatically handles pending triggers. Update docstring.
9678 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9679 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9681 (gdb-done-or-error): Now use gdb-handle-reply.
9683 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9685 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9688 2013-05-14 Glenn Morris <rgm@gnu.org>
9690 * subr.el (user-emacs-directory-warning): New option.
9691 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9693 2013-05-14 Leo Liu <sdl.web@gmail.com>
9695 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9697 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9698 (octave-font-lock-texinfo-comment): Fix invalid search bound
9699 error: wrong side of point.
9701 2013-05-14 Glenn Morris <rgm@gnu.org>
9703 * progmodes/flymake.el (flymake-xml-program): New option.
9704 (flymake-xml-init): Use it.
9706 * term/xterm.el: Provide a feature.
9708 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9710 2013-05-13 Glenn Morris <rgm@gnu.org>
9712 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9713 Add compat aliases as a hack workaround. (Bug#14384)
9715 2013-05-13 Leo Liu <sdl.web@gmail.com>
9717 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9719 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9721 (octave-comment-start-skip): Include %!.
9722 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9724 2013-05-12 Leo Liu <sdl.web@gmail.com>
9726 * progmodes/octave.el (inferior-octave-startup): Store the value
9727 of __octave_srcdir__ for octave-source-directories.
9728 (inferior-octave-check-process): New function refactored out of
9729 inferior-octave-send-list-and-digest.
9730 (octave-source-directories)
9731 (octave-find-definition-filename-function): New variables.
9732 (octave-source-directories)
9733 (octave-find-definition-default-filename): New functions.
9734 (octave-find-definition): Improve to find functions implemented in C++.
9736 2013-05-12 Glenn Morris <rgm@gnu.org>
9738 * calendar/diary-lib.el (diary-outlook-format-1):
9739 Don't include dayname in the output. (Bug#14349)
9741 2013-05-11 Glenn Morris <rgm@gnu.org>
9743 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9745 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9746 Treat cc-provide like provide.
9748 2013-05-11 Kevin Ryde <user42@zip.com.au>
9750 * cus-dep.el (custom-make-dependencies):
9751 Use generated-autoload-load-name for the sake of files such
9752 such cedet/semantic/bovine/c.el, where the base file name
9753 is not in load-path. (Bug#5277)
9755 2013-05-11 Glenn Morris <rgm@gnu.org>
9757 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9760 2013-05-11 Leo Liu <sdl.web@gmail.com>
9762 * progmodes/octave.el (octave-indent-comment): Improve.
9763 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9764 (octave-eldoc-function-signatures, octave-eldoc-function):
9766 (octave-mode, inferior-octave-mode): Add eldoc support.
9768 2013-05-11 Richard Stallman <rms@gnu.org>
9770 * epa.el (epa-decrypt-file): Take output file name as argument
9771 and read it using `interactive'.
9773 2013-05-11 Leo Liu <sdl.web@gmail.com>
9775 * progmodes/octave.el (octave-beginning-of-line)
9776 (octave-end-of-line): Check before using up-list because it jumps
9777 out of more syntactic contructs since moving to smie.
9778 (octave-indent-comment): New function.
9779 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9780 (octave-begin-keywords, octave-end-keywords)
9781 (octave-reserved-words, octave-smie-bnf-table)
9782 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9784 2013-05-11 Glenn Morris <rgm@gnu.org>
9786 * faces.el (internal-face-x-get-resource):
9787 * frame.el (ns-display-monitor-attributes-list):
9788 * calc/calc-aent.el (math-to-radians-2):
9789 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9792 * calc/calc-menu.el: Make it loadable in isolation.
9794 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9795 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9796 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9797 (eudc-bbdb-query-internal): Require 'bbdb.
9799 * lpr.el (lpr-headers-switches):
9800 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9802 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9804 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9806 * term.el (term-set-escape-char): Make it idempotent.
9808 2013-05-10 Leo Liu <sdl.web@gmail.com>
9810 * progmodes/octave.el (inferior-octave-completion-table):
9811 No longer a function and all uses changed. Use cache to speed up
9812 completion due to bug#11906.
9813 (octave-beginning-of-defun): Re-write to be more general.
9815 2013-05-10 Glenn Morris <rgm@gnu.org>
9817 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9819 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9821 * comint.el (comint-redirect-send-command-to-process): Use :around
9822 rather than :override for comint-redirect-filter.
9823 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9824 Call it instead of comint-redirect-original-filter-function (which
9825 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9827 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9829 * frame.el (display-monitor-attributes-list): Add NS case.
9830 (ns-display-monitor-attributes-list): Declare.
9832 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9834 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9836 2013-05-09 Glenn Morris <rgm@gnu.org>
9838 * international/fontset.el (vertical-centering-font-regexp):
9841 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9843 * bookmark.el (bookmark-search-delay):
9844 * cus-start.el (vertical-centering-font-regexp):
9845 * ps-mule.el (ps-mule-font-info-database-default):
9846 * ps-print.el (ps-default-fg, ps-default-bg):
9847 * type-break.el (type-break-good-break-interval):
9848 * whitespace.el (whitespace-indentation-regexp)
9849 (whitespace-space-after-tab-regexp):
9850 * emacs-lisp/testcover.el (testcover-1value-functions)
9851 (testcover-noreturn-functions, testcover-progn-functions)
9852 (testcover-prog1-functions):
9853 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9854 * eshell/em-glob.el (eshell-glob-translate-alist):
9855 * play/tetris.el (tetris-tty-colors):
9856 * progmodes/cpp.el (cpp-face-default-list):
9857 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9858 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9859 (idlwave-help-browser-generic-args):
9860 * progmodes/make-mode.el (makefile-special-targets-list):
9861 * progmodes/python.el (python-shell-virtualenv-path):
9862 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9863 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9864 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9865 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9866 * textmodes/reftex-vars.el (reftex-format-label-function):
9867 * textmodes/remember.el (remember-diary-file): Fix custom types.
9869 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9872 2013-05-09 Leo Liu <sdl.web@gmail.com>
9874 * progmodes/octave.el (inferior-octave-completion-at-point):
9875 Restore file completion. (Bug#14300)
9876 (inferior-octave-startup): Fix incorrect highlighting for the
9879 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9881 * progmodes/ruby-mode.el: First cut at SMIE support.
9882 (ruby-use-smie): New var.
9883 (ruby-smie-grammar): New constant.
9884 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9885 (ruby-smie--forward-token, ruby-smie--backward-token)
9886 (ruby-smie-rules): New functions.
9887 (ruby-mode-variables): Setup SMIE if applicable.
9889 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9891 * simple.el (line-move-visual): Signal beginning/end of buffer
9892 only if vertical-motion moved less than it was requested. Avoids
9893 silly incorrect error messages when there are display strings with
9894 multiple newlines at EOL.
9896 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9898 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9899 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9900 (prolog-char-quote-workaround):
9901 * progmodes/cperl-mode.el (cperl-under-as-char):
9902 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9904 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9906 (vhdl-mode-syntax-table-init): Remove.
9908 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9911 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9913 (ld-script-font-lock-keywords):
9914 Change regexps to use things like \_< and \_>.
9916 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9917 Change all regexps to use things like \_< and \_>.
9919 * progmodes/autoconf.el (autoconf-definition-regexp)
9920 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9921 Handle a _ with symbol syntax.
9922 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9924 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9925 Consolidate declaration.
9926 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9928 (ada-create-syntax-table): Remove.
9929 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9930 already has the right syntax nowadays.
9931 (ada-goto-next-word): Don't change the syntax of "_".
9933 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9936 2013-05-08 Sam Steingold <sds@gnu.org>
9938 * thingatpt.el (thing-at-point): Accept optional second argument
9939 NO-PROPERTIES to strip the text properties from the return value.
9940 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9941 to `thing-at-point' instead of stripping the properties ourselves.
9942 Also, when `thing-at-point' fails to find a url, prepend "http://"
9943 to the filename at point on the assumption that the user is
9944 pointing at something like gnu.org/gnu.
9946 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9948 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9949 * faces.el (crm-separator):
9950 Silence byte-compiler.
9952 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9953 (tool-bar-map): Remove unneeded defvars.
9955 2013-05-08 Leo Liu <sdl.web@gmail.com>
9957 Re-work a fix for bug#10994 based on Le Wang's patch.
9958 * ido.el (ido-remove-consecutive-dups): New helper.
9959 (ido-completing-read): Use it.
9960 (ido-chop): Revert fix for bug#10994.
9962 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9964 * cus-edit.el (custom-save-variables):
9965 Pretty-print long values. (Bug#14187)
9967 2013-05-08 Glenn Morris <rgm@gnu.org>
9969 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9970 (m4-mode-syntax-table): Init in the defvar.
9971 (m4-mode-abbrev-table): Let define-derived-mode define it.
9973 2013-05-08 Tom Tromey <tromey@redhat.com>
9975 * progmodes/m4-mode.el (m4-mode-syntax-table):
9976 Do not treat "_" as word constituent. (Bug#14167)
9978 2013-05-07 Glenn Morris <rgm@gnu.org>
9980 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9981 Remove explicit eshell-isearch-cancel-map.
9983 * progmodes/f90.el (f90-smart-end-names): New option.
9984 (f90-smart-end): Doc fix.
9985 (f90-end-block-optional-name): New constant.
9986 (f90-block-match): Respect f90-smart-end-names.
9988 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9990 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9991 about implicit semi-colons (bug#14218).
9993 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9995 * frame.el (display-monitor-attributes-list)
9996 (frame-monitor-attributes): New functions.
9998 2013-05-06 Leo Liu <sdl.web@gmail.com>
10000 * progmodes/octave.el (octave-syntax-propertize-function): Change
10001 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
10002 (octave-font-lock-keywords): Use octave-operator-regexp.
10003 (octave-completion-at-point): Rename from
10004 octave-completion-at-point-function.
10005 (inferior-octave-directory-tracker): Robustify.
10006 (octave-text-functions): Remove and fix its uses. No such things
10009 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10011 * emacs-lisp/trace.el (trace--display-buffer): New function.
10012 (trace-make-advice): Use it.
10014 2013-05-06 Juri Linkov <juri@jurta.org>
10016 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
10017 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10019 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10020 in the help string. (Bug#12985)
10022 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
10024 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
10026 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10028 * progmodes/perl-mode.el: Add support for here documents.
10029 (perl-syntax-propertize-function): Match here-doc markers.
10030 (perl-syntax-propertize-special-constructs): Find their end.
10031 (perl-imenu-generic-expression): Use [:alnum:].
10033 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10034 (advice--add-function): Refresh the advice if already present
10037 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
10039 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
10041 2013-05-06 Glenn Morris <rgm@gnu.org>
10043 * w32-fns.el (w32-charset-info-alist): Declare.
10045 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
10046 of its defcustom properties.
10047 (eshell-cmpl-initialize): No need to load pcomplete.
10049 * generic-x.el: No need to require comint when compiling.
10051 * net/eudc-export.el: Make it loadable without bbdb.
10052 (top-level): Use require rather than load-library.
10053 (eudc-create-bbdb-record, eudc-bbdbify-phone)
10054 (eudc-batch-export-records-to-bbdb)
10055 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
10058 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
10060 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
10061 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
10062 some tweaks, instead.
10064 2013-05-05 Leo Liu <sdl.web@gmail.com>
10066 * progmodes/octave.el (octave-font-lock-keywords)
10067 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
10068 (inferior-octave-send-list-and-digest): Improve error message.
10069 (octave-mode, inferior-octave-mode): Use setq-local.
10070 (octave-help): Set info-lookup-mode.
10072 2013-05-05 Richard Stallman <rms@gnu.org>
10074 * vc/compare-w.el (compare-windows-whitespace):
10075 Treat no-break space as whitespace.
10077 * mail/rmailsum.el (rmail-summary-rmail-update):
10078 Detect empty summary and don't change selected message.
10079 (rmail-summary-goto-msg): Likewise.
10081 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
10082 Doc fixes, rename args.
10084 2013-05-05 Alan Mackenzie <acm@muc.de>
10086 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
10088 2013-05-05 Juri Linkov <juri@jurta.org>
10090 * info.el (Info-read-subfile): Use (point-min) instead of (point)
10091 to not add the length of the summary segment to the return value.
10094 2013-05-05 Leo Liu <sdl.web@gmail.com>
10096 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
10097 (inferior-octave-output-filter): Remove.
10098 (octave-send-region, inferior-octave-startup): Fix callers.
10099 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
10100 (octave-binary-file-extensions): New user variable.
10101 (octave-find-definition): Confirm if opening binary files.
10102 (octave-help-file): Use octave-find-definition to get the binary
10104 (octave-help): Adjust for octave-help-file change.
10106 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
10108 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
10109 Merge the two entries that handle function definitions.
10110 (pascal--syntax-propertize): New const.
10111 (pascal-mode): Use it. Use setq-local.
10113 2013-05-04 Glenn Morris <rgm@gnu.org>
10115 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
10116 (diary-from-outlook): Respect diary-from-outlook-function.
10118 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
10120 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
10121 Move the declaration from C.
10122 (read-minibuffer, eval-minibuffer): Move from C.
10123 (completion-setup-function): Avoid minibuffer-completion-contents.
10125 2013-05-03 Leo Liu <sdl.web@gmail.com>
10127 * progmodes/octave.el (octave-font-lock-keywords): Do not
10128 dehighlight 'end' in comments or strings.
10129 (octave-completing-read, octave-goto-function-definition):
10131 (octave-help-buffer): New user variable.
10132 (octave-help-file, octave-help-function): New button types.
10133 (octave-help): New command and bind it to C-h ;.
10134 (octave-find-definition): New command and bind it to M-.
10135 (user-error): Alias to error if not defined.
10137 2013-05-02 Leo Liu <sdl.web@gmail.com>
10139 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
10141 (octave-font-lock-keywords): Include [ and {.
10143 2013-05-02 Leo Liu <sdl.web@gmail.com>
10145 * progmodes/octave.el (inferior-octave-startup-file): Change default.
10146 (inferior-octave): Remove calling comint-mode and return the buffer.
10147 (inferior-octave-startup): Cosmetic changes.
10149 2013-05-02 Leo Liu <sdl.web@gmail.com>
10151 * progmodes/octave.el (octave-syntax-propertize-function):
10152 Include the case when ' is at line beginning. (Bug#14336)
10154 2013-05-02 Glenn Morris <rgm@gnu.org>
10156 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
10157 * desktop.el (vc-dir-mode): Just autoload it here.
10159 2013-05-02 Alan Mackenzie <acm@muc.de>
10161 Eliminate variable c-standard-font-lock-fontify-region-function.
10162 * progmodes/cc-mode.el
10163 (c-standard-font-lock-fontify-region-function): Remove.
10164 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
10166 2013-05-01 Leo Liu <sdl.web@gmail.com>
10168 * progmodes/octave.el: Compatible with older emacs-24 releases.
10169 (inferior-octave-has-built-in-variables): Remove. Built-in
10170 variables were removed from Octave in 2007.
10171 (inferior-octave-startup): Fix uses.
10172 (comint-line-beginning-position): Remove compatibility code for
10175 2013-05-01 Juri Linkov <juri@jurta.org>
10177 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
10179 2013-05-01 Juri Linkov <juri@jurta.org>
10181 * comint.el (comint-previous-matching-input): Don't print message
10182 "History item: %d" when `isearch-mode' is active.
10183 (comint-history-isearch-message): Print message "History item: %d"
10184 when `comint-input-ring-index' is not empty and this function is
10185 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
10187 2013-05-01 Leo Liu <sdl.web@gmail.com>
10189 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
10190 definitions. Use completion-at-point to insert keywords.
10191 (octave-abbrev-start): Remove.
10192 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
10194 2013-04-30 Leo Liu <sdl.web@gmail.com>
10196 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
10199 2013-04-30 Alan Mackenzie <acm@muc.de>
10201 Handle arbitrarily long C++ member initialisation lists.
10202 * progmodes/cc-engine.el (c-back-over-member-initializers):
10204 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
10205 (most) member init lists.
10207 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10209 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
10212 2013-04-30 Leo Liu <sdl.web@gmail.com>
10214 * progmodes/octave.el (octave-variables): Remove. No builtin
10215 variables any more. All converted to functions.
10216 (octave-font-lock-keywords, octave-completion-at-point-function):
10218 (octave-font-lock-texinfo-comment): New user variable.
10219 (octave-texinfo-font-lock-keywords): New variable for texinfo
10221 (octave-function-comment-block): New face.
10222 (octave-font-lock-texinfo-comment): New function.
10223 (octave-mode): Font lock texinfo comment block.
10225 2013-04-29 Leo Liu <sdl.web@gmail.com>
10227 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
10228 indexing expression.
10229 (octave-continuation-string): Do not use \.
10230 (inferior-octave-complete-impossible): Remove.
10231 (inferior-octave-completion-table)
10232 (inferior-octave-completion-at-point): Remove its uses.
10233 (inferior-octave-startup): completion_matches was introduced to
10234 Octave in 1996 so safe to assume it.
10235 (octave-function-file-comment): Improve to follow how Octave does it.
10236 (octave-update-function-file-comment): Tweak.
10238 2013-04-29 Leo Liu <sdl.web@gmail.com>
10240 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
10241 (inferior-octave-startup): Remove inferior-octave-startup-hook.
10242 (octave-function-file-comment): Fix typo.
10243 (octave-sync-function-file-names): Use read-char-choice.
10245 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
10247 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
10248 to t for the less important warnings.
10250 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
10252 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
10254 2013-04-27 Glenn Morris <rgm@gnu.org>
10256 * vc/log-view.el (log-view-current-entry):
10257 Treat "---" separator lines as part of the following rev. (Bug#14169)
10259 2013-04-27 Juri Linkov <juri@jurta.org>
10261 * subr.el (read-number): Doc fix about using it by interactive
10262 code letter `n'. (Bug#14254)
10264 2013-04-27 Juri Linkov <juri@jurta.org>
10266 * desktop.el (desktop-auto-save-timeout): New option.
10267 (desktop-file-checksum): New variable.
10268 (desktop-save): Add optional arg `auto-save' and don't auto-save
10269 if nothing changed.
10270 (desktop-auto-save-timer): New variable.
10271 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
10272 (after-init-hook): Call `desktop-auto-save-set-timer'.
10273 Suggested by Reuben Thomas <rrt@sc3d.org> in
10274 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
10276 2013-04-27 Leo Liu <sdl.web@gmail.com>
10278 * progmodes/octave.el (octave-function-file-p)
10279 (octave-skip-comment-forward, octave-function-file-comment)
10280 (octave-update-function-file-comment): New functions.
10281 (octave-mode-map): Bind C-c ; to
10282 octave-update-function-file-comment.
10283 (octave-mode-menu): Add octave-update-function-file-comment.
10284 (octave-mode, inferior-octave-mode): Fix doc-string.
10285 (octave-insert-defun): Conform to Octave's coding convention.
10288 * files.el (basic-save-buffer): Don't let errors in
10289 before-save-hook prevent saving buffer.
10291 2013-04-20 Roland Winkler <winkler@gnu.org>
10293 * faces.el (read-face-name): Use completing-read if arg multiple
10296 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10298 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10299 displayed, move point to after the totals line.
10300 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10303 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10305 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10306 Add current dir to the load-path.
10307 (package-generate-autoloads): Don't rely on
10308 autoload-ensure-default-file.
10310 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10312 * textmodes/remember.el (remember-store-in-files): Document that
10313 the file name format is passed to `format-time-string'.
10315 2013-04-26 Leo Liu <sdl.web@gmail.com>
10317 * progmodes/octave.el (octave-sync-function-file-names): New function.
10318 (octave-mode): Use it in before-save-hook.
10320 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10322 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10325 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10326 \n and comment, even if it's not an implicit ; (bug#14218).
10328 2013-04-26 Glenn Morris <rgm@gnu.org>
10330 * subr.el (read-number): Once more use `read' rather than
10331 `string-to-number', to trap non-numeric input. (Bug#14254)
10333 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10335 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10336 Use `syntax-multiline' text property consistently instead of
10337 `font-lock-multiline'. (Bug#14237)
10339 2013-04-26 Glenn Morris <rgm@gnu.org>
10341 * emacs-lisp/shadow.el (list-load-path-shadows):
10342 No longer necessary to check for duplicate simple.el, since
10343 2012-07-07 change to init_lread to not include installation lisp
10344 directories in load-path when running uninstalled. (Bug#14270)
10346 2013-04-26 Leo Liu <sdl.web@gmail.com>
10348 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10349 (octave-mode, inferior-octave-mode): Use setq-local.
10350 (octave-not-in-string-or-comment-p): Rename to
10351 octave-in-string-or-comment-p.
10352 (octave-in-comment-p, octave-in-string-p)
10353 (octave-in-string-or-comment-p): Replace defsubst with defun.
10355 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10357 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10359 2013-04-25 Bastien Guerry <bzg@gnu.org>
10361 * textmodes/remember.el (remember-data-directory)
10362 (remember-directory-file-name-format): Fix custom types.
10364 2013-04-25 Leo Liu <sdl.web@gmail.com>
10366 * progmodes/octave.el (octave-completion-at-point-function):
10367 Make use of inferior octave process.
10368 (octave-initialize-completions): Remove.
10369 (inferior-octave-completion-table): New function.
10370 (inferior-octave-completion-at-point): Use it.
10371 (octave-completion-alist): Remove.
10373 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10375 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10376 (opascal-mode-syntax-table): New var.
10377 (opascal-literal-kind, opascal-is-literal-end)
10378 (opascal-literal-token-at): Rewrite.
10379 (opascal--literal-start-re, opascal-font-lock-keywords)
10380 (opascal--syntax-propertize): New constants.
10381 (opascal-font-lock-defaults): Adjust.
10382 (opascal-mode): Use them. Set comment-<foo> variables as well.
10383 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10384 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10385 (delphi-other-face, opascal-other-face): Remove face variables.
10386 (opascal-save-state): Remove macro.
10387 (opascal-fontifying-progress-step): Remove constant.
10388 (opascal--ignore-changes): Remove var.
10389 (opascal-set-token-property, opascal-parse-next-literal)
10390 (opascal-is-stable-literal, opascal-complete-literal)
10391 (opascal-is-literal-start, opascal-face-of)
10392 (opascal-parse-region, opascal-parse-region-until-stable)
10393 (opascal-fontify-region, opascal-after-change)
10394 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10395 (opascal-debug-parse-region, opascal-debug-parse-window)
10396 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10397 (opascal-debug-fontify-buffer): Remove.
10398 (opascal-debug-mode-map): Adjust accordingly.
10400 2013-04-25 Leo Liu <sdl.web@gmail.com>
10402 Merge octave-mod.el and octave-inf.el into octave.el with some
10404 * progmodes/octave.el: New file renamed from octave-mod.el.
10405 * progmodes/octave-inf.el: Merged into octave.el.
10406 * progmodes/octave-mod.el: Renamed to octave.el.
10408 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10410 * textmodes/reftex-vars.el
10411 (reftex-label-ignored-macros-and-environments): New defcustom.
10413 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10415 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10417 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10418 (smie-indent-keyword): Improve the check to ensure that the next
10419 comment is really on the same line.
10420 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10422 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10423 semi-colons if the line is not otherwise empty (bug#14218).
10425 2013-04-25 Glenn Morris <rgm@gnu.org>
10427 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10429 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10431 * progmodes/opascal.el (opascal-set-token-property): Rename from
10432 opascal-set-text-properties and only set `token' (bug#14134).
10433 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10434 (opascal-literal-text-properties): Remove.
10435 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10438 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10440 * textmodes/remember.el (remember-handler-functions): Add an
10441 option for a new handler `remember-store-in-files'.
10442 (remember-data-directory, remember-directory-file-name-format):
10444 (remember-store-in-files): New function to store remember notes
10445 as separate files within a directory.
10447 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10449 * progmodes/compile.el (compilation-next-error-function):
10450 Pass "formats" to compilation-find-file (bug#11777).
10452 2013-04-24 Glenn Morris <rgm@gnu.org>
10454 * vc/vc-bzr.el (vc-bzr-print-log):
10455 * vc/vc-hg.el (vc-hg-print-log):
10456 * vc/vc-svn.el (vc-svn-print-log):
10457 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10459 * vc/vc-bzr.el (vc-bzr-print-log):
10460 * vc/vc-cvs.el (vc-cvs-print-log):
10461 * vc/vc-git.el (vc-git-print-log):
10462 * vc/vc-hg.el (vc-hg-print-log):
10463 * vc/vc-mtn.el (vc-mtn-print-log):
10464 * vc/vc-rcs.el (vc-rcs-print-log):
10465 * vc/vc-sccs.el (vc-sccs-print-log):
10466 * vc/vc-svn.el (vc-svn-print-log):
10467 * vc/vc.el (vc-print-log-internal): Doc fixes.
10469 2013-04-23 Glenn Morris <rgm@gnu.org>
10471 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10472 Remove venerable code attempting to avoid substitute-command-keys.
10474 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10476 * textmodes/reftex-vars.el (reftex-label-regexps):
10477 Call `reftex-compile-variables' after changes to this variable.
10479 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10481 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10482 Use lexical-binding.
10483 (jit-lock-force-redisplay): Use markers, check buffer's continued
10484 existence and beware narrowed buffers.
10485 (jit-lock-fontify-now): Adjust call accordingly.
10487 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10489 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10490 to avoid misleading the user.
10492 2013-04-22 Leo Liu <sdl.web@gmail.com>
10494 * info-look.el: Prefer latex2e.info. (Bug#14240)
10496 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10498 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10500 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10501 * net/tramp.el (tramp-call-process): ... here.
10502 (tramp-set-completion-function, tramp-parse-putty):
10503 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10504 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10505 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10506 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10507 (tramp-call-local-coding-command): Use `tramp-call-process'
10508 instead of `tramp-compat-call-process'.
10510 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10511 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10512 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10513 (tramp-find-inline-compress): Improve traces.
10514 (tramp-maybe-send-script): Check for Perl binary.
10515 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10517 2013-04-22 Daiki Ueno <ueno@gnu.org>
10519 * epg.el (epg-context-pinentry-mode): New function.
10520 (epg-context-set-pinentry-mode): New function.
10521 (epg--start): Pass --pinentry-mode option to gpg command.
10523 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10525 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10526 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10527 `completion-at-point'. (Bug#13774)
10529 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10530 default key binding for `describe-distribution' has been moved to
10531 `C-h C-o'. (Bug#13970)
10533 2013-04-21 Glenn Morris <rgm@gnu.org>
10535 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10537 (vc-print-log): Clarify interactive prompt.
10539 2013-04-20 Glenn Morris <rgm@gnu.org>
10541 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10542 No longer include timestamp etc information.
10544 2013-04-20 Roland Winkler <winkler@gnu.org>
10546 * faces.el (read-face-name): Bug fix, return just one face if arg
10547 multiple is nil. (Bug#14209)
10549 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10551 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10552 (remove-function): Autoload.
10554 * comint.el (comint-redirect-original-filter-function): Remove.
10555 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10556 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10557 (vc-cvs-annotate-command):
10558 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10559 * progmodes/prolog.el (prolog-consult-compile):
10560 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10561 Use add/remove-function instead.
10562 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10563 (gud-tooltip-process-output, gud-tooltip-tips):
10564 Use add/remove-function instead.
10565 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10566 (scheme-interaction-mode, exit-scheme-interaction-mode):
10567 Use add/remove-function instead.
10569 * vc/vc-dispatcher.el: Use lexical-binding.
10570 (vc--process-sentinel): Rename from vc-process-sentinel.
10571 Change last arg to be the code to run. Don't use vc-previous-sentinel
10572 and vc-sentinel-commands any more.
10573 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10574 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10576 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10578 * progmodes/sh-script.el (sh-imenu-generic-expression):
10579 Handle function names with a single character. (Bug#14111)
10581 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10583 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10584 for subroutines defined in an eval (bug#14182).
10586 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10588 * bookmark.el (bookmark-completing-read): Improve handling of empty
10589 string (bug#14176).
10591 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10593 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10595 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10597 New faster Imenu implementation (bug#14058).
10598 * progmodes/python.el:
10599 (python-imenu-prev-index-position):
10600 (python-imenu-format-item-label-function)
10601 (python-imenu-format-parent-item-label-function)
10602 (python-imenu-format-parent-item-jump-label-function):
10604 (python-imenu-format-item-label)
10605 (python-imenu-format-parent-item-label)
10606 (python-imenu-format-parent-item-jump-label)
10607 (python-imenu--put-parent, python-imenu--build-tree)
10608 (python-imenu-create-index, python-imenu-create-flat-index)
10609 (python-util-popn): New functions.
10610 (python-mode): Set imenu-create-index-function to
10611 python-imenu-create-index.
10613 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10615 * winner.el (winner-active-region): Use region-active-p, activate-mark
10616 and deactivate-mark (bug#14225).
10618 * simple.el (deactivate-mark): Don't inline it.
10620 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10622 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10624 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10626 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10627 file extensions from the archive-mode entry in order to prefer
10628 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10630 2013-04-18 Leo Liu <sdl.web@gmail.com>
10632 * bindings.el (help-event-list): Add ?\?.
10634 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10636 * subr.el (with-wrapper-hook): Declare obsolete.
10637 * simple.el (filter-buffer-substring-function): New hook.
10638 (filter-buffer-substring): Use it.
10639 (filter-buffer-substring-functions): Mark obsolete.
10640 * minibuffer.el (completion-in-region-function): New hook.
10641 (completion-in-region): Use it.
10642 (completion-in-region-functions): Mark obsolete.
10643 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10644 * abbrev.el (abbrev-expand-function): New hook.
10645 (expand-abbrev): Use it.
10646 (abbrev-expand-functions): Mark obsolete.
10647 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10648 and :filter-return.
10650 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10652 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10653 and do not care about match data.
10655 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10657 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10658 completion tables when completing error conditions and
10659 `declare' arguments.
10660 (lisp-complete-symbol, field-complete): Mark as obsolete.
10661 (check-parens): Unmatched parens are user errors.
10662 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10664 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10666 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10667 command changed buffer (ie. `flyspell-pre-buffer' is not current
10668 buffer), which prevents making decisions based on invalid value of
10669 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10670 cause an error when `flyspell-pre-point' was nil after switching
10672 (flyspell-post-command-hook): No longer needs to change buffers when
10673 checking pre-word. While at it remove unnecessary progn.
10675 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10677 * textmodes/ispell.el (ispell-add-per-file-word-list):
10678 Fix `flyspell-correct-word-before-point' error when accepting
10679 words and `coment-padding' is an integer by using
10680 `comment-normalize-vars' (Bug #14214).
10682 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10684 New defun movement commands.
10685 * progmodes/python.el (python-nav--syntactically)
10686 (python-nav--forward-defun, python-nav-backward-defun)
10687 (python-nav-forward-defun): New functions.
10689 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10691 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10692 (python-syntax-context): Use named compiler-macro for backwards
10693 compatibility with Emacs 24.x.
10695 2013-04-17 Leo Liu <sdl.web@gmail.com>
10697 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10698 octave-hide-process-buffer.
10700 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10702 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10705 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10707 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10708 Fix adjustment of offset when receiving incomplete responses from GDB
10711 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10713 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10714 python-mode-abbrev-table.
10715 (python-skeleton-define): Adjust accordingly.
10716 (python-mode-abbrev-table): New table that inherits from it so that
10717 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10719 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10720 (abbrev-symbol): Use it.
10721 (abbrev--before-point): Use it since we already handle inheritance.
10723 2013-04-16 Leo Liu <sdl.web@gmail.com>
10725 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10726 binding to info-lookup-symbol.
10728 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10730 * minibuffer.el (completion--twq-all):
10731 * term/ns-win.el (ns-initialize-window-system):
10732 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10734 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10736 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10739 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10741 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10743 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10744 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10746 (ruby-end-of-defun): Remove the unused arg, change the docstring
10747 to reflect that this function is only used as the value of
10748 `end-of-defun-function'.
10749 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10750 to reflect an earlier change that beginning/end-of-defun functions
10751 jump between methods in a class definition, as well as top-level
10754 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10756 * minibuffer.el (minibuffer-complete): Don't just scroll
10757 a *Completions* that's been iconified.
10758 (minibuffer-force-complete): Make sure repetitions do cycle when going
10759 through completion-in-region -> minibuffer-complete.
10761 2013-04-15 Alan Mackenzie <acm@muc.de>
10763 Correct the placement of c-cpp-delimiters when there're #s not at
10766 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10767 place a submatch around the #.
10768 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10769 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10772 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10774 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10775 (advice--member-p): New arg `name'.
10776 (advice--add-function, advice-member-p): Use it (bug#14202).
10778 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10780 Reformulate java imenu-generic-expression.
10781 The old expression contained ill formed regexps.
10783 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10784 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10785 (cc-imenu-java-method-arg-regexp): New defconsts.
10786 (cc-imenu-java-build-type-args-regex): New defun.
10787 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10788 handling of spaces in the regexp.
10790 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10792 * textmodes/ispell.el (ispell-command-loop): Remove
10793 flyspell highlight of a word when ispell accepts it (bug #14178).
10795 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10797 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10798 uses code from the previous `ange-ftp-run-real-handler'.
10799 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10800 only in case that function exist. This is needed for proper
10801 unloading of Tramp.
10803 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10805 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10807 * textmodes/reftex.el (reftex-compile-variables): Use it.
10809 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10811 * files.el (normal-mode): Only use default major-mode if no other mode
10814 * emacs-lisp/trace.el (trace-values): New function.
10816 * files.el: Allow : in local variables (bug#14089).
10817 (hack-local-variable-regexp): New var.
10818 (hack-local-variables-prop-line, hack-local-variables): Use it.
10820 2013-04-13 Roland Winkler <winkler@gnu.org>
10822 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10823 data before it gets modified by bibtex-beginning-of-entry.
10825 2013-04-13 Roland Winkler <winkler@gnu.org>
10827 * textmodes/bibtex.el (bibtex-url): Doc fix.
10829 2013-04-13 Roland Winkler <winkler@gnu.org>
10831 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10832 does not visit a BibTeX file, exclude it from the list of buffers
10833 returned by bibtex-initialize.
10835 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10837 * window.el (split-window): Remove interactive form, since as a
10838 command this function is a special case of split-window-below.
10839 Correct doc string.
10841 2013-04-12 Roland Winkler <winkler@gnu.org>
10843 * faces.el (read-face-name): Do not override value of arg default.
10844 Allow single faces and strings as default values. Remove those
10845 elements from return value that are not faces.
10846 (describe-face): Simplify.
10847 (face-at-point): New optional args thing and multiple so that this
10848 function can provide the same functionality previously provided by
10850 (make-face-bold, make-face-unbold, make-face-italic)
10851 (make-face-unitalic, make-face-bold-italic, invert-face)
10852 (modify-face, read-face-and-attribute): Use face-at-point.
10854 * cus-edit.el (customize-face, customize-face-other-window)
10855 * cus-theme.el (custom-theme-add-face)
10856 * face-remap.el (buffer-face-set)
10857 * facemenu.el (facemenu-set-face): Use face-at-point.
10859 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10861 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10863 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10865 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10866 off leading { and trailing } from field values.
10868 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10870 * emacs-lisp/timer.el (timer--check): New function.
10871 (timer--time, timer-set-function, timer-event-handler): Use it.
10872 (timer-set-idle-time): Simplify.
10873 (timer--activate): CSE.
10874 (timer-event-handler): Give more info in error message.
10875 (internal-timer-start-idle): New function, moved from C.
10877 * mpc.el (mpc-proc): Add `restart' argument.
10878 (mpc-proc-cmd): Use it.
10879 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10880 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10883 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10885 * progmodes/sh-script.el: Implement `sh-mode' own
10886 `add-log-current-defun-function' (bug#14112).
10887 (sh-current-defun-name): New function.
10888 (sh-mode): Use the function.
10890 2013-04-09 Bastien Guerry <bzg@gnu.org>
10892 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10894 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10896 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10898 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10901 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10903 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10906 2013-04-07 Leo Liu <sdl.web@gmail.com>
10908 * pcmpl-x.el: New file.
10910 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10912 Do not set x-display-name until X connection is established.
10913 This is needed to prevent from weird situation described at
10914 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10915 * frame.el (make-frame): Set x-display-name after call to
10916 window system initialization function, not before.
10917 * term/x-win.el (x-initialize-window-system): Add optional
10918 display argument and use it.
10919 * term/w32-win.el (w32-initialize-window-system):
10920 * term/ns-win.el (ns-initialize-window-system):
10921 * term/pc-win.el (msdos-initialize-window-system):
10922 Add compatible optional display argument.
10924 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10926 * files.el (normal-backup-enable-predicate): On MS-Windows and
10927 MS-DOS compare truenames of temporary-file-directory and of the
10928 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10929 don't fail comparison by compare-strings. Also, compare file
10930 names case-insensitively on MS-Windows and MS-DOS.
10932 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10934 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10935 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10937 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10939 * whitespace.el (whitespace-color-on, whitespace-color-off):
10940 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10942 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10944 * ispell.el (ispell-set-spellchecker-params):
10945 Really set `ispell-args' for all equivs.
10947 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10949 * ido.el (ido-completions): Use extra elements of ido-decorations
10951 (ido-decorations): Update docstring.
10953 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10955 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10956 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10957 nil during initialization, in order not to miss changes since the
10958 file was opened. (Bug#14140)
10960 2013-04-05 Leo Liu <sdl.web@gmail.com>
10962 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10964 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10966 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10968 2013-04-04 Glenn Morris <rgm@gnu.org>
10970 * electric.el (electric-pair-inhibit-predicate): Add :version.
10972 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10974 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10975 when a package is required several times (bug#14082).
10977 2013-04-04 Roland Winkler <winkler@gnu.org>
10979 * faces.el (read-face-name): Behave as promised by the docstring.
10980 Assume that arg default is a list of faces.
10981 (describe-face): Call read-face-name with list of default faces.
10983 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10985 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10986 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10987 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10989 (bookmark-exit-hook-internal): Save even if list is empty.
10991 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10993 * emacs-lisp/package.el (package-pinned-packages): New var.
10994 (package--add-to-archive-contents): Obey it (bug#14118).
10996 2013-04-03 Alan Mackenzie <acm@muc.de>
10998 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10999 Also adapt to the new values of element 7 of a parse state.
11001 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11002 parameter `not-in-delimiter'. Handle being inside comment opener.
11003 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11004 character in case we're typing a '*' after a '/'.
11005 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11006 instead by passing the parameter to c-state-pp-to-literal.
11008 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11009 for elt. 7 of a parse state.
11011 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
11013 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11014 * international/latin1-disp.el, international/mule-util.el:
11015 * language/cyril-util.el, language/european.el, language/ind-util.el:
11016 * language/lao-util.el, language/thai.el, language/tibet-util.el:
11017 * language/tibetan.el, language/viet-util.el:
11018 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11020 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
11022 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11023 (electric-pair-post-self-insert-function): Use it.
11024 (electric-pair-default-inhibit): New function, extracted from
11025 electric-pair-post-self-insert-function.
11027 2013-03-31 Roland Winkler <winkler@gnu.org>
11029 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11031 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
11033 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11035 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
11037 Un-indent after "pass" and "return" statements (Bug#13888)
11038 * progmodes/python.el (python-indent-block-enders): New var.
11039 (python-indent-calculate-indentation): Use it.
11041 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
11043 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
11044 defun. Defining it as defalias could introduce too eager
11045 byte-compiler optimization. (Bug#14030)
11047 2013-03-30 Chong Yidong <cyd@gnu.org>
11049 * iswitchb.el (iswitchb-read-buffer): Fix typo.
11051 2013-03-30 Leo Liu <sdl.web@gmail.com>
11053 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
11054 (kmacro-execute-from-register): Pass the keyboard macro to
11055 kmacro-call-macro or repeating won't work correctly.
11057 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
11059 * progmodes/subword.el: Back to using `forward-symbol'.
11061 * subr.el (forward-whitespace, forward-symbol)
11062 (forward-same-syntax): Move from thingatpt.el.
11064 2013-03-29 Leo Liu <sdl.web@gmail.com>
11066 * kmacro.el (kmacro-to-register): New command.
11067 (kmacro-execute-from-register): New function.
11068 (kmacro-keymap): Bind to 'x'. (Bug#14071)
11070 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
11072 * mpc.el: Use defvar-local and setq-local.
11073 (mpc--proc-connect): Connection failures are not bugs.
11074 (mpc-mode-map): `follow-link' only applies to the buffer's content.
11075 (mpc-volume-map): Bind to the up-events.
11077 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
11079 * progmodes/subword.el (superword-mode): Use `forward-sexp'
11080 instead of `forward-symbol'.
11082 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
11084 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
11085 (edebug--recursive-edit): Use it.
11086 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
11087 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
11089 2013-03-28 Leo Liu <sdl.web@gmail.com>
11091 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
11093 2013-03-27 Eli Zaretskii <eliz@gnu.org>
11095 * facemenu.el (list-colors-callback): New defvar.
11096 (list-colors-redisplay): New function.
11097 (list-colors-display): Install list-colors-redisplay as the
11098 revert-buffer-function. (Bug#14063)
11100 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11102 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
11103 and suffixes don't overlap (bug#14061).
11105 * case-table.el: Use lexical-binding.
11106 (case-table-get-table): New function.
11107 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
11109 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
11111 * progmodes/subword.el: Add `superword-mode' to do word motion
11112 over symbol_words (parallels and leverages `subword-mode' which
11113 does word motion inside MixedCaseWords).
11115 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
11117 * eshell/em-unix.el: Move su and sudo to...
11118 * eshell/em-tramp.el: ...Eshell tramp module.
11120 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11122 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
11123 Change return value to be a sexp. Delay `get-buffer' to after
11124 restoring the desktop (bug#13951).
11126 2013-03-26 Leo Liu <sdl.web@gmail.com>
11128 * register.el: Move semantic tag handling back to
11129 cedet/semantic/senator.el. (Bug#14052)
11131 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11133 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
11134 into the prompt either (bug#13963).
11136 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
11138 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
11139 part of "(error-foo)".
11141 2013-03-24 Juri Linkov <juri@jurta.org>
11143 * replace.el (list-matching-lines-prefix-face): New defcustom.
11144 (occur-1): Pass `list-matching-lines-prefix-face' to the function
11145 `occur-engine' if `face-differs-from-default-p' returns t.
11146 (occur-engine): Add `,' inside backquote construct to evaluate
11147 `prefix-face'. Propertize the prefix with the `prefix-face' face.
11148 Pass `prefix-face' to the functions `occur-context-lines' and
11149 `occur-engine-add-prefix'.
11150 (occur-engine-add-prefix, occur-context-lines): Add optional arg
11151 `prefix-face' and propertize the prefix with `prefix-face'.
11154 2013-03-24 Leo Liu <sdl.web@gmail.com>
11156 * nxml/rng-valid.el (rng-validate-while-idle)
11157 (rng-validate-quick-while-idle): Guard against deleted buffer.
11160 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
11161 is the last entry in kill-buffer-hook.
11163 * files.el (kill-buffer-hook): Doc fix.
11165 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
11167 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
11168 Make it safe-local.
11170 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
11172 2013-03-23 Leo Liu <sdl.web@gmail.com>
11174 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
11177 * nxml/rng-valid.el (rng-validate-mode)
11178 (rng-after-change-function, rng-do-some-validation):
11179 * nxml/rng-maint.el (rng-validate-buffer):
11180 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
11181 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
11182 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
11183 (nxml-extend-after-change-region): Use with-silent-modifications.
11185 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
11188 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
11189 (rng-next-error-1, rng-previous-error-1): Do not let-bind
11190 timer-idle-list. (Bug#13999)
11192 2013-03-23 Juri Linkov <juri@jurta.org>
11194 * info.el (info-index-match): New face.
11195 (Info-index, Info-apropos-matches): Add a nested subgroup to the
11196 main pattern and add text properties with the new face to matches
11197 in index entries relative to the beginning of the index entry.
11200 2013-03-21 Eric Ludlam <zappo@gnu.org>
11202 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
11203 Inhibit read only while inserting objects.
11205 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
11207 * progmodes/cfengine.el: Update docs to mention
11208 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
11209 symbol motion. Remove "_" from the word syntax.
11211 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
11213 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
11214 syntax for both `cfengine2-mode' and `cfengine3-mode'.
11216 2013-03-20 Juri Linkov <juri@jurta.org>
11218 * info.el (Info-next-reference-or-link)
11219 (Info-prev-reference-or-link): New functions.
11220 (Info-next-reference, Info-prev-reference): Use them.
11221 (Info-try-follow-nearest-node): Handle footnote navigation.
11222 (Info-fontify-node): Fontify footnotes. (Bug#13989)
11224 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
11226 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
11227 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
11229 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
11231 Suppress unnecessary non-ASCII chatter during build process.
11232 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
11233 (batch-skkdic-convert): Suppress most of the chatter.
11234 It's not needed so much now that machines are faster,
11235 and its non-ASCII component was confusing; see Dmitry Gutov in
11236 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
11238 2013-03-20 Leo Liu <sdl.web@gmail.com>
11240 * ido.el (ido-chop): Fix bug#10994.
11242 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11244 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
11246 (whitespace-color-on, whitespace-color-off):
11247 Use `font-lock-fontify-buffer' (Bug#13817).
11249 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
11251 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
11252 remapping in mode-line.
11253 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
11255 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
11257 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
11258 value for `whitespace-line' face (Bug#13875).
11259 (whitespace-font-lock-keywords): Change description.
11260 (whitespace-color-on): Don't save `font-lock-keywords' value, save
11261 the constructed keywords instead.
11262 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
11264 2013-03-19 Leo Liu <sdl.web@gmail.com>
11266 * progmodes/compile.el (compilation-display-error): New command.
11267 (compilation-mode-map, compilation-minor-mode-map): Bind it to
11270 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11272 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
11274 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
11276 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11278 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11280 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11282 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11283 * net/tramp-gvfs.el (top):
11284 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11285 (tramp-handle-shell-command): Use it.
11286 (tramp-dissect-file-name): Raise an error when hostname is a
11287 method name, and neither method nor user is specified.
11289 * net/trampver.el: Update release number.
11291 2013-03-18 Leo Liu <sdl.web@gmail.com>
11293 Make sure eldoc can be turned off properly.
11294 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11296 (eldoc-display-message-p): Revert last change.
11297 (eldoc-display-message-no-interference-p)
11298 (eldoc-print-current-symbol-info): Tweak.
11300 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11302 * doc-view.el (doc-view-new-window-function): Check the new window
11303 overlay's display property instead the char property of the
11304 buffer's first char. Use `with-selected-window' instead of
11305 `save-window-excursion' with `select-window'.
11306 (doc-view-document->bitmap): Check the current doc-view overlay's
11307 display property instead the char property of the buffer's first char.
11309 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11311 Automate the build of ja-dic.el (Bug#13984).
11312 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11313 from the input, rather than assume that it's been done for us by the
11314 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11315 the current date into a ja-dic.el comment, as that complicates
11316 regression testing.
11318 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11320 * whitespace.el: Fix double evaluation.
11321 (whitespace-space, whitespace-hspace, whitespace-tab)
11322 (whitespace-newline, whitespace-trailing, whitespace-line)
11323 (whitespace-space-before-tab, whitespace-indentation)
11324 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11326 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11327 (whitespace-color-on): Use a single font-lock-add-keywords call.
11328 Fix double-evaluation of face variables.
11330 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11332 * net/tramp-adb.el (tramp-adb-parse-device-names):
11333 Use `start-process' instead of `call-process'. Otherwise, the
11334 function might be blocked under MS Windows. (Bug#13299)
11336 2013-03-17 Leo Liu <sdl.web@gmail.com>
11338 Extend eldoc to display info in the mode-line. (Bug#13978)
11339 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11340 (eldoc-mode-line-string): New variable.
11341 (eldoc-minibuffer-message): New function.
11342 (eldoc-message-function): New variable.
11343 (eldoc-message): Use it.
11344 (eldoc-display-message-p)
11345 (eldoc-display-message-no-interference-p):
11346 Support eldoc-post-insert-mode.
11348 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11349 (eval-expression): Run it.
11351 2013-03-17 Roland Winkler <winkler@gnu.org>
11353 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11354 strings in the list of return values.
11356 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11358 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11359 radix before checking for HMS forms.
11361 2013-03-16 Leo Liu <sdl.web@gmail.com>
11363 * progmodes/scheme.el: Add indentation and font-locking for λ.
11366 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11368 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11369 token before point (bug#13942).
11371 2013-03-16 Leo Liu <sdl.web@gmail.com>
11373 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11375 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11377 * startup.el (command-line-normalize-file-name): Fix handling of
11378 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11379 <xfq.free@gmail.com> in
11380 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11382 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11384 Sync with Tramp 2.2.7.
11386 * net/trampver.el: Update release number.
11388 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11390 * doc-view.el: Fix bug#13887.
11391 (doc-view-insert-image): Don't modify overlay associated to
11392 non-live windows, and implement horizontal centering of image in
11393 case it's smaller than the window.
11394 (doc-view-new-window-function): Force redisplay of new windows on
11397 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11399 * saveplace.el (save-place-alist-to-file): Don't sort
11400 `save-place-alist', just pretty-print it (bug#13882).
11402 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11404 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11405 Check whether `default-file-name-coding-system' is bound.
11406 It isn't in XEmacs.
11408 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11410 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11411 backquotes for `obsolete' (bug#13929).
11413 * international/mule.el (find-auto-coding): Include file name in
11414 obsolescence warning (bug#13922).
11416 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11418 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11419 for CFEngine 3-specific indentation.
11420 (cfengine3-indent-line): Use it. Fix up category regex.
11421 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11423 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11425 * type-break.el (type-break-file-name):
11426 * textmodes/remember.el (remember-data-file):
11427 * strokes.el (strokes-file):
11428 * shadowfile.el (shadow-initialize):
11429 * saveplace.el (save-place-file):
11430 * ps-bdf.el (bdf-cache-file):
11431 * progmodes/idlwave.el (idlwave-config-directory):
11432 * net/quickurl.el (quickurl-url-file):
11433 * international/kkc.el (kkc-init-file-name):
11434 * ido.el (ido-save-directory-list-file):
11435 * emulation/viper.el (viper-custom-file-name):
11436 * emulation/vip.el (vip-startup-file):
11437 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11438 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11440 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11442 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11443 * language/thai-word.el: Switch to UTF-8.
11445 See ChangeLog.16 for earlier changes.
11447 ;; Local Variables:
11451 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11453 This file is part of GNU Emacs.
11455 GNU Emacs is free software: you can redistribute it and/or modify
11456 it under the terms of the GNU General Public License as published by
11457 the Free Software Foundation, either version 3 of the License, or
11458 (at your option) any later version.
11460 GNU Emacs is distributed in the hope that it will be useful,
11461 but WITHOUT ANY WARRANTY; without even the implied warranty of
11462 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11463 GNU General Public License for more details.
11465 You should have received a copy of the GNU General Public License
11466 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.