1 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3 * window.el (window--pixel-to-total): Remove unused `mini' var.
4 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5 (split-window): Remove unused `new' var.
6 (window--display-buffer): Remove unused `frame' and `delta' vars.
7 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
10 2013-12-17 Martin Rudalics <rudalics@gmx.at>
12 * dired.el (dired-mark-pop-up):
13 * register.el (register-preview): Don't bind
14 split-height-threshold here since it's now done in
15 display-buffer-below-selected.
17 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
19 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
20 xterm-rgb-convert-to-16bit.
21 (rxvt-register-default-colors): Standardize with
22 xterm-register-default-colors (Bug#14078).
24 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
26 * simple.el (kill-region): Pass mark first, then point, so that
27 kill-append works right (Bug#12819).
28 (copy-region-as-kill, kill-ring-save): Likewise.
30 2013-12-17 Leo Liu <sdl.web@gmail.com>
32 * net/rcirc.el (rcirc-add-face):
33 * eshell/em-prompt.el (eshell-emit-prompt):
34 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
37 2013-12-17 Chong Yidong <cyd@gnu.org>
39 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
40 Suggested by Xue Fuqiao.
42 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
44 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
46 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
48 * net/shr.el (shr-insert-document): Remove unused var
49 `shr-preliminary-table-render'.
50 (shr-rescale-image): Remove unused arg `force'.
51 (shr-put-image): Update calls accordingly.
52 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
54 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
56 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
57 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
58 :close-all, to see which indentation method to use (Bug#16116).
59 (smie-rules-function): Document the method :close-all.
61 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
63 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
65 * net/eww.el (eww-display-html): If we can't find the anchor we're
66 looking for, then go to point-min.
68 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
70 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
71 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
72 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
73 Expand dir too, in case it's relative.
75 2013-12-16 Juri Linkov <juri@jurta.org>
77 * desktop.el (desktop-auto-save-timeout): Change default to
78 `auto-save-timeout'. Doc fix.
79 (desktop-save): Skip the timestamp in desktop-saved-frameset
80 when checking for auto-save changes.
81 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
82 `desktop-auto-save' is called repeatedly by the idle timer.
83 (desktop-auto-save-set-timer): Replace `run-with-timer' with
84 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
87 2013-12-16 Juri Linkov <juri@jurta.org>
89 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
91 (isearch-pre-command-hook): Check `this-command' for symbolp.
93 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
95 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
97 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
99 * progmodes/cfengine.el (cfengine3--current-word): Remove.
100 (cfengine3--current-function): Bring in the current-function
101 functionality from `cfengine3--current-word'.
102 (cfengine3-completion-function): Bring in the
103 bounds-of-current-word functionality from
104 `cfengine3--current-word'.
106 2013-12-16 Martin Rudalics <rudalics@gmx.at>
108 * window.el (display-buffer-below-selected):
109 Bind split-height-threshold to 0 as suggested by Juri Linkov.
111 2013-12-16 Leo Liu <sdl.web@gmail.com>
113 * progmodes/compile.el (compile-goto-error): Do not push-mark.
114 Remove NOMSG arg and all uses changed.
116 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
118 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
119 (cua--deactivate-rectangle): Don't deactivate the mark.
120 (cua-set-rectangle-mark): Don't set mark-active since
121 cua--activate-rectangle already does it for us.
122 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
123 non-rectangular region.
125 * emulation/cua-base.el (cua-repeat-replace-region):
126 Use with-current-buffer.
128 * net/gnutls.el: Use cl-lib.
129 (gnutls-negotiate): `mapcan' -> cl-mapcan.
131 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
133 * emacs-lisp/package.el (package-built-in-p): Support both
134 built-in and the package.el converted package descriptions.
135 (package-show-package-list): Allow keywords.
136 (package-keyword-button-action): Use it instead of
137 `finder-list-matches'.
138 (package-menu-filter-interactive): Interactive filtering (by
140 (package-menu--generate): Support keywords and change keymappings
141 and headers when they are given.
142 (package--has-keyword-p): Helper function.
143 (package-menu--refresh): Use it.
144 (package--mapc): Helper function.
145 (package-all-keywords): Use it.
146 (package-menu-mode-map): Set up menu items and keybindings to
147 provide a filtering UI.
149 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
151 * net/gnutls.el (gnutls-verify-error): New defcustom to control
152 the behavior when a certificate fails validation. Defaults to
153 old behavior: never abort, just warn.
154 (gnutls-negotiate): Use it.
156 2013-12-14 Martin Rudalics <rudalics@gmx.at>
158 * window.el (display-buffer-below-selected): Never split window
159 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
161 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
163 * emacs-lisp/package.el (package--prepare-dependencies): New function.
164 (package-buffer-info): Use it (bug#15108).
166 * icomplete.el (icomplete-completions): Make sure the prefix is already
167 displayed elsewhere before hiding it.
169 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
171 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
172 open-paren tokens when preceded by a open-paren, too.
173 (ruby-smie-rules): Handle virtual indentation after open-paren
174 tokens specially. If there is code between it and eol, return the
175 column where is starts (Bug#16118).
177 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
179 * progmodes/cfengine.el: Fix `add-hook' doc.
180 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
181 (cfengine3--current-word): Fix parameters.
182 (cfengine3-make-syntax-cache): Simplify further.
183 (cfengine3-completion-function, cfengine3--current-function):
184 Use `assq' for symbols.
185 (cfengine3--current-function): Fix `cfengine3--current-word' call.
187 2013-12-13 Glenn Morris <rgm@gnu.org>
189 * loadup.el (load-path): Warn if site-load or site-init changes it.
190 No more need to reset it when bootstrapping.
192 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
194 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
195 locations for cf-promises.
196 (cfengine-mode-syntax-functions-regex): New caching variable.
197 (cfengine3-fallback-syntax): Fallback syntax for cases where
198 cf-promises doesn't run.
199 (cfengine3--current-word): Reimplement using
200 `cfengine-mode-syntax-functions-regex'.
201 (cfengine3-completion-function, cfengine3--current-function):
202 Use `cfengine3-make-syntax-cache' directly.
203 (cfengine3-clear-syntax-cache): New function.
204 (cfengine3-make-syntax-cache): Simplify and create
205 `cfengine-mode-syntax-functions-regex' on demand.
206 (cfengine3-format-function-docstring): Don't call
207 `cfengine3-make-syntax-cache' explicitly.
209 2013-12-13 Martin Rudalics <rudalics@gmx.at>
211 Fix windmove-find-other-window broken after pixelwise resizing
213 * windmove.el (windmove-other-window-loc): Revert change from
215 (windmove-find-other-window): Call window-in-direction.
216 * window.el (window-in-direction): New arguments SIGN, WRAP and
217 MINI to emulate original windmove-find-other-window behavior.
219 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
221 * simple.el (blink-matching--overlay): New variable.
222 (blink-matching-open): Instead of moving point, highlight the
223 matching paren with an overlay
224 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
226 * faces.el (paren-showing-faces, show-paren-match)
227 (show-paren-mismatch): Move from paren.el.
229 2013-12-13 Leo Liu <sdl.web@gmail.com>
231 * indent.el (indent-region): Disable progress reporter in
232 minibuffer. (Bug#16108)
234 * bindings.el (visual-order-cursor-movement): Fix version.
236 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
238 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
239 Also match after beginning of line.
240 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
241 files. Thanks to Russell Sim. (Bug#15378)
243 2013-12-13 Juri Linkov <juri@jurta.org>
245 * simple.el <Keypad support>: Remove key bindings duplicated
246 with bindings.el. (Bug#14397)
248 2013-12-13 Juri Linkov <juri@jurta.org>
250 * comint.el (comint-mode-map): Replace `delete-char' with
251 `delete-forward-char'. (Bug#16109)
253 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
255 * progmodes/python.el (python-indent-calculate-indentation):
256 Fix de-denters cornercase. (Bug#15731)
258 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
260 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
261 (advice--make): Pay attention to `depth'.
262 (advice--make-1): Don't autoload commands eagerly.
263 * emacs-lisp/elp.el (elp-instrument-function):
264 * emacs-lisp/trace.el (trace-function-internal):
265 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
267 * iswitchb.el (iswitchb-mode): Don't belittle ido.
269 2013-12-12 Eli Zaretskii <eliz@gnu.org>
271 * term/w32-win.el (w32-handle-dropped-file):
272 * startup.el (normal-top-level):
273 * net/browse-url.el (browse-url-file-url):
274 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
275 decode file names using 'utf-8' rather than
276 file-name-coding-system.
278 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
280 * progmodes/python.el (python-indent-context)
281 (python-indent-calculate-indentation): Fix auto-identation
282 behavior for comment blocks. (Bug#15916)
284 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
286 * progmodes/python.el (python-indent-calculate-indentation):
287 When determining indentation, don't treat "return", "pass", etc., as
288 operators when they are just string constituents. (Bug#15812)
290 2013-12-12 Juri Linkov <juri@jurta.org>
292 * uniquify.el (uniquify-buffer-name-style): Change default to
293 `post-forward-angle-brackets'.
295 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
296 `uniquify'. Change default to `post-forward-angle-brackets'.
298 2013-12-11 Glenn Morris <rgm@gnu.org>
300 * emacs-lisp/package.el (finder-list-matches):
301 Autoload rather than falsely declaring.
303 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
305 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
306 (eww-mode-map): Use them.
308 2013-12-11 Martin Rudalics <rudalics@gmx.at>
310 * window.el (display-buffer-in-side-window): Fix doc-string
313 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
315 * vc/vc-git.el: Silence byte-compiler warnings.
316 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
317 (log-edit-set-header): Declare.
319 2013-12-11 Eli Zaretskii <eliz@gnu.org>
321 * Makefile.in (custom-deps, finder-data): Run output file names
322 through unmsys--file-name. (Bug#16099)
324 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
326 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
327 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
329 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
330 instead of deleting the selection "by hand" (bug#16098).
331 Rely on insert-for-yank to yank rectangles.
332 (cua-highlight-region-shift-only): Mark obsolete.
333 (cua-mode): Don't enable/disable transient-mark-mode,
334 shift-select-mode (cua-mode works both with and without them), and
335 pc-selection-mode (obsolete).
336 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
337 (cua--deactivate-rectangle): Deactivate it.
339 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
340 (delete-selection-helper): Make sure yank starts at the top of the
342 (minibuffer-keyboard-quit): Use region-active-p.
344 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
346 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
347 to `delete' (bug#16109).
349 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
351 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
352 info manual and show keybindings and set `:group' keyword.
354 2013-12-11 Juri Linkov <juri@jurta.org>
356 * delsel.el (delete-active-region): Let-bind `this-command'
357 to prevent `kill-region' from changing its original value.
358 (delete-selection-helper): Handle `overwrite-mode' for the type
359 `kill' exactly the same way as for the type `t'.
360 (insert-char, quoted-insert, reindent-then-newline-and-indent):
361 Support more commands. (Bug#13312)
363 2013-12-11 Juri Linkov <juri@jurta.org>
365 * bindings.el: Map kp keys to non-kp keys systematically
366 with basic modifiers control, meta and shift. (Bug#14397)
368 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
370 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
371 "Close browser" menu items. Fix wrong function of "List
374 2013-12-11 Juri Linkov <juri@jurta.org>
376 * misearch.el (multi-isearch-buffers): Set the value of
377 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
378 arg of isearch-forward to t.
379 (multi-isearch-buffers-regexp): Set the value of
380 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
381 arg of isearch-forward-regexp to t.
382 (multi-isearch-files): Set the value of
383 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
384 arg of isearch-forward to t.
385 (multi-isearch-files-regexp): Set the value of
386 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
387 arg of isearch-forward-regexp to t. (Bug#16035)
389 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
390 arg of isearch-forward to t.
391 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
392 arg of isearch-forward-regexp to t.
393 (dired-isearch-filter-filenames): Remove unnecessary check for
394 `dired-isearch-filenames'.
396 * comint.el (comint-history-isearch-backward):
397 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
398 (comint-history-isearch-backward-regexp):
399 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
401 2013-12-10 Eli Zaretskii <eliz@gnu.org>
403 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
404 unmsys--file-name. (Bug#16099)
406 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
408 * emacs-lisp/package.el (package-keyword-button-action):
409 Remove finder.el require dependency.
411 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
413 * emacs-lisp/package.el: Require finder.el.
414 (describe-package-1): Add keyword buttons.
415 (package-make-button): New convenience function.
416 (package-keyword-button-action): Keyword button action using
417 `finder-list-matches'
419 2013-12-09 Eli Zaretskii <eliz@gnu.org>
421 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
424 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
426 * autorevert.el (auto-revert-notify-add-watch): Do not handle
429 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
431 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
432 after the end of a percent literal.
434 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
436 * progmodes/ruby-mode.el (ruby-forward-string): Document.
437 Handle caret-delimited strings (Bug#16079).
439 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
441 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
442 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
443 `ruby-parse-partial' (Bug#16078).
445 2013-12-09 Leo Liu <sdl.web@gmail.com>
447 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
449 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
451 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
452 (js-switch-indent-offset): New option.
453 (js--proper-indentation): Use it. And handle the case when
454 "default" is actually a key in an object literal.
455 (js--same-line): New function.
456 (js--multi-line-declaration-indentation): Use it.
457 (js--indent-in-array-comp, js--array-comp-indentation):
459 (js--proper-indentation): Use them, to handle array comprehension
462 2013-12-08 Leo Liu <sdl.web@gmail.com>
464 * progmodes/flymake.el (flymake-highlight-line): Re-write.
465 (flymake-make-overlay): Remove arg MOUSE-FACE.
466 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
468 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
470 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
472 (redisplay-highlight-region-function): Use it.
474 * emulation/cua-base.el (cua--explicit-region-start)
475 (cua--last-region-shifted): Remove.
476 (cua--deactivate): Use deactivate-mark.
477 (cua--pre-command-handler-1): Don't handle shift-selection.
478 (cua--post-command-handler-1): Don't change transient-mark-mode.
479 (cua--select-keymaps): Use region-active-p rather than
480 cua--explicit-region-start or cua--last-region-shifted.
481 (cua-mode): Enable shift-select-mode.
483 2013-12-08 Leo Liu <sdl.web@gmail.com>
485 * progmodes/flymake.el (flymake-popup-current-error-menu):
486 Rename from flymake-display-err-menu-for-current-line. Reimplement.
487 (flymake-posn-at-point-as-event, flymake-popup-menu)
488 (flymake-make-emacs-menu): Remove. (Bug#16077)
490 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
492 * rect.el (rectangle-mark-mode): Activate mark even if
493 transient-mark-mode is off (bug#16066).
494 (rectangle--highlight-for-redisplay): Fix boundary condition when point
495 is > mark and at bolp.
497 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
498 (region-extract-function): Use it.
499 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
500 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
502 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
503 kill-ring-save, kill-region, delete-char, delete-forward-char.
504 Ignore self-insert-iso.
506 * emulation/cua-gmrk.el (cua--init-global-mark):
507 Ignore `self-insert-iso'.
509 * emulation/cua-base.el (cua--prefix-copy-handler)
510 (cua--prefix-cut-handler): Rely on region-extract-function rather than
511 checking cua--rectangle.
512 (cua-delete-region): Use region-extract-function.
513 (cua-replace-region): Delete function.
514 (cua-copy-region, cua-cut-region): Obey region-extract-function.
515 (cua--pre-command-handler-1): Don't do the delete-selection thing.
516 (cua--self-insert-char-p): Ignore `self-insert-iso'.
517 (cua--init-keymaps): Don't remap delete-selection commands.
518 (cua-mode): Use delete-selection-mode instead of rolling our own
521 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
522 Obey region-extract-function.
524 Make registers and delete-selection-mode work on rectangles.
525 * register.el (describe-register-1): Don't modify the register's value.
526 (copy-to-register): Obey region-extract-function.
527 * delsel.el (delete-active-region): Obey region-extract-function.
529 2013-12-08 Leo Liu <sdl.web@gmail.com>
531 * progmodes/flymake.el (flymake, flymake-error-bitmap)
532 (flymake-warning-bitmap, flymake-fringe-indicator-position)
533 (flymake-compilation-prevents-syntax-check)
534 (flymake-start-syntax-check-on-newline)
535 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
536 (flymake-start-syntax-check-on-find-file, flymake-log-level)
537 (flymake-xml-program, flymake-master-file-dirs)
538 (flymake-master-file-count-limit)
539 (flymake-allowed-file-name-masks): Relocate.
540 (flymake-makehash, flymake-float-time)
541 (flymake-replace-regexp-in-string, flymake-split-string)
542 (flymake-get-temp-dir): Remove.
543 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
544 (flymake-current-row, flymake-selected-frame)
545 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
546 related functions. (Bug#16077)
548 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
550 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
552 2013-12-07 Tassilo Horn <tsdh@gnu.org>
554 * help-fns.el (describe-function-1): Use new advice-* functions
555 rather than old ad-* functions. Fix function type description and
556 source links for advised functions and subrs.
558 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
560 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
562 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
564 * progmodes/compile.el (compilation-start):
565 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
567 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
568 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
570 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
572 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
573 Touch up the last change.
575 2013-12-06 Leo Liu <sdl.web@gmail.com>
577 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
578 (inferior-octave-startup): Always use "octave> " for prompt.
579 (octave-goto-function-definition)
580 (octave-sync-function-file-names)
581 (octave-find-definition-default-filename): Remove redundant backquotes.
583 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
585 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
587 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
588 where appropriate already.
589 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
590 end of method names (Bug#15874).
592 2013-12-06 Juri Linkov <juri@jurta.org>
594 * isearch.el (isearch--saved-overriding-local-map):
595 New internal variable.
596 (isearch-mode): Set it to the initial value of
597 `overriding-terminal-local-map'.
598 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
599 with `isearch--saved-overriding-local-map'. (Bug#16035)
601 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
603 * progmodes/octave.el (inferior-octave-completion-table):
604 Turn back into function, use `completion-table-with-cache'
605 (Bug#11906). Update all references.
607 * minibuffer.el (completion-table-with-cache): New function.
609 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
611 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
613 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
615 * net/eww.el (eww-current-source): New variable to store page
617 (eww-display-html, eww-mode, eww-save-history)
618 (eww-restore-history): Use it.
619 (eww-view-source): New command to view page source.
620 Opportunistically uses `html-mode' to highlight the buffer.
621 (eww-mode-map): Install it.
623 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
625 * net/dbus.el (dbus-unregister-service)
626 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
628 (dbus-unregister-service): Skip :serial entries in
629 `dbus-registered-objects-table'.
630 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
632 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
634 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
635 around keywords with extra `split-string' argument.
637 2013-12-04 Martin Rudalics <rudalics@gmx.at>
639 * windmove.el (windmove-other-window-loc): Handle navigation
640 between windows (excluding the minibuffer window - Bug#16017).
642 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
644 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
645 in D-Bus type syntax.
646 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
647 preserve unibyte strings. (Bug#16048)
649 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
651 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
652 Call force-mode-line-update is the proper buffer (bug#16042).
654 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
656 * vc/log-edit.el (log-edit-add-new-comment): Rename to
657 `log-edit-remember-comment', make argument optional. Adjust all
659 (log-edit-mode): Add `log-edit-remember-comment' to
660 `kill-buffer-hook' locally.
661 (log-edit-kill-buffer): Don't remember comment explicitly since
662 the buffer is killed anyway.
664 2013-12-04 Juri Linkov <juri@jurta.org>
666 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
667 add-hook and remove-hook for multi-buffer search. (Bug#16035)
669 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
671 * notifications.el (notifications-close-notification): Call the
672 D-Bus method with ID being a `:uint32'. (Bug#16030)
674 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
676 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
678 2013-12-03 Juri Linkov <juri@jurta.org>
680 * progmodes/compile.el (compilation-start): Rename window alist
681 entry `no-display-ok' to `allow-no-window'.
683 * simple.el (shell-command): Add window alist entry
684 `allow-no-window' to `display-buffer'.
685 (async-shell-command): Doc fix.
687 * window.el (display-buffer-no-window): New action function.
688 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
690 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
692 * vc/log-edit.el (log-edit-set-header): Extract from
693 `log-edit-toggle-header'.
694 (log-edit-extract-headers): Separate the summary, when extracted
695 from header, from the rest of the message with an empty line.
697 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
698 line, if present, to the Summary header.
700 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
702 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
703 in current-buffer (bug#16029).
705 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
707 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
708 (debugger-mode-map): Bind it.
709 (debugger--backtrace-base): New function.
710 (debugger-eval-expression): Use it.
711 (debugger-frame-number): Skip local vars when present.
712 (debugger--locals-visible-p, debugger--insert-locals)
713 (debugger--show-locals, debugger--hide-locals): New functions.
715 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
717 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
719 (tramp-get-remote-locale): New defun.
720 (tramp-open-connection-setup-interactive-shell): Use it.
722 2013-12-02 Leo Liu <sdl.web@gmail.com>
724 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
726 * progmodes/sh-script.el (sh-shell-process):
727 * progmodes/octave.el (inferior-octave-process-live-p):
728 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
729 (gdb-inferior-io-sentinel):
730 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
732 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
734 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
735 `save-selected-window' to `log-edit-hide-buf'. This makes
736 `log-edit-show-files' idempotent.
737 (log-edit-show-files): Mark the new window as dedicated.
739 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
741 * vc/log-edit.el (log-edit-mode-map): Add binding for
742 `log-edit-kill-biffer'.
743 (log-edit-hide-buf): Add a FIXME comment.
744 (log-edit-add-new-comment): New function, extracted from
746 (log-edit-done, log-edit-add-to-changelog): Use it.
747 (log-edit-kill-buffer): New command.
749 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
751 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
752 instead of killing the buffer.
754 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
756 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
758 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
760 * net/eww.el (eww-form-checkbox-selected-symbol)
761 (eww-form-checkbox-symbol): New customizable variable.
762 (eww-form-checkbox, eww-toggle-checkbox):
763 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
765 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
766 (shr--get-media-pref, shr--extract-best-source): New function.
767 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
768 no :src tag was specified.
770 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
771 (eww-render): Handle `eww-use-external-browser-for-content-type'.
772 Use \\` to match beginning of string instead of ^.
773 (eww-browse-with-external-browser): Provide optional URL parameter.
774 (eww-render): Set `eww-current-title' back to "".
776 * net/shr.el (shr-tag-video): Display content for video if no
778 (shr-tag-audio): Add support for <audio> tag.
780 * net/eww.el (eww-text-input-types): : New const.
781 (eww-process-text-input): Treat input types in
782 `eww-text-input-types' as text.
784 * net/shr.el (shr-tag-table): Fix comment typo.
786 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
788 * net/eww.el (eww-follow-link): New command to avoid reloading
789 pages when we follow #target links (bug#15243).
790 (eww-quit): Special mode buffers shouldn't query before exiting.
792 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
794 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
797 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
799 * net/eww.el (eww-restore-history): Update the window title after
800 moving in the history.
801 (eww-current-dom): New variable used to save the current DOM.
803 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
805 * vc/log-edit.el (log-edit-mode-map): Add binding for
806 `log-edit-beginning-of-line'.
807 (log-edit-setup-add-author): New user option.
808 (log-edit-beginning-of-line): New command.
809 (log-edit): Move major mode call above the contents setup so that
810 the local variable values are already applied.
811 (log-edit): Only insert "Author: " when
812 `log-edit-setup-add-author' is non-nil.
813 (log-edit): When SETUP is non-nil, position point after ": "
814 instead of point-min.
816 2013-12-01 Glenn Morris <rgm@gnu.org>
818 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
820 2013-11-30 Eli Zaretskii <eliz@gnu.org>
822 * startup.el (fancy-splash-frame): On MS-Windows, trigger
823 redisplay to make sure the initial frame gets a chance to become
826 2013-11-30 Martin Rudalics <rudalics@gmx.at>
828 Support resizing frames and windows pixelwise.
829 * cus-start.el (frame-resize-pixelwise)
830 (window-resize-pixelwise): New entries.
831 * emacs-lisp/debug.el (debug): Use window-total-height instead
832 of window-total-size.
833 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
834 * help.el (describe-bindings-internal): Call help-buffer
835 (temp-buffer-max-width): New option.
836 (resize-temp-buffer-window, help-window-setup)
837 (with-help-window): Rewrite.
838 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
840 * window.el (frame-char-size, window-min-pixel-height)
841 (window-safe-min-pixel-height, window-safe-min-pixel-width)
842 (window-min-pixel-width, window-safe-min-pixel-size)
843 (window-combination-p, window-safe-min-size)
844 (window-resizable-p, window--size-to-pixel)
845 (window--pixel-to-size, window--resize-apply-p): New functions.
846 (window-safe-min-height): Fix doc-string.
847 (window-size, window-min-size, window--min-size-1)
848 (window-sizable, window-sizable-p, window--min-delta-1)
849 (window-min-delta, window--max-delta-1, window-max-delta)
850 (window--resizable, window--resizable-p, window-resizable)
851 (window-full-height-p, window-full-width-p, window-at-side-p)
852 (window--in-direction-2, window-in-direction)
853 (window--resize-reset-1, window--resize-mini-window)
854 (window-resize, window-resize-no-error)
855 (window--resize-child-windows-normal)
856 (window--resize-child-windows, window--resize-siblings)
857 (window--resize-this-window, window--resize-root-window)
858 (window--resize-root-window-vertically)
859 (adjust-window-trailing-edge, enlarge-window, shrink-window)
860 (maximize-window, minimize-window, delete-window)
861 (quit-restore-window, window-split-min-size, split-window)
862 (balance-windows-2, balance-windows)
863 (balance-windows-area-adjust, balance-windows-area)
864 (window--state-get-1, window-state-get, window--state-put-1)
865 (window--state-put-2, window-state-put)
866 (display-buffer-record-window, window--display-buffer):
867 Make functions handle pixelwise sizing of windows.
868 (display-buffer--action-function-custom-type)
869 (display-buffer-fallback-action):
870 Add display-buffer-in-previous-window.
871 (display-buffer-use-some-window): Resize window to height it had
873 (fit-window-to-buffer-horizontally): New option.
874 (fit-frame-to-buffer): Describe new values.
875 (fit-frame-to-buffer-bottom-margin): Replace with
876 fit-frame-to-buffer-margins.
877 (window--sanitize-margin): New function.
878 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
879 using window-text-pixel-size.
881 2013-11-30 Glenn Morris <rgm@gnu.org>
883 * emacs-lisp/bytecomp.el (byte-compile-form):
884 Make the `interactive-only' warning like the `obsolete' one.
885 * comint.el (comint-run):
886 * files.el (insert-file-literally, insert-file):
887 * replace.el (replace-string, replace-regexp):
888 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
889 (goto-line, insert-buffer, next-line, previous-line):
890 Tweak `interactive-only' spec.
892 Stop keeping (most) generated cedet grammar files in the repository.
893 * Makefile.in (semantic): New.
894 (compile-main): Depend on semantic.
896 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
898 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
899 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
901 * uniquify.el (uniquify-buffer-name-style): Change default.
903 * loadup.el: Preload "uniquify".
905 * time.el (display-time-update): Update all mode lines (bug#15999).
907 * electric.el (electric-indent-mode): Enable by default.
908 * loadup.el: Preload "electric".
910 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
912 * emacs-lisp/helpers.el (string-empty-p): New function.
913 (string-blank-p): New function.
915 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
917 * imenu.el (imenu--index-alist): Add missing dot to the docstring
920 2013-11-29 Andreas Politz <politza@fh-trier.de>
921 * imenu.el (imenu--subalist-p): Don't error on non-conses and
922 allow non-lambda lists as functions.
923 (imenu--in-alist): Don't recurse into non-subalists.
924 (imenu): Don't pass function itself as an argument (Bug#14029).
926 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
928 * progmodes/python.el (python-mode-map): Remove binding for ":".
929 (python-indent-electric-colon): Remove command.
930 (python-indent-post-self-insert-function): Integrate the previous code
931 of python-indent-electric-colon. Make it conditional on
932 electric-indent-mode.
933 (python-mode): Add ?: to electric-indent-chars.
934 Move python-indent-post-self-insert-function to the end of
935 post-self-insert-hook.
937 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
939 * doc-view.el (doc-view-goto-page): Update mode-line.
941 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
943 2013-11-27 Glenn Morris <rgm@gnu.org>
945 * international/charprop.el, international/uni-bidi.el:
946 * international/uni-category.el, international/uni-combining.el:
947 * international/uni-comment.el, international/uni-decimal.el:
948 * international/uni-decomposition.el, international/uni-digit.el:
949 * international/uni-lowercase.el, international/uni-mirrored.el:
950 * international/uni-name.el, international/uni-numeric.el:
951 * international/uni-old-name.el, international/uni-titlecase.el:
952 * international/uni-uppercase.el:
953 Remove generated files from VCS repository.
955 2013-11-27 Eli Zaretskii <eliz@gnu.org>
957 * filenotify.el (file-notify-add-watch): Don't special-case
958 w32notify when computing the directory to watch.
960 2013-11-27 Glenn Morris <rgm@gnu.org>
962 Make bootstrap without generated uni-*.el files possible again.
963 * loadup.el: Update command-line-args checking for unidata-gen.
964 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
965 * composite.el, international/characters.el:
966 Handle unicode tables being undefined.
968 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
969 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
970 (compile-main): Depend on leim rule.
972 * loadup.el: Move leim-list.el to leim/ subdirectory.
973 * startup.el (normal-top-level): No more leim directory.
974 * international/ja-dic-cnv.el (skkdic-convert):
975 Disable version-control and autoloads in output files.
976 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
977 Disable version-control and autoloads in output files.
978 * leim/quail: Move here from ../leim.
979 * leim/quail/hangul.el (hangul-input-method-activate):
981 (generated-autoload-load-name): Set file-local value.
982 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
983 (generated-autoload-load-name): Set file-local value.
985 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
987 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
988 (eww-add-bookmark): ask confirmation when add to bookmarks
989 (eww-quit): ask confirmation before quitting eww
991 2013-11-26 Eli Zaretskii <eliz@gnu.org>
993 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
994 reading output from Diff on MS-Windows and MS-DOS.
996 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
998 * emacs-lisp/helpers.el (string-reverse): New function.
1000 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1002 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1003 names on MS Windows, like "/[::1]:".
1005 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1008 2013-11-26 Glenn Morris <rgm@gnu.org>
1010 * progmodes/python.el (python-indent-guess-indent-offset):
1011 Avoid corner-case error. (Bug#15975)
1013 Preload leim-list.el. (Bug#4789)
1014 * loadup.el: Load leim-list.el when found.
1015 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1017 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1019 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1021 * emacs-lisp/helpers.el (string-join): New function.
1023 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1025 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1026 Mark as obsolete and replace it with a symbol property.
1027 (byte-compile-form): Use new 'interactive-only property.
1028 * comint.el, files.el, replace.el, simple.el:
1029 Apply new 'interactive-only properly.
1031 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1033 * window.el (display-buffer-at-bottom): Make sure that
1034 split-window-sensibly creates the new window on bottom
1037 2013-11-23 David Kastrup <dak@gnu.org>
1039 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1040 on the conflict markers when available.
1041 (smerge--get-marker): New function.
1042 (smerge-end-re, smerge-base-re): Add subgroup.
1044 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1046 * frame.el (handle-focus-in, handle-focus-out): Add missing
1049 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1051 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1052 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1054 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1056 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1057 (gomoku--last-pos): New var.
1058 (gomoku--intangible-chars): New const.
1059 (gomoku--intangible): New function.
1060 (gomoku-mode): Use it. Derive from special-mode.
1061 (gomoku-move-up): Adjust line count.
1062 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1063 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1064 Simplify accordingly.
1066 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1067 Remove blink-cursor code.
1068 (blink-cursor-timer-function, blink-cursor-suspend):
1069 Don't special-case GUIs.
1070 (blink-cursor-mode): Use focus-in/out-hook.
1072 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1074 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1075 work when annotation is invisible (Bug#13886).
1077 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1079 * json.el (json-alist-p): Only return non-nil if the alist has
1080 simple keys (Bug#13518).
1082 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1084 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1085 when control-statement is the first statement in a buffer (Bug#15956).
1087 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1089 * imenu.el (imenu-generic-skip-comments-and-strings):
1090 New option (Bug#15560).
1091 (imenu--generic-function): Use it.
1093 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1095 * minibuffer.el (completion--in-region-1): Scroll the correct
1098 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1100 * emacs-lisp/helpers.el: Add some string helpers.
1101 (string-trim-left): Removes leading whitespace.
1102 (string-trim-right): Removes trailing whitespace.
1103 (string-trim): Removes leading and trailing whitespace.
1105 * subr.el (string-suffix-p): New function.
1107 2013-11-23 Glenn Morris <rgm@gnu.org>
1109 * progmodes/python.el (python-shell-send-file):
1110 Add option to delete file when done. (Bug#15647)
1111 (python-shell-send-string, python-shell-send-region): Use it.
1113 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1115 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1116 to set buffer-read-only to t, never to nil. (Bug#15938)
1118 * textmodes/tex-mode.el (latex-noindent-environments):
1119 Add safe-local-variable property. (Bug#15936)
1121 2013-11-23 Glenn Morris <rgm@gnu.org>
1123 * textmodes/enriched.el (enriched-mode): Doc fix.
1124 * emacs-lisp/authors.el (authors-renamed-files-alist):
1125 Add enriched.doc -> enriched.txt.
1127 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1129 2013-11-22 Leo Liu <sdl.web@gmail.com>
1131 * progmodes/octave.el (inferior-octave-startup): Spit out error
1134 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1136 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1139 (ruby-encoding-magic-comment-style): Add :version.
1141 2013-11-22 Leo Liu <sdl.web@gmail.com>
1143 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1145 (octave-help-mode): Adapt to change to help-mode-finish to use
1146 derived-mode-p on 2013-09-17.
1147 (inferior-octave-prompt): Also match octave-gui.
1148 (octave-kill-process): Don't ask twice. (Bug#10564)
1150 2013-11-22 Leo Liu <sdl.web@gmail.com>
1152 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1153 (inferior-octave-startup, inferior-octave-check-process)
1154 (inferior-octave-track-window-width-change)
1155 (octave-completion-at-point, octave-eldoc-function): Use it.
1156 (octave-kill-process): Provide confirmation. (Bug#10564)
1158 2013-11-21 Leo Liu <sdl.web@gmail.com>
1160 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1161 Fix obsolete variable comment-use-global-state.
1163 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1165 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1166 Add `octave-source-file'.
1167 (octave-source-file): New function. (Bug#15935)
1169 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1171 * net/eww.el (eww-local-regex): New variable.
1172 (eww): Use it to detect localhost and similar.
1174 2013-11-21 Leo Liu <sdl.web@gmail.com>
1176 Add completion for command `ag'.
1177 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1178 (pcomplete/ag): New function.
1179 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1181 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1183 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1185 (make-obsolete): Remove interactive spec.
1187 2013-11-21 Glenn Morris <rgm@gnu.org>
1189 * startup.el (command-line-1): Use path-separator with -L.
1191 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1193 * emacs-lisp/package.el (describe-package-1): Add package archive
1196 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1198 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1199 Change default to "# encoding: %s" to differentiate it from the
1200 default Ruby encoding comment template.
1202 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1204 * ses.el (ses-mode): Doc fix. (Bug#14748)
1206 2013-11-20 Leo Liu <sdl.web@gmail.com>
1208 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1210 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1212 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1213 when rebase or bisect are in progress.
1215 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1217 * filenotify.el (file-notify-add-watch): Doc fix.
1219 2013-11-19 Leo Liu <sdl.web@gmail.com>
1221 * obsolete/rcompile.el: Mark obsolete.
1223 * progmodes/compile.el (compilation-start)
1224 (compilation-goto-locus, compilation-find-file):
1225 Pass no-display-ok and handle nil value from display-buffer.
1228 * window.el (display-buffer-alist, display-buffer): Document the
1229 new parameter no-display-ok. Return either a window or nil
1230 but never a non-window value.
1232 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1234 * electric.el (electric-indent-mode-map): Remove.
1235 (electric-indent-mode): Change the global-map instead (bug#15915).
1237 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1240 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1242 * emacs-lisp/nadvice.el (remove-function): Align with
1243 add-function's behavior.
1245 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1246 (gdb--string-regexp): New constant.
1247 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1248 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1249 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1251 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1252 Adjust use accordingly.
1253 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1255 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1257 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1258 interpolation curlies (Bug#15914).
1260 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1262 * calc/calc.el (calc-context-sensitive-enter): New variable.
1263 (calc-enter): Use `calc-context-sensitive-enter'.
1265 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1267 * progmodes/cfengine.el: Version bump.
1268 (cfengine-cf-promises): New defcustom to locate cf-promises.
1269 (cfengine3-vartypes): Add new "data" type.
1270 (cfengine3--current-word): New function to get current name-like
1272 (cfengine3--current-function): New function to look up a CFEngine
1273 function's definition.
1274 (cfengine3-format-function-docstring): New function.
1275 (cfengine3-make-syntax-cache): New function.
1276 (cfengine3-documentation-function): New function: ElDoc glue.
1277 (cfengine3-completion-function): New function: completion glue.
1278 (cfengine3-mode): Set `compile-command',
1279 `eldoc-documentation-function', and add to
1280 `completion-at-point-functions'.
1282 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1284 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1285 `tramp-current-connection'.
1287 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1289 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1290 nil/self/true/false with "end of symbol".
1292 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1294 * subr.el (version-regexp-alist): Fix a typo.
1296 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1298 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1299 "en_US.utf8" and "LC_CTYPE" to "".
1300 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1301 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1303 2013-11-15 Leo Liu <sdl.web@gmail.com>
1305 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1307 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1309 * progmodes/gud.el (ctl-x-map):
1310 Remove C-x SPC binding. (Bug#12342)
1311 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1313 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1315 * subr.el (version-regexp-alist):
1316 Recognize hg, svn and darcs versions as snapshot versions.
1318 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1319 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1320 (ruby--encoding-comment-required-p): Extract from
1321 `ruby-mode-set-encoding'.
1322 (ruby-mode-set-encoding): Add the ability to always insert an
1323 utf-8 encoding comment. Fix and simplify coding comment update
1326 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1328 * net/tramp-gvfs.el (top): Run init code only when
1329 `tramp-gvfs-enabled' is not nil.
1330 (tramp-gvfs-enabled): Check also :system bus.
1332 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1334 Sync with upstream verilog-mode revision 78e66ba.
1335 * progmodes/verilog-mode.el (verilog-end-of-defun)
1336 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1337 (verilog-get-end-of-defun): Remove unused argument.
1338 (verilog-comment-depth): Remove unused local `e'.
1339 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1340 Don't pass arg to verilog-get-end-of-defun.
1342 2013-11-14 Glenn Morris <rgm@gnu.org>
1344 * obsolete/assoc.el (aget): Prefix dynamic variable.
1346 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1348 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1350 * widget.el, hfy-cmap.el: Remove bogus package version number.
1352 2013-11-13 Glenn Morris <rgm@gnu.org>
1354 * replace.el (replace-eval-replacement):
1355 Try to give more helpful error message. (Bug#15836)
1357 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1358 (archive-7z-update): Avoid custom type mismatches.
1360 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1362 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1364 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1365 address can be empty.
1367 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1368 Accept nil SWITCHES.
1369 (tramp-gvfs-handle-write-region): Implement APPEND.
1371 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1373 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1374 binary "|" operator and closing block args delimiter.
1375 Remove FIXME comment referring to Ruby 1.8-only syntax.
1376 (ruby-smie--implicit-semi-p): Not after "|" operator.
1377 (ruby-smie--closing-pipe-p): New function.
1378 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1379 (ruby-smie-rules): Indent after "|".
1381 2013-11-12 Glenn Morris <rgm@gnu.org>
1383 * ps-print.el (ps-face-attribute-list):
1384 Handle anonymous faces. (Bug#15827)
1386 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1388 * window.el (display-buffer-other-frame): Fix doc-string.
1391 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1393 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1395 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1397 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1398 (tramp-sh-handle-file-local-copy): Don't write a message when
1399 saving temporary files.
1401 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1402 both directories are remote.
1403 (tramp-smb-handle-directory-files): Do not return double entries.
1404 Do not expand full file names.
1405 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1406 (tramp-smb-handle-write-region): Implement APPEND.
1407 (tramp-smb-get-stat-capability): Fix a stupid bug.
1409 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1411 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1413 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1415 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1416 throwing error over malformed let/let* (bug#15814).
1418 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1420 * iswitchb.el (iswitchb-mode): Mark obsolete.
1422 2013-11-11 Glenn Morris <rgm@gnu.org>
1424 * international/uni-bidi.el, international/uni-category.el:
1425 * international/uni-name.el, international/uni-numeric.el:
1426 Regenerate for Unicode 6.3.0.
1428 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1430 * net/tramp.el (tramp-methods):
1431 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1432 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1434 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1436 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1437 Force highlighting text after Summary keyword in doc face for rpm.
1439 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1441 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1442 available and the word has no wildcards, append one to the grep pattern.
1443 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1444 (ispell-complete-word): Call `ispell-lookup-words' with the value
1445 independent of `ispell-look-p'.
1447 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1449 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1451 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1454 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1456 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1457 (ruby-font-lock-keywords): Use backquote.
1459 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1461 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1462 (ruby-smie--backward-token): Only consider full-string matches.
1464 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1466 * faces.el (describe-face): Add distant-foreground.
1468 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1470 * progmodes/ruby-mode.el: Improve encoding comment handling.
1471 (ruby-encoding-magic-comment-style): New option.
1472 (ruby-custom-encoding-magic-comment-template): New option.
1473 (ruby--insert-coding-comment, ruby--detect-encoding):
1474 New functions extracted from `ruby-mode-set-encoding'.
1475 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1476 to control the style of the auto-inserted encoding comment.
1478 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1480 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1481 Use `smie-backward-sexp' with token argument.
1483 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1485 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1486 Remove instrumentation code.
1488 2013-11-08 Glenn Morris <rgm@gnu.org>
1490 * progmodes/autoconf.el (autoconf-mode):
1491 Tweak comment-start-skip. (Bug#15822)
1493 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1495 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1496 at bobp (bug#15826).
1497 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1499 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1501 * man.el (Man-start-calling): New macro, extracted from
1502 Man-getpage-in-background.
1503 (Man-getpage-in-background): Use it.
1504 (Man-update-manpage): New command.
1505 (Man-mode-map): Bind it.
1507 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1509 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1510 of "and", "or", "&&" and "||".
1511 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1512 argument. Prohibit opening curly brace because it could only be a
1513 block opener in that position.
1514 (ruby-smie--forward-token, ruby-smie--backward-token):
1515 Separate "|" from "&" or "*" going after it. That can happen in block
1517 (ruby-smie--indent-to-stmt): New function, seeks the end of
1518 previous statement or beginning of buffer.
1519 (ruby-smie-rules): Use it.
1520 (ruby-smie-rules): Check if there's a ":" before a curly block
1521 opener candidate; if there is, it's a hash.
1523 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1525 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1526 (cl--block-wrapper): Fix last accidental change.
1528 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1530 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1531 Instrument, in order to hunt failure on hydra.
1533 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1535 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1536 malformed bindings form (bug#15814).
1538 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1540 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1541 "." compared to " @ ". This incidentally fixes some indentation
1543 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1544 (ruby-smie-grammar): New tokens: "and" and "or".
1545 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1546 Exclude "and" and "or". Remove "do" in order to work around token
1548 (ruby-smie-rules): Add all infix tokens. Handle the case of
1549 beginning-of-buffer.
1551 2013-11-06 Glenn Morris <rgm@gnu.org>
1553 * Makefile.in (setwins_almost, setwins_for_subdirs):
1554 Avoid accidental matches.
1556 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1558 * menu-bar.el (popup-menu): Use key-binding.
1560 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1562 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1563 menus, support also the menus produced by minor modes.
1566 2013-11-06 Leo Liu <sdl.web@gmail.com>
1568 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1569 DISTANCE to bound the search. All uses changed. (Bug#15808)
1571 2013-11-06 Glenn Morris <rgm@gnu.org>
1573 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1574 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1575 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1577 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1579 * electric.el (electric-indent-just-newline): New command.
1580 (electric-indent-mode-map): New keymap.
1581 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1582 Re-add :group which weren't redundant.
1584 * electric.el (electric-indent-local-mode): New minor mode.
1585 (electric-indent-functions-without-reindent): New var.
1586 (electric-indent-post-self-insert-function): Use it.
1587 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1589 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1591 * international/quail.el (quail-help): Be more explicit about the
1592 meaning of the labels shown on the keys. (Bug#15800)
1594 * startup.el (normal-top-level): Load the subdirs.el files before
1595 setting the locale environment. (Bug#15805)
1597 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1599 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1600 via arguments so as to get the right ones (bug#15418).
1602 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1604 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1606 Fix problems found while writing a test suite.
1608 * net/tramp-compat.el (tramp-compat-load): New defun.
1609 * net/tramp.el (tramp-handle-load): Use it.
1611 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1612 "(numberp ok-if-already-exists)" correctly.
1614 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1616 * international/characters.el (glyphless-char-display-control):
1619 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1621 * progmodes/python.el (python-mode):
1622 * progmodes/scheme.el (scheme-mode):
1623 * progmodes/prolog.el (prolog-mode):
1624 * progmodes/ruby-mode.el (ruby-mode):
1625 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1626 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1628 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1630 * rect.el (rectangle--highlight-for-redisplay):
1631 * emacs-lisp/smie.el (smie--next-indent-change):
1632 Use buffer-chars-modified-tick.
1634 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1636 * electric.el (electric-indent-post-self-insert-function):
1637 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1639 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1641 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1643 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1645 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1648 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1650 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1652 * progmodes/python.el: Fix up last change.
1653 (python-shell--save-temp-file): New function.
1654 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1655 `string' comes from the current buffer.
1656 (python-shell-send-string-no-output): Remove `msg' arg.
1657 (python--use-fake-loc): New var.
1658 (python-shell-buffer-substring): Obey it. Try to compensate for the
1659 extra coding line added by python-shell--save-temp-file.
1660 (python-shell-send-region): Use python-shell--save-temp-file and
1661 python-shell-send-file directly. Add `nomain' argument.
1662 (python-shell-send-buffer): Use python-shell-send-region.
1663 (python-electric-pair-string-delimiter): New function.
1664 (python-mode): Use it.
1666 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1668 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1669 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1670 environment and decoding all of the default-directory's to here
1672 (command-line): Decode also argv[0].
1674 * loadup.el: Error out if default-directory is a multibyte string
1675 when we are dumping.
1677 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1679 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1681 * emacs-lisp/package.el (package-menu-mode)
1682 (package-menu--print-info, package-menu--archive-predicate):
1683 Add Archive column to package list.
1685 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1687 Fix problems found while writing a test suite.
1689 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1690 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1691 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1692 to nil when running original file name handler. Otherwise,
1693 there are problems with constructs like "$$FOO".
1695 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1698 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1700 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1702 * subr.el (version<, version<=, version=):
1703 Update docstrings with information for snapshot versions.
1705 * helpers.el: New library for misc helper functions.
1706 (hash-table-keys): New function returning a list of hash keys.
1707 (hash-table-values): New function returning a list of hash values.
1709 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1711 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1712 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1714 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1716 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1717 checking whether point is after a 1-letter word.
1719 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1721 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1722 Don't infloop when expanding region over `multiline' syntax-type that
1723 begins a line (bug#15778).
1725 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1727 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1728 Make it into a proper minor mode.
1729 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1730 (rectangle-mark-mode-map): New keymap.
1731 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1733 2013-11-04 Glenn Morris <rgm@gnu.org>
1735 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1737 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1739 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1740 (ruby-smie-rules): Use smie-rule-parent instead.
1742 * emacs-lisp/smie.el (smie-rule-parent): Always call
1743 smie-indent-virtual rather than only for hanging tokens.
1744 (smie--next-indent-change): New helper command.
1746 2013-11-03 Glenn Morris <rgm@gnu.org>
1748 * Makefile.in (abs_srcdir): Remove.
1749 (emacs): Unset EMACSLOADPATH.
1751 2013-11-02 Glenn Morris <rgm@gnu.org>
1753 * Makefile.in (EMACS): Use a relative filename.
1754 (abs_top_builddir): Remove.
1755 (custom-deps, finder-data, autoloads): Use --chdir.
1757 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1759 Use relative filenames in TAGS files.
1760 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1761 (lisptagsfiles4, TAGS): Use relative file names.
1762 (TAGS-LISP): Remove.
1763 (maintainer-clean): No more TAGS-LISP file.
1765 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1766 (lisptagsfiles4): Use absolute filenames again.
1767 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1768 Remove all *loaddefs files, not just the first. Remove esh-groups.
1769 (maintainer-clean): Delete TAGS, TAGS-LISP.
1771 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1773 * emacs-lisp/package.el (package-version-join):
1774 Recognize snapshot versions.
1776 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1778 * subr.el (version-regexp-alist): Add support for snapshot versions.
1780 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1782 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1783 New function, replacement for `smie-rule-parent' for when we want to
1784 skip over our direct parent if it's an assignment token..
1785 (ruby-smie-rules): Use it.
1787 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1789 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1790 unconditionally. Remove now unnecessary forward declarations.
1791 Remove XEmacs-specific setup.
1792 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1793 (ruby-font-lock-syntactic-keywords)
1794 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1795 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1796 (ruby-here-doc-end-syntax): Remove.
1797 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1798 defined as function.
1800 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1802 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1804 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1806 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1807 table and abbrev table, `define-derived-mode' does that for us
1810 2013-11-01 Glenn Morris <rgm@gnu.org>
1812 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1813 files is atomic for some time, so no parallel compilation issues).
1815 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1817 * faces.el (face-x-resources): Add :distant-foreground.
1818 (region): Use :distant-foreground for gtk and ns.
1820 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1822 Allow multiple bibliographies when BibLaTeX is used rather than
1824 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1825 (reftex-locate-bibliography-files): Us it.
1827 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1829 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1830 allow comments in pbm files.
1832 * term/w32-win.el (dynamic-library-alist): Support newer versions
1833 of libjpeg starting with v7: look only for the DLL from the
1834 version against which Emacs was built.
1835 Support versions of libpng beyond 1.4.x.
1836 Support libtiff v4.x.
1838 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1840 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1841 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1843 (ruby-deep-arglist): Add property :type.
1845 2013-10-31 Glenn Morris <rgm@gnu.org>
1847 * Makefile.in (custom-deps, finder-data): No need to setq the target
1848 variables, we are in the right directory and the defaults work fine.
1850 2013-10-30 Glenn Morris <rgm@gnu.org>
1852 * Makefile.in (autoloads): Do not use abs_lisp.
1854 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1855 `newline' does not respect `standard-output', so use `princ'.
1857 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1859 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1860 * buff-menu.el (Buffer-menu--unmark): New function.
1861 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1863 2013-10-30 Glenn Morris <rgm@gnu.org>
1865 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1867 * emacs-lisp/package.el (lm-homepage): Declare.
1869 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1872 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1874 * Makefile.in (finder-data, autoloads, update-subdirs)
1875 (compile-main, compile-clean, compile-always, bootstrap-clean):
1876 Check return value of cd.
1877 (compile-calc): Remove.
1879 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1881 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1883 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1884 (byte-compile-and-folded): New function.
1885 (=, <, >, <=, >=): Use it.
1887 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1888 (path-separator, null-device, buffer-file-coding-system)
1889 (lpr-headers-switches): Check system-type before modifying them.
1890 (find-buffer-file-type-coding-system): Mark obsolete.
1891 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1892 find-file-not-found-set-buffer-file-coding-system.
1893 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1894 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1895 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1896 (w32-direct-print-region-helper, w32-direct-print-region-function)
1897 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1898 * startup.el (normal-top-level-add-subdirs-to-load-path):
1899 * ps-print.el (ps-print-region-function):
1900 * lpr.el (print-region-function): Use new name.
1902 * subr.el (custom-declare-variable-early): Remove function.
1903 (custom-declare-variable-list): Remove var.
1904 (error, user-error): Remove `while' loop.
1905 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1906 (user-emacs-directory-warning, locate-user-emacs-file):
1908 * simple.el (read-quoted-char-radix, read-quoted-char):
1909 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1911 * custom.el (custom-declare-variable-list): Don't process
1912 custom-declare-variable-list.
1914 * progmodes/python.el (python-shell-get-buffer): New function.
1915 (python-shell-get-process): Use it.
1916 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1917 Python which encoding was used. Don't split-string since we only care
1918 about the first line. Return the temp-file, if applicable.
1919 (python-shell-send-region): Tell compile.el how to turn locations in
1920 the temp-file into locations in the source buffer.
1922 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1924 * subr.el (undefined): Add missing behavior from the C code for
1927 * rect.el: Use lexical-binding. Add new rectangular region support.
1928 (rectangle-mark): New command.
1929 (rectangle--region): New var.
1930 (deactivate-mark-hook): Reset rectangle--region.
1931 (rectangle--extract-region, rectangle--insert-for-yank)
1932 (rectangle--highlight-for-redisplay)
1933 (rectangle--unhighlight-for-redisplay): New functions.
1934 (region-extract-function, redisplay-unhighlight-region-function)
1935 (redisplay-highlight-region-function): Use them to handle
1937 * simple.el (region-extract-function): New var.
1938 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1939 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
1940 (kill-region): Replace obsolete `yank-handler' arg with `region'.
1941 (copy-region-as-kill, kill-ring-save): Add `region' argument.
1942 (redisplay-unhighlight-region-function)
1943 (redisplay-highlight-region-function): New vars.
1944 (redisplay--update-region-highlight): New function.
1945 (pre-redisplay-function): Use it.
1946 (exchange-point-and-mark): Don't deactivate the mark before
1947 reactivate-it anyway.
1948 * comint.el (comint-kill-region): Remove yank-handler argument.
1949 * delsel.el (delete-backward-char, backward-delete-char-untabify)
1950 (delete-char): Remove property, since it's now part of their
1952 (self-insert-iso): Remove property since this command doesn't exist.
1954 * emacs-lisp/package.el (package--download-one-archive)
1955 (describe-package-1): Don't query the user about final newline.
1957 2013-10-29 Daniel Colascione <dancol@dancol.org>
1959 * net/tramp.el (tramp-methods): Document new functionality.
1960 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
1961 tramp-hostname-checker if method provides one instead of scanning
1962 argument list for "%h" to decide hostname acceptability.
1964 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
1966 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
1967 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
1968 Handle COPY-CONTENTS. (Bug#15737)
1970 2013-10-28 Daiki Ueno <ueno@gnu.org>
1973 (epa-file-cache-passphrase-for-symmetric-encryption):
1974 Document that this option has no effect with GnuPG 2.0 (bug#15552).
1976 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
1978 * image.el (defimage):
1979 (image-load-path): Doc fixes.
1981 2013-10-27 Alan Mackenzie <acm@muc.de>
1983 Indent statements in macros following "##" correctly.
1984 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
1985 Modify the "#" arm of a cond form to handle "#" and "##" operators.
1987 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1989 * linum.el (linum-update-window): Fix boundary test (bug#13446).
1991 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
1993 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
1994 after `=' is probably a new expression.
1996 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1998 * man.el (man-imenu-title): New option.
1999 (Man-mode-map): Add menu. (Bug#15722)
2000 (Man-mode): Add imenu to menu.
2002 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2004 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2005 specific in what the first arg can be: a non-keyword word,
2006 string/regexp/percent literal opener, opening paren, or unary
2007 operator followed directly by word.
2009 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2011 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2012 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2013 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2014 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2015 Remove vars, they do not apply any more.
2016 (prolog-mode-abbrev-table): Remove redundant declaration.
2017 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2018 (prolog-use-smie): Remove.
2019 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2020 supported by prolog-electric-if-then-else-flag.
2021 (prolog-mode-variables, prolog-menu): Use setq-local.
2022 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2023 Remove binding to `Backspace' since this key doesn't exist anyway.
2024 Remove bindings for electric self-inserting keys.
2025 (prog-mode): Assume it's defined.
2026 (prolog-post-self-insert): New function.
2027 (prolog-mode): Use it.
2028 (prolog-indent-line, prolog-indent-level)
2029 (prolog-find-indent-of-matching-paren)
2030 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2031 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2032 (prolog-goto-next-paren, prolog-in-string-or-comment)
2033 (prolog-tokenize, prolog-inside-mline-comment)
2034 (prolog-find-start-of-mline-comment): Remove functions.
2035 (prolog-find-unmatched-paren, prolog-clause-end)
2036 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2037 (prolog-electric--if-then-else): Rename from
2038 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2039 (prolog-tokenize-searchkey): Remove const.
2040 (prolog-clause-info): Use forward-sexp.
2041 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2042 (prolog-electric-if-then-else): Remove commands.
2043 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2044 for use in post-self-insert-hook.
2045 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2046 for use in post-self-insert-hook.
2047 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2048 for use in post-self-insert-hook.
2049 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2050 adapt it for use in post-self-insert-hook.
2052 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2054 * emacs-lisp/ert.el (ert-run-tests-interactively):
2055 Use `completing-read'. (Bug#9756)
2057 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2059 * simple.el (line-move): Call line-move-1 instead of
2060 line-move-visual when the current window hscroll is zero, but
2061 temporary-goal-column indicates we will need to hscroll as result
2062 of the movement. (Bug#15712)
2064 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2066 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2067 capitalization. Use :visible instead of :active.
2068 Fix `ruby-indent-exp' reference. Add menu items for the generic
2069 commands that are used with SMIE.
2070 (ruby-do-end-to-brace): Insert space after `{'.
2072 2013-10-25 John Anthony <john@jo.hnanthony.com>
2074 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2076 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2078 2013-10-25 Glenn Morris <rgm@gnu.org>
2080 * vc/vc.el (vc-print-log): Don't use a working revision unless
2081 one was explicitly specified. (Bug#15322)
2083 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2085 * subr.el (add-to-list): Preserve return value in compiler-macro
2088 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2090 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2091 result. Ask user to retry using '-all' flag. (Bug#15701)
2093 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2095 * emacs-lisp/smie.el: New smie-config system.
2096 (smie-config): New defcustom.
2097 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2098 (smie-config-guess, smie-config-save): New commands.
2099 (smie-config--mode-local, smie-config--buffer-local)
2100 (smie-config--trace, smie-config--modefuns): New vars.
2101 (smie-config--advice, smie-config--mode-hook)
2102 (smie-config--setter, smie-config-local, smie-config--get-trace)
2103 (smie-config--guess-value, smie-config--guess): New functions.
2104 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2105 text properties. Treat "string fence" syntax like string syntax.
2107 * progmodes/sh-script.el (sh-use-smie): Change default.
2108 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2109 (sh-var-value): Simplify by CSE.
2110 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2111 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2113 (sh-guess-basic-offset): Use cl-incf.
2114 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2116 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2118 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2121 2013-10-24 Glenn Morris <rgm@gnu.org>
2123 * Makefile.in (abs_top_srcdir): Remove.
2124 (update-subdirs): Use relative path to update-subdirs.
2126 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2128 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2129 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2130 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2131 Call unmsys--file-name before expand-file-name, not after it.
2133 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2135 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2136 (ert-test-skipped): New error.
2137 (ert-skip, ert-stats-skipped): New defuns.
2138 (ert--skip-unless): New macro.
2139 (ert-test-skipped): New struct.
2140 (ert--run-test-debugger, ert-test-result-type-p)
2141 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2142 (ert--stats-set-test-and-result, ert-char-for-test-result)
2143 (ert-string-for-test-result, ert-run-tests-batch)
2144 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2145 Handle skipped tests. (Bug#9803)
2147 2013-10-24 Glenn Morris <rgm@gnu.org>
2149 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2151 * Makefile.in (abs_top_srcdir): New, set by configure.
2152 (update-subdirs): Correct build-aux location.
2154 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2156 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2157 value, whether we could auto-deduce `backend', or not.
2159 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2160 with parameters" example. Simplify the "is it block or is it
2161 hash" check, but also make it more thorough.
2163 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2165 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2167 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2169 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2172 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2175 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2177 * progmodes/compile.el (compilation-directory-matcher)
2178 (compilation-page-delimiter):
2179 Support GNU Make-4.0 directory quoting. (Bug#15678)
2181 2013-10-23 Leo Liu <sdl.web@gmail.com>
2183 * ido.el (ido-tidy): Handle read-only text.
2185 2013-10-23 Glenn Morris <rgm@gnu.org>
2187 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2188 (emacs, compile, compile-always):
2189 Quote entities that might contain whitespace.
2190 (custom-deps, finder-data, autoloads): Use abs_lisp.
2191 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2192 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2193 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2195 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2197 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2198 Use `following-char'.
2200 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2202 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2203 * progmodes/ruby-mode.el (ruby-smie-rules):
2204 Remove corresponding workaround. Fix indentation rule of ";" so it
2205 also applies when ";" is the parent.
2207 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2209 * frame.el (display-screens, display-pixel-height)
2210 (display-pixel-width, display-mm-width, display-backing-store)
2211 (display-save-under, display-planes, display-color-cells)
2212 (display-visual-class, display-monitor-attributes-list):
2213 Mention the optional ‘display’ argument in doc strings.
2215 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2217 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2218 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2220 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2222 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2223 TODO. Add "." after " @ ".
2224 (ruby-smie--at-dot-call): New function. Checks if point at method
2225 call with explicit target.
2226 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2227 to the method name tokens when it precedes them.
2228 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2229 (ruby-smie-rules): Add rule for indentation before and after "."
2232 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2234 * textmodes/remember.el (remember-diary-extract-entries):
2237 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2240 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2242 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2243 (ruby-smie--implicit-semi-p): Add new operator chars.
2245 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2247 (ruby-smie--args-separator-p): Check that there's no newline
2248 between method call and its arguments.
2250 2013-10-20 Alan Mackenzie <acm@muc.de>
2252 Allow comma separated lists after Java "implements".
2254 * progmodes/cc-engine.el (c-backward-over-enum-header):
2256 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2257 from a "disallowed" list in enum fontification.
2259 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2261 * startup.el (default-frame-background-mode): Remove unused defvar.
2263 * progmodes/verilog-mode.el (verilog-mode): Don't set
2264 comment-indent-function globally.
2266 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2268 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2269 Move Info menu item creation to ns-win.el.
2271 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2274 * menu-bar.el: Move GNUStep specific menus...
2276 * term/ns-win.el (ns-initialize-window-system): ... to here.
2278 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2280 * simple.el (newline): Only run post-self-insert-hook when
2281 called interactively.
2283 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2285 * icomplete.el (icomplete-with-completion-tables): Add :version.
2287 2013-10-19 Alan Mackenzie <acm@muc.de>
2289 Fix fontification bugs with constructors and const.
2291 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2292 CASE 2) Remove the check for the absence of a suffix construct
2293 after a function declaration with only types (no identifiers) in
2294 the parentheses. Also, accept a function declaration with just a
2295 type inside the parentheses, if this type can be positively
2296 recognised as such, or if a prefix keyword like "explicit" nails
2297 down the construct as a declaration.
2299 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2301 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2302 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2303 the problem whereby selecting a menu item that leads to a
2304 minibuffer prompt moves the cursor out of the minibuffer window,
2305 making it hard to type at the prompt. Suggested by Stefan Monnier
2306 <monnier@iro.umontreal.ca>.
2308 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2310 * menu-bar.el: Don't make Services menu.
2312 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2314 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2315 (ffap-alist): Use ffap-c++-mode for c++-mode.
2316 (ffap-c++-path): New variable.
2317 (ffap-c++-mode): New function.
2319 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2321 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2323 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2325 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2326 introduced on 2013-09-08, which results in an infinite loop
2327 requesting a password.
2329 2013-10-18 Glenn Morris <rgm@gnu.org>
2331 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2333 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2335 Sync with upstream verilog-mode revision 1a6ecec7.
2336 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2337 (verilog-mode-release-date): Remove.
2338 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2339 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2340 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2341 (verilog-auto-tieoff-ignore-regexp)
2342 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2343 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2344 (verilog-signals-with, verilog-dir-cache-preserving)
2345 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2347 (verilog-case-fold): New option, to control case folding in
2348 regexp searches, bug597.
2349 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2350 (verilog-string-match-fold, verilog-in-paren-count)
2351 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2352 (verilog-at-close-struct-p): New functions.
2353 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2354 (verilog-forward-sexp, verilog-set-auto-endcomments):
2355 (verilog-leap-to-case-head): Handle "unique0" case.
2356 (verilog-in-constraint-re): New constant.
2357 (verilog-keywords, verilog-type-font-keywords):
2358 Add some SystemVerilog 1800-2012 keywords.
2359 (verilog-label-be): Remove unimplemented argument, bug669.
2360 (verilog-batch-execute-func): When batch expanding clear
2361 create-lockfiles to prevent spurious user locks when a file ends
2363 (verilog-calculate-indent, verilog-calc-1)
2364 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2365 (verilog-do-indent): Fix indentation of nested constraints
2367 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2368 (verilog-auto-inst-param): Use verilog-string-match-fold.
2369 (verilog-read-inst-module-matcher):
2370 Fix AUTOINST on gate primitives with #1.
2371 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2372 Reads all user-defined typed variables.
2373 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2374 (verilog-signals-matching-regexp)
2375 (verilog-signals-not-matching-regexp, verilog-auto):
2376 Respect verilog-case-fold.
2377 (verilog-diff-report): Fix line count.
2378 (verilog-auto-assign-modport): Remove unused local `modi'.
2379 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2380 better handle multidimensional arrays.
2381 Fix packed array ports misadding bit index in AUTOINST, bug637.
2382 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2383 to not double-declare existing outputs and inputs, respectively.
2384 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2385 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2386 (verilog-sk-uvm-component): New skeleton.
2387 (verilog-submit-bug-report): Add verilog-case-fold,
2388 remove verilog-mode-release-date.
2390 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2392 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2395 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2397 * textmodes/remember.el (remember): set buffer-offer-save in
2398 remember buffers (bug#13566).
2400 2013-10-18 Daniel Colascione <dancol@dancol.org>
2402 When evaluating forms in ielm, direct standard output to ielm
2403 buffer. Add new ielm-return-for-effect command. Remove trailing
2404 whitespace throughout.
2406 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2407 (ielm-return-for-effect): New command.
2408 (ielm-send-input): Accept optional `for-effect' parameter.
2409 (ielm-eval-input): Accept optional `for-effect' parameter.
2410 Bind `standard-output' to stream we create using
2411 `ielm-standard-output-impl'. Suppress printing result when
2413 (ielm-standard-output-impl): New function.
2414 (inferior-emacs-lisp-mode): Explain new features in documentation.
2416 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2420 * net/tramp.el (tramp-debug-message): Do not check for connection
2422 (tramp-message): Use "vector" connection property.
2424 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2425 (tramp-equal-remote, tramp-eshell-directory-change)
2426 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2427 (tramp-adb-handle-rename-file)
2428 * net/tramp-cmds.el (tramp-list-remote-buffers)
2429 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2430 * net/tramp-compat.el (tramp-compat-process-running-p)
2431 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2432 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2433 (tramp-gvfs-handle-rename-file)
2434 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2435 (tramp-set-file-uid-gid)
2436 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2437 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2440 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2441 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2442 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2443 (tramp-gw-open-network-stream): Suppress unrelated traces.
2445 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2446 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2447 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2448 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2449 connection property.
2451 * net/tramp-cache.el (top): Suppress traces when reading
2454 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2455 Refactor common code. Improve debug message.
2456 (tramp-maybe-open-connection)
2457 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2458 connection buffer too early.
2460 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2461 from `tramp-smb-actions-with-acl'.
2462 (tramp-smb-actions-set-acl): New defconst.
2463 (tramp-smb-handle-copy-directory)
2464 (tramp-smb-action-get-acl): New defun, renamed from
2465 `tramp-smb-action-with-acl'.
2466 (tramp-smb-action-set-acl): New defun.
2467 (tramp-smb-handle-set-file-acl): Rewrite.
2469 2013-10-17 Glenn Morris <rgm@gnu.org>
2471 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2473 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2475 * skeleton.el (skeleton-newline): Remove.
2476 (skeleton-internal-1): Use (insert "\n") instead.
2478 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2481 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2482 forward-sexp-function while we redo its job (bug#15613).
2484 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2486 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2487 represented by lists.
2489 2013-10-16 Glenn Morris <rgm@gnu.org>
2491 * tmm.el (tmm--history): New dynamic variable.
2492 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2494 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2496 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2497 (tramp-smb-errors): Add error messages.
2498 (tramp-smb-actions-with-acl): New defconst.
2499 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2500 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2501 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2502 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2503 (tramp-smb-get-stat-capability): Fix tests.
2505 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2507 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2510 2013-10-16 Glenn Morris <rgm@gnu.org>
2512 * ansi-color.el (ansi-color-drop-regexp):
2513 Add 1J, 1K, 2K. (Bug#15617)
2515 * files.el (hack-local-variables--warned-lexical): New.
2516 (hack-local-variables):
2517 Warn about misplaced lexical-binding. (Bug#15616)
2519 * net/eww.el (eww-render): Always set eww-current-url,
2520 and update header line. (Bug#15622)
2521 (eww-display-html): ... Rather than just doing it here.
2523 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2525 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2526 menu navigations commands.
2528 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2530 * progmodes/subword.el (subword-capitalize): Be careful when
2531 the search for [[:alpha:]] fails (bug#15580).
2533 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2535 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2536 to commands that scroll the menu.
2538 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2540 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2541 Handle methods ending with `?' and `!'.
2543 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2545 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2546 `japanese-cp932' to `cp932' to fix the problem where saving a
2547 source file written in Shift_JIS twice would end up having
2548 `coding: japanese-cp932' which Ruby could not recognize.
2549 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2550 in `ruby-encoding-map'.
2551 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2552 doesn't need to be explicitly declared in magic comment.
2553 (ruby-encoding-map): Add type declaration for better customize UI.
2555 2013-10-13 Glenn Morris <rgm@gnu.org>
2557 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2558 Occur buffers are read-only. http://bugs.debian.org/720775
2560 * emacs-lisp/authors.el (authors-fixed-entries):
2561 Comment out old alpha stuff.
2563 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2565 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2566 to `after-save-hook' instead of `before-save-hook'.
2567 (ruby-mode-set-encoding): Use the value of coding system used to
2568 write the file. Call `basic-save-buffer-1' after modifying the
2571 2013-10-13 Alan Mackenzie <acm@muc.de>
2573 Fix indentation/fontification of Java enum with
2574 "implements"/generic.
2576 * progmodes/cc-engine.el (c-backward-over-enum-header):
2577 Extracted from the three other places and enhanced to handle generics.
2578 (c-inside-bracelist-p): Uses new function above.
2579 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2581 (c-font-lock-enum-tail): Uses new function above.
2583 2013-10-13 Kenichi Handa <handa@gnu.org>
2585 * international/mule-cmds.el (select-safe-coding-system): Remove a
2586 superfluous condition in chekcing whether a coding system is safe
2589 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2591 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2593 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2595 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2597 2013-10-13 Glenn Morris <rgm@gnu.org>
2599 * menu-bar.el (menu-bar-update-buffers):
2600 Unify Buffers menu prompt string. (Bug#15576)
2602 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2604 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2606 (authors-fixed-entries): Use accented form of name.
2608 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2610 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2611 method calls (bug#15594).
2612 (ruby-smie--args-separator-p): New function.
2613 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2614 recognize paren-free method calls.
2616 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2617 internals of universal-argument.
2619 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2621 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2622 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2623 dropped menu on second mouse click on the menu bar.
2625 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2627 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2628 (explicit-shell-file-name): Declare.
2629 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2630 (sh-completion-at-point-function): New function.
2632 (sh-smie--keyword-p): Remove unused argument.
2633 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2635 (sh-set-shell): Always setup SMIE, even if we use the
2636 old indentation code.
2638 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2640 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2642 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2643 predicate would return nil are almost non-existent.
2644 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2646 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2647 cache also after commands that modify the buffer but don't move
2650 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2652 * env.el (substitute-env-in-file-name): New function.
2653 (substitute-env-vars): Extend the meaning of the optional arg.
2655 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2657 * term/w32-win.el (dynamic-library-alist): Define separate lists
2658 of GIF DLLs for versions before and after 5.0.0 of giflib.
2661 2013-10-10 João Távora <joaotavora@gmail.com>
2663 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2664 not locked, use last revision and current source as
2665 defaults. (Bug#15569)
2667 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2669 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2672 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2674 * window.el (pop-to-buffer-same-window): Fix doc-string.
2677 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2679 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2681 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2683 * calendar/icalendar.el (icalendar-import-file):
2684 Fix interactive spec. (Bug#15482)
2686 2013-10-10 Glenn Morris <rgm@gnu.org>
2688 * desktop.el (desktop-save): Default to saving in .emacs.d,
2689 since PWD is no longer in desktop-path by default. (Bug#15319)
2691 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2692 now that text mode has a menu with the same entry.
2693 (menu-bar-text-mode-auto-fill): Remove now unused func.
2694 * textmodes/text-mode.el (text-mode-map):
2695 Use auto-fill help text from menu-bar.el.
2697 2013-10-10 John Anthony <john@jo.hnanthony.com>
2699 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2701 2013-10-09 Juri Linkov <juri@jurta.org>
2703 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2704 instead of this-command-keys. Add universal-argument-more and
2705 universal-argument-minus to the list of prefix commands. (Bug#15568)
2707 2013-10-09 Glenn Morris <rgm@gnu.org>
2709 * vc/vc-svn.el (vc-svn-create-repo):
2710 Expand paths in file://... url. (Bug#15446)
2712 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2714 (authors): Remove unused local variables.
2716 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2718 * profiler.el: Create a more coherent calltree from partial backtraces.
2719 (profiler-format): Hide the tail with `invisible' so that C-s can still
2720 find the hidden elements.
2721 (profiler-calltree-depth): Don't recurse so enthusiastically.
2722 (profiler-function-equal): New hash-table-test.
2723 (profiler-calltree-build-unified): New function.
2724 (profiler-calltree-build): Use it.
2725 (profiler-report-make-name-part): Indent the calltree less.
2726 (profiler-report-mode): Add visibility specs for profiler-format.
2727 (profiler-report-expand-entry, profiler-report-toggle-entry):
2728 Expand the whole subtree when provided with a prefix arg.
2730 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2732 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2734 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2735 hanging iuwu-mod token.
2736 (ruby-smie--forward-token): Do not include a dot after a token in
2738 (ruby-smie--backward-token): Likewise.
2740 2013-10-08 Juri Linkov <juri@jurta.org>
2742 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2743 to isearch-other-control-char.
2744 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2745 and isearch-post-command-hook to post-command-hook.
2746 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2747 and isearch-post-command-hook from post-command-hook.
2748 (isearch-unread-key-sequence)
2749 (isearch-reread-key-sequence-naturally)
2750 (isearch-lookup-scroll-key, isearch-other-control-char)
2751 (isearch-other-meta-char): Remove functions.
2752 (isearch-pre-command-hook, isearch-post-command-hook):
2753 New functions based on isearch-other-meta-char rewritten
2754 relying on the new behavior of overriding-terminal-local-map
2755 that does not replace the local keymaps any more. (Bug#15200)
2757 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2759 Support menus on text-mode terminals.
2760 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2763 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2765 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2766 Move here from mouse.el.
2767 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2769 (tty-menu-navigation-map): New map for TTY menu navigation.
2771 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2773 * frame.el (display-mouse-p): Report text-mode mouse as available
2775 (display-popup-menus-p): Report availability if mouse is
2776 available; don't condition on window-system.
2778 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2779 (tty-menu-selected-face): New faces.
2781 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2783 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2784 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2785 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2786 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2788 (lisp-mode-variables): New `elisp' argument.
2789 (emacs-lisp-mode): Use it.
2790 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2791 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2793 * indent.el: Use lexical-binding.
2794 (indent-region): Add progress reporter.
2795 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2797 (indent--next-tab-stop): New function to implement this behavior.
2798 (tab-to-tab-stop, move-to-tab-stop): Use it.
2800 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2802 * indent.el (indent-rigidly--current-indentation): New function.
2803 (indent-rigidly-map): New var.
2804 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2806 2013-10-08 Bastien Guerry <bzg@gnu.org>
2808 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2810 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2812 * progmodes/perl-mode.el: Use lexical-binding.
2813 Remove redundant :group args.
2814 (perl-nochange): Change default to be closer to other major modes's
2816 (perl-indent-line): Don't consider text on current line as a
2817 valid beginning of function from which to indent.
2819 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2820 with more than one argument (bug#15538).
2822 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2824 * vc/pcvs.el: Use lexical-binding.
2825 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2826 environment of `eval'.
2827 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2828 than a list of expressions. Adjust callers.
2829 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2831 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2833 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2834 case of the dot in a chained method call being on the following line.
2836 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2838 * electric.el (electric-indent-inhibit): New var.
2839 (electric-indent-post-self-insert-function): Use it.
2840 * progmodes/python.el (python-mode): Set it.
2842 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2845 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2847 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2848 (css-mode): Use electric-indent-chars.
2850 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2851 (font-lock-beg, font-lock-end): Move before first use.
2852 (nxml-mode): Use syntax-propertize-function.
2853 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2854 (nxml-extend-after-change-region): Remove.
2855 * nxml/xmltok.el: Use lexical-binding.
2856 (xmltok-save): Use `declare'.
2857 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2858 * nxml/nxml-util.el: Use lexical-binding.
2859 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2861 * nxml/nxml-ns.el: Use lexical-binding.
2862 (nxml-ns-save): Use `declare'.
2863 (nxml-ns-prefixes-for): Avoid add-to-list.
2864 * nxml/rng-match.el: Use lexical-binding.
2865 (rng--ipattern): Use cl-defstruct.
2866 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2867 (rng-cons-group-after, rng-subst-group-after)
2868 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2869 Use closures instead of `(lambda...).
2871 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2873 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2876 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2877 Use `tramp-handle-insert-file-contents'.
2878 (tramp-gvfs-handle-insert-file-contents): Remove function.
2880 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2881 Use `save-restriction' in order to keep markers.
2883 * net/trampver.el: Update release number.
2885 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2887 * progmodes/compile.el (compilation-parse-errors):
2888 Use compilation--put-prop.
2889 (compilation--ensure-parse): Check compilation-multiline.
2891 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2893 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2896 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2898 * progmodes/ruby-mode.el: Fix recently added tests.
2899 (ruby-smie-grammar): Add - and +.
2900 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2901 (ruby-smie--backward-id): New functions.
2902 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2903 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2906 2013-10-07 Leo Liu <sdl.web@gmail.com>
2908 * register.el (register-preview-delay)
2909 (register-preview-functions): New variables.
2910 (register-read-with-preview, register-preview)
2911 (register-describe-oneline): New functions.
2912 (point-to-register, window-configuration-to-register)
2913 (frame-configuration-to-register, jump-to-register)
2914 (number-to-register, view-register, insert-register)
2915 (copy-to-register, append-to-register, prepend-to-register)
2916 (copy-rectangle-to-register): Use register-read-with-preview to
2917 read register. (Bug#15525)
2919 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2921 * net/network-stream.el (network-stream-open-starttls): Don't add
2922 --insecure if it's already present, because that gnutls-cli
2923 rejects getting that parameter twice.
2925 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2927 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2930 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2932 * newcomment.el (comment-use-global-state): Change default value
2933 to t, mark obsolete (Bug#15251).
2934 (comment-beginning): In addition to `comment-to-syntax', check the
2935 value of `comment-use-global-state'.
2937 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2939 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
2940 (ruby-comment-column): Follow the global default, by default.
2941 (ruby-smie-grammar): Add assignment syntax.
2942 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
2943 open-paren, a comma, or a \.
2944 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
2945 and line continuations.
2946 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
2947 followed by implicit semi-colons. Add rule for string concatenation
2948 and for indentation at BOB.
2949 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
2951 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
2952 calling next-sexp, since next-token may have skipped chars which
2953 next-sexp doesn't know should be skipped!
2955 2013-10-05 Leo Liu <sdl.web@gmail.com>
2957 * progmodes/octave.el (octave-send-region):
2958 Call compilation-forget-errors.
2960 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2962 * vc/vc-svn.el (vc-svn-find-admin-dir):
2963 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
2964 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
2965 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
2966 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
2968 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2970 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
2972 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
2974 * subr.el (read-passwd): Hide chars even when called within a context
2975 where after-change-functions is disabled (bug#15501).
2976 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
2977 until we removed ourself from overriding-terminal-local-map.
2979 2013-10-04 Leo Liu <sdl.web@gmail.com>
2981 * progmodes/octave.el (inferior-octave-mode):
2982 Call compilation-forget-errors.
2984 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
2986 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
2988 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
2990 * net/secrets.el (secrets-create-collection): Add optional
2991 argument ALIAS. Use proper Label keyword. Append ALIAS as
2992 dbus-call-method argument. (Bug#15516)
2994 2013-10-04 Leo Liu <sdl.web@gmail.com>
2996 * progmodes/octave.el (inferior-octave-error-regexp-alist)
2997 (inferior-octave-compilation-font-lock-keywords): New variables.
2998 (compilation-error-regexp-alist)
2999 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3000 (inferior-octave-mode): Use compilation-shell-minor-mode.
3002 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3004 * minibuffer.el (completion--replace): Be careful that `end' might be
3007 2013-10-03 Daiki Ueno <ueno@gnu.org>
3009 Add support for package signature checking.
3010 * emacs-lisp/package.el (url-http-file-exists-p)
3011 (epg-make-context, epg-context-set-home-directory)
3012 (epg-verify-string, epg-context-result-for)
3013 (epg-signature-status, epg-signature-to-string)
3014 (epg-check-configuration, epg-configuration)
3015 (epg-import-keys-from-file): Declare.
3016 (package-check-signature): New user option.
3017 (package-unsigned-archives): New user option.
3018 (package-desc): Add `signed' field.
3019 (package-load-descriptor): Set `signed' field if .signed file exists.
3020 (package--archive-file-exists-p): New function.
3021 (package--check-signature): New function.
3022 (package-install-from-archive): Check package signature.
3023 (package--download-one-archive): Check archive signature.
3024 (package-delete): Remove .signed file.
3025 (package-import-keyring): New command.
3026 (package-refresh-contents): Import default keyring.
3027 (package-desc-status): Add "unsigned" status.
3028 (describe-package-1, package-menu--print-info)
3029 (package-menu-mark-delete, package-menu--find-upgrades)
3030 (package-menu--status-predicate): Support "unsigned" status.
3032 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3034 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3035 the new compilation scheme using the new byte-codes.
3037 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3038 (byte-pophandler): New byte codes.
3039 (byte-goto-ops): Adjust accordingly.
3040 (byte-compile--use-old-handlers): New var.
3041 (byte-compile-catch): Use new byte codes depending on
3042 byte-compile--use-old-handlers.
3043 (byte-compile-condition-case--old): Rename from
3044 byte-compile-condition-case.
3045 (byte-compile-condition-case--new): New function.
3046 (byte-compile-condition-case): New function that dispatches depending
3047 on byte-compile--use-old-handlers.
3048 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3051 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3052 Optimize under `condition-case' and `catch' if
3053 byte-compile--use-old-handlers is nil.
3054 (disassemble-offset): Handle new bytecodes.
3056 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3058 * subr.el (error): Use `declare'.
3059 (decode-char, encode-char): Use advertised-calling-convention instead
3060 of the docstring to discourage use of the `restriction' arg.
3062 2013-10-03 Daiki Ueno <ueno@gnu.org>
3064 * epg.el (epg-verify-file): Add a comment saying that it does not
3065 notify verification error as a return value nor a signal.
3066 (epg-verify-string): Ditto.
3068 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3070 * progmodes/compile.el (compilation-start): Try globbing the arg to
3073 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3075 Sync with Tramp 2.2.8.
3077 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3078 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3079 * net/trampver.el: Update release number.
3081 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3083 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3084 and default-process-coding-system for darwin only.
3086 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3088 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3090 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3092 * vc/vc-git.el (vc-git-grep): Disable pager.
3094 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3096 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3097 Use :url instead of :homepage, as per
3098 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3100 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3101 non-nil, use `syntax-ppss' (Bug#15251).
3103 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3105 * progmodes/octave.el (inferior-octave-startup-file):
3106 Prefer ~/.emacs.d/init_octave.m.
3108 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3110 * emacs-lisp/package.el (package-desc-from-define):
3111 Accept additional arguments as plist, convert them to an alist and store
3112 them in the `extras' slot.
3113 (package-generate-description-file): Convert extras alist back to
3114 plist and append to the `define-package' form arguments.
3115 (package--alist-to-plist): New function.
3116 (package--ac-desc): Add `extras' slot.
3117 (package--add-to-archive-contents): Check if the archive-contents
3118 vector is long enough, and if it is, pass its `extras' slot value
3119 to `package-desc-create'.
3120 (package-buffer-info): Call `lm-homepage', pass the returned value
3121 to `package-desc-from-define'.
3122 (describe-package-1): Render the homepage button (Bug#13291).
3124 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3125 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3127 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3129 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3130 and default-process-coding-system to utf-8-unix (Bug#15402).
3132 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3134 * subr.el (looking-back): Do not recommend using looking-back.
3136 2013-09-28 Alan Mackenzie <acm@muc.de>
3138 Fix indentation/fontification of Java enum with "implements".
3140 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3141 regexp which matches "implements", etc., in Java.
3142 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3143 specifier clauses coming after "enum".
3144 * progmodes/cc-fonts.el (c-font-lock-declarations)
3145 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3148 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3150 * faces.el (region): Change ns_selection_color to
3151 ns_selection_fg_color, add ns_selection_bg_color.
3153 2013-09-28 Leo Liu <sdl.web@gmail.com>
3155 * progmodes/octave.el (inferior-octave-completion-table)
3156 (inferior-octave-completion-at-point): Minor tweaks.
3158 * textmodes/ispell.el (ispell-lookup-words): Rename from
3159 lookup-words. (Bug#15460)
3160 (lookup-words): Obsolete.
3161 (ispell-complete-word, ispell-command-loop): All uses changed.
3163 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3165 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3166 (octave-mode-menu): Add octave-send-buffer.
3167 (octave-send-buffer): New function.
3169 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3171 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3173 (octave-mode-menu): Add octave-lookfor.
3174 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3176 (octave-lookfor): New function.
3178 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3180 * emacs-lisp/cl-macs.el:
3181 (cl--loop-destr-temps): Remove.
3182 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3184 (cl--loop-set-iterator-function): New function.
3185 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3186 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3187 Bind `it' with `let' instead of substituting it with `cl-subst'.
3188 (cl--unused-var-p): New function.
3189 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3190 Eliminate some unused variable warnings (bug#15326).
3192 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3194 * doc-view.el (doc-view-scale-reset): Rename from
3195 `doc-view-reset-zoom-level'.
3196 (doc-view-scale-adjust): New command.
3197 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3198 `doc-view-scale-adjust'.
3200 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3202 * doc-view.el (doc-view-reset-zoom-level): New command.
3203 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3204 zoom commands (bug#15466).
3206 2013-09-26 Kenichi Handa <handa@gnu.org>
3208 * international/quail.el (quail-help): Make it not a command.
3210 2013-09-26 Leo Liu <sdl.web@gmail.com>
3212 * minibuffer.el (completion-all-sorted-completions): Make args
3213 optional as they are.
3215 2013-09-25 Daniel Colascione <dancol@dancol.org>
3217 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3218 specs are and that they're not evaluated.
3220 2013-09-24 Sam Steingold <sds@gnu.org>
3222 * midnight.el (clean-buffer-list-kill-regexps)
3223 (clean-buffer-list-kill-buffer-names): Update for the new Man
3224 buffer naming which includes the object name.
3226 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3228 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3229 (eshell-parse-command, eshell-parse-pipeline): Use it since
3230 eshell-separate-commands requires a dynamic scoped var.
3231 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3233 2013-09-23 Leo Liu <sdl.web@gmail.com>
3235 * autoinsert.el (auto-insert-alist): Make the value of
3236 lexical-binding match its file setting.
3238 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3240 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3242 * autoarg.el (autoarg-kp-digit-argument):
3243 * electric.el (Electric-command-loop):
3244 * kmacro.el (kmacro-step-edit-insert):
3245 Do not set universal-argument-num-events.
3247 2013-09-22 Leo Liu <sdl.web@gmail.com>
3249 * files.el (interpreter-mode-alist): Add octave.
3251 2013-09-21 Alan Mackenzie <acm@muc.de>
3253 C++: fontify identifier in declaration following "public:" correctly.
3254 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3255 to match "public", etc.
3256 (c-decl-prefix-re): Add ":" into the C++ value.
3257 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3258 bit. Add a check for a ":" preceded by "public", etc.
3260 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3262 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3263 recognized by GDB 7.5 and later.
3265 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3267 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3269 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3271 * subr.el (internal--call-interactively): New const.
3272 (called-interactively-p): Use it (bug#3984).
3274 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3276 * vc/pcvs.el (cvs-mode-ignore):
3277 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3278 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3280 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3282 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3283 (eshell-ls-orig-insert-directory): Remove.
3284 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3285 (eshell-ls-use-in-dired): Use advice-add/remove.
3286 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3287 Add `orig-fun' arg for use in :around advice.
3288 Make it check (redundantly) eshell-ls-use-in-dired.
3290 2013-09-19 Glenn Morris <rgm@gnu.org>
3292 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3294 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3296 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3298 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3300 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3301 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3302 (tramp-get-remote-python): New defuns.
3303 (tramp-get-remote-uid-with-perl)
3304 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3305 contributed by yary <not.com@gmail.com> (tiny change).
3306 (tramp-get-remote-uid-with-python)
3307 (tramp-get-remote-gid-with-python): New defuns. Python code
3308 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3309 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3311 2013-09-19 Glenn Morris <rgm@gnu.org>
3313 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3315 * eshell/em-unix.el (eshell-remove-entries):
3316 Rename argument to avoid name-clash with global `top-level'.
3318 * eshell/esh-proc.el (eshell-kill-process-function):
3319 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3320 (eshell-reset-after-proc): Remove unused arg `proc'.
3322 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3323 (directory-files-and-attributes): Mark unused arg.
3325 * eshell/em-unix.el (eshell-remove-entries):
3326 Remove unused arg `path'. Update callers.
3328 * eshell/em-hist.el (eshell-hist-parse-arguments):
3329 Remove unused arg `silent'. Update callers.
3331 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3332 Fix (f)boundp mix-up.
3334 * eshell/em-smart.el (eshell-smart-scroll-window)
3335 (eshell-disable-after-change):
3336 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3338 2013-09-18 Alan Mackenzie <acm@muc.de>
3340 Fix fontification of type when followed by "const".
3341 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3342 "known" types from fontification.
3344 2013-09-18 Glenn Morris <rgm@gnu.org>
3346 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3347 (chart-face-list): Drop Emacsen without display-color-p.
3349 * net/eww.el (libxml-parse-html-region): Declare.
3350 (eww-display-html): Explicit error if no libxml2 support.
3352 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3354 * image.el (image-type-from-buffer, image-multi-frame-p):
3355 Remove --without-x warning/error.
3357 * mouse.el (mouse-yank-primary):
3358 * term.el (term-mouse-paste):
3359 Reorder to silence --without-x compilation.
3361 * mpc.el (doc-view-mode): Silence --without-x compilation.
3363 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3364 Silence --without-x compilation.
3366 * progmodes/gud.el (gud-find-file, gud-mode):
3367 Silence --without-x compilation.
3368 (tooltip-mode): Declare.
3370 * wdired.el (dired-backup-overwrite): Remove declaration.
3371 (wdired-mode-map): Add doc string.
3373 * custom.el (x-get-resource): Declare.
3375 * eshell/em-glob.el (ange-cache):
3376 * eshell/em-unix.el (ange-cache): Declare.
3378 * faces.el (x-display-list, x-open-connection, x-get-resource):
3381 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3382 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3385 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3387 * net/gnutls.el (gnutls-log-level): Declare.
3389 * net/shr.el (image-size, image-animate): Declare.
3391 * simple.el (font-info): Declare.
3393 * subr.el (x-popup-dialog): Declare.
3395 * term/common-win.el (x-select-enable-primary)
3396 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3399 * term/ns-win.el (x-handle-args): Declare.
3401 * term/x-win.el (x-select-enable-clipboard): Declare.
3403 * term/w32-win.el (create-default-fontset): Declare.
3405 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3408 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3409 (fit-frame-to-buffer): Explicit error if --without-x.
3410 (mouse-autoselect-window-select): Silence compiler.
3412 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3414 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3415 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3416 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3417 * eshell/esh-util.el (eshell-sublist):
3418 Remove unused local variables.
3420 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3422 * textmodes/two-column.el: Make 2C-split work for --without-x.
3423 (scroll-bar-columns): Autoload.
3424 (top-level): Require fringe when compiling.
3426 2013-09-18 Leo Liu <sdl.web@gmail.com>
3428 * subr.el (add-hook): Robustify to handle closure as well.
3430 2013-09-17 Glenn Morris <rgm@gnu.org>
3432 * simple.el (messages-buffer-mode-map): Unbind "g".
3434 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3436 * help-mode.el (help-mode-finish): Use derived-mode-p.
3437 Remove obsolete highlighting.
3439 * play/life.el (life-mode): Use define-derived-mode. Derive from
3441 (life): Let-bind inhibit-read-only.
3442 (life-setup): Avoid `setq'. Use `life-mode'.
3444 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3445 which should not be needed any more.
3446 (package-menu-refresh, package-menu-describe-package): Use user-error.
3448 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3449 (eshell-post-rewrite-command-hook): Make obsolete.
3450 (eshell-parse-command): Simplify.
3451 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3452 (eshell--cmd): Declare.
3453 (eshell-parse-pipeline): Remove unused var `final-p'.
3454 Pass a dynvar to eshell-post-rewrite-command-hook.
3455 Implement the new eshell-post-rewrite-command-function.
3456 (eshell-invoke-directly): Remove unused arg `input'.
3457 * eshell/esh-io.el (eshell-io-initialize):
3458 Use eshell-post-rewrite-command-function (bug#15399).
3459 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3460 adjust to new calling convention.
3461 (eshell-create-handles): Rename args to avoid clashing with dynvar
3464 2013-09-17 Glenn Morris <rgm@gnu.org>
3466 * simple.el (messages-buffer-mode): New major mode.
3467 (messages-buffer): New function.
3468 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3469 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3470 (ert-run-test): Use `messages-buffer' function.
3471 (ert--force-message-log-buffer-truncation): Ignore read-only.
3472 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3473 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3475 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3477 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3479 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3481 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3483 * icomplete.el (icomplete-in-buffer): New var.
3484 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3485 vars and replace them with functions.
3486 (icomplete-minibuffer-setup): Adjust accordingly.
3487 (icomplete--completion-table, icomplete--completion-predicate)
3488 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3490 (icomplete-forward-completions, icomplete-backward-completions)
3491 (icomplete-simple-completing-p, icomplete-exhibit)
3492 (icomplete-completions): Use them.
3493 (icomplete--in-region-buffer): New var.
3494 (icomplete--in-region-setup): New function.
3495 (icomplete-mode): Use it.
3497 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3499 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3500 return args and options.
3501 (eshell-eval-using-options): Use the new return value of
3502 eshell--do-opts to set the options's vars in their scope.
3503 (eshell--set-option): Rename from eshell-set-option.
3505 (eshell--process-option): Rename from eshell-process-option.
3507 (eshell--process-args): Use an `opt-vals' alist to store the options's
3508 values during their processing and return them additionally to the
3511 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3513 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3514 continuation character an operator, as far as indentation is
3515 concerned (Bug#15369).
3517 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3519 * window.el (window--state-put-2): Don't process buffer state
3520 when buffer doesn't exist any more (Bug#15382).
3522 2013-09-15 Glenn Morris <rgm@gnu.org>
3524 * eshell/em-unix.el (eshell/rm):
3525 Make -f ignore missing files. (Bug#15373)
3527 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3528 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3529 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3531 2013-09-14 Glenn Morris <rgm@gnu.org>
3533 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3535 2013-09-13 Glenn Morris <rgm@gnu.org>
3537 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3538 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3540 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3542 * frame.el (x-focus-frame): Mark as declared in frame.c.
3544 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3546 * ls-lisp.el: Use advice-add.
3547 (original-insert-directory): Remove.
3548 (ls-lisp--insert-directory): Rename from insert-directory; add
3549 `orig-fun' argument.
3550 (insert-directory): Advise.
3552 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3554 * term.el (term-emulate-terminal): Decode the command string
3555 before passing it to term-command-hook. (Bug#15337)
3557 2013-09-13 Glenn Morris <rgm@gnu.org>
3559 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3561 * eshell/esh-ext.el (eshell-search-path): Declare.
3563 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3564 Otherwise an error occurs if eshell-dirs module not loaded.
3566 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3568 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3570 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3571 `tramp-check-proper-host'. Check for a valid method name.
3573 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3574 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3575 * net/tramp-sh.el (tramp-maybe-open-connection):
3576 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3578 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3579 also for hash values.
3581 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3583 * term/ns-win.el (parameters): Don't declare as dynamic.
3584 (before-make-frame-hook): Don't add ineffective function.
3586 * eshell/*.el: Use lexical-binding (bug#15231).
3588 2013-09-12 Kenichi Handa <handa@gnu.org>
3590 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3592 2013-09-12 Glenn Morris <rgm@gnu.org>
3594 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3595 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3597 * subr.el (do-after-load-evaluation): Also give compiler warnings
3598 when obsolete files are used (except by obsolete files).
3600 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3601 in the status output, assume `filename' is the first. (Bug#15322)
3603 * vc/vc.el (vc-deduce-fileset): Doc fix.
3605 * calc/calc-help.el (Info-goto-node):
3606 * progmodes/cperl-mode.el (Info-find-node):
3607 * vc/ediff.el (Info-goto-node): Update declarations.
3609 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3611 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3612 (vc-bzr-pull): Require vc-dispatcher.
3613 * vc/vc-git.el (vc-compilation-mode): Declare.
3614 (vc-git-pull): Require vc-dispatcher.
3616 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3618 * progmodes/octave.el (help-button-action): Declare.
3620 * shell.el (shell-directory-tracker): Output error as a message
3621 rather than just returning it as a string.
3622 (shell-process-pushd): Remove useless use of message.
3624 * dframe.el (dframe-timer-fn):
3625 * files.el (dir-locals-read-from-file):
3626 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3628 * reveal.el (reveal-post-command):
3629 * saveplace.el (load-save-place-alist-from-file):
3630 * shell.el (shell-resync-dirs):
3631 * w32-common-fns.el (x-get-selection-value):
3632 * emacs-lisp/copyright.el (copyright-find-copyright):
3633 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3634 * emulation/tpu-edt.el (tpu-copy-keyfile):
3635 * play/bubbles.el (bubbles--mark-neighbourhood):
3636 * progmodes/executable.el
3637 (executable-make-buffer-file-executable-if-script-p):
3638 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3640 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3642 Cleanup Eshell to rely less on dynamic scoping.
3643 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3644 last-value, and ext-command here. Bind `args' closer to `body'.
3645 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3646 (eshell--args): Declare new dynamic var.
3647 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3648 last-value, and ext-command. Pass `args' to `body'.
3649 (eshell-process-args): Bind eshell--args.
3650 (eshell-set-option): Use eshell--args.
3651 * eshell/eshell.el (eshell): Use derived-mode-p.
3652 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3653 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3654 (eshell-glob-function): Declare.
3655 * eshell/esh-util.el: Require cl-lib.
3656 (eshell-read-hosts-file): Avoid add-to-list.
3657 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3659 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3661 (eshell/diff): Remove unused var `err'.
3662 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3664 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3665 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3667 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3668 Move declaration before first use.
3669 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3670 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3673 2013-09-12 Glenn Morris <rgm@gnu.org>
3675 * term/ns-win.el (global-map): Remove binding for ispell-next,
3676 deleted 1999-05-29. (Bug#15357)
3678 2013-09-11 Glenn Morris <rgm@gnu.org>
3680 * echistory.el (electric-command-history): Remove call to deleted func.
3682 * play/landmark.el (landmark-mode): Fix typos.
3684 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3685 Check cvs-sort-ignore-file is bound.
3687 * savehist.el: No need for cl when compiling on Emacs.
3689 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3691 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3693 (eshell-self-insert-command, eshell-send-invisible):
3694 Remove unused argument.
3695 (eshell-handle-control-codes): Remove unused var `orig'.
3696 Avoid delete-backward-char.
3698 * files.el (set-auto-mode): Simplify a bit further.
3700 2013-09-11 Glenn Morris <rgm@gnu.org>
3702 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3703 (set-auto-mode): Don't regexp-quote elements.
3704 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3705 * progmodes/cc-mode.el (interpreter-mode-alist):
3706 * progmodes/ruby-mode.el (interpreter-mode-alist):
3707 Revert previous change.
3709 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3711 * play/snake.el (snake-mode):
3712 * play/mpuz.el (mpuz-mode):
3713 * play/landmark.el (lm-mode):
3714 * play/blackbox.el (blackbox-mode):
3715 * play/5x5.el (5x5-mode):
3716 * obsolete/options.el (Edit-options-mode):
3717 * net/quickurl.el (quickurl-list-mode):
3718 * net/newst-treeview.el (newsticker-treeview-mode):
3719 * mail/rmailsum.el (rmail-summary-mode):
3720 * mail/mspools.el (mspools-mode):
3721 * locate.el (locate-mode):
3722 * ibuffer.el (ibuffer-mode):
3723 * emulation/ws-mode.el (wordstar-mode):
3724 * emacs-lisp/debug.el (debugger-mode):
3725 * array.el (array-mode):
3726 * net/eudc.el (eudc-mode): Use define-derived-mode.
3727 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3728 Move initialization into declaration.
3729 (mairix-searches-mode): Use define-derived-mode.
3730 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3731 (eudc-edit-hotlist): Use dolist.
3732 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3733 (Man-mode): Use define-derived-mode.
3734 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3735 (Info-edit-mode): Use define-derived-mode.
3736 (Info-cease-edit): Use Info-mode.
3737 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3739 (eshell-mode): Use define-derived-mode.
3740 * chistory.el (command-history-mode-map): Rename from
3741 command-history-map.
3742 (command-history-mode): Use define-derived-mode.
3743 (Command-history-setup): Remove function.
3744 * calc/calc.el (calc-trail-mode-map): New var.
3745 (calc-trail-mode): Use define-derived-mode.
3746 (calc-trail-buffer): Set calc-main-buffer manually.
3747 * bookmark.el (bookmark-insert-annotation): New function.
3748 (bookmark-edit-annotation): Use it.
3749 (bookmark-edit-annotation-mode): Make it a proper major mode.
3750 (bookmark-send-edited-annotation): Use derived-mode-p.
3751 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3752 closer to its ideal place. Use \' to match EOS.
3754 * profiler.el (profiler-calltree-find): Use function-equal.
3756 2013-09-10 Glenn Morris <rgm@gnu.org>
3758 * files.el (interpreter-mode-alist): Convert to regexps.
3759 (set-auto-mode): Adapt for this. (Bug#15306)
3760 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3761 Comment out unused variable.
3762 * progmodes/cc-mode.el (interpreter-mode-alist):
3763 * progmodes/python.el (interpreter-mode-alist):
3764 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3765 * progmodes/sh-script.el (sh-set-shell):
3766 No longer use interpreter-mode-alist to get list of shells.
3768 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3770 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3772 * simple.el: Use set-temporary-overlay-map for universal-argument.
3773 (universal-argument-map): Don't use default-bindings (bug#15317).
3774 Bind switch-frame explicitly. Replace universal-argument-minus with
3775 a conditional binding.
3776 (universal-argument-num-events, saved-overriding-map): Remove.
3777 (restore-overriding-map): Remove.
3778 (universal-argument--mode): Rename from save&set-overriding-map,
3780 (universal-argument, universal-argument-more, negative-argument)
3781 (digit-argument): Adjust accordingly.
3782 (universal-argument-minus): Remove.
3783 (universal-argument-other-key): Remove.
3785 * subr.el (with-demoted-errors): Add `format' argument.
3787 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3789 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3790 `tramp-cleanup-connection'.
3792 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3793 parameters KEEP-DEBUG and KEEP-PASSWORD.
3795 * net/tramp.el (tramp-file-name-handler):
3796 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3797 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3798 (tramp-maybe-open-connection):
3799 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3800 Use `tramp-cleanup-connection'.
3802 * net/tramp-sh.el (tramp-maybe-open-connection):
3803 Catch 'uname-changed inside the progress reporter.
3805 2013-09-10 Glenn Morris <rgm@gnu.org>
3807 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3809 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3810 returns "alternate access method" in mode (eg "-rw-r--r--.").
3812 2013-09-08 Glenn Morris <rgm@gnu.org>
3814 * saveplace.el (load-save-place-alist-from-file):
3815 Demote errors. (Bug#15305)
3817 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3819 Improve compatibility with older Emacsen, and XEmacs.
3821 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3822 only if it is bound. It isn't for XEmacs.
3823 (with-tramp-progress-reporter): Do not let-bind `result'.
3824 This yields to scoping errors in XEmacs.
3825 (tramp-handle-make-auto-save-file-name): New function, moved from
3828 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3829 for `make-auto-save-file-name'.
3830 (tramp-adb--gnu-switches-to-ash):
3831 Use `tramp-compat-replace-regexp-in-string'.
3833 * net/tramp-cache.el (tramp-cache-print): Call
3834 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3836 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3837 bound. It isn't for XEmacs.
3839 * net/tramp-compat.el (tramp-compat-copy-file):
3840 Catch `wrong-number-of-arguments' error.
3841 (tramp-compat-replace-regexp-in-string): New defun.
3843 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3844 for `make-auto-save-file-name'.
3845 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3847 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3848 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3849 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3851 * net/tramp-gw.el (tramp-gw-open-network-stream):
3852 Use `tramp-compat-replace-regexp-in-string'.
3854 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3855 Call `tramp-handle-make-auto-save-file-name'.
3856 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3857 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3858 (tramp-sh-file-inotifywait-process-filter):
3859 Use `tramp-compat-replace-regexp-in-string'.
3860 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3862 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3863 for `make-auto-save-file-name'.
3864 (tramp-smb-handle-copy-directory):
3865 Call `tramp-compat-replace-regexp-in-string'.
3866 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3867 (tramp-smb-handle-copy-file): Improve error message.
3868 (tramp-smb-handle-rename-file): Rename directly only in case
3869 `newname' does not exist yet. This is a restriction of smbclient.
3870 (tramp-smb-maybe-open-connection): Rerun the function only when
3871 `auth-sources' is non-nil.
3873 2013-09-08 Kenichi Handa <handa@gnu.org>
3875 * international/characters.el: Set category "^" (Combining) for
3878 2013-09-07 Alan Mackenzie <acm@muc.de>
3880 Correctly fontify Java class constructors.
3881 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3883 (c-recognize-typeless-decls): Set the Java value to t.
3884 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3885 While handling a "(", add a check for, effectively, Java, and handle a
3886 "typeless" declaration there.
3888 2013-09-07 Roland Winkler <winkler@gnu.org>
3890 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3891 field subtitle for entry type book.
3893 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3895 * minibuffer.el: Make minibuffer-complete call completion-in-region
3896 rather than other way around.
3897 (completion--some, completion-pcm--find-all-completions):
3898 Don't delay signals when debugging.
3899 (minibuffer-completion-contents): Beware fields within the
3900 minibuffer contents.
3901 (completion-all-sorted-completions): Use defvar-local.
3902 (completion--do-completion, completion--cache-all-sorted-completions)
3903 (completion-all-sorted-completions, minibuffer-force-complete):
3904 Add args `beg' and `end'.
3905 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3906 (minibuffer-complete): Use completion-in-region.
3907 (completion-complete-and-exit): New fun, extracted from
3908 minibuffer-complete-and-exit.
3909 (minibuffer-complete-and-exit): Use it.
3910 (completion--complete-and-exit): Rename from
3911 minibuffer--complete-and-exit.
3912 (completion-in-region--single-word): New function, extracted from
3913 minibuffer-complete-word.
3914 (minibuffer-complete-word): Use it.
3915 (display-completion-list): Make `common-substring' argument obsolete.
3916 (completion--in-region): Call completion--in-region-1 instead of
3917 minibuffer-complete.
3918 (completion-help-at-point): Pass boundaries to
3919 minibuffer-completion-help as args rather than via an overlay.
3920 (completion-pcm--string->pattern): Use `any-delim'.
3921 (completion-pcm--optimize-pattern): New function.
3922 (completion-pcm--pattern->regex): Handle `any-delim'.
3923 * icomplete.el (icomplete-forward-completions)
3924 (icomplete-backward-completions, icomplete-completions):
3925 Adjust calls to completion-all-sorted-completions and
3926 completion--cache-all-sorted-completions.
3927 (icomplete-with-completion-tables): Default to t.
3928 * emacs-lisp/crm.el (crm--current-element): Rename from
3929 crm--select-current-element. Don't put an overlay but return the
3931 (crm--completion-command): Take two new args to bind to the boundaries.
3932 (crm-completion-help): Adjust accordingly.
3933 (crm-complete): Use completion-in-region.
3934 (crm-complete-word): Use completion-in-region--single-word.
3935 (crm-complete-and-exit): Use completion-complete-and-exit.
3937 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3939 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
3942 2013-09-06 Juri Linkov <juri@jurta.org>
3944 * info.el (Info-display-images-node): When image file doesn't exist
3945 display text version of the image if it's provided in the Info file.
3946 Otherwise, display the location of missing image from SRC attribute.
3947 Add help-echo text property from ALT attribute. (Bug#15279)
3949 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3951 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
3952 (edit-abbrevs-mode): Use define-derived-mode.
3954 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
3955 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
3957 (epa-key-list-mode, epa-key-mode, epa-info-mode):
3958 Use define-derived-mode.
3960 * epg.el (epg-start-encrypt): Minor CSE simplification.
3962 2013-09-06 William Xu <william.xwl@gmail.com>
3964 * arc-mode.el: Add support for 7za (bug#15264).
3965 (archive-7z-program): New var.
3966 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
3967 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
3968 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
3970 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
3974 * net/tramp.el (tramp-syntax, tramp-prefix-format)
3975 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
3976 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
3977 (tramp-postfix-host-format, tramp-file-name-regexp)
3978 (tramp-completion-file-name-regexp)
3979 (tramp-completion-dissect-file-name)
3980 (tramp-handle-substitute-in-file-name): Remove 'url case.
3981 (tramp-file-name-regexp-url)
3982 (tramp-completion-file-name-regexp-url): Remove constants.
3984 2013-09-06 Glenn Morris <rgm@gnu.org>
3986 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
3988 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
3990 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
3991 keywords" below "here-doc beginnings" (Bug#15270).
3993 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
3995 * subr.el (pop): Use `car-safe'.
3996 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
3997 to detect unused `pop' return value.
3999 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4001 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4002 (python-fill-string): Remove unused var `marker'.
4003 (python-skeleton-add-menu-items): Remove unused var `items'.
4005 * international/mule-cmds.el: Require CL.
4006 (find-coding-systems-for-charsets): Avoid add-to-list.
4007 (sanitize-coding-system-list): New function, extracted from
4008 select-safe-coding-system-interactively.
4009 (select-safe-coding-system-interactively): Use it.
4010 (read-input-method-name): Accept symbols for `default'.
4012 * emacs-lisp/advice.el (defadvice): Add indent rule.
4014 2013-09-05 Daniel Hackney <dan@haxney.org>
4018 * net/browse-url.el:
4021 * net/eudcb-ldap.el:
4034 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4035 byte compiler. Remove some unused let-bound variables.
4037 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4039 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4040 a "ref-cell", since it gets better optimized (bug#14883).
4042 2013-09-05 Glenn Morris <rgm@gnu.org>
4044 * progmodes/cc-awk.el (c-forward-sws): Declare.
4046 2013-09-04 Glenn Morris <rgm@gnu.org>
4048 * generic-x.el [rul-generic-mode]: Require cc-mode.
4049 (c++-mode-syntax-table): Declare.
4050 (rul-generic-mode-syntax-table): Init in the defvar.
4052 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4054 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4055 (vc-do-command, vc-set-async-update):
4056 * vc/vc-mtn.el (vc-mtn-dir-status):
4057 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4058 (vc-hg-pull, vc-hg-merge-branch):
4059 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4060 (vc-git-merge-branch):
4061 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4062 (vc-cvs-dir-status-files):
4063 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4064 (vc-bzr-dir-status-files):
4065 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4066 * vc/vc-annotate.el: Use lexical-binding.
4067 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4068 (vc-sentinel-movepoint): Declare.
4069 (vc-annotate): Don't use `goto-line'.
4070 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4071 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4072 (vc-sentinel-movepoint): Declare.
4073 * vc/vc-svn.el: Use lexical-binding.
4074 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4076 * vc/vc-rcs.el: Use lexical-binding.
4078 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4079 `deleted'. Don't drop errors silently.
4081 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4083 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4085 * vc/vc.el (vc-ignore): Rewrite.
4086 (vc-default-ignore): New function.
4087 (vc-default-ignore-completion-table): Use find-ignore-file.
4089 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4090 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4091 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4092 Remove. Most code moved to vc.el.
4094 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4096 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4097 * net/tramp-smb.el (tramp-smb-get-file-entries):
4098 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4099 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4101 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4103 (eww-change-select): Remove unused var `properties'.
4104 (eww-make-unique-file-name): Remove unused var `base'.
4106 * finder.el (finder-compile-keywords): Don't mess with windows.
4108 * calculator.el (calculator-funcall): Fix typo in last change.
4110 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4112 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4113 <pkg>-autoloads.el file stop us.
4115 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4116 warnings, and factor out common code.
4118 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4120 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4121 two-character operators and whether the character preceding them
4122 changes their meaning (Bug#15208).
4124 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4126 Format code sent to Python shell for robustness.
4127 * progmodes/python.el (python-shell-buffer-substring):
4129 (python-shell-send-region, python-shell-send-buffer): Use it.
4131 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4133 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4134 * net/tramp.el (tramp-user-error): ... here.
4135 (tramp-find-method, tramp-check-proper-host)
4136 (tramp-dissect-file-name, tramp-debug-message)
4137 (tramp-handle-shell-command):
4138 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4139 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4141 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4143 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4145 * avoid.el (mouse-avoidance-point-position)
4146 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4149 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4151 * progmodes/python.el (python-shell-completion-get-completions):
4152 Drop use of deleted `comint-last-prompt-overlay'.
4153 (python-nav-if-name-main): New command.
4155 2013-09-01 Glenn Morris <rgm@gnu.org>
4157 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4158 Avoid leading space in $wins. Otherwise the sed command used by
4159 eg compile-main ends up containing "/*.el". (Bug#15170)
4161 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4163 2013-08-30 Glenn Morris <rgm@gnu.org>
4165 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4166 Fix is-this-a-directory logic. (Bug#15220)
4168 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4170 * textmodes/css-mode.el: Use SMIE.
4171 (css-smie-grammar): New var.
4172 (css-smie--forward-token, css-smie--backward-token)
4173 (css-smie-rules): New functions.
4174 (css-mode): Use them.
4175 (css-navigation-syntax-table): Remove var.
4176 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4177 (css-indent-calculate, css-indent-line): Remove functions.
4179 Misc changes to reduce use of `(lambda...); and other cleanups.
4180 * cus-edit.el: Use lexical-binding.
4181 (customize-push-and-save, customize-apropos)
4182 (custom-buffer-create-internal): Use closures.
4183 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4184 * progmodes/ada-xref.el: Use setq.
4185 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4186 * dframe.el: Use lexical-binding.
4187 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4188 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4189 * descr-text.el: Use lexical-binding.
4190 (describe-text-widget, describe-text-sexp, describe-property-list):
4192 * comint.el (comint-history-isearch-push-state): Use a closure.
4193 * calculator.el: Use lexical-binding.
4194 (calculator-number-to-string): Make it work with lexical-binding.
4195 (calculator-funcall): Same and use cl-letf.
4197 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4198 (lisp--company-doc-string, lisp--company-location): New functions.
4199 (lisp-completion-at-point): Use them to improve Company support.
4201 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4202 params of lambda expressions.
4203 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4204 (ruby-smie--opening-pipe-p): New function.
4205 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4206 symbols and matched |...| for formal params.
4207 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4208 from being treated as hanging. Handle "rescue".
4210 2013-08-29 Glenn Morris <rgm@gnu.org>
4212 * progmodes/cc-engine.el (c-pull-open-brace):
4213 Move definition before use.
4215 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4217 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4218 are immutable. Don't use `unsafe' any more.
4219 (cl--defsubst-expand): Don't substitute at the same time as keeping
4220 a residual unused let-binding. Don't use `unsafe' any more.
4222 2013-08-29 Glenn Morris <rgm@gnu.org>
4224 * calendar/cal-china.el (calendar-chinese-year-cache):
4227 * nxml/nxml-util.el (nxml-debug-clear-inside):
4228 Use cl-loop rather than loop.
4230 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4232 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4234 2013-08-28 Glenn Morris <rgm@gnu.org>
4236 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4238 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4240 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4242 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4244 * simple.el (repeat-complex-command--called-interactively-skip):
4246 (repeat-complex-command): Use it (bug#14136).
4248 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4249 (c-define-abbrev-table): Add `doc' argument.
4250 (c-mode-abbrev-table, c++-mode-abbrev-table)
4251 (objc-mode-abbrev-table, java-mode-abbrev-table)
4252 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4253 (awk-mode-abbrev-table): Use it.
4254 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4255 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4256 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4257 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4258 Move initialization into the declaration; and remove any
4261 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4262 and dynamic let binding.
4264 * vc/smerge-mode.el: Remove redundant :group args.
4266 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4269 2013-08-28 Juri Linkov <juri@jurta.org>
4271 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4272 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4273 (isearch-other-meta-char): Handle an undefined shifted printing
4274 character by downshifting it. (Bug#15200)
4276 2013-08-28 Juri Linkov <juri@jurta.org>
4278 * isearch.el (isearch-search): Change regexp error message for
4279 non-regexp searches. (Bug#15166)
4281 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4283 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4284 for portability to hosts where /bin/sh has problems.
4286 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4288 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4290 2013-08-27 Juri Linkov <juri@jurta.org>
4292 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4293 in the keyboard macro. (Bug#15126)
4295 2013-08-27 Juri Linkov <juri@jurta.org>
4297 * isearch.el (isearch-quote-char): Comment out converting unibyte
4298 to multibyte, thus syncing with its `quoted-insert' counterpart.
4301 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4303 * window.el (display-buffer-use-some-window): Add missing
4304 argument in call of get-largest-window (Bug#15185).
4305 Reported by Stephen Leake.
4307 2013-08-27 Glenn Morris <rgm@gnu.org>
4309 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4311 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4313 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4314 from a matcher-function unless there's no more matches (bug#15161).
4316 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4318 * minibuffer.el: Revert change from 2013-08-20.
4320 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4321 with text property `tramp-default', if appropriate.
4322 (tramp-check-proper-host): New defun.
4323 (tramp-dissect-file-name): Do not check hostname. Revert change
4325 (tramp-backtrace): Make VEC-OR-PROC optional.
4327 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4328 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4329 * net/tramp-sh.el (tramp-maybe-open-connection):
4330 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4331 Apply `tramp-check-proper-host'.
4333 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4335 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4336 lambda expression in order to have `describe-variable' display it.
4338 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4340 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4341 BUF can be optional. (Bug#15186)
4343 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4345 * progmodes/flymake.el (flymake-get-real-file-name-function):
4346 Fix broken customization. (Bug#15184)
4348 2013-08-25 Alan Mackenzie <acm@muc.de>
4350 Improve indentation of bracelists defined by macros (without "=").
4352 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4353 expansion begins with "{", regard it as bracelist when it doesn't
4356 Parse C++ inher-intro when there's a template split over 2 lines.
4358 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4359 rigorously the search for "class" etc. followed by ":".
4361 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4362 random languages a regexp which never matches rather than nil.
4364 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4366 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4367 (c-awk-regexp-one-line-possibly-open-char-list-re)
4368 (c-awk-one-line-possibly-open-regexp-re)
4369 (c-awk-one-line-non-syn-ws*-re): Remove.
4370 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4371 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4372 (c-awk-space*-unclosed-regexp-/-re): New constants.
4373 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4374 aren't regexp delimiters.
4376 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4377 handling for a rare situation in AWK Mode involving unterminated
4380 2013-08-23 Glenn Morris <rgm@gnu.org>
4382 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4384 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4386 * files.el (create-file-buffer): If the result would begin with
4387 spaces, prepend a "|" instead of removing them. (Bug#15162)
4389 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4391 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4392 text-properties (bug#15155).
4394 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4396 (calc-keypad-redraw): Remove unused var `pad'.
4397 (calc-keypad-press): Remove unused var `menu'.
4399 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4401 * window.el (display-buffer-pop-up-frame):
4402 Call pop-up-frame-function with BUFFER current so `make-frame' will
4403 use it as the new frame's buffer (Bug#15133).
4405 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4407 * calendar/timeclock.el: Minor cleanups.
4408 (timeclock-ask-before-exiting, timeclock-use-display-time):
4410 (timeclock-modeline-display): Define as alias before the
4412 (timeclock-mode-line-display): Use define-minor-mode.
4413 (timeclock-day-list-template): Make it a function, add an argument.
4414 (timeclock-day-list-required, timeclock-day-list-length)
4415 (timeclock-day-list-debt, timeclock-day-list-span)
4416 (timeclock-day-list-break): Adjust calls accordingly.
4418 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4420 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4421 Use read--expression so that completion works again.
4423 2013-08-21 Sam Steingold <sds@gnu.org>
4425 Add rudimentary inferior shell interaction
4426 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4427 (sh-set-shell): Reset it.
4428 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4429 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4431 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4433 * align.el: Use lexical-binding.
4434 (align-region): Simplify accordingly.
4436 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4438 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4440 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4443 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4447 * net/tramp-cmds.el:
4449 * net/tramp-gvfs.el:
4451 * net/tramp-sh.el: Don't wrap external variable declarations by
4452 `eval-when-compile'.
4454 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4456 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4457 now that Emacs supports ImageMagick animations.
4459 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4461 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4462 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4464 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4466 * window.el (mouse-autoselect-window-select): Do autoselect when
4467 mouse pointer is on margin.
4469 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4471 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4473 2013-08-16 Glenn Morris <rgm@gnu.org>
4475 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4476 Handle "Remote Directory" response of some clients. (Bug#15058)
4478 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4479 Tweak warning. (Bug#14926)
4481 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4482 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4484 * image-mode.el (image-mode-map): Add menu items to reverse,
4485 increase, decrease, reset animation speed.
4486 (image--set-speed, image-increase-speed, image-decrease-speed)
4487 (image-reverse-speed, image-reset-speed): New functions.
4488 (image-mode-map): Add bindings for speed commands.
4490 * image.el (image-animate-get-speed, image-animate-set-speed):
4492 (image-animate-timeout): Respect image :speed property.
4494 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4496 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4497 previous line (bug#15101).
4498 (debugger-eval-expression, debugger-record-expression):
4499 Use read--expression (bug#15102).
4501 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4503 Remove byte compiler warnings, visible when compiling with
4504 `byte-compile-force-lexical-warnings' set to t.
4506 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4507 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4508 (tramp-handle-unhandled-file-name-directory)
4509 (tramp-handle-file-notify-add-watch, tramp-action-login)
4510 (tramp-action-succeed, tramp-action-permission-denied)
4511 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4514 * net/tramp-adb.el (tramp-adb-parse-device-names)
4515 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4516 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4517 (tramp-adb-handle-file-truename): Remove unused arguments.
4519 * net/tramp-cache.el (tramp-flush-directory-property)
4520 (tramp-flush-connection-property, tramp-list-connections)
4521 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4523 * net/tramp-compat.el (tramp-compat-make-temp-file):
4524 Rename FILENAME to F.
4526 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4527 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4528 (tramp-zeroconf-parse-workstation-device-names)
4529 (tramp-zeroconf-parse-webdav-device-names)
4530 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4532 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4533 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4535 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4537 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4538 (tramp-sh-handle-insert-file-contents-literally)
4539 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4541 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4542 Remove unused variables.
4544 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4545 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4546 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4548 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4549 Make them a defconst.
4550 (tramp-uuencode-region): Remove unused variable.
4552 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4554 * frameset.el (frameset--prop-setter): New function.
4555 (frameset-prop): Add gv-setter declaration.
4556 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4557 parameter was already set in FILTERED. Doc fix.
4558 (frameset--record-minibuffer-relationships): Allow saving a
4559 minibufferless frame without its corresponding minibuffer frame.
4560 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4561 frame, if the frame id matches.
4562 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4563 frames before orphaned ones.
4564 (frameset-restore): Warn about orphaned windows, instead of error out.
4566 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4568 * window.el (window-make-atom): Don't overwrite parameter
4570 (display-buffer-in-atom-window): Handle special case where we
4571 split an already atomic window.
4572 (window--major-non-side-window, display-buffer-in-side-window)
4573 (window--side-check): Ignore minibuffer window when walking
4575 (window-deletable-p): Return 'frame only if no other frame uses
4576 our minibuffer window.
4577 (record-window-buffer): Run buffer-list-update-hook.
4578 (split-window): Make sure window--check-frame won't destroy an
4579 existing atomic window in case the new window gets nested
4581 (display-buffer-at-bottom): Ignore minibuffer window when
4582 walking window tree. Don't split a side window.
4583 (pop-to-buffer): Don't set-buffer here, the select-window call
4585 (mouse-autoselect-window-select): Autoselect only if we are in the
4586 text portion of the window.
4588 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4590 * net/shr.el (shr-parse-image-data): New function to grab both the
4591 data itself and the Content-Type.
4592 (shr-put-image): Use it.
4594 * net/eww.el (eww-display-image): Ditto.
4596 * image.el (image-content-type-suffixes): New variable.
4598 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4600 * progmodes/python.el (python-imenu--build-tree)
4601 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4603 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4605 * simple.el (backward-word): Mention the optional argument.
4607 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4609 * frameset.el (frameset--make): Rename constructor from make-frameset.
4610 (frameset-p, frameset-valid-p): Don't autoload.
4611 (frameset-valid-p): Use normal accessors.
4613 2013-08-13 Glenn Morris <rgm@gnu.org>
4615 * progmodes/compile.el (compile-command): Tweak example in doc.
4616 * obsolete/scribe.el (scribe-mode):
4617 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4619 * mail/feedmail.el (feedmail-confirm-outgoing)
4620 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4622 * cus-start.el (truncate-partial-width-windows): Fix type.
4624 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4626 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4628 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4630 * emacs-lisp/timer.el (timer--time-setter): New function.
4631 (timer--time): Use it as gv-setter.
4633 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4634 setter is not a symbol.
4636 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4638 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4639 if sending fails. This makes debugging easier.
4641 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4643 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4644 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4645 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4647 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4649 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4651 2013-08-12 Glenn Morris <rgm@gnu.org>
4653 * format.el (format-annotate-function):
4654 Handle read-only text properties in the source. (Bug#14887)
4656 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4658 * net/eww.el (eww-display-html): Ignore coding system errors.
4659 One web site uses "utf-8lias" as the coding system.
4661 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4663 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4665 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4667 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4668 (tutorial--detailed-help): Remove unused local variables.
4669 (tutorial--save-tutorial-to): Use ignore-errors.
4670 (help-with-tutorial): Use looking-at-p.
4672 * view.el (view-buffer-other-window, view-buffer-other-frame):
4673 Mark unused arguments.
4675 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4676 (woman-select-symbol-fonts, woman, woman-find-file)
4677 (woman-insert-file-contents, woman-non-underline-faces):
4679 (woman1-unquote): Move declaration.
4681 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4682 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4683 argument. Remove unused local variable.
4684 (xml-parse-elem-type): Use string-match-p.
4685 (xml-substitute-numeric-entities): Use ignore-errors.
4687 * calculator.el (calculator): Mark unused argument.
4688 (calculator-paste, calculator-quit, calculator-integer-p):
4690 (calculator-string-to-number, calculator-decimal, calculator-exp)
4691 (calculator-op-or-exp): Use string-match-p.
4693 * dired.el (dired-buffer-more-recently-used-p): Declare.
4694 (dired-insert-set-properties, dired-insert-old-subdirs):
4697 * dired-aux.el (dired-compress): Use ignore-errors.
4698 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4699 (dired-do-async-shell-command, dired-do-shell-command)
4700 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4701 (dired-insert-subdir-validate): Use string-match-p.
4702 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4703 (dired-add-entry): Use string-match-p, looking-at-p.
4704 (dired-insert-subdir-newpos): Remove unused local variable.
4706 * filenotify.el (file-notify-callback): Remove unused local variable.
4708 * filesets.el (filesets-error): Mark unused argument.
4709 (filesets-which-command-p, filesets-filter-dir-names)
4710 (filesets-directory-files, filesets-get-external-viewer)
4711 (filesets-ingroup-get-data): Use string-match-p.
4713 * find-file.el (ff-other-file-name, ff-other-file-name)
4714 (ff-find-the-other-file, ff-cc-hh-converter):
4715 Remove unused local variables.
4716 (ff-get-file-name): Use string-match-p.
4717 (ff-all-dirs-under): Use ignore-errors.
4719 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4720 (follow-select-if-visible): Remove unused local variable.
4722 * forms.el (read-file-filter): Move declaration.
4723 (forms--make-format, forms--make-parser, forms-insert-record):
4724 Quote function with #'.
4725 (forms--update): Use string-match-p. Quote function with #'.
4727 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4728 (help-make-xrefs): Use looking-at-p.
4729 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4731 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4732 (ibuffer-confirm-operation-on): Use string-match-p.
4734 * msb.el (msb-item-handler, msb-dired-item-handler):
4735 Mark unused arguments.
4737 * ses.el (ses-decode-cell-symbol)
4738 (ses-kill-override): Remove unused local variable.
4739 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4740 (ses-load): Use ignore-errors, looking-at-p.
4741 (ses-jump-safe): Use ignore-errors.
4742 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4744 * tabify.el (untabify, tabify): Mark unused arguments.
4746 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4747 Mark unused argument.
4748 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4749 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4751 * emacs-lisp/timer.el (timer--time): Define setter with
4752 gv-define-setter to avoid deprecation warning.
4754 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4755 (*record-cmpl-statistics-p*): Remove (was commented out).
4756 (cmpl-statistics-block): Remove (body was commented out).
4757 All callers changed.
4758 (add-completions-from-buffer, load-completions-from-file):
4759 Remove unused variables.
4761 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4763 * filecache.el (file-cache-delete-file-list):
4764 Print message only when told so.
4765 (file-cache-files-matching): Use #' in mapconcat argument.
4767 * ffap.el (ffap-url-at-point): Fix reference to variable
4768 thing-at-point-default-mail-uri-scheme.
4770 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4772 * subr.el (define-error): New function.
4773 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4774 error-file-not-found and define with define-error.
4775 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4776 and define with define-error.
4777 * userlock.el (file-locked, file-supersession):
4778 * simple.el (mark-inactive):
4779 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4780 * progmodes/ada-mode.el (ada-mode-errors):
4781 * play/life.el (life-extinct):
4782 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4783 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4784 * nxml/rng-util.el (rng-error):
4785 * nxml/rng-uri.el (rng-uri-error):
4786 * nxml/rng-match.el (rng-compile-error):
4787 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4788 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4789 * nxml/nxml-rap.el (nxml-scan-error):
4790 * nxml/nxml-outln.el (nxml-outline-error):
4791 * net/soap-client.el (soap-error):
4792 * net/gnutls.el (gnutls-error):
4793 * net/ange-ftp.el (ftp-error):
4794 * mpc.el (mpc-proc-error):
4795 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4796 (json-number-format, json-string-escape, json-string-format)
4797 (json-key-format, json-object-format):
4798 * jka-compr.el (compression-error):
4799 * international/quail.el (quail-error):
4800 * international/kkc.el (kkc-error):
4801 * emacs-lisp/ert.el (ert-test-failed):
4802 * calc/calc.el (calc-error, inexact-result, math-overflow)
4804 * bookmark.el (bookmark-error-no-filename):
4805 * epg.el (epg-error): Define with define-error.
4807 * time.el (display-time-event-handler)
4808 (display-time-next-load-average): Don't call sit-for since it seems
4809 unnecessary (bug#15045).
4811 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4812 Use #' instead of ' to quote functions.
4813 (checkdoc-output-mode): Use setq-local.
4814 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4815 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4816 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4817 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4818 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4819 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4820 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4821 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4823 * ido.el (ido-completion-help): Fix up compiler warning.
4825 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4827 * frameset.el (frameset-p): Add autoload cookie.
4828 (frameset--jump-to-register): New function, based on code moved from
4830 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4832 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4833 (frameset-restore, frameset-save, frameset-session-filter-alist):
4834 Remove declarations.
4835 (register-alist): Doc fix.
4836 (frameset-to-register): Move to frameset.el.
4837 (jump-to-register, describe-register-1): Remove frameset-specific code.
4839 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4841 * allout-widgets.el (allout-widgets-pre-command-business)
4842 (allout-widgets-post-command-business)
4843 (allout-widgets-after-change-handler)
4844 (allout-decorate-item-and-context, allout-set-boundary-marker)
4845 (allout-body-modification-handler)
4846 (allout-graphics-modification-handler): Mark ignored arguments.
4847 (allout-widgets-post-command-business)
4848 (allout-widgets-exposure-change-processor)
4849 (allout-widgets-exposure-undo-processor)
4850 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4851 (allout-parse-item-at-point, allout-decorate-item-guides)
4852 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4853 * allout.el (epa-passphrase-callback-function): Declare.
4854 (allout-overlay-insert-in-front-handler)
4855 (allout-overlay-interior-modification-handler)
4856 (allout-isearch-end-handler, allout-chart-siblings)
4857 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4858 (allout-yank-processing, allout-process-exposed)
4859 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4860 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4861 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4862 (lisp-indent-defform): Mark ignored arguments.
4863 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4864 (calculate-lisp-indent): Remove unused variables.
4865 * international/characters.el (indian-2-column, arabic-2-column)
4866 (tibetan): Mark ignored arguments.
4867 (use-cjk-char-width-table): Mark ignored arguments.
4868 Remove unused variables.
4869 * international/fontset.el (build-default-fontset-data)
4870 (x-compose-font-name, create-fontset-from-fontset-spec):
4871 Mark ignored arguments.
4872 (fontset-plain-name): Remove unused variables.
4873 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4874 (keyboard-coding-system): Mark ignored arguments.
4875 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4876 * help.el (resize-temp-buffer-window):
4877 * window.el (display-buffer-in-major-side-window)
4878 (display-buffer-in-side-window, display-buffer-in-previous-window):
4879 Remove unused variables.
4880 * isearch.el (isearch-forward-symbol):
4881 * version.el (emacs-bzr-version-bzr):
4882 * international/mule-cmds.el (current-language-environment):
4883 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4885 * term/pc-win.el (x-list-fonts, x-display-planes)
4886 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4887 (x-server-version, x-display-screens, x-display-mm-height)
4888 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4889 (x-selection-owner-p, x-own-selection-internal)
4890 (x-disown-selection-internal, x-get-selection-internal)
4891 (msdos-initialize-window-system):
4892 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4893 * term/x-win.el (x-handle-no-bitmap-icon):
4894 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4895 (vc-default-find-file-hook, vc-default-extra-menu):
4896 Mark ignored arguments.
4898 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4900 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4901 break-condition in the context of the debugged code (bug#12685).
4903 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4906 Do not use an overlay to highlight the last prompt. (Bug#14744)
4907 (comint-mode): Make comint-last-prompt buffer local.
4908 (comint-last-prompt): New variable.
4909 (comint-last-prompt-overlay): Remove. Superseded by
4911 (comint-snapshot-last-prompt, comint-output-filter):
4912 Use comint-last-prompt.
4914 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4916 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4917 (frameset-save): Check validity of the resulting frameset.
4919 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4921 * ido.el (ido-record-command): Add doc string.
4923 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4925 * frameset.el (frameset): Do not disable creation of the default
4926 frameset-p predicate. Doc fix.
4927 (frameset-valid-p): New function, copied from the old predicate-p.
4928 Add additional checks.
4929 (frameset-restore): Check with frameset-valid-p.
4930 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4931 (frameset-name, frameset-description, frameset-properties)
4932 (frameset-states): Add docstring.
4933 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4934 (frameset-filter-alist): Doc fixes.
4936 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4938 * frameset.el (frameset-p, frameset-prop): Doc fixes.
4940 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4942 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
4943 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
4944 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
4945 (byte-compile-normal-call): Remove obsolescence check.
4947 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4949 * frameset.el (frameset-restore): Doc fix.
4951 * register.el (frameset-frame-id, frameset-frame-with-id)
4952 (frameset-p, frameset-restore, frameset-save): Declare.
4953 (register-alist): Document framesets.
4954 (frameset-session-filter-alist): Declare.
4955 (frameset-to-register): New function.
4956 (jump-to-register): Implement jumping to framesets. Doc fix.
4957 (describe-register-1): Describe framesets.
4959 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
4961 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
4963 * desktop.el (desktop-save-frameset): Use new frameset-save args.
4964 Use lexical-binding.
4966 * frameset.el (frameset): Use type vector, not list (incompatible
4967 change). Do not declare a new constructor, use the default one.
4968 Upgrade suggested properties `app', `name' and `desc' to slots `app',
4969 `name' and `description', respectively, and add read-only slot
4970 `timestamp'. Doc fixes.
4971 (frameset-copy, frameset-persistent-filter-alist)
4972 (frameset-filter-alist, frameset-switch-to-gui-p)
4973 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
4974 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
4975 (frameset-filter-iconified, frameset-keep-original-display-p):
4977 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
4978 Rename from frameset-filter-(save|restore)-param. All callers changed.
4980 (frameset-p): Adapt to change to vector and be more thorough.
4981 Change arg name to OBJECT. Doc fix.
4982 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
4983 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
4984 All callers changed.
4985 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
4986 All callers changed.
4987 (frameset--record-minibuffer-relationships): Rename from
4988 frameset--process-minibuffer-frames. All callers changed.
4989 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
4990 Use new default constructor (again). Doc fix.
4991 (frameset--find-frame-if): Rename from `frameset--find-frame.
4992 All callers changed.
4993 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
4994 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
4996 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
4997 PARAMETERS and WINDOW-STATE, respectively.
4998 (frameset-restore): Add new keyword argument PREDICATE.
4999 Reset frameset--target-display to nil. Doc fix.
5001 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5003 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5005 (bat-mode-syntax-table): Mark \n as end-of-comment.
5006 (bat-font-lock-keywords): Remove comment rule.
5008 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5009 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5011 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5012 (byte-compile-callargs-warn): Use `push'.
5013 (byte-compile-arglist-warn): Ignore higher-order "calls".
5014 (byte-compile-file-form-autoload): Use `pcase'.
5015 (byte-compile-function-form): If quoting a symbol, check that it exists.
5017 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5019 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5020 and add a few popular commands found in batch files.
5021 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5022 (dos-mode): Doc fixes.
5024 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5026 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5027 (dos-mode): Use setq-local. Add space after "rem".
5028 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5029 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5031 2013-08-07 Arni Magnusson <arnima@hafro.is>
5033 * progmodes/dos.el: New file.
5034 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5037 2013-08-06 Glenn Morris <rgm@gnu.org>
5039 * calendar/calendar.el: Add new faces, and day-header-array.
5040 (calendar-weekday-header, calendar-weekend-header)
5041 (calendar-month-header): New faces.
5042 (calendar-day-header-construct): New function.
5043 (calendar-day-header-width): Also :set calendar-day-header-array.
5044 (calendar-american-month-header, calendar-european-month-header)
5045 (calendar-iso-month-header): Use calendar- faces.
5046 (calendar-generate-month):
5047 Use calendar-day-header-array for day headers; apply faces to them.
5048 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5049 (calendar-abbrev-construct): Add optional maxlen argument.
5050 (calendar-day-name-array): Doc fix.
5051 (calendar-day-name-array, calendar-abbrev-length)
5052 (calendar-day-abbrev-array):
5053 Also :set calendar-day-header-array, and maybe redraw.
5054 (calendar-day-header-array): New option. (Bug#15007)
5055 (calendar-font-lock-keywords): Set to nil and make obsolete.
5056 (calendar-day-name): Add option to use header array.
5058 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5060 * net/shr.el (shr-render-td): Remove debugging.
5061 (shr-render-td): Make width computation consistent by defaulting
5062 all zero-width columns to 10 characters. This may not be optimal,
5063 but it's at least consistent.
5064 (shr-make-table-1): Redo last change to fix the real problem in
5067 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5069 * files.el (cache-long-line-scans):
5070 Make obsolete alias to `cache-long-scans'.
5072 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5074 * frameset.el (frameset, frameset-filter-alist)
5075 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5076 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5077 (frameset-compute-pos): Rename from frameset--compute-pos,
5079 (frameset-move-onscreen): Use frameset-compute-pos.
5080 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5082 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5083 Fix typos in docstrings.
5085 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5087 * frame.el (get-other-frame): Tiny cleanup.
5089 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5091 * vc/vc.el (vc-default-ignore-completion-table):
5092 Silence byte-compiler warning.
5094 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5095 slot , which can indeed be nil.
5096 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5097 Move entry for `left' from persistent to live filter alist.
5098 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5100 (frameset-filter-params): When restoring a frame, copy items added to
5101 `filtered', to avoid unwittingly modifying the original parameters.
5102 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5103 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5105 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5106 to use looking-at-p instead of looking-at. (Bug#15028)
5108 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5110 Revert introduction of isearch-filter-predicates (bug#14714).
5111 Rely on add-function instead.
5112 * isearch.el (isearch-filter-predicates): Rename it back to
5113 isearch-filter-predicate.
5114 (isearch-message-prefix): Use advice-function-mapc and advice
5115 properties to get the isearch-message-prefix.
5116 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5117 instead of run-hook-with-args-until-failure.
5118 (isearch-filter-visible): Not obsolete any more.
5119 * loadup.el: Preload nadvice.
5120 * replace.el (perform-replace): Revert to funcall
5121 instead of run-hook-with-args-until-failure.
5122 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5123 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5124 dired-isearch-filenames-toggle; make it into a proper minor mode.
5125 Use add/remove-function.
5126 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5127 Call the minor-mode rather than add/remove-hook.
5128 (dired-isearch-filter-filenames):
5129 Remove isearch-message-prefix property.
5130 * info.el (Info--search-loop): New function, extracted from Info-search.
5131 Funcall isearch-filter-predicate instead of
5132 run-hook-with-args-until-failure isearch-filter-predicates.
5133 (Info-search): Use it.
5134 (Info-mode): Use isearch-filter-predicate instead of
5135 isearch-filter-predicates.
5137 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5139 Do not call to `selected-window' where it is assumed by default.
5140 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5141 `window-hscroll', `window-width', `window-height', `window-buffer',
5142 `window-frame', `window-start', `window-point', `next-window'
5143 and `window-display-table'.
5144 * abbrev.el (abbrev--default-expand):
5145 * bs.el (bs--show-with-configuration):
5146 * buff-menu.el (Buffer-menu-mouse-select):
5147 * calc/calc.el (calc):
5148 * calendar/calendar.el (calendar-generate-window):
5149 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5151 * comint.el (send-invisible, comint-dynamic-complete-filename)
5152 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5153 * completion.el (complete):
5154 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5155 * disp-table.el (describe-current-display-table):
5156 * doc-view.el (doc-view-insert-image):
5157 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5158 * ehelp.el (with-electric-help):
5159 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5160 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5161 * emacs-lisp/helper.el (Helper-help-scroller):
5162 * emulation/cua-base.el (cua--post-command-handler-1):
5163 * eshell/esh-mode.el (eshell-output-filter):
5164 * ffap.el (ffap-gnus-wrapper):
5165 * help-macro.el (make-help-screen):
5166 * hilit-chg.el (highlight-compare-buffers):
5167 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5168 * hl-line.el (global-hl-line-highlight):
5169 * icomplete.el (icomplete-simple-completing-p):
5170 * isearch.el (isearch-done):
5171 * jit-lock.el (jit-lock-stealth-fontify):
5172 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5173 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5174 * mpc.el (mpc-tagbrowser, mpc):
5175 * net/rcirc.el (rcirc-any-buffer):
5176 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5177 * play/landmark.el (landmark-max-width, landmark-max-height):
5178 * play/zone.el (zone):
5179 * progmodes/compile.el (compilation-goto-locus):
5180 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5181 * progmodes/etags.el (find-tag-other-window):
5182 * progmodes/fortran.el (fortran-column-ruler):
5183 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5184 * progmodes/verilog-mode.el (verilog-point-text):
5185 * reposition.el (reposition-window):
5186 * rot13.el (toggle-rot13-mode):
5187 * server.el (server-switch-buffer):
5188 * shell.el (shell-dynamic-complete-command)
5189 (shell-dynamic-complete-environment-variable):
5190 * simple.el (insert-buffer, set-selective-display)
5191 (delete-completion-window):
5192 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5193 (speedbar-recenter):
5194 * startup.el (fancy-splash-head):
5195 * textmodes/ispell.el (ispell-command-loop):
5196 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5197 * tutorial.el (help-with-tutorial):
5198 * vc/add-log.el (add-change-log-entry):
5199 * vc/compare-w.el (compare-windows):
5200 * vc/ediff-help.el (ediff-indent-help-message):
5201 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5202 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5203 (ediff-setup-control-frame):
5204 * vc/emerge.el (emerge-position-region):
5205 * vc/pcvs-util.el (cvs-bury-buffer):
5206 * window.el (walk-windows, mouse-autoselect-window-select):
5207 * winner.el (winner-set-conf, winner-undo): Related users changed.
5209 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5211 * frameset.el (frameset--set-id): Doc fix.
5212 (frameset-frame-id, frameset-frame-id-equal-p)
5213 (frameset-locate-frame-id): New functions.
5214 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5215 (frameset-restore): Use them.
5217 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5219 Do not call to `selected-frame' where it is assumed by default.
5220 Affected functions are `raise-frame', `redraw-frame',
5221 `frame-first-window', `frame-terminal' and `delete-frame'.
5222 * calendar/appt.el (appt-disp-window):
5223 * epg.el (epg-wait-for-completion):
5224 * follow.el (follow-delete-other-windows-and-split)
5225 (follow-avoid-tail-recenter):
5226 * international/mule.el (set-terminal-coding-system):
5227 * mail/rmail.el (rmail-mail-return):
5228 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5229 * progmodes/f90.el (f90-add-imenu-menu):
5230 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5231 * server.el (server-switch-buffer):
5232 * simple.el (delete-completion-window):
5234 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5235 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5236 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5237 * vc/ediff.el (ediff-documentation): Related users changed.
5238 * frame.el (selected-terminal): Remove the leftover.
5240 2013-08-05 Glenn Morris <rgm@gnu.org>
5242 * calendar/calendar.el (calendar-generate-month):
5243 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5244 (calendar-generate-month, calendar-font-lock-keywords):
5245 Fix for calendar-day-header-width > length of any day name.
5247 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5249 * desktop.el (desktop-clear): Use new name of sort predicate.
5251 * frameset.el (frameset): Add docstring. Move :version property to its
5253 (frameset-copy): Rename from copy-frameset.
5254 (frameset-p): Check more thoroughly.
5255 (frameset-prop): Do not check for :version, which is no longer a prop.
5256 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5257 Use new :never value instead of t.
5258 (frameset-filter-alist): Expand and clarify docstring.
5259 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5260 (frameset-filter-minibuffer, frameset-filter-save-param)
5261 (frameset-filter-restore-param, frameset-filter-iconified):
5262 Add pointer to docstring of frameset-filter-alist.
5263 (frameset-filter-params): Rename filter values to be more meaningful:
5264 :never instead of t, and reverse the meanings of :save and :restore.
5265 (frameset--process-minibuffer-frames): Clarify error message.
5266 (frameset-save): Avoid unnecessary and confusing call to framep.
5267 Use new BOA constructor for framesets.
5268 (frameset--reuse-list): Doc fix.
5269 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5270 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5271 (frameset-minibufferless-first-p): Doc fix.
5272 Rename from frameset-sort-frames-for-deletion.
5273 (frameset-restore): Doc fixes. Use new function names.
5274 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5276 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5278 * desktop.el (desktop-restore-forces-onscreen)
5279 (desktop-restore-reuses-frames): Document :keyword constant values.
5280 (desktop-filter-parameters-alist): Remove, now identical to
5281 frameset-filter-alist.
5282 (desktop--filter-tty*): Remove, moved to frameset.el.
5283 (desktop-save-frameset, desktop-restore-frameset):
5284 Do not pass :filters argument.
5286 * frameset.el (frameset-live-filter-alist)
5287 (frameset-persistent-filter-alist): New variables.
5288 (frameset-filter-alist): Use them. Add autoload cookie.
5289 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5290 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5291 `frameset--id' (it's supposed to be internal to frameset.el).
5292 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5293 (frameset--initial-params): New function.
5294 (frameset--get-frame): Use it. Doc fix.
5295 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5296 Accept :all, not 'all.
5297 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5298 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5299 with fbound symbols. Fix frame id matching, and remove matching ids if
5300 the frame being restored is deleted. Obey :delete.
5302 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5304 * subr.el (macrop): New function.
5305 (text-clone--maintaining): New var.
5306 (text-clone--maintain): Rename from text-clone-maintain. Use it
5307 instead of inhibit-modification-hooks.
5309 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5310 a proxy, so as handle autoloads and redefinitions of the target.
5311 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5313 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5314 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5315 (pcase--mutually-exclusive-p): New function.
5316 (pcase--split-consp): Use it.
5317 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5318 mutually exclusive with the current predicate.
5320 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5321 (edebug-macrop): Remove. Use `macrop' instead.
5322 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5324 * eshell/esh-cmd.el (eshell-macrop):
5325 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5327 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5329 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5330 (advice-mapc): New function, using it.
5331 (advice-function-member-p): New function.
5332 (advice--normalize): Store the cdr in advice--saved-rewrite since
5333 that's the part that will be changed.
5334 (advice--symbol-function): New function.
5335 (advice-remove): Handle removal before the function is defined.
5336 Adjust to new advice--saved-rewrite.
5337 (advice-member-p): Use advice-function-member-p and
5338 advice--symbol-function.
5340 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5342 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5343 (frameset-filter-minibuffer): Doc fix.
5344 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5345 (frameset--set-id, frameset--process-minibuffer-frames)
5346 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5347 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5349 * desktop.el (desktop-clear): Only delete frames when called
5350 interactively and desktop-restore-frames is non-nil. Doc fix.
5351 (desktop-read): Set desktop-saved-frameset to nil.
5353 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5355 * vc/vc.el (vc-ignore): Rewrite.
5356 (vc-default-ignore-completion-table):
5358 (vc--add-line, vc--remove-regexp): New functions.
5360 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5361 (vc-svn-ignore-completion-table): New function.
5363 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5364 (vc-hg-ignore-completion-table):
5365 (vc-hg-find-ignore-file): New functions.
5367 * vc/vc-git.el (vc-git-ignore): Rewrite.
5368 (vc-git-ignore-completion-table):
5369 (vc-git-find-ignore-file): New functions.
5371 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5373 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5374 (vc-bzr-ignore-completion-table):
5375 (vc-bzr-find-ignore-file): New functions.
5377 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5379 * frameset.el (frameset-prop): New function and setter.
5380 (frameset-save): Do not modify frame list passed by the caller.
5382 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5384 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5386 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5388 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5389 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5391 * custom.el (custom-initialize-default, custom-initialize-set)
5392 (custom-initialize-reset, custom-initialize-changed): Affect the
5393 toplevel-default-value (bug#6275, bug#14586).
5394 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5397 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5399 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5400 Add cl-def* expressions.
5402 * frameset.el (frameset-filter-params): Fix order of arguments.
5404 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5406 Move code related to saving frames to frameset.el.
5407 * desktop.el: Require frameset.
5408 (desktop-restore-frames): Doc fix.
5409 (desktop-restore-reuses-frames): Rename from
5410 desktop-restoring-reuses-frames.
5411 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5412 (desktop-clear): Clear frames too.
5413 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5414 (desktop--filter-tty*, desktop-save, desktop-read):
5415 Use frameset functions.
5416 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5417 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5418 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5419 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5420 (desktop--process-minibuffer-frames, desktop-save-frames)
5421 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5422 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5423 (desktop--sort-states, desktop-restoring-frames-p)
5424 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5425 (desktop-restoring-frameset-p, desktop-restore-frameset)
5426 (desktop--check-dont-save, desktop-save-frameset): New functions.
5427 (desktop--app-id): New constant.
5428 (desktop-first-buffer, desktop-buffer-ok-count)
5429 (desktop-buffer-fail-count): Move before first use.
5430 * frameset.el: New file.
5432 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5434 * files.el: Use lexical-binding.
5435 (dir-locals-read-from-file): Remove unused `err' variable.
5436 (hack-dir-local-variables--warned-coding): New var.
5437 (hack-dir-local-variables): Use it to avoid repeated warnings.
5438 (make-backup-file-name--default-function): New function.
5439 (make-backup-file-name-function): Use it as default.
5440 (buffer-stale--default-function): New function.
5441 (buffer-stale-function): Use it as default.
5442 (revert-buffer-insert-file-contents--default-function): New function.
5443 (revert-buffer-insert-file-contents-function): Use it as default.
5444 (insert-directory): Avoid add-to-list.
5446 * autorevert.el (auto-revert-handler): Simplify.
5447 Use buffer-stale--default-function.
5449 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5451 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5453 * whitespace.el (whitespace-ensure-local-variables): New function.
5454 (whitespace-cleanup-region): Call it.
5455 (whitespace-turn-on): Call it.
5457 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5459 Complete file name handlers.
5461 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5462 (tramp-handle-verify-visited-file-modtime)
5463 (tramp-handle-file-notify-rm-watch): New functions.
5464 (tramp-call-process): Do not bind `default-directory'.
5466 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5467 Order alphabetically.
5468 [access-file, add-name-to-file, dired-call-process]:
5469 [dired-compress-file, file-acl, file-notify-rm-watch]:
5470 [file-ownership-preserved-p, file-selinux-context]:
5471 [make-directory-internal, make-symbolic-link, set-file-acl]:
5472 [set-file-selinux-context, set-visited-file-modtime]:
5473 [verify-visited-file-modtime]: Add handler.
5474 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5476 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5477 [file-notify-add-watch, file-notify-rm-watch]:
5478 [set-file-times, set-visited-file-modtime]:
5479 [verify-visited-file-modtime]: Add handler.
5480 (with-tramp-gvfs-error-message)
5481 (tramp-gvfs-handle-set-visited-file-modtime)
5482 (tramp-gvfs-fuse-file-name): Remove.
5483 (tramp-gvfs-handle-file-notify-add-watch)
5484 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5485 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5487 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5488 Order alphabetically.
5489 [file-notify-rm-watch ]: Use default Tramp handler.
5490 [executable-find]: Remove private handler.
5491 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5492 `default-directory'.
5493 (tramp-sh-handle-executable-find)
5494 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5495 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5496 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5497 Do not use `format' in `tramp-message'.
5499 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5500 [file-notify-rm-watch, set-visited-file-modtime]:
5501 [verify-visited-file-modtime]: Add handler.
5502 (tramp-smb-call-winexe): Do not bind `default-directory'.
5504 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5506 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5508 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5510 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5512 (log-view-diff-changeset): Same.
5513 (log-view-diff-common): Call backend command `previous-revision'
5514 to find out the previous revision, in both cases. Swap the
5515 variables `to' and `fr', so that `fr' usually refers to the
5516 earlier revision (Bug#14989).
5518 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5520 * ibuf-ext.el (ibuffer-filter-by-filename):
5521 Make it work with dired buffers too.
5523 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5525 * emacs-lisp/re-builder.el (reb-color-display-p):
5526 * files.el (save-buffers-kill-terminal):
5527 * net/browse-url.el (browse-url):
5528 * server.el (server-save-buffers-kill-terminal):
5529 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5530 Prefer nil to selected-frame for the first arg of frame-parameter.
5532 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5534 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5536 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5538 * minibuffer.el (completion--twq-all): Try and preserve each
5539 completion's case choice (bug#14907).
5541 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5543 * net/network-stream.el (open-network-stream): Mention the new
5544 :nogreeting parameter.
5545 (network-stream-open-starttls): Use the :nogreeting parameter
5548 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5550 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5551 more natural than popping.
5553 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5554 (shr-urlify): Highlight under mouse.
5556 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5558 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5560 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5562 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5565 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5566 point-min==1. Fix search string. Fix parentheses missing.
5568 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5569 assume point-min==1. Fix search string. Fix parentheses missing.
5571 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5573 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5576 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5578 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5579 initial frame is minibuffer-less. (Bug#14841)
5581 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5583 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5586 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5587 (tramp-maybe-open-connection): Use it.
5589 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5591 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5592 minimal set of parameters passed when creating a frame, because
5593 the minibuffer status of a frame cannot be changed later.
5595 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5597 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5598 replace-regexp-in-string and inadvertent omissions in previous change.
5599 (todo-filter-items): Ensure only file names are comma-separated in
5600 name of filtered items buffer.
5602 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5604 * desktop.el: Optionally force offscreen frames back onscreen.
5605 (desktop-restoring-reuses-frames): New option.
5606 (desktop--compute-pos, desktop--move-onscreen): New functions.
5607 (desktop--make-frame): Use desktop--move-onscreen.
5609 2013-07-27 Alan Mackenzie <acm@muc.de>
5611 Fontify a Java generic method as a function.
5612 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5615 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5617 * calendar/todo-mode.el: Add command to rename todo files.
5618 (todo-rename-file): New command.
5619 (todo-key-bindings-t): Add key binding for it. Change the
5620 bindings of todo-filter-regexp-items(-multifile) to use `x'
5621 instead of `r', since the latter is better suited to the new
5624 2013-07-27 Alan Mackenzie <acm@muc.de>
5626 Make Java try-with-resources statement parse properly.
5627 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5628 (c-block-stmt-1-2-key): New language constants/variables.
5629 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5630 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5631 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5632 with c-block-stmt-1-2-key.
5634 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5636 * desktop.el (desktop--make-frame): Apply most frame parameters after
5637 creating the frame to force (partially or totally) offscreen frames to
5638 be restored as such.
5640 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5642 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5645 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5647 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5648 `base' arg of backtrace-frame.
5650 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5652 * simple.el (list-processes): Doc fix.
5654 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5656 * desktop.el (desktop--select-frame):
5657 Try harder to reuse existing frames.
5659 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5661 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5662 (edebug-eval): Use backtrace-eval.
5663 (edebug--display, edebug--recursive-edit): Don't let-bind the
5664 edebug-outer-* vars that keep track of variables we locally let-bind.
5665 (edebug-outside-excursion): Don't restore outside values of locally
5667 (edebug--display): Use user-error.
5668 (cl-lexical-debug, cl-debug-env): Remove.
5670 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5672 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5673 are restored to be sure that they are visible before deleting any
5676 2013-07-26 Matthias Meulien <orontee@gmail.com>
5678 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5679 vc-print-root-log. (Bug#14948)
5681 2013-07-26 Richard Stallman <rms@gnu.org>
5683 Add aliases for encrypting mail.
5684 * epa.el (epa-mail-aliases): New option.
5685 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5686 Bind inhibit-read-only so read-only text doesn't ruin everything.
5687 (epa-mail-default-recipients): New subroutine broken out.
5688 Handle epa-mail-aliases.
5690 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5692 Add support for lexical variables to the debugger's `e' command.
5693 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5694 vars, except for debugger-outer-match-data.
5695 (debugger-frame-number): Move check for "on a function call" from
5696 callers into it. Add `skip-base' argument.
5697 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5698 (debugger-env-macro): Only reset the state stored in non-variables,
5699 i.e. current-buffer and match-data.
5700 (debugger-eval-expression): Rewrite using backtrace-eval.
5701 * subr.el (internal--called-interactively-p--get-frame): Remove.
5702 (called-interactively-p):
5703 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5704 `base' arg of backtrace-frame instead.
5706 2013-07-26 Glenn Morris <rgm@gnu.org>
5708 * align.el (align-regexp): Doc fix. (Bug#14857)
5709 (align-region): Explicit error if subexpression missing/does not match.
5711 * simple.el (global-visual-line-mode):
5712 Do not duplicate the mode lighter. (Bug#14858)
5714 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5716 * window.el (display-buffer): In display-buffer bind
5717 split-window-keep-point to t, bug#14829.
5719 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5721 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5722 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5723 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5724 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5726 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5727 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5729 2013-07-25 Glenn Morris <rgm@gnu.org>
5731 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5733 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5735 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5736 parameter to modify-frame-parameters if the value has not changed;
5737 this is a workaround for bug#14949.
5738 (desktop--make-frame): On cl-delete-if call, check parameter name,
5741 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5743 * vc/vc.el (vc-ignore): New function.
5745 * vc/vc-svn.el (vc-svn-ignore): New function.
5747 * vc/vc-hg.el (vc-hg-ignore): New function.
5749 * vc/vc-git.el (vc-git-ignore): New function.
5751 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5752 (vc-dir-ignore): New function.
5754 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5755 (cvs-append-to-ignore): Move here from pcvs.el.
5757 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5759 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5761 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5763 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5764 (desktop-restore-frames): Warn when deleting an existing frame failed.
5766 2013-07-24 Glenn Morris <rgm@gnu.org>
5768 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5770 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5772 * filenotify.el (file-notify-supported-p):
5773 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5776 * autorevert.el (auto-revert-use-notify):
5777 (auto-revert-notify-add-watch):
5778 * net/tramp.el (tramp-file-name-for-operation):
5779 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5780 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5781 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5782 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5783 Remove `file-notify-supported-p' entry.
5785 2013-07-24 Glenn Morris <rgm@gnu.org>
5787 * printing.el: Replace all uses of deleted ps-windows-system,
5788 ps-lp-system, ps-flatten-list with lpr- versions.
5790 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5792 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5793 checked with memq (bug#14935).
5795 * files.el (revert-buffer-function): Use a non-nil default.
5796 (revert-buffer-preserve-modes): Declare var to
5797 provide access to the `preserve-modes' argument.
5798 (revert-buffer): Let-bind it.
5799 (revert-buffer--default): New function, extracted from revert-buffer.
5801 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5803 * lpr.el: Signal print errors more prominently.
5804 (print-region-function): Don't default to nil.
5805 (lpr-print-region): New function, extracted from print-region-1.
5806 Check lpr's return value and signal an error in case of problem.
5807 (print-region-1): Use it.
5808 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5810 (ps-printer-name): Default to nil.
5811 (ps-printer-name-option): Default to lpr-printer-switch.
5812 (ps-print-region-function): Don't default to nil.
5813 (ps-postscript-code-directory): Simplify default.
5814 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5815 (ps-string-list, ps-eval-switch, ps-flatten-list)
5816 (ps-flatten-list-1): Remove.
5817 (ps-multibyte-buffer): Avoid setq.
5818 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5819 (print-region-function, ps-print-region-function): Don't set them here.
5821 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5823 * ido.el (ido-fractionp):
5824 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5825 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5826 (ido-max-directory-size, ido-max-dir-file-cache)
5827 (ido-decorations): Doc fix.
5829 * ansi-color.el: Fix old URL.
5831 2013-07-23 Michael R. Mauger <michael@mauger.com>
5833 * progmodes/sql.el: Version 3.3
5834 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5835 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5836 (sql-interactive-remove-continuation-prompt): Rewrite, use
5837 functions above. Fix continuation prompt and complete output line
5839 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5840 redirected output buffer.
5841 (sql-mode): Restore deleted code (Bug#13591).
5843 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5845 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5847 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5849 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5851 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5852 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5853 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5855 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5857 * desktop.el (desktop-clear): Simplify; remove useless checks
5858 against invalid buffer names.
5859 (desktop-list*): Use cl-list*.
5860 (desktop-buffer-info, desktop-create-buffer): Simplify.
5862 2013-07-23 Leo Liu <sdl.web@gmail.com>
5864 * bookmark.el (bookmark-make-record): Restore NAME as a default
5867 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5869 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5870 extracted from autoload--insert-text.
5871 (autoload--insert-text): Remove.
5872 (autoload--print-cookie-text): New function, extracted from
5873 autoload--insert-cookie-text.
5874 (autoload--insert-cookie-text): Remove.
5875 (autoload-generate-file-autoloads): Adjust calls accordingly.
5877 * winner.el (winner-hook-installed-p): Remove.
5878 (winner-mode): Simplify accordingly.
5880 * subr.el (add-to-list): Fix compiler-macro when `append' is
5881 not constant. Don't use `cl-member' for the base case.
5883 * progmodes/subword.el: Fix boundary case (bug#13758).
5884 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5886 (subword-backward-regexp): Make it a constant.
5887 (subword-forward-internal): Don't treat a trailing capital as the
5888 beginning of a word.
5890 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5892 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5893 global value of tabulated-list-revert-hook (bug#14930).
5895 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5897 * desktop.el: Require 'cl-lib.
5898 (desktop-before-saving-frames-functions): New hook.
5899 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5900 for frames being saved. Rename from desktop--save-minibuffer-frames.
5901 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5902 Do not save frames with non-nil `desktop-dont-save' parameter.
5903 Filter out deleted frames.
5904 (desktop--find-frame): Use cl-find-if.
5905 (desktop--select-frame): Use cl-(first|second|third) to access values
5907 (desktop--make-frame): Use cl-delete-if.
5908 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5909 (desktop-restore-frames): Use cl-(first|second|third) to access values
5910 of desktop-mini. Look for visible frame at the end, not while
5913 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5914 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5915 Use string-match-p, looking-at-p (bug#14927).
5917 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5919 * desktop.el (desktop-saved-frame-states):
5920 Rename from desktop--saved-states; all users changed.
5921 (desktop-save-frames): Rename from desktop--save-frames.
5922 Do not save state to desktop file.
5923 (desktop-save): Save desktop-saved-frame-states to desktop file
5925 (desktop-restoring-frames-p): New function.
5926 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5927 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5928 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5930 * desktop.el: Correctly restore iconified frames.
5931 (desktop--filter-iconified-position): New function.
5932 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5934 2013-07-20 Glenn Morris <rgm@gnu.org>
5936 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5937 Let `message' do the formatting.
5938 (def-gdb-preempt-display-buffer): Add explicit format.
5940 * image-dired.el (image-dired-track-original-file):
5941 Use with-current-buffer.
5942 (image-dired-track-thumbnail): Use with-current-buffer.
5943 Avoid changing point of wrong window.
5945 * image-dired.el (image-dired-track-original-file):
5946 Avoid changing point of wrong window. (Bug#14909)
5948 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
5950 * progmodes/gdb-mi.el (gdb-done-or-error):
5951 Guard against "%" in gdb output. (Bug#14127)
5953 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
5955 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
5958 * international/mule.el (coding-system-iso-2022-flags): Fix last
5961 2013-07-20 Kenichi Handa <handa@gnu.org>
5963 * international/mule.el (coding-system-iso-2022-flags):
5964 Add `8-bit-level-4'. (Bug#8522)
5966 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5968 * net/shr.el (shr-mouse-browse-url): New command and keystroke
5971 * net/eww.el (eww-process-text-input): Allow inputting when the
5972 point is at the start of the line, as the properties aren't
5975 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
5978 2013-07-19 Richard Stallman <rms@gnu.org>
5980 * epa.el (epa-popup-info-window): Doc fix.
5982 * subr.el (split-string): New arg TRIM.
5984 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
5986 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
5987 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
5989 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
5991 * filenotify.el (file-notify--library): Rename from
5992 `file-notify-support'. Do not autoload. Adapt all uses.
5993 (file-notify-supported-p): New defun.
5995 * autorevert.el (auto-revert-use-notify):
5996 Use `file-notify-supported-p' instead of `file-notify-support'.
5998 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6000 * net/tramp.el (tramp-file-name-for-operation):
6001 Add `file-notify-supported-p'.
6003 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6005 (tramp-sh-file-name-handler-alist): Add it as handler for
6006 `file-notify-supported-p '.
6008 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6009 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6010 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6011 Add `ignore' as handler for `file-notify-*' functions.
6013 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6015 * simple.el (line-move-partial, line-move): Don't start vscroll or
6016 scroll-up if the current line is not taller than the window.
6019 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6021 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6022 highlight question marks in the method names as strings.
6023 (ruby-block-beg-keywords): Inline.
6024 (ruby-font-lock-keyword-beg-re): Extract from
6025 `ruby-font-lock-keywords'.
6027 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6029 * frame.el (blink-cursor-blinks): New defcustom.
6030 (blink-cursor-blinks-done): New defvar.
6031 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6032 (blink-cursor-timer-function): Check if number of blinks has been
6034 (blink-cursor-suspend, blink-cursor-check): New defuns.
6036 2013-07-15 Glenn Morris <rgm@gnu.org>
6038 * edmacro.el (edmacro-format-keys): Fix previous change.
6040 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6042 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6043 The hack didn't work outside English locales anyway.
6045 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6047 * simple.el (define-alternatives): Rename from alternatives-define,
6048 per RMS' suggestion.
6050 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6052 * desktop.el (desktop-restore-frames): Change default to t.
6053 (desktop-restore-in-current-display): Now offer more options.
6054 (desktop-restoring-reuses-frames): New customization option.
6055 (desktop--saved-states): Doc fix.
6056 (desktop-filter-parameters-alist): New variable, renamed and expanded
6057 from desktop--excluded-frame-parameters.
6058 (desktop--target-display): New variable.
6059 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6060 (desktop--filter-tty*, desktop--filter-*-color)
6061 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6062 (desktop--filter-save-desktop-parm)
6063 (desktop-restore-in-original-display-p): New functions.
6064 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6065 (desktop--save-minibuffer-frames): New function, inspired by a similar
6066 function from Martin Rudalics.
6067 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6068 (desktop--restore-in-this-display-p): Remove.
6069 (desktop--find-frame): Rename from desktop--find-frame-in-display
6070 and add predicate argument.
6071 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6072 (desktop--reuse-list): New variable.
6073 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6075 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6077 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6079 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6081 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6083 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6084 Highlight conversion methods on Kernel.
6086 2013-07-13 Alan Mackenzie <acm@muc.de>
6088 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6089 and comment it out. This out-commenting enables certain C++
6090 declarations to be parsed correctly.
6092 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6094 * international/mule.el (define-coding-system): Doc fix.
6096 * simple.el (default-font-height): Don't call font-info if the
6097 frame's default font didn't change since the frame was created.
6100 2013-07-13 Leo Liu <sdl.web@gmail.com>
6102 * ido.el (ido-read-file-name): Guard against non-symbol value.
6104 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6106 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6109 2013-07-13 Leo Liu <sdl.web@gmail.com>
6111 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6112 ido-set-matches call. (Bug#6852)
6114 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6116 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6117 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6119 (ruby-font-lock-keywords): Distinguish calls to functions with
6120 module-like names from module references. Highlight character
6123 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6125 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6126 (gdb-send): Handle continued commands. (Bug#14847)
6128 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6130 * desktop.el (desktop--v2s): Remove unused local variable.
6131 (desktop-save-buffer): Make defvar-local; adjust docstring.
6132 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6133 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6135 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6137 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6139 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6141 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6144 2013-07-12 Glenn Morris <rgm@gnu.org>
6146 * doc-view.el: Require cl-lib at runtime too.
6147 (doc-view-remove-if): Remove.
6148 (doc-view-search-next-match, doc-view-search-previous-match):
6151 * edmacro.el: Require cl-lib at runtime too.
6152 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6153 (edmacro-mismatch, edmacro-subseq): Remove.
6155 * shadowfile.el: Require cl-lib.
6156 (shadow-remove-if): Remove.
6157 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6160 * wid-edit.el: Require cl-lib.
6161 (widget-choose): Use cl-remove-if.
6162 (widget-remove-if): Remove.
6164 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6165 (ebrowse-delete-if-not): Remove.
6166 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6167 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6168 Use cl-delete-if-not.
6170 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6172 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6173 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6175 2013-07-12 Leo Liu <sdl.web@gmail.com>
6177 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6179 2013-07-11 Glenn Morris <rgm@gnu.org>
6181 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6182 (edebug-gensym-index, edebug-gensym):
6183 Remove reimplementation of cl-gensym.
6184 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6186 * thumbs.el: Require cl-lib at run-time too.
6187 (thumbs-gensym-counter, thumbs-gensym):
6188 Remove reimplementation of cl-gensym.
6189 (thumbs-temp-file): Use cl-gensym.
6191 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6192 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6193 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6194 (ert--union, ert--gensym-counter, ert--gensym-counter)
6195 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6196 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6197 (ert-make-test-unbound, ert--expand-should-1)
6198 (ert--expand-should, ert--should-error-handle-error)
6199 (should-error, ert--explain-equal-rec)
6200 (ert--plist-difference-explanation, ert-select-tests)
6201 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6202 Use cl-lib functions rather than reimplementations.
6204 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6206 * net/tramp.el (tramp-methods): Extend docstring.
6207 (tramp-connection-timeout): New defcustom.
6208 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6209 (with-tramp-progress-reporter): Simplify.
6210 (tramp-process-actions): Improve messages.
6212 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6213 * net/tramp-sh.el (tramp-maybe-open-connection):
6214 Use `tramp-connection-timeout'.
6215 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6218 2013-07-11 Leo Liu <sdl.web@gmail.com>
6220 * ido.el (ido-read-file-name): Conform to the requirements of
6221 read-file-name. (Bug#11861)
6222 (ido-read-directory-name): Conform to the requirements of
6223 read-directory-name.
6225 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6227 * subr.el (delay-warning): New function.
6229 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6231 * simple.el (default-line-height): New function.
6232 (line-move-partial, line-move): Use it instead of computing the
6234 (line-move-partial): Always compute ROWH. If the last line is
6235 partially-visible, but its text is completely visible, allow
6236 cursor to enter such a partially-visible line.
6238 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6240 Improve error messages. (Bug#14808)
6242 * net/tramp.el (tramp-current-connection): New defvar, moved from
6244 (tramp-message-show-progress-reporter-message): Remove, not
6246 (tramp-error-with-buffer): Show message in minibuffer.
6247 Discard input before waiting. Reset connection timestamp.
6248 (with-tramp-progress-reporter): Improve messages.
6249 (tramp-process-actions): Use progress reporter. Delete process in
6250 case of error. Improve messages.
6252 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6253 Call `tramp-error-with-buffer' with vector and buffer.
6254 (tramp-current-connection): Remove.
6255 (tramp-maybe-open-connection): The car of
6256 `tramp-current-connection' are the first 3 slots of the vector.
6258 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6260 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6261 inside continued strings.
6263 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6265 Timestamp fixes for undo (Bug#14824).
6266 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6268 2013-07-10 Leo Liu <sdl.web@gmail.com>
6270 * files.el (require-final-newline): Allow safe local value.
6273 2013-07-09 Leo Liu <sdl.web@gmail.com>
6275 * ido.el (ido-read-directory-name): Handle fallback.
6276 (ido-read-file-name): Update DIR to ido-current-directory.
6278 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6280 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6282 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6283 "autoload". Remove "warn lower camel case" section, previously
6284 commented out. Highlight negation char. Do not highlight the
6285 target in singleton method definitions.
6287 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6289 * faces.el (tty-setup-hook): Declare the hook.
6291 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6292 and detect when a guard/pred depends on local vars (bug#14773).
6293 (pcase--u1): Adjust caller.
6295 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6297 * simple.el (line-move-partial, line-move): Account for
6299 (line-move-partial): Avoid setting vscroll when the last
6300 partially-visible line in window is of default height.
6302 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6304 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6307 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6309 * subr.el (read-quoted-char): Remove unused local variable `char'.
6311 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6313 * ediff.el (ediff-version): Version update.
6314 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6315 (ediff-merge-with-ancestor-command, ediff-directories-command)
6316 (ediff-directories3-command, ediff-merge-directories-command)
6317 (ediff-merge-directories-with-ancestor-command): New functions.
6318 All are command-line interfaces to ediff: to facilitate calling
6319 Emacs with the appropriate ediff functions invoked.
6321 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6322 (viper-save-kill-buffer): Check if buffer is modified.
6324 * viper.el (viper-version): Version update.
6325 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6327 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6329 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6330 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6331 (viper-intercept-ESC-key): Simplify.
6332 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6333 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6334 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6335 (viper-setup-ESC-to-escape): New functions.
6336 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6337 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6339 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6341 * simple.el (default-font-height, window-screen-lines):
6343 (line-move, line-move-partial): Use them instead of
6344 frame-char-height and window-text-height. This makes scrolling
6345 text smoother when the buffer's default face uses a font that is
6346 different from the frame's default font.
6348 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6350 * files.el (write-file): Do not display confirm dialog for NS,
6351 it does its own dialog, which can't be cancelled (Bug#14578).
6353 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6355 * simple.el (line-move-partial): Adjust the row returned by
6356 posn-at-point for the current window-vscroll. (Bug#14567)
6358 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6360 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6361 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6364 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6366 * window.el (window-state-put-stale-windows): New variable.
6367 (window--state-put-2): Save list of windows without matching buffer.
6368 (window-state-put): Remove "bufferless" windows if possible.
6370 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6372 * simple.el (alternatives-define): Remove leftover :group keyword.
6375 2013-07-06 Leo Liu <sdl.web@gmail.com>
6377 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6378 (ido-enable-virtual-buffers): New variable.
6379 (ido-buffer-internal, ido-toggle-virtual-buffers)
6380 (ido-make-buffer-list): Use it.
6381 (ido-exhibit): Support turning on and off virtual buffers
6384 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6386 * simple.el (alternatives-define): New macro.
6388 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6390 * subr.el (read-quoted-char): Use read-key.
6391 (sit-for): Let read-event decode tty input (bug#14782).
6393 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6395 * calendar/todo-mode.el: Add handling of file deletion, both by
6396 mode command and externally. Fix various related bugs.
6397 Clarify Commentary and improve some documentation strings and code.
6398 (todo-delete-file): New command.
6399 (todo-check-file): New function.
6400 (todo-show): Handle external deletion of the file we're trying to
6401 show (bug#14688). Replace called-interactively-p by an optional
6402 prefix argument to avoid problematic interaction with catch form
6403 when byte compiled (bug#14702).
6404 (todo-quit): Handle external deletion of the archive's todo file.
6405 Make sure the buffer that was visiting the archive file is still
6406 live before trying to bury it.
6407 (todo-category-completions): Handle external deletion of any
6408 category completion files.
6409 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6410 of todo files, in case of external deletion.
6411 (todo-add-file): Replace unnecessary setq by let-binding.
6412 (todo-find-archive): Check whether there are any archives.
6413 Replace unnecessary setq by let-binding.
6414 (todo-archive-done-item): Use find-file-noselect to get the
6415 archive buffer whether or not the archive already exists.
6416 Remove superfluous code. Use file size instead of buffer-file-name to
6417 check if the archive is new; if it is, update list of archives.
6418 (todo-default-todo-file): Allow nil to be a valid value for when
6419 there are no todo files.
6420 (todo-reevaluate-default-file-defcustom): Use corrected definition
6421 of todo-default-todo-file.
6422 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6423 (todo-delete-category, todo-show-categories-table)
6424 (todo-category-number): Clarify comment.
6425 (todo-filter-items): Clarify documentation string.
6426 (todo-show-current-file, todo-display-as-todo-file)
6427 (todo-reset-and-enable-done-separator): Tweak documentation string.
6428 (todo-done-separator): Make separator length window-width, since
6429 bug#2749 is now fixed.
6431 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6433 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6434 Support both "gvfs-monitor-dir" and "inotifywait".
6435 (tramp-sh-file-inotifywait-process-filter): Rename from
6436 `tramp-sh-file-notify-process-filter'.
6437 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6438 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6440 2013-07-05 Leo Liu <sdl.web@gmail.com>
6442 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6444 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6446 * frame.el (display-pixel-height, display-pixel-width)
6447 (display-mm-height, display-mm-width): Mention behavior on
6448 multi-monitor setups in docstrings.
6449 (w32-display-monitor-attributes-list): Declare function.
6450 (display-monitor-attributes-list): Use it.
6452 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6454 * filenotify.el: New package.
6456 * autorevert.el (top): Require filenotify.el.
6457 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6459 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6460 (auto-revert-notify-handler): Use `file-notify-*' functions.
6462 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6464 * net/tramp.el (tramp-file-name-for-operation):
6465 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6467 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6468 for `file-notify-add-watch' and `file-notify-rm-watch'.
6469 (tramp-process-sentinel): Improve trace.
6470 (tramp-sh-handle-file-notify-add-watch)
6471 (tramp-sh-file-notify-process-filter)
6472 (tramp-sh-handle-file-notify-rm-watch)
6473 (tramp-get-remote-inotifywait): New defuns.
6475 2013-07-03 Juri Linkov <juri@jurta.org>
6477 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6478 call of `occur-read-primary-args' to interactive spec.
6480 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6481 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6483 2013-07-03 Matthias Meulien <orontee@gmail.com>
6485 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6486 `Buffer-menu-multi-occur'. Add it to the menu.
6487 (Buffer-menu-mode): Document it in docstring.
6488 (Buffer-menu-multi-occur): New command. (Bug#14673)
6490 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6492 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6493 keywords and built-ins.
6495 2013-07-03 Glenn Morris <rgm@gnu.org>
6497 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6499 Make info-xref checks case-sensitive by default
6500 * info.el (Info-find-node, Info-find-in-tag-table)
6501 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6502 Add option for exact case matching of nodes.
6503 * info-xref.el (info-xref): New custom group.
6504 (info-xref-case-fold): New option.
6505 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6507 2013-07-03 Leo Liu <sdl.web@gmail.com>
6509 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6511 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6513 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6514 middle of block statement initially, lower the depth. Remove
6515 FIXME comment, not longer valid. Remove middle of block statement
6516 detection, no need to do that anymore since we've been using
6517 `ruby-parse-region' here.
6519 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6521 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6523 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6525 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6527 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6529 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6530 (desktop-restore-in-current-display): New customization option.
6531 (desktop--excluded-frame-parameters): Add `font'.
6532 (desktop--save-frames): Rename from desktop--save-windows.
6533 (desktop--restore-in-this-display-p): New function.
6534 (desktop--make-full-frame): Remove unwanted width/height from
6535 full(width|height) frames.
6536 (desktop--restore-frames): Rename from desktop--restore-windows.
6537 Obey desktop-restore-current-display. Do not delete old frames or
6538 select a new frame unless we were able to restore at least one frame.
6540 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6542 * files.el (find-file-noselect): Simplify conditional expression.
6544 * remember.el (remember-append-to-file):
6545 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6547 Add `remember-notes' function to store random notes across Emacs
6549 * remember.el (remember-data-file): Add :set callback to affect
6550 notes buffer (if any).
6551 (remember-notes): New command.
6552 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6553 New defcustoms for the `remember-notes' function.
6554 (remember-notes-save-and-bury-buffer): New command.
6555 (remember-notes-mode-map): New variable.
6556 (remember-mode): New minor mode.
6557 (remember-notes--kill-buffer-query): New function.
6558 * startup.el (initial-buffer-choice): Add notes to custom type.
6560 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6562 * bindings.el (right-char, left-char): Don't call sit-for, this is
6563 no longer needed. Use arithmetic comparison only for numerical
6566 * international/mule-cmds.el (select-safe-coding-system):
6567 Handle the case of FROM being a string correctly. (Bug#14755)
6569 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6571 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6572 progression on degenerate tables.
6573 (shr-rescale-image): ImageMagick animated images currently don't work.
6575 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6577 Some fixes and improvements for desktop frame restoration.
6578 It is still experimental and disabled by default.
6579 * desktop.el (desktop--save-windows): Put the selected frame at
6580 the head of the list.
6581 (desktop--make-full-frame): New function.
6582 (desktop--restore-windows): Try to re-select the frame that was
6583 selected upon saving. Do not abort if some frames fail to restore,
6584 just show an error message and continue. Set up maximized frames
6585 so they have default non-maximized dimensions.
6587 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6589 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6590 Don't start heredoc inside a string or comment.
6592 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6594 * bindings.el (visual-order-cursor-movement): New defcustom.
6595 (right-char, left-char): Provide visual-order cursor motion by
6596 calling move-point-visually. Update the doc strings.
6598 2013-06-28 Kenichi Handa <handa@gnu.org>
6600 * international/mule.el (define-coding-system): New coding system
6601 properties :inhibit-null-byte-detection,
6602 :inhibit-iso-escape-detection, and :prefer-utf-8.
6603 (set-buffer-file-coding-system): If :charset-list property of
6604 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6605 appropriate for setting.
6607 * international/mule-cmds.el (select-safe-coding-system):
6608 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6609 multibyte characters, return utf-8 (or one of its siblings).
6611 * international/mule-conf.el (prefer-utf-8): New coding system.
6612 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6615 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6617 * net/shr.el (shr-render-region): New function.
6619 * net/eww.el: Autoload `eww-browse-url'.
6621 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6623 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6624 Adapt to `package-desc-version' being a list.
6625 Use `package--ac-desc-version' to retrieve version from a package
6628 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6630 New experimental feature to save&restore window and frame setup.
6631 * desktop.el (desktop-save-windows): New defcustom.
6632 (desktop--saved-states): New var.
6633 (desktop--excluded-frame-parameters): New defconst.
6634 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6635 (desktop--restore-windows, desktop--save-windows): New functions.
6636 (desktop-save): Call `desktop--save-windows'.
6637 (desktop-read): Call `desktop--restore-windows'.
6639 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6641 * net/shr.el (add-face-text-property): Remove compat definition.
6643 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6645 * info.el (Info-try-follow-nearest-node): Move search for footnote
6646 above search for node name to prevent missing a footnote (bug#14717).
6648 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6650 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6652 2013-06-27 Leo Liu <sdl.web@gmail.com>
6654 * net/eww.el (eww-read-bookmarks): Check file size.
6656 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6658 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6659 advice--pending if newdef is nil or an autoload (bug#13820).
6660 (advice-mapc): New function.
6662 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6664 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6666 (eww-mode-map): Add a menu bar.
6667 (eww-add-bookmark): New command.
6668 (eww-bookmark-mode): New mode and commands.
6669 (eww-add-bookmark): Remove newlines from the title.
6670 (eww-bookmark-browse): Don't bug out if it's the only window.
6672 2013-06-26 Glenn Morris <rgm@gnu.org>
6674 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6675 (hfy-size): Handle ttys. (Bug#14668)
6677 * info-xref.el: Update for Texinfo 5 change in *note format.
6678 (info-xref-node-re, info-xref-note-re): New constants.
6679 (info-xref-check-buffer): Use info-xref-note-re.
6681 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6683 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6685 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6686 nil terminate the loop (bug#14718).
6688 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6690 * net/eww.el: Rework history traversal. When going forward/back,
6691 put these actions into the history, too, so that they can be
6693 (eww-render): Move the history reset to the correct buffer.
6695 2013-06-25 Juri Linkov <juri@jurta.org>
6697 * files-x.el (modify-dir-local-variable): Change the header comment
6698 in the file with directory local variables. (Bug#14692)
6700 * files-x.el (read-file-local-variable-value): Add `default'.
6703 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6705 * net/eww.el (eww-make-unique-file-name): Create a unique file
6706 name before saving to entering `y' accidentally asynchronously.
6708 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6710 * net/eww.el (eww-download): New command and keystroke.
6712 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6714 * net/eww.el (eww-copy-page-url): Change name of command.
6716 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6717 be more consistent with Info and dired.
6719 * net/eww.el (eww-mode-map): Ditto.
6721 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6723 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6724 packages from archives.
6725 (package-archive-contents): Change format; include obsolete packages.
6726 (package-desc): Use `dir' to mark builtin packages.
6727 (package--from-builtin): Set the `dir' field to `builtin'.
6728 (generated-autoload-file, version-control): Declare.
6729 (package-compute-transaction): Change first arg and return value to be
6730 lists of package-descs. Adjust to new package-archive-contents format.
6731 (package--add-to-archive-contents): Adjust to new
6732 package-archive-contents format.
6733 (package-download-transaction): Arg is now a list of package-descs.
6734 (package-install): If `pkg' is a package name, pass it as
6735 a requirement, so it is subject to the usual (e.g. disabled) checks.
6736 (describe-package): Accept package-desc as well.
6737 (describe-package-1): Describe a specific package-desc. Add links to
6738 other package-descs for the same package name.
6739 (package-menu-describe-package): Pass the actual package-desc.
6740 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6742 (package-desc-status): New function.
6743 (package-menu--refresh): New function, extracted
6744 from package-menu--generate.
6745 (package-menu--generate): Use it.
6746 (package-delete): Update package-alist.
6747 (package-menu-execute): Don't call package-initialize.
6749 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6750 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6751 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6752 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6753 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6754 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6756 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6758 * window.el (window--state-get-1): Workaround for bug#14527.
6759 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6761 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6763 * net/eww.el (eww-back-url): Implement the history by stashing all
6764 the data into a list.
6765 (eww-forward-url): Allow going forward in the history, too.
6767 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6769 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6770 for values and use read--expression for expressions (bug#14710).
6771 (read-file-local-variable): Avoid setq.
6772 (read-file-local-variable-mode): Use minor-mode-list.
6774 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6776 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6779 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6781 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6782 Update imenu-support when dialect changes.
6784 2013-06-25 Leo Liu <sdl.web@gmail.com>
6786 * ido.el (ido-read-internal): Allow forward slash on windows.
6788 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6790 * net/eww.el (eww): Start of strings is \\`, not ^.
6792 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6794 * net/shr.el (shr-browse-url): Fix interactive spec.
6796 * net/eww.el (eww): Add a trailing slash to domain names.
6798 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6800 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6802 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6804 * net/shr.el (shr-browse-url): Use an external browser if given a
6807 * net/eww.el (eww-external-browser): Move to shr.
6809 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6811 * net/eww.el (eww): Work more correctly for file: URLs.
6812 (eww-detect-charset): Allow quoted charsets.
6813 (eww-yank-page-url): New command and keystroke.
6815 2013-06-24 Daiki Ueno <ueno@gnu.org>
6817 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6818 file name of gpg executable.
6819 (epg-context-program): New function.
6820 (epg-context-home-directory): New function.
6821 (epg-context-set-program): New function.
6822 (epg-context-set-home-directory): New function.
6823 (epg--start): Use `epg-context-program' instead of
6825 (epg--list-keys-1): Likewise.
6827 2013-06-24 Leo Liu <sdl.web@gmail.com>
6829 * ido.el (ido-read-internal): Fix bug#14620.
6831 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6833 * faces.el (face-documentation): Simplify.
6834 (read-face-attribute, tty-find-type, x-resolve-font-name):
6835 Use `string-match-p'.
6836 (list-faces-display): Use `string-match-p'. Simplify.
6837 (face-spec-recalc): Check face to avoid face alias loops.
6838 (read-color): Use `string-match-p' and non-capturing parenthesis.
6840 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6842 * net/shr.el (shr-rescale-image): Use the new
6843 :max-width/:max-height functionality.
6845 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6847 * net/eww.el (eww-search-prefix): New variable.
6849 (eww-external-browser): New variable.
6850 (eww-mode-map): New keystroke.
6851 (eww-browse-with-external-browser): New command.
6853 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6855 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6857 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6858 Don't skip aligning the next header field when padding is 0;
6859 otherwise, field width is not respected unless the title is as
6862 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6864 * emacs-lisp/package.el (package-el-version): Remove.
6865 (package-process-define-package): Fix inf-loop.
6866 (package-install): Allow symbols as arguments again.
6868 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6870 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6871 add some more keyword-like methods.
6872 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6874 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6876 * bs.el (bs-buffer-show-mark): Make defvar-local.
6877 (bs-mode): Use setq-local.
6879 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6880 (emacs-lock--try-unlocking): Make defvar-local.
6882 2013-06-22 Glenn Morris <rgm@gnu.org>
6884 * play/cookie1.el (cookie-apropos): Minor simplification.
6886 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6888 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6890 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6891 `regexp-opt', it breaks the build during dumping.
6893 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6895 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6896 Highlight keyword-like methods on Kernel and Module with
6897 font-lock-builtin-face.
6898 (auto-mode-alist): Consolidate different entries into one regexp
6899 and add more *file-s.
6901 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6903 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6905 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6906 (diary-entry): Use it in the action of this button type instead of
6909 * calendar/todo-mode.el: New version.
6910 (todo-add-category): Append new category to end of file and give
6911 it the highest number, instead of putting it at the beginning and
6912 giving it 0. Incorporate noninteractive functionality.
6913 (todo-forward-category): Adapt to 1-based category numbering.
6914 Allow skipping over archived categories.
6915 (todo-backward-category): Derive from todo-forward-category.
6916 (todo-backward-item, todo-forward-item): Make noninteractive and
6917 delegate interactive part to new commands. Make sensitive to done items.
6918 (todo-categories): Make value an alist of category names and
6919 vectors of item counts.
6920 (todo-category-beg): Make a defconst.
6921 (todo-category-number): Use 1 instead of 0 as initial value.
6922 (todo-category-select): Make sensitive to overlays, optional item
6923 highlighting and done items.
6924 (todo-delete-item): Make sensitive to overlays and marked and done items.
6925 (todo-edit-item): Make sensitive to overlays and editing of
6926 date/time header optional. Add format checks.
6927 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6928 no-op if point is not on an item. Advertise using todo-edit-quit.
6929 (todo-edit-mode): Make sensitive to new format, font-locking, and
6930 multiple todo files.
6931 (todo-insert-item, todo-insert-item-here): Derive from
6932 todo-basic-insert-item and extend functionality.
6933 (todo-item-end, todo-item-start): Make sensitive to done items.
6934 (todo-item-string): Don't return text properties. Restore point.
6935 (todo-jump-to-category): Make sensitive to multiple todo files and
6936 todo archives. Use extended category completion.
6937 (todo-lower-item, todo-raise-item): Rename to *-priority and
6938 derive from todo-set-item-priority.
6939 (todo-mode): Derive from special-mode. Make sensitive to new
6940 format, font-locking and multiple todo files. Make read-only.
6941 (todo-mode-map): Don't suppress digit keys, so they can supply
6942 prefix arguments. Add many new key bindings.
6943 (todo-prefix): Insert as an overlay instead of file text.
6944 Change semantics from diary date expression to purely visual mark.
6945 (todo-print): Rename to todo-print-buffer. Make buffer display
6946 features printable. Remove option to restrict number of items
6947 printed. Add option to print to file.
6948 (todo-print-function): Rename to todo-print-buffer-function.
6949 (todo-quit): Extend to handle exiting new todo modes.
6950 (todo-remove-item): Make sensitive to overlays.
6951 (todo-save): Extend to buffers of filtered items.
6952 (todo-show): Make sensitive to done items, multiple todo files and
6953 new todo modes. Offer to convert legacy todo file before creating
6954 first new todo file.
6955 (todo-show-priorities): Rename to todo-top-priorities.
6956 Change semantics of value 0.
6957 (todo-top-priorities): Rename to todo-filter-top-priorities,
6958 derive from todo-filter-items and extend functionality.
6959 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
6960 and extend functionality to other types of filtered items.
6961 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
6962 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
6963 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
6964 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
6965 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
6966 (todo-edit-mode-hook, todo-entry-prefix-function)
6967 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
6968 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
6969 (todo-initials, todo-insert-threshold, todo-item-string-start)
6970 (todo-line-string, todo-menu, todo-mode-hook)
6971 (todo-more-important-p, todo-previous-answer, todo-previous-line)
6972 (todo-print-priorities, todo-remove-separator)
6973 (todo-save-top-priorities-too, todo-string-count-lines)
6974 (todo-string-multiline-p, todo-time-string-format)
6975 (todo-tmp-buffer-name): Remove.
6976 (todo-add-file, todo-archive-done-item, todo-choose-archive)
6977 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
6978 (todo-edit-category-diary-inclusion)
6979 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
6980 (todo-edit-file, todo-edit-item-date-day)
6981 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
6982 (todo-edit-item-date-month, todo-edit-item-date-to-today)
6983 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
6984 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
6985 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
6986 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
6987 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
6988 (todo-filter-top-priorities-multifile, todo-find-archive)
6989 (todo-find-filtered-items-file, todo-go-to-source-item)
6990 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
6991 (todo-jump-to-archive-category, todo-lower-category)
6992 (todo-mark-category, todo-marked-item-p, todo-merge-category)
6993 (todo-move-category, todo-move-item, todo-next-button)
6994 (todo-next-item, todo-padded-string, todo-powerset)
6995 (todo-previous-button, todo-previous-item)
6996 (todo-print-buffer-to-file, todo-raise-category)
6997 (todo-rename-category, todo-repair-categories-sexp, todo-search)
6998 (todo-set-category-number, todo-set-item-priority)
6999 (todo-set-top-priorities-in-category)
7000 (todo-set-top-priorities-in-file, todo-show-categories-table)
7001 (todo-sort-categories-alphabetically-or-numerically)
7002 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7003 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7004 (todo-toggle-item-header, todo-toggle-item-highlighting)
7005 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7006 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7007 (todo-unarchive-items, todo-unmark-category): New commands.
7008 (todo-absolute-file-name, todo-add-to-buffer-list)
7009 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7010 (todo-basic-insert-item, todo-category-completions)
7011 (todo-category-number, todo-category-string-matcher-1)
7012 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7013 (todo-check-format, todo-clear-matches)
7014 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7015 (todo-current-category, todo-date-string-matcher)
7016 (todo-define-insertion-command, todo-diary-expired-matcher)
7017 (todo-diary-goto-entry, todo-diary-item-p)
7018 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7019 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7020 (todo-done-item-section-p, todo-done-separator)
7021 (todo-done-string-matcher, todo-files, todo-filter-items)
7022 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7023 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7024 (todo-insert-category-line, todo-insert-item-from-calendar)
7025 (todo-insert-sort-button, todo-insert-with-overlays)
7026 (todo-insertion-command-name, todo-insertion-key-bindings)
7027 (todo-label-to-key, todo-longest-category-name-length)
7028 (todo-make-categories-list, todo-mode-external-set)
7029 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7030 (todo-modes-set-3, todo-multiple-filter-files)
7031 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7032 (todo-read-category, todo-read-date, todo-read-dayname)
7033 (todo-read-file-name, todo-read-time)
7034 (todo-reevaluate-category-completions-files-defcustom)
7035 (todo-reevaluate-default-file-defcustom)
7036 (todo-reevaluate-filelist-defcustoms)
7037 (todo-reevaluate-filter-files-defcustom)
7038 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7039 (todo-reset-done-separator, todo-reset-done-separator-string)
7040 (todo-reset-done-string, todo-reset-global-current-todo-file)
7041 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7042 (todo-reset-prefix, todo-set-categories)
7043 (todo-set-date-from-calendar, todo-set-show-current-file)
7044 (todo-set-top-priorities, todo-short-file-name)
7045 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7046 (todo-total-item-counts, todo-update-buffer-list)
7047 (todo-update-categories-display, todo-update-categories-sexp)
7048 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7050 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7052 (todo-categories, todo-display, todo-edit, todo-faces)
7053 (todo-filtered): New defgroups.
7054 (todo-archived-only, todo-button, todo-category-string, todo-date)
7055 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7056 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7057 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7058 (todo-add-item-if-new-category, todo-always-add-time-string)
7059 (todo-categories-align, todo-categories-archived-label)
7060 (todo-categories-category-label, todo-categories-diary-label)
7061 (todo-categories-done-label, todo-categories-number-separator)
7062 (todo-categories-todo-label, todo-categories-totals-label)
7063 (todo-category-completions-files, todo-completion-ignore-case)
7064 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7065 (todo-done-separator-string, todo-done-string)
7066 (todo-files-function, todo-filter-done-items, todo-filter-files)
7067 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7068 (todo-initial-category, todo-initial-file, todo-item-mark)
7069 (todo-legacy-date-time-regexp, todo-mode-line-function)
7070 (todo-nondiary-marker, todo-number-prefix)
7071 (todo-print-buffer-function, todo-show-current-file)
7072 (todo-show-done-only, todo-show-first, todo-show-with-done)
7073 (todo-skip-archived-categories, todo-top-priorities-overrides)
7074 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7075 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7077 (todo-category-done, todo-date-pattern, todo-date-string-start)
7078 (todo-diary-items-buffer, todo-done-string-start)
7079 (todo-filtered-items-buffer, todo-item-start)
7080 (todo-month-abbrev-array, todo-month-name-array)
7081 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7082 (todo-top-priorities-buffer): New defconsts.
7083 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7084 (todo-categories-with-marks, todo-category-string-face)
7085 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7086 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7087 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7088 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7089 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7090 (todo-font-lock-keywords, todo-global-current-todo-file)
7091 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7092 (todo-insertion-commands-args)
7093 (todo-insertion-commands-args-genlist)
7094 (todo-insertion-commands-names, todo-insertion-map)
7095 (todo-key-bindings-t, todo-key-bindings-t+a)
7096 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7097 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7098 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7099 (todo-visited): New variables.
7101 2013-06-21 Glenn Morris <rgm@gnu.org>
7103 * play/cookie1.el (cookie-apropos): Add optional display argument.
7104 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7105 (psychoanalyze-pinhead): Use cookie-doctor.
7107 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7109 * emacs-lisp/package.el (tar-get-file-descriptor)
7110 (tar--extract): Declare.
7112 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7114 Extend flymake's warning predicate to be a function (bug#14217).
7115 * progmodes/flymake.el (flymake-warning-predicate): New.
7116 (flymake-parse-line): Use it.
7117 (flymake-warning-re): Make obsolete alias to
7118 `flymake-warning-predicate'.
7120 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7122 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7123 (package-obsolete-list): Remove.
7124 (package-activate): Remove min-version argument. Add `force' argument.
7125 Adjust to new package-alist format.
7126 (package-mark-obsolete): Remove.
7127 (package-unpack): Force reload of the package's autoloads.
7128 (package-installed-p): Check builtins if the installed package is not
7130 (package-initialize): Don't reset package-obsolete-list.
7131 Don't specify which package version to activate.
7132 (package-process-define-package, describe-package-1)
7133 (package-menu--generate): Adjust to new package-alist format.
7135 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7137 * allout-widgets.el (allout-widgets-mode-off)
7138 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7139 (allout-widgets-post-command-business)
7140 (allout-widgets-after-copy-or-kill-function)
7141 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7142 (allout-decorate-item-and-context)
7143 (allout-graphics-modification-handler): Fix typos in docstrings.
7144 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7146 * cmuscheme.el (scheme-start-file): Doc fix.
7147 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7148 (scheme-input-filter): Use `string-match-p'.
7150 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7152 * dired-x.el: Use Dired consistently in docstrings.
7154 * dired.el: Use Dired consistently in docstrings.
7155 (dired-readin, dired-mode): Use `setq-local'.
7156 (dired-switches-alist): Make defvar-local.
7157 (dired-buffers-for-dir): Use `zerop'.
7158 (dired-safe-switches-p, dired-switches-escape-p)
7159 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7160 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7161 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7162 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7163 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7164 (dired-toggle-marks, dired-mark-files-containing-regexp)
7165 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7166 (dired-flag-auto-save-files, dired-flag-backup-files):
7168 (dired-mark-files-regexp, dired-build-subdir-alist):
7169 Use `string-match-p', `looking-at-p'.
7171 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7172 (direct-print-region-helper): Use `string-match-p'.
7174 2013-06-21 Leo Liu <sdl.web@gmail.com>
7176 * comint.el (comint-redirect-results-list-from-process):
7179 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7181 * net/eww.el (eww-update-header-line-format): Quote % characters.
7183 2013-06-21 Glenn Morris <rgm@gnu.org>
7185 * play/cookie1.el (cookie): New custom group.
7186 (cookie-file): New option.
7187 (cookie-check-file): New function.
7188 (cookie): Make it interactive. Make start and end messages optional.
7189 Interactively, display the result. Default to cookie-file.
7190 (cookie-insert): Default to cookie-file.
7191 (cookie-snarf): Make start and end messages optional.
7192 Default to cookie-file. Use with-temp-buffer.
7193 (cookie-read): Rename from read-cookie.
7194 Make start and end messages optional. Default to cookie-file.
7195 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7197 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7198 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7200 2013-06-21 Leo Liu <sdl.web@gmail.com>
7202 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7204 2013-06-21 Glenn Morris <rgm@gnu.org>
7206 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7208 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7209 Daniel Hackney <dan@haxney.org>
7211 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7212 Consolidate the single-file vs tarball code.
7213 (package-desc-suffix): New function.
7214 (package-desc-full-name): Don't bother inlining it.
7215 (package-load-descriptor): Return the new package-desc.
7216 (package-mark-obsolete): Remove unused arg `package'.
7217 (package-unpack): Make it work for single files as well.
7218 Make it update package-alist.
7219 (package--make-autoloads-and-stuff): Rename from
7220 package--make-autoloads-and-compile. Don't compile any more.
7221 (package--compile): New function.
7222 (package-generate-description-file): New function, extracted from
7223 package-unpack-single.
7224 (package-unpack-single): Remove.
7225 (package--with-work-buffer): Add indentation and debugging info.
7226 (package-download-single): Remove.
7227 (package-install-from-archive): Rename from package-download-tar, make
7228 it take a pkg-desc, and make it work for single files as well.
7229 (package-download-transaction): Simplify.
7230 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7231 external tar program.
7232 (package-install-from-buffer): Remove `pkg-desc' argument.
7233 Use package-tar-file-info for tar-mode buffers.
7234 (package-install-file): Simplify accordingly.
7235 (package-archive-base): Change to take a pkg-desc.
7236 * tar-mode.el (tar--check-descriptor): New function, extracted from
7238 (tar-get-descriptor): Use it.
7239 (tar-get-file-descriptor): New function.
7240 (tar--extract): New function, extracted from tar-extract.
7241 (tar--extract): Use it.
7242 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7243 case the summary uses non-ascii. Adjust to new calling convention of
7244 package-tar-file-info.
7246 2013-06-21 Leo Liu <sdl.web@gmail.com>
7248 * comint.el (comint-redirect-results-list-from-process):
7249 Fix random delay. (Bug#14681)
7251 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7253 * profiler.el (profiler-format-number): Use log, not log10.
7255 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7257 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7259 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7261 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7262 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7264 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7265 (AUTOGENEL): ... here.
7266 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7267 (cl--defsubst-expand): Use it.
7269 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7271 * subr.el (log10): Move here from C code, and declare as obsolete.
7272 All uses of (log10 X) replaced with (log X 10).
7274 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7276 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7277 Declare with `defvar-local'.
7278 (tabulated-list-use-header-line, tabulated-list-entries)
7279 (tabulated-list-padding, tabulated-list-printer)
7280 (tabulated-list-sort-key): Declare with `defvar-local'.
7281 (tabulated-list-init-header, tabulated-list-print-fake-header):
7284 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7286 * arc-mode.el (archive-mode): Add `archive-write-file' to
7287 `write-contents-functions' also for remote files. (Bug#14652)
7289 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7291 * cus-edit.el (custom-commands): Fix typos.
7292 (custom-display): Fix tooltip text.
7293 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7294 Fix typos in docstrings.
7295 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7296 (custom-unlispify-menu-entry, custom-magic-value-create)
7297 (custom-add-see-also, custom-group-value-create): Use ?\s.
7298 (custom-guess-type, customize-apropos, editable-field)
7299 (custom-face-value-create): Use `string-match-p'.
7300 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7302 * custom.el (custom-load-symbol): Use `string-match-p'.
7304 * ansi-color.el: Convert to lexical binding.
7305 (ansi-colors): Fix URL.
7306 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7307 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7308 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7310 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7312 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7314 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7316 2013-06-19 Tom Tromey <tromey@redhat.com>
7318 * net/eww.el (eww-top-url): Remove.
7319 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7320 (eww-render): Set new variables. Don't set eww-top-url.
7321 (eww-handle-link): Handle "prev", "home", and "contents".
7322 Downcase the rel text.
7323 (eww-top-url): Choose best top URL.
7325 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7327 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7328 relying in widget.el. Using widget.el leads to too many
7329 user interface inconsistencies.
7330 (eww-self-insert): Implement entering commands in text fields.
7331 (eww-process-text-input): New function to make text input field editing
7333 (eww-submit): Rewrite to use the new-style form methods.
7334 (eww-select-display): Display the correct selected item.
7335 (eww-change-select): Implement changing the select value.
7336 (eww-toggle-checkbox): Implement radio/checkboxes.
7337 (eww-update-field): Fix compilation error.
7338 (eww-tag-textarea): Implement <textarea>.
7340 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7341 we don't shadow mode-specific bindings.
7343 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7346 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7348 2013-06-19 Glenn Morris <rgm@gnu.org>
7350 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7352 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7354 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7357 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7359 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7361 * net/browse-url.el (browse-url-browser-function):
7362 `eww-browse-url' has the right calling signature, `eww' does not.
7364 2013-06-19 Glenn Morris <rgm@gnu.org>
7366 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7367 Only eval autoloaded macros.
7368 (byte-compile-autoload): Only give the macro warning for macros.
7370 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7371 (ps-underlined-faces): Declare.
7373 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7374 (speedbar-add-supported-extension): Declare.
7376 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7377 Don't include a date stamp in the header of the generated file;
7378 it leads to needless differences between output files.
7380 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7382 * net/secrets.el (secrets-struct-secret-content-type):
7383 Replace check of introspection data by a test call of "CreateItem".
7384 Some servers do not offer introspection.
7386 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7388 * electric.el (electric-pair-mode): Improve interaction with
7389 electric-layout-mode.
7390 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7391 (electric-pair-syntax): Use text-mode-syntax-table in comments
7393 (electric-pair--insert): New function.
7394 (electric-pair-post-self-insert-function): Use it and
7395 electric--after-char-pos.
7397 2013-06-19 Leo Liu <sdl.web@gmail.com>
7399 * progmodes/octave.el (octave-help): Fix regexp.
7401 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7403 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7404 (shr-table-horizontal-line): Allow nil as a value, and change the
7406 (shr-insert-table-ruler): Respect the nil value.
7408 2013-06-18 Tom Tromey <tromey@barimba>
7410 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7412 (eww-open-file): New defun.
7413 (eww-render): Initialize new variables.
7414 (eww-display-html): Handle "link" and "a".
7415 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7416 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7417 (eww-back-url): Rename from eww-previous-url.
7418 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7421 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7423 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7424 Distinguish ternary operator tokens from slash symbol and slash
7427 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7429 Convert symbol prettification into minor mode and global minor mode.
7431 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7432 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7433 (prettify-symbols--keywords): Rename from
7434 `prog-prettify-symbols-alist' and make a local defvar.
7435 (prettify-symbols--compose-symbol): Rename from
7436 `prog--prettify-font-lock-compose-symbol'.
7437 (prettify-symbols--make-keywords): Rename from
7438 `prog-prettify-font-lock-symbols-keywords' and simplify.
7439 (prog-prettify-install): Remove.
7440 (prettify-symbols-mode): New minor mode, based on
7441 `prog-prettify-install'.
7442 (turn-on-prettify-symbols-mode): New function.
7443 (global-prettify-symbols-mode): New globalized minor mode.
7445 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7446 * progmodes/cfengine.el (cfengine3-mode):
7447 * progmodes/perl-mode.el (perl-mode): Don't call
7448 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7450 2013-06-18 Juri Linkov <juri@jurta.org>
7452 * files-x.el (modify-file-local-variable-message): New function.
7453 (modify-file-local-variable)
7454 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7455 and call `modify-file-local-variable-message' when it's non-nil.
7456 (add-file-local-variable, delete-file-local-variable)
7457 (add-file-local-variable-prop-line)
7458 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7459 and use it. (Bug#9820)
7461 2013-06-18 Juri Linkov <juri@jurta.org>
7463 * emulation/vi.el (vi-shell-op):
7464 * emulation/vip.el (vip-execute-com, ex-command):
7465 * emulation/viper-cmd.el (viper-exec-bang):
7466 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7467 the call of `shell-command-on-region'. (Bug#14637)
7469 * simple.el (shell-command-on-region): Doc fix.
7471 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7473 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7476 2013-06-18 Glenn Morris <rgm@gnu.org>
7478 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7480 * newcomment.el (comment-search-forward, comment-search-backward):
7481 Doc fix. (Bug#14376)
7483 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7485 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7486 (buffer-face-mode-invoke): Doc fix.
7488 2013-06-18 Matthias Meulien <orontee@gmail.com>
7490 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7491 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7493 2013-06-18 Glenn Morris <rgm@gnu.org>
7495 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7496 Replace obsolete function generic-make-keywords with its expansion.
7498 * progmodes/python.el (ffap-alist): Declare.
7500 * textmodes/reftex.el (bibtex-mode-map): Declare.
7502 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7504 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7505 (package-unpack, package-unpack-single): Return the pkg-dir.
7506 (package-download-transaction): Use it to update package-alist.
7508 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7510 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7513 2013-06-17 Juri Linkov <juri@jurta.org>
7515 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7517 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7519 * emacs-lisp/package.el (package-load-descriptor):
7520 Remove `with-syntax-table' call, `read' doesn't need it.
7521 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7523 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7525 * startup.el (command-line): Expand package name returned by
7526 `package--description-file' (bug#14639).
7528 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7530 * emacs-lisp/package.el (package-load-descriptor): Do not call
7531 `emacs-lisp-mode', just use its syntax table.
7533 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7535 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7536 `font-lock-extra-managed-props' if any prettifying keyword is added.
7537 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7538 (prog-mode): Use `setq-local'.
7540 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7542 * international/characters.el (standard-case-table): Set syntax of ?»
7543 and ?« to punctuation.
7545 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7547 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7548 Save relevant match data before calling `syntax-ppss' (bug#14595).
7550 2013-06-15 Juri Linkov <juri@jurta.org>
7552 * files-x.el (modify-file-local-variable-prop-line): Add local
7553 variables to the end of the existing comment on the first line.
7554 Use `file-auto-mode-skip' to skip interpreter magic line,
7555 and also skip XML declaration.
7557 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7559 * startup.el (package--builtin-versions): New var.
7560 (package-subdirectory-regexp): Remove.
7561 (package--description-file): Hard code its value instead.
7563 * emacs-lisp/package.el: Don't activate packages older than builtin.
7564 (package-obsolete-list): Rename from package-obsolete-alist, and make
7565 it into a simple list of package-desc.
7566 (package-strip-version): Remove.
7567 (package-built-in-p): Use package--builtin-versions.
7568 (package-mark-obsolete): Simplify.
7569 (package-process-define-package): Mark it obsolete if older than the
7571 (package-handle-response): Use line-end-position.
7572 (package-read-archive-contents, package--download-one-archive):
7574 (package--add-to-archive-contents): Skip if older than the builtin or
7576 (package-menu-describe-package): Fix last change.
7577 (package-list-unversioned): New var.
7578 (package-menu--generate): Use it.
7580 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7581 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7582 (autoload-builtin-package-versions): New variable.
7583 (autoload-generate-file-autoloads): Use them.
7584 Remove the list of autoloaded functions/macros from the
7585 (autoload...) comments.
7587 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7589 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7591 * simple.el (line-move-partial): Don't jump to the next screen
7592 line as soon as it becomes visible. Instead, continue enlarging
7593 the vscroll until the portion of a tall screen line that's left on
7594 display is about the height of the frame's default font.
7597 2013-06-15 Glenn Morris <rgm@gnu.org>
7599 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7600 compilation-error-regexp-alist void, or local while let-bound.
7602 * progmodes/make-mode.el (makefile-mode-syntax-table):
7603 Treat "=" as punctuation. (Bug#14614)
7605 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7607 * help-fns.el (describe-variable):
7608 Add extra line for permanent-local variables.
7610 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7612 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7613 Add export, import, library. (Bug#9164)
7614 (library): Set indent function.
7616 2013-06-14 Glenn Morris <rgm@gnu.org>
7618 * term/xterm.el (xterm--query):
7619 Stop after first matching handler. (Bug#14615)
7621 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7623 Add support for dired in saveplace.
7624 * dired.el (dired-initial-position-hook): New variable.
7625 (dired-initial-position): Call hook to place cursor position.
7626 * saveplace.el (save-place-to-alist): Add dired position.
7627 (save-place-dired-hook): New function.
7629 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7631 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7632 through a symbol rather than letrec.
7634 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7635 (package-desc): Add `dir' field.
7636 (package-desc-full-name): New function.
7637 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7638 (package-maybe-load-descriptor): Remove.
7639 (package-load-all-descriptors): Just call package-load-descriptor.
7640 (package--disabled-p): New function.
7641 (package-desc-vers, package-desc-doc): Remove aliases.
7642 (package--dir): Remove function.
7643 (package-activate): Check if a package is disabled.
7644 (package-process-define-package): New function, extracted from
7646 (define-package): Turn into a place holder.
7647 (package-unpack-single, package-tar-file-info):
7648 Use package--description-file.
7649 (package-compute-transaction): Use package--disabled-p.
7650 (package-download-transaction): Don't call
7651 package-maybe-load-descriptor since they're all loaded anyway.
7652 (package-install): Change argument to be a pkg-desc.
7653 (package-delete): Use a single pkg-desc argument.
7654 (describe-package-1): Use package-desc-dir instead of package--dir.
7655 Use package-desc property instead of package-symbol.
7656 (package-install-button-action): Adjust accordingly.
7657 (package--push): Rewrite.
7658 (package-menu--print-info): Adjust accordingly. Change the ID format
7660 (package-menu-describe-package, package-menu-get-status)
7661 (package-menu--find-upgrades, package-menu-mark-upgrades)
7662 (package-menu-execute, package-menu--name-predicate):
7664 * startup.el (package--description-file): New function.
7665 (command-line): Use it.
7666 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7667 Use package-desc-version.
7669 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7670 (byte-compile-preprocess): Use it.
7671 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7672 can't quite recognize.
7673 (byte-compile-add-to-list): Remove.
7674 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7675 (cconv-closure-convert): Add assertion.
7677 * emacs-lisp/map-ynp.el: Use lexical-binding.
7678 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7679 Factor out some repeated code.
7681 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7683 * subr.el (with-eval-after-load): New macro.
7684 (eval-after-load): Allow form to be a function.
7685 take advantage of lexical-binding.
7686 (do-after-load-evaluation): Use dolist and adjust to new format.
7687 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7689 2013-06-13 Juri Linkov <juri@jurta.org>
7691 * replace.el (perform-replace): Display "symbol " and other search
7692 modes from `isearch-message-prefix' in the *Help* buffer.
7694 * isearch.el (isearch-query-replace): Add " symbol" and other
7695 possible search modes from `isearch-message-prefix' to the prompt.
7696 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7697 when reading a regexp to collect.
7699 2013-06-13 Juri Linkov <juri@jurta.org>
7701 * isearch.el (word-search-regexp): Match whitespace if the search
7702 string begins or ends in whitespace. The LAX arg is applied to
7703 both ends of the search string. Use `regexp-quote' and explicit
7704 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7705 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7706 boundaries are replaced with symbol boundaries, and characters
7707 between symbols match non-word non-symbol syntax. (Bug#14602)
7709 2013-06-13 Juri Linkov <juri@jurta.org>
7711 * isearch.el (isearch-del-char): Don't exceed the length of
7712 `isearch-string' by the prefix arg. (Bug#14563)
7714 2013-06-13 Juri Linkov <juri@jurta.org>
7716 * isearch.el (isearch-yank-word, isearch-yank-line)
7717 (isearch-char-by-name, isearch-quote-char)
7718 (isearch-printing-char, isearch-process-search-char):
7719 Add optional count prefix arg. (Bug#14563)
7721 * international/isearch-x.el
7722 (isearch-process-search-multibyte-characters):
7723 Add optional count prefix arg.
7725 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7727 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7728 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7731 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7733 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7735 2013-06-13 Glenn Morris <rgm@gnu.org>
7737 * startup.el (tty-handle-args):
7738 Don't just discard "--" and anything after. (Bug#14608)
7740 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7742 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7744 Implement changes in Secret Service API. Make it backward compatible.
7745 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7746 (secrets-create-item): Use it. Prefix properties with interface.
7748 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7750 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7751 (term-emulate-terminal): Respect term-suppress-hard-newline.
7753 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7755 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7756 Only remove a `thumb-file' overlay. (Bug#14548)
7758 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7760 * mail/reporter.el (reporter-submit-bug-report):
7761 Handle missing package-name. (Bug#14600)
7763 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7765 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7766 (reftex-citation-prompt, reftex-default-bibliography)
7767 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7768 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7769 (reftex-bib-sort-author, reftex-bib-sort-year)
7770 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7771 (reftex-extract-bib-entries-from-thebibliography)
7772 (reftex-get-bibkey-default, reftex-get-bib-names)
7773 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7774 (reftex-format-bib-entry, reftex-parse-bibitem)
7775 (reftex-format-bibitem, reftex-do-citation)
7776 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7777 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7778 (reftex-insert-bib-matches, reftex-format-citation)
7779 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7780 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7781 existing comments into docstrings.
7783 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7785 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7787 2013-06-12 Andreas Schwab <schwab@suse.de>
7789 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7790 for auto-save files.
7792 2013-06-12 Glenn Morris <rgm@gnu.org>
7794 * ido.el (ido-delete-ignored-files): Remove.
7795 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7796 Go back to calling ido-ignore-item-p directly.
7798 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7800 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7802 * ido.el (ido-delete-ignored-files): New function,
7803 split from ido-make-file-list-1.
7804 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7805 (ido-make-file-list-1): Use ido-delete-ignored-files.
7807 2013-06-12 Leo Liu <sdl.web@gmail.com>
7809 * progmodes/octave.el (inferior-octave-startup)
7810 (inferior-octave-completion-table)
7811 (inferior-octave-track-window-width-change)
7812 (octave-eldoc-function-signatures, octave-help)
7813 (octave-find-definition): Use single quoted strings.
7814 (inferior-octave-startup-args): Change default value.
7815 (inferior-octave-startup): Do not hard code "-i" and
7816 "--no-line-editing".
7817 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7818 (inferior-octave-directory-tracker): Use it.
7819 (octave-goto-function-definition): Robustify.
7820 (octave-help): Support highlighting operators in 'See also'.
7821 (octave-find-definition): Find subfunctions only in Octave mode.
7823 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7825 * help-fns.el (help-fns--compiler-macro): If the handler function is
7826 named, then put a link to it.
7827 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7828 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7830 (cl-eval-when): Simplify debug spec.
7831 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7832 compiler-macro function instead of setting `compiler-macro-file'.
7834 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7836 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7837 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7839 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7840 Daniel Hackney <dan@haxney.org>
7842 First part of Daniel Hackney's patch to package.el.
7843 * emacs-lisp/package.el: Use defstruct.
7844 (package-desc): New, main struct.
7845 (package--bi-desc, package--ac-desc): New structs, used to describe the
7846 format in external files.
7847 (package-desc-vers): Replace with package-desc-version accessor.
7848 (package-desc-doc): Replace with package-desc-summary accessor.
7849 (package-activate-1): Remove `package' arg since the pkg-vec now
7851 (define-package): Use package-desc-from-define.
7852 (package-unpack-single): Change file-name arg to be a symbol.
7853 (package--add-to-archive-contents): Use package-desc-create and new
7854 accessor functions to package--ac-desc.
7855 (package-buffer-info, package-tar-file-info): Return a package-desc.
7856 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7857 arg to be a package-desc.
7858 (package-install-file): Adjust accordingly. Use \' to match EOS.
7859 (package--from-builtin): New function.
7860 (describe-package-1, package-menu--generate): Use it.
7861 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7862 (package-generate-autoloads): Idem and return the name of the file.
7863 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7864 Change pkg-info arg to be a package-desc.
7865 Use package-make-ac-desc.
7866 (package-upload-file): Use \' to match EOS.
7867 * finder.el (finder-compile-keywords): Use package-make-builtin.
7869 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7871 * vc/vc.el (vc-deduce-fileset): Change error message.
7872 (vc-read-backend): New function.
7873 (vc-next-action): Use it.
7875 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7877 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7878 (prolog-font-lock-keywords): Use regexp-opt instead.
7879 Don't manually highlight strings.
7880 (prolog-mode-variables): Simplify comment-start-skip.
7881 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7883 * emacs-lisp/generic.el (generic--normalise-comments)
7884 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7885 (generic-mode-set-comments): Use them.
7886 (generic-bracket-support): Use setq-local.
7887 (generic-make-keywords-list): Declare obsolete.
7889 2013-06-11 Glenn Morris <rgm@gnu.org>
7891 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7892 Prettify after setting font-lock-defaults. (Bug#14574)
7894 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7896 * replace.el (query-replace, occur-read-regexp-defaults-function)
7898 * subr.el (declare-function, number-sequence, local-set-key)
7899 (substitute-key-definition, locate-user-emacs-file)
7900 (with-silent-modifications, split-string, eval-after-load):
7901 Fix typos, remove unneeded backslashes and reflow some docstrings.
7903 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7905 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7906 default for Elisp files.
7908 2013-06-11 Glenn Morris <rgm@gnu.org>
7910 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7911 although define-derived-mode was doing this anyway. (Bug#14583)
7913 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7915 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7916 Fix make-variable-buffer-local call to refer to the correct variable.
7918 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7920 * eshell/em-term.el (eshell-visual-commands)
7921 (eshell-visual-subcommands, eshell-visual-options):
7922 Add summary line to docstrings. Add cross-references.
7924 2013-06-10 Glenn Morris <rgm@gnu.org>
7926 * epa.el (epa-read-file-name): New function. (Bug#14510)
7927 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7929 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7931 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7932 output redirection to be ignored with visual commands.
7934 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7936 * eshell/em-term.el (eshell-visual-command-p): New function.
7937 (eshell-term-initialize): Move long lambda to separate function
7938 eshell-visual-command-p.
7939 * eshell/em-dirs.el (eshell-dirs-initialise):
7940 * eshell/em-script.el (eshell-script-initialize):
7941 Add missing #' to lambda.
7943 2013-06-08 Leo Liu <sdl.web@gmail.com>
7945 * progmodes/octave.el (octave-add-log-current-defun): New function.
7946 (octave-mode): Set add-log-current-defun-function.
7947 (octave-goto-function-definition): Do not move point if not found.
7948 (octave-find-definition): Enhance to try subfunctions first.
7950 2013-06-08 Glenn Morris <rgm@gnu.org>
7952 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7953 (byte-compile-backward-char, byte-compile-backward-word):
7954 Improve previous change, to handle non-explicit nil.
7956 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7958 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
7959 (smie--opener/closer-at-point): New function.
7960 (smie--matching-block-data): Use it. Don't match from right after an
7961 opener or right before a closer. Obey smie-blink-matching-inners.
7962 Don't signal a mismatch for repeated inners like "switch..case..case".
7964 2013-06-07 Leo Liu <sdl.web@gmail.com>
7966 * progmodes/octave.el (octave-mode): Set comment-use-global-state
7968 (octave-function-header-regexp): Fix. (Bug#14570)
7969 (octave-help-mode-finish-hook, octave-help-mode-finish):
7970 Remove. Just use temp-buffer-show-hook.
7972 * newcomment.el (comment-search-backward): Revert last change.
7975 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
7977 2013-06-07 Eli Zaretskii <eliz@gnu.org>
7979 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
7980 through xargs, to avoid failure due to MS-Windows limitations on
7981 command-line length.
7983 2013-06-06 Glenn Morris <rgm@gnu.org>
7985 * font-lock.el (lisp-font-lock-keywords-2):
7986 Treat user-error like error.
7988 * emacs-lisp/bytecomp.el (byte-compile-char-before)
7989 (byte-compile-backward-char, byte-compile-backward-word):
7990 Handle explicit nil arguments. (Bug#14565)
7992 2013-06-05 Alan Mackenzie <acm@muc.de>
7994 * isearch.el (isearch-allow-prefix): New user option.
7995 (isearch-other-meta-char): Don't exit isearch when a prefix
7996 argument is typed whilst `isearch-allow-prefix' is non-nil.
7999 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8001 * autorevert.el (auto-revert-notify-handler): Use memq.
8002 Hide assertion failure.
8004 * skeleton.el: Use cl-lib.
8005 (skeleton-further-elements): Use defvar-local.
8006 (skeleton-insert): Use cl-progv.
8008 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8010 * progmodes/prog-mode.el (prog-prettify-symbols)
8011 (prog-prettify-install): Update docstrings.
8013 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8015 * simple.el: Move all the prog-mode code to prog-mode.el.
8016 * progmodes/prog-mode.el: New file.
8017 * loadup.el: Add prog-mode.el.
8019 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8021 * simple.el (prog-prettify-symbols): Add version.
8022 (prog-prettify-install): Add convenience function to prettify symbols.
8024 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8025 (perl--augmented-font-lock-keywords-1)
8026 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8027 variables and use it.
8029 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8030 (cfengine3-mode): Remove unneeded variable and use it.
8032 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8033 (lisp--augmented-font-lock-keywords-1)
8034 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8035 Remove unneeded variables and use it.
8037 2013-06-05 João Távora <joaotavora@gmail.com>
8039 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8040 to point when opening the connection. (Bug#14380)
8042 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8044 * subr.el (load-history-regexp, load-history-filename-element)
8045 (eval-after-load, after-load-functions, do-after-load-evaluation)
8046 (eval-next-after-load, display-delayed-warnings)
8047 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8048 definition of save-match-data.
8049 (overriding-local-map): Remove accidental obsolescence declaration.
8051 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8053 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8055 Generalize symbol prettify support to prog-mode and implement it
8056 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8057 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8058 (prog--prettify-font-lock-compose-symbol)
8059 (prog-prettify-font-lock-symbols-keywords): New variables and
8060 functions to support symbol prettification.
8061 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8062 (lisp--augmented-font-lock-keywords-1)
8063 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8064 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8065 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8066 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8067 Implement prettify of -> => :: strings.
8068 * progmodes/perl-mode.el (perl-prettify-symbols)
8069 (perl--font-lock-compose-symbol)
8070 (perl--font-lock-symbols-keywords): Move to prog-mode.
8071 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8072 (perl-font-lock-keywords-1)
8073 (perl-font-lock-keywords-2): Remove explicit prettify support.
8074 (perl--augmented-font-lock-keywords)
8075 (perl--augmented-font-lock-keywords-1)
8076 (perl--augmented-font-lock-keywords-2, perl-mode):
8077 Implement prettify support.
8079 2013-06-05 Leo Liu <sdl.web@gmail.com>
8081 Re-implement smie matching block highlight using
8082 show-paren-data-function. (Bug#14395)
8083 * emacs-lisp/smie.el (smie-matching-block-highlight)
8084 (smie--highlight-matching-block-overlay)
8085 (smie--highlight-matching-block-lastpos)
8086 (smie-highlight-matching-block)
8087 (smie-highlight-matching-block-mode): Remove.
8088 (smie--matching-block-data-cache): New variable.
8089 (smie--matching-block-data): New function.
8090 (smie-setup): Use smie--matching-block-data for
8091 show-paren-data-function.
8093 * progmodes/octave.el (octave-mode-menu): Fix.
8094 (octave-find-definition): Skip garbage lines.
8096 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8098 Fix compilation error with simultaneous dynamic+lexical scoping.
8099 Add warning when a defvar appears after the first let-binding.
8100 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8101 (byte-compile-close-variables): Initialize it.
8102 (byte-compile--declare-var): New function.
8103 (byte-compile-file-form-defvar)
8104 (byte-compile-file-form-define-abbrev-table)
8105 (byte-compile-file-form-custom-declare-variable): Use it.
8106 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8107 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8108 (byte-compile-bind): Handle dynamic bindings that shadow
8110 (byte-compile-unbind): Make arg non-optional.
8111 (byte-compile-let): Simplify.
8112 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8113 (cconv--analyse-function, cconv-analyse-form): Populate it.
8114 Protect byte-compile-bound-variables to limit the scope of defvars.
8115 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8116 Remove unneeded rule for `declare'.
8118 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8119 so as to avoid depending on cl-adjoin at run-time.
8120 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8122 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8123 (macroexp--warn-and-return): Use it.
8125 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8127 * lisp/subr.el: Convert to lexical binding.
8128 (overriding-local-map): Make obsolete.
8129 (add-to-list): Doc fix. Add compiler macro.
8130 (read-key): Swap values of local maps.
8132 2013-06-05 Leo Liu <sdl.web@gmail.com>
8134 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8136 2013-06-04 Leo Liu <sdl.web@gmail.com>
8138 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8139 (compilation-auto-jump): Suppress the "Mark set" message to give
8140 way to exit message.
8142 2013-06-04 Alan Mackenzie <acm@muc.de>
8144 Remove faulty optimisation from indentation calculation.
8145 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8146 search limit based on 2000 characters back from indent-point.
8148 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8150 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8152 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8154 * emacs-lisp/lisp.el: Use lexical-binding.
8155 (lisp--local-variables-1, lisp--local-variables): New functions.
8156 (lisp--local-variables-completion-table): New var.
8157 (lisp-completion-at-point): Use it complete let-bound vars.
8159 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8160 eagerly (bug#14422).
8162 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8164 * autorevert.el (auto-revert-notify-enabled)
8165 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8166 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8167 (auto-revert-notify-handler): Handle also gfilenotify.
8169 * subr.el (file-notify-handle-event): New defun. Replacing ...
8170 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8173 2013-06-03 Juri Linkov <juri@jurta.org>
8175 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8176 `M-s h .'. (Bug#14427)
8178 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8179 command `hi-lock-face-symbol-at-point'.
8180 (hi-lock-face-symbol-at-point): New command.
8181 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8182 (hi-lock-menu): Add `highlight-symbol-at-point'.
8183 (hi-lock-mode): Doc fix.
8185 * isearch.el (isearch-forward-symbol-at-point): New command.
8186 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8187 (isearch-highlight-regexp): Add a regexp which matches
8188 words/symbols for word/symbol mode.
8190 * subr.el (find-tag-default-bounds): New function with the body
8191 mostly moved from `find-tag-default'.
8192 (find-tag-default): Move most code to `find-tag-default-bounds',
8193 call it and apply `buffer-substring-no-properties' afterwards.
8195 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8197 * eshell/em-term.el (eshell-term-initialize):
8198 Use `cl-intersection' rather than `intersection'.
8200 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8202 * vc/log-view.el: Doc fix.
8203 (log-view-mode-map): Copy keymap from `special-mode-map'.
8205 2013-06-02 Eric Ludlam <zappo@gnu.org>
8207 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8208 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8209 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8210 (eieio-unbound, eieio-default-superclass)
8211 (eieio--define-field-accessors, method-static, method-before)
8212 (method-primary, method-after, method-num-lists)
8213 (method-generic-before, method-generic-primary)
8214 (method-generic-after, method-num-slots)
8215 (eieio-specialized-key-to-generic-key)
8216 (eieio--check-type, class-v, class-p)
8217 (eieio-class-name, define-obsolete-function-alias)
8218 (eieio-class-parents-fast, eieio-class-children-fast)
8219 (same-class-fast-p, class-constructor, generic-p)
8220 (generic-primary-only-p, generic-primary-only-one-p)
8221 (class-option-assoc, class-option, eieio-object-p)
8222 (class-abstract-p, class-method-invocation-order)
8223 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8224 (eieio-class-un-autoload, eieio-defclass)
8225 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8226 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8227 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8228 (eieio-defgeneric-reset-generic-form)
8229 (eieio-defgeneric-form-primary-only)
8230 (eieio-defgeneric-reset-generic-form-primary-only)
8231 (eieio-defgeneric-form-primary-only-one)
8232 (eieio-defgeneric-reset-generic-form-primary-only-one)
8233 (eieio-unbind-method-implementations)
8234 (eieio--defmethod, eieio--typep)
8235 (eieio-perform-slot-validation, eieio-validate-slot-value)
8236 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8237 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8238 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8239 (eieio-slot-name-index, eieio-class-slot-name-index)
8240 (eieio-set-defaults, eieio-initarg-to-attribute)
8241 (eieio-attribute-to-initarg, eieio-c3-candidate)
8242 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8243 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8244 (eieio-class-precedence-list, eieio-generic-call-methodname)
8245 (eieio-generic-call-arglst, eieio-generic-call-key)
8246 (eieio-generic-call-next-method-list)
8247 (eieio-pre-method-execution-functions, eieio-generic-call)
8248 (eieio-generic-call-primary-only, eieiomt-method-list)
8249 (eieiomt-optimizing-obarray, eieiomt-install)
8250 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8251 (eieio-generic-form, eieio-defmethod, make-obsolete)
8252 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8253 (defclass): Remove `eval-and-compile' from macro.
8254 (call-next-method, shared-initialize): Instead of using
8255 `scoped-class' variable, use new eieio--scoped-class, and
8256 eieio--with-scoped-class.
8257 (initialize-instance): Rename local variable 'scoped-class' to
8258 'this-class' to remove ambiguitity from old global.
8260 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8262 (eieio--scoped-class-stack): New variable.
8263 (eieio--scoped-class): New fcn.
8264 (eieio--with-scoped-class): New scoping macro.
8265 (eieio-defclass): Use pushnew instead of add-to-list.
8266 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8267 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8268 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8269 `scoped-class' variable, use new eieio--scoped-class, and
8270 eieio--with-scoped-class.
8272 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8274 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8276 * eshell/esh-ext.el (eshell-external-command): Pass args to
8277 `eshell-find-interpreter'.
8278 (eshell-find-interpreter): Add new second parameter ARGS.
8280 * eshell/em-script.el (eshell-script-initialize): Add second arg
8281 to the function added as MATCH to `eshell-interpreter-alist'.
8283 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8284 the function added as MATCH to `eshell-interpreter-alist'.
8286 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8287 (eshell-visual-options): New defcustom.
8288 (eshell-escape-control-x): Adapt docstring.
8289 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8290 `eshell-visual-options' in addition to `eshell-visual-commands'.
8291 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8293 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8295 * progmodes/python.el (python-indent-block-enders): Add break,
8296 continue and raise keywords.
8298 2013-06-01 Glenn Morris <rgm@gnu.org>
8300 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8302 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8303 * progmodes/cc-cmds.el (delete-forward-p):
8304 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8305 * progmodes/cc-engine.el (buffer-syntactic-context):
8306 * progmodes/cc-fonts.el (face-property-instance):
8307 * progmodes/cc-mode.el (set-keymap-parents):
8308 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8309 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8310 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8311 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8312 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8314 * progmodes/cc-vars.el (other): Emacs has this widget since
8315 at least 21.1, so don't (re)define it.
8317 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8318 Replace the obsolete alias pcomplete-arg-quote-list.
8320 2013-06-01 Leo Liu <sdl.web@gmail.com>
8322 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8324 (inferior-octave-minimal-columns)
8325 (inferior-octave-last-column-width): New variables.
8326 (inferior-octave-track-window-width-change): New function.
8327 (inferior-octave-mode): Adjust column width so that Octave output,
8328 for example from 'ls', can fit into the window nicely.
8330 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8332 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8333 Highlight expansions inside regexp literals.
8335 2013-05-31 Glenn Morris <rgm@gnu.org>
8337 * obsolete/sym-comp.el (symbol-complete):
8338 Replace obsolete completion-annotate-function.
8340 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8342 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8344 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8345 New function, checks if point is inside a literal that allows
8346 expression expansion.
8347 (ruby-syntax-propertize-expansion): Use it.
8348 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8351 2013-05-30 Juri Linkov <juri@jurta.org>
8353 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8355 (isearch-invisible): New variable.
8356 (isearch-forward): Doc fix.
8357 (isearch-mode): Set `isearch-invisible'
8358 to the value of `search-invisible'.
8359 (isearch-toggle-case-fold): Doc fix.
8360 (isearch-toggle-invisible): New command.
8361 (isearch-query-replace): Let-bind `search-invisible'
8362 to the value of `isearch-invisible'.
8363 (isearch-search): Use `isearch-invisible' instead of
8364 `search-invisible'. Let-bind `search-invisible'
8365 to the value of `isearch-invisible'. (Bug#11378)
8367 2013-05-30 Juri Linkov <juri@jurta.org>
8369 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8370 call when `query-flag' is nil and `search-invisible' is non-nil.
8373 2013-05-30 Glenn Morris <rgm@gnu.org>
8375 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8377 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8378 (cc-require): Suppress spurious "noruntime" warnings.
8379 (cc-require-when-compile): Use fboundp, for sake of compiler.
8381 * progmodes/cc-mode.el: Move load of cc-vars before that of
8382 cc-langs (which in turn loads cc-vars), to quieten compiler.
8384 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8386 * paren.el: Simplify the code.
8387 (show-paren-mode): Always start the timer.
8388 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8389 (show-paren--overlay, show-paren--overlay-1): Rename from
8390 show-paren-overlay and show-paren-overlay-1, and initialize to an
8391 overlay rather than to nil.
8392 (show-paren-function): Misc cleanup and simplifications.
8394 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8396 * paren.el (show-paren-data-function): New hook.
8397 (show-paren--default): New function, extracted from show-paren-function.
8398 (show-paren-function): Use show-paren-data-function.
8400 2013-05-30 Glenn Morris <rgm@gnu.org>
8402 * ielm.el (ielm-map, ielm-complete-symbol):
8403 Use completion-at-point rather than obsolete functions.
8404 (inferior-emacs-lisp-mode): Doc fix.
8405 Set completion-at-point-functions, rather than
8406 comint-dynamic-complete-functions.
8408 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8409 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8410 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8412 * image.el (image-animated-p): Tweak definition.
8414 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8415 (rlogin-process-connection-type): Tweak default. Add set-after.
8416 (rlogin-host): Doc fix.
8417 (rlogin): Tweak prompt.
8418 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8420 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8421 * progmodes/tcl.el (inferior-tcl-mode-map):
8422 Use completion-at-point rather than obsolete alias.
8424 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8426 * minibuffer.el (read-file-name-completion-ignore-case):
8427 Move before completion--in-region, for eager macro expansion.
8429 2013-05-29 Juri Linkov <juri@jurta.org>
8431 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8432 for total count of matching lines. Add `global-matches' for total
8433 count of matches. Rename `matches' to `lines' for count of
8434 matching lines. Add `matches' for count of matches.
8435 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8436 to `prev-line' for line number of prev match endpt.
8437 Increment `matches' for every match. Print the number of
8438 matching lines in the header.
8439 (occur-context-lines): Rename `lines' to `curr-line'.
8440 Rename `prev-lines' to `prev-line'. (Bug#14017)
8442 2013-05-29 Juri Linkov <juri@jurta.org>
8444 * replace.el (perform-replace): Add `skip-read-only-count',
8445 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8446 Increment them for corresponding conditions and report the number
8447 of skipped occurrences in the final message. (Bug#11746)
8448 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8449 (replace-string, replace-regexp): Doc fix.
8451 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8453 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8455 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8456 prog-mode-map (bug#14504).
8458 2013-05-29 Leo Liu <sdl.web@gmail.com>
8460 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8461 (octave-help): Small simplification.
8463 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8464 off the highlight first.
8466 2013-05-29 Glenn Morris <rgm@gnu.org>
8468 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8469 Handle idlwave-last-system-routine-info-cons-cell being nil.
8471 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8472 (idlwave-write-paths): Simplify via with-temp-buffer.
8474 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8475 * emulation/cua-rect.el: Also load cua-base at run time.
8477 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8478 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8479 (cperl-imenu-on-info): Require imenu.
8481 2013-05-28 Alan Mackenzie <acm@muc.de>
8483 Handle "capitalised keywords" correctly.
8484 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8486 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8488 * eshell/em-unix.el: Add -r option to cp.
8490 2013-05-28 Glenn Morris <rgm@gnu.org>
8492 * vc/vc-arch.el (vc-exec-after): Declare.
8493 (vc-switches): Autoload.
8494 * vc/vc-bzr.el: No need to require vc when compiling.
8495 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8496 (vc-resynch-buffer, vc-dir-refresh): Declare.
8497 (vc-setup-buffer, vc-switches): Autoload.
8498 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8499 (vc-resynch-buffer): Declare.
8500 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8501 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8502 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8503 (grep-read-regexp, grep-read-files, grep-expand-template)
8504 (vc-dir-refresh): Declare.
8505 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8506 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8507 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8508 * vc/vc-mtn.el (vc-exec-after): Declare.
8509 (vc-switches): Autoload.
8510 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8511 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8512 (vc-file-tree-walk): Declare.
8513 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8514 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8515 (vc-tag-precondition, vc-rename-master): Autoload.
8516 * vc/vc-svn.el (vc-exec-after): Declare.
8517 (vc-switches, vc-setup-buffer): Autoload.
8518 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8520 (vc-resynch-buffer): Declare.
8522 * obsolete/fast-lock.el (byte-compile-warnings):
8523 Don't warn about obsolete features in this obsolete file.
8525 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8526 Move definition before use.
8528 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8529 (dun-unix-verbs): Remove dun-zippy.
8530 (dun-zippy): Remove function.
8532 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8534 2013-05-27 Juri Linkov <juri@jurta.org>
8536 * replace.el (replace-search): New function with code moved out
8537 from `perform-replace'.
8538 (replace-highlight, replace-dehighlight): Move function definitions
8539 up closer to `replace-search'. (Bug#11746)
8541 2013-05-27 Juri Linkov <juri@jurta.org>
8543 * replace.el (perform-replace): Ignore invisible matches.
8544 In addition to checking `query-replace-skip-read-only', also
8545 filter out matches by calling `run-hook-with-args-until-failure'
8546 on `isearch-filter-predicates', and also check `search-invisible'
8547 for t or call `isearch-range-invisible'.
8548 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8550 2013-05-27 Juri Linkov <juri@jurta.org>
8552 * isearch.el (isearch-filter-predicates): Rename from
8553 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8554 (isearch-message-prefix): Display text from the property
8555 `isearch-message-prefix' of the currently active filters.
8556 (isearch-search): Don't compare `isearch-filter-predicate' with
8557 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8558 on `isearch-filter-predicates'. Also check `search-invisible' for t
8559 or call `isearch-range-invisible'.
8560 (isearch-filter-visible): Make obsolete.
8561 (isearch-lazy-highlight-search):
8562 Call `run-hook-with-args-until-failure' on
8563 `isearch-filter-predicates' and use `isearch-range-invisible'.
8565 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8566 `isearch-filter-predicates' instead of `funcall'ing
8567 `isearch-filter-predicate'.
8568 (Info-mode): Set `Info-isearch-filter' to
8569 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8571 * dired-aux.el (dired-isearch-filter-predicate-orig):
8573 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8574 (dired-isearch-filenames-end): Add and remove
8575 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8576 instead of changing the value of `isearch-filter-predicate'.
8577 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8578 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8579 Put property `isearch-message-prefix' to "filename " on
8580 `dired-isearch-filter-filenames'.
8582 * wdired.el (wdired-change-to-wdired-mode):
8583 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8584 locally instead of changing `isearch-filter-predicate'.
8585 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8587 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8589 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8590 return the commit hash (Bug#14459). Also set the
8591 `vc-git-detached' property.
8592 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8593 (vc-git-mode-line-string): Use the same help-echo format whether
8594 in detached mode or not, because we know the actual revision now.
8595 When in detached mode, shorten the revision to 7 chars.
8597 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8599 * emacs-lisp/easy-mmode.el (define-minor-mode):
8600 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8601 mode hook and provide a docstring.
8603 2013-05-27 Alan Mackenzie <acm@muc.de>
8605 Remove spurious syntax-table text properties inserted by C-y.
8606 * progmodes/cc-mode.el (c-after-change): Also clear hard
8607 syntax-table property with value nil.
8609 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8611 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8612 when reading the events; the buffer layout shall not be changed.
8614 2013-05-27 Leo Liu <sdl.web@gmail.com>
8616 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8618 (inferior-octave-directory-tracker): Automatically re-sync
8620 (octave-help): Improve handling of 'See also'.
8622 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8624 * doc-view.el: Minor naming convention tweaks.
8625 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8627 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8628 even if there's no `display' property yet (bug#14435).
8630 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8632 * subr.el (unmsys--file-name): Rename from reveal-filename.
8634 * Makefile.in (custom-deps, finder-data, autoloads)
8635 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8636 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8637 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8639 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8641 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8642 error-completion on the first 2 args of condition-case (bug#14446).
8645 2013-05-25 Leo Liu <sdl.web@gmail.com>
8647 * comint.el (comint-previous-matching-input): Do not flood the
8648 *Messages* buffer with trivial messages.
8650 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8652 * progmodes/flymake.el (flymake-nop): Don't return a string.
8653 (flymake-set-at): Fix typo.
8655 * simple.el (read--expression): New function, extracted from
8656 eval-expression. Set completion-at-point-functions (bug#14465).
8657 (eval-expression, eval-minibuffer): Use it.
8659 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8661 * progmodes/flymake.el (flymake-save-buffer-in-file)
8662 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8663 (flymake-selected-frame, flymake-log, flymake-ins-after)
8664 (flymake-set-at, flymake-get-buildfile-from-cache)
8665 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8666 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8667 Refine the doc string.
8668 (flymake-get-file-name-mode-and-masks): Reformat.
8669 (flymake-get-real-file-name-function): Fix a minor bug.
8671 2013-05-24 Juri Linkov <juri@jurta.org>
8673 * progmodes/grep.el (grep-mode-font-lock-keywords):
8674 Support =linenumber= format used by git-grep for lines with
8675 function names. (Bug#13549)
8677 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8679 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8680 0 after a semi-colon; it works better for smie-auto-fill.
8681 (octave--indent-new-comment-line): New function.
8682 (octave-indent-new-comment-line): Use it (indirectly).
8683 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8684 modify comment-line-break-function.
8686 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8687 (smie-setup): Use add-function to set it.
8689 2013-05-24 Sam Steingold <sds@gnu.org>
8691 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8692 argument (before the `interactive' argument).
8694 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8696 * image-mode.el (image-mode-winprops): Add winprops to
8697 image-mode-winprops-alist before running
8698 image-mode-new-window-functions.
8699 * doc-view.el (doc-view-new-window-function): Don't delay
8700 doc-view-goto-page via timers (bug#14435).
8702 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8704 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8705 (doc-view-desktop-save-buffer): New function.
8706 (doc-view-restore-desktop-buffer): New function.
8707 (desktop-buffer-mode-handlers):
8708 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8710 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8711 `desktop-save-buffer' function.
8713 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8715 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8716 (tramp-gvfs-file-name-handler): Raise a user error when
8717 `tramp-gvfs-enabled' is nil.
8718 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8719 Do not raise a user error when loading package. (Bug#14447)
8721 * net/xesam.el: Move to obsolete/.
8723 2013-05-24 Glenn Morris <rgm@gnu.org>
8725 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8727 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8729 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8730 (Info-find-node, Man-getpage-in-background): Declare.
8732 * mail/unrmail.el (unrmail):
8733 Replace obsolete detect-coding-with-priority.
8735 * net/socks.el (socks-split-string): Use this rather than split-string.
8736 (socks-nslookup-host): Update for above change.
8737 (dynamic-choice, s5-dynamic-choice-match)
8738 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8739 Comment out unused code.
8741 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8742 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8743 (gud-tooltip-echo-area): Make obsolete.
8744 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8746 * progmodes/js.el (js--optimize-arglist): Declare.
8748 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8750 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8751 (ediff-window-C): Declare.
8753 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8754 Tweak requires to silence compiler.
8756 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8757 (he-search-string, he-tried-table, he-expand-list)
8758 (he-init-string, he-string-member, he-substitute-string)
8759 (he-reset-string): Declare.
8761 * obsolete/options.el (list-options): Use custom-variable-p,
8762 rather than obsolete alias.
8764 2013-05-23 Sam Steingold <sds@gnu.org>
8766 * simple.el (shell-command-on-region): Pass the `replace' argument
8767 down to `call-process-region' to comply with the doc as reported on
8768 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8770 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8772 * emacs-lisp/smie.el (smie-indent-forward-token)
8773 (smie-indent-backward-token): Handle string tokens (bug#14381).
8775 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8777 * ielm.el (ielm-menu): New menu.
8778 (inferior-emacs-lisp-mode): Set comment-start.
8780 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8782 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8783 Fix deactivate action.
8785 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8786 Add cleveref macros.
8788 * lisp/textmodes/reftex-parse.el
8789 (reftex-locate-bibliography-files): Accept options for
8790 bibliography commands.
8791 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8792 Add addbibresource. Basic Biblatex support.
8794 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8796 * net/tramp-gvfs.el (top):
8797 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8798 when loading package. (Bug#14447)
8800 2013-05-23 Glenn Morris <rgm@gnu.org>
8802 * progmodes/js.el: No need to load comint when compiling.
8803 (ring-insert, comint-send-string, comint-send-input)
8804 (comint-last-input-end, ido-chop): Declare.
8806 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8807 * vc/ediff-mult.el: Adjust requires.
8808 (ediff-directories-internal, ediff-directory-revisions-internal)
8809 (ediff-patch-file-internal): Declare.
8810 * vc/ediff-ptch.el: Adjust requires.
8811 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8812 (ediff-find-file): Autoload.
8813 * vc/ediff-util.el: No need to load ediff when compiling.
8814 (ediff-regions-internal): Declare.
8815 * vc/ediff-wind.el: Adjust requires.
8816 (ediff-compute-toolbar-width): Define when compiling.
8817 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8818 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8819 (dired-get-filename, dired-get-marked-files)
8820 (ediff-last-dir-patch, ediff-patch-default-directory)
8821 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8822 (ediff-patch-buffer-internal): Declare.
8824 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8825 (ispell-process, ispell-buffer-local-words, lm-summary)
8826 (lm-section-start, lm-section-end): Declare.
8827 (checkdoc-ispell-init): Simplify.
8829 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8830 (he-string-member, he-reset-string, he-substitute-string): Declare.
8832 * eshell/em-ls.el: Adjust requires.
8833 (eshell-glob-regexp): Declare.
8834 * eshell/em-tramp.el: Adjust requires.
8835 (eshell-parse-command): Autoload.
8836 * eshell/em-xtra.el: Adjust requires.
8837 (eshell-parse-command): Autoload.
8838 * eshell/esh-ext.el: Adjust requires.
8839 (eshell-parse-command, eshell-close-handles): Autoload.
8840 * eshell/esh-io.el: Adjust requires.
8841 (eshell-output-filter): Autoload.
8842 * eshell/esh-util.el: No need to load tramp when compiling.
8843 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8845 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8846 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8847 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8848 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8849 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8850 * eshell/esh-opt.el, eshell/esh-proc.el:
8851 * eshell/esh-var.el: Adjust requires.
8852 * eshell/eshell.el: Do not require esh-util twice.
8853 (eshell-add-input-to-history): Declare.
8854 (eshell-command): Check history module is active before using it.
8856 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8858 2013-05-22 Leo Liu <sdl.web@gmail.com>
8860 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8862 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8864 * autorevert.el (auto-revert-notify-add-watch)
8865 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8866 it indicates changes in file modification time.
8868 2013-05-22 Glenn Morris <rgm@gnu.org>
8870 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8871 Always delete the autoloaded function from the noruntime and
8872 unresolved functions lists.
8874 * allout.el: No need to load epa, epg, overlay when compiling.
8875 (epg-context-set-passphrase-callback, epg-list-keys)
8876 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8877 (epg-key-user-id-list): Declare.
8879 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8880 (viper-set-parsing-style-toggling-macro)
8881 (viper-set-emacs-state-searchstyle-macros):
8882 Use called-interactively-p on Emacs.
8883 (viper-looking-back): Make it an obsolete alias. Update callers.
8884 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8885 Use looking-back rather than viper-looking-back.
8886 (viper-tmp-insert-at-eob, viper-enlarge-region)
8887 (viper-read-string-with-history, viper-register-to-point)
8888 (viper-append-to-register, viper-change-state-to-vi)
8889 (viper-backward-char-carefully, viper-forward-char-carefully)
8890 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8891 (viper-change-state-to-emacs): Declare.
8892 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8893 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8894 * emulation/viper-mous.el: Do not load viper-cmd.
8895 (viper-backward-char-carefully, viper-forward-char-carefully)
8896 (viper-forward-word, viper-adjust-window): Declare.
8898 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8900 * progmodes/idlw-help.el (idlwave-help-fontify):
8901 Use called-interactively-p.
8903 * term/w32console.el (w32-get-console-codepage)
8904 (w32-get-console-output-codepage): Declare.
8906 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8907 Remove unnecessary declarations.
8908 (dframe-message): Doc fix.
8910 * info.el (dframe-select-attached-frame, dframe-current-frame):
8913 * speedbar.el (speedbar-message): Make it an obsolete alias.
8915 (speedbar-with-attached-buffer)
8916 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8917 (speedbar-with-writable): Use backquote.
8918 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8919 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8920 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8921 rather than speedbar- aliases.
8922 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8923 (speedbar-make-specialized-keymap, speedbar-insert-button)
8924 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8925 (speedbar-do-function-pointer): Declare.
8926 (rmail-speedbar-button, rmail-speedbar-find-file)
8927 (rmail-speedbar-move-message):
8928 Use dframe-with-attached-buffer rather than speedbar- alias.
8929 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8930 (dframe-message, speedbar-make-specialized-keymap)
8931 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8932 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8933 (speedbar-insert-button, dframe-select-attached-frame)
8934 (dframe-maybee-jump-to-attached-frame)
8935 (speedbar-change-initial-expansion-list)
8936 (speedbar-previously-used-expansion-list-name): Declare.
8937 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8938 Use dframe-message, dframe-with-attached-buffer rather than
8940 (gud-sentinel): Silence compiler.
8941 * progmodes/vhdl-mode.el (speedbar-refresh)
8942 (speedbar-do-function-pointer, speedbar-add-supported-extension)
8943 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
8944 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
8945 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
8946 (speedbar-file-lists, speedbar-make-tag-line)
8947 (speedbar-line-directory, speedbar-goto-this-file)
8948 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
8949 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
8950 (speedbar-make-button, speedbar-reset-scanners)
8951 (speedbar-files-item-info, speedbar-line-text)
8952 (speedbar-find-file-in-frame, speedbar-set-timer)
8953 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
8954 (speedbar-with-writable): Do not (re)define it.
8955 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
8956 rather than speedbar- alias.
8958 2013-05-21 Leo Liu <sdl.web@gmail.com>
8960 * progmodes/octave.el (octave-mode-menu): Update and re-organize
8962 (octave-mode): Tweak fill-nobreak-predicate.
8963 (inferior-octave-startup): Check process to avoid infinite loop.
8964 (inferior-octave): Pop to buffer first to show abornmal process
8967 2013-05-21 Glenn Morris <rgm@gnu.org>
8969 * printing.el (pr-menu-bar): Define when compiling.
8971 2013-05-21 Leo Liu <sdl.web@gmail.com>
8973 * progmodes/octave.el (octave-auto-fill): Remove.
8974 (octave-indent-new-comment-line): Improve.
8975 (octave-mode): Use auto fill mode through
8976 comment-line-break-function and fill-nobreak-predicate.
8977 (octave-goto-function-definition): Support DEFUN_DLD.
8978 (octave-beginning-of-defun): Small tweak.
8979 (octave-help): Show parent directory.
8981 2013-05-21 Glenn Morris <rgm@gnu.org>
8983 * files.el (dired-unmark):
8984 * progmodes/gud.el (gdb-input): Update declarations.
8986 * calculator.el (electric, ehelp): No need to load when compiling.
8987 (Electric-command-loop, electric-describe-mode): Declare.
8989 * doc-view.el (doc-view-current-converter-processes): Move before use.
8991 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8992 Move MODE-set-explicitly definition before use.
8994 * international/mule-diag.el (mule-diag):
8995 Don't use obsolete window-system-version.
8997 * mail/feedmail.el (smtpmail): No need to load when compiling.
8998 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9000 * mail/mail-utils.el (rfc822): No need to load when compiling.
9001 (rfc822-addresses): Autoload it.
9002 (mail-strip-quoted-names): Trivial simplification.
9004 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9005 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9007 * net/snmp-mode.el (tempo): Don't duplicate requires.
9009 * progmodes/prolog.el (info): No need to load when compiling.
9010 (comint): Require before shell requires it.
9011 (Info-goto-node): Autoload it.
9012 (Info-follow-nearest-node): Declare.
9013 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9015 * textmodes/artist.el (picture-mode-exit): Declare.
9017 * textmodes/reftex-parse.el (reftex-parse-from-file):
9018 Trivial rewrite so the compiler can parse it better.
9020 2013-05-20 Leo Liu <sdl.web@gmail.com>
9022 * progmodes/octave.el (octave-help-mode-map)
9023 (octave-help-mode-finish-hook): New variables.
9024 (octave-help-mode, octave-help-mode-finish): New functions.
9025 (octave-help): Use octave-help-mode.
9027 2013-05-20 Glenn Morris <rgm@gnu.org>
9029 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9031 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9033 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9034 start at point, so that expansion starting right after opening
9035 slash in a regexp is recognized.
9036 (ruby-syntax-before-regexp-re): New defvar, extracted from
9037 ruby-syntax-propertize-function. Since the value of this regexp
9038 is looked up at runtime now, we should be able to turn
9039 `ruby-syntax-methods-before-regexp' into a defcustom later.
9040 (ruby-syntax-propertize-function): Split regexp matching into two
9041 parts, for opening and closing slashes. That allows us to skip
9042 over string interpolations and support multiline regexps.
9043 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9044 for them, which calls `ruby-syntax-propertize-expansion'.
9045 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9046 call to `ruby-syntax-propertize-function'.
9047 (ruby-syntax-propertize-expansion): Extracted from
9048 `ruby-syntax-propertize-expansions'. Handles one expansion.
9049 (ruby-syntax-propertize-percent-literal): Leave point right after
9050 the percent symbol, so that the expression expansion rule can
9051 propertize the contents.
9052 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9054 (ruby-syntax-propertize-expansions): Remove.
9056 2013-05-18 Juri Linkov <juri@jurta.org>
9058 * man.el (Man-default-man-entry): Remove `-' from the end
9059 of the default value. (Bug#14400)
9061 2013-05-18 Glenn Morris <rgm@gnu.org>
9063 * comint.el (comint-password-prompt-regexp):
9064 Allow "password for XXX" where XXX contains colons (eg https://...).
9066 2013-05-18 Leo Liu <sdl.web@gmail.com>
9068 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9069 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9070 (octave-source-directories): Don't check process.
9071 (octave-source-directories, octave-find-definition): Doc fix.
9073 2013-05-18 Glenn Morris <rgm@gnu.org>
9075 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9076 Remove backspace/delete bindings. (Bug#14392)
9078 * cus-dep.el (custom-make-dependencies): Sort the output.
9079 (custom-versions-load-alist): Convert comment to doc.
9081 2013-05-17 Leo Liu <sdl.web@gmail.com>
9083 * newcomment.el (comment-search-backward): Stricter in finding
9084 comment start. (Bug#14303)
9086 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9087 (octave-comment-start-skip): Properly anchored.
9089 2013-05-17 Leo Liu <sdl.web@gmail.com>
9091 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9092 Clean up when turned off. (Bug#14395)
9093 (smie--highlight-matching-block-overlay): No longer buffer-local.
9094 (smie-highlight-matching-block): Adjust.
9096 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9098 Doc string fix for "nanoseconds" (Bug#14406).
9099 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9100 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9102 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9104 * calc/calc-units.el (math-extract-units): Preserve powers
9107 2013-05-17 Leo Liu <sdl.web@gmail.com>
9109 * subr.el (delete-consecutive-dups): New function.
9110 * ido.el (ido-set-matches-1): Use it.
9111 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9112 * ido.el (ido-remove-consecutive-dups): Remove.
9114 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9116 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9117 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9118 regexp-opt's `words'.
9120 2013-05-16 Leo Liu <sdl.web@gmail.com>
9122 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9123 (smie--highlight-matching-block-overlay)
9124 (smie--highlight-matching-block-lastpos)
9125 (smie--highlight-matching-block-timer): New variables.
9126 (smie-highlight-matching-block): New function.
9127 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9128 (smie-setup): Conditionally enable smie-blink-matching-open.
9130 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9132 Sync with upstream verilog-mode r840.
9133 * progmodes/verilog-mode.el (verilog-mode-version)
9134 (verilog-mode-release-date): Update.
9135 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9136 (verilog-sig-tieoff): Fix string error on
9137 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9138 (verilog-read-decls): Fix parameters confusing
9139 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9141 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9143 * subr.el (reveal-filename): New function.
9145 * loadup.el: Compute Emacs executable versions on MS-Windows,
9146 where executables have the .exe extension. Add a hard link
9147 emacs-XX.YY.ZZ.exe on MS-Windows.
9149 * Makefile.in (XARGS_LIMIT): New variable.
9150 (custom-deps, finder-data, autoloads)
9151 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9152 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9153 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9154 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9156 2013-05-16 Leo Liu <sdl.web@gmail.com>
9158 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9159 (octave-mode-menu, octave-mode-map): Remove its uses.
9161 2013-05-16 Reto Zimmermann <reto@gnu.org>
9163 Sync with upstream vhdl mode v3.34.2.
9164 * progmodes/vhdl-mode.el: Use `push' throughout.
9165 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9166 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9167 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9168 (vhdl-actual-generic-name): New option to derive actual generic name.
9169 (vhdl-port-paste-signals): Replace formal by actual generics.
9170 (vhdl-beautify): New name for old group vhdl-align. Update users.
9171 (vhdl-beautify-options): New option.
9172 (vhdl-last-input-event): New compat alias. Use throughout.
9173 (vhdl-goto-line): Replace user level function `goto-line'.
9174 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9175 vhdl-fix-statement-buffer.
9176 (vhdl-create-mode-menu): Add some entries.
9177 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9178 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9179 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9180 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9181 to force statements on one line.
9182 (vhdl-remove-trailing-spaces-region):
9183 New, split from vhdl-remove-trailing-spaces.
9184 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9185 Respect vhdl-beautify-options.
9186 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9187 (vhdl-update-sensitivity-list): Not add with index if exists without.
9188 Not include array index with signal. Ignore keywords in comments.
9189 (vhdl-get-visible-signals): Regexp tweaks.
9190 (vhdl-template-component-inst): Handle empty library.
9191 (vhdl-template-type): Add template for 'enum' type.
9192 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9193 Use vhdl-replace-string.
9194 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9195 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9196 (vhdl-speedbar-initialize): Update for above name change.
9197 (vhdl-compose-wire-components): Fix in handling of constants.
9198 (vhdl-error-regexp-emacs-alist): New variable.
9199 (vhdl-error-regexp-add-emacs): New function;
9200 adds support for new compile.el (Emacs 22+)
9201 (vhdl-generate-makefile-1): Change target order for single lib. units.
9202 Allow use of absolute file names.
9204 2013-05-16 Leo Liu <sdl.web@gmail.com>
9206 * simple.el (prog-indent-sexp): Indent enclosing defun.
9208 2013-05-15 Glenn Morris <rgm@gnu.org>
9210 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9211 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9212 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9213 (whitespace-highlight): Move to whitespace group.
9215 * comint.el (comint-source):
9216 * pcmpl-linux.el (pcmpl-linux):
9217 * shell.el (shell-faces):
9218 * eshell/esh-opt.el (eshell-opt):
9219 * international/ccl.el (ccl): Remove empty custom groups.
9221 * completion.el (dynamic-completion-mode):
9222 * jit-lock.el (jit-lock-debug-mode):
9223 * minibuffer.el (completion-in-region-mode):
9224 * type-break.el (type-break-mode-line-message-mode)
9225 (type-break-query-mode):
9226 * emulation/tpu-edt.el (tpu-edt-mode):
9227 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9228 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9229 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9231 * term/xterm.el (xterm): Change parent group to terminals.
9233 * master.el (master): Remove empty custom group.
9234 (master-mode): Remove unused :group argument.
9235 * textmodes/refill.el (refill): Remove empty custom group.
9236 (refill-mode): Remove unused :group argument.
9238 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9240 * cus-dep.el: Provide a feature.
9241 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9242 Don't mistakenly ignore files whose basenames match a basename
9243 from preloaded-file-list (eg cedet/ede/simple.el).
9244 Add a fallback method for getting :group.
9246 2013-05-15 Juri Linkov <juri@jurta.org>
9248 * isearch.el (isearch-char-by-name): Rename from
9249 `isearch-insert-char-by-name'. Doc fix.
9250 (isearch-forward): Mention `isearch-char-by-name' in
9251 the docstring. (Bug#13348)
9253 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9254 `exit-minibuffer' instead of
9255 `isearch-nonincremental-exit-minibuffer'.
9256 (isearch-edit-string): Remove mention of
9257 `isearch-nonincremental-exit-minibuffer' from docstring.
9258 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9259 (isearch-forward-exit-minibuffer)
9260 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9262 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9264 * loadup.el: Just use unversioned DOC.
9266 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9267 literals as extending to EOB.
9268 (nxml-last-fontify-end): Remove unused variable.
9269 (nxml-after-change1): Use with-silent-modifications.
9270 (nxml-extend-after-change-region): Simplify.
9271 (nxml-extend-after-change-region1): Remove function.
9272 (nxml-after-change1): Don't adjust for dependent regions.
9273 (nxml-fontify-matcher): Simplify.
9274 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9275 (xmltok-add-dependent): Remove function.
9276 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9277 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9278 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9279 unclosed <[[, <?, comment, and other literals as extending to EOB.
9280 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9281 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9283 (rng-do-some-validation-1): Don't mark dependent regions.
9284 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9285 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9286 (nxml-clear-dependent-regions): Remove functions.
9287 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9288 (nxml-ensure-scan-up-to-date):
9289 Don't clear&mark dependent regions.
9291 2013-05-15 Leo Liu <sdl.web@gmail.com>
9293 * progmodes/octave.el (octave-goto-function-definition):
9294 Improve and fix callers.
9296 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9298 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9299 the setter (bug#14387).
9301 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9302 surrounding group (bug#14402).
9304 2013-05-14 Juri Linkov <juri@jurta.org>
9306 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9309 2013-05-14 Glenn Morris <rgm@gnu.org>
9311 * progmodes/f90.el (f90-imenu-generic-expression):
9312 Fix typo in 2013-05-08 change. (Bug#14402)
9314 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9316 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9317 Remove signals for which replies are never received.
9319 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9321 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9322 (gdb-handler-alist, gdb-handler-number): Remove variables.
9323 (gdb-handler-list): New variable.
9324 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9325 (gdb-pending-handler-p, gdb-handle-reply)
9326 (gdb-remove-all-pending-triggers): New functions.
9327 (gdb-discard-unordered-replies): New defcustom.
9328 (gdb-handler): New defstruct.
9329 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9330 instead of gdb-pending-triggers. Update docstring.
9331 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9332 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9333 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9334 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9335 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9336 (gdb-frame-handler): Pending triggers are now automatically managed.
9337 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9339 (gdb-input): Automatically handles pending triggers. Update docstring.
9340 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9341 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9343 (gdb-done-or-error): Now use gdb-handle-reply.
9345 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9347 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9350 2013-05-14 Glenn Morris <rgm@gnu.org>
9352 * subr.el (user-emacs-directory-warning): New option.
9353 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9355 2013-05-14 Leo Liu <sdl.web@gmail.com>
9357 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9359 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9360 (octave-font-lock-texinfo-comment): Fix invalid search bound
9361 error: wrong side of point.
9363 2013-05-14 Glenn Morris <rgm@gnu.org>
9365 * progmodes/flymake.el (flymake-xml-program): New option.
9366 (flymake-xml-init): Use it.
9368 * term/xterm.el: Provide a feature.
9370 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9372 2013-05-13 Glenn Morris <rgm@gnu.org>
9374 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9375 Add compat aliases as a hack workaround. (Bug#14384)
9377 2013-05-13 Leo Liu <sdl.web@gmail.com>
9379 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9381 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9383 (octave-comment-start-skip): Include %!.
9384 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9386 2013-05-12 Leo Liu <sdl.web@gmail.com>
9388 * progmodes/octave.el (inferior-octave-startup): Store the value
9389 of __octave_srcdir__ for octave-source-directories.
9390 (inferior-octave-check-process): New function refactored out of
9391 inferior-octave-send-list-and-digest.
9392 (octave-source-directories)
9393 (octave-find-definition-filename-function): New variables.
9394 (octave-source-directories)
9395 (octave-find-definition-default-filename): New functions.
9396 (octave-find-definition): Improve to find functions implemented in C++.
9398 2013-05-12 Glenn Morris <rgm@gnu.org>
9400 * calendar/diary-lib.el (diary-outlook-format-1):
9401 Don't include dayname in the output. (Bug#14349)
9403 2013-05-11 Glenn Morris <rgm@gnu.org>
9405 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9407 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9408 Treat cc-provide like provide.
9410 2013-05-11 Kevin Ryde <user42@zip.com.au>
9412 * cus-dep.el (custom-make-dependencies):
9413 Use generated-autoload-load-name for the sake of files such
9414 such cedet/semantic/bovine/c.el, where the base file name
9415 is not in load-path. (Bug#5277)
9417 2013-05-11 Glenn Morris <rgm@gnu.org>
9419 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9422 2013-05-11 Leo Liu <sdl.web@gmail.com>
9424 * progmodes/octave.el (octave-indent-comment): Improve.
9425 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9426 (octave-eldoc-function-signatures, octave-eldoc-function):
9428 (octave-mode, inferior-octave-mode): Add eldoc support.
9430 2013-05-11 Richard Stallman <rms@gnu.org>
9432 * epa.el (epa-decrypt-file): Take output file name as argument
9433 and read it using `interactive'.
9435 2013-05-11 Leo Liu <sdl.web@gmail.com>
9437 * progmodes/octave.el (octave-beginning-of-line)
9438 (octave-end-of-line): Check before using up-list because it jumps
9439 out of more syntactic contructs since moving to smie.
9440 (octave-indent-comment): New function.
9441 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9442 (octave-begin-keywords, octave-end-keywords)
9443 (octave-reserved-words, octave-smie-bnf-table)
9444 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9446 2013-05-11 Glenn Morris <rgm@gnu.org>
9448 * faces.el (internal-face-x-get-resource):
9449 * frame.el (ns-display-monitor-attributes-list):
9450 * calc/calc-aent.el (math-to-radians-2):
9451 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9454 * calc/calc-menu.el: Make it loadable in isolation.
9456 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9457 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9458 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9459 (eudc-bbdb-query-internal): Require 'bbdb.
9461 * lpr.el (lpr-headers-switches):
9462 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9464 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9466 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9468 * term.el (term-set-escape-char): Make it idempotent.
9470 2013-05-10 Leo Liu <sdl.web@gmail.com>
9472 * progmodes/octave.el (inferior-octave-completion-table):
9473 No longer a function and all uses changed. Use cache to speed up
9474 completion due to bug#11906.
9475 (octave-beginning-of-defun): Re-write to be more general.
9477 2013-05-10 Glenn Morris <rgm@gnu.org>
9479 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9481 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9483 * comint.el (comint-redirect-send-command-to-process): Use :around
9484 rather than :override for comint-redirect-filter.
9485 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9486 Call it instead of comint-redirect-original-filter-function (which
9487 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9489 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9491 * frame.el (display-monitor-attributes-list): Add NS case.
9492 (ns-display-monitor-attributes-list): Declare.
9494 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9496 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9498 2013-05-09 Glenn Morris <rgm@gnu.org>
9500 * international/fontset.el (vertical-centering-font-regexp):
9503 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9505 * bookmark.el (bookmark-search-delay):
9506 * cus-start.el (vertical-centering-font-regexp):
9507 * ps-mule.el (ps-mule-font-info-database-default):
9508 * ps-print.el (ps-default-fg, ps-default-bg):
9509 * type-break.el (type-break-good-break-interval):
9510 * whitespace.el (whitespace-indentation-regexp)
9511 (whitespace-space-after-tab-regexp):
9512 * emacs-lisp/testcover.el (testcover-1value-functions)
9513 (testcover-noreturn-functions, testcover-progn-functions)
9514 (testcover-prog1-functions):
9515 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9516 * eshell/em-glob.el (eshell-glob-translate-alist):
9517 * play/tetris.el (tetris-tty-colors):
9518 * progmodes/cpp.el (cpp-face-default-list):
9519 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9520 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9521 (idlwave-help-browser-generic-args):
9522 * progmodes/make-mode.el (makefile-special-targets-list):
9523 * progmodes/python.el (python-shell-virtualenv-path):
9524 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9525 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9526 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9527 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9528 * textmodes/reftex-vars.el (reftex-format-label-function):
9529 * textmodes/remember.el (remember-diary-file): Fix custom types.
9531 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9534 2013-05-09 Leo Liu <sdl.web@gmail.com>
9536 * progmodes/octave.el (inferior-octave-completion-at-point):
9537 Restore file completion. (Bug#14300)
9538 (inferior-octave-startup): Fix incorrect highlighting for the
9541 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9543 * progmodes/ruby-mode.el: First cut at SMIE support.
9544 (ruby-use-smie): New var.
9545 (ruby-smie-grammar): New constant.
9546 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9547 (ruby-smie--forward-token, ruby-smie--backward-token)
9548 (ruby-smie-rules): New functions.
9549 (ruby-mode-variables): Setup SMIE if applicable.
9551 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9553 * simple.el (line-move-visual): Signal beginning/end of buffer
9554 only if vertical-motion moved less than it was requested. Avoids
9555 silly incorrect error messages when there are display strings with
9556 multiple newlines at EOL.
9558 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9560 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9561 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9562 (prolog-char-quote-workaround):
9563 * progmodes/cperl-mode.el (cperl-under-as-char):
9564 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9566 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9568 (vhdl-mode-syntax-table-init): Remove.
9570 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9573 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9575 (ld-script-font-lock-keywords):
9576 Change regexps to use things like \_< and \_>.
9578 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9579 Change all regexps to use things like \_< and \_>.
9581 * progmodes/autoconf.el (autoconf-definition-regexp)
9582 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9583 Handle a _ with symbol syntax.
9584 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9586 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9587 Consolidate declaration.
9588 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9590 (ada-create-syntax-table): Remove.
9591 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9592 already has the right syntax nowadays.
9593 (ada-goto-next-word): Don't change the syntax of "_".
9595 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9598 2013-05-08 Sam Steingold <sds@gnu.org>
9600 * thingatpt.el (thing-at-point): Accept optional second argument
9601 NO-PROPERTIES to strip the text properties from the return value.
9602 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9603 to `thing-at-point' instead of stripping the properties ourselves.
9604 Also, when `thing-at-point' fails to find a url, prepend "http://"
9605 to the filename at point on the assumption that the user is
9606 pointing at something like gnu.org/gnu.
9608 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9610 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9611 * faces.el (crm-separator):
9612 Silence byte-compiler.
9614 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9615 (tool-bar-map): Remove unneeded defvars.
9617 2013-05-08 Leo Liu <sdl.web@gmail.com>
9619 Re-work a fix for bug#10994 based on Le Wang's patch.
9620 * ido.el (ido-remove-consecutive-dups): New helper.
9621 (ido-completing-read): Use it.
9622 (ido-chop): Revert fix for bug#10994.
9624 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9626 * cus-edit.el (custom-save-variables):
9627 Pretty-print long values. (Bug#14187)
9629 2013-05-08 Glenn Morris <rgm@gnu.org>
9631 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9632 (m4-mode-syntax-table): Init in the defvar.
9633 (m4-mode-abbrev-table): Let define-derived-mode define it.
9635 2013-05-08 Tom Tromey <tromey@redhat.com>
9637 * progmodes/m4-mode.el (m4-mode-syntax-table):
9638 Do not treat "_" as word constituent. (Bug#14167)
9640 2013-05-07 Glenn Morris <rgm@gnu.org>
9642 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9643 Remove explicit eshell-isearch-cancel-map.
9645 * progmodes/f90.el (f90-smart-end-names): New option.
9646 (f90-smart-end): Doc fix.
9647 (f90-end-block-optional-name): New constant.
9648 (f90-block-match): Respect f90-smart-end-names.
9650 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9652 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9653 about implicit semi-colons (bug#14218).
9655 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9657 * frame.el (display-monitor-attributes-list)
9658 (frame-monitor-attributes): New functions.
9660 2013-05-06 Leo Liu <sdl.web@gmail.com>
9662 * progmodes/octave.el (octave-syntax-propertize-function): Change
9663 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9664 (octave-font-lock-keywords): Use octave-operator-regexp.
9665 (octave-completion-at-point): Rename from
9666 octave-completion-at-point-function.
9667 (inferior-octave-directory-tracker): Robustify.
9668 (octave-text-functions): Remove and fix its uses. No such things
9671 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9673 * emacs-lisp/trace.el (trace--display-buffer): New function.
9674 (trace-make-advice): Use it.
9676 2013-05-06 Juri Linkov <juri@jurta.org>
9678 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9679 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9681 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9682 in the help string. (Bug#12985)
9684 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9686 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9688 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9690 * progmodes/perl-mode.el: Add support for here documents.
9691 (perl-syntax-propertize-function): Match here-doc markers.
9692 (perl-syntax-propertize-special-constructs): Find their end.
9693 (perl-imenu-generic-expression): Use [:alnum:].
9695 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9696 (advice--add-function): Refresh the advice if already present
9699 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9701 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9703 2013-05-06 Glenn Morris <rgm@gnu.org>
9705 * w32-fns.el (w32-charset-info-alist): Declare.
9707 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9708 of its defcustom properties.
9709 (eshell-cmpl-initialize): No need to load pcomplete.
9711 * generic-x.el: No need to require comint when compiling.
9713 * net/eudc-export.el: Make it loadable without bbdb.
9714 (top-level): Use require rather than load-library.
9715 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9716 (eudc-batch-export-records-to-bbdb)
9717 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9720 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9722 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9723 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9724 some tweaks, instead.
9726 2013-05-05 Leo Liu <sdl.web@gmail.com>
9728 * progmodes/octave.el (octave-font-lock-keywords)
9729 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9730 (inferior-octave-send-list-and-digest): Improve error message.
9731 (octave-mode, inferior-octave-mode): Use setq-local.
9732 (octave-help): Set info-lookup-mode.
9734 2013-05-05 Richard Stallman <rms@gnu.org>
9736 * vc/compare-w.el (compare-windows-whitespace):
9737 Treat no-break space as whitespace.
9739 * mail/rmailsum.el (rmail-summary-rmail-update):
9740 Detect empty summary and don't change selected message.
9741 (rmail-summary-goto-msg): Likewise.
9743 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9744 Doc fixes, rename args.
9746 2013-05-05 Alan Mackenzie <acm@muc.de>
9748 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9750 2013-05-05 Juri Linkov <juri@jurta.org>
9752 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9753 to not add the length of the summary segment to the return value.
9756 2013-05-05 Leo Liu <sdl.web@gmail.com>
9758 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9759 (inferior-octave-output-filter): Remove.
9760 (octave-send-region, inferior-octave-startup): Fix callers.
9761 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9762 (octave-binary-file-extensions): New user variable.
9763 (octave-find-definition): Confirm if opening binary files.
9764 (octave-help-file): Use octave-find-definition to get the binary
9766 (octave-help): Adjust for octave-help-file change.
9768 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9770 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9771 Merge the two entries that handle function definitions.
9772 (pascal--syntax-propertize): New const.
9773 (pascal-mode): Use it. Use setq-local.
9775 2013-05-04 Glenn Morris <rgm@gnu.org>
9777 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9778 (diary-from-outlook): Respect diary-from-outlook-function.
9780 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9782 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9783 Move the declaration from C.
9784 (read-minibuffer, eval-minibuffer): Move from C.
9785 (completion-setup-function): Avoid minibuffer-completion-contents.
9787 2013-05-03 Leo Liu <sdl.web@gmail.com>
9789 * progmodes/octave.el (octave-font-lock-keywords): Do not
9790 dehighlight 'end' in comments or strings.
9791 (octave-completing-read, octave-goto-function-definition):
9793 (octave-help-buffer): New user variable.
9794 (octave-help-file, octave-help-function): New button types.
9795 (octave-help): New command and bind it to C-h ;.
9796 (octave-find-definition): New command and bind it to M-.
9797 (user-error): Alias to error if not defined.
9799 2013-05-02 Leo Liu <sdl.web@gmail.com>
9801 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9803 (octave-font-lock-keywords): Include [ and {.
9805 2013-05-02 Leo Liu <sdl.web@gmail.com>
9807 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9808 (inferior-octave): Remove calling comint-mode and return the buffer.
9809 (inferior-octave-startup): Cosmetic changes.
9811 2013-05-02 Leo Liu <sdl.web@gmail.com>
9813 * progmodes/octave.el (octave-syntax-propertize-function):
9814 Include the case when ' is at line beginning. (Bug#14336)
9816 2013-05-02 Glenn Morris <rgm@gnu.org>
9818 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9819 * desktop.el (vc-dir-mode): Just autoload it here.
9821 2013-05-02 Alan Mackenzie <acm@muc.de>
9823 Eliminate variable c-standard-font-lock-fontify-region-function.
9824 * progmodes/cc-mode.el
9825 (c-standard-font-lock-fontify-region-function): Remove.
9826 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9828 2013-05-01 Leo Liu <sdl.web@gmail.com>
9830 * progmodes/octave.el: Compatible with older emacs-24 releases.
9831 (inferior-octave-has-built-in-variables): Remove. Built-in
9832 variables were removed from Octave in 2007.
9833 (inferior-octave-startup): Fix uses.
9834 (comint-line-beginning-position): Remove compatibility code for
9837 2013-05-01 Juri Linkov <juri@jurta.org>
9839 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9841 2013-05-01 Juri Linkov <juri@jurta.org>
9843 * comint.el (comint-previous-matching-input): Don't print message
9844 "History item: %d" when `isearch-mode' is active.
9845 (comint-history-isearch-message): Print message "History item: %d"
9846 when `comint-input-ring-index' is not empty and this function is
9847 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9849 2013-05-01 Leo Liu <sdl.web@gmail.com>
9851 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9852 definitions. Use completion-at-point to insert keywords.
9853 (octave-abbrev-start): Remove.
9854 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9856 2013-04-30 Leo Liu <sdl.web@gmail.com>
9858 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9861 2013-04-30 Alan Mackenzie <acm@muc.de>
9863 Handle arbitrarily long C++ member initialisation lists.
9864 * progmodes/cc-engine.el (c-back-over-member-initializers):
9866 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9867 (most) member init lists.
9869 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9871 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9874 2013-04-30 Leo Liu <sdl.web@gmail.com>
9876 * progmodes/octave.el (octave-variables): Remove. No builtin
9877 variables any more. All converted to functions.
9878 (octave-font-lock-keywords, octave-completion-at-point-function):
9880 (octave-font-lock-texinfo-comment): New user variable.
9881 (octave-texinfo-font-lock-keywords): New variable for texinfo
9883 (octave-function-comment-block): New face.
9884 (octave-font-lock-texinfo-comment): New function.
9885 (octave-mode): Font lock texinfo comment block.
9887 2013-04-29 Leo Liu <sdl.web@gmail.com>
9889 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9890 indexing expression.
9891 (octave-continuation-string): Do not use \.
9892 (inferior-octave-complete-impossible): Remove.
9893 (inferior-octave-completion-table)
9894 (inferior-octave-completion-at-point): Remove its uses.
9895 (inferior-octave-startup): completion_matches was introduced to
9896 Octave in 1996 so safe to assume it.
9897 (octave-function-file-comment): Improve to follow how Octave does it.
9898 (octave-update-function-file-comment): Tweak.
9900 2013-04-29 Leo Liu <sdl.web@gmail.com>
9902 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9903 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9904 (octave-function-file-comment): Fix typo.
9905 (octave-sync-function-file-names): Use read-char-choice.
9907 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9909 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9910 to t for the less important warnings.
9912 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9914 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9916 2013-04-27 Glenn Morris <rgm@gnu.org>
9918 * vc/log-view.el (log-view-current-entry):
9919 Treat "---" separator lines as part of the following rev. (Bug#14169)
9921 2013-04-27 Juri Linkov <juri@jurta.org>
9923 * subr.el (read-number): Doc fix about using it by interactive
9924 code letter `n'. (Bug#14254)
9926 2013-04-27 Juri Linkov <juri@jurta.org>
9928 * desktop.el (desktop-auto-save-timeout): New option.
9929 (desktop-file-checksum): New variable.
9930 (desktop-save): Add optional arg `auto-save' and don't auto-save
9932 (desktop-auto-save-timer): New variable.
9933 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9934 (after-init-hook): Call `desktop-auto-save-set-timer'.
9935 Suggested by Reuben Thomas <rrt@sc3d.org> in
9936 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9938 2013-04-27 Leo Liu <sdl.web@gmail.com>
9940 * progmodes/octave.el (octave-function-file-p)
9941 (octave-skip-comment-forward, octave-function-file-comment)
9942 (octave-update-function-file-comment): New functions.
9943 (octave-mode-map): Bind C-c ; to
9944 octave-update-function-file-comment.
9945 (octave-mode-menu): Add octave-update-function-file-comment.
9946 (octave-mode, inferior-octave-mode): Fix doc-string.
9947 (octave-insert-defun): Conform to Octave's coding convention.
9950 * files.el (basic-save-buffer): Don't let errors in
9951 before-save-hook prevent saving buffer.
9953 2013-04-20 Roland Winkler <winkler@gnu.org>
9955 * faces.el (read-face-name): Use completing-read if arg multiple
9958 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
9960 * ls-lisp.el (ls-lisp-insert-directory): If no files are
9961 displayed, move point to after the totals line.
9962 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
9965 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9967 * emacs-lisp/package.el (package-autoload-ensure-default-file):
9968 Add current dir to the load-path.
9969 (package-generate-autoloads): Don't rely on
9970 autoload-ensure-default-file.
9972 2013-04-26 Reuben Thomas <rrt@sc3d.org>
9974 * textmodes/remember.el (remember-store-in-files): Document that
9975 the file name format is passed to `format-time-string'.
9977 2013-04-26 Leo Liu <sdl.web@gmail.com>
9979 * progmodes/octave.el (octave-sync-function-file-names): New function.
9980 (octave-mode): Use it in before-save-hook.
9982 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9984 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
9987 * progmodes/octave.el (octave-smie-forward-token): Properly skip
9988 \n and comment, even if it's not an implicit ; (bug#14218).
9990 2013-04-26 Glenn Morris <rgm@gnu.org>
9992 * subr.el (read-number): Once more use `read' rather than
9993 `string-to-number', to trap non-numeric input. (Bug#14254)
9995 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
9997 * emacs-lisp/syntax.el (syntax-propertize-multiline):
9998 Use `syntax-multiline' text property consistently instead of
9999 `font-lock-multiline'. (Bug#14237)
10001 2013-04-26 Glenn Morris <rgm@gnu.org>
10003 * emacs-lisp/shadow.el (list-load-path-shadows):
10004 No longer necessary to check for duplicate simple.el, since
10005 2012-07-07 change to init_lread to not include installation lisp
10006 directories in load-path when running uninstalled. (Bug#14270)
10008 2013-04-26 Leo Liu <sdl.web@gmail.com>
10010 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10011 (octave-mode, inferior-octave-mode): Use setq-local.
10012 (octave-not-in-string-or-comment-p): Rename to
10013 octave-in-string-or-comment-p.
10014 (octave-in-comment-p, octave-in-string-p)
10015 (octave-in-string-or-comment-p): Replace defsubst with defun.
10017 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10019 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10021 2013-04-25 Bastien Guerry <bzg@gnu.org>
10023 * textmodes/remember.el (remember-data-directory)
10024 (remember-directory-file-name-format): Fix custom types.
10026 2013-04-25 Leo Liu <sdl.web@gmail.com>
10028 * progmodes/octave.el (octave-completion-at-point-function):
10029 Make use of inferior octave process.
10030 (octave-initialize-completions): Remove.
10031 (inferior-octave-completion-table): New function.
10032 (inferior-octave-completion-at-point): Use it.
10033 (octave-completion-alist): Remove.
10035 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10037 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10038 (opascal-mode-syntax-table): New var.
10039 (opascal-literal-kind, opascal-is-literal-end)
10040 (opascal-literal-token-at): Rewrite.
10041 (opascal--literal-start-re, opascal-font-lock-keywords)
10042 (opascal--syntax-propertize): New constants.
10043 (opascal-font-lock-defaults): Adjust.
10044 (opascal-mode): Use them. Set comment-<foo> variables as well.
10045 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10046 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10047 (delphi-other-face, opascal-other-face): Remove face variables.
10048 (opascal-save-state): Remove macro.
10049 (opascal-fontifying-progress-step): Remove constant.
10050 (opascal--ignore-changes): Remove var.
10051 (opascal-set-token-property, opascal-parse-next-literal)
10052 (opascal-is-stable-literal, opascal-complete-literal)
10053 (opascal-is-literal-start, opascal-face-of)
10054 (opascal-parse-region, opascal-parse-region-until-stable)
10055 (opascal-fontify-region, opascal-after-change)
10056 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10057 (opascal-debug-parse-region, opascal-debug-parse-window)
10058 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10059 (opascal-debug-fontify-buffer): Remove.
10060 (opascal-debug-mode-map): Adjust accordingly.
10062 2013-04-25 Leo Liu <sdl.web@gmail.com>
10064 Merge octave-mod.el and octave-inf.el into octave.el with some
10066 * progmodes/octave.el: New file renamed from octave-mod.el.
10067 * progmodes/octave-inf.el: Merged into octave.el.
10068 * progmodes/octave-mod.el: Renamed to octave.el.
10070 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10072 * textmodes/reftex-vars.el
10073 (reftex-label-ignored-macros-and-environments): New defcustom.
10075 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10077 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10079 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10080 (smie-indent-keyword): Improve the check to ensure that the next
10081 comment is really on the same line.
10082 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10084 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10085 semi-colons if the line is not otherwise empty (bug#14218).
10087 2013-04-25 Glenn Morris <rgm@gnu.org>
10089 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10091 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10093 * progmodes/opascal.el (opascal-set-token-property): Rename from
10094 opascal-set-text-properties and only set `token' (bug#14134).
10095 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10096 (opascal-literal-text-properties): Remove.
10097 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10100 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10102 * textmodes/remember.el (remember-handler-functions): Add an
10103 option for a new handler `remember-store-in-files'.
10104 (remember-data-directory, remember-directory-file-name-format):
10106 (remember-store-in-files): New function to store remember notes
10107 as separate files within a directory.
10109 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10111 * progmodes/compile.el (compilation-next-error-function):
10112 Pass "formats" to compilation-find-file (bug#11777).
10114 2013-04-24 Glenn Morris <rgm@gnu.org>
10116 * vc/vc-bzr.el (vc-bzr-print-log):
10117 * vc/vc-hg.el (vc-hg-print-log):
10118 * vc/vc-svn.el (vc-svn-print-log):
10119 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10121 * vc/vc-bzr.el (vc-bzr-print-log):
10122 * vc/vc-cvs.el (vc-cvs-print-log):
10123 * vc/vc-git.el (vc-git-print-log):
10124 * vc/vc-hg.el (vc-hg-print-log):
10125 * vc/vc-mtn.el (vc-mtn-print-log):
10126 * vc/vc-rcs.el (vc-rcs-print-log):
10127 * vc/vc-sccs.el (vc-sccs-print-log):
10128 * vc/vc-svn.el (vc-svn-print-log):
10129 * vc/vc.el (vc-print-log-internal): Doc fixes.
10131 2013-04-23 Glenn Morris <rgm@gnu.org>
10133 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10134 Remove venerable code attempting to avoid substitute-command-keys.
10136 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10138 * textmodes/reftex-vars.el (reftex-label-regexps):
10139 Call `reftex-compile-variables' after changes to this variable.
10141 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10143 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10144 Use lexical-binding.
10145 (jit-lock-force-redisplay): Use markers, check buffer's continued
10146 existence and beware narrowed buffers.
10147 (jit-lock-fontify-now): Adjust call accordingly.
10149 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10151 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10152 to avoid misleading the user.
10154 2013-04-22 Leo Liu <sdl.web@gmail.com>
10156 * info-look.el: Prefer latex2e.info. (Bug#14240)
10158 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10160 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10162 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10163 * net/tramp.el (tramp-call-process): ... here.
10164 (tramp-set-completion-function, tramp-parse-putty):
10165 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10166 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10167 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10168 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10169 (tramp-call-local-coding-command): Use `tramp-call-process'
10170 instead of `tramp-compat-call-process'.
10172 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10173 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10174 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10175 (tramp-find-inline-compress): Improve traces.
10176 (tramp-maybe-send-script): Check for Perl binary.
10177 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10179 2013-04-22 Daiki Ueno <ueno@gnu.org>
10181 * epg.el (epg-context-pinentry-mode): New function.
10182 (epg-context-set-pinentry-mode): New function.
10183 (epg--start): Pass --pinentry-mode option to gpg command.
10185 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10187 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10188 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10189 `completion-at-point'. (Bug#13774)
10191 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10192 default key binding for `describe-distribution' has been moved to
10193 `C-h C-o'. (Bug#13970)
10195 2013-04-21 Glenn Morris <rgm@gnu.org>
10197 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10199 (vc-print-log): Clarify interactive prompt.
10201 2013-04-20 Glenn Morris <rgm@gnu.org>
10203 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10204 No longer include timestamp etc information.
10206 2013-04-20 Roland Winkler <winkler@gnu.org>
10208 * faces.el (read-face-name): Bug fix, return just one face if arg
10209 multiple is nil. (Bug#14209)
10211 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10213 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10214 (remove-function): Autoload.
10216 * comint.el (comint-redirect-original-filter-function): Remove.
10217 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10218 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10219 (vc-cvs-annotate-command):
10220 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10221 * progmodes/prolog.el (prolog-consult-compile):
10222 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10223 Use add/remove-function instead.
10224 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10225 (gud-tooltip-process-output, gud-tooltip-tips):
10226 Use add/remove-function instead.
10227 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10228 (scheme-interaction-mode, exit-scheme-interaction-mode):
10229 Use add/remove-function instead.
10231 * vc/vc-dispatcher.el: Use lexical-binding.
10232 (vc--process-sentinel): Rename from vc-process-sentinel.
10233 Change last arg to be the code to run. Don't use vc-previous-sentinel
10234 and vc-sentinel-commands any more.
10235 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10236 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10238 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10240 * progmodes/sh-script.el (sh-imenu-generic-expression):
10241 Handle function names with a single character. (Bug#14111)
10243 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10245 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10246 for subroutines defined in an eval (bug#14182).
10248 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10250 * bookmark.el (bookmark-completing-read): Improve handling of empty
10251 string (bug#14176).
10253 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10255 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10257 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10259 New faster Imenu implementation (bug#14058).
10260 * progmodes/python.el:
10261 (python-imenu-prev-index-position):
10262 (python-imenu-format-item-label-function)
10263 (python-imenu-format-parent-item-label-function)
10264 (python-imenu-format-parent-item-jump-label-function):
10266 (python-imenu-format-item-label)
10267 (python-imenu-format-parent-item-label)
10268 (python-imenu-format-parent-item-jump-label)
10269 (python-imenu--put-parent, python-imenu--build-tree)
10270 (python-imenu-create-index, python-imenu-create-flat-index)
10271 (python-util-popn): New functions.
10272 (python-mode): Set imenu-create-index-function to
10273 python-imenu-create-index.
10275 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10277 * winner.el (winner-active-region): Use region-active-p, activate-mark
10278 and deactivate-mark (bug#14225).
10280 * simple.el (deactivate-mark): Don't inline it.
10282 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10284 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10286 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10288 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10289 file extensions from the archive-mode entry in order to prefer
10290 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10292 2013-04-18 Leo Liu <sdl.web@gmail.com>
10294 * bindings.el (help-event-list): Add ?\?.
10296 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10298 * subr.el (with-wrapper-hook): Declare obsolete.
10299 * simple.el (filter-buffer-substring-function): New hook.
10300 (filter-buffer-substring): Use it.
10301 (filter-buffer-substring-functions): Mark obsolete.
10302 * minibuffer.el (completion-in-region-function): New hook.
10303 (completion-in-region): Use it.
10304 (completion-in-region-functions): Mark obsolete.
10305 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10306 * abbrev.el (abbrev-expand-function): New hook.
10307 (expand-abbrev): Use it.
10308 (abbrev-expand-functions): Mark obsolete.
10309 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10310 and :filter-return.
10312 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10314 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10315 and do not care about match data.
10317 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10319 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10320 completion tables when completing error conditions and
10321 `declare' arguments.
10322 (lisp-complete-symbol, field-complete): Mark as obsolete.
10323 (check-parens): Unmatched parens are user errors.
10324 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10326 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10328 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10329 command changed buffer (ie. `flyspell-pre-buffer' is not current
10330 buffer), which prevents making decisions based on invalid value of
10331 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10332 cause an error when `flyspell-pre-point' was nil after switching
10334 (flyspell-post-command-hook): No longer needs to change buffers when
10335 checking pre-word. While at it remove unnecessary progn.
10337 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10339 * textmodes/ispell.el (ispell-add-per-file-word-list):
10340 Fix `flyspell-correct-word-before-point' error when accepting
10341 words and `coment-padding' is an integer by using
10342 `comment-normalize-vars' (Bug #14214).
10344 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10346 New defun movement commands.
10347 * progmodes/python.el (python-nav--syntactically)
10348 (python-nav--forward-defun, python-nav-backward-defun)
10349 (python-nav-forward-defun): New functions.
10351 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10353 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10354 (python-syntax-context): Use named compiler-macro for backwards
10355 compatibility with Emacs 24.x.
10357 2013-04-17 Leo Liu <sdl.web@gmail.com>
10359 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10360 octave-hide-process-buffer.
10362 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10364 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10367 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10369 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10370 Fix adjustment of offset when receiving incomplete responses from GDB
10373 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10375 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10376 python-mode-abbrev-table.
10377 (python-skeleton-define): Adjust accordingly.
10378 (python-mode-abbrev-table): New table that inherits from it so that
10379 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10381 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10382 (abbrev-symbol): Use it.
10383 (abbrev--before-point): Use it since we already handle inheritance.
10385 2013-04-16 Leo Liu <sdl.web@gmail.com>
10387 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10388 binding to info-lookup-symbol.
10390 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10392 * minibuffer.el (completion--twq-all):
10393 * term/ns-win.el (ns-initialize-window-system):
10394 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10396 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10398 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10401 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10403 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10405 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10406 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10408 (ruby-end-of-defun): Remove the unused arg, change the docstring
10409 to reflect that this function is only used as the value of
10410 `end-of-defun-function'.
10411 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10412 to reflect an earlier change that beginning/end-of-defun functions
10413 jump between methods in a class definition, as well as top-level
10416 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10418 * minibuffer.el (minibuffer-complete): Don't just scroll
10419 a *Completions* that's been iconified.
10420 (minibuffer-force-complete): Make sure repetitions do cycle when going
10421 through completion-in-region -> minibuffer-complete.
10423 2013-04-15 Alan Mackenzie <acm@muc.de>
10425 Correct the placement of c-cpp-delimiters when there're #s not at
10428 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10429 place a submatch around the #.
10430 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10431 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10434 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10436 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10437 (advice--member-p): New arg `name'.
10438 (advice--add-function, advice-member-p): Use it (bug#14202).
10440 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10442 Reformulate java imenu-generic-expression.
10443 The old expression contained ill formed regexps.
10445 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10446 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10447 (cc-imenu-java-method-arg-regexp): New defconsts.
10448 (cc-imenu-java-build-type-args-regex): New defun.
10449 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10450 handling of spaces in the regexp.
10452 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10454 * textmodes/ispell.el (ispell-command-loop): Remove
10455 flyspell highlight of a word when ispell accepts it (bug #14178).
10457 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10459 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10460 uses code from the previous `ange-ftp-run-real-handler'.
10461 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10462 only in case that function exist. This is needed for proper
10463 unloading of Tramp.
10465 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10467 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10469 * textmodes/reftex.el (reftex-compile-variables): Use it.
10471 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10473 * files.el (normal-mode): Only use default major-mode if no other mode
10476 * emacs-lisp/trace.el (trace-values): New function.
10478 * files.el: Allow : in local variables (bug#14089).
10479 (hack-local-variable-regexp): New var.
10480 (hack-local-variables-prop-line, hack-local-variables): Use it.
10482 2013-04-13 Roland Winkler <winkler@gnu.org>
10484 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10485 data before it gets modified by bibtex-beginning-of-entry.
10487 2013-04-13 Roland Winkler <winkler@gnu.org>
10489 * textmodes/bibtex.el (bibtex-url): Doc fix.
10491 2013-04-13 Roland Winkler <winkler@gnu.org>
10493 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10494 does not visit a BibTeX file, exclude it from the list of buffers
10495 returned by bibtex-initialize.
10497 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10499 * window.el (split-window): Remove interactive form, since as a
10500 command this function is a special case of split-window-below.
10501 Correct doc string.
10503 2013-04-12 Roland Winkler <winkler@gnu.org>
10505 * faces.el (read-face-name): Do not override value of arg default.
10506 Allow single faces and strings as default values. Remove those
10507 elements from return value that are not faces.
10508 (describe-face): Simplify.
10509 (face-at-point): New optional args thing and multiple so that this
10510 function can provide the same functionality previously provided by
10512 (make-face-bold, make-face-unbold, make-face-italic)
10513 (make-face-unitalic, make-face-bold-italic, invert-face)
10514 (modify-face, read-face-and-attribute): Use face-at-point.
10516 * cus-edit.el (customize-face, customize-face-other-window)
10517 * cus-theme.el (custom-theme-add-face)
10518 * face-remap.el (buffer-face-set)
10519 * facemenu.el (facemenu-set-face): Use face-at-point.
10521 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10523 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10525 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10527 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10528 off leading { and trailing } from field values.
10530 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10532 * emacs-lisp/timer.el (timer--check): New function.
10533 (timer--time, timer-set-function, timer-event-handler): Use it.
10534 (timer-set-idle-time): Simplify.
10535 (timer--activate): CSE.
10536 (timer-event-handler): Give more info in error message.
10537 (internal-timer-start-idle): New function, moved from C.
10539 * mpc.el (mpc-proc): Add `restart' argument.
10540 (mpc-proc-cmd): Use it.
10541 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10542 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10545 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10547 * progmodes/sh-script.el: Implement `sh-mode' own
10548 `add-log-current-defun-function' (bug#14112).
10549 (sh-current-defun-name): New function.
10550 (sh-mode): Use the function.
10552 2013-04-09 Bastien Guerry <bzg@gnu.org>
10554 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10556 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10558 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10560 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10563 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10565 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10568 2013-04-07 Leo Liu <sdl.web@gmail.com>
10570 * pcmpl-x.el: New file.
10572 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10574 Do not set x-display-name until X connection is established.
10575 This is needed to prevent from weird situation described at
10576 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10577 * frame.el (make-frame): Set x-display-name after call to
10578 window system initialization function, not before.
10579 * term/x-win.el (x-initialize-window-system): Add optional
10580 display argument and use it.
10581 * term/w32-win.el (w32-initialize-window-system):
10582 * term/ns-win.el (ns-initialize-window-system):
10583 * term/pc-win.el (msdos-initialize-window-system):
10584 Add compatible optional display argument.
10586 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10588 * files.el (normal-backup-enable-predicate): On MS-Windows and
10589 MS-DOS compare truenames of temporary-file-directory and of the
10590 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10591 don't fail comparison by compare-strings. Also, compare file
10592 names case-insensitively on MS-Windows and MS-DOS.
10594 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10596 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10597 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10599 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10601 * whitespace.el (whitespace-color-on, whitespace-color-off):
10602 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10604 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10606 * ispell.el (ispell-set-spellchecker-params):
10607 Really set `ispell-args' for all equivs.
10609 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10611 * ido.el (ido-completions): Use extra elements of ido-decorations
10613 (ido-decorations): Update docstring.
10615 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10617 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10618 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10619 nil during initialization, in order not to miss changes since the
10620 file was opened. (Bug#14140)
10622 2013-04-05 Leo Liu <sdl.web@gmail.com>
10624 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10626 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10628 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10630 2013-04-04 Glenn Morris <rgm@gnu.org>
10632 * electric.el (electric-pair-inhibit-predicate): Add :version.
10634 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10636 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10637 when a package is required several times (bug#14082).
10639 2013-04-04 Roland Winkler <winkler@gnu.org>
10641 * faces.el (read-face-name): Behave as promised by the docstring.
10642 Assume that arg default is a list of faces.
10643 (describe-face): Call read-face-name with list of default faces.
10645 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10647 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10648 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10649 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10651 (bookmark-exit-hook-internal): Save even if list is empty.
10653 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10655 * emacs-lisp/package.el (package-pinned-packages): New var.
10656 (package--add-to-archive-contents): Obey it (bug#14118).
10658 2013-04-03 Alan Mackenzie <acm@muc.de>
10660 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10661 Also adapt to the new values of element 7 of a parse state.
10663 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10664 parameter `not-in-delimiter'. Handle being inside comment opener.
10665 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10666 character in case we're typing a '*' after a '/'.
10667 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10668 instead by passing the parameter to c-state-pp-to-literal.
10670 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10671 for elt. 7 of a parse state.
10673 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10675 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10676 * international/latin1-disp.el, international/mule-util.el:
10677 * language/cyril-util.el, language/european.el, language/ind-util.el:
10678 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10679 * language/tibetan.el, language/viet-util.el:
10680 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10682 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10684 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10685 (electric-pair-post-self-insert-function): Use it.
10686 (electric-pair-default-inhibit): New function, extracted from
10687 electric-pair-post-self-insert-function.
10689 2013-03-31 Roland Winkler <winkler@gnu.org>
10691 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10693 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10695 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10697 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10699 Un-indent after "pass" and "return" statements (Bug#13888)
10700 * progmodes/python.el (python-indent-block-enders): New var.
10701 (python-indent-calculate-indentation): Use it.
10703 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10705 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10706 defun. Defining it as defalias could introduce too eager
10707 byte-compiler optimization. (Bug#14030)
10709 2013-03-30 Chong Yidong <cyd@gnu.org>
10711 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10713 2013-03-30 Leo Liu <sdl.web@gmail.com>
10715 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10716 (kmacro-execute-from-register): Pass the keyboard macro to
10717 kmacro-call-macro or repeating won't work correctly.
10719 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10721 * progmodes/subword.el: Back to using `forward-symbol'.
10723 * subr.el (forward-whitespace, forward-symbol)
10724 (forward-same-syntax): Move from thingatpt.el.
10726 2013-03-29 Leo Liu <sdl.web@gmail.com>
10728 * kmacro.el (kmacro-to-register): New command.
10729 (kmacro-execute-from-register): New function.
10730 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10732 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10734 * mpc.el: Use defvar-local and setq-local.
10735 (mpc--proc-connect): Connection failures are not bugs.
10736 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10737 (mpc-volume-map): Bind to the up-events.
10739 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10741 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10742 instead of `forward-symbol'.
10744 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10746 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10747 (edebug--recursive-edit): Use it.
10748 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10749 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10751 2013-03-28 Leo Liu <sdl.web@gmail.com>
10753 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10755 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10757 * facemenu.el (list-colors-callback): New defvar.
10758 (list-colors-redisplay): New function.
10759 (list-colors-display): Install list-colors-redisplay as the
10760 revert-buffer-function. (Bug#14063)
10762 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10764 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10765 and suffixes don't overlap (bug#14061).
10767 * case-table.el: Use lexical-binding.
10768 (case-table-get-table): New function.
10769 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10771 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10773 * progmodes/subword.el: Add `superword-mode' to do word motion
10774 over symbol_words (parallels and leverages `subword-mode' which
10775 does word motion inside MixedCaseWords).
10777 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10779 * eshell/em-unix.el: Move su and sudo to...
10780 * eshell/em-tramp.el: ...Eshell tramp module.
10782 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10784 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10785 Change return value to be a sexp. Delay `get-buffer' to after
10786 restoring the desktop (bug#13951).
10788 2013-03-26 Leo Liu <sdl.web@gmail.com>
10790 * register.el: Move semantic tag handling back to
10791 cedet/semantic/senator.el. (Bug#14052)
10793 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10795 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10796 into the prompt either (bug#13963).
10798 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10800 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10801 part of "(error-foo)".
10803 2013-03-24 Juri Linkov <juri@jurta.org>
10805 * replace.el (list-matching-lines-prefix-face): New defcustom.
10806 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10807 `occur-engine' if `face-differs-from-default-p' returns t.
10808 (occur-engine): Add `,' inside backquote construct to evaluate
10809 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10810 Pass `prefix-face' to the functions `occur-context-lines' and
10811 `occur-engine-add-prefix'.
10812 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10813 `prefix-face' and propertize the prefix with `prefix-face'.
10816 2013-03-24 Leo Liu <sdl.web@gmail.com>
10818 * nxml/rng-valid.el (rng-validate-while-idle)
10819 (rng-validate-quick-while-idle): Guard against deleted buffer.
10822 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10823 is the last entry in kill-buffer-hook.
10825 * files.el (kill-buffer-hook): Doc fix.
10827 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10829 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10830 Make it safe-local.
10832 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10834 2013-03-23 Leo Liu <sdl.web@gmail.com>
10836 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10839 * nxml/rng-valid.el (rng-validate-mode)
10840 (rng-after-change-function, rng-do-some-validation):
10841 * nxml/rng-maint.el (rng-validate-buffer):
10842 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10843 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10844 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10845 (nxml-extend-after-change-region): Use with-silent-modifications.
10847 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10850 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10851 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10852 timer-idle-list. (Bug#13999)
10854 2013-03-23 Juri Linkov <juri@jurta.org>
10856 * info.el (info-index-match): New face.
10857 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10858 main pattern and add text properties with the new face to matches
10859 in index entries relative to the beginning of the index entry.
10862 2013-03-21 Eric Ludlam <zappo@gnu.org>
10864 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10865 Inhibit read only while inserting objects.
10867 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10869 * progmodes/cfengine.el: Update docs to mention
10870 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10871 symbol motion. Remove "_" from the word syntax.
10873 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10875 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10876 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10878 2013-03-20 Juri Linkov <juri@jurta.org>
10880 * info.el (Info-next-reference-or-link)
10881 (Info-prev-reference-or-link): New functions.
10882 (Info-next-reference, Info-prev-reference): Use them.
10883 (Info-try-follow-nearest-node): Handle footnote navigation.
10884 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10886 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10888 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10889 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10891 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10893 Suppress unnecessary non-ASCII chatter during build process.
10894 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10895 (batch-skkdic-convert): Suppress most of the chatter.
10896 It's not needed so much now that machines are faster,
10897 and its non-ASCII component was confusing; see Dmitry Gutov in
10898 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10900 2013-03-20 Leo Liu <sdl.web@gmail.com>
10902 * ido.el (ido-chop): Fix bug#10994.
10904 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10906 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10908 (whitespace-color-on, whitespace-color-off):
10909 Use `font-lock-fontify-buffer' (Bug#13817).
10911 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10913 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10914 remapping in mode-line.
10915 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10917 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10919 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10920 value for `whitespace-line' face (Bug#13875).
10921 (whitespace-font-lock-keywords): Change description.
10922 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10923 the constructed keywords instead.
10924 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10926 2013-03-19 Leo Liu <sdl.web@gmail.com>
10928 * progmodes/compile.el (compilation-display-error): New command.
10929 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10932 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10934 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10936 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10938 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
10940 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
10942 * net/tramp-compat.el (tramp-compat-user-error): New defun.
10944 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10945 * net/tramp-gvfs.el (top):
10946 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
10947 (tramp-handle-shell-command): Use it.
10948 (tramp-dissect-file-name): Raise an error when hostname is a
10949 method name, and neither method nor user is specified.
10951 * net/trampver.el: Update release number.
10953 2013-03-18 Leo Liu <sdl.web@gmail.com>
10955 Make sure eldoc can be turned off properly.
10956 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
10958 (eldoc-display-message-p): Revert last change.
10959 (eldoc-display-message-no-interference-p)
10960 (eldoc-print-current-symbol-info): Tweak.
10962 2013-03-18 Tassilo Horn <tsdh@gnu.org>
10964 * doc-view.el (doc-view-new-window-function): Check the new window
10965 overlay's display property instead the char property of the
10966 buffer's first char. Use `with-selected-window' instead of
10967 `save-window-excursion' with `select-window'.
10968 (doc-view-document->bitmap): Check the current doc-view overlay's
10969 display property instead the char property of the buffer's first char.
10971 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10973 Automate the build of ja-dic.el (Bug#13984).
10974 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
10975 from the input, rather than assume that it's been done for us by the
10976 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
10977 the current date into a ja-dic.el comment, as that complicates
10978 regression testing.
10980 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
10982 * whitespace.el: Fix double evaluation.
10983 (whitespace-space, whitespace-hspace, whitespace-tab)
10984 (whitespace-newline, whitespace-trailing, whitespace-line)
10985 (whitespace-space-before-tab, whitespace-indentation)
10986 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
10988 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
10989 (whitespace-color-on): Use a single font-lock-add-keywords call.
10990 Fix double-evaluation of face variables.
10992 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
10994 * net/tramp-adb.el (tramp-adb-parse-device-names):
10995 Use `start-process' instead of `call-process'. Otherwise, the
10996 function might be blocked under MS Windows. (Bug#13299)
10998 2013-03-17 Leo Liu <sdl.web@gmail.com>
11000 Extend eldoc to display info in the mode-line. (Bug#13978)
11001 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11002 (eldoc-mode-line-string): New variable.
11003 (eldoc-minibuffer-message): New function.
11004 (eldoc-message-function): New variable.
11005 (eldoc-message): Use it.
11006 (eldoc-display-message-p)
11007 (eldoc-display-message-no-interference-p):
11008 Support eldoc-post-insert-mode.
11010 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11011 (eval-expression): Run it.
11013 2013-03-17 Roland Winkler <winkler@gnu.org>
11015 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11016 strings in the list of return values.
11018 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11020 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11021 radix before checking for HMS forms.
11023 2013-03-16 Leo Liu <sdl.web@gmail.com>
11025 * progmodes/scheme.el: Add indentation and font-locking for λ.
11028 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11030 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11031 token before point (bug#13942).
11033 2013-03-16 Leo Liu <sdl.web@gmail.com>
11035 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11037 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11039 * startup.el (command-line-normalize-file-name): Fix handling of
11040 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11041 <xfq.free@gmail.com> in
11042 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11044 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11046 Sync with Tramp 2.2.7.
11048 * net/trampver.el: Update release number.
11050 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11052 * doc-view.el: Fix bug#13887.
11053 (doc-view-insert-image): Don't modify overlay associated to
11054 non-live windows, and implement horizontal centering of image in
11055 case it's smaller than the window.
11056 (doc-view-new-window-function): Force redisplay of new windows on
11059 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11061 * saveplace.el (save-place-alist-to-file): Don't sort
11062 `save-place-alist', just pretty-print it (bug#13882).
11064 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11066 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11067 Check whether `default-file-name-coding-system' is bound.
11068 It isn't in XEmacs.
11070 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11072 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11073 backquotes for `obsolete' (bug#13929).
11075 * international/mule.el (find-auto-coding): Include file name in
11076 obsolescence warning (bug#13922).
11078 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11080 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11081 for CFEngine 3-specific indentation.
11082 (cfengine3-indent-line): Use it. Fix up category regex.
11083 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11085 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11087 * type-break.el (type-break-file-name):
11088 * textmodes/remember.el (remember-data-file):
11089 * strokes.el (strokes-file):
11090 * shadowfile.el (shadow-initialize):
11091 * saveplace.el (save-place-file):
11092 * ps-bdf.el (bdf-cache-file):
11093 * progmodes/idlwave.el (idlwave-config-directory):
11094 * net/quickurl.el (quickurl-url-file):
11095 * international/kkc.el (kkc-init-file-name):
11096 * ido.el (ido-save-directory-list-file):
11097 * emulation/viper.el (viper-custom-file-name):
11098 * emulation/vip.el (vip-startup-file):
11099 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11100 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11102 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11104 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11105 * language/thai-word.el: Switch to UTF-8.
11107 See ChangeLog.16 for earlier changes.
11109 ;; Local Variables:
11113 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11115 This file is part of GNU Emacs.
11117 GNU Emacs is free software: you can redistribute it and/or modify
11118 it under the terms of the GNU General Public License as published by
11119 the Free Software Foundation, either version 3 of the License, or
11120 (at your option) any later version.
11122 GNU Emacs is distributed in the hope that it will be useful,
11123 but WITHOUT ANY WARRANTY; without even the implied warranty of
11124 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11125 GNU General Public License for more details.
11127 You should have received a copy of the GNU General Public License
11128 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.