1 2013-12-18 Chong Yidong <cyd@gnu.org>
3 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4 is non-nil, do not create a new entry in the symbol's theme-value
5 or theme-face property; update theme-settings only (Bug#14664).
7 * cus-theme.el (custom-new-theme-mode-map): Add bindings
10 * replace.el (occur-engine): Avoid infloop (Bug#7593).
12 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
14 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
17 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
19 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
21 2013-12-18 Glenn Morris <rgm@gnu.org>
23 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
24 * cus-start.el (load-prefer-newer): New option.
26 2013-12-18 Le Wang <l26wang@gmail.com>
28 * comint.el (comint-previous-matching-input-from-input): Retain
31 2013-12-18 Chong Yidong <cyd@gnu.org>
33 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
35 2013-12-18 Glenn Morris <rgm@gnu.org>
37 * mail/emacsbug.el (report-emacs-bug):
38 Only mention enable-multibyte-characters if non-standard.
40 2013-12-17 Juri Linkov <juri@jurta.org>
42 * arc-mode.el (archive-extract-by-file): Check if directory exists
43 before deletion to not show irrelevant errors if it doesn't exist.
45 2013-12-17 Juri Linkov <juri@jurta.org>
47 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
50 * net/eww.el (browse-web): Add alias to `eww'.
51 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
52 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
54 * net/browse-url.el (browse-url-browser-function): Move `eww'
55 closer to similar functions.
57 * startup.el (fancy-startup-screen, fancy-about-screen):
58 Set browse-url-browser-function to eww-browse-url locally.
61 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
63 * window.el (window--pixel-to-total): Remove unused `mini' var.
64 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
65 (split-window): Remove unused `new' var.
66 (window--display-buffer): Remove unused `frame' and `delta' vars.
67 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
70 2013-12-17 Martin Rudalics <rudalics@gmx.at>
72 * dired.el (dired-mark-pop-up):
73 * register.el (register-preview): Don't bind
74 split-height-threshold here since it's now done in
75 display-buffer-below-selected.
77 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
79 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
80 xterm-rgb-convert-to-16bit.
81 (rxvt-register-default-colors): Standardize with
82 xterm-register-default-colors (Bug#14078).
84 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
86 * simple.el (kill-region): Pass mark first, then point, so that
87 kill-append works right (Bug#12819).
88 (copy-region-as-kill, kill-ring-save): Likewise.
90 2013-12-17 Leo Liu <sdl.web@gmail.com>
92 * net/rcirc.el (rcirc-add-face):
93 * eshell/em-prompt.el (eshell-emit-prompt):
94 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
97 2013-12-17 Chong Yidong <cyd@gnu.org>
99 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
100 Suggested by Xue Fuqiao.
102 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
104 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
106 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
108 * net/shr.el (shr-insert-document): Remove unused var
109 `shr-preliminary-table-render'.
110 (shr-rescale-image): Remove unused arg `force'.
111 (shr-put-image): Update calls accordingly.
112 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
114 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
116 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
117 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
118 :close-all, to see which indentation method to use (Bug#16116).
119 (smie-rules-function): Document the method :close-all.
121 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
123 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
125 * net/eww.el (eww-display-html): If we can't find the anchor we're
126 looking for, then go to point-min.
128 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
130 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
131 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
132 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
133 Expand dir too, in case it's relative.
135 2013-12-16 Juri Linkov <juri@jurta.org>
137 * desktop.el (desktop-auto-save-timeout): Change default to
138 `auto-save-timeout'. Doc fix.
139 (desktop-save): Skip the timestamp in desktop-saved-frameset
140 when checking for auto-save changes.
141 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
142 `desktop-auto-save' is called repeatedly by the idle timer.
143 (desktop-auto-save-set-timer): Replace `run-with-timer' with
144 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
147 2013-12-16 Juri Linkov <juri@jurta.org>
149 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
151 (isearch-pre-command-hook): Check `this-command' for symbolp.
153 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
155 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
157 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
159 * progmodes/cfengine.el (cfengine3--current-word): Remove.
160 (cfengine3--current-function): Bring in the current-function
161 functionality from `cfengine3--current-word'.
162 (cfengine3-completion-function): Bring in the
163 bounds-of-current-word functionality from
164 `cfengine3--current-word'.
166 2013-12-16 Martin Rudalics <rudalics@gmx.at>
168 * window.el (display-buffer-below-selected):
169 Bind split-height-threshold to 0 as suggested by Juri Linkov.
171 2013-12-16 Leo Liu <sdl.web@gmail.com>
173 * progmodes/compile.el (compile-goto-error): Do not push-mark.
174 Remove NOMSG arg and all uses changed.
176 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
178 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
179 (cua--deactivate-rectangle): Don't deactivate the mark.
180 (cua-set-rectangle-mark): Don't set mark-active since
181 cua--activate-rectangle already does it for us.
182 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
183 non-rectangular region.
185 * emulation/cua-base.el (cua-repeat-replace-region):
186 Use with-current-buffer.
188 * net/gnutls.el: Use cl-lib.
189 (gnutls-negotiate): `mapcan' -> cl-mapcan.
191 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
193 * emacs-lisp/package.el (package-built-in-p): Support both
194 built-in and the package.el converted package descriptions.
195 (package-show-package-list): Allow keywords.
196 (package-keyword-button-action): Use it instead of
197 `finder-list-matches'.
198 (package-menu-filter-interactive): Interactive filtering (by
200 (package-menu--generate): Support keywords and change keymappings
201 and headers when they are given.
202 (package--has-keyword-p): Helper function.
203 (package-menu--refresh): Use it.
204 (package--mapc): Helper function.
205 (package-all-keywords): Use it.
206 (package-menu-mode-map): Set up menu items and keybindings to
207 provide a filtering UI.
209 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
211 * net/gnutls.el (gnutls-verify-error): New defcustom to control
212 the behavior when a certificate fails validation. Defaults to
213 old behavior: never abort, just warn.
214 (gnutls-negotiate): Use it.
216 2013-12-14 Martin Rudalics <rudalics@gmx.at>
218 * window.el (display-buffer-below-selected): Never split window
219 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
221 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
223 * emacs-lisp/package.el (package--prepare-dependencies): New function.
224 (package-buffer-info): Use it (bug#15108).
226 * icomplete.el (icomplete-completions): Make sure the prefix is already
227 displayed elsewhere before hiding it.
229 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
231 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
232 open-paren tokens when preceded by a open-paren, too.
233 (ruby-smie-rules): Handle virtual indentation after open-paren
234 tokens specially. If there is code between it and eol, return the
235 column where is starts (Bug#16118).
237 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
239 * progmodes/cfengine.el: Fix `add-hook' doc.
240 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
241 (cfengine3--current-word): Fix parameters.
242 (cfengine3-make-syntax-cache): Simplify further.
243 (cfengine3-completion-function, cfengine3--current-function):
244 Use `assq' for symbols.
245 (cfengine3--current-function): Fix `cfengine3--current-word' call.
247 2013-12-13 Glenn Morris <rgm@gnu.org>
249 * loadup.el (load-path): Warn if site-load or site-init changes it.
250 No more need to reset it when bootstrapping.
252 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
254 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
255 locations for cf-promises.
256 (cfengine-mode-syntax-functions-regex): New caching variable.
257 (cfengine3-fallback-syntax): Fallback syntax for cases where
258 cf-promises doesn't run.
259 (cfengine3--current-word): Reimplement using
260 `cfengine-mode-syntax-functions-regex'.
261 (cfengine3-completion-function, cfengine3--current-function):
262 Use `cfengine3-make-syntax-cache' directly.
263 (cfengine3-clear-syntax-cache): New function.
264 (cfengine3-make-syntax-cache): Simplify and create
265 `cfengine-mode-syntax-functions-regex' on demand.
266 (cfengine3-format-function-docstring): Don't call
267 `cfengine3-make-syntax-cache' explicitly.
269 2013-12-13 Martin Rudalics <rudalics@gmx.at>
271 Fix windmove-find-other-window broken after pixelwise resizing
273 * windmove.el (windmove-other-window-loc): Revert change from
275 (windmove-find-other-window): Call window-in-direction.
276 * window.el (window-in-direction): New arguments SIGN, WRAP and
277 MINI to emulate original windmove-find-other-window behavior.
279 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
281 * simple.el (blink-matching--overlay): New variable.
282 (blink-matching-open): Instead of moving point, highlight the
283 matching paren with an overlay
284 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
286 * faces.el (paren-showing-faces, show-paren-match)
287 (show-paren-mismatch): Move from paren.el.
289 2013-12-13 Leo Liu <sdl.web@gmail.com>
291 * indent.el (indent-region): Disable progress reporter in
292 minibuffer. (Bug#16108)
294 * bindings.el (visual-order-cursor-movement): Fix version.
296 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
298 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
299 Also match after beginning of line.
300 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
301 files. Thanks to Russell Sim. (Bug#15378)
303 2013-12-13 Juri Linkov <juri@jurta.org>
305 * simple.el <Keypad support>: Remove key bindings duplicated
306 with bindings.el. (Bug#14397)
308 2013-12-13 Juri Linkov <juri@jurta.org>
310 * comint.el (comint-mode-map): Replace `delete-char' with
311 `delete-forward-char'. (Bug#16109)
313 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
315 * progmodes/python.el (python-indent-calculate-indentation):
316 Fix de-denters cornercase. (Bug#15731)
318 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
320 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
321 (advice--make): Pay attention to `depth'.
322 (advice--make-1): Don't autoload commands eagerly.
323 * emacs-lisp/elp.el (elp-instrument-function):
324 * emacs-lisp/trace.el (trace-function-internal):
325 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
327 * iswitchb.el (iswitchb-mode): Don't belittle ido.
329 2013-12-12 Eli Zaretskii <eliz@gnu.org>
331 * term/w32-win.el (w32-handle-dropped-file):
332 * startup.el (normal-top-level):
333 * net/browse-url.el (browse-url-file-url):
334 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
335 decode file names using 'utf-8' rather than
336 file-name-coding-system.
338 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
340 * progmodes/python.el (python-indent-context)
341 (python-indent-calculate-indentation): Fix auto-identation
342 behavior for comment blocks. (Bug#15916)
344 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
346 * progmodes/python.el (python-indent-calculate-indentation):
347 When determining indentation, don't treat "return", "pass", etc., as
348 operators when they are just string constituents. (Bug#15812)
350 2013-12-12 Juri Linkov <juri@jurta.org>
352 * uniquify.el (uniquify-buffer-name-style): Change default to
353 `post-forward-angle-brackets'.
355 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
356 `uniquify'. Change default to `post-forward-angle-brackets'.
358 2013-12-11 Glenn Morris <rgm@gnu.org>
360 * emacs-lisp/package.el (finder-list-matches):
361 Autoload rather than falsely declaring.
363 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
365 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
366 (eww-mode-map): Use them.
368 2013-12-11 Martin Rudalics <rudalics@gmx.at>
370 * window.el (display-buffer-in-side-window): Fix doc-string
373 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
375 * vc/vc-git.el: Silence byte-compiler warnings.
376 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
377 (log-edit-set-header): Declare.
379 2013-12-11 Eli Zaretskii <eliz@gnu.org>
381 * Makefile.in (custom-deps, finder-data): Run output file names
382 through unmsys--file-name. (Bug#16099)
384 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
386 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
387 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
389 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
390 instead of deleting the selection "by hand" (bug#16098).
391 Rely on insert-for-yank to yank rectangles.
392 (cua-highlight-region-shift-only): Mark obsolete.
393 (cua-mode): Don't enable/disable transient-mark-mode,
394 shift-select-mode (cua-mode works both with and without them), and
395 pc-selection-mode (obsolete).
396 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
397 (cua--deactivate-rectangle): Deactivate it.
399 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
400 (delete-selection-helper): Make sure yank starts at the top of the
402 (minibuffer-keyboard-quit): Use region-active-p.
404 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
406 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
407 to `delete' (bug#16109).
409 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
411 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
412 info manual and show keybindings and set `:group' keyword.
414 2013-12-11 Juri Linkov <juri@jurta.org>
416 * delsel.el (delete-active-region): Let-bind `this-command'
417 to prevent `kill-region' from changing its original value.
418 (delete-selection-helper): Handle `overwrite-mode' for the type
419 `kill' exactly the same way as for the type `t'.
420 (insert-char, quoted-insert, reindent-then-newline-and-indent):
421 Support more commands. (Bug#13312)
423 2013-12-11 Juri Linkov <juri@jurta.org>
425 * bindings.el: Map kp keys to non-kp keys systematically
426 with basic modifiers control, meta and shift. (Bug#14397)
428 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> (tiny change)
430 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
431 "Close browser" menu items. Fix wrong function of "List
434 2013-12-11 Juri Linkov <juri@jurta.org>
436 * misearch.el (multi-isearch-buffers): Set the value of
437 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
438 arg of isearch-forward to t.
439 (multi-isearch-buffers-regexp): Set the value of
440 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
441 arg of isearch-forward-regexp to t.
442 (multi-isearch-files): Set the value of
443 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
444 arg of isearch-forward to t.
445 (multi-isearch-files-regexp): Set the value of
446 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
447 arg of isearch-forward-regexp to t. (Bug#16035)
449 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
450 arg of isearch-forward to t.
451 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
452 arg of isearch-forward-regexp to t.
453 (dired-isearch-filter-filenames): Remove unnecessary check for
454 `dired-isearch-filenames'.
456 * comint.el (comint-history-isearch-backward):
457 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
458 (comint-history-isearch-backward-regexp):
459 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
461 2013-12-10 Eli Zaretskii <eliz@gnu.org>
463 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
464 unmsys--file-name. (Bug#16099)
466 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
468 * emacs-lisp/package.el (package-keyword-button-action):
469 Remove finder.el require dependency.
471 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
473 * emacs-lisp/package.el: Require finder.el.
474 (describe-package-1): Add keyword buttons.
475 (package-make-button): New convenience function.
476 (package-keyword-button-action): Keyword button action using
477 `finder-list-matches'
479 2013-12-09 Eli Zaretskii <eliz@gnu.org>
481 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
484 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
486 * autorevert.el (auto-revert-notify-add-watch): Do not handle
489 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
491 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
492 after the end of a percent literal.
494 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
496 * progmodes/ruby-mode.el (ruby-forward-string): Document.
497 Handle caret-delimited strings (Bug#16079).
499 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
501 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
502 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
503 `ruby-parse-partial' (Bug#16078).
505 2013-12-09 Leo Liu <sdl.web@gmail.com>
507 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
509 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
511 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
512 (js-switch-indent-offset): New option.
513 (js--proper-indentation): Use it. And handle the case when
514 "default" is actually a key in an object literal.
515 (js--same-line): New function.
516 (js--multi-line-declaration-indentation): Use it.
517 (js--indent-in-array-comp, js--array-comp-indentation):
519 (js--proper-indentation): Use them, to handle array comprehension
522 2013-12-08 Leo Liu <sdl.web@gmail.com>
524 * progmodes/flymake.el (flymake-highlight-line): Re-write.
525 (flymake-make-overlay): Remove arg MOUSE-FACE.
526 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
528 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
530 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
532 (redisplay-highlight-region-function): Use it.
534 * emulation/cua-base.el (cua--explicit-region-start)
535 (cua--last-region-shifted): Remove.
536 (cua--deactivate): Use deactivate-mark.
537 (cua--pre-command-handler-1): Don't handle shift-selection.
538 (cua--post-command-handler-1): Don't change transient-mark-mode.
539 (cua--select-keymaps): Use region-active-p rather than
540 cua--explicit-region-start or cua--last-region-shifted.
541 (cua-mode): Enable shift-select-mode.
543 2013-12-08 Leo Liu <sdl.web@gmail.com>
545 * progmodes/flymake.el (flymake-popup-current-error-menu):
546 Rename from flymake-display-err-menu-for-current-line. Reimplement.
547 (flymake-posn-at-point-as-event, flymake-popup-menu)
548 (flymake-make-emacs-menu): Remove. (Bug#16077)
550 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
552 * rect.el (rectangle-mark-mode): Activate mark even if
553 transient-mark-mode is off (bug#16066).
554 (rectangle--highlight-for-redisplay): Fix boundary condition when point
555 is > mark and at bolp.
557 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
558 (region-extract-function): Use it.
559 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
560 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
562 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
563 kill-ring-save, kill-region, delete-char, delete-forward-char.
564 Ignore self-insert-iso.
566 * emulation/cua-gmrk.el (cua--init-global-mark):
567 Ignore `self-insert-iso'.
569 * emulation/cua-base.el (cua--prefix-copy-handler)
570 (cua--prefix-cut-handler): Rely on region-extract-function rather than
571 checking cua--rectangle.
572 (cua-delete-region): Use region-extract-function.
573 (cua-replace-region): Delete function.
574 (cua-copy-region, cua-cut-region): Obey region-extract-function.
575 (cua--pre-command-handler-1): Don't do the delete-selection thing.
576 (cua--self-insert-char-p): Ignore `self-insert-iso'.
577 (cua--init-keymaps): Don't remap delete-selection commands.
578 (cua-mode): Use delete-selection-mode instead of rolling our own
581 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
582 Obey region-extract-function.
584 Make registers and delete-selection-mode work on rectangles.
585 * register.el (describe-register-1): Don't modify the register's value.
586 (copy-to-register): Obey region-extract-function.
587 * delsel.el (delete-active-region): Obey region-extract-function.
589 2013-12-08 Leo Liu <sdl.web@gmail.com>
591 * progmodes/flymake.el (flymake, flymake-error-bitmap)
592 (flymake-warning-bitmap, flymake-fringe-indicator-position)
593 (flymake-compilation-prevents-syntax-check)
594 (flymake-start-syntax-check-on-newline)
595 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
596 (flymake-start-syntax-check-on-find-file, flymake-log-level)
597 (flymake-xml-program, flymake-master-file-dirs)
598 (flymake-master-file-count-limit)
599 (flymake-allowed-file-name-masks): Relocate.
600 (flymake-makehash, flymake-float-time)
601 (flymake-replace-regexp-in-string, flymake-split-string)
602 (flymake-get-temp-dir): Remove.
603 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
604 (flymake-current-row, flymake-selected-frame)
605 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
606 related functions. (Bug#16077)
608 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
610 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
612 2013-12-07 Tassilo Horn <tsdh@gnu.org>
614 * help-fns.el (describe-function-1): Use new advice-* functions
615 rather than old ad-* functions. Fix function type description and
616 source links for advised functions and subrs.
618 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
620 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
622 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
624 * progmodes/compile.el (compilation-start):
625 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
627 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
628 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
630 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
632 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
633 Touch up the last change.
635 2013-12-06 Leo Liu <sdl.web@gmail.com>
637 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
638 (inferior-octave-startup): Always use "octave> " for prompt.
639 (octave-goto-function-definition)
640 (octave-sync-function-file-names)
641 (octave-find-definition-default-filename): Remove redundant backquotes.
643 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
645 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
647 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
648 where appropriate already.
649 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
650 end of method names (Bug#15874).
652 2013-12-06 Juri Linkov <juri@jurta.org>
654 * isearch.el (isearch--saved-overriding-local-map):
655 New internal variable.
656 (isearch-mode): Set it to the initial value of
657 `overriding-terminal-local-map'.
658 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
659 with `isearch--saved-overriding-local-map'. (Bug#16035)
661 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
663 * progmodes/octave.el (inferior-octave-completion-table):
664 Turn back into function, use `completion-table-with-cache'
665 (Bug#11906). Update all references.
667 * minibuffer.el (completion-table-with-cache): New function.
669 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
671 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
673 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
675 * net/eww.el (eww-current-source): New variable to store page
677 (eww-display-html, eww-mode, eww-save-history)
678 (eww-restore-history): Use it.
679 (eww-view-source): New command to view page source.
680 Opportunistically uses `html-mode' to highlight the buffer.
681 (eww-mode-map): Install it.
683 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
685 * net/dbus.el (dbus-unregister-service)
686 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
688 (dbus-unregister-service): Skip :serial entries in
689 `dbus-registered-objects-table'.
690 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
692 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
694 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
695 around keywords with extra `split-string' argument.
697 2013-12-04 Martin Rudalics <rudalics@gmx.at>
699 * windmove.el (windmove-other-window-loc): Handle navigation
700 between windows (excluding the minibuffer window - Bug#16017).
702 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
704 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
705 in D-Bus type syntax.
706 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
707 preserve unibyte strings. (Bug#16048)
709 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
711 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
712 Call force-mode-line-update is the proper buffer (bug#16042).
714 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
716 * vc/log-edit.el (log-edit-add-new-comment): Rename to
717 `log-edit-remember-comment', make argument optional. Adjust all
719 (log-edit-mode): Add `log-edit-remember-comment' to
720 `kill-buffer-hook' locally.
721 (log-edit-kill-buffer): Don't remember comment explicitly since
722 the buffer is killed anyway.
724 2013-12-04 Juri Linkov <juri@jurta.org>
726 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
727 add-hook and remove-hook for multi-buffer search. (Bug#16035)
729 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
731 * notifications.el (notifications-close-notification): Call the
732 D-Bus method with ID being a `:uint32'. (Bug#16030)
734 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
736 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
738 2013-12-03 Juri Linkov <juri@jurta.org>
740 * progmodes/compile.el (compilation-start): Rename window alist
741 entry `no-display-ok' to `allow-no-window'.
743 * simple.el (shell-command): Add window alist entry
744 `allow-no-window' to `display-buffer'.
745 (async-shell-command): Doc fix.
747 * window.el (display-buffer-no-window): New action function.
748 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
750 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
752 * vc/log-edit.el (log-edit-set-header): Extract from
753 `log-edit-toggle-header'.
754 (log-edit-extract-headers): Separate the summary, when extracted
755 from header, from the rest of the message with an empty line.
757 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
758 line, if present, to the Summary header.
760 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
762 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
763 in current-buffer (bug#16029).
765 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
767 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
768 (debugger-mode-map): Bind it.
769 (debugger--backtrace-base): New function.
770 (debugger-eval-expression): Use it.
771 (debugger-frame-number): Skip local vars when present.
772 (debugger--locals-visible-p, debugger--insert-locals)
773 (debugger--show-locals, debugger--hide-locals): New functions.
775 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
777 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
779 (tramp-get-remote-locale): New defun.
780 (tramp-open-connection-setup-interactive-shell): Use it.
782 2013-12-02 Leo Liu <sdl.web@gmail.com>
784 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
786 * progmodes/sh-script.el (sh-shell-process):
787 * progmodes/octave.el (inferior-octave-process-live-p):
788 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
789 (gdb-inferior-io-sentinel):
790 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
792 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
794 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
795 `save-selected-window' to `log-edit-hide-buf'. This makes
796 `log-edit-show-files' idempotent.
797 (log-edit-show-files): Mark the new window as dedicated.
799 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
801 * vc/log-edit.el (log-edit-mode-map): Add binding for
802 `log-edit-kill-biffer'.
803 (log-edit-hide-buf): Add a FIXME comment.
804 (log-edit-add-new-comment): New function, extracted from
806 (log-edit-done, log-edit-add-to-changelog): Use it.
807 (log-edit-kill-buffer): New command.
809 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
811 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
812 instead of killing the buffer.
814 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
816 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
818 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
820 * net/eww.el (eww-form-checkbox-selected-symbol)
821 (eww-form-checkbox-symbol): New customizable variable.
822 (eww-form-checkbox, eww-toggle-checkbox):
823 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
825 * net/shr.el (shr-prefer-media-type-alist): : New customizable variable.
826 (shr--get-media-pref, shr--extract-best-source): New function.
827 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
828 no :src tag was specified.
830 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
831 (eww-render): Handle `eww-use-external-browser-for-content-type'.
832 Use \\` to match beginning of string instead of ^.
833 (eww-browse-with-external-browser): Provide optional URL parameter.
834 (eww-render): Set `eww-current-title' back to "".
836 * net/shr.el (shr-tag-video): Display content for video if no
838 (shr-tag-audio): Add support for <audio> tag.
840 * net/eww.el (eww-text-input-types): : New const.
841 (eww-process-text-input): Treat input types in
842 `eww-text-input-types' as text.
844 * net/shr.el (shr-tag-table): Fix comment typo.
846 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
848 * net/eww.el (eww-follow-link): New command to avoid reloading
849 pages when we follow #target links (bug#15243).
850 (eww-quit): Special mode buffers shouldn't query before exiting.
852 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
854 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
857 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
859 * net/eww.el (eww-restore-history): Update the window title after
860 moving in the history.
861 (eww-current-dom): New variable used to save the current DOM.
863 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
865 * vc/log-edit.el (log-edit-mode-map): Add binding for
866 `log-edit-beginning-of-line'.
867 (log-edit-setup-add-author): New user option.
868 (log-edit-beginning-of-line): New command.
869 (log-edit): Move major mode call above the contents setup so that
870 the local variable values are already applied.
871 (log-edit): Only insert "Author: " when
872 `log-edit-setup-add-author' is non-nil.
873 (log-edit): When SETUP is non-nil, position point after ": "
874 instead of point-min.
876 2013-12-01 Glenn Morris <rgm@gnu.org>
878 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
880 2013-11-30 Eli Zaretskii <eliz@gnu.org>
882 * startup.el (fancy-splash-frame): On MS-Windows, trigger
883 redisplay to make sure the initial frame gets a chance to become
886 2013-11-30 Martin Rudalics <rudalics@gmx.at>
888 Support resizing frames and windows pixelwise.
889 * cus-start.el (frame-resize-pixelwise)
890 (window-resize-pixelwise): New entries.
891 * emacs-lisp/debug.el (debug): Use window-total-height instead
892 of window-total-size.
893 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
894 * help.el (describe-bindings-internal): Call help-buffer
895 (temp-buffer-max-width): New option.
896 (resize-temp-buffer-window, help-window-setup)
897 (with-help-window): Rewrite.
898 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
900 * window.el (frame-char-size, window-min-pixel-height)
901 (window-safe-min-pixel-height, window-safe-min-pixel-width)
902 (window-min-pixel-width, window-safe-min-pixel-size)
903 (window-combination-p, window-safe-min-size)
904 (window-resizable-p, window--size-to-pixel)
905 (window--pixel-to-size, window--resize-apply-p): New functions.
906 (window-safe-min-height): Fix doc-string.
907 (window-size, window-min-size, window--min-size-1)
908 (window-sizable, window-sizable-p, window--min-delta-1)
909 (window-min-delta, window--max-delta-1, window-max-delta)
910 (window--resizable, window--resizable-p, window-resizable)
911 (window-full-height-p, window-full-width-p, window-at-side-p)
912 (window--in-direction-2, window-in-direction)
913 (window--resize-reset-1, window--resize-mini-window)
914 (window-resize, window-resize-no-error)
915 (window--resize-child-windows-normal)
916 (window--resize-child-windows, window--resize-siblings)
917 (window--resize-this-window, window--resize-root-window)
918 (window--resize-root-window-vertically)
919 (adjust-window-trailing-edge, enlarge-window, shrink-window)
920 (maximize-window, minimize-window, delete-window)
921 (quit-restore-window, window-split-min-size, split-window)
922 (balance-windows-2, balance-windows)
923 (balance-windows-area-adjust, balance-windows-area)
924 (window--state-get-1, window-state-get, window--state-put-1)
925 (window--state-put-2, window-state-put)
926 (display-buffer-record-window, window--display-buffer):
927 Make functions handle pixelwise sizing of windows.
928 (display-buffer--action-function-custom-type)
929 (display-buffer-fallback-action):
930 Add display-buffer-in-previous-window.
931 (display-buffer-use-some-window): Resize window to height it had
933 (fit-window-to-buffer-horizontally): New option.
934 (fit-frame-to-buffer): Describe new values.
935 (fit-frame-to-buffer-bottom-margin): Replace with
936 fit-frame-to-buffer-margins.
937 (window--sanitize-margin): New function.
938 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
939 using window-text-pixel-size.
941 2013-11-30 Glenn Morris <rgm@gnu.org>
943 * emacs-lisp/bytecomp.el (byte-compile-form):
944 Make the `interactive-only' warning like the `obsolete' one.
945 * comint.el (comint-run):
946 * files.el (insert-file-literally, insert-file):
947 * replace.el (replace-string, replace-regexp):
948 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
949 (goto-line, insert-buffer, next-line, previous-line):
950 Tweak `interactive-only' spec.
952 Stop keeping (most) generated cedet grammar files in the repository.
953 * Makefile.in (semantic): New.
954 (compile-main): Depend on semantic.
956 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
958 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
959 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
961 * uniquify.el (uniquify-buffer-name-style): Change default.
963 * loadup.el: Preload "uniquify".
965 * time.el (display-time-update): Update all mode lines (bug#15999).
967 * electric.el (electric-indent-mode): Enable by default.
968 * loadup.el: Preload "electric".
970 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
972 * emacs-lisp/helpers.el (string-empty-p): New function.
973 (string-blank-p): New function.
975 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
977 * imenu.el (imenu--index-alist): Add missing dot to the docstring
980 2013-11-29 Andreas Politz <politza@fh-trier.de>
981 * imenu.el (imenu--subalist-p): Don't error on non-conses and
982 allow non-lambda lists as functions.
983 (imenu--in-alist): Don't recurse into non-subalists.
984 (imenu): Don't pass function itself as an argument (Bug#14029).
986 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
988 * progmodes/python.el (python-mode-map): Remove binding for ":".
989 (python-indent-electric-colon): Remove command.
990 (python-indent-post-self-insert-function): Integrate the previous code
991 of python-indent-electric-colon. Make it conditional on
992 electric-indent-mode.
993 (python-mode): Add ?: to electric-indent-chars.
994 Move python-indent-post-self-insert-function to the end of
995 post-self-insert-hook.
997 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
999 * doc-view.el (doc-view-goto-page): Update mode-line.
1001 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
1003 2013-11-27 Glenn Morris <rgm@gnu.org>
1005 * international/charprop.el, international/uni-bidi.el:
1006 * international/uni-category.el, international/uni-combining.el:
1007 * international/uni-comment.el, international/uni-decimal.el:
1008 * international/uni-decomposition.el, international/uni-digit.el:
1009 * international/uni-lowercase.el, international/uni-mirrored.el:
1010 * international/uni-name.el, international/uni-numeric.el:
1011 * international/uni-old-name.el, international/uni-titlecase.el:
1012 * international/uni-uppercase.el:
1013 Remove generated files from VCS repository.
1015 2013-11-27 Eli Zaretskii <eliz@gnu.org>
1017 * filenotify.el (file-notify-add-watch): Don't special-case
1018 w32notify when computing the directory to watch.
1020 2013-11-27 Glenn Morris <rgm@gnu.org>
1022 Make bootstrap without generated uni-*.el files possible again.
1023 * loadup.el: Update command-line-args checking for unidata-gen.
1024 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
1025 * composite.el, international/characters.el:
1026 Handle unicode tables being undefined.
1028 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
1029 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
1030 (compile-main): Depend on leim rule.
1032 * loadup.el: Move leim-list.el to leim/ subdirectory.
1033 * startup.el (normal-top-level): No more leim directory.
1034 * international/ja-dic-cnv.el (skkdic-convert):
1035 Disable version-control and autoloads in output files.
1036 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
1037 Disable version-control and autoloads in output files.
1038 * leim/quail: Move here from ../leim.
1039 * leim/quail/hangul.el (hangul-input-method-activate):
1040 Add autoload cookie.
1041 (generated-autoload-load-name): Set file-local value.
1042 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
1043 (generated-autoload-load-name): Set file-local value.
1045 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com> (tiny change)
1047 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
1048 (eww-add-bookmark): ask confirmation when add to bookmarks
1049 (eww-quit): ask confirmation before quitting eww
1051 2013-11-26 Eli Zaretskii <eliz@gnu.org>
1053 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
1054 reading output from Diff on MS-Windows and MS-DOS.
1056 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
1058 * emacs-lisp/helpers.el (string-reverse): New function.
1060 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
1062 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
1063 names on MS Windows, like "/[::1]:".
1065 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
1068 2013-11-26 Glenn Morris <rgm@gnu.org>
1070 * progmodes/python.el (python-indent-guess-indent-offset):
1071 Avoid corner-case error. (Bug#15975)
1073 Preload leim-list.el. (Bug#4789)
1074 * loadup.el: Load leim-list.el when found.
1075 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
1077 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
1079 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
1081 * emacs-lisp/helpers.el (string-join): New function.
1083 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
1085 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1086 Mark as obsolete and replace it with a symbol property.
1087 (byte-compile-form): Use new 'interactive-only property.
1088 * comint.el, files.el, replace.el, simple.el:
1089 Apply new 'interactive-only properly.
1091 2013-11-25 Martin Rudalics <rudalics@gmx.at>
1093 * window.el (display-buffer-at-bottom): Make sure that
1094 split-window-sensibly creates the new window on bottom
1097 2013-11-23 David Kastrup <dak@gnu.org>
1099 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
1100 on the conflict markers when available.
1101 (smerge--get-marker): New function.
1102 (smerge-end-re, smerge-base-re): Add subgroup.
1104 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1106 * frame.el (handle-focus-in, handle-focus-out): Add missing
1109 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
1111 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1112 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
1114 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1116 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
1117 (gomoku--last-pos): New var.
1118 (gomoku--intangible-chars): New const.
1119 (gomoku--intangible): New function.
1120 (gomoku-mode): Use it. Derive from special-mode.
1121 (gomoku-move-up): Adjust line count.
1122 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
1123 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
1124 Simplify accordingly.
1126 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
1127 Remove blink-cursor code.
1128 (blink-cursor-timer-function, blink-cursor-suspend):
1129 Don't special-case GUIs.
1130 (blink-cursor-mode): Use focus-in/out-hook.
1132 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
1134 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
1135 work when annotation is invisible (Bug#13886).
1137 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
1139 * json.el (json-alist-p): Only return non-nil if the alist has
1140 simple keys (Bug#13518).
1142 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
1144 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
1145 when control-statement is the first statement in a buffer (Bug#15956).
1147 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
1149 * imenu.el (imenu-generic-skip-comments-and-strings):
1150 New option (Bug#15560).
1151 (imenu--generic-function): Use it.
1153 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
1155 * minibuffer.el (completion--in-region-1): Scroll the correct
1158 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
1160 * emacs-lisp/helpers.el: Add some string helpers.
1161 (string-trim-left): Removes leading whitespace.
1162 (string-trim-right): Removes trailing whitespace.
1163 (string-trim): Removes leading and trailing whitespace.
1165 * subr.el (string-suffix-p): New function.
1167 2013-11-23 Glenn Morris <rgm@gnu.org>
1169 * progmodes/python.el (python-shell-send-file):
1170 Add option to delete file when done. (Bug#15647)
1171 (python-shell-send-string, python-shell-send-region): Use it.
1173 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
1175 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
1176 to set buffer-read-only to t, never to nil. (Bug#15938)
1178 * textmodes/tex-mode.el (latex-noindent-environments):
1179 Add safe-local-variable property. (Bug#15936)
1181 2013-11-23 Glenn Morris <rgm@gnu.org>
1183 * textmodes/enriched.el (enriched-mode): Doc fix.
1184 * emacs-lisp/authors.el (authors-renamed-files-alist):
1185 Add enriched.doc -> enriched.txt.
1187 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
1189 2013-11-22 Leo Liu <sdl.web@gmail.com>
1191 * progmodes/octave.el (inferior-octave-startup): Spit out error
1194 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
1196 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1199 (ruby-encoding-magic-comment-style): Add :version.
1201 2013-11-22 Leo Liu <sdl.web@gmail.com>
1203 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
1205 (octave-help-mode): Adapt to change to help-mode-finish to use
1206 derived-mode-p on 2013-09-17.
1207 (inferior-octave-prompt): Also match octave-gui.
1208 (octave-kill-process): Don't ask twice. (Bug#10564)
1210 2013-11-22 Leo Liu <sdl.web@gmail.com>
1212 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
1213 (inferior-octave-startup, inferior-octave-check-process)
1214 (inferior-octave-track-window-width-change)
1215 (octave-completion-at-point, octave-eldoc-function): Use it.
1216 (octave-kill-process): Provide confirmation. (Bug#10564)
1218 2013-11-21 Leo Liu <sdl.web@gmail.com>
1220 * progmodes/octave.el (octave-mode, inferior-octave-mode):
1221 Fix obsolete variable comment-use-global-state.
1223 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1225 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
1226 Add `octave-source-file'.
1227 (octave-source-file): New function. (Bug#15935)
1229 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com> (tiny change)
1231 * net/eww.el (eww-local-regex): New variable.
1232 (eww): Use it to detect localhost and similar.
1234 2013-11-21 Leo Liu <sdl.web@gmail.com>
1236 Add completion for command `ag'.
1237 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
1238 (pcomplete/ag): New function.
1239 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
1241 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1243 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
1245 (make-obsolete): Remove interactive spec.
1247 2013-11-21 Glenn Morris <rgm@gnu.org>
1249 * startup.el (command-line-1): Use path-separator with -L.
1251 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
1253 * emacs-lisp/package.el (describe-package-1): Add package archive
1256 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
1258 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
1259 Change default to "# encoding: %s" to differentiate it from the
1260 default Ruby encoding comment template.
1262 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
1264 * ses.el (ses-mode): Doc fix. (Bug#14748)
1266 2013-11-20 Leo Liu <sdl.web@gmail.com>
1268 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
1270 2013-11-19 Dan Nicolaescu <dann@gnu.org>
1272 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
1273 when rebase or bisect are in progress.
1275 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
1277 * filenotify.el (file-notify-add-watch): Doc fix.
1279 2013-11-19 Leo Liu <sdl.web@gmail.com>
1281 * obsolete/rcompile.el: Mark obsolete.
1283 * progmodes/compile.el (compilation-start)
1284 (compilation-goto-locus, compilation-find-file):
1285 Pass no-display-ok and handle nil value from display-buffer.
1288 * window.el (display-buffer-alist, display-buffer): Document the
1289 new parameter no-display-ok. Return either a window or nil
1290 but never a non-window value.
1292 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
1294 * electric.el (electric-indent-mode-map): Remove.
1295 (electric-indent-mode): Change the global-map instead (bug#15915).
1297 * textmodes/text-mode.el (paragraph-indent-minor-mode):
1300 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
1302 * emacs-lisp/nadvice.el (remove-function): Align with
1303 add-function's behavior.
1305 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
1306 (gdb--string-regexp): New constant.
1307 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
1308 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
1309 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
1311 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
1312 Adjust use accordingly.
1313 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
1315 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
1317 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
1318 interpolation curlies (Bug#15914).
1320 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1322 * calc/calc.el (calc-context-sensitive-enter): New variable.
1323 (calc-enter): Use `calc-context-sensitive-enter'.
1325 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
1327 * progmodes/cfengine.el: Version bump.
1328 (cfengine-cf-promises): New defcustom to locate cf-promises.
1329 (cfengine3-vartypes): Add new "data" type.
1330 (cfengine3--current-word): New function to get current name-like
1332 (cfengine3--current-function): New function to look up a CFEngine
1333 function's definition.
1334 (cfengine3-format-function-docstring): New function.
1335 (cfengine3-make-syntax-cache): New function.
1336 (cfengine3-documentation-function): New function: ElDoc glue.
1337 (cfengine3-completion-function): New function: completion glue.
1338 (cfengine3-mode): Set `compile-command',
1339 `eldoc-documentation-function', and add to
1340 `completion-at-point-functions'.
1342 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
1344 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
1345 `tramp-current-connection'.
1347 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
1349 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
1350 nil/self/true/false with "end of symbol".
1352 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
1354 * subr.el (version-regexp-alist): Fix a typo.
1356 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
1358 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
1359 "en_US.utf8" and "LC_CTYPE" to "".
1360 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
1361 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
1363 2013-11-15 Leo Liu <sdl.web@gmail.com>
1365 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
1367 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1369 * progmodes/gud.el (ctl-x-map):
1370 Remove C-x SPC binding. (Bug#12342)
1371 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
1373 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
1375 * subr.el (version-regexp-alist):
1376 Recognize hg, svn and darcs versions as snapshot versions.
1378 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
1379 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
1380 (ruby--encoding-comment-required-p): Extract from
1381 `ruby-mode-set-encoding'.
1382 (ruby-mode-set-encoding): Add the ability to always insert an
1383 utf-8 encoding comment. Fix and simplify coding comment update
1386 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
1388 * net/tramp-gvfs.el (top): Run init code only when
1389 `tramp-gvfs-enabled' is not nil.
1390 (tramp-gvfs-enabled): Check also :system bus.
1392 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1394 Sync with upstream verilog-mode revision 78e66ba.
1395 * progmodes/verilog-mode.el (verilog-end-of-defun)
1396 (verilog-type-completion, verilog-get-list): Remove unused funcs.
1397 (verilog-get-end-of-defun): Remove unused argument.
1398 (verilog-comment-depth): Remove unused local `e'.
1399 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
1400 Don't pass arg to verilog-get-end-of-defun.
1402 2013-11-14 Glenn Morris <rgm@gnu.org>
1404 * obsolete/assoc.el (aget): Prefix dynamic variable.
1406 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
1408 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1410 * widget.el, hfy-cmap.el: Remove bogus package version number.
1412 2013-11-13 Glenn Morris <rgm@gnu.org>
1414 * replace.el (replace-eval-replacement):
1415 Try to give more helpful error message. (Bug#15836)
1417 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
1418 (archive-7z-update): Avoid custom type mismatches.
1420 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
1422 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
1424 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
1425 address can be empty.
1427 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
1428 Accept nil SWITCHES.
1429 (tramp-gvfs-handle-write-region): Implement APPEND.
1431 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
1433 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
1434 binary "|" operator and closing block args delimiter.
1435 Remove FIXME comment referring to Ruby 1.8-only syntax.
1436 (ruby-smie--implicit-semi-p): Not after "|" operator.
1437 (ruby-smie--closing-pipe-p): New function.
1438 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
1439 (ruby-smie-rules): Indent after "|".
1441 2013-11-12 Glenn Morris <rgm@gnu.org>
1443 * ps-print.el (ps-face-attribute-list):
1444 Handle anonymous faces. (Bug#15827)
1446 2013-11-12 Martin Rudalics <rudalics@gmx.at>
1448 * window.el (display-buffer-other-frame): Fix doc-string.
1451 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1453 * subr.el (force-mode-line-update): Delete, move to buffer.c.
1455 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
1457 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
1458 (tramp-sh-handle-file-local-copy): Don't write a message when
1459 saving temporary files.
1461 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
1462 both directories are remote.
1463 (tramp-smb-handle-directory-files): Do not return double entries.
1464 Do not expand full file names.
1465 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
1466 (tramp-smb-handle-write-region): Implement APPEND.
1467 (tramp-smb-get-stat-capability): Fix a stupid bug.
1469 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1471 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
1473 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1475 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
1476 throwing error over malformed let/let* (bug#15814).
1478 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
1480 * iswitchb.el (iswitchb-mode): Mark obsolete.
1482 2013-11-11 Glenn Morris <rgm@gnu.org>
1484 * international/uni-bidi.el, international/uni-category.el:
1485 * international/uni-name.el, international/uni-numeric.el:
1486 Regenerate for Unicode 6.3.0.
1488 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
1490 * net/tramp.el (tramp-methods):
1491 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
1492 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
1494 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
1496 * progmodes/sh-script.el (sh-font-lock-keywords-var):
1497 Force highlighting text after Summary keyword in doc face for rpm.
1499 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
1501 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
1502 available and the word has no wildcards, append one to the grep pattern.
1503 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
1504 (ispell-complete-word): Call `ispell-lookup-words' with the value
1505 independent of `ispell-look-p'.
1507 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1509 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
1511 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
1514 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1516 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
1517 (ruby-font-lock-keywords): Use backquote.
1519 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1521 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1522 (ruby-smie--backward-token): Only consider full-string matches.
1524 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
1526 * faces.el (describe-face): Add distant-foreground.
1528 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
1530 * progmodes/ruby-mode.el: Improve encoding comment handling.
1531 (ruby-encoding-magic-comment-style): New option.
1532 (ruby-custom-encoding-magic-comment-template): New option.
1533 (ruby--insert-coding-comment, ruby--detect-encoding):
1534 New functions extracted from `ruby-mode-set-encoding'.
1535 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
1536 to control the style of the auto-inserted encoding comment.
1538 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1540 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
1541 Use `smie-backward-sexp' with token argument.
1543 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
1545 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1546 Remove instrumentation code.
1548 2013-11-08 Glenn Morris <rgm@gnu.org>
1550 * progmodes/autoconf.el (autoconf-mode):
1551 Tweak comment-start-skip. (Bug#15822)
1553 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1555 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
1556 at bobp (bug#15826).
1557 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
1559 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
1561 * man.el (Man-start-calling): New macro, extracted from
1562 Man-getpage-in-background.
1563 (Man-getpage-in-background): Use it.
1564 (Man-update-manpage): New command.
1565 (Man-mode-map): Bind it.
1567 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
1569 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
1570 of "and", "or", "&&" and "||".
1571 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
1572 argument. Prohibit opening curly brace because it could only be a
1573 block opener in that position.
1574 (ruby-smie--forward-token, ruby-smie--backward-token):
1575 Separate "|" from "&" or "*" going after it. That can happen in block
1577 (ruby-smie--indent-to-stmt): New function, seeks the end of
1578 previous statement or beginning of buffer.
1579 (ruby-smie-rules): Use it.
1580 (ruby-smie-rules): Check if there's a ":" before a curly block
1581 opener candidate; if there is, it's a hash.
1583 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
1585 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
1586 (cl--block-wrapper): Fix last accidental change.
1588 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
1590 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
1591 Instrument, in order to hunt failure on hydra.
1593 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1595 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
1596 malformed bindings form (bug#15814).
1598 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
1600 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
1601 "." compared to " @ ". This incidentally fixes some indentation
1603 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
1604 (ruby-smie-grammar): New tokens: "and" and "or".
1605 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
1606 Exclude "and" and "or". Remove "do" in order to work around token
1608 (ruby-smie-rules): Add all infix tokens. Handle the case of
1609 beginning-of-buffer.
1611 2013-11-06 Glenn Morris <rgm@gnu.org>
1613 * Makefile.in (setwins_almost, setwins_for_subdirs):
1614 Avoid accidental matches.
1616 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1618 * menu-bar.el (popup-menu): Use key-binding.
1620 2013-11-06 Eli Zaretskii <eliz@gnu.org>
1622 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
1623 menus, support also the menus produced by minor modes.
1626 2013-11-06 Leo Liu <sdl.web@gmail.com>
1628 * thingatpt.el (thing-at-point-looking-at): Add optional arg
1629 DISTANCE to bound the search. All uses changed. (Bug#15808)
1631 2013-11-06 Glenn Morris <rgm@gnu.org>
1633 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
1634 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
1635 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
1637 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
1639 * electric.el (electric-indent-just-newline): New command.
1640 (electric-indent-mode-map): New keymap.
1641 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
1642 Re-add :group which weren't redundant.
1644 * electric.el (electric-indent-local-mode): New minor mode.
1645 (electric-indent-functions-without-reindent): New var.
1646 (electric-indent-post-self-insert-function): Use it.
1647 * emacs-lisp/gv.el (buffer-local-value): Add setter.
1649 2013-11-05 Eli Zaretskii <eliz@gnu.org>
1651 * international/quail.el (quail-help): Be more explicit about the
1652 meaning of the labels shown on the keys. (Bug#15800)
1654 * startup.el (normal-top-level): Load the subdirs.el files before
1655 setting the locale environment. (Bug#15805)
1657 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
1659 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
1660 via arguments so as to get the right ones (bug#15418).
1662 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
1664 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
1666 Fix problems found while writing a test suite.
1668 * net/tramp-compat.el (tramp-compat-load): New defun.
1669 * net/tramp.el (tramp-handle-load): Use it.
1671 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
1672 "(numberp ok-if-already-exists)" correctly.
1674 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
1676 * international/characters.el (glyphless-char-display-control):
1679 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
1681 * progmodes/python.el (python-mode):
1682 * progmodes/scheme.el (scheme-mode):
1683 * progmodes/prolog.el (prolog-mode):
1684 * progmodes/ruby-mode.el (ruby-mode):
1685 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
1686 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
1688 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1690 * rect.el (rectangle--highlight-for-redisplay):
1691 * emacs-lisp/smie.el (smie--next-indent-change):
1692 Use buffer-chars-modified-tick.
1694 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
1696 * electric.el (electric-indent-post-self-insert-function):
1697 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
1699 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
1701 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
1703 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1705 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
1708 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1710 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
1712 * progmodes/python.el: Fix up last change.
1713 (python-shell--save-temp-file): New function.
1714 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
1715 `string' comes from the current buffer.
1716 (python-shell-send-string-no-output): Remove `msg' arg.
1717 (python--use-fake-loc): New var.
1718 (python-shell-buffer-substring): Obey it. Try to compensate for the
1719 extra coding line added by python-shell--save-temp-file.
1720 (python-shell-send-region): Use python-shell--save-temp-file and
1721 python-shell-send-file directly. Add `nomain' argument.
1722 (python-shell-send-buffer): Use python-shell-send-region.
1723 (python-electric-pair-string-delimiter): New function.
1724 (python-mode): Use it.
1726 2013-11-04 Eli Zaretskii <eliz@gnu.org>
1728 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
1729 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
1730 environment and decoding all of the default-directory's to here
1732 (command-line): Decode also argv[0].
1734 * loadup.el: Error out if default-directory is a multibyte string
1735 when we are dumping.
1737 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
1739 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
1741 * emacs-lisp/package.el (package-menu-mode)
1742 (package-menu--print-info, package-menu--archive-predicate):
1743 Add Archive column to package list.
1745 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
1747 Fix problems found while writing a test suite.
1749 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
1750 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
1751 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
1752 to nil when running original file name handler. Otherwise,
1753 there are problems with constructs like "$$FOO".
1755 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
1758 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
1760 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
1762 * subr.el (version<, version<=, version=):
1763 Update docstrings with information for snapshot versions.
1765 * helpers.el: New library for misc helper functions.
1766 (hash-table-keys): New function returning a list of hash keys.
1767 (hash-table-values): New function returning a list of hash values.
1769 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
1771 * progmodes/ruby-mode.el (ruby-smie--forward-token)
1772 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
1774 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
1776 * textmodes/fill.el (fill-single-char-nobreak-p): New function
1777 checking whether point is after a 1-letter word.
1779 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
1781 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
1782 Don't infloop when expanding region over `multiline' syntax-type that
1783 begins a line (bug#15778).
1785 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
1787 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
1788 Make it into a proper minor mode.
1789 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
1790 (rectangle-mark-mode-map): New keymap.
1791 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
1793 2013-11-04 Glenn Morris <rgm@gnu.org>
1795 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
1797 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
1799 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
1800 (ruby-smie-rules): Use smie-rule-parent instead.
1802 * emacs-lisp/smie.el (smie-rule-parent): Always call
1803 smie-indent-virtual rather than only for hanging tokens.
1804 (smie--next-indent-change): New helper command.
1806 2013-11-03 Glenn Morris <rgm@gnu.org>
1808 * Makefile.in (abs_srcdir): Remove.
1809 (emacs): Unset EMACSLOADPATH.
1811 2013-11-02 Glenn Morris <rgm@gnu.org>
1813 * Makefile.in (EMACS): Use a relative filename.
1814 (abs_top_builddir): Remove.
1815 (custom-deps, finder-data, autoloads): Use --chdir.
1817 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
1819 Use relative filenames in TAGS files.
1820 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1821 (lisptagsfiles4, TAGS): Use relative file names.
1822 (TAGS-LISP): Remove.
1823 (maintainer-clean): No more TAGS-LISP file.
1825 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
1826 (lisptagsfiles4): Use absolute filenames again.
1827 (TAGS, TAGS-LISP): Not everything needs to run in one line.
1828 Remove all *loaddefs files, not just the first. Remove esh-groups.
1829 (maintainer-clean): Delete TAGS, TAGS-LISP.
1831 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1833 * emacs-lisp/package.el (package-version-join):
1834 Recognize snapshot versions.
1836 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1838 * subr.el (version-regexp-alist): Add support for snapshot versions.
1840 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1842 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
1843 New function, replacement for `smie-rule-parent' for when we want to
1844 skip over our direct parent if it's an assignment token..
1845 (ruby-smie-rules): Use it.
1847 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
1849 * progmodes/ruby-mode.el Use `syntax-propertize-function'
1850 unconditionally. Remove now unnecessary forward declarations.
1851 Remove XEmacs-specific setup.
1852 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
1853 (ruby-font-lock-syntactic-keywords)
1854 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
1855 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
1856 (ruby-here-doc-end-syntax): Remove.
1857 (ruby-mode): Don't check whether `syntax-propertize-rules' is
1858 defined as function.
1860 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
1862 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
1864 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1866 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
1867 table and abbrev table, `define-derived-mode' does that for us
1870 2013-11-01 Glenn Morris <rgm@gnu.org>
1872 * Makefile.in: Remove manual mh-e dependencies (writing .elc
1873 files is atomic for some time, so no parallel compilation issues).
1875 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
1877 * faces.el (face-x-resources): Add :distant-foreground.
1878 (region): Use :distant-foreground for gtk and ns.
1880 2013-11-01 Tassilo Horn <tsdh@gnu.org>
1882 Allow multiple bibliographies when BibLaTeX is used rather than
1884 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
1885 (reftex-locate-bibliography-files): Us it.
1887 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
1889 * image.el (image-type-header-regexps): Fix the 'pbm' part to
1890 allow comments in pbm files.
1892 * term/w32-win.el (dynamic-library-alist): Support newer versions
1893 of libjpeg starting with v7: look only for the DLL from the
1894 version against which Emacs was built.
1895 Support versions of libpng beyond 1.4.x.
1896 Support libtiff v4.x.
1898 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
1900 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
1901 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
1903 (ruby-deep-arglist): Add property :type.
1905 2013-10-31 Glenn Morris <rgm@gnu.org>
1907 * Makefile.in (custom-deps, finder-data): No need to setq the target
1908 variables, we are in the right directory and the defaults work fine.
1910 2013-10-30 Glenn Morris <rgm@gnu.org>
1912 * Makefile.in (autoloads): Do not use abs_lisp.
1914 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
1915 `newline' does not respect `standard-output', so use `princ'.
1917 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
1919 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
1920 * buff-menu.el (Buffer-menu--unmark): New function.
1921 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
1923 2013-10-30 Glenn Morris <rgm@gnu.org>
1925 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
1927 * emacs-lisp/package.el (lm-homepage): Declare.
1929 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
1932 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
1934 * Makefile.in (finder-data, autoloads, update-subdirs)
1935 (compile-main, compile-clean, compile-always, bootstrap-clean):
1936 Check return value of cd.
1937 (compile-calc): Remove.
1939 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
1941 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
1943 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
1944 (byte-compile-and-folded): New function.
1945 (=, <, >, <=, >=): Use it.
1947 * dos-w32.el (minibuffer-history-case-insensitive-variables)
1948 (path-separator, null-device, buffer-file-coding-system)
1949 (lpr-headers-switches): Check system-type before modifying them.
1950 (find-buffer-file-type-coding-system): Mark obsolete.
1951 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
1952 find-file-not-found-set-buffer-file-coding-system.
1953 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
1954 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
1955 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
1956 (w32-direct-print-region-helper, w32-direct-print-region-function)
1957 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
1958 * startup.el (normal-top-level-add-subdirs-to-load-path):
1959 * ps-print.el (ps-print-region-function):
1960 * lpr.el (print-region-function): Use new name.
1962 * subr.el (custom-declare-variable-early): Remove function.
1963 (custom-declare-variable-list): Remove var.
1964 (error, user-error): Remove `while' loop.
1965 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
1966 (user-emacs-directory-warning, locate-user-emacs-file):
1968 * simple.el (read-quoted-char-radix, read-quoted-char):
1969 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
1971 * custom.el (custom-declare-variable-list): Don't process
1972 custom-declare-variable-list.
1974 * progmodes/python.el (python-shell-get-buffer): New function.
1975 (python-shell-get-process): Use it.
1976 (python-shell-send-string): Always use utf-8 and add a cookie to tell
1977 Python which encoding was used. Don't split-string since we only care
1978 about the first line. Return the temp-file, if applicable.
1979 (python-shell-send-region): Tell compile.el how to turn locations in
1980 the temp-file into locations in the source buffer.
1982 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1984 * subr.el (undefined): Add missing behavior from the C code for
1987 * rect.el: Use lexical-binding. Add new rectangular region support.
1988 (rectangle-mark): New command.
1989 (rectangle--region): New var.
1990 (deactivate-mark-hook): Reset rectangle--region.
1991 (rectangle--extract-region, rectangle--insert-for-yank)
1992 (rectangle--highlight-for-redisplay)
1993 (rectangle--unhighlight-for-redisplay): New functions.
1994 (region-extract-function, redisplay-unhighlight-region-function)
1995 (redisplay-highlight-region-function): Use them to handle
1997 * simple.el (region-extract-function): New var.
1998 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
1999 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
2000 (kill-region): Replace obsolete `yank-handler' arg with `region'.
2001 (copy-region-as-kill, kill-ring-save): Add `region' argument.
2002 (redisplay-unhighlight-region-function)
2003 (redisplay-highlight-region-function): New vars.
2004 (redisplay--update-region-highlight): New function.
2005 (pre-redisplay-function): Use it.
2006 (exchange-point-and-mark): Don't deactivate the mark before
2007 reactivate-it anyway.
2008 * comint.el (comint-kill-region): Remove yank-handler argument.
2009 * delsel.el (delete-backward-char, backward-delete-char-untabify)
2010 (delete-char): Remove property, since it's now part of their
2012 (self-insert-iso): Remove property since this command doesn't exist.
2014 * emacs-lisp/package.el (package--download-one-archive)
2015 (describe-package-1): Don't query the user about final newline.
2017 2013-10-29 Daniel Colascione <dancol@dancol.org>
2019 * net/tramp.el (tramp-methods): Document new functionality.
2020 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
2021 tramp-hostname-checker if method provides one instead of scanning
2022 argument list for "%h" to decide hostname acceptability.
2024 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
2026 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
2027 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
2028 Handle COPY-CONTENTS. (Bug#15737)
2030 2013-10-28 Daiki Ueno <ueno@gnu.org>
2033 (epa-file-cache-passphrase-for-symmetric-encryption):
2034 Document that this option has no effect with GnuPG 2.0 (bug#15552).
2036 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
2038 * image.el (defimage):
2039 (image-load-path): Doc fixes.
2041 2013-10-27 Alan Mackenzie <acm@muc.de>
2043 Indent statements in macros following "##" correctly.
2044 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
2045 Modify the "#" arm of a cond form to handle "#" and "##" operators.
2047 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2049 * linum.el (linum-update-window): Fix boundary test (bug#13446).
2051 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
2053 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
2054 after `=' is probably a new expression.
2056 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2058 * man.el (man-imenu-title): New option.
2059 (Man-mode-map): Add menu. (Bug#15722)
2060 (Man-mode): Add imenu to menu.
2062 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
2064 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
2065 specific in what the first arg can be: a non-keyword word,
2066 string/regexp/percent literal opener, opening paren, or unary
2067 operator followed directly by word.
2069 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2071 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
2072 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
2073 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
2074 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
2075 Remove vars, they do not apply any more.
2076 (prolog-mode-abbrev-table): Remove redundant declaration.
2077 (prolog-upper-case-string, prolog-lower-case-string): Remove.
2078 (prolog-use-smie): Remove.
2079 (prolog-smie-rules): Add indentation rule for the if-then-else layout
2080 supported by prolog-electric-if-then-else-flag.
2081 (prolog-mode-variables, prolog-menu): Use setq-local.
2082 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
2083 Remove binding to `Backspace' since this key doesn't exist anyway.
2084 Remove bindings for electric self-inserting keys.
2085 (prog-mode): Assume it's defined.
2086 (prolog-post-self-insert): New function.
2087 (prolog-mode): Use it.
2088 (prolog-indent-line, prolog-indent-level)
2089 (prolog-find-indent-of-matching-paren)
2090 (prolog-indentation-level-of-line, prolog-goto-comment-column)
2091 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
2092 (prolog-goto-next-paren, prolog-in-string-or-comment)
2093 (prolog-tokenize, prolog-inside-mline-comment)
2094 (prolog-find-start-of-mline-comment): Remove functions.
2095 (prolog-find-unmatched-paren, prolog-clause-end)
2096 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
2097 (prolog-electric--if-then-else): Rename from
2098 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
2099 (prolog-tokenize-searchkey): Remove const.
2100 (prolog-clause-info): Use forward-sexp.
2101 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
2102 (prolog-electric-if-then-else): Remove commands.
2103 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
2104 for use in post-self-insert-hook.
2105 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
2106 for use in post-self-insert-hook.
2107 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
2108 for use in post-self-insert-hook.
2109 (prolog-electric--underscore): Rename from prolog-electric--underscore;
2110 adapt it for use in post-self-insert-hook.
2112 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
2114 * emacs-lisp/ert.el (ert-run-tests-interactively):
2115 Use `completing-read'. (Bug#9756)
2117 2013-10-25 Eli Zaretskii <eliz@gnu.org>
2119 * simple.el (line-move): Call line-move-1 instead of
2120 line-move-visual when the current window hscroll is zero, but
2121 temporary-goal-column indicates we will need to hscroll as result
2122 of the movement. (Bug#15712)
2124 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
2126 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
2127 capitalization. Use :visible instead of :active.
2128 Fix `ruby-indent-exp' reference. Add menu items for the generic
2129 commands that are used with SMIE.
2130 (ruby-do-end-to-brace): Insert space after `{'.
2132 2013-10-25 John Anthony <john@jo.hnanthony.com>
2134 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
2136 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
2138 2013-10-25 Glenn Morris <rgm@gnu.org>
2140 * vc/vc.el (vc-print-log): Don't use a working revision unless
2141 one was explicitly specified. (Bug#15322)
2143 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2145 * subr.el (add-to-list): Preserve return value in compiler-macro
2148 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2150 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
2151 result. Ask user to retry using '-all' flag. (Bug#15701)
2153 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2155 * emacs-lisp/smie.el: New smie-config system.
2156 (smie-config): New defcustom.
2157 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
2158 (smie-config-guess, smie-config-save): New commands.
2159 (smie-config--mode-local, smie-config--buffer-local)
2160 (smie-config--trace, smie-config--modefuns): New vars.
2161 (smie-config--advice, smie-config--mode-hook)
2162 (smie-config--setter, smie-config-local, smie-config--get-trace)
2163 (smie-config--guess-value, smie-config--guess): New functions.
2164 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
2165 text properties. Treat "string fence" syntax like string syntax.
2167 * progmodes/sh-script.el (sh-use-smie): Change default.
2168 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
2169 (sh-var-value): Simplify by CSE.
2170 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
2171 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
2173 (sh-guess-basic-offset): Use cl-incf.
2174 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
2176 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
2178 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
2181 2013-10-24 Glenn Morris <rgm@gnu.org>
2183 * Makefile.in (abs_top_srcdir): Remove.
2184 (update-subdirs): Use relative path to update-subdirs.
2186 2013-10-24 Eli Zaretskii <eliz@gnu.org>
2188 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2189 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2190 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2191 Call unmsys--file-name before expand-file-name, not after it.
2193 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
2195 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
2196 (ert-test-skipped): New error.
2197 (ert-skip, ert-stats-skipped): New defuns.
2198 (ert--skip-unless): New macro.
2199 (ert-test-skipped): New struct.
2200 (ert--run-test-debugger, ert-test-result-type-p)
2201 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
2202 (ert--stats-set-test-and-result, ert-char-for-test-result)
2203 (ert-string-for-test-result, ert-run-tests-batch)
2204 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
2205 Handle skipped tests. (Bug#9803)
2207 2013-10-24 Glenn Morris <rgm@gnu.org>
2209 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
2211 * Makefile.in (abs_top_srcdir): New, set by configure.
2212 (update-subdirs): Correct build-aux location.
2214 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
2216 * vc/vc.el (vc-print-root-log): Always set `default-directory'
2217 value, whether we could auto-deduce `backend', or not.
2219 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
2220 with parameters" example. Simplify the "is it block or is it
2221 hash" check, but also make it more thorough.
2223 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
2225 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
2227 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2229 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
2232 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
2235 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
2237 * progmodes/compile.el (compilation-directory-matcher)
2238 (compilation-page-delimiter):
2239 Support GNU Make-4.0 directory quoting. (Bug#15678)
2241 2013-10-23 Leo Liu <sdl.web@gmail.com>
2243 * ido.el (ido-tidy): Handle read-only text.
2245 2013-10-23 Glenn Morris <rgm@gnu.org>
2247 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
2248 (emacs, compile, compile-always):
2249 Quote entities that might contain whitespace.
2250 (custom-deps, finder-data, autoloads): Use abs_lisp.
2251 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
2252 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
2253 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
2255 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
2257 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
2258 Use `following-char'.
2260 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2262 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
2263 * progmodes/ruby-mode.el (ruby-smie-rules):
2264 Remove corresponding workaround. Fix indentation rule of ";" so it
2265 also applies when ";" is the parent.
2267 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
2269 * frame.el (display-screens, display-pixel-height)
2270 (display-pixel-width, display-mm-width, display-backing-store)
2271 (display-save-under, display-planes, display-color-cells)
2272 (display-visual-class, display-monitor-attributes-list):
2273 Mention the optional ‘display’ argument in doc strings.
2275 2013-10-22 Michael Gauland <mikelygee@amuri.net>
2277 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
2278 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
2280 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2282 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
2283 TODO. Add "." after " @ ".
2284 (ruby-smie--at-dot-call): New function. Checks if point at method
2285 call with explicit target.
2286 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
2287 to the method name tokens when it precedes them.
2288 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
2289 (ruby-smie-rules): Add rule for indentation before and after "."
2292 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
2294 * textmodes/remember.el (remember-diary-extract-entries):
2297 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
2300 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
2302 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
2303 (ruby-smie--implicit-semi-p): Add new operator chars.
2305 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2307 (ruby-smie--args-separator-p): Check that there's no newline
2308 between method call and its arguments.
2310 2013-10-20 Alan Mackenzie <acm@muc.de>
2312 Allow comma separated lists after Java "implements".
2314 * progmodes/cc-engine.el (c-backward-over-enum-header):
2316 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
2317 from a "disallowed" list in enum fontification.
2319 2013-10-20 Johan Bockgård <bojohan@gnu.org>
2321 * startup.el (default-frame-background-mode): Remove unused defvar.
2323 * progmodes/verilog-mode.el (verilog-mode): Don't set
2324 comment-indent-function globally.
2326 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
2328 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
2329 Move Info menu item creation to ns-win.el.
2331 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
2334 * menu-bar.el: Move GNUStep specific menus...
2336 * term/ns-win.el (ns-initialize-window-system): ... to here.
2338 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2340 * simple.el (newline): Only run post-self-insert-hook when
2341 called interactively.
2343 2013-10-19 Johan Bockgård <bojohan@gnu.org>
2345 * icomplete.el (icomplete-with-completion-tables): Add :version.
2347 2013-10-19 Alan Mackenzie <acm@muc.de>
2349 Fix fontification bugs with constructors and const.
2351 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
2352 CASE 2) Remove the check for the absence of a suffix construct
2353 after a function declaration with only types (no identifiers) in
2354 the parentheses. Also, accept a function declaration with just a
2355 type inside the parentheses, if this type can be positively
2356 recognised as such, or if a prefix keyword like "explicit" nails
2357 down the construct as a declaration.
2359 2013-10-19 Eli Zaretskii <eliz@gnu.org>
2361 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
2362 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
2363 the problem whereby selecting a menu item that leads to a
2364 minibuffer prompt moves the cursor out of the minibuffer window,
2365 making it hard to type at the prompt. Suggested by Stefan Monnier
2366 <monnier@iro.umontreal.ca>.
2368 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
2370 * menu-bar.el: Don't make Services menu.
2372 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2374 * ffap.el: Handle "/usr/include/c++/<version>" directories.
2375 (ffap-alist): Use ffap-c++-mode for c++-mode.
2376 (ffap-c++-path): New variable.
2377 (ffap-c++-mode): New function.
2379 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
2381 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
2383 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
2385 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
2386 introduced on 2013-09-08, which results in an infinite loop
2387 requesting a password.
2389 2013-10-18 Glenn Morris <rgm@gnu.org>
2391 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
2393 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
2395 Sync with upstream verilog-mode revision 1a6ecec7.
2396 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2397 (verilog-mode-release-date): Remove.
2398 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
2399 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
2400 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
2401 (verilog-auto-tieoff-ignore-regexp)
2402 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
2403 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
2404 (verilog-signals-with, verilog-dir-cache-preserving)
2405 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
2407 (verilog-case-fold): New option, to control case folding in
2408 regexp searches, bug597.
2409 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
2410 (verilog-string-match-fold, verilog-in-paren-count)
2411 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
2412 (verilog-at-close-struct-p): New functions.
2413 (verilog-beg-block-re-ordered, verilog-extended-case-re)
2414 (verilog-forward-sexp, verilog-set-auto-endcomments):
2415 (verilog-leap-to-case-head): Handle "unique0" case.
2416 (verilog-in-constraint-re): New constant.
2417 (verilog-keywords, verilog-type-font-keywords):
2418 Add some SystemVerilog 1800-2012 keywords.
2419 (verilog-label-be): Remove unimplemented argument, bug669.
2420 (verilog-batch-execute-func): When batch expanding clear
2421 create-lockfiles to prevent spurious user locks when a file ends
2423 (verilog-calculate-indent, verilog-calc-1)
2424 (verilog-at-close-constraint-p, verilog-at-constraint-p)
2425 (verilog-do-indent): Fix indentation of nested constraints
2427 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
2428 (verilog-auto-inst-param): Use verilog-string-match-fold.
2429 (verilog-read-inst-module-matcher):
2430 Fix AUTOINST on gate primitives with #1.
2431 (verilog-read-decls): Fix double-declaring user-defined typed signals.
2432 Reads all user-defined typed variables.
2433 (verilog-read-defines): Fix reading definitions inside comments, bug647.
2434 (verilog-signals-matching-regexp)
2435 (verilog-signals-not-matching-regexp, verilog-auto):
2436 Respect verilog-case-fold.
2437 (verilog-diff-report): Fix line count.
2438 (verilog-auto-assign-modport): Remove unused local `modi'.
2439 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
2440 better handle multidimensional arrays.
2441 Fix packed array ports misadding bit index in AUTOINST, bug637.
2442 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
2443 to not double-declare existing outputs and inputs, respectively.
2444 (verilog-template-map): Bind U to verilog-sk-uvm-component.
2445 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
2446 (verilog-sk-uvm-component): New skeleton.
2447 (verilog-submit-bug-report): Add verilog-case-fold,
2448 remove verilog-mode-release-date.
2450 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
2452 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
2455 2013-10-18 Reuben Thomas <rrt@sc3d.org>
2457 * textmodes/remember.el (remember): set buffer-offer-save in
2458 remember buffers (bug#13566).
2460 2013-10-18 Daniel Colascione <dancol@dancol.org>
2462 When evaluating forms in ielm, direct standard output to ielm
2463 buffer. Add new ielm-return-for-effect command. Remove trailing
2464 whitespace throughout.
2466 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
2467 (ielm-return-for-effect): New command.
2468 (ielm-send-input): Accept optional `for-effect' parameter.
2469 (ielm-eval-input): Accept optional `for-effect' parameter.
2470 Bind `standard-output' to stream we create using
2471 `ielm-standard-output-impl'. Suppress printing result when
2473 (ielm-standard-output-impl): New function.
2474 (inferior-emacs-lisp-mode): Explain new features in documentation.
2476 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
2480 * net/tramp.el (tramp-debug-message): Do not check for connection
2482 (tramp-message): Use "vector" connection property.
2484 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
2485 (tramp-equal-remote, tramp-eshell-directory-change)
2486 * net/tramp-adb.el (tramp-adb-handle-copy-file)
2487 (tramp-adb-handle-rename-file)
2488 * net/tramp-cmds.el (tramp-list-remote-buffers)
2489 (tramp-cleanup-connection, tramp-cleanup-this-connection)
2490 * net/tramp-compat.el (tramp-compat-process-running-p)
2491 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
2492 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
2493 (tramp-gvfs-handle-rename-file)
2494 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
2495 (tramp-set-file-uid-gid)
2496 * net/tramp-smb.el (tramp-smb-handle-copy-file)
2497 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
2500 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
2501 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2502 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
2503 (tramp-gw-open-network-stream): Suppress unrelated traces.
2505 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
2506 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2507 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
2508 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
2509 connection property.
2511 * net/tramp-cache.el (top): Suppress traces when reading
2514 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
2515 Refactor common code. Improve debug message.
2516 (tramp-maybe-open-connection)
2517 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
2518 connection buffer too early.
2520 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
2521 from `tramp-smb-actions-with-acl'.
2522 (tramp-smb-actions-set-acl): New defconst.
2523 (tramp-smb-handle-copy-directory)
2524 (tramp-smb-action-get-acl): New defun, renamed from
2525 `tramp-smb-action-with-acl'.
2526 (tramp-smb-action-set-acl): New defun.
2527 (tramp-smb-handle-set-file-acl): Rewrite.
2529 2013-10-17 Glenn Morris <rgm@gnu.org>
2531 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
2533 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
2535 * skeleton.el (skeleton-newline): Remove.
2536 (skeleton-internal-1): Use (insert "\n") instead.
2538 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
2541 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
2542 forward-sexp-function while we redo its job (bug#15613).
2544 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
2546 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
2547 represented by lists.
2549 2013-10-16 Glenn Morris <rgm@gnu.org>
2551 * tmm.el (tmm--history): New dynamic variable.
2552 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
2554 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
2556 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
2557 (tramp-smb-errors): Add error messages.
2558 (tramp-smb-actions-with-acl): New defconst.
2559 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
2560 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
2561 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
2562 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
2563 (tramp-smb-get-stat-capability): Fix tests.
2565 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
2567 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
2570 2013-10-16 Glenn Morris <rgm@gnu.org>
2572 * ansi-color.el (ansi-color-drop-regexp):
2573 Add 1J, 1K, 2K. (Bug#15617)
2575 * files.el (hack-local-variables--warned-lexical): New.
2576 (hack-local-variables):
2577 Warn about misplaced lexical-binding. (Bug#15616)
2579 * net/eww.el (eww-render): Always set eww-current-url,
2580 and update header line. (Bug#15622)
2581 (eww-display-html): ... Rather than just doing it here.
2583 2013-10-15 Eli Zaretskii <eliz@gnu.org>
2585 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
2586 menu navigations commands.
2588 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
2590 * progmodes/subword.el (subword-capitalize): Be careful when
2591 the search for [[:alpha:]] fails (bug#15580).
2593 2013-10-14 Eli Zaretskii <eliz@gnu.org>
2595 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
2596 to commands that scroll the menu.
2598 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
2600 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
2601 Handle methods ending with `?' and `!'.
2603 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
2605 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
2606 `japanese-cp932' to `cp932' to fix the problem where saving a
2607 source file written in Shift_JIS twice would end up having
2608 `coding: japanese-cp932' which Ruby could not recognize.
2609 (ruby-mode-set-encoding): Add support for encodings mapped to nil
2610 in `ruby-encoding-map'.
2611 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
2612 doesn't need to be explicitly declared in magic comment.
2613 (ruby-encoding-map): Add type declaration for better customize UI.
2615 2013-10-13 Glenn Morris <rgm@gnu.org>
2617 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
2618 Occur buffers are read-only. http://bugs.debian.org/720775
2620 * emacs-lisp/authors.el (authors-fixed-entries):
2621 Comment out old alpha stuff.
2623 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
2625 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
2626 to `after-save-hook' instead of `before-save-hook'.
2627 (ruby-mode-set-encoding): Use the value of coding system used to
2628 write the file. Call `basic-save-buffer-1' after modifying the
2631 2013-10-13 Alan Mackenzie <acm@muc.de>
2633 Fix indentation/fontification of Java enum with
2634 "implements"/generic.
2636 * progmodes/cc-engine.el (c-backward-over-enum-header):
2637 Extracted from the three other places and enhanced to handle generics.
2638 (c-inside-bracelist-p): Uses new function above.
2639 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
2641 (c-font-lock-enum-tail): Uses new function above.
2643 2013-10-13 Kenichi Handa <handa@gnu.org>
2645 * international/mule-cmds.el (select-safe-coding-system): Remove a
2646 superfluous condition in chekcing whether a coding system is safe
2649 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
2651 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
2653 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
2655 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
2657 2013-10-13 Glenn Morris <rgm@gnu.org>
2659 * menu-bar.el (menu-bar-update-buffers):
2660 Unify Buffers menu prompt string. (Bug#15576)
2662 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
2664 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
2666 (authors-fixed-entries): Use accented form of name.
2668 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2670 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
2671 method calls (bug#15594).
2672 (ruby-smie--args-separator-p): New function.
2673 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
2674 recognize paren-free method calls.
2676 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
2677 internals of universal-argument.
2679 2013-10-11 Eli Zaretskii <eliz@gnu.org>
2681 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
2682 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
2683 dropped menu on second mouse click on the menu bar.
2685 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2687 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
2688 (explicit-shell-file-name): Declare.
2689 (sh--vars-before-point, sh--cmd-completion-table): New functions.
2690 (sh-completion-at-point-function): New function.
2692 (sh-smie--keyword-p): Remove unused argument.
2693 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
2695 (sh-set-shell): Always setup SMIE, even if we use the
2696 old indentation code.
2698 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
2700 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
2702 (ruby-smie-rules): Simplify the "do" rule. The cases when the
2703 predicate would return nil are almost non-existent.
2704 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
2706 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
2707 cache also after commands that modify the buffer but don't move
2710 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2712 * env.el (substitute-env-in-file-name): New function.
2713 (substitute-env-vars): Extend the meaning of the optional arg.
2715 2013-10-10 Eli Zaretskii <eliz@gnu.org>
2717 * term/w32-win.el (dynamic-library-alist): Define separate lists
2718 of GIF DLLs for versions before and after 5.0.0 of giflib.
2721 2013-10-10 João Távora <joaotavora@gmail.com>
2723 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
2724 not locked, use last revision and current source as
2725 defaults. (Bug#15569)
2727 2013-10-10 Masatake YAMATO <yamato@redhat.com>
2729 * menu-bar.el (menu-bar-open): Don't use popup-menu if
2732 2013-10-10 Martin Rudalics <rudalics@gmx.at>
2734 * window.el (pop-to-buffer-same-window): Fix doc-string.
2737 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
2739 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
2741 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
2743 * calendar/icalendar.el (icalendar-import-file):
2744 Fix interactive spec. (Bug#15482)
2746 2013-10-10 Glenn Morris <rgm@gnu.org>
2748 * desktop.el (desktop-save): Default to saving in .emacs.d,
2749 since PWD is no longer in desktop-path by default. (Bug#15319)
2751 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
2752 now that text mode has a menu with the same entry.
2753 (menu-bar-text-mode-auto-fill): Remove now unused func.
2754 * textmodes/text-mode.el (text-mode-map):
2755 Use auto-fill help text from menu-bar.el.
2757 2013-10-10 John Anthony <john@jo.hnanthony.com>
2759 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
2761 2013-10-09 Juri Linkov <juri@jurta.org>
2763 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
2764 instead of this-command-keys. Add universal-argument-more and
2765 universal-argument-minus to the list of prefix commands. (Bug#15568)
2767 2013-10-09 Glenn Morris <rgm@gnu.org>
2769 * vc/vc-svn.el (vc-svn-create-repo):
2770 Expand paths in file://... url. (Bug#15446)
2772 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
2774 (authors): Remove unused local variables.
2776 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2778 * profiler.el: Create a more coherent calltree from partial backtraces.
2779 (profiler-format): Hide the tail with `invisible' so that C-s can still
2780 find the hidden elements.
2781 (profiler-calltree-depth): Don't recurse so enthusiastically.
2782 (profiler-function-equal): New hash-table-test.
2783 (profiler-calltree-build-unified): New function.
2784 (profiler-calltree-build): Use it.
2785 (profiler-report-make-name-part): Indent the calltree less.
2786 (profiler-report-mode): Add visibility specs for profiler-format.
2787 (profiler-report-expand-entry, profiler-report-toggle-entry):
2788 Expand the whole subtree when provided with a prefix arg.
2790 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
2792 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
2794 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
2795 hanging iuwu-mod token.
2796 (ruby-smie--forward-token): Do not include a dot after a token in
2798 (ruby-smie--backward-token): Likewise.
2800 2013-10-08 Juri Linkov <juri@jurta.org>
2802 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
2803 to isearch-other-control-char.
2804 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
2805 and isearch-post-command-hook to post-command-hook.
2806 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
2807 and isearch-post-command-hook from post-command-hook.
2808 (isearch-unread-key-sequence)
2809 (isearch-reread-key-sequence-naturally)
2810 (isearch-lookup-scroll-key, isearch-other-control-char)
2811 (isearch-other-meta-char): Remove functions.
2812 (isearch-pre-command-hook, isearch-post-command-hook):
2813 New functions based on isearch-other-meta-char rewritten
2814 relying on the new behavior of overriding-terminal-local-map
2815 that does not replace the local keymaps any more. (Bug#15200)
2817 2013-10-08 Eli Zaretskii <eliz@gnu.org>
2819 Support menus on text-mode terminals.
2820 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
2823 * tooltip.el (tooltip-mode): Don't error out on TTYs.
2825 * menu-bar.el (popup-menu, popup-menu-normalize-position):
2826 Move here from mouse.el.
2827 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
2829 (tty-menu-navigation-map): New map for TTY menu navigation.
2831 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
2833 * frame.el (display-mouse-p): Report text-mode mouse as available
2835 (display-popup-menus-p): Report availability if mouse is
2836 available; don't condition on window-system.
2838 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
2839 (tty-menu-selected-face): New faces.
2841 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2843 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
2844 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
2845 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
2846 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
2848 (lisp-mode-variables): New `elisp' argument.
2849 (emacs-lisp-mode): Use it.
2850 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
2851 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
2853 * indent.el: Use lexical-binding.
2854 (indent-region): Add progress reporter.
2855 (tab-stop-list): Make it implicitly extend to infinity by repeating the
2857 (indent--next-tab-stop): New function to implement this behavior.
2858 (tab-to-tab-stop, move-to-tab-stop): Use it.
2860 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
2862 * indent.el (indent-rigidly--current-indentation): New function.
2863 (indent-rigidly-map): New var.
2864 (indent-rigidly): Use it to provide interactive mode (bug#8196).
2866 2013-10-08 Bastien Guerry <bzg@gnu.org>
2868 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
2870 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2872 * progmodes/perl-mode.el: Use lexical-binding.
2873 Remove redundant :group args.
2874 (perl-nochange): Change default to be closer to other major modes's
2876 (perl-indent-line): Don't consider text on current line as a
2877 valid beginning of function from which to indent.
2879 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
2880 with more than one argument (bug#15538).
2882 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
2884 * vc/pcvs.el: Use lexical-binding.
2885 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
2886 environment of `eval'.
2887 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
2888 than a list of expressions. Adjust callers.
2889 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
2891 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
2893 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
2894 case of the dot in a chained method call being on the following line.
2896 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2898 * electric.el (electric-indent-inhibit): New var.
2899 (electric-indent-post-self-insert-function): Use it.
2900 * progmodes/python.el (python-mode): Set it.
2902 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
2905 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
2907 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
2908 (css-mode): Use electric-indent-chars.
2910 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
2911 (font-lock-beg, font-lock-end): Move before first use.
2912 (nxml-mode): Use syntax-propertize-function.
2913 (nxml-after-change, nxml-after-change1): Adjust accordingly.
2914 (nxml-extend-after-change-region): Remove.
2915 * nxml/xmltok.el: Use lexical-binding.
2916 (xmltok-save): Use `declare'.
2917 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
2918 * nxml/nxml-util.el: Use lexical-binding.
2919 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
2921 * nxml/nxml-ns.el: Use lexical-binding.
2922 (nxml-ns-save): Use `declare'.
2923 (nxml-ns-prefixes-for): Avoid add-to-list.
2924 * nxml/rng-match.el: Use lexical-binding.
2925 (rng--ipattern): Use cl-defstruct.
2926 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
2927 (rng-cons-group-after, rng-subst-group-after)
2928 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
2929 Use closures instead of `(lambda...).
2931 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
2933 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
2936 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2937 Use `tramp-handle-insert-file-contents'.
2938 (tramp-gvfs-handle-insert-file-contents): Remove function.
2940 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2941 Use `save-restriction' in order to keep markers.
2943 * net/trampver.el: Update release number.
2945 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2947 * progmodes/compile.el (compilation-parse-errors):
2948 Use compilation--put-prop.
2949 (compilation--ensure-parse): Check compilation-multiline.
2951 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
2953 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
2956 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
2958 * progmodes/ruby-mode.el: Fix recently added tests.
2959 (ruby-smie-grammar): Add - and +.
2960 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
2961 (ruby-smie--backward-id): New functions.
2962 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
2963 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
2966 2013-10-07 Leo Liu <sdl.web@gmail.com>
2968 * register.el (register-preview-delay)
2969 (register-preview-functions): New variables.
2970 (register-read-with-preview, register-preview)
2971 (register-describe-oneline): New functions.
2972 (point-to-register, window-configuration-to-register)
2973 (frame-configuration-to-register, jump-to-register)
2974 (number-to-register, view-register, insert-register)
2975 (copy-to-register, append-to-register, prepend-to-register)
2976 (copy-rectangle-to-register): Use register-read-with-preview to
2977 read register. (Bug#15525)
2979 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
2981 * net/network-stream.el (network-stream-open-starttls): Don't add
2982 --insecure if it's already present, because that gnutls-cli
2983 rejects getting that parameter twice.
2985 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
2987 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
2990 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
2992 * newcomment.el (comment-use-global-state): Change default value
2993 to t, mark obsolete (Bug#15251).
2994 (comment-beginning): In addition to `comment-to-syntax', check the
2995 value of `comment-use-global-state'.
2997 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
2999 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
3000 (ruby-comment-column): Follow the global default, by default.
3001 (ruby-smie-grammar): Add assignment syntax.
3002 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
3003 open-paren, a comma, or a \.
3004 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
3005 and line continuations.
3006 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
3007 followed by implicit semi-colons. Add rule for string concatenation
3008 and for indentation at BOB.
3009 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
3011 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
3012 calling next-sexp, since next-token may have skipped chars which
3013 next-sexp doesn't know should be skipped!
3015 2013-10-05 Leo Liu <sdl.web@gmail.com>
3017 * progmodes/octave.el (octave-send-region):
3018 Call compilation-forget-errors.
3020 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3022 * vc/vc-svn.el (vc-svn-find-admin-dir):
3023 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
3024 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
3025 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
3026 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
3028 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3030 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
3032 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
3034 * subr.el (read-passwd): Hide chars even when called within a context
3035 where after-change-functions is disabled (bug#15501).
3036 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
3037 until we removed ourself from overriding-terminal-local-map.
3039 2013-10-04 Leo Liu <sdl.web@gmail.com>
3041 * progmodes/octave.el (inferior-octave-mode):
3042 Call compilation-forget-errors.
3044 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
3046 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
3048 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
3050 * net/secrets.el (secrets-create-collection): Add optional
3051 argument ALIAS. Use proper Label keyword. Append ALIAS as
3052 dbus-call-method argument. (Bug#15516)
3054 2013-10-04 Leo Liu <sdl.web@gmail.com>
3056 * progmodes/octave.el (inferior-octave-error-regexp-alist)
3057 (inferior-octave-compilation-font-lock-keywords): New variables.
3058 (compilation-error-regexp-alist)
3059 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
3060 (inferior-octave-mode): Use compilation-shell-minor-mode.
3062 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
3064 * minibuffer.el (completion--replace): Be careful that `end' might be
3067 2013-10-03 Daiki Ueno <ueno@gnu.org>
3069 Add support for package signature checking.
3070 * emacs-lisp/package.el (url-http-file-exists-p)
3071 (epg-make-context, epg-context-set-home-directory)
3072 (epg-verify-string, epg-context-result-for)
3073 (epg-signature-status, epg-signature-to-string)
3074 (epg-check-configuration, epg-configuration)
3075 (epg-import-keys-from-file): Declare.
3076 (package-check-signature): New user option.
3077 (package-unsigned-archives): New user option.
3078 (package-desc): Add `signed' field.
3079 (package-load-descriptor): Set `signed' field if .signed file exists.
3080 (package--archive-file-exists-p): New function.
3081 (package--check-signature): New function.
3082 (package-install-from-archive): Check package signature.
3083 (package--download-one-archive): Check archive signature.
3084 (package-delete): Remove .signed file.
3085 (package-import-keyring): New command.
3086 (package-refresh-contents): Import default keyring.
3087 (package-desc-status): Add "unsigned" status.
3088 (describe-package-1, package-menu--print-info)
3089 (package-menu-mark-delete, package-menu--find-upgrades)
3090 (package-menu--status-predicate): Support "unsigned" status.
3092 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3094 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
3095 the new compilation scheme using the new byte-codes.
3097 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
3098 (byte-pophandler): New byte codes.
3099 (byte-goto-ops): Adjust accordingly.
3100 (byte-compile--use-old-handlers): New var.
3101 (byte-compile-catch): Use new byte codes depending on
3102 byte-compile--use-old-handlers.
3103 (byte-compile-condition-case--old): Rename from
3104 byte-compile-condition-case.
3105 (byte-compile-condition-case--new): New function.
3106 (byte-compile-condition-case): New function that dispatches depending
3107 on byte-compile--use-old-handlers.
3108 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
3111 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
3112 Optimize under `condition-case' and `catch' if
3113 byte-compile--use-old-handlers is nil.
3114 (disassemble-offset): Handle new bytecodes.
3116 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
3118 * subr.el (error): Use `declare'.
3119 (decode-char, encode-char): Use advertised-calling-convention instead
3120 of the docstring to discourage use of the `restriction' arg.
3122 2013-10-03 Daiki Ueno <ueno@gnu.org>
3124 * epg.el (epg-verify-file): Add a comment saying that it does not
3125 notify verification error as a return value nor a signal.
3126 (epg-verify-string): Ditto.
3128 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
3130 * progmodes/compile.el (compilation-start): Try globbing the arg to
3133 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
3135 Sync with Tramp 2.2.8.
3137 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3138 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
3139 * net/trampver.el: Update release number.
3141 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
3143 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3144 and default-process-coding-system for darwin only.
3146 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3148 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
3150 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
3152 * vc/vc-git.el (vc-git-grep): Disable pager.
3154 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
3156 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
3157 Use :url instead of :homepage, as per
3158 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
3160 * newcomment.el (comment-beginning): When `comment-use-syntax' is
3161 non-nil, use `syntax-ppss' (Bug#15251).
3163 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3165 * progmodes/octave.el (inferior-octave-startup-file):
3166 Prefer ~/.emacs.d/init_octave.m.
3168 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
3170 * emacs-lisp/package.el (package-desc-from-define):
3171 Accept additional arguments as plist, convert them to an alist and store
3172 them in the `extras' slot.
3173 (package-generate-description-file): Convert extras alist back to
3174 plist and append to the `define-package' form arguments.
3175 (package--alist-to-plist): New function.
3176 (package--ac-desc): Add `extras' slot.
3177 (package--add-to-archive-contents): Check if the archive-contents
3178 vector is long enough, and if it is, pass its `extras' slot value
3179 to `package-desc-create'.
3180 (package-buffer-info): Call `lm-homepage', pass the returned value
3181 to `package-desc-from-define'.
3182 (describe-package-1): Render the homepage button (Bug#13291).
3184 * emacs-lisp/package-x.el (package-upload-buffer-internal):
3185 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
3187 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
3189 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
3190 and default-process-coding-system to utf-8-unix (Bug#15402).
3192 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
3194 * subr.el (looking-back): Do not recommend using looking-back.
3196 2013-09-28 Alan Mackenzie <acm@muc.de>
3198 Fix indentation/fontification of Java enum with "implements".
3200 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
3201 regexp which matches "implements", etc., in Java.
3202 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
3203 specifier clauses coming after "enum".
3204 * progmodes/cc-fonts.el (c-font-lock-declarations)
3205 (c-font-lock-enum-tail): Check for extra specifier clauses coming
3208 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
3210 * faces.el (region): Change ns_selection_color to
3211 ns_selection_fg_color, add ns_selection_bg_color.
3213 2013-09-28 Leo Liu <sdl.web@gmail.com>
3215 * progmodes/octave.el (inferior-octave-completion-table)
3216 (inferior-octave-completion-at-point): Minor tweaks.
3218 * textmodes/ispell.el (ispell-lookup-words): Rename from
3219 lookup-words. (Bug#15460)
3220 (lookup-words): Obsolete.
3221 (ispell-complete-word, ispell-command-loop): All uses changed.
3223 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3225 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
3226 (octave-mode-menu): Add octave-send-buffer.
3227 (octave-send-buffer): New function.
3229 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3231 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
3233 (octave-mode-menu): Add octave-lookfor.
3234 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
3236 (octave-lookfor): New function.
3238 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3240 * emacs-lisp/cl-macs.el:
3241 (cl--loop-destr-temps): Remove.
3242 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
3244 (cl--loop-set-iterator-function): New function.
3245 (cl-loop): Adjust accordingly, so as not to use cl-subst.
3246 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
3247 Bind `it' with `let' instead of substituting it with `cl-subst'.
3248 (cl--unused-var-p): New function.
3249 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
3250 Eliminate some unused variable warnings (bug#15326).
3252 2013-09-27 Tassilo Horn <tsdh@gnu.org>
3254 * doc-view.el (doc-view-scale-reset): Rename from
3255 `doc-view-reset-zoom-level'.
3256 (doc-view-scale-adjust): New command.
3257 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
3258 `doc-view-scale-adjust'.
3260 2013-09-26 Tassilo Horn <tsdh@gnu.org>
3262 * doc-view.el (doc-view-reset-zoom-level): New command.
3263 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
3264 zoom commands (bug#15466).
3266 2013-09-26 Kenichi Handa <handa@gnu.org>
3268 * international/quail.el (quail-help): Make it not a command.
3270 2013-09-26 Leo Liu <sdl.web@gmail.com>
3272 * minibuffer.el (completion-all-sorted-completions): Make args
3273 optional as they are.
3275 2013-09-25 Daniel Colascione <dancol@dancol.org>
3277 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
3278 specs are and that they're not evaluated.
3280 2013-09-24 Sam Steingold <sds@gnu.org>
3282 * midnight.el (clean-buffer-list-kill-regexps)
3283 (clean-buffer-list-kill-buffer-names): Update for the new Man
3284 buffer naming which includes the object name.
3286 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
3288 * eshell/esh-cmd.el (eshell--sep-terms): New var.
3289 (eshell-parse-command, eshell-parse-pipeline): Use it since
3290 eshell-separate-commands requires a dynamic scoped var.
3291 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
3293 2013-09-23 Leo Liu <sdl.web@gmail.com>
3295 * autoinsert.el (auto-insert-alist): Make the value of
3296 lexical-binding match its file setting.
3298 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
3300 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
3302 * autoarg.el (autoarg-kp-digit-argument):
3303 * electric.el (Electric-command-loop):
3304 * kmacro.el (kmacro-step-edit-insert):
3305 Do not set universal-argument-num-events.
3307 2013-09-22 Leo Liu <sdl.web@gmail.com>
3309 * files.el (interpreter-mode-alist): Add octave.
3311 2013-09-21 Alan Mackenzie <acm@muc.de>
3313 C++: fontify identifier in declaration following "public:" correctly.
3314 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
3315 to match "public", etc.
3316 (c-decl-prefix-re): Add ":" into the C++ value.
3317 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
3318 bit. Add a check for a ":" preceded by "public", etc.
3320 2013-09-21 Eli Zaretskii <eliz@gnu.org>
3322 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
3323 recognized by GDB 7.5 and later.
3325 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
3327 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
3329 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3331 * subr.el (internal--call-interactively): New const.
3332 (called-interactively-p): Use it (bug#3984).
3334 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
3336 * vc/pcvs.el (cvs-mode-ignore):
3337 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
3338 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
3340 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3342 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
3343 (eshell-ls-orig-insert-directory): Remove.
3344 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
3345 (eshell-ls-use-in-dired): Use advice-add/remove.
3346 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
3347 Add `orig-fun' arg for use in :around advice.
3348 Make it check (redundantly) eshell-ls-use-in-dired.
3350 2013-09-19 Glenn Morris <rgm@gnu.org>
3352 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
3354 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
3356 * emacs-lisp/eieio.el (class-parent): Undo previous change.
3358 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
3360 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
3361 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
3362 (tramp-get-remote-python): New defuns.
3363 (tramp-get-remote-uid-with-perl)
3364 (tramp-get-remote-gid-with-perl): New defuns. Perl code
3365 contributed by yary <not.com@gmail.com> (tiny change).
3366 (tramp-get-remote-uid-with-python)
3367 (tramp-get-remote-gid-with-python): New defuns. Python code
3368 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
3369 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
3371 2013-09-19 Glenn Morris <rgm@gnu.org>
3373 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
3375 * eshell/em-unix.el (eshell-remove-entries):
3376 Rename argument to avoid name-clash with global `top-level'.
3378 * eshell/esh-proc.el (eshell-kill-process-function):
3379 Remove eshell-reset-after-proc from eshell-kill-hook if present.
3380 (eshell-reset-after-proc): Remove unused arg `proc'.
3382 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
3383 (directory-files-and-attributes): Mark unused arg.
3385 * eshell/em-unix.el (eshell-remove-entries):
3386 Remove unused arg `path'. Update callers.
3388 * eshell/em-hist.el (eshell-hist-parse-arguments):
3389 Remove unused arg `silent'. Update callers.
3391 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
3392 Fix (f)boundp mix-up.
3394 * eshell/em-smart.el (eshell-smart-scroll-window)
3395 (eshell-disable-after-change):
3396 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
3398 2013-09-18 Alan Mackenzie <acm@muc.de>
3400 Fix fontification of type when followed by "const".
3401 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
3402 "known" types from fontification.
3404 2013-09-18 Glenn Morris <rgm@gnu.org>
3406 * emacs-lisp/chart.el (x-display-color-cells): Declare.
3407 (chart-face-list): Drop Emacsen without display-color-p.
3409 * net/eww.el (libxml-parse-html-region): Declare.
3410 (eww-display-html): Explicit error if no libxml2 support.
3412 * doc-view.el (doc-view-mode): Silence --without-x compilation.
3414 * image.el (image-type-from-buffer, image-multi-frame-p):
3415 Remove --without-x warning/error.
3417 * mouse.el (mouse-yank-primary):
3418 * term.el (term-mouse-paste):
3419 Reorder to silence --without-x compilation.
3421 * mpc.el (doc-view-mode): Silence --without-x compilation.
3423 * mail/rmailmm.el (rmail-mime-set-bulk-data):
3424 Silence --without-x compilation.
3426 * progmodes/gud.el (gud-find-file, gud-mode):
3427 Silence --without-x compilation.
3428 (tooltip-mode): Declare.
3430 * wdired.el (dired-backup-overwrite): Remove declaration.
3431 (wdired-mode-map): Add doc string.
3433 * custom.el (x-get-resource): Declare.
3435 * eshell/em-glob.el (ange-cache):
3436 * eshell/em-unix.el (ange-cache): Declare.
3438 * faces.el (x-display-list, x-open-connection, x-get-resource):
3441 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
3442 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
3445 * frame.el (x-display-grayscale-p, x-display-name): Declare.
3447 * net/gnutls.el (gnutls-log-level): Declare.
3449 * net/shr.el (image-size, image-animate): Declare.
3451 * simple.el (font-info): Declare.
3453 * subr.el (x-popup-dialog): Declare.
3455 * term/common-win.el (x-select-enable-primary)
3456 (x-last-selected-text-primary, x-last-selected-text-clipboard):
3459 * term/ns-win.el (x-handle-args): Declare.
3461 * term/x-win.el (x-select-enable-clipboard): Declare.
3463 * term/w32-win.el (create-default-fontset): Declare.
3465 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
3468 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
3469 (fit-frame-to-buffer): Explicit error if --without-x.
3470 (mouse-autoselect-window-select): Silence compiler.
3472 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3474 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
3475 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
3476 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
3477 * eshell/esh-util.el (eshell-sublist):
3478 Remove unused local variables.
3480 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
3482 * textmodes/two-column.el: Make 2C-split work for --without-x.
3483 (scroll-bar-columns): Autoload.
3484 (top-level): Require fringe when compiling.
3486 2013-09-18 Leo Liu <sdl.web@gmail.com>
3488 * subr.el (add-hook): Robustify to handle closure as well.
3490 2013-09-17 Glenn Morris <rgm@gnu.org>
3492 * simple.el (messages-buffer-mode-map): Unbind "g".
3494 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3496 * help-mode.el (help-mode-finish): Use derived-mode-p.
3497 Remove obsolete highlighting.
3499 * play/life.el (life-mode): Use define-derived-mode. Derive from
3501 (life): Let-bind inhibit-read-only.
3502 (life-setup): Avoid `setq'. Use `life-mode'.
3504 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
3505 which should not be needed any more.
3506 (package-menu-refresh, package-menu-describe-package): Use user-error.
3508 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
3509 (eshell-post-rewrite-command-hook): Make obsolete.
3510 (eshell-parse-command): Simplify.
3511 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
3512 (eshell--cmd): Declare.
3513 (eshell-parse-pipeline): Remove unused var `final-p'.
3514 Pass a dynvar to eshell-post-rewrite-command-hook.
3515 Implement the new eshell-post-rewrite-command-function.
3516 (eshell-invoke-directly): Remove unused arg `input'.
3517 * eshell/esh-io.el (eshell-io-initialize):
3518 Use eshell-post-rewrite-command-function (bug#15399).
3519 (eshell--apply-redirections): Rename from eshell-apply-redirections;
3520 adjust to new calling convention.
3521 (eshell-create-handles): Rename args to avoid clashing with dynvar
3524 2013-09-17 Glenn Morris <rgm@gnu.org>
3526 * simple.el (messages-buffer-mode): New major mode.
3527 (messages-buffer): New function.
3528 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
3529 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
3530 (ert-run-test): Use `messages-buffer' function.
3531 (ert--force-message-log-buffer-truncation): Ignore read-only.
3532 * help.el (view-echo-area-messages): Use `messages-buffer' function.
3533 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
3535 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
3537 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
3539 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
3541 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
3543 * icomplete.el (icomplete-in-buffer): New var.
3544 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
3545 vars and replace them with functions.
3546 (icomplete-minibuffer-setup): Adjust accordingly.
3547 (icomplete--completion-table, icomplete--completion-predicate)
3548 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
3550 (icomplete-forward-completions, icomplete-backward-completions)
3551 (icomplete-simple-completing-p, icomplete-exhibit)
3552 (icomplete-completions): Use them.
3553 (icomplete--in-region-buffer): New var.
3554 (icomplete--in-region-setup): New function.
3555 (icomplete-mode): Use it.
3557 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
3559 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
3560 return args and options.
3561 (eshell-eval-using-options): Use the new return value of
3562 eshell--do-opts to set the options's vars in their scope.
3563 (eshell--set-option): Rename from eshell-set-option.
3565 (eshell--process-option): Rename from eshell-process-option.
3567 (eshell--process-args): Use an `opt-vals' alist to store the options's
3568 values during their processing and return them additionally to the
3571 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
3573 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
3574 continuation character an operator, as far as indentation is
3575 concerned (Bug#15369).
3577 2013-09-15 Martin Rudalics <rudalics@gmx.at>
3579 * window.el (window--state-put-2): Don't process buffer state
3580 when buffer doesn't exist any more (Bug#15382).
3582 2013-09-15 Glenn Morris <rgm@gnu.org>
3584 * eshell/em-unix.el (eshell/rm):
3585 Make -f ignore missing files. (Bug#15373)
3587 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
3588 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
3589 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
3591 2013-09-14 Glenn Morris <rgm@gnu.org>
3593 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
3595 2013-09-13 Glenn Morris <rgm@gnu.org>
3597 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
3598 (dired-guess-default): Make `file' available in the env. (Bug#15363)
3600 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
3602 * frame.el (x-focus-frame): Mark as declared in frame.c.
3604 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3606 * ls-lisp.el: Use advice-add.
3607 (original-insert-directory): Remove.
3608 (ls-lisp--insert-directory): Rename from insert-directory; add
3609 `orig-fun' argument.
3610 (insert-directory): Advise.
3612 2013-09-13 Eli Zaretskii <eliz@gnu.org>
3614 * term.el (term-emulate-terminal): Decode the command string
3615 before passing it to term-command-hook. (Bug#15337)
3617 2013-09-13 Glenn Morris <rgm@gnu.org>
3619 * eshell/esh-util.el (ange-cache): Move declaration earlier.
3621 * eshell/esh-ext.el (eshell-search-path): Declare.
3623 * eshell/em-prompt.el (eshell/pwd): Autoload it.
3624 Otherwise an error occurs if eshell-dirs module not loaded.
3626 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
3628 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
3630 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
3631 `tramp-check-proper-host'. Check for a valid method name.
3633 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3634 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3635 * net/tramp-sh.el (tramp-maybe-open-connection):
3636 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
3638 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
3639 also for hash values.
3641 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3643 * term/ns-win.el (parameters): Don't declare as dynamic.
3644 (before-make-frame-hook): Don't add ineffective function.
3646 * eshell/*.el: Use lexical-binding (bug#15231).
3648 2013-09-12 Kenichi Handa <handa@gnu.org>
3650 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
3652 2013-09-12 Glenn Morris <rgm@gnu.org>
3654 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
3655 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
3657 * subr.el (do-after-load-evaluation): Also give compiler warnings
3658 when obsolete files are used (except by obsolete files).
3660 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
3661 in the status output, assume `filename' is the first. (Bug#15322)
3663 * vc/vc.el (vc-deduce-fileset): Doc fix.
3665 * calc/calc-help.el (Info-goto-node):
3666 * progmodes/cperl-mode.el (Info-find-node):
3667 * vc/ediff.el (Info-goto-node): Update declarations.
3669 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
3671 * vc/vc-bzr.el (vc-compilation-mode): Declare.
3672 (vc-bzr-pull): Require vc-dispatcher.
3673 * vc/vc-git.el (vc-compilation-mode): Declare.
3674 (vc-git-pull): Require vc-dispatcher.
3676 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
3678 * progmodes/octave.el (help-button-action): Declare.
3680 * shell.el (shell-directory-tracker): Output error as a message
3681 rather than just returning it as a string.
3682 (shell-process-pushd): Remove useless use of message.
3684 * dframe.el (dframe-timer-fn):
3685 * files.el (dir-locals-read-from-file):
3686 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
3688 * reveal.el (reveal-post-command):
3689 * saveplace.el (load-save-place-alist-from-file):
3690 * shell.el (shell-resync-dirs):
3691 * w32-common-fns.el (x-get-selection-value):
3692 * emacs-lisp/copyright.el (copyright-find-copyright):
3693 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3694 * emulation/tpu-edt.el (tpu-copy-keyfile):
3695 * play/bubbles.el (bubbles--mark-neighbourhood):
3696 * progmodes/executable.el
3697 (executable-make-buffer-file-executable-if-script-p):
3698 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
3700 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3702 Cleanup Eshell to rely less on dynamic scoping.
3703 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
3704 last-value, and ext-command here. Bind `args' closer to `body'.
3705 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
3706 (eshell--args): Declare new dynamic var.
3707 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
3708 last-value, and ext-command. Pass `args' to `body'.
3709 (eshell-process-args): Bind eshell--args.
3710 (eshell-set-option): Use eshell--args.
3711 * eshell/eshell.el (eshell): Use derived-mode-p.
3712 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
3713 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
3714 (eshell-glob-function): Declare.
3715 * eshell/esh-util.el: Require cl-lib.
3716 (eshell-read-hosts-file): Avoid add-to-list.
3717 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
3719 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
3721 (eshell/diff): Remove unused var `err'.
3722 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
3724 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
3725 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
3727 * eshell/em-glob.el (eshell-glob-matches, message-shown):
3728 Move declaration before first use.
3729 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
3730 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
3733 2013-09-12 Glenn Morris <rgm@gnu.org>
3735 * term/ns-win.el (global-map): Remove binding for ispell-next,
3736 deleted 1999-05-29. (Bug#15357)
3738 2013-09-11 Glenn Morris <rgm@gnu.org>
3740 * echistory.el (electric-command-history): Remove call to deleted func.
3742 * play/landmark.el (landmark-mode): Fix typos.
3744 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
3745 Check cvs-sort-ignore-file is bound.
3747 * savehist.el: No need for cl when compiling on Emacs.
3749 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3751 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
3753 (eshell-self-insert-command, eshell-send-invisible):
3754 Remove unused argument.
3755 (eshell-handle-control-codes): Remove unused var `orig'.
3756 Avoid delete-backward-char.
3758 * files.el (set-auto-mode): Simplify a bit further.
3760 2013-09-11 Glenn Morris <rgm@gnu.org>
3762 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
3763 (set-auto-mode): Don't regexp-quote elements.
3764 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
3765 * progmodes/cc-mode.el (interpreter-mode-alist):
3766 * progmodes/ruby-mode.el (interpreter-mode-alist):
3767 Revert previous change.
3769 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
3771 * play/snake.el (snake-mode):
3772 * play/mpuz.el (mpuz-mode):
3773 * play/landmark.el (lm-mode):
3774 * play/blackbox.el (blackbox-mode):
3775 * play/5x5.el (5x5-mode):
3776 * obsolete/options.el (Edit-options-mode):
3777 * net/quickurl.el (quickurl-list-mode):
3778 * net/newst-treeview.el (newsticker-treeview-mode):
3779 * mail/rmailsum.el (rmail-summary-mode):
3780 * mail/mspools.el (mspools-mode):
3781 * locate.el (locate-mode):
3782 * ibuffer.el (ibuffer-mode):
3783 * emulation/ws-mode.el (wordstar-mode):
3784 * emacs-lisp/debug.el (debugger-mode):
3785 * array.el (array-mode):
3786 * net/eudc.el (eudc-mode): Use define-derived-mode.
3787 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
3788 Move initialization into declaration.
3789 (mairix-searches-mode): Use define-derived-mode.
3790 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
3791 (eudc-edit-hotlist): Use dolist.
3792 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
3793 (Man-mode): Use define-derived-mode.
3794 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
3795 (Info-edit-mode): Use define-derived-mode.
3796 (Info-cease-edit): Use Info-mode.
3797 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
3799 (eshell-mode): Use define-derived-mode.
3800 * chistory.el (command-history-mode-map): Rename from
3801 command-history-map.
3802 (command-history-mode): Use define-derived-mode.
3803 (Command-history-setup): Remove function.
3804 * calc/calc.el (calc-trail-mode-map): New var.
3805 (calc-trail-mode): Use define-derived-mode.
3806 (calc-trail-buffer): Set calc-main-buffer manually.
3807 * bookmark.el (bookmark-insert-annotation): New function.
3808 (bookmark-edit-annotation): Use it.
3809 (bookmark-edit-annotation-mode): Make it a proper major mode.
3810 (bookmark-send-edited-annotation): Use derived-mode-p.
3811 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
3812 closer to its ideal place. Use \' to match EOS.
3814 * profiler.el (profiler-calltree-find): Use function-equal.
3816 2013-09-10 Glenn Morris <rgm@gnu.org>
3818 * files.el (interpreter-mode-alist): Convert to regexps.
3819 (set-auto-mode): Adapt for this. (Bug#15306)
3820 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
3821 Comment out unused variable.
3822 * progmodes/cc-mode.el (interpreter-mode-alist):
3823 * progmodes/python.el (interpreter-mode-alist):
3824 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
3825 * progmodes/sh-script.el (sh-set-shell):
3826 No longer use interpreter-mode-alist to get list of shells.
3828 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
3830 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3832 * simple.el: Use set-temporary-overlay-map for universal-argument.
3833 (universal-argument-map): Don't use default-bindings (bug#15317).
3834 Bind switch-frame explicitly. Replace universal-argument-minus with
3835 a conditional binding.
3836 (universal-argument-num-events, saved-overriding-map): Remove.
3837 (restore-overriding-map): Remove.
3838 (universal-argument--mode): Rename from save&set-overriding-map,
3840 (universal-argument, universal-argument-more, negative-argument)
3841 (digit-argument): Adjust accordingly.
3842 (universal-argument-minus): Remove.
3843 (universal-argument-other-key): Remove.
3845 * subr.el (with-demoted-errors): Add `format' argument.
3847 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
3849 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
3850 `tramp-cleanup-connection'.
3852 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
3853 parameters KEEP-DEBUG and KEEP-PASSWORD.
3855 * net/tramp.el (tramp-file-name-handler):
3856 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3857 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
3858 (tramp-maybe-open-connection):
3859 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3860 Use `tramp-cleanup-connection'.
3862 * net/tramp-sh.el (tramp-maybe-open-connection):
3863 Catch 'uname-changed inside the progress reporter.
3865 2013-09-10 Glenn Morris <rgm@gnu.org>
3867 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
3869 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
3870 returns "alternate access method" in mode (eg "-rw-r--r--.").
3872 2013-09-08 Glenn Morris <rgm@gnu.org>
3874 * saveplace.el (load-save-place-alist-from-file):
3875 Demote errors. (Bug#15305)
3877 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
3879 Improve compatibility with older Emacsen, and XEmacs.
3881 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
3882 only if it is bound. It isn't for XEmacs.
3883 (with-tramp-progress-reporter): Do not let-bind `result'.
3884 This yields to scoping errors in XEmacs.
3885 (tramp-handle-make-auto-save-file-name): New function, moved from
3888 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
3889 for `make-auto-save-file-name'.
3890 (tramp-adb--gnu-switches-to-ash):
3891 Use `tramp-compat-replace-regexp-in-string'.
3893 * net/tramp-cache.el (tramp-cache-print): Call
3894 `substring-no-properties' only if it is bound. It isn't for XEmacs.
3896 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
3897 bound. It isn't for XEmacs.
3899 * net/tramp-compat.el (tramp-compat-copy-file):
3900 Catch `wrong-number-of-arguments' error.
3901 (tramp-compat-replace-regexp-in-string): New defun.
3903 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
3904 for `make-auto-save-file-name'.
3905 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
3907 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
3908 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
3909 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
3911 * net/tramp-gw.el (tramp-gw-open-network-stream):
3912 Use `tramp-compat-replace-regexp-in-string'.
3914 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3915 Call `tramp-handle-make-auto-save-file-name'.
3916 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
3917 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3918 (tramp-sh-file-inotifywait-process-filter):
3919 Use `tramp-compat-replace-regexp-in-string'.
3920 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
3922 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
3923 for `make-auto-save-file-name'.
3924 (tramp-smb-handle-copy-directory):
3925 Call `tramp-compat-replace-regexp-in-string'.
3926 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
3927 (tramp-smb-handle-copy-file): Improve error message.
3928 (tramp-smb-handle-rename-file): Rename directly only in case
3929 `newname' does not exist yet. This is a restriction of smbclient.
3930 (tramp-smb-maybe-open-connection): Rerun the function only when
3931 `auth-sources' is non-nil.
3933 2013-09-08 Kenichi Handa <handa@gnu.org>
3935 * international/characters.el: Set category "^" (Combining) for
3938 2013-09-07 Alan Mackenzie <acm@muc.de>
3940 Correctly fontify Java class constructors.
3941 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
3943 (c-recognize-typeless-decls): Set the Java value to t.
3944 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3945 While handling a "(", add a check for, effectively, Java, and handle a
3946 "typeless" declaration there.
3948 2013-09-07 Roland Winkler <winkler@gnu.org>
3950 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
3951 field subtitle for entry type book.
3953 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3955 * minibuffer.el: Make minibuffer-complete call completion-in-region
3956 rather than other way around.
3957 (completion--some, completion-pcm--find-all-completions):
3958 Don't delay signals when debugging.
3959 (minibuffer-completion-contents): Beware fields within the
3960 minibuffer contents.
3961 (completion-all-sorted-completions): Use defvar-local.
3962 (completion--do-completion, completion--cache-all-sorted-completions)
3963 (completion-all-sorted-completions, minibuffer-force-complete):
3964 Add args `beg' and `end'.
3965 (completion--in-region-1): New fun, extracted from minibuffer-complete.
3966 (minibuffer-complete): Use completion-in-region.
3967 (completion-complete-and-exit): New fun, extracted from
3968 minibuffer-complete-and-exit.
3969 (minibuffer-complete-and-exit): Use it.
3970 (completion--complete-and-exit): Rename from
3971 minibuffer--complete-and-exit.
3972 (completion-in-region--single-word): New function, extracted from
3973 minibuffer-complete-word.
3974 (minibuffer-complete-word): Use it.
3975 (display-completion-list): Make `common-substring' argument obsolete.
3976 (completion--in-region): Call completion--in-region-1 instead of
3977 minibuffer-complete.
3978 (completion-help-at-point): Pass boundaries to
3979 minibuffer-completion-help as args rather than via an overlay.
3980 (completion-pcm--string->pattern): Use `any-delim'.
3981 (completion-pcm--optimize-pattern): New function.
3982 (completion-pcm--pattern->regex): Handle `any-delim'.
3983 * icomplete.el (icomplete-forward-completions)
3984 (icomplete-backward-completions, icomplete-completions):
3985 Adjust calls to completion-all-sorted-completions and
3986 completion--cache-all-sorted-completions.
3987 (icomplete-with-completion-tables): Default to t.
3988 * emacs-lisp/crm.el (crm--current-element): Rename from
3989 crm--select-current-element. Don't put an overlay but return the
3991 (crm--completion-command): Take two new args to bind to the boundaries.
3992 (crm-completion-help): Adjust accordingly.
3993 (crm-complete): Use completion-in-region.
3994 (crm-complete-word): Use completion-in-region--single-word.
3995 (crm-complete-and-exit): Use completion-complete-and-exit.
3997 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3999 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
4002 2013-09-06 Juri Linkov <juri@jurta.org>
4004 * info.el (Info-display-images-node): When image file doesn't exist
4005 display text version of the image if it's provided in the Info file.
4006 Otherwise, display the location of missing image from SRC attribute.
4007 Add help-echo text property from ALT attribute. (Bug#15279)
4009 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4011 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
4012 (edit-abbrevs-mode): Use define-derived-mode.
4014 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
4015 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
4017 (epa-key-list-mode, epa-key-mode, epa-info-mode):
4018 Use define-derived-mode.
4020 * epg.el (epg-start-encrypt): Minor CSE simplification.
4022 2013-09-06 William Xu <william.xwl@gmail.com>
4024 * arc-mode.el: Add support for 7za (bug#15264).
4025 (archive-7z-program): New var.
4026 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
4027 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
4028 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
4030 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
4034 * net/tramp.el (tramp-syntax, tramp-prefix-format)
4035 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
4036 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
4037 (tramp-postfix-host-format, tramp-file-name-regexp)
4038 (tramp-completion-file-name-regexp)
4039 (tramp-completion-dissect-file-name)
4040 (tramp-handle-substitute-in-file-name): Remove 'url case.
4041 (tramp-file-name-regexp-url)
4042 (tramp-completion-file-name-regexp-url): Remove constants.
4044 2013-09-06 Glenn Morris <rgm@gnu.org>
4046 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
4048 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
4050 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
4051 keywords" below "here-doc beginnings" (Bug#15270).
4053 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4055 * subr.el (pop): Use `car-safe'.
4056 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
4057 to detect unused `pop' return value.
4059 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
4061 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
4062 (python-fill-string): Remove unused var `marker'.
4063 (python-skeleton-add-menu-items): Remove unused var `items'.
4065 * international/mule-cmds.el: Require CL.
4066 (find-coding-systems-for-charsets): Avoid add-to-list.
4067 (sanitize-coding-system-list): New function, extracted from
4068 select-safe-coding-system-interactively.
4069 (select-safe-coding-system-interactively): Use it.
4070 (read-input-method-name): Accept symbols for `default'.
4072 * emacs-lisp/advice.el (defadvice): Add indent rule.
4074 2013-09-05 Daniel Hackney <dan@haxney.org>
4078 * net/browse-url.el:
4081 * net/eudcb-ldap.el:
4094 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
4095 byte compiler. Remove some unused let-bound variables.
4097 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4099 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
4100 a "ref-cell", since it gets better optimized (bug#14883).
4102 2013-09-05 Glenn Morris <rgm@gnu.org>
4104 * progmodes/cc-awk.el (c-forward-sws): Declare.
4106 2013-09-04 Glenn Morris <rgm@gnu.org>
4108 * generic-x.el [rul-generic-mode]: Require cc-mode.
4109 (c++-mode-syntax-table): Declare.
4110 (rul-generic-mode-syntax-table): Init in the defvar.
4112 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4114 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
4115 (vc-do-command, vc-set-async-update):
4116 * vc/vc-mtn.el (vc-mtn-dir-status):
4117 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
4118 (vc-hg-pull, vc-hg-merge-branch):
4119 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
4120 (vc-git-merge-branch):
4121 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
4122 (vc-cvs-dir-status-files):
4123 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
4124 (vc-bzr-dir-status-files):
4125 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
4126 * vc/vc-annotate.el: Use lexical-binding.
4127 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
4128 (vc-sentinel-movepoint): Declare.
4129 (vc-annotate): Don't use `goto-line'.
4130 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
4131 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
4132 (vc-sentinel-movepoint): Declare.
4133 * vc/vc-svn.el: Use lexical-binding.
4134 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
4136 * vc/vc-rcs.el: Use lexical-binding.
4138 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
4139 `deleted'. Don't drop errors silently.
4141 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
4143 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
4145 * vc/vc.el (vc-ignore): Rewrite.
4146 (vc-default-ignore): New function.
4147 (vc-default-ignore-completion-table): Use find-ignore-file.
4149 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
4150 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
4151 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
4152 Remove. Most code moved to vc.el.
4154 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
4156 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
4157 * net/tramp-smb.el (tramp-smb-get-file-entries):
4158 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
4159 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
4161 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
4163 (eww-change-select): Remove unused var `properties'.
4164 (eww-make-unique-file-name): Remove unused var `base'.
4166 * finder.el (finder-compile-keywords): Don't mess with windows.
4168 * calculator.el (calculator-funcall): Fix typo in last change.
4170 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
4172 * emacs-lisp/package.el (package-activate-1): Don't let a missing
4173 <pkg>-autoloads.el file stop us.
4175 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
4176 warnings, and factor out common code.
4178 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
4180 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
4181 two-character operators and whether the character preceding them
4182 changes their meaning (Bug#15208).
4184 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4186 Format code sent to Python shell for robustness.
4187 * progmodes/python.el (python-shell-buffer-substring):
4189 (python-shell-send-region, python-shell-send-buffer): Use it.
4191 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
4193 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
4194 * net/tramp.el (tramp-user-error): ... here.
4195 (tramp-find-method, tramp-check-proper-host)
4196 (tramp-dissect-file-name, tramp-debug-message)
4197 (tramp-handle-shell-command):
4198 * net/tramp-adb.el (tramp-adb-handle-shell-command):
4199 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
4201 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
4203 2013-09-02 Martin Rudalics <rudalics@gmx.at>
4205 * avoid.el (mouse-avoidance-point-position)
4206 (mouse-avoidance-too-close-p): Handle case where posn-at-point
4209 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
4211 * progmodes/python.el (python-shell-completion-get-completions):
4212 Drop use of deleted `comint-last-prompt-overlay'.
4213 (python-nav-if-name-main): New command.
4215 2013-09-01 Glenn Morris <rgm@gnu.org>
4217 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4218 Avoid leading space in $wins. Otherwise the sed command used by
4219 eg compile-main ends up containing "/*.el". (Bug#15170)
4221 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
4223 2013-08-30 Glenn Morris <rgm@gnu.org>
4225 * emacs-lisp/bytecomp.el (byte-recompile-directory):
4226 Fix is-this-a-directory logic. (Bug#15220)
4228 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4230 * textmodes/css-mode.el: Use SMIE.
4231 (css-smie-grammar): New var.
4232 (css-smie--forward-token, css-smie--backward-token)
4233 (css-smie-rules): New functions.
4234 (css-mode): Use them.
4235 (css-navigation-syntax-table): Remove var.
4236 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
4237 (css-indent-calculate, css-indent-line): Remove functions.
4239 Misc changes to reduce use of `(lambda...); and other cleanups.
4240 * cus-edit.el: Use lexical-binding.
4241 (customize-push-and-save, customize-apropos)
4242 (custom-buffer-create-internal): Use closures.
4243 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
4244 * progmodes/ada-xref.el: Use setq.
4245 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
4246 * dframe.el: Use lexical-binding.
4247 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
4248 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
4249 * descr-text.el: Use lexical-binding.
4250 (describe-text-widget, describe-text-sexp, describe-property-list):
4252 * comint.el (comint-history-isearch-push-state): Use a closure.
4253 * calculator.el: Use lexical-binding.
4254 (calculator-number-to-string): Make it work with lexical-binding.
4255 (calculator-funcall): Same and use cl-letf.
4257 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
4258 (lisp--company-doc-string, lisp--company-location): New functions.
4259 (lisp-completion-at-point): Use them to improve Company support.
4261 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
4262 params of lambda expressions.
4263 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
4264 (ruby-smie--opening-pipe-p): New function.
4265 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
4266 symbols and matched |...| for formal params.
4267 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
4268 from being treated as hanging. Handle "rescue".
4270 2013-08-29 Glenn Morris <rgm@gnu.org>
4272 * progmodes/cc-engine.el (c-pull-open-brace):
4273 Move definition before use.
4275 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4277 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
4278 are immutable. Don't use `unsafe' any more.
4279 (cl--defsubst-expand): Don't substitute at the same time as keeping
4280 a residual unused let-binding. Don't use `unsafe' any more.
4282 2013-08-29 Glenn Morris <rgm@gnu.org>
4284 * calendar/cal-china.el (calendar-chinese-year-cache):
4287 * nxml/nxml-util.el (nxml-debug-clear-inside):
4288 Use cl-loop rather than loop.
4290 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
4292 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
4294 2013-08-28 Glenn Morris <rgm@gnu.org>
4296 * progmodes/antlr-mode.el: No need to require cc-mode twice.
4298 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
4300 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
4302 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4304 * simple.el (repeat-complex-command--called-interactively-skip):
4306 (repeat-complex-command): Use it (bug#14136).
4308 * progmodes/cc-mode.el: Minor cleanup of var declarations.
4309 (c-define-abbrev-table): Add `doc' argument.
4310 (c-mode-abbrev-table, c++-mode-abbrev-table)
4311 (objc-mode-abbrev-table, java-mode-abbrev-table)
4312 (idl-mode-abbrev-table, pike-mode-abbrev-table)
4313 (awk-mode-abbrev-table): Use it.
4314 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
4315 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
4316 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
4317 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
4318 Move initialization into the declaration; and remove any
4321 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
4322 and dynamic let binding.
4324 * vc/smerge-mode.el: Remove redundant :group args.
4326 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
4329 2013-08-28 Juri Linkov <juri@jurta.org>
4331 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
4332 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
4333 (isearch-other-meta-char): Handle an undefined shifted printing
4334 character by downshifting it. (Bug#15200)
4336 2013-08-28 Juri Linkov <juri@jurta.org>
4338 * isearch.el (isearch-search): Change regexp error message for
4339 non-regexp searches. (Bug#15166)
4341 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
4343 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
4344 for portability to hosts where /bin/sh has problems.
4346 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4348 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
4350 2013-08-27 Juri Linkov <juri@jurta.org>
4352 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
4353 in the keyboard macro. (Bug#15126)
4355 2013-08-27 Juri Linkov <juri@jurta.org>
4357 * isearch.el (isearch-quote-char): Comment out converting unibyte
4358 to multibyte, thus syncing with its `quoted-insert' counterpart.
4361 2013-08-27 Martin Rudalics <rudalics@gmx.at>
4363 * window.el (display-buffer-use-some-window): Add missing
4364 argument in call of get-largest-window (Bug#15185).
4365 Reported by Stephen Leake.
4367 2013-08-27 Glenn Morris <rgm@gnu.org>
4369 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
4371 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
4373 * progmodes/python.el (python-font-lock-keywords): Don't return nil
4374 from a matcher-function unless there's no more matches (bug#15161).
4376 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4378 * minibuffer.el: Revert change from 2013-08-20.
4380 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
4381 with text property `tramp-default', if appropriate.
4382 (tramp-check-proper-host): New defun.
4383 (tramp-dissect-file-name): Do not check hostname. Revert change
4385 (tramp-backtrace): Make VEC-OR-PROC optional.
4387 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4388 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4389 * net/tramp-sh.el (tramp-maybe-open-connection):
4390 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4391 Apply `tramp-check-proper-host'.
4393 2013-08-26 Tassilo Horn <tsdh@gnu.org>
4395 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
4396 lambda expression in order to have `describe-variable' display it.
4398 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
4400 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
4401 BUF can be optional. (Bug#15186)
4403 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
4405 * progmodes/flymake.el (flymake-get-real-file-name-function):
4406 Fix broken customization. (Bug#15184)
4408 2013-08-25 Alan Mackenzie <acm@muc.de>
4410 Improve indentation of bracelists defined by macros (without "=").
4412 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
4413 expansion begins with "{", regard it as bracelist when it doesn't
4416 Parse C++ inher-intro when there's a template split over 2 lines.
4418 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
4419 rigorously the search for "class" etc. followed by ":".
4421 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
4422 random languages a regexp which never matches rather than nil.
4424 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
4426 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
4427 (c-awk-regexp-one-line-possibly-open-char-list-re)
4428 (c-awk-one-line-possibly-open-regexp-re)
4429 (c-awk-one-line-non-syn-ws*-re): Remove.
4430 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
4431 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
4432 (c-awk-space*-unclosed-regexp-/-re): New constants.
4433 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
4434 aren't regexp delimiters.
4436 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
4437 handling for a rare situation in AWK Mode involving unterminated
4440 2013-08-23 Glenn Morris <rgm@gnu.org>
4442 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
4444 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
4446 * files.el (create-file-buffer): If the result would begin with
4447 spaces, prepend a "|" instead of removing them. (Bug#15162)
4449 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
4451 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
4452 text-properties (bug#15155).
4454 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
4456 (calc-keypad-redraw): Remove unused var `pad'.
4457 (calc-keypad-press): Remove unused var `menu'.
4459 2013-08-23 Martin Rudalics <rudalics@gmx.at>
4461 * window.el (display-buffer-pop-up-frame):
4462 Call pop-up-frame-function with BUFFER current so `make-frame' will
4463 use it as the new frame's buffer (Bug#15133).
4465 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
4467 * calendar/timeclock.el: Minor cleanups.
4468 (timeclock-ask-before-exiting, timeclock-use-display-time):
4470 (timeclock-modeline-display): Define as alias before the
4472 (timeclock-mode-line-display): Use define-minor-mode.
4473 (timeclock-day-list-template): Make it a function, add an argument.
4474 (timeclock-day-list-required, timeclock-day-list-length)
4475 (timeclock-day-list-debt, timeclock-day-list-span)
4476 (timeclock-day-list-break): Adjust calls accordingly.
4478 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
4480 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
4481 Use read--expression so that completion works again.
4483 2013-08-21 Sam Steingold <sds@gnu.org>
4485 Add rudimentary inferior shell interaction
4486 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
4487 (sh-set-shell): Reset it.
4488 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
4489 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
4491 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
4493 * align.el: Use lexical-binding.
4494 (align-region): Simplify accordingly.
4496 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
4498 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
4500 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
4503 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
4507 * net/tramp-cmds.el:
4509 * net/tramp-gvfs.el:
4511 * net/tramp-sh.el: Don't wrap external variable declarations by
4512 `eval-when-compile'.
4514 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4516 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
4517 now that Emacs supports ImageMagick animations.
4519 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
4521 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
4522 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
4524 2013-08-16 Martin Rudalics <rudalics@gmx.at>
4526 * window.el (mouse-autoselect-window-select): Do autoselect when
4527 mouse pointer is on margin.
4529 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
4531 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
4533 2013-08-16 Glenn Morris <rgm@gnu.org>
4535 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
4536 Handle "Remote Directory" response of some clients. (Bug#15058)
4538 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
4539 Tweak warning. (Bug#14926)
4541 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
4542 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
4544 * image-mode.el (image-mode-map): Add menu items to reverse,
4545 increase, decrease, reset animation speed.
4546 (image--set-speed, image-increase-speed, image-decrease-speed)
4547 (image-reverse-speed, image-reset-speed): New functions.
4548 (image-mode-map): Add bindings for speed commands.
4550 * image.el (image-animate-get-speed, image-animate-set-speed):
4552 (image-animate-timeout): Respect image :speed property.
4554 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4556 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
4557 previous line (bug#15101).
4558 (debugger-eval-expression, debugger-record-expression):
4559 Use read--expression (bug#15102).
4561 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
4563 Remove byte compiler warnings, visible when compiling with
4564 `byte-compile-force-lexical-warnings' set to t.
4566 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
4567 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
4568 (tramp-handle-unhandled-file-name-directory)
4569 (tramp-handle-file-notify-add-watch, tramp-action-login)
4570 (tramp-action-succeed, tramp-action-permission-denied)
4571 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
4574 * net/tramp-adb.el (tramp-adb-parse-device-names)
4575 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
4576 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
4577 (tramp-adb-handle-file-truename): Remove unused arguments.
4579 * net/tramp-cache.el (tramp-flush-directory-property)
4580 (tramp-flush-connection-property, tramp-list-connections)
4581 (tramp-parse-connection-properties): Prefix unused arguments with "_".
4583 * net/tramp-compat.el (tramp-compat-make-temp-file):
4584 Rename FILENAME to F.
4586 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4587 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
4588 (tramp-zeroconf-parse-workstation-device-names)
4589 (tramp-zeroconf-parse-webdav-device-names)
4590 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
4592 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4593 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
4595 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
4597 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
4598 (tramp-sh-handle-insert-file-contents-literally)
4599 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
4601 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
4602 Remove unused variables.
4604 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
4605 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
4606 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
4608 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
4609 Make them a defconst.
4610 (tramp-uuencode-region): Remove unused variable.
4612 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
4614 * frameset.el (frameset--prop-setter): New function.
4615 (frameset-prop): Add gv-setter declaration.
4616 (frameset-filter-minibuffer): Deal with the case that the minibuffer
4617 parameter was already set in FILTERED. Doc fix.
4618 (frameset--record-minibuffer-relationships): Allow saving a
4619 minibufferless frame without its corresponding minibuffer frame.
4620 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
4621 frame, if the frame id matches.
4622 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
4623 frames before orphaned ones.
4624 (frameset-restore): Warn about orphaned windows, instead of error out.
4626 2013-08-14 Martin Rudalics <rudalics@gmx.at>
4628 * window.el (window-make-atom): Don't overwrite parameter
4630 (display-buffer-in-atom-window): Handle special case where we
4631 split an already atomic window.
4632 (window--major-non-side-window, display-buffer-in-side-window)
4633 (window--side-check): Ignore minibuffer window when walking
4635 (window-deletable-p): Return 'frame only if no other frame uses
4636 our minibuffer window.
4637 (record-window-buffer): Run buffer-list-update-hook.
4638 (split-window): Make sure window--check-frame won't destroy an
4639 existing atomic window in case the new window gets nested
4641 (display-buffer-at-bottom): Ignore minibuffer window when
4642 walking window tree. Don't split a side window.
4643 (pop-to-buffer): Don't set-buffer here, the select-window call
4645 (mouse-autoselect-window-select): Autoselect only if we are in the
4646 text portion of the window.
4648 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
4650 * net/shr.el (shr-parse-image-data): New function to grab both the
4651 data itself and the Content-Type.
4652 (shr-put-image): Use it.
4654 * net/eww.el (eww-display-image): Ditto.
4656 * image.el (image-content-type-suffixes): New variable.
4658 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4660 * progmodes/python.el (python-imenu--build-tree)
4661 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
4663 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
4665 * simple.el (backward-word): Mention the optional argument.
4667 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4669 * frameset.el (frameset--make): Rename constructor from make-frameset.
4670 (frameset-p, frameset-valid-p): Don't autoload.
4671 (frameset-valid-p): Use normal accessors.
4673 2013-08-13 Glenn Morris <rgm@gnu.org>
4675 * progmodes/compile.el (compile-command): Tweak example in doc.
4676 * obsolete/scribe.el (scribe-mode):
4677 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
4679 * mail/feedmail.el (feedmail-confirm-outgoing)
4680 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
4682 * cus-start.el (truncate-partial-width-windows): Fix type.
4684 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
4686 * net/shr.el (shr-table-horizontal-line): Fix custom type.
4688 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4690 * emacs-lisp/timer.el (timer--time-setter): New function.
4691 (timer--time): Use it as gv-setter.
4693 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
4694 setter is not a symbol.
4696 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
4698 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
4699 if sending fails. This makes debugging easier.
4701 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
4703 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
4704 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
4705 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
4707 2013-08-12 Eli Zaretskii <eliz@gnu.org>
4709 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
4711 2013-08-12 Glenn Morris <rgm@gnu.org>
4713 * format.el (format-annotate-function):
4714 Handle read-only text properties in the source. (Bug#14887)
4716 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
4718 * net/eww.el (eww-display-html): Ignore coding system errors.
4719 One web site uses "utf-8lias" as the coding system.
4721 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
4723 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
4725 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
4727 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
4728 (tutorial--detailed-help): Remove unused local variables.
4729 (tutorial--save-tutorial-to): Use ignore-errors.
4730 (help-with-tutorial): Use looking-at-p.
4732 * view.el (view-buffer-other-window, view-buffer-other-frame):
4733 Mark unused arguments.
4735 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
4736 (woman-select-symbol-fonts, woman, woman-find-file)
4737 (woman-insert-file-contents, woman-non-underline-faces):
4739 (woman1-unquote): Move declaration.
4741 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
4742 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
4743 argument. Remove unused local variable.
4744 (xml-parse-elem-type): Use string-match-p.
4745 (xml-substitute-numeric-entities): Use ignore-errors.
4747 * calculator.el (calculator): Mark unused argument.
4748 (calculator-paste, calculator-quit, calculator-integer-p):
4750 (calculator-string-to-number, calculator-decimal, calculator-exp)
4751 (calculator-op-or-exp): Use string-match-p.
4753 * dired.el (dired-buffer-more-recently-used-p): Declare.
4754 (dired-insert-set-properties, dired-insert-old-subdirs):
4757 * dired-aux.el (dired-compress): Use ignore-errors.
4758 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
4759 (dired-do-async-shell-command, dired-do-shell-command)
4760 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
4761 (dired-insert-subdir-validate): Use string-match-p.
4762 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
4763 (dired-add-entry): Use string-match-p, looking-at-p.
4764 (dired-insert-subdir-newpos): Remove unused local variable.
4766 * filenotify.el (file-notify-callback): Remove unused local variable.
4768 * filesets.el (filesets-error): Mark unused argument.
4769 (filesets-which-command-p, filesets-filter-dir-names)
4770 (filesets-directory-files, filesets-get-external-viewer)
4771 (filesets-ingroup-get-data): Use string-match-p.
4773 * find-file.el (ff-other-file-name, ff-other-file-name)
4774 (ff-find-the-other-file, ff-cc-hh-converter):
4775 Remove unused local variables.
4776 (ff-get-file-name): Use string-match-p.
4777 (ff-all-dirs-under): Use ignore-errors.
4779 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
4780 (follow-select-if-visible): Remove unused local variable.
4782 * forms.el (read-file-filter): Move declaration.
4783 (forms--make-format, forms--make-parser, forms-insert-record):
4784 Quote function with #'.
4785 (forms--update): Use string-match-p. Quote function with #'.
4787 * help-mode.el (help-dir-local-var-def): Mark unused argument.
4788 (help-make-xrefs): Use looking-at-p.
4789 (help-xref-on-pp): Use looking-at-p, ignore-errors.
4791 * ibuffer.el (ibuffer-ext-visible-p): Declare.
4792 (ibuffer-confirm-operation-on): Use string-match-p.
4794 * msb.el (msb-item-handler, msb-dired-item-handler):
4795 Mark unused arguments.
4797 * ses.el (ses-decode-cell-symbol)
4798 (ses-kill-override): Remove unused local variable.
4799 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
4800 (ses-load): Use ignore-errors, looking-at-p.
4801 (ses-jump-safe): Use ignore-errors.
4802 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
4804 * tabify.el (untabify, tabify): Mark unused arguments.
4806 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
4807 Mark unused argument.
4808 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
4809 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
4811 * emacs-lisp/timer.el (timer--time): Define setter with
4812 gv-define-setter to avoid deprecation warning.
4814 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
4815 (*record-cmpl-statistics-p*): Remove (was commented out).
4816 (cmpl-statistics-block): Remove (body was commented out).
4817 All callers changed.
4818 (add-completions-from-buffer, load-completions-from-file):
4819 Remove unused variables.
4821 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4823 * filecache.el (file-cache-delete-file-list):
4824 Print message only when told so.
4825 (file-cache-files-matching): Use #' in mapconcat argument.
4827 * ffap.el (ffap-url-at-point): Fix reference to variable
4828 thing-at-point-default-mail-uri-scheme.
4830 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4832 * subr.el (define-error): New function.
4833 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
4834 error-file-not-found and define with define-error.
4835 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
4836 and define with define-error.
4837 * userlock.el (file-locked, file-supersession):
4838 * simple.el (mark-inactive):
4839 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
4840 * progmodes/ada-mode.el (ada-mode-errors):
4841 * play/life.el (life-extinct):
4842 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
4843 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
4844 * nxml/rng-util.el (rng-error):
4845 * nxml/rng-uri.el (rng-uri-error):
4846 * nxml/rng-match.el (rng-compile-error):
4847 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
4848 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
4849 * nxml/nxml-rap.el (nxml-scan-error):
4850 * nxml/nxml-outln.el (nxml-outline-error):
4851 * net/soap-client.el (soap-error):
4852 * net/gnutls.el (gnutls-error):
4853 * net/ange-ftp.el (ftp-error):
4854 * mpc.el (mpc-proc-error):
4855 * json.el (json-error, json-readtable-error, json-unknown-keyword)
4856 (json-number-format, json-string-escape, json-string-format)
4857 (json-key-format, json-object-format):
4858 * jka-compr.el (compression-error):
4859 * international/quail.el (quail-error):
4860 * international/kkc.el (kkc-error):
4861 * emacs-lisp/ert.el (ert-test-failed):
4862 * calc/calc.el (calc-error, inexact-result, math-overflow)
4864 * bookmark.el (bookmark-error-no-filename):
4865 * epg.el (epg-error): Define with define-error.
4867 * time.el (display-time-event-handler)
4868 (display-time-next-load-average): Don't call sit-for since it seems
4869 unnecessary (bug#15045).
4871 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
4872 Use #' instead of ' to quote functions.
4873 (checkdoc-output-mode): Use setq-local.
4874 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
4875 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
4876 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
4877 (checkdoc-ispell, checkdoc-ispell-current-buffer)
4878 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
4879 (checkdoc-ispell-message-text, checkdoc-ispell-start)
4880 (checkdoc-ispell-continue, checkdoc-ispell-comments)
4881 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
4883 * ido.el (ido-completion-help): Fix up compiler warning.
4885 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
4887 * frameset.el (frameset-p): Add autoload cookie.
4888 (frameset--jump-to-register): New function, based on code moved from
4890 (frameset-to-register): Move from register.el. Adapt to `registerv'.
4892 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
4893 (frameset-restore, frameset-save, frameset-session-filter-alist):
4894 Remove declarations.
4895 (register-alist): Doc fix.
4896 (frameset-to-register): Move to frameset.el.
4897 (jump-to-register, describe-register-1): Remove frameset-specific code.
4899 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4901 * allout-widgets.el (allout-widgets-pre-command-business)
4902 (allout-widgets-post-command-business)
4903 (allout-widgets-after-change-handler)
4904 (allout-decorate-item-and-context, allout-set-boundary-marker)
4905 (allout-body-modification-handler)
4906 (allout-graphics-modification-handler): Mark ignored arguments.
4907 (allout-widgets-post-command-business)
4908 (allout-widgets-exposure-change-processor)
4909 (allout-widgets-exposure-undo-processor)
4910 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
4911 (allout-parse-item-at-point, allout-decorate-item-guides)
4912 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
4913 * allout.el (epa-passphrase-callback-function): Declare.
4914 (allout-overlay-insert-in-front-handler)
4915 (allout-overlay-interior-modification-handler)
4916 (allout-isearch-end-handler, allout-chart-siblings)
4917 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
4918 (allout-yank-processing, allout-process-exposed)
4919 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
4920 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
4921 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
4922 (lisp-indent-defform): Mark ignored arguments.
4923 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
4924 (calculate-lisp-indent): Remove unused variables.
4925 * international/characters.el (indian-2-column, arabic-2-column)
4926 (tibetan): Mark ignored arguments.
4927 (use-cjk-char-width-table): Mark ignored arguments.
4928 Remove unused variables.
4929 * international/fontset.el (build-default-fontset-data)
4930 (x-compose-font-name, create-fontset-from-fontset-spec):
4931 Mark ignored arguments.
4932 (fontset-plain-name): Remove unused variables.
4933 * international/mule.el (charset-id, charset-bytes, generic-char-p)
4934 (keyboard-coding-system): Mark ignored arguments.
4935 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
4936 * help.el (resize-temp-buffer-window):
4937 * window.el (display-buffer-in-major-side-window)
4938 (display-buffer-in-side-window, display-buffer-in-previous-window):
4939 Remove unused variables.
4940 * isearch.el (isearch-forward-symbol):
4941 * version.el (emacs-bzr-version-bzr):
4942 * international/mule-cmds.el (current-language-environment):
4943 * term/common-win.el (x-handle-iconic, x-handle-geometry)
4945 * term/pc-win.el (x-list-fonts, x-display-planes)
4946 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
4947 (x-server-version, x-display-screens, x-display-mm-height)
4948 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
4949 (x-selection-owner-p, x-own-selection-internal)
4950 (x-disown-selection-internal, x-get-selection-internal)
4951 (msdos-initialize-window-system):
4952 * term/tty-colors.el (tty-color-alist, tty-color-clear):
4953 * term/x-win.el (x-handle-no-bitmap-icon):
4954 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
4955 (vc-default-find-file-hook, vc-default-extra-menu):
4956 Mark ignored arguments.
4958 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4960 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
4961 break-condition in the context of the debugged code (bug#12685).
4963 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
4966 Do not use an overlay to highlight the last prompt. (Bug#14744)
4967 (comint-mode): Make comint-last-prompt buffer local.
4968 (comint-last-prompt): New variable.
4969 (comint-last-prompt-overlay): Remove. Superseded by
4971 (comint-snapshot-last-prompt, comint-output-filter):
4972 Use comint-last-prompt.
4974 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4976 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
4977 (frameset-save): Check validity of the resulting frameset.
4979 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
4981 * ido.el (ido-record-command): Add doc string.
4983 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4985 * frameset.el (frameset): Do not disable creation of the default
4986 frameset-p predicate. Doc fix.
4987 (frameset-valid-p): New function, copied from the old predicate-p.
4988 Add additional checks.
4989 (frameset-restore): Check with frameset-valid-p.
4990 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
4991 (frameset-name, frameset-description, frameset-properties)
4992 (frameset-states): Add docstring.
4993 (frameset-session-filter-alist, frameset-persistent-filter-alist)
4994 (frameset-filter-alist): Doc fixes.
4996 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
4998 * frameset.el (frameset-p, frameset-prop): Doc fixes.
5000 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5002 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
5003 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
5004 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
5005 (byte-compile-normal-call): Remove obsolescence check.
5007 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
5009 * frameset.el (frameset-restore): Doc fix.
5011 * register.el (frameset-frame-id, frameset-frame-with-id)
5012 (frameset-p, frameset-restore, frameset-save): Declare.
5013 (register-alist): Document framesets.
5014 (frameset-session-filter-alist): Declare.
5015 (frameset-to-register): New function.
5016 (jump-to-register): Implement jumping to framesets. Doc fix.
5017 (describe-register-1): Describe framesets.
5019 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
5021 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
5023 * desktop.el (desktop-save-frameset): Use new frameset-save args.
5024 Use lexical-binding.
5026 * frameset.el (frameset): Use type vector, not list (incompatible
5027 change). Do not declare a new constructor, use the default one.
5028 Upgrade suggested properties `app', `name' and `desc' to slots `app',
5029 `name' and `description', respectively, and add read-only slot
5030 `timestamp'. Doc fixes.
5031 (frameset-copy, frameset-persistent-filter-alist)
5032 (frameset-filter-alist, frameset-switch-to-gui-p)
5033 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
5034 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
5035 (frameset-filter-iconified, frameset-keep-original-display-p):
5037 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
5038 Rename from frameset-filter-(save|restore)-param. All callers changed.
5040 (frameset-p): Adapt to change to vector and be more thorough.
5041 Change arg name to OBJECT. Doc fix.
5042 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
5043 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
5044 All callers changed.
5045 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
5046 All callers changed.
5047 (frameset--record-minibuffer-relationships): Rename from
5048 frameset--process-minibuffer-frames. All callers changed.
5049 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
5050 Use new default constructor (again). Doc fix.
5051 (frameset--find-frame-if): Rename from `frameset--find-frame.
5052 All callers changed.
5053 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
5054 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
5056 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
5057 PARAMETERS and WINDOW-STATE, respectively.
5058 (frameset-restore): Add new keyword argument PREDICATE.
5059 Reset frameset--target-display to nil. Doc fix.
5061 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5063 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
5065 (bat-mode-syntax-table): Mark \n as end-of-comment.
5066 (bat-font-lock-keywords): Remove comment rule.
5068 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
5069 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
5071 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
5072 (byte-compile-callargs-warn): Use `push'.
5073 (byte-compile-arglist-warn): Ignore higher-order "calls".
5074 (byte-compile-file-form-autoload): Use `pcase'.
5075 (byte-compile-function-form): If quoting a symbol, check that it exists.
5077 2013-08-07 Eli Zaretskii <eliz@gnu.org>
5079 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
5080 and add a few popular commands found in batch files.
5081 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
5082 (dos-mode): Doc fixes.
5084 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
5086 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
5087 (dos-mode): Use setq-local. Add space after "rem".
5088 (dos-mode-syntax-table): Don't use "w" for symbol chars.
5089 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
5091 2013-08-07 Arni Magnusson <arnima@hafro.is>
5093 * progmodes/dos.el: New file.
5094 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
5097 2013-08-06 Glenn Morris <rgm@gnu.org>
5099 * calendar/calendar.el: Add new faces, and day-header-array.
5100 (calendar-weekday-header, calendar-weekend-header)
5101 (calendar-month-header): New faces.
5102 (calendar-day-header-construct): New function.
5103 (calendar-day-header-width): Also :set calendar-day-header-array.
5104 (calendar-american-month-header, calendar-european-month-header)
5105 (calendar-iso-month-header): Use calendar- faces.
5106 (calendar-generate-month):
5107 Use calendar-day-header-array for day headers; apply faces to them.
5108 (calendar-mode): Check calendar-font-lock-keywords non-nil.
5109 (calendar-abbrev-construct): Add optional maxlen argument.
5110 (calendar-day-name-array): Doc fix.
5111 (calendar-day-name-array, calendar-abbrev-length)
5112 (calendar-day-abbrev-array):
5113 Also :set calendar-day-header-array, and maybe redraw.
5114 (calendar-day-header-array): New option. (Bug#15007)
5115 (calendar-font-lock-keywords): Set to nil and make obsolete.
5116 (calendar-day-name): Add option to use header array.
5118 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
5120 * net/shr.el (shr-render-td): Remove debugging.
5121 (shr-render-td): Make width computation consistent by defaulting
5122 all zero-width columns to 10 characters. This may not be optimal,
5123 but it's at least consistent.
5124 (shr-make-table-1): Redo last change to fix the real problem in
5127 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5129 * files.el (cache-long-line-scans):
5130 Make obsolete alias to `cache-long-scans'.
5132 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5134 * frameset.el (frameset, frameset-filter-alist)
5135 (frameset-filter-params, frameset-save, frameset--reuse-frame)
5136 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
5137 (frameset-compute-pos): Rename from frameset--compute-pos,
5139 (frameset-move-onscreen): Use frameset-compute-pos.
5140 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5142 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
5143 Fix typos in docstrings.
5145 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
5147 * frame.el (get-other-frame): Tiny cleanup.
5149 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
5151 * vc/vc.el (vc-default-ignore-completion-table):
5152 Silence byte-compiler warning.
5154 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
5155 slot , which can indeed be nil.
5156 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5157 Move entry for `left' from persistent to live filter alist.
5158 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
5160 (frameset-filter-params): When restoring a frame, copy items added to
5161 `filtered', to avoid unwittingly modifying the original parameters.
5162 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
5163 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
5165 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
5166 to use looking-at-p instead of looking-at. (Bug#15028)
5168 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
5170 Revert introduction of isearch-filter-predicates (bug#14714).
5171 Rely on add-function instead.
5172 * isearch.el (isearch-filter-predicates): Rename it back to
5173 isearch-filter-predicate.
5174 (isearch-message-prefix): Use advice-function-mapc and advice
5175 properties to get the isearch-message-prefix.
5176 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
5177 instead of run-hook-with-args-until-failure.
5178 (isearch-filter-visible): Not obsolete any more.
5179 * loadup.el: Preload nadvice.
5180 * replace.el (perform-replace): Revert to funcall
5181 instead of run-hook-with-args-until-failure.
5182 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
5183 * dired-aux.el (dired-isearch-filenames-mode): Rename from
5184 dired-isearch-filenames-toggle; make it into a proper minor mode.
5185 Use add/remove-function.
5186 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
5187 Call the minor-mode rather than add/remove-hook.
5188 (dired-isearch-filter-filenames):
5189 Remove isearch-message-prefix property.
5190 * info.el (Info--search-loop): New function, extracted from Info-search.
5191 Funcall isearch-filter-predicate instead of
5192 run-hook-with-args-until-failure isearch-filter-predicates.
5193 (Info-search): Use it.
5194 (Info-mode): Use isearch-filter-predicate instead of
5195 isearch-filter-predicates.
5197 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5199 Do not call to `selected-window' where it is assumed by default.
5200 Affected functions are `window-minibuffer-p', `window-dedicated-p',
5201 `window-hscroll', `window-width', `window-height', `window-buffer',
5202 `window-frame', `window-start', `window-point', `next-window'
5203 and `window-display-table'.
5204 * abbrev.el (abbrev--default-expand):
5205 * bs.el (bs--show-with-configuration):
5206 * buff-menu.el (Buffer-menu-mouse-select):
5207 * calc/calc.el (calc):
5208 * calendar/calendar.el (calendar-generate-window):
5209 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
5211 * comint.el (send-invisible, comint-dynamic-complete-filename)
5212 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
5213 * completion.el (complete):
5214 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
5215 * disp-table.el (describe-current-display-table):
5216 * doc-view.el (doc-view-insert-image):
5217 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
5218 * ehelp.el (with-electric-help):
5219 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5220 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
5221 * emacs-lisp/helper.el (Helper-help-scroller):
5222 * emulation/cua-base.el (cua--post-command-handler-1):
5223 * eshell/esh-mode.el (eshell-output-filter):
5224 * ffap.el (ffap-gnus-wrapper):
5225 * help-macro.el (make-help-screen):
5226 * hilit-chg.el (highlight-compare-buffers):
5227 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
5228 * hl-line.el (global-hl-line-highlight):
5229 * icomplete.el (icomplete-simple-completing-p):
5230 * isearch.el (isearch-done):
5231 * jit-lock.el (jit-lock-stealth-fontify):
5232 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
5233 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
5234 * mpc.el (mpc-tagbrowser, mpc):
5235 * net/rcirc.el (rcirc-any-buffer):
5236 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
5237 * play/landmark.el (landmark-max-width, landmark-max-height):
5238 * play/zone.el (zone):
5239 * progmodes/compile.el (compilation-goto-locus):
5240 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
5241 * progmodes/etags.el (find-tag-other-window):
5242 * progmodes/fortran.el (fortran-column-ruler):
5243 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
5244 * progmodes/verilog-mode.el (verilog-point-text):
5245 * reposition.el (reposition-window):
5246 * rot13.el (toggle-rot13-mode):
5247 * server.el (server-switch-buffer):
5248 * shell.el (shell-dynamic-complete-command)
5249 (shell-dynamic-complete-environment-variable):
5250 * simple.el (insert-buffer, set-selective-display)
5251 (delete-completion-window):
5252 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
5253 (speedbar-recenter):
5254 * startup.el (fancy-splash-head):
5255 * textmodes/ispell.el (ispell-command-loop):
5256 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
5257 * tutorial.el (help-with-tutorial):
5258 * vc/add-log.el (add-change-log-entry):
5259 * vc/compare-w.el (compare-windows):
5260 * vc/ediff-help.el (ediff-indent-help-message):
5261 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
5262 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
5263 (ediff-setup-control-frame):
5264 * vc/emerge.el (emerge-position-region):
5265 * vc/pcvs-util.el (cvs-bury-buffer):
5266 * window.el (walk-windows, mouse-autoselect-window-select):
5267 * winner.el (winner-set-conf, winner-undo): Related users changed.
5269 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5271 * frameset.el (frameset--set-id): Doc fix.
5272 (frameset-frame-id, frameset-frame-id-equal-p)
5273 (frameset-locate-frame-id): New functions.
5274 (frameset--process-minibuffer-frames, frameset--reuse-frame)
5275 (frameset-restore): Use them.
5277 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
5279 Do not call to `selected-frame' where it is assumed by default.
5280 Affected functions are `raise-frame', `redraw-frame',
5281 `frame-first-window', `frame-terminal' and `delete-frame'.
5282 * calendar/appt.el (appt-disp-window):
5283 * epg.el (epg-wait-for-completion):
5284 * follow.el (follow-delete-other-windows-and-split)
5285 (follow-avoid-tail-recenter):
5286 * international/mule.el (set-terminal-coding-system):
5287 * mail/rmail.el (rmail-mail-return):
5288 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
5289 * progmodes/f90.el (f90-add-imenu-menu):
5290 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
5291 * server.el (server-switch-buffer):
5292 * simple.el (delete-completion-window):
5294 * term/xterm.el (terminal-init-xterm-modify-other-keys)
5295 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
5296 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
5297 * vc/ediff.el (ediff-documentation): Related users changed.
5298 * frame.el (selected-terminal): Remove the leftover.
5300 2013-08-05 Glenn Morris <rgm@gnu.org>
5302 * calendar/calendar.el (calendar-generate-month):
5303 Fix for calendar-column-width != 1 + calendar-day-digit-width.
5304 (calendar-generate-month, calendar-font-lock-keywords):
5305 Fix for calendar-day-header-width > length of any day name.
5307 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
5309 * desktop.el (desktop-clear): Use new name of sort predicate.
5311 * frameset.el (frameset): Add docstring. Move :version property to its
5313 (frameset-copy): Rename from copy-frameset.
5314 (frameset-p): Check more thoroughly.
5315 (frameset-prop): Do not check for :version, which is no longer a prop.
5316 (frameset-live-filter-alist, frameset-persistent-filter-alist):
5317 Use new :never value instead of t.
5318 (frameset-filter-alist): Expand and clarify docstring.
5319 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
5320 (frameset-filter-minibuffer, frameset-filter-save-param)
5321 (frameset-filter-restore-param, frameset-filter-iconified):
5322 Add pointer to docstring of frameset-filter-alist.
5323 (frameset-filter-params): Rename filter values to be more meaningful:
5324 :never instead of t, and reverse the meanings of :save and :restore.
5325 (frameset--process-minibuffer-frames): Clarify error message.
5326 (frameset-save): Avoid unnecessary and confusing call to framep.
5327 Use new BOA constructor for framesets.
5328 (frameset--reuse-list): Doc fix.
5329 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
5330 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
5331 (frameset-minibufferless-first-p): Doc fix.
5332 Rename from frameset-sort-frames-for-deletion.
5333 (frameset-restore): Doc fixes. Use new function names.
5334 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
5336 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5338 * desktop.el (desktop-restore-forces-onscreen)
5339 (desktop-restore-reuses-frames): Document :keyword constant values.
5340 (desktop-filter-parameters-alist): Remove, now identical to
5341 frameset-filter-alist.
5342 (desktop--filter-tty*): Remove, moved to frameset.el.
5343 (desktop-save-frameset, desktop-restore-frameset):
5344 Do not pass :filters argument.
5346 * frameset.el (frameset-live-filter-alist)
5347 (frameset-persistent-filter-alist): New variables.
5348 (frameset-filter-alist): Use them. Add autoload cookie.
5349 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
5350 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
5351 `frameset--id' (it's supposed to be internal to frameset.el).
5352 (frameset--process-minibuffer-frames): Ditto. Doc fix.
5353 (frameset--initial-params): New function.
5354 (frameset--get-frame): Use it. Doc fix.
5355 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
5356 Accept :all, not 'all.
5357 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
5358 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
5359 with fbound symbols. Fix frame id matching, and remove matching ids if
5360 the frame being restored is deleted. Obey :delete.
5362 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5364 * subr.el (macrop): New function.
5365 (text-clone--maintaining): New var.
5366 (text-clone--maintain): Rename from text-clone-maintain. Use it
5367 instead of inhibit-modification-hooks.
5369 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
5370 a proxy, so as handle autoloads and redefinitions of the target.
5371 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
5373 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
5374 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
5375 (pcase--mutually-exclusive-p): New function.
5376 (pcase--split-consp): Use it.
5377 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
5378 mutually exclusive with the current predicate.
5380 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
5381 (edebug-macrop): Remove. Use `macrop' instead.
5382 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
5384 * eshell/esh-cmd.el (eshell-macrop):
5385 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
5387 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5389 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
5390 (advice-mapc): New function, using it.
5391 (advice-function-member-p): New function.
5392 (advice--normalize): Store the cdr in advice--saved-rewrite since
5393 that's the part that will be changed.
5394 (advice--symbol-function): New function.
5395 (advice-remove): Handle removal before the function is defined.
5396 Adjust to new advice--saved-rewrite.
5397 (advice-member-p): Use advice-function-member-p and
5398 advice--symbol-function.
5400 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
5402 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
5403 (frameset-filter-minibuffer): Doc fix.
5404 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
5405 (frameset--set-id, frameset--process-minibuffer-frames)
5406 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
5407 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
5409 * desktop.el (desktop-clear): Only delete frames when called
5410 interactively and desktop-restore-frames is non-nil. Doc fix.
5411 (desktop-read): Set desktop-saved-frameset to nil.
5413 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
5415 * vc/vc.el (vc-ignore): Rewrite.
5416 (vc-default-ignore-completion-table):
5418 (vc--add-line, vc--remove-regexp): New functions.
5420 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
5421 (vc-svn-ignore-completion-table): New function.
5423 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
5424 (vc-hg-ignore-completion-table):
5425 (vc-hg-find-ignore-file): New functions.
5427 * vc/vc-git.el (vc-git-ignore): Rewrite.
5428 (vc-git-ignore-completion-table):
5429 (vc-git-find-ignore-file): New functions.
5431 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
5433 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
5434 (vc-bzr-ignore-completion-table):
5435 (vc-bzr-find-ignore-file): New functions.
5437 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
5439 * frameset.el (frameset-prop): New function and setter.
5440 (frameset-save): Do not modify frame list passed by the caller.
5442 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
5444 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
5446 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
5448 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
5449 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
5451 * custom.el (custom-initialize-default, custom-initialize-set)
5452 (custom-initialize-reset, custom-initialize-changed): Affect the
5453 toplevel-default-value (bug#6275, bug#14586).
5454 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
5457 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5459 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5460 Add cl-def* expressions.
5462 * frameset.el (frameset-filter-params): Fix order of arguments.
5464 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
5466 Move code related to saving frames to frameset.el.
5467 * desktop.el: Require frameset.
5468 (desktop-restore-frames): Doc fix.
5469 (desktop-restore-reuses-frames): Rename from
5470 desktop-restoring-reuses-frames.
5471 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
5472 (desktop-clear): Clear frames too.
5473 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
5474 (desktop--filter-tty*, desktop-save, desktop-read):
5475 Use frameset functions.
5476 (desktop-before-saving-frames-functions, desktop--filter-*-color)
5477 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
5478 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
5479 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
5480 (desktop--process-minibuffer-frames, desktop-save-frames)
5481 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
5482 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
5483 (desktop--sort-states, desktop-restoring-frames-p)
5484 (desktop-restore-frames): Remove. Most code moved to frameset.el.
5485 (desktop-restoring-frameset-p, desktop-restore-frameset)
5486 (desktop--check-dont-save, desktop-save-frameset): New functions.
5487 (desktop--app-id): New constant.
5488 (desktop-first-buffer, desktop-buffer-ok-count)
5489 (desktop-buffer-fail-count): Move before first use.
5490 * frameset.el: New file.
5492 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
5494 * files.el: Use lexical-binding.
5495 (dir-locals-read-from-file): Remove unused `err' variable.
5496 (hack-dir-local-variables--warned-coding): New var.
5497 (hack-dir-local-variables): Use it to avoid repeated warnings.
5498 (make-backup-file-name--default-function): New function.
5499 (make-backup-file-name-function): Use it as default.
5500 (buffer-stale--default-function): New function.
5501 (buffer-stale-function): Use it as default.
5502 (revert-buffer-insert-file-contents--default-function): New function.
5503 (revert-buffer-insert-file-contents-function): Use it as default.
5504 (insert-directory): Avoid add-to-list.
5506 * autorevert.el (auto-revert-handler): Simplify.
5507 Use buffer-stale--default-function.
5509 2013-08-01 Tassilo Horn <tsdh@gnu.org>
5511 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
5513 * whitespace.el (whitespace-ensure-local-variables): New function.
5514 (whitespace-cleanup-region): Call it.
5515 (whitespace-turn-on): Call it.
5517 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
5519 Complete file name handlers.
5521 * net/tramp.el (tramp-handle-set-visited-file-modtime)
5522 (tramp-handle-verify-visited-file-modtime)
5523 (tramp-handle-file-notify-rm-watch): New functions.
5524 (tramp-call-process): Do not bind `default-directory'.
5526 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5527 Order alphabetically.
5528 [access-file, add-name-to-file, dired-call-process]:
5529 [dired-compress-file, file-acl, file-notify-rm-watch]:
5530 [file-ownership-preserved-p, file-selinux-context]:
5531 [make-directory-internal, make-symbolic-link, set-file-acl]:
5532 [set-file-selinux-context, set-visited-file-modtime]:
5533 [verify-visited-file-modtime]: Add handler.
5534 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
5536 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
5537 [file-notify-add-watch, file-notify-rm-watch]:
5538 [set-file-times, set-visited-file-modtime]:
5539 [verify-visited-file-modtime]: Add handler.
5540 (with-tramp-gvfs-error-message)
5541 (tramp-gvfs-handle-set-visited-file-modtime)
5542 (tramp-gvfs-fuse-file-name): Remove.
5543 (tramp-gvfs-handle-file-notify-add-watch)
5544 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
5545 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
5547 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5548 Order alphabetically.
5549 [file-notify-rm-watch ]: Use default Tramp handler.
5550 [executable-find]: Remove private handler.
5551 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
5552 `default-directory'.
5553 (tramp-sh-handle-executable-find)
5554 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
5555 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5556 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
5557 Do not use `format' in `tramp-message'.
5559 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
5560 [file-notify-rm-watch, set-visited-file-modtime]:
5561 [verify-visited-file-modtime]: Add handler.
5562 (tramp-smb-call-winexe): Do not bind `default-directory'.
5564 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
5566 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
5568 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
5570 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
5572 (log-view-diff-changeset): Same.
5573 (log-view-diff-common): Call backend command `previous-revision'
5574 to find out the previous revision, in both cases. Swap the
5575 variables `to' and `fr', so that `fr' usually refers to the
5576 earlier revision (Bug#14989).
5578 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
5580 * ibuf-ext.el (ibuffer-filter-by-filename):
5581 Make it work with dired buffers too.
5583 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
5585 * emacs-lisp/re-builder.el (reb-color-display-p):
5586 * files.el (save-buffers-kill-terminal):
5587 * net/browse-url.el (browse-url):
5588 * server.el (server-save-buffers-kill-terminal):
5589 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
5590 Prefer nil to selected-frame for the first arg of frame-parameter.
5592 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
5594 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
5596 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
5598 * minibuffer.el (completion--twq-all): Try and preserve each
5599 completion's case choice (bug#14907).
5601 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5603 * net/network-stream.el (open-network-stream): Mention the new
5604 :nogreeting parameter.
5605 (network-stream-open-starttls): Use the :nogreeting parameter
5608 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
5610 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
5611 more natural than popping.
5613 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
5614 (shr-urlify): Highlight under mouse.
5616 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5618 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
5620 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
5622 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
5625 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
5626 point-min==1. Fix search string. Fix parentheses missing.
5628 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
5629 assume point-min==1. Fix search string. Fix parentheses missing.
5631 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
5633 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
5636 2013-07-29 Eli Zaretskii <eliz@gnu.org>
5638 * frame.el (frame-notice-user-settings): Avoid inflooping when the
5639 initial frame is minibuffer-less. (Bug#14841)
5641 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
5643 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
5646 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5647 (tramp-maybe-open-connection): Use it.
5649 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5651 * desktop.el (desktop--make-frame): Include `minibuffer' in the
5652 minimal set of parameters passed when creating a frame, because
5653 the minibuffer status of a frame cannot be changed later.
5655 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
5657 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
5658 replace-regexp-in-string and inadvertent omissions in previous change.
5659 (todo-filter-items): Ensure only file names are comma-separated in
5660 name of filtered items buffer.
5662 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
5664 * desktop.el: Optionally force offscreen frames back onscreen.
5665 (desktop-restoring-reuses-frames): New option.
5666 (desktop--compute-pos, desktop--move-onscreen): New functions.
5667 (desktop--make-frame): Use desktop--move-onscreen.
5669 2013-07-27 Alan Mackenzie <acm@muc.de>
5671 Fontify a Java generic method as a function.
5672 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
5675 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
5677 * calendar/todo-mode.el: Add command to rename todo files.
5678 (todo-rename-file): New command.
5679 (todo-key-bindings-t): Add key binding for it. Change the
5680 bindings of todo-filter-regexp-items(-multifile) to use `x'
5681 instead of `r', since the latter is better suited to the new
5684 2013-07-27 Alan Mackenzie <acm@muc.de>
5686 Make Java try-with-resources statement parse properly.
5687 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
5688 (c-block-stmt-1-2-key): New language constants/variables.
5689 * progmodes/cc-engine.el (c-beginning-of-statement-1)
5690 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
5691 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
5692 with c-block-stmt-1-2-key.
5694 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
5696 * desktop.el (desktop--make-frame): Apply most frame parameters after
5697 creating the frame to force (partially or totally) offscreen frames to
5698 be restored as such.
5700 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
5702 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
5705 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5707 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
5708 `base' arg of backtrace-frame.
5710 2013-07-26 Eli Zaretskii <eliz@gnu.org>
5712 * simple.el (list-processes): Doc fix.
5714 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5716 * desktop.el (desktop--select-frame):
5717 Try harder to reuse existing frames.
5719 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5721 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
5722 (edebug-eval): Use backtrace-eval.
5723 (edebug--display, edebug--recursive-edit): Don't let-bind the
5724 edebug-outer-* vars that keep track of variables we locally let-bind.
5725 (edebug-outside-excursion): Don't restore outside values of locally
5727 (edebug--display): Use user-error.
5728 (cl-lexical-debug, cl-debug-env): Remove.
5730 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
5732 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
5733 are restored to be sure that they are visible before deleting any
5736 2013-07-26 Matthias Meulien <orontee@gmail.com>
5738 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
5739 vc-print-root-log. (Bug#14948)
5741 2013-07-26 Richard Stallman <rms@gnu.org>
5743 Add aliases for encrypting mail.
5744 * epa.el (epa-mail-aliases): New option.
5745 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
5746 Bind inhibit-read-only so read-only text doesn't ruin everything.
5747 (epa-mail-default-recipients): New subroutine broken out.
5748 Handle epa-mail-aliases.
5750 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5752 Add support for lexical variables to the debugger's `e' command.
5753 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
5754 vars, except for debugger-outer-match-data.
5755 (debugger-frame-number): Move check for "on a function call" from
5756 callers into it. Add `skip-base' argument.
5757 (debugger-frame, debugger-frame-clear): Simplify accordingly.
5758 (debugger-env-macro): Only reset the state stored in non-variables,
5759 i.e. current-buffer and match-data.
5760 (debugger-eval-expression): Rewrite using backtrace-eval.
5761 * subr.el (internal--called-interactively-p--get-frame): Remove.
5762 (called-interactively-p):
5763 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
5764 `base' arg of backtrace-frame instead.
5766 2013-07-26 Glenn Morris <rgm@gnu.org>
5768 * align.el (align-regexp): Doc fix. (Bug#14857)
5769 (align-region): Explicit error if subexpression missing/does not match.
5771 * simple.el (global-visual-line-mode):
5772 Do not duplicate the mode lighter. (Bug#14858)
5774 2013-07-25 Martin Rudalics <rudalics@gmx.at>
5776 * window.el (display-buffer): In display-buffer bind
5777 split-window-keep-point to t, bug#14829.
5779 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5781 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
5782 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
5783 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
5784 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5786 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
5787 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
5789 2013-07-25 Glenn Morris <rgm@gnu.org>
5791 * dired-x.el (dired-mark-extension): Convert comment to doc string.
5793 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
5795 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
5796 parameter to modify-frame-parameters if the value has not changed;
5797 this is a workaround for bug#14949.
5798 (desktop--make-frame): On cl-delete-if call, check parameter name,
5801 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
5803 * vc/vc.el (vc-ignore): New function.
5805 * vc/vc-svn.el (vc-svn-ignore): New function.
5807 * vc/vc-hg.el (vc-hg-ignore): New function.
5809 * vc/vc-git.el (vc-git-ignore): New function.
5811 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
5812 (vc-dir-ignore): New function.
5814 * vc/vc-cvs.el (vc-cvs-ignore): New function.
5815 (cvs-append-to-ignore): Move here from pcvs.el.
5817 * vc/vc-bzr.el (vc-bzr-ignore): New function.
5819 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
5821 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
5823 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
5824 (desktop-restore-frames): Warn when deleting an existing frame failed.
5826 2013-07-24 Glenn Morris <rgm@gnu.org>
5828 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
5830 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
5832 * filenotify.el (file-notify-supported-p):
5833 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
5836 * autorevert.el (auto-revert-use-notify):
5837 (auto-revert-notify-add-watch):
5838 * net/tramp.el (tramp-file-name-for-operation):
5839 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5840 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5841 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5842 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
5843 Remove `file-notify-supported-p' entry.
5845 2013-07-24 Glenn Morris <rgm@gnu.org>
5847 * printing.el: Replace all uses of deleted ps-windows-system,
5848 ps-lp-system, ps-flatten-list with lpr- versions.
5850 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5852 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
5853 checked with memq (bug#14935).
5855 * files.el (revert-buffer-function): Use a non-nil default.
5856 (revert-buffer-preserve-modes): Declare var to
5857 provide access to the `preserve-modes' argument.
5858 (revert-buffer): Let-bind it.
5859 (revert-buffer--default): New function, extracted from revert-buffer.
5861 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
5863 * lpr.el: Signal print errors more prominently.
5864 (print-region-function): Don't default to nil.
5865 (lpr-print-region): New function, extracted from print-region-1.
5866 Check lpr's return value and signal an error in case of problem.
5867 (print-region-1): Use it.
5868 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
5870 (ps-printer-name): Default to nil.
5871 (ps-printer-name-option): Default to lpr-printer-switch.
5872 (ps-print-region-function): Don't default to nil.
5873 (ps-postscript-code-directory): Simplify default.
5874 (ps-do-despool): Use lpr-print-region to properly check the outcome.
5875 (ps-string-list, ps-eval-switch, ps-flatten-list)
5876 (ps-flatten-list-1): Remove.
5877 (ps-multibyte-buffer): Avoid setq.
5878 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
5879 (print-region-function, ps-print-region-function): Don't set them here.
5881 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
5883 * ido.el (ido-fractionp):
5884 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
5885 (ido-max-file-prompt-width, ido-unc-hosts-cache)
5886 (ido-max-directory-size, ido-max-dir-file-cache)
5887 (ido-decorations): Doc fix.
5889 * ansi-color.el: Fix old URL.
5891 2013-07-23 Michael R. Mauger <michael@mauger.com>
5893 * progmodes/sql.el: Version 3.3
5894 (sql-product-alist): Improve oracle :prompt-cont-regexp.
5895 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
5896 (sql-interactive-remove-continuation-prompt): Rewrite, use
5897 functions above. Fix continuation prompt and complete output line
5899 (sql-redirect-one, sql-execute): Use `read-only-mode' on
5900 redirected output buffer.
5901 (sql-mode): Restore deleted code (Bug#13591).
5903 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5905 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
5907 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
5909 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
5911 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
5912 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5913 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
5915 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
5917 * desktop.el (desktop-clear): Simplify; remove useless checks
5918 against invalid buffer names.
5919 (desktop-list*): Use cl-list*.
5920 (desktop-buffer-info, desktop-create-buffer): Simplify.
5922 2013-07-23 Leo Liu <sdl.web@gmail.com>
5924 * bookmark.el (bookmark-make-record): Restore NAME as a default
5927 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
5929 * emacs-lisp/autoload.el (autoload--setup-output): New function,
5930 extracted from autoload--insert-text.
5931 (autoload--insert-text): Remove.
5932 (autoload--print-cookie-text): New function, extracted from
5933 autoload--insert-cookie-text.
5934 (autoload--insert-cookie-text): Remove.
5935 (autoload-generate-file-autoloads): Adjust calls accordingly.
5937 * winner.el (winner-hook-installed-p): Remove.
5938 (winner-mode): Simplify accordingly.
5940 * subr.el (add-to-list): Fix compiler-macro when `append' is
5941 not constant. Don't use `cl-member' for the base case.
5943 * progmodes/subword.el: Fix boundary case (bug#13758).
5944 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
5946 (subword-backward-regexp): Make it a constant.
5947 (subword-forward-internal): Don't treat a trailing capital as the
5948 beginning of a word.
5950 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
5952 * emacs-lisp/package.el (package-menu-mode): Don't modify the
5953 global value of tabulated-list-revert-hook (bug#14930).
5955 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
5957 * desktop.el: Require 'cl-lib.
5958 (desktop-before-saving-frames-functions): New hook.
5959 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
5960 for frames being saved. Rename from desktop--save-minibuffer-frames.
5961 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
5962 Do not save frames with non-nil `desktop-dont-save' parameter.
5963 Filter out deleted frames.
5964 (desktop--find-frame): Use cl-find-if.
5965 (desktop--select-frame): Use cl-(first|second|third) to access values
5967 (desktop--make-frame): Use cl-delete-if.
5968 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
5969 (desktop-restore-frames): Use cl-(first|second|third) to access values
5970 of desktop-mini. Look for visible frame at the end, not while
5973 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
5974 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
5975 Use string-match-p, looking-at-p (bug#14927).
5977 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
5979 * desktop.el (desktop-saved-frame-states):
5980 Rename from desktop--saved-states; all users changed.
5981 (desktop-save-frames): Rename from desktop--save-frames.
5982 Do not save state to desktop file.
5983 (desktop-save): Save desktop-saved-frame-states to desktop file
5985 (desktop-restoring-frames-p): New function.
5986 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
5987 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
5988 buffer-lists when restoring frames. Suggested by Martin Rudalics.
5990 * desktop.el: Correctly restore iconified frames.
5991 (desktop--filter-iconified-position): New function.
5992 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
5994 2013-07-20 Glenn Morris <rgm@gnu.org>
5996 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
5997 Let `message' do the formatting.
5998 (def-gdb-preempt-display-buffer): Add explicit format.
6000 * image-dired.el (image-dired-track-original-file):
6001 Use with-current-buffer.
6002 (image-dired-track-thumbnail): Use with-current-buffer.
6003 Avoid changing point of wrong window.
6005 * image-dired.el (image-dired-track-original-file):
6006 Avoid changing point of wrong window. (Bug#14909)
6008 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
6010 * progmodes/gdb-mi.el (gdb-done-or-error):
6011 Guard against "%" in gdb output. (Bug#14127)
6013 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
6015 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
6018 * international/mule.el (coding-system-iso-2022-flags): Fix last
6021 2013-07-20 Kenichi Handa <handa@gnu.org>
6023 * international/mule.el (coding-system-iso-2022-flags):
6024 Add `8-bit-level-4'. (Bug#8522)
6026 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6028 * net/shr.el (shr-mouse-browse-url): New command and keystroke
6031 * net/eww.el (eww-process-text-input): Allow inputting when the
6032 point is at the start of the line, as the properties aren't
6035 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
6038 2013-07-19 Richard Stallman <rms@gnu.org>
6040 * epa.el (epa-popup-info-window): Doc fix.
6042 * subr.el (split-string): New arg TRIM.
6044 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
6046 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
6047 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
6049 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
6051 * filenotify.el (file-notify--library): Rename from
6052 `file-notify-support'. Do not autoload. Adapt all uses.
6053 (file-notify-supported-p): New defun.
6055 * autorevert.el (auto-revert-use-notify):
6056 Use `file-notify-supported-p' instead of `file-notify-support'.
6058 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
6060 * net/tramp.el (tramp-file-name-for-operation):
6061 Add `file-notify-supported-p'.
6063 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
6065 (tramp-sh-file-name-handler-alist): Add it as handler for
6066 `file-notify-supported-p '.
6068 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6069 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
6070 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
6071 Add `ignore' as handler for `file-notify-*' functions.
6073 2013-07-17 Eli Zaretskii <eliz@gnu.org>
6075 * simple.el (line-move-partial, line-move): Don't start vscroll or
6076 scroll-up if the current line is not taller than the window.
6079 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
6081 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
6082 highlight question marks in the method names as strings.
6083 (ruby-block-beg-keywords): Inline.
6084 (ruby-font-lock-keyword-beg-re): Extract from
6085 `ruby-font-lock-keywords'.
6087 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
6089 * frame.el (blink-cursor-blinks): New defcustom.
6090 (blink-cursor-blinks-done): New defvar.
6091 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
6092 (blink-cursor-timer-function): Check if number of blinks has been
6094 (blink-cursor-suspend, blink-cursor-check): New defuns.
6096 2013-07-15 Glenn Morris <rgm@gnu.org>
6098 * edmacro.el (edmacro-format-keys): Fix previous change.
6100 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
6102 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
6103 The hack didn't work outside English locales anyway.
6105 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
6107 * simple.el (define-alternatives): Rename from alternatives-define,
6108 per RMS' suggestion.
6110 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
6112 * desktop.el (desktop-restore-frames): Change default to t.
6113 (desktop-restore-in-current-display): Now offer more options.
6114 (desktop-restoring-reuses-frames): New customization option.
6115 (desktop--saved-states): Doc fix.
6116 (desktop-filter-parameters-alist): New variable, renamed and expanded
6117 from desktop--excluded-frame-parameters.
6118 (desktop--target-display): New variable.
6119 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
6120 (desktop--filter-tty*, desktop--filter-*-color)
6121 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6122 (desktop--filter-save-desktop-parm)
6123 (desktop-restore-in-original-display-p): New functions.
6124 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
6125 (desktop--save-minibuffer-frames): New function, inspired by a similar
6126 function from Martin Rudalics.
6127 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
6128 (desktop--restore-in-this-display-p): Remove.
6129 (desktop--find-frame): Rename from desktop--find-frame-in-display
6130 and add predicate argument.
6131 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
6132 (desktop--reuse-list): New variable.
6133 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
6135 (desktop--restore-frames): Add support for "minibuffer-special" frames.
6137 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
6139 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
6141 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
6143 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6144 Highlight conversion methods on Kernel.
6146 2013-07-13 Alan Mackenzie <acm@muc.de>
6148 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
6149 and comment it out. This out-commenting enables certain C++
6150 declarations to be parsed correctly.
6152 2013-07-13 Eli Zaretskii <eliz@gnu.org>
6154 * international/mule.el (define-coding-system): Doc fix.
6156 * simple.el (default-font-height): Don't call font-info if the
6157 frame's default font didn't change since the frame was created.
6160 2013-07-13 Leo Liu <sdl.web@gmail.com>
6162 * ido.el (ido-read-file-name): Guard against non-symbol value.
6164 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6166 * progmodes/python.el (python-imenu--build-tree): Fix corner case
6169 2013-07-13 Leo Liu <sdl.web@gmail.com>
6171 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
6172 ido-set-matches call. (Bug#6852)
6174 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
6176 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
6177 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
6179 (ruby-font-lock-keywords): Distinguish calls to functions with
6180 module-like names from module references. Highlight character
6183 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6185 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
6186 (gdb-send): Handle continued commands. (Bug#14847)
6188 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6190 * desktop.el (desktop--v2s): Remove unused local variable.
6191 (desktop-save-buffer): Make defvar-local; adjust docstring.
6192 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
6193 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
6195 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
6197 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
6199 2013-07-12 Eli Zaretskii <eliz@gnu.org>
6201 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
6204 2013-07-12 Glenn Morris <rgm@gnu.org>
6206 * doc-view.el: Require cl-lib at runtime too.
6207 (doc-view-remove-if): Remove.
6208 (doc-view-search-next-match, doc-view-search-previous-match):
6211 * edmacro.el: Require cl-lib at runtime too.
6212 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
6213 (edmacro-mismatch, edmacro-subseq): Remove.
6215 * shadowfile.el: Require cl-lib.
6216 (shadow-remove-if): Remove.
6217 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
6220 * wid-edit.el: Require cl-lib.
6221 (widget-choose): Use cl-remove-if.
6222 (widget-remove-if): Remove.
6224 * progmodes/ebrowse.el: Require cl-lib at runtime too.
6225 (ebrowse-delete-if-not): Remove.
6226 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
6227 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
6228 Use cl-delete-if-not.
6230 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
6232 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
6233 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
6235 2013-07-12 Leo Liu <sdl.web@gmail.com>
6237 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
6239 2013-07-11 Glenn Morris <rgm@gnu.org>
6241 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
6242 (edebug-gensym-index, edebug-gensym):
6243 Remove reimplementation of cl-gensym.
6244 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
6246 * thumbs.el: Require cl-lib at run-time too.
6247 (thumbs-gensym-counter, thumbs-gensym):
6248 Remove reimplementation of cl-gensym.
6249 (thumbs-temp-file): Use cl-gensym.
6251 * emacs-lisp/ert.el: Require cl-lib at runtime too.
6252 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
6253 (ert--intersection, ert--set-difference, ert--set-difference-eq)
6254 (ert--union, ert--gensym-counter, ert--gensym-counter)
6255 (ert--coerce-to-vector, ert--remove*, ert--string-position)
6256 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
6257 (ert-make-test-unbound, ert--expand-should-1)
6258 (ert--expand-should, ert--should-error-handle-error)
6259 (should-error, ert--explain-equal-rec)
6260 (ert--plist-difference-explanation, ert-select-tests)
6261 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
6262 Use cl-lib functions rather than reimplementations.
6264 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
6266 * net/tramp.el (tramp-methods): Extend docstring.
6267 (tramp-connection-timeout): New defcustom.
6268 (tramp-error-with-buffer): Reset timestamp only when appropriate.
6269 (with-tramp-progress-reporter): Simplify.
6270 (tramp-process-actions): Improve messages.
6272 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6273 * net/tramp-sh.el (tramp-maybe-open-connection):
6274 Use `tramp-connection-timeout'.
6275 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
6278 2013-07-11 Leo Liu <sdl.web@gmail.com>
6280 * ido.el (ido-read-file-name): Conform to the requirements of
6281 read-file-name. (Bug#11861)
6282 (ido-read-directory-name): Conform to the requirements of
6283 read-directory-name.
6285 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
6287 * subr.el (delay-warning): New function.
6289 2013-07-10 Eli Zaretskii <eliz@gnu.org>
6291 * simple.el (default-line-height): New function.
6292 (line-move-partial, line-move): Use it instead of computing the
6294 (line-move-partial): Always compute ROWH. If the last line is
6295 partially-visible, but its text is completely visible, allow
6296 cursor to enter such a partially-visible line.
6298 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
6300 Improve error messages. (Bug#14808)
6302 * net/tramp.el (tramp-current-connection): New defvar, moved from
6304 (tramp-message-show-progress-reporter-message): Remove, not
6306 (tramp-error-with-buffer): Show message in minibuffer.
6307 Discard input before waiting. Reset connection timestamp.
6308 (with-tramp-progress-reporter): Improve messages.
6309 (tramp-process-actions): Use progress reporter. Delete process in
6310 case of error. Improve messages.
6312 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
6313 Call `tramp-error-with-buffer' with vector and buffer.
6314 (tramp-current-connection): Remove.
6315 (tramp-maybe-open-connection): The car of
6316 `tramp-current-connection' are the first 3 slots of the vector.
6318 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
6320 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
6321 inside continued strings.
6323 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
6325 Timestamp fixes for undo (Bug#14824).
6326 * files.el (clear-visited-file-modtime): Move here from fileio.c.
6328 2013-07-10 Leo Liu <sdl.web@gmail.com>
6330 * files.el (require-final-newline): Allow safe local value.
6333 2013-07-09 Leo Liu <sdl.web@gmail.com>
6335 * ido.el (ido-read-directory-name): Handle fallback.
6336 (ido-read-file-name): Update DIR to ido-current-directory.
6338 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
6340 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
6342 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
6343 "autoload". Remove "warn lower camel case" section, previously
6344 commented out. Highlight negation char. Do not highlight the
6345 target in singleton method definitions.
6347 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
6349 * faces.el (tty-setup-hook): Declare the hook.
6351 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
6352 and detect when a guard/pred depends on local vars (bug#14773).
6353 (pcase--u1): Adjust caller.
6355 2013-07-08 Eli Zaretskii <eliz@gnu.org>
6357 * simple.el (line-move-partial, line-move): Account for
6359 (line-move-partial): Avoid setting vscroll when the last
6360 partially-visible line in window is of default height.
6362 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
6364 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
6367 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
6369 * subr.el (read-quoted-char): Remove unused local variable `char'.
6371 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
6373 * ediff.el (ediff-version): Version update.
6374 (ediff-files-command, ediff3-files-command, ediff-merge-command)
6375 (ediff-merge-with-ancestor-command, ediff-directories-command)
6376 (ediff-directories3-command, ediff-merge-directories-command)
6377 (ediff-merge-directories-with-ancestor-command): New functions.
6378 All are command-line interfaces to ediff: to facilitate calling
6379 Emacs with the appropriate ediff functions invoked.
6381 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
6382 (viper-save-kill-buffer): Check if buffer is modified.
6384 * viper.el (viper-version): Version update.
6385 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
6387 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
6389 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
6390 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
6391 (viper-intercept-ESC-key): Simplify.
6392 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
6393 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
6394 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
6395 (viper-setup-ESC-to-escape): New functions.
6396 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
6397 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
6399 2013-07-07 Eli Zaretskii <eliz@gnu.org>
6401 * simple.el (default-font-height, window-screen-lines):
6403 (line-move, line-move-partial): Use them instead of
6404 frame-char-height and window-text-height. This makes scrolling
6405 text smoother when the buffer's default face uses a font that is
6406 different from the frame's default font.
6408 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
6410 * files.el (write-file): Do not display confirm dialog for NS,
6411 it does its own dialog, which can't be cancelled (Bug#14578).
6413 2013-07-06 Eli Zaretskii <eliz@gnu.org>
6415 * simple.el (line-move-partial): Adjust the row returned by
6416 posn-at-point for the current window-vscroll. (Bug#14567)
6418 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
6420 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
6421 (tramp-sh-file-inotifywait-process-filter): Handle file names with
6424 2013-07-06 Martin Rudalics <rudalics@gmx.at>
6426 * window.el (window-state-put-stale-windows): New variable.
6427 (window--state-put-2): Save list of windows without matching buffer.
6428 (window-state-put): Remove "bufferless" windows if possible.
6430 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6432 * simple.el (alternatives-define): Remove leftover :group keyword.
6435 2013-07-06 Leo Liu <sdl.web@gmail.com>
6437 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
6438 (ido-enable-virtual-buffers): New variable.
6439 (ido-buffer-internal, ido-toggle-virtual-buffers)
6440 (ido-make-buffer-list): Use it.
6441 (ido-exhibit): Support turning on and off virtual buffers
6444 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
6446 * simple.el (alternatives-define): New macro.
6448 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
6450 * subr.el (read-quoted-char): Use read-key.
6451 (sit-for): Let read-event decode tty input (bug#14782).
6453 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
6455 * calendar/todo-mode.el: Add handling of file deletion, both by
6456 mode command and externally. Fix various related bugs.
6457 Clarify Commentary and improve some documentation strings and code.
6458 (todo-delete-file): New command.
6459 (todo-check-file): New function.
6460 (todo-show): Handle external deletion of the file we're trying to
6461 show (bug#14688). Replace called-interactively-p by an optional
6462 prefix argument to avoid problematic interaction with catch form
6463 when byte compiled (bug#14702).
6464 (todo-quit): Handle external deletion of the archive's todo file.
6465 Make sure the buffer that was visiting the archive file is still
6466 live before trying to bury it.
6467 (todo-category-completions): Handle external deletion of any
6468 category completion files.
6469 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
6470 of todo files, in case of external deletion.
6471 (todo-add-file): Replace unnecessary setq by let-binding.
6472 (todo-find-archive): Check whether there are any archives.
6473 Replace unnecessary setq by let-binding.
6474 (todo-archive-done-item): Use find-file-noselect to get the
6475 archive buffer whether or not the archive already exists.
6476 Remove superfluous code. Use file size instead of buffer-file-name to
6477 check if the archive is new; if it is, update list of archives.
6478 (todo-default-todo-file): Allow nil to be a valid value for when
6479 there are no todo files.
6480 (todo-reevaluate-default-file-defcustom): Use corrected definition
6481 of todo-default-todo-file.
6482 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
6483 (todo-delete-category, todo-show-categories-table)
6484 (todo-category-number): Clarify comment.
6485 (todo-filter-items): Clarify documentation string.
6486 (todo-show-current-file, todo-display-as-todo-file)
6487 (todo-reset-and-enable-done-separator): Tweak documentation string.
6488 (todo-done-separator): Make separator length window-width, since
6489 bug#2749 is now fixed.
6491 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
6493 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6494 Support both "gvfs-monitor-dir" and "inotifywait".
6495 (tramp-sh-file-inotifywait-process-filter): Rename from
6496 `tramp-sh-file-notify-process-filter'.
6497 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6498 (tramp-get-remote-gvfs-monitor-dir): New defuns.
6500 2013-07-05 Leo Liu <sdl.web@gmail.com>
6502 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
6504 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6506 * frame.el (display-pixel-height, display-pixel-width)
6507 (display-mm-height, display-mm-width): Mention behavior on
6508 multi-monitor setups in docstrings.
6509 (w32-display-monitor-attributes-list): Declare function.
6510 (display-monitor-attributes-list): Use it.
6512 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
6514 * filenotify.el: New package.
6516 * autorevert.el (top): Require filenotify.el.
6517 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
6519 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6520 (auto-revert-notify-handler): Use `file-notify-*' functions.
6522 * subr.el (file-notify-handle-event): Move function to filenotify.el.
6524 * net/tramp.el (tramp-file-name-for-operation):
6525 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
6527 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
6528 for `file-notify-add-watch' and `file-notify-rm-watch'.
6529 (tramp-process-sentinel): Improve trace.
6530 (tramp-sh-handle-file-notify-add-watch)
6531 (tramp-sh-file-notify-process-filter)
6532 (tramp-sh-handle-file-notify-rm-watch)
6533 (tramp-get-remote-inotifywait): New defuns.
6535 2013-07-03 Juri Linkov <juri@jurta.org>
6537 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
6538 call of `occur-read-primary-args' to interactive spec.
6540 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
6541 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
6543 2013-07-03 Matthias Meulien <orontee@gmail.com>
6545 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
6546 `Buffer-menu-multi-occur'. Add it to the menu.
6547 (Buffer-menu-mode): Document it in docstring.
6548 (Buffer-menu-multi-occur): New command. (Bug#14673)
6550 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6552 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
6553 keywords and built-ins.
6555 2013-07-03 Glenn Morris <rgm@gnu.org>
6557 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
6559 Make info-xref checks case-sensitive by default
6560 * info.el (Info-find-node, Info-find-in-tag-table)
6561 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
6562 Add option for exact case matching of nodes.
6563 * info-xref.el (info-xref): New custom group.
6564 (info-xref-case-fold): New option.
6565 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
6567 2013-07-03 Leo Liu <sdl.web@gmail.com>
6569 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
6571 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
6573 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
6574 middle of block statement initially, lower the depth. Remove
6575 FIXME comment, not longer valid. Remove middle of block statement
6576 detection, no need to do that anymore since we've been using
6577 `ruby-parse-region' here.
6579 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
6581 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
6583 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
6585 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
6587 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
6589 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
6590 (desktop-restore-in-current-display): New customization option.
6591 (desktop--excluded-frame-parameters): Add `font'.
6592 (desktop--save-frames): Rename from desktop--save-windows.
6593 (desktop--restore-in-this-display-p): New function.
6594 (desktop--make-full-frame): Remove unwanted width/height from
6595 full(width|height) frames.
6596 (desktop--restore-frames): Rename from desktop--restore-windows.
6597 Obey desktop-restore-current-display. Do not delete old frames or
6598 select a new frame unless we were able to restore at least one frame.
6600 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
6602 * files.el (find-file-noselect): Simplify conditional expression.
6604 * remember.el (remember-append-to-file):
6605 Don't mix `find-buffer-visiting' and `get-file-buffer'.
6607 Add `remember-notes' function to store random notes across Emacs
6609 * remember.el (remember-data-file): Add :set callback to affect
6610 notes buffer (if any).
6611 (remember-notes): New command.
6612 (remember-notes-buffer-name, bury-remember-notes-on-kill):
6613 New defcustoms for the `remember-notes' function.
6614 (remember-notes-save-and-bury-buffer): New command.
6615 (remember-notes-mode-map): New variable.
6616 (remember-mode): New minor mode.
6617 (remember-notes--kill-buffer-query): New function.
6618 * startup.el (initial-buffer-choice): Add notes to custom type.
6620 2013-06-30 Eli Zaretskii <eliz@gnu.org>
6622 * bindings.el (right-char, left-char): Don't call sit-for, this is
6623 no longer needed. Use arithmetic comparison only for numerical
6626 * international/mule-cmds.el (select-safe-coding-system):
6627 Handle the case of FROM being a string correctly. (Bug#14755)
6629 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
6631 * net/shr.el (shr-make-table-1): Add a sanity check that allows
6632 progression on degenerate tables.
6633 (shr-rescale-image): ImageMagick animated images currently don't work.
6635 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
6637 Some fixes and improvements for desktop frame restoration.
6638 It is still experimental and disabled by default.
6639 * desktop.el (desktop--save-windows): Put the selected frame at
6640 the head of the list.
6641 (desktop--make-full-frame): New function.
6642 (desktop--restore-windows): Try to re-select the frame that was
6643 selected upon saving. Do not abort if some frames fail to restore,
6644 just show an error message and continue. Set up maximized frames
6645 so they have default non-maximized dimensions.
6647 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
6649 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6650 Don't start heredoc inside a string or comment.
6652 2013-06-29 Eli Zaretskii <eliz@gnu.org>
6654 * bindings.el (visual-order-cursor-movement): New defcustom.
6655 (right-char, left-char): Provide visual-order cursor motion by
6656 calling move-point-visually. Update the doc strings.
6658 2013-06-28 Kenichi Handa <handa@gnu.org>
6660 * international/mule.el (define-coding-system): New coding system
6661 properties :inhibit-null-byte-detection,
6662 :inhibit-iso-escape-detection, and :prefer-utf-8.
6663 (set-buffer-file-coding-system): If :charset-list property of
6664 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
6665 appropriate for setting.
6667 * international/mule-cmds.el (select-safe-coding-system):
6668 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
6669 multibyte characters, return utf-8 (or one of its siblings).
6671 * international/mule-conf.el (prefer-utf-8): New coding system.
6672 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
6675 2013-06-28 Ivan Kanis <ivan@kanis.fr>
6677 * net/shr.el (shr-render-region): New function.
6679 * net/eww.el: Autoload `eww-browse-url'.
6681 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
6683 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6684 Adapt to `package-desc-version' being a list.
6685 Use `package--ac-desc-version' to retrieve version from a package
6688 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
6690 New experimental feature to save&restore window and frame setup.
6691 * desktop.el (desktop-save-windows): New defcustom.
6692 (desktop--saved-states): New var.
6693 (desktop--excluded-frame-parameters): New defconst.
6694 (desktop--filter-frame-parms, desktop--find-frame-in-display)
6695 (desktop--restore-windows, desktop--save-windows): New functions.
6696 (desktop-save): Call `desktop--save-windows'.
6697 (desktop-read): Call `desktop--restore-windows'.
6699 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6701 * net/shr.el (add-face-text-property): Remove compat definition.
6703 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6705 * info.el (Info-try-follow-nearest-node): Move search for footnote
6706 above search for node name to prevent missing a footnote (bug#14717).
6708 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
6710 * obsolete/otodo-mode.el: Add obsolescence info to file header.
6712 2013-06-27 Leo Liu <sdl.web@gmail.com>
6714 * net/eww.el (eww-read-bookmarks): Check file size.
6716 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6718 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
6719 advice--pending if newdef is nil or an autoload (bug#13820).
6720 (advice-mapc): New function.
6722 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
6724 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
6726 (eww-mode-map): Add a menu bar.
6727 (eww-add-bookmark): New command.
6728 (eww-bookmark-mode): New mode and commands.
6729 (eww-add-bookmark): Remove newlines from the title.
6730 (eww-bookmark-browse): Don't bug out if it's the only window.
6732 2013-06-26 Glenn Morris <rgm@gnu.org>
6734 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
6735 (hfy-size): Handle ttys. (Bug#14668)
6737 * info-xref.el: Update for Texinfo 5 change in *note format.
6738 (info-xref-node-re, info-xref-note-re): New constants.
6739 (info-xref-check-buffer): Use info-xref-note-re.
6741 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
6743 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
6745 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
6746 nil terminate the loop (bug#14718).
6748 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6750 * net/eww.el: Rework history traversal. When going forward/back,
6751 put these actions into the history, too, so that they can be
6753 (eww-render): Move the history reset to the correct buffer.
6755 2013-06-25 Juri Linkov <juri@jurta.org>
6757 * files-x.el (modify-dir-local-variable): Change the header comment
6758 in the file with directory local variables. (Bug#14692)
6760 * files-x.el (read-file-local-variable-value): Add `default'.
6763 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6765 * net/eww.el (eww-make-unique-file-name): Create a unique file
6766 name before saving to entering `y' accidentally asynchronously.
6768 2013-06-25 Ivan Kanis <ivan@kanis.fr>
6770 * net/eww.el (eww-download): New command and keystroke.
6772 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6774 * net/eww.el (eww-copy-page-url): Change name of command.
6776 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
6777 be more consistent with Info and dired.
6779 * net/eww.el (eww-mode-map): Ditto.
6781 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6783 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
6784 packages from archives.
6785 (package-archive-contents): Change format; include obsolete packages.
6786 (package-desc): Use `dir' to mark builtin packages.
6787 (package--from-builtin): Set the `dir' field to `builtin'.
6788 (generated-autoload-file, version-control): Declare.
6789 (package-compute-transaction): Change first arg and return value to be
6790 lists of package-descs. Adjust to new package-archive-contents format.
6791 (package--add-to-archive-contents): Adjust to new
6792 package-archive-contents format.
6793 (package-download-transaction): Arg is now a list of package-descs.
6794 (package-install): If `pkg' is a package name, pass it as
6795 a requirement, so it is subject to the usual (e.g. disabled) checks.
6796 (describe-package): Accept package-desc as well.
6797 (describe-package-1): Describe a specific package-desc. Add links to
6798 other package-descs for the same package name.
6799 (package-menu-describe-package): Pass the actual package-desc.
6800 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
6802 (package-desc-status): New function.
6803 (package-menu--refresh): New function, extracted
6804 from package-menu--generate.
6805 (package-menu--generate): Use it.
6806 (package-delete): Update package-alist.
6807 (package-menu-execute): Don't call package-initialize.
6809 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
6810 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
6811 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
6812 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
6813 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
6814 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
6816 2013-06-25 Martin Rudalics <rudalics@gmx.at>
6818 * window.el (window--state-get-1): Workaround for bug#14527.
6819 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
6821 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
6823 * net/eww.el (eww-back-url): Implement the history by stashing all
6824 the data into a list.
6825 (eww-forward-url): Allow going forward in the history, too.
6827 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
6829 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
6830 for values and use read--expression for expressions (bug#14710).
6831 (read-file-local-variable): Avoid setq.
6832 (read-file-local-variable-mode): Use minor-mode-list.
6834 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6836 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
6839 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6841 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
6842 Update imenu-support when dialect changes.
6844 2013-06-25 Leo Liu <sdl.web@gmail.com>
6846 * ido.el (ido-read-internal): Allow forward slash on windows.
6848 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6850 * net/eww.el (eww): Start of strings is \\`, not ^.
6852 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6854 * net/shr.el (shr-browse-url): Fix interactive spec.
6856 * net/eww.el (eww): Add a trailing slash to domain names.
6858 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
6860 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
6862 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
6864 * net/shr.el (shr-browse-url): Use an external browser if given a
6867 * net/eww.el (eww-external-browser): Move to shr.
6869 2013-06-24 Ivan Kanis <ivan@kanis.fr>
6871 * net/eww.el (eww): Work more correctly for file: URLs.
6872 (eww-detect-charset): Allow quoted charsets.
6873 (eww-yank-page-url): New command and keystroke.
6875 2013-06-24 Daiki Ueno <ueno@gnu.org>
6877 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
6878 file name of gpg executable.
6879 (epg-context-program): New function.
6880 (epg-context-home-directory): New function.
6881 (epg-context-set-program): New function.
6882 (epg-context-set-home-directory): New function.
6883 (epg--start): Use `epg-context-program' instead of
6885 (epg--list-keys-1): Likewise.
6887 2013-06-24 Leo Liu <sdl.web@gmail.com>
6889 * ido.el (ido-read-internal): Fix bug#14620.
6891 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6893 * faces.el (face-documentation): Simplify.
6894 (read-face-attribute, tty-find-type, x-resolve-font-name):
6895 Use `string-match-p'.
6896 (list-faces-display): Use `string-match-p'. Simplify.
6897 (face-spec-recalc): Check face to avoid face alias loops.
6898 (read-color): Use `string-match-p' and non-capturing parenthesis.
6900 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6902 * net/shr.el (shr-rescale-image): Use the new
6903 :max-width/:max-height functionality.
6905 2013-06-23 Ivan Kanis <ivan@kanis.fr>
6907 * net/eww.el (eww-search-prefix): New variable.
6909 (eww-external-browser): New variable.
6910 (eww-mode-map): New keystroke.
6911 (eww-browse-with-external-browser): New command.
6913 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
6915 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
6917 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6918 Don't skip aligning the next header field when padding is 0;
6919 otherwise, field width is not respected unless the title is as
6922 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6924 * emacs-lisp/package.el (package-el-version): Remove.
6925 (package-process-define-package): Fix inf-loop.
6926 (package-install): Allow symbols as arguments again.
6928 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6930 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
6931 add some more keyword-like methods.
6932 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
6934 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
6936 * bs.el (bs-buffer-show-mark): Make defvar-local.
6937 (bs-mode): Use setq-local.
6939 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
6940 (emacs-lock--try-unlocking): Make defvar-local.
6942 2013-06-22 Glenn Morris <rgm@gnu.org>
6944 * play/cookie1.el (cookie-apropos): Minor simplification.
6946 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
6948 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
6950 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
6951 `regexp-opt', it breaks the build during dumping.
6953 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
6955 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6956 Highlight keyword-like methods on Kernel and Module with
6957 font-lock-builtin-face.
6958 (auto-mode-alist): Consolidate different entries into one regexp
6959 and add more *file-s.
6961 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
6963 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
6965 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
6966 (diary-entry): Use it in the action of this button type instead of
6969 * calendar/todo-mode.el: New version.
6970 (todo-add-category): Append new category to end of file and give
6971 it the highest number, instead of putting it at the beginning and
6972 giving it 0. Incorporate noninteractive functionality.
6973 (todo-forward-category): Adapt to 1-based category numbering.
6974 Allow skipping over archived categories.
6975 (todo-backward-category): Derive from todo-forward-category.
6976 (todo-backward-item, todo-forward-item): Make noninteractive and
6977 delegate interactive part to new commands. Make sensitive to done items.
6978 (todo-categories): Make value an alist of category names and
6979 vectors of item counts.
6980 (todo-category-beg): Make a defconst.
6981 (todo-category-number): Use 1 instead of 0 as initial value.
6982 (todo-category-select): Make sensitive to overlays, optional item
6983 highlighting and done items.
6984 (todo-delete-item): Make sensitive to overlays and marked and done items.
6985 (todo-edit-item): Make sensitive to overlays and editing of
6986 date/time header optional. Add format checks.
6987 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
6988 no-op if point is not on an item. Advertise using todo-edit-quit.
6989 (todo-edit-mode): Make sensitive to new format, font-locking, and
6990 multiple todo files.
6991 (todo-insert-item, todo-insert-item-here): Derive from
6992 todo-basic-insert-item and extend functionality.
6993 (todo-item-end, todo-item-start): Make sensitive to done items.
6994 (todo-item-string): Don't return text properties. Restore point.
6995 (todo-jump-to-category): Make sensitive to multiple todo files and
6996 todo archives. Use extended category completion.
6997 (todo-lower-item, todo-raise-item): Rename to *-priority and
6998 derive from todo-set-item-priority.
6999 (todo-mode): Derive from special-mode. Make sensitive to new
7000 format, font-locking and multiple todo files. Make read-only.
7001 (todo-mode-map): Don't suppress digit keys, so they can supply
7002 prefix arguments. Add many new key bindings.
7003 (todo-prefix): Insert as an overlay instead of file text.
7004 Change semantics from diary date expression to purely visual mark.
7005 (todo-print): Rename to todo-print-buffer. Make buffer display
7006 features printable. Remove option to restrict number of items
7007 printed. Add option to print to file.
7008 (todo-print-function): Rename to todo-print-buffer-function.
7009 (todo-quit): Extend to handle exiting new todo modes.
7010 (todo-remove-item): Make sensitive to overlays.
7011 (todo-save): Extend to buffers of filtered items.
7012 (todo-show): Make sensitive to done items, multiple todo files and
7013 new todo modes. Offer to convert legacy todo file before creating
7014 first new todo file.
7015 (todo-show-priorities): Rename to todo-top-priorities.
7016 Change semantics of value 0.
7017 (todo-top-priorities): Rename to todo-filter-top-priorities,
7018 derive from todo-filter-items and extend functionality.
7019 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
7020 and extend functionality to other types of filtered items.
7021 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
7022 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
7023 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
7024 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
7025 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
7026 (todo-edit-mode-hook, todo-entry-prefix-function)
7027 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
7028 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
7029 (todo-initials, todo-insert-threshold, todo-item-string-start)
7030 (todo-line-string, todo-menu, todo-mode-hook)
7031 (todo-more-important-p, todo-previous-answer, todo-previous-line)
7032 (todo-print-priorities, todo-remove-separator)
7033 (todo-save-top-priorities-too, todo-string-count-lines)
7034 (todo-string-multiline-p, todo-time-string-format)
7035 (todo-tmp-buffer-name): Remove.
7036 (todo-add-file, todo-archive-done-item, todo-choose-archive)
7037 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
7038 (todo-edit-category-diary-inclusion)
7039 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
7040 (todo-edit-file, todo-edit-item-date-day)
7041 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
7042 (todo-edit-item-date-month, todo-edit-item-date-to-today)
7043 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
7044 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
7045 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
7046 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
7047 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
7048 (todo-filter-top-priorities-multifile, todo-find-archive)
7049 (todo-find-filtered-items-file, todo-go-to-source-item)
7050 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
7051 (todo-jump-to-archive-category, todo-lower-category)
7052 (todo-mark-category, todo-marked-item-p, todo-merge-category)
7053 (todo-move-category, todo-move-item, todo-next-button)
7054 (todo-next-item, todo-padded-string, todo-powerset)
7055 (todo-previous-button, todo-previous-item)
7056 (todo-print-buffer-to-file, todo-raise-category)
7057 (todo-rename-category, todo-repair-categories-sexp, todo-search)
7058 (todo-set-category-number, todo-set-item-priority)
7059 (todo-set-top-priorities-in-category)
7060 (todo-set-top-priorities-in-file, todo-show-categories-table)
7061 (todo-sort-categories-alphabetically-or-numerically)
7062 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
7063 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
7064 (todo-toggle-item-header, todo-toggle-item-highlighting)
7065 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
7066 (todo-toggle-view-done-items, todo-toggle-view-done-only)
7067 (todo-unarchive-items, todo-unmark-category): New commands.
7068 (todo-absolute-file-name, todo-add-to-buffer-list)
7069 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
7070 (todo-basic-insert-item, todo-category-completions)
7071 (todo-category-number, todo-category-string-matcher-1)
7072 (todo-category-string-matcher-2, todo-check-filtered-items-file)
7073 (todo-check-format, todo-clear-matches)
7074 (todo-comment-string-matcher, todo-convert-legacy-date-time)
7075 (todo-current-category, todo-date-string-matcher)
7076 (todo-define-insertion-command, todo-diary-expired-matcher)
7077 (todo-diary-goto-entry, todo-diary-item-p)
7078 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
7079 (todo-display-categories, todo-display-sorted, todo-done-item-p)
7080 (todo-done-item-section-p, todo-done-separator)
7081 (todo-done-string-matcher, todo-files, todo-filter-items)
7082 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
7083 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
7084 (todo-insert-category-line, todo-insert-item-from-calendar)
7085 (todo-insert-sort-button, todo-insert-with-overlays)
7086 (todo-insertion-command-name, todo-insertion-key-bindings)
7087 (todo-label-to-key, todo-longest-category-name-length)
7088 (todo-make-categories-list, todo-mode-external-set)
7089 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
7090 (todo-modes-set-3, todo-multiple-filter-files)
7091 (todo-nondiary-marker-matcher, todo-prefix-overlays)
7092 (todo-read-category, todo-read-date, todo-read-dayname)
7093 (todo-read-file-name, todo-read-time)
7094 (todo-reevaluate-category-completions-files-defcustom)
7095 (todo-reevaluate-default-file-defcustom)
7096 (todo-reevaluate-filelist-defcustoms)
7097 (todo-reevaluate-filter-files-defcustom)
7098 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
7099 (todo-reset-done-separator, todo-reset-done-separator-string)
7100 (todo-reset-done-string, todo-reset-global-current-todo-file)
7101 (todo-reset-highlight-item, todo-reset-nondiary-marker)
7102 (todo-reset-prefix, todo-set-categories)
7103 (todo-set-date-from-calendar, todo-set-show-current-file)
7104 (todo-set-top-priorities, todo-short-file-name)
7105 (todo-show-current-file, todo-sort, todo-time-string-matcher)
7106 (todo-total-item-counts, todo-update-buffer-list)
7107 (todo-update-categories-display, todo-update-categories-sexp)
7108 (todo-update-count, todo-validate-name, todo-y-or-n-p):
7110 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
7112 (todo-categories, todo-display, todo-edit, todo-faces)
7113 (todo-filtered): New defgroups.
7114 (todo-archived-only, todo-button, todo-category-string, todo-date)
7115 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
7116 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
7117 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
7118 (todo-add-item-if-new-category, todo-always-add-time-string)
7119 (todo-categories-align, todo-categories-archived-label)
7120 (todo-categories-category-label, todo-categories-diary-label)
7121 (todo-categories-done-label, todo-categories-number-separator)
7122 (todo-categories-todo-label, todo-categories-totals-label)
7123 (todo-category-completions-files, todo-completion-ignore-case)
7124 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
7125 (todo-done-separator-string, todo-done-string)
7126 (todo-files-function, todo-filter-done-items, todo-filter-files)
7127 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
7128 (todo-initial-category, todo-initial-file, todo-item-mark)
7129 (todo-legacy-date-time-regexp, todo-mode-line-function)
7130 (todo-nondiary-marker, todo-number-prefix)
7131 (todo-print-buffer-function, todo-show-current-file)
7132 (todo-show-done-only, todo-show-first, todo-show-with-done)
7133 (todo-skip-archived-categories, todo-top-priorities-overrides)
7134 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
7135 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
7137 (todo-category-done, todo-date-pattern, todo-date-string-start)
7138 (todo-diary-items-buffer, todo-done-string-start)
7139 (todo-filtered-items-buffer, todo-item-start)
7140 (todo-month-abbrev-array, todo-month-name-array)
7141 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
7142 (todo-top-priorities-buffer): New defconsts.
7143 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
7144 (todo-categories-with-marks, todo-category-string-face)
7145 (todo-comment-face, todo-comment-string, todo-current-todo-file)
7146 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
7147 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
7148 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
7149 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
7150 (todo-font-lock-keywords, todo-global-current-todo-file)
7151 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
7152 (todo-insertion-commands-args)
7153 (todo-insertion-commands-args-genlist)
7154 (todo-insertion-commands-names, todo-insertion-map)
7155 (todo-key-bindings-t, todo-key-bindings-t+a)
7156 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
7157 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
7158 (todo-nondiary-face, todo-print-buffer, todo-time-face)
7159 (todo-visited): New variables.
7161 2013-06-21 Glenn Morris <rgm@gnu.org>
7163 * play/cookie1.el (cookie-apropos): Add optional display argument.
7164 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
7165 (psychoanalyze-pinhead): Use cookie-doctor.
7167 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7169 * emacs-lisp/package.el (tar-get-file-descriptor)
7170 (tar--extract): Declare.
7172 2013-06-21 Eduard Wiebe <usenet@pusto.de>
7174 Extend flymake's warning predicate to be a function (bug#14217).
7175 * progmodes/flymake.el (flymake-warning-predicate): New.
7176 (flymake-parse-line): Use it.
7177 (flymake-warning-re): Make obsolete alias to
7178 `flymake-warning-predicate'.
7180 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7182 * emacs-lisp/package.el (package-alist): Include obsolete packages.
7183 (package-obsolete-list): Remove.
7184 (package-activate): Remove min-version argument. Add `force' argument.
7185 Adjust to new package-alist format.
7186 (package-mark-obsolete): Remove.
7187 (package-unpack): Force reload of the package's autoloads.
7188 (package-installed-p): Check builtins if the installed package is not
7190 (package-initialize): Don't reset package-obsolete-list.
7191 Don't specify which package version to activate.
7192 (package-process-define-package, describe-package-1)
7193 (package-menu--generate): Adjust to new package-alist format.
7195 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7197 * allout-widgets.el (allout-widgets-mode-off)
7198 (allout-widgets-mode-on, allout-widgets-pre-command-business)
7199 (allout-widgets-post-command-business)
7200 (allout-widgets-after-copy-or-kill-function)
7201 (allout-widgets-after-undo-function, allout-test-range-overlaps)
7202 (allout-decorate-item-and-context)
7203 (allout-graphics-modification-handler): Fix typos in docstrings.
7204 (allout-get-or-create-parent-widget): Use `looking-at-p'.
7206 * cmuscheme.el (scheme-start-file): Doc fix.
7207 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
7208 (scheme-input-filter): Use `string-match-p'.
7210 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
7212 * dired-x.el: Use Dired consistently in docstrings.
7214 * dired.el: Use Dired consistently in docstrings.
7215 (dired-readin, dired-mode): Use `setq-local'.
7216 (dired-switches-alist): Make defvar-local.
7217 (dired-buffers-for-dir): Use `zerop'.
7218 (dired-safe-switches-p, dired-switches-escape-p)
7219 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
7220 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
7221 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
7222 (dired-goto-next-nontrivial-file): Use `string-match-p'.
7223 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
7224 (dired-toggle-marks, dired-mark-files-containing-regexp)
7225 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
7226 (dired-flag-auto-save-files, dired-flag-backup-files):
7228 (dired-mark-files-regexp, dired-build-subdir-alist):
7229 Use `string-match-p', `looking-at-p'.
7231 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
7232 (direct-print-region-helper): Use `string-match-p'.
7234 2013-06-21 Leo Liu <sdl.web@gmail.com>
7236 * comint.el (comint-redirect-results-list-from-process):
7239 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7241 * net/eww.el (eww-update-header-line-format): Quote % characters.
7243 2013-06-21 Glenn Morris <rgm@gnu.org>
7245 * play/cookie1.el (cookie): New custom group.
7246 (cookie-file): New option.
7247 (cookie-check-file): New function.
7248 (cookie): Make it interactive. Make start and end messages optional.
7249 Interactively, display the result. Default to cookie-file.
7250 (cookie-insert): Default to cookie-file.
7251 (cookie-snarf): Make start and end messages optional.
7252 Default to cookie-file. Use with-temp-buffer.
7253 (cookie-read): Rename from read-cookie.
7254 Make start and end messages optional. Default to cookie-file.
7255 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
7257 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
7258 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
7260 2013-06-21 Leo Liu <sdl.web@gmail.com>
7262 * progmodes/octave.el (octave-mode): Backward compatibility fix.
7264 2013-06-21 Glenn Morris <rgm@gnu.org>
7266 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
7268 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
7269 Daniel Hackney <dan@haxney.org>
7271 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
7272 Consolidate the single-file vs tarball code.
7273 (package-desc-suffix): New function.
7274 (package-desc-full-name): Don't bother inlining it.
7275 (package-load-descriptor): Return the new package-desc.
7276 (package-mark-obsolete): Remove unused arg `package'.
7277 (package-unpack): Make it work for single files as well.
7278 Make it update package-alist.
7279 (package--make-autoloads-and-stuff): Rename from
7280 package--make-autoloads-and-compile. Don't compile any more.
7281 (package--compile): New function.
7282 (package-generate-description-file): New function, extracted from
7283 package-unpack-single.
7284 (package-unpack-single): Remove.
7285 (package--with-work-buffer): Add indentation and debugging info.
7286 (package-download-single): Remove.
7287 (package-install-from-archive): Rename from package-download-tar, make
7288 it take a pkg-desc, and make it work for single files as well.
7289 (package-download-transaction): Simplify.
7290 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
7291 external tar program.
7292 (package-install-from-buffer): Remove `pkg-desc' argument.
7293 Use package-tar-file-info for tar-mode buffers.
7294 (package-install-file): Simplify accordingly.
7295 (package-archive-base): Change to take a pkg-desc.
7296 * tar-mode.el (tar--check-descriptor): New function, extracted from
7298 (tar-get-descriptor): Use it.
7299 (tar-get-file-descriptor): New function.
7300 (tar--extract): New function, extracted from tar-extract.
7301 (tar--extract): Use it.
7302 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
7303 case the summary uses non-ascii. Adjust to new calling convention of
7304 package-tar-file-info.
7306 2013-06-21 Leo Liu <sdl.web@gmail.com>
7308 * comint.el (comint-redirect-results-list-from-process):
7309 Fix random delay. (Bug#14681)
7311 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
7313 * profiler.el (profiler-format-number): Use log, not log10.
7315 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7317 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
7319 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
7321 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
7322 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
7324 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
7325 (AUTOGENEL): ... here.
7326 * emacs-lisp/cl-macs.el (cl--sublis): New function.
7327 (cl--defsubst-expand): Use it.
7329 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
7331 * subr.el (log10): Move here from C code, and declare as obsolete.
7332 All uses of (log10 X) replaced with (log X 10).
7334 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7336 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
7337 Declare with `defvar-local'.
7338 (tabulated-list-use-header-line, tabulated-list-entries)
7339 (tabulated-list-padding, tabulated-list-printer)
7340 (tabulated-list-sort-key): Declare with `defvar-local'.
7341 (tabulated-list-init-header, tabulated-list-print-fake-header):
7344 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
7346 * arc-mode.el (archive-mode): Add `archive-write-file' to
7347 `write-contents-functions' also for remote files. (Bug#14652)
7349 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
7351 * cus-edit.el (custom-commands): Fix typos.
7352 (custom-display): Fix tooltip text.
7353 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
7354 Fix typos in docstrings.
7355 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
7356 (custom-unlispify-menu-entry, custom-magic-value-create)
7357 (custom-add-see-also, custom-group-value-create): Use ?\s.
7358 (custom-guess-type, customize-apropos, editable-field)
7359 (custom-face-value-create): Use `string-match-p'.
7360 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
7362 * custom.el (custom-load-symbol): Use `string-match-p'.
7364 * ansi-color.el: Convert to lexical binding.
7365 (ansi-colors): Fix URL.
7366 (ansi-color-context, ansi-color-context-region): Use defvar-local.
7367 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
7368 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
7370 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7372 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
7374 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
7376 2013-06-19 Tom Tromey <tromey@redhat.com>
7378 * net/eww.el (eww-top-url): Remove.
7379 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
7380 (eww-render): Set new variables. Don't set eww-top-url.
7381 (eww-handle-link): Handle "prev", "home", and "contents".
7382 Downcase the rel text.
7383 (eww-top-url): Choose best top URL.
7385 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7387 * net/eww.el: Rewrite to implement form elements "by hand" instead of
7388 relying in widget.el. Using widget.el leads to too many
7389 user interface inconsistencies.
7390 (eww-self-insert): Implement entering commands in text fields.
7391 (eww-process-text-input): New function to make text input field editing
7393 (eww-submit): Rewrite to use the new-style form methods.
7394 (eww-select-display): Display the correct selected item.
7395 (eww-change-select): Implement changing the select value.
7396 (eww-toggle-checkbox): Implement radio/checkboxes.
7397 (eww-update-field): Fix compilation error.
7398 (eww-tag-textarea): Implement <textarea>.
7400 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
7401 we don't shadow mode-specific bindings.
7403 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
7406 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
7408 2013-06-19 Glenn Morris <rgm@gnu.org>
7410 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
7412 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7414 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
7417 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
7419 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7421 * net/browse-url.el (browse-url-browser-function):
7422 `eww-browse-url' has the right calling signature, `eww' does not.
7424 2013-06-19 Glenn Morris <rgm@gnu.org>
7426 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7427 Only eval autoloaded macros.
7428 (byte-compile-autoload): Only give the macro warning for macros.
7430 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
7431 (ps-underlined-faces): Declare.
7433 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
7434 (speedbar-add-supported-extension): Declare.
7436 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
7437 Don't include a date stamp in the header of the generated file;
7438 it leads to needless differences between output files.
7440 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
7442 * net/secrets.el (secrets-struct-secret-content-type):
7443 Replace check of introspection data by a test call of "CreateItem".
7444 Some servers do not offer introspection.
7446 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
7448 * electric.el (electric-pair-mode): Improve interaction with
7449 electric-layout-mode.
7450 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
7451 (electric-pair-syntax): Use text-mode-syntax-table in comments
7453 (electric-pair--insert): New function.
7454 (electric-pair-post-self-insert-function): Use it and
7455 electric--after-char-pos.
7457 2013-06-19 Leo Liu <sdl.web@gmail.com>
7459 * progmodes/octave.el (octave-help): Fix regexp.
7461 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
7463 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
7464 (shr-table-horizontal-line): Allow nil as a value, and change the
7466 (shr-insert-table-ruler): Respect the nil value.
7468 2013-06-18 Tom Tromey <tromey@barimba>
7470 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7472 (eww-open-file): New defun.
7473 (eww-render): Initialize new variables.
7474 (eww-display-html): Handle "link" and "a".
7475 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
7476 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
7477 (eww-back-url): Rename from eww-previous-url.
7478 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
7481 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
7483 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
7484 Distinguish ternary operator tokens from slash symbol and slash
7487 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7489 Convert symbol prettification into minor mode and global minor mode.
7491 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
7492 `prog-prettify-symbols', and make a local defvar instead of defcustom.
7493 (prettify-symbols--keywords): Rename from
7494 `prog-prettify-symbols-alist' and make a local defvar.
7495 (prettify-symbols--compose-symbol): Rename from
7496 `prog--prettify-font-lock-compose-symbol'.
7497 (prettify-symbols--make-keywords): Rename from
7498 `prog-prettify-font-lock-symbols-keywords' and simplify.
7499 (prog-prettify-install): Remove.
7500 (prettify-symbols-mode): New minor mode, based on
7501 `prog-prettify-install'.
7502 (turn-on-prettify-symbols-mode): New function.
7503 (global-prettify-symbols-mode): New globalized minor mode.
7505 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7506 * progmodes/cfengine.el (cfengine3-mode):
7507 * progmodes/perl-mode.el (perl-mode): Don't call
7508 `prog-prettify-install'; set `prettify-symbols-alist' instead.
7510 2013-06-18 Juri Linkov <juri@jurta.org>
7512 * files-x.el (modify-file-local-variable-message): New function.
7513 (modify-file-local-variable)
7514 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
7515 and call `modify-file-local-variable-message' when it's non-nil.
7516 (add-file-local-variable, delete-file-local-variable)
7517 (add-file-local-variable-prop-line)
7518 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
7519 and use it. (Bug#9820)
7521 2013-06-18 Juri Linkov <juri@jurta.org>
7523 * emulation/vi.el (vi-shell-op):
7524 * emulation/vip.el (vip-execute-com, ex-command):
7525 * emulation/viper-cmd.el (viper-exec-bang):
7526 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
7527 the call of `shell-command-on-region'. (Bug#14637)
7529 * simple.el (shell-command-on-region): Doc fix.
7531 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7533 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
7536 2013-06-18 Glenn Morris <rgm@gnu.org>
7538 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
7540 * newcomment.el (comment-search-forward, comment-search-backward):
7541 Doc fix. (Bug#14376)
7543 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
7545 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
7546 (buffer-face-mode-invoke): Doc fix.
7548 2013-06-18 Matthias Meulien <orontee@gmail.com>
7550 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
7551 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
7553 2013-06-18 Glenn Morris <rgm@gnu.org>
7555 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
7556 Replace obsolete function generic-make-keywords with its expansion.
7558 * progmodes/python.el (ffap-alist): Declare.
7560 * textmodes/reftex.el (bibtex-mode-map): Declare.
7562 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7564 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
7565 (package-unpack, package-unpack-single): Return the pkg-dir.
7566 (package-download-transaction): Use it to update package-alist.
7568 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7570 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
7573 2013-06-17 Juri Linkov <juri@jurta.org>
7575 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
7577 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7579 * emacs-lisp/package.el (package-load-descriptor):
7580 Remove `with-syntax-table' call, `read' doesn't need it.
7581 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
7583 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7585 * startup.el (command-line): Expand package name returned by
7586 `package--description-file' (bug#14639).
7588 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
7590 * emacs-lisp/package.el (package-load-descriptor): Do not call
7591 `emacs-lisp-mode', just use its syntax table.
7593 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
7595 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
7596 `font-lock-extra-managed-props' if any prettifying keyword is added.
7597 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
7598 (prog-mode): Use `setq-local'.
7600 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
7602 * international/characters.el (standard-case-table): Set syntax of ?»
7603 and ?« to punctuation.
7605 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
7607 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
7608 Save relevant match data before calling `syntax-ppss' (bug#14595).
7610 2013-06-15 Juri Linkov <juri@jurta.org>
7612 * files-x.el (modify-file-local-variable-prop-line): Add local
7613 variables to the end of the existing comment on the first line.
7614 Use `file-auto-mode-skip' to skip interpreter magic line,
7615 and also skip XML declaration.
7617 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7619 * startup.el (package--builtin-versions): New var.
7620 (package-subdirectory-regexp): Remove.
7621 (package--description-file): Hard code its value instead.
7623 * emacs-lisp/package.el: Don't activate packages older than builtin.
7624 (package-obsolete-list): Rename from package-obsolete-alist, and make
7625 it into a simple list of package-desc.
7626 (package-strip-version): Remove.
7627 (package-built-in-p): Use package--builtin-versions.
7628 (package-mark-obsolete): Simplify.
7629 (package-process-define-package): Mark it obsolete if older than the
7631 (package-handle-response): Use line-end-position.
7632 (package-read-archive-contents, package--download-one-archive):
7634 (package--add-to-archive-contents): Skip if older than the builtin or
7636 (package-menu-describe-package): Fix last change.
7637 (package-list-unversioned): New var.
7638 (package-menu--generate): Use it.
7640 * emacs-lisp/autoload.el: Manage package--builtin-versions.
7641 (autoload--insert-text, autoload--insert-cookie-text): New functions.
7642 (autoload-builtin-package-versions): New variable.
7643 (autoload-generate-file-autoloads): Use them.
7644 Remove the list of autoloaded functions/macros from the
7645 (autoload...) comments.
7647 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
7649 2013-06-15 Eli Zaretskii <eliz@gnu.org>
7651 * simple.el (line-move-partial): Don't jump to the next screen
7652 line as soon as it becomes visible. Instead, continue enlarging
7653 the vscroll until the portion of a tall screen line that's left on
7654 display is about the height of the frame's default font.
7657 2013-06-15 Glenn Morris <rgm@gnu.org>
7659 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
7660 compilation-error-regexp-alist void, or local while let-bound.
7662 * progmodes/make-mode.el (makefile-mode-syntax-table):
7663 Treat "=" as punctuation. (Bug#14614)
7665 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
7667 * help-fns.el (describe-variable):
7668 Add extra line for permanent-local variables.
7670 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
7672 * progmodes/scheme.el (scheme-font-lock-keywords-2):
7673 Add export, import, library. (Bug#9164)
7674 (library): Set indent function.
7676 2013-06-14 Glenn Morris <rgm@gnu.org>
7678 * term/xterm.el (xterm--query):
7679 Stop after first matching handler. (Bug#14615)
7681 2013-06-14 Ivan Kanis <ivan@kanis.fr>
7683 Add support for dired in saveplace.
7684 * dired.el (dired-initial-position-hook): New variable.
7685 (dired-initial-position): Call hook to place cursor position.
7686 * saveplace.el (save-place-to-alist): Add dired position.
7687 (save-place-dired-hook): New function.
7689 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
7691 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
7692 through a symbol rather than letrec.
7694 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
7695 (package-desc): Add `dir' field.
7696 (package-desc-full-name): New function.
7697 (package-load-descriptor): Combine the two arguments. Don't use `load'.
7698 (package-maybe-load-descriptor): Remove.
7699 (package-load-all-descriptors): Just call package-load-descriptor.
7700 (package--disabled-p): New function.
7701 (package-desc-vers, package-desc-doc): Remove aliases.
7702 (package--dir): Remove function.
7703 (package-activate): Check if a package is disabled.
7704 (package-process-define-package): New function, extracted from
7706 (define-package): Turn into a place holder.
7707 (package-unpack-single, package-tar-file-info):
7708 Use package--description-file.
7709 (package-compute-transaction): Use package--disabled-p.
7710 (package-download-transaction): Don't call
7711 package-maybe-load-descriptor since they're all loaded anyway.
7712 (package-install): Change argument to be a pkg-desc.
7713 (package-delete): Use a single pkg-desc argument.
7714 (describe-package-1): Use package-desc-dir instead of package--dir.
7715 Use package-desc property instead of package-symbol.
7716 (package-install-button-action): Adjust accordingly.
7717 (package--push): Rewrite.
7718 (package-menu--print-info): Adjust accordingly. Change the ID format
7720 (package-menu-describe-package, package-menu-get-status)
7721 (package-menu--find-upgrades, package-menu-mark-upgrades)
7722 (package-menu-execute, package-menu--name-predicate):
7724 * startup.el (package--description-file): New function.
7725 (command-line): Use it.
7726 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7727 Use package-desc-version.
7729 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
7730 (byte-compile-preprocess): Use it.
7731 (byte-compile-file-form-defalias): Try a bit harder to use macros we
7732 can't quite recognize.
7733 (byte-compile-add-to-list): Remove.
7734 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
7735 (cconv-closure-convert): Add assertion.
7737 * emacs-lisp/map-ynp.el: Use lexical-binding.
7738 (map-y-or-n-p): Remove unused vars `tail' and `object'.
7739 Factor out some repeated code.
7741 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7743 * subr.el (with-eval-after-load): New macro.
7744 (eval-after-load): Allow form to be a function.
7745 take advantage of lexical-binding.
7746 (do-after-load-evaluation): Use dolist and adjust to new format.
7747 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
7749 2013-06-13 Juri Linkov <juri@jurta.org>
7751 * replace.el (perform-replace): Display "symbol " and other search
7752 modes from `isearch-message-prefix' in the *Help* buffer.
7754 * isearch.el (isearch-query-replace): Add " symbol" and other
7755 possible search modes from `isearch-message-prefix' to the prompt.
7756 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
7757 when reading a regexp to collect.
7759 2013-06-13 Juri Linkov <juri@jurta.org>
7761 * isearch.el (word-search-regexp): Match whitespace if the search
7762 string begins or ends in whitespace. The LAX arg is applied to
7763 both ends of the search string. Use `regexp-quote' and explicit
7764 \< and \> instead of \b. Use \` and \' instead of ^ and $.
7765 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
7766 boundaries are replaced with symbol boundaries, and characters
7767 between symbols match non-word non-symbol syntax. (Bug#14602)
7769 2013-06-13 Juri Linkov <juri@jurta.org>
7771 * isearch.el (isearch-del-char): Don't exceed the length of
7772 `isearch-string' by the prefix arg. (Bug#14563)
7774 2013-06-13 Juri Linkov <juri@jurta.org>
7776 * isearch.el (isearch-yank-word, isearch-yank-line)
7777 (isearch-char-by-name, isearch-quote-char)
7778 (isearch-printing-char, isearch-process-search-char):
7779 Add optional count prefix arg. (Bug#14563)
7781 * international/isearch-x.el
7782 (isearch-process-search-multibyte-characters):
7783 Add optional count prefix arg.
7785 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7787 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
7788 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
7791 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
7793 * subr.el (set-temporary-overlay-map): Add on-exit argument.
7795 2013-06-13 Glenn Morris <rgm@gnu.org>
7797 * startup.el (tty-handle-args):
7798 Don't just discard "--" and anything after. (Bug#14608)
7800 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
7802 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
7804 Implement changes in Secret Service API. Make it backward compatible.
7805 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
7806 (secrets-create-item): Use it. Prefix properties with interface.
7808 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
7810 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
7811 (term-emulate-terminal): Respect term-suppress-hard-newline.
7813 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
7815 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
7816 Only remove a `thumb-file' overlay. (Bug#14548)
7818 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
7820 * mail/reporter.el (reporter-submit-bug-report):
7821 Handle missing package-name. (Bug#14600)
7823 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7825 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
7826 (reftex-citation-prompt, reftex-default-bibliography)
7827 (reftex-bib-or-thebib, reftex-get-bibfile-list)
7828 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7829 (reftex-bib-sort-author, reftex-bib-sort-year)
7830 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
7831 (reftex-extract-bib-entries-from-thebibliography)
7832 (reftex-get-bibkey-default, reftex-get-bib-names)
7833 (reftex-parse-bibtex-entry, reftex-get-bib-field)
7834 (reftex-format-bib-entry, reftex-parse-bibitem)
7835 (reftex-format-bibitem, reftex-do-citation)
7836 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
7837 (reftex-restrict-bib-matches, reftex-extract-bib-file)
7838 (reftex-insert-bib-matches, reftex-format-citation)
7839 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
7840 (reftex-create-bibtex-file): Add docstrings, mostly by converting
7841 existing comments into docstrings.
7843 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7845 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
7847 2013-06-12 Andreas Schwab <schwab@suse.de>
7849 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
7850 for auto-save files.
7852 2013-06-12 Glenn Morris <rgm@gnu.org>
7854 * ido.el (ido-delete-ignored-files): Remove.
7855 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
7856 Go back to calling ido-ignore-item-p directly.
7858 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
7860 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
7862 * ido.el (ido-delete-ignored-files): New function,
7863 split from ido-make-file-list-1.
7864 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
7865 (ido-make-file-list-1): Use ido-delete-ignored-files.
7867 2013-06-12 Leo Liu <sdl.web@gmail.com>
7869 * progmodes/octave.el (inferior-octave-startup)
7870 (inferior-octave-completion-table)
7871 (inferior-octave-track-window-width-change)
7872 (octave-eldoc-function-signatures, octave-help)
7873 (octave-find-definition): Use single quoted strings.
7874 (inferior-octave-startup-args): Change default value.
7875 (inferior-octave-startup): Do not hard code "-i" and
7876 "--no-line-editing".
7877 (inferior-octave-resync-dirs): Add optional arg NOERROR.
7878 (inferior-octave-directory-tracker): Use it.
7879 (octave-goto-function-definition): Robustify.
7880 (octave-help): Support highlighting operators in 'See also'.
7881 (octave-find-definition): Find subfunctions only in Octave mode.
7883 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7885 * help-fns.el (help-fns--compiler-macro): If the handler function is
7886 named, then put a link to it.
7887 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
7888 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
7890 (cl-eval-when): Simplify debug spec.
7891 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
7892 compiler-macro function instead of setting `compiler-macro-file'.
7894 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
7896 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
7897 * vc/vc-hooks.el (vc-stay-local): Doc fix.
7899 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7900 Daniel Hackney <dan@haxney.org>
7902 First part of Daniel Hackney's patch to package.el.
7903 * emacs-lisp/package.el: Use defstruct.
7904 (package-desc): New, main struct.
7905 (package--bi-desc, package--ac-desc): New structs, used to describe the
7906 format in external files.
7907 (package-desc-vers): Replace with package-desc-version accessor.
7908 (package-desc-doc): Replace with package-desc-summary accessor.
7909 (package-activate-1): Remove `package' arg since the pkg-vec now
7911 (define-package): Use package-desc-from-define.
7912 (package-unpack-single): Change file-name arg to be a symbol.
7913 (package--add-to-archive-contents): Use package-desc-create and new
7914 accessor functions to package--ac-desc.
7915 (package-buffer-info, package-tar-file-info): Return a package-desc.
7916 (package-install-from-buffer): Remove `type' argument. Change pkg-info
7917 arg to be a package-desc.
7918 (package-install-file): Adjust accordingly. Use \' to match EOS.
7919 (package--from-builtin): New function.
7920 (describe-package-1, package-menu--generate): Use it.
7921 (package--make-autoloads-and-compile): Change name arg to be a symbol.
7922 (package-generate-autoloads): Idem and return the name of the file.
7923 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7924 Change pkg-info arg to be a package-desc.
7925 Use package-make-ac-desc.
7926 (package-upload-file): Use \' to match EOS.
7927 * finder.el (finder-compile-keywords): Use package-make-builtin.
7929 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7931 * vc/vc.el (vc-deduce-fileset): Change error message.
7932 (vc-read-backend): New function.
7933 (vc-next-action): Use it.
7935 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
7937 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
7938 (prolog-font-lock-keywords): Use regexp-opt instead.
7939 Don't manually highlight strings.
7940 (prolog-mode-variables): Simplify comment-start-skip.
7941 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
7943 * emacs-lisp/generic.el (generic--normalise-comments)
7944 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
7945 (generic-mode-set-comments): Use them.
7946 (generic-bracket-support): Use setq-local.
7947 (generic-make-keywords-list): Declare obsolete.
7949 2013-06-11 Glenn Morris <rgm@gnu.org>
7951 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7952 Prettify after setting font-lock-defaults. (Bug#14574)
7954 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
7956 * replace.el (query-replace, occur-read-regexp-defaults-function)
7958 * subr.el (declare-function, number-sequence, local-set-key)
7959 (substitute-key-definition, locate-user-emacs-file)
7960 (with-silent-modifications, split-string, eval-after-load):
7961 Fix typos, remove unneeded backslashes and reflow some docstrings.
7963 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7965 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
7966 default for Elisp files.
7968 2013-06-11 Glenn Morris <rgm@gnu.org>
7970 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
7971 although define-derived-mode was doing this anyway. (Bug#14583)
7973 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
7975 * allout.el (allout-encryption-plaintext-sanitization-regexps):
7976 Fix make-variable-buffer-local call to refer to the correct variable.
7978 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
7980 * eshell/em-term.el (eshell-visual-commands)
7981 (eshell-visual-subcommands, eshell-visual-options):
7982 Add summary line to docstrings. Add cross-references.
7984 2013-06-10 Glenn Morris <rgm@gnu.org>
7986 * epa.el (epa-read-file-name): New function. (Bug#14510)
7987 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
7989 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7991 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
7992 output redirection to be ignored with visual commands.
7994 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
7996 * eshell/em-term.el (eshell-visual-command-p): New function.
7997 (eshell-term-initialize): Move long lambda to separate function
7998 eshell-visual-command-p.
7999 * eshell/em-dirs.el (eshell-dirs-initialise):
8000 * eshell/em-script.el (eshell-script-initialize):
8001 Add missing #' to lambda.
8003 2013-06-08 Leo Liu <sdl.web@gmail.com>
8005 * progmodes/octave.el (octave-add-log-current-defun): New function.
8006 (octave-mode): Set add-log-current-defun-function.
8007 (octave-goto-function-definition): Do not move point if not found.
8008 (octave-find-definition): Enhance to try subfunctions first.
8010 2013-06-08 Glenn Morris <rgm@gnu.org>
8012 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8013 (byte-compile-backward-char, byte-compile-backward-word):
8014 Improve previous change, to handle non-explicit nil.
8016 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8018 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
8019 (smie--opener/closer-at-point): New function.
8020 (smie--matching-block-data): Use it. Don't match from right after an
8021 opener or right before a closer. Obey smie-blink-matching-inners.
8022 Don't signal a mismatch for repeated inners like "switch..case..case".
8024 2013-06-07 Leo Liu <sdl.web@gmail.com>
8026 * progmodes/octave.el (octave-mode): Set comment-use-global-state
8028 (octave-function-header-regexp): Fix. (Bug#14570)
8029 (octave-help-mode-finish-hook, octave-help-mode-finish):
8030 Remove. Just use temp-buffer-show-hook.
8032 * newcomment.el (comment-search-backward): Revert last change.
8035 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
8037 2013-06-07 Eli Zaretskii <eliz@gnu.org>
8039 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
8040 through xargs, to avoid failure due to MS-Windows limitations on
8041 command-line length.
8043 2013-06-06 Glenn Morris <rgm@gnu.org>
8045 * font-lock.el (lisp-font-lock-keywords-2):
8046 Treat user-error like error.
8048 * emacs-lisp/bytecomp.el (byte-compile-char-before)
8049 (byte-compile-backward-char, byte-compile-backward-word):
8050 Handle explicit nil arguments. (Bug#14565)
8052 2013-06-05 Alan Mackenzie <acm@muc.de>
8054 * isearch.el (isearch-allow-prefix): New user option.
8055 (isearch-other-meta-char): Don't exit isearch when a prefix
8056 argument is typed whilst `isearch-allow-prefix' is non-nil.
8059 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8061 * autorevert.el (auto-revert-notify-handler): Use memq.
8062 Hide assertion failure.
8064 * skeleton.el: Use cl-lib.
8065 (skeleton-further-elements): Use defvar-local.
8066 (skeleton-insert): Use cl-progv.
8068 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8070 * progmodes/prog-mode.el (prog-prettify-symbols)
8071 (prog-prettify-install): Update docstrings.
8073 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8075 * simple.el: Move all the prog-mode code to prog-mode.el.
8076 * progmodes/prog-mode.el: New file.
8077 * loadup.el: Add prog-mode.el.
8079 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8081 * simple.el (prog-prettify-symbols): Add version.
8082 (prog-prettify-install): Add convenience function to prettify symbols.
8084 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
8085 (perl--augmented-font-lock-keywords-1)
8086 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
8087 variables and use it.
8089 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8090 (cfengine3-mode): Remove unneeded variable and use it.
8092 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8093 (lisp--augmented-font-lock-keywords-1)
8094 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
8095 Remove unneeded variables and use it.
8097 2013-06-05 João Távora <joaotavora@gmail.com>
8099 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
8100 to point when opening the connection. (Bug#14380)
8102 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8104 * subr.el (load-history-regexp, load-history-filename-element)
8105 (eval-after-load, after-load-functions, do-after-load-evaluation)
8106 (eval-next-after-load, display-delayed-warnings)
8107 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
8108 definition of save-match-data.
8109 (overriding-local-map): Remove accidental obsolescence declaration.
8111 * emacs-lisp/edebug.el (edebug-result): Move before first use.
8113 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
8115 Generalize symbol prettify support to prog-mode and implement it
8116 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
8117 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
8118 (prog--prettify-font-lock-compose-symbol)
8119 (prog-prettify-font-lock-symbols-keywords): New variables and
8120 functions to support symbol prettification.
8121 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
8122 (lisp--augmented-font-lock-keywords-1)
8123 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
8124 (lisp--prettify-symbols-alist): Implement prettify of lambda.
8125 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
8126 (cfengine3--prettify-symbols-alist, cfengine3-mode):
8127 Implement prettify of -> => :: strings.
8128 * progmodes/perl-mode.el (perl-prettify-symbols)
8129 (perl--font-lock-compose-symbol)
8130 (perl--font-lock-symbols-keywords): Move to prog-mode.
8131 (perl--prettify-symbols-alist): Prettify -> => :: strings.
8132 (perl-font-lock-keywords-1)
8133 (perl-font-lock-keywords-2): Remove explicit prettify support.
8134 (perl--augmented-font-lock-keywords)
8135 (perl--augmented-font-lock-keywords-1)
8136 (perl--augmented-font-lock-keywords-2, perl-mode):
8137 Implement prettify support.
8139 2013-06-05 Leo Liu <sdl.web@gmail.com>
8141 Re-implement smie matching block highlight using
8142 show-paren-data-function. (Bug#14395)
8143 * emacs-lisp/smie.el (smie-matching-block-highlight)
8144 (smie--highlight-matching-block-overlay)
8145 (smie--highlight-matching-block-lastpos)
8146 (smie-highlight-matching-block)
8147 (smie-highlight-matching-block-mode): Remove.
8148 (smie--matching-block-data-cache): New variable.
8149 (smie--matching-block-data): New function.
8150 (smie-setup): Use smie--matching-block-data for
8151 show-paren-data-function.
8153 * progmodes/octave.el (octave-mode-menu): Fix.
8154 (octave-find-definition): Skip garbage lines.
8156 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8158 Fix compilation error with simultaneous dynamic+lexical scoping.
8159 Add warning when a defvar appears after the first let-binding.
8160 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
8161 (byte-compile-close-variables): Initialize it.
8162 (byte-compile--declare-var): New function.
8163 (byte-compile-file-form-defvar)
8164 (byte-compile-file-form-define-abbrev-table)
8165 (byte-compile-file-form-custom-declare-variable): Use it.
8166 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
8167 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
8168 (byte-compile-bind): Handle dynamic bindings that shadow
8170 (byte-compile-unbind): Make arg non-optional.
8171 (byte-compile-let): Simplify.
8172 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
8173 (cconv--analyse-function, cconv-analyse-form): Populate it.
8174 Protect byte-compile-bound-variables to limit the scope of defvars.
8175 (cconv-analyse-form): Add missing rule for (defvar <foo>).
8176 Remove unneeded rule for `declare'.
8178 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
8179 so as to avoid depending on cl-adjoin at run-time.
8180 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
8182 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
8183 (macroexp--warn-and-return): Use it.
8185 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8187 * lisp/subr.el: Convert to lexical binding.
8188 (overriding-local-map): Make obsolete.
8189 (add-to-list): Doc fix. Add compiler macro.
8190 (read-key): Swap values of local maps.
8192 2013-06-05 Leo Liu <sdl.web@gmail.com>
8194 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
8196 2013-06-04 Leo Liu <sdl.web@gmail.com>
8198 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
8199 (compilation-auto-jump): Suppress the "Mark set" message to give
8200 way to exit message.
8202 2013-06-04 Alan Mackenzie <acm@muc.de>
8204 Remove faulty optimisation from indentation calculation.
8205 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
8206 search limit based on 2000 characters back from indent-point.
8208 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8210 * eshell/em-term.el (cl-lib): Require `cl-lib'.
8212 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
8214 * emacs-lisp/lisp.el: Use lexical-binding.
8215 (lisp--local-variables-1, lisp--local-variables): New functions.
8216 (lisp--local-variables-completion-table): New var.
8217 (lisp-completion-at-point): Use it complete let-bound vars.
8219 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
8220 eagerly (bug#14422).
8222 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
8224 * autorevert.el (auto-revert-notify-enabled)
8225 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8226 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
8227 (auto-revert-notify-handler): Handle also gfilenotify.
8229 * subr.el (file-notify-handle-event): New defun. Replacing ...
8230 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
8233 2013-06-03 Juri Linkov <juri@jurta.org>
8235 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
8236 `M-s h .'. (Bug#14427)
8238 * hi-lock.el (highlight-symbol-at-point): New alias for the new
8239 command `hi-lock-face-symbol-at-point'.
8240 (hi-lock-face-symbol-at-point): New command.
8241 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
8242 (hi-lock-menu): Add `highlight-symbol-at-point'.
8243 (hi-lock-mode): Doc fix.
8245 * isearch.el (isearch-forward-symbol-at-point): New command.
8246 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
8247 (isearch-highlight-regexp): Add a regexp which matches
8248 words/symbols for word/symbol mode.
8250 * subr.el (find-tag-default-bounds): New function with the body
8251 mostly moved from `find-tag-default'.
8252 (find-tag-default): Move most code to `find-tag-default-bounds',
8253 call it and apply `buffer-substring-no-properties' afterwards.
8255 2013-06-03 Tassilo Horn <tsdh@gnu.org>
8257 * eshell/em-term.el (eshell-term-initialize):
8258 Use `cl-intersection' rather than `intersection'.
8260 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
8262 * vc/log-view.el: Doc fix.
8263 (log-view-mode-map): Copy keymap from `special-mode-map'.
8265 2013-06-02 Eric Ludlam <zappo@gnu.org>
8267 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
8268 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
8269 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
8270 (eieio-unbound, eieio-default-superclass)
8271 (eieio--define-field-accessors, method-static, method-before)
8272 (method-primary, method-after, method-num-lists)
8273 (method-generic-before, method-generic-primary)
8274 (method-generic-after, method-num-slots)
8275 (eieio-specialized-key-to-generic-key)
8276 (eieio--check-type, class-v, class-p)
8277 (eieio-class-name, define-obsolete-function-alias)
8278 (eieio-class-parents-fast, eieio-class-children-fast)
8279 (same-class-fast-p, class-constructor, generic-p)
8280 (generic-primary-only-p, generic-primary-only-one-p)
8281 (class-option-assoc, class-option, eieio-object-p)
8282 (class-abstract-p, class-method-invocation-order)
8283 (eieio-defclass-autoload-map, eieio-defclass-autoload)
8284 (eieio-class-un-autoload, eieio-defclass)
8285 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
8286 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
8287 (eieio--defgeneric-init-form, eieio-defgeneric-form)
8288 (eieio-defgeneric-reset-generic-form)
8289 (eieio-defgeneric-form-primary-only)
8290 (eieio-defgeneric-reset-generic-form-primary-only)
8291 (eieio-defgeneric-form-primary-only-one)
8292 (eieio-defgeneric-reset-generic-form-primary-only-one)
8293 (eieio-unbind-method-implementations)
8294 (eieio--defmethod, eieio--typep)
8295 (eieio-perform-slot-validation, eieio-validate-slot-value)
8296 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
8297 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
8298 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
8299 (eieio-slot-name-index, eieio-class-slot-name-index)
8300 (eieio-set-defaults, eieio-initarg-to-attribute)
8301 (eieio-attribute-to-initarg, eieio-c3-candidate)
8302 (eieio-c3-merge-lists, eieio-class-precedence-c3)
8303 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
8304 (eieio-class-precedence-list, eieio-generic-call-methodname)
8305 (eieio-generic-call-arglst, eieio-generic-call-key)
8306 (eieio-generic-call-next-method-list)
8307 (eieio-pre-method-execution-functions, eieio-generic-call)
8308 (eieio-generic-call-primary-only, eieiomt-method-list)
8309 (eieiomt-optimizing-obarray, eieiomt-install)
8310 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
8311 (eieio-generic-form, eieio-defmethod, make-obsolete)
8312 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
8313 (defclass): Remove `eval-and-compile' from macro.
8314 (call-next-method, shared-initialize): Instead of using
8315 `scoped-class' variable, use new eieio--scoped-class, and
8316 eieio--with-scoped-class.
8317 (initialize-instance): Rename local variable 'scoped-class' to
8318 'this-class' to remove ambiguitity from old global.
8320 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
8322 (eieio--scoped-class-stack): New variable.
8323 (eieio--scoped-class): New fcn.
8324 (eieio--with-scoped-class): New scoping macro.
8325 (eieio-defclass): Use pushnew instead of add-to-list.
8326 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
8327 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
8328 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
8329 `scoped-class' variable, use new eieio--scoped-class, and
8330 eieio--with-scoped-class.
8332 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
8334 2013-06-02 Tassilo Horn <tsdh@gnu.org>
8336 * eshell/esh-ext.el (eshell-external-command): Pass args to
8337 `eshell-find-interpreter'.
8338 (eshell-find-interpreter): Add new second parameter ARGS.
8340 * eshell/em-script.el (eshell-script-initialize): Add second arg
8341 to the function added as MATCH to `eshell-interpreter-alist'.
8343 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
8344 the function added as MATCH to `eshell-interpreter-alist'.
8346 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
8347 (eshell-visual-options): New defcustom.
8348 (eshell-escape-control-x): Adapt docstring.
8349 (eshell-term-initialize): Test `eshell-visual-subcommands' and
8350 `eshell-visual-options' in addition to `eshell-visual-commands'.
8351 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
8353 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
8355 * progmodes/python.el (python-indent-block-enders): Add break,
8356 continue and raise keywords.
8358 2013-06-01 Glenn Morris <rgm@gnu.org>
8360 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
8362 Plain (f)boundp silences compilation warnings since Emacs 22.1.
8363 * progmodes/cc-cmds.el (delete-forward-p):
8364 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
8365 * progmodes/cc-engine.el (buffer-syntactic-context):
8366 * progmodes/cc-fonts.el (face-property-instance):
8367 * progmodes/cc-mode.el (set-keymap-parents):
8368 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
8369 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
8370 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
8371 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
8372 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
8374 * progmodes/cc-vars.el (other): Emacs has this widget since
8375 at least 21.1, so don't (re)define it.
8377 * eshell/em-cmpl.el (eshell-cmpl-initialize):
8378 Replace the obsolete alias pcomplete-arg-quote-list.
8380 2013-06-01 Leo Liu <sdl.web@gmail.com>
8382 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
8384 (inferior-octave-minimal-columns)
8385 (inferior-octave-last-column-width): New variables.
8386 (inferior-octave-track-window-width-change): New function.
8387 (inferior-octave-mode): Adjust column width so that Octave output,
8388 for example from 'ls', can fit into the window nicely.
8390 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8392 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8393 Highlight expansions inside regexp literals.
8395 2013-05-31 Glenn Morris <rgm@gnu.org>
8397 * obsolete/sym-comp.el (symbol-complete):
8398 Replace obsolete completion-annotate-function.
8400 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
8402 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
8404 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
8405 New function, checks if point is inside a literal that allows
8406 expression expansion.
8407 (ruby-syntax-propertize-expansion): Use it.
8408 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
8411 2013-05-30 Juri Linkov <juri@jurta.org>
8413 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
8415 (isearch-invisible): New variable.
8416 (isearch-forward): Doc fix.
8417 (isearch-mode): Set `isearch-invisible'
8418 to the value of `search-invisible'.
8419 (isearch-toggle-case-fold): Doc fix.
8420 (isearch-toggle-invisible): New command.
8421 (isearch-query-replace): Let-bind `search-invisible'
8422 to the value of `isearch-invisible'.
8423 (isearch-search): Use `isearch-invisible' instead of
8424 `search-invisible'. Let-bind `search-invisible'
8425 to the value of `isearch-invisible'. (Bug#11378)
8427 2013-05-30 Juri Linkov <juri@jurta.org>
8429 * replace.el (perform-replace): Avoid `isearch-range-invisible'
8430 call when `query-flag' is nil and `search-invisible' is non-nil.
8433 2013-05-30 Glenn Morris <rgm@gnu.org>
8435 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
8437 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
8438 (cc-require): Suppress spurious "noruntime" warnings.
8439 (cc-require-when-compile): Use fboundp, for sake of compiler.
8441 * progmodes/cc-mode.el: Move load of cc-vars before that of
8442 cc-langs (which in turn loads cc-vars), to quieten compiler.
8444 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8446 * paren.el: Simplify the code.
8447 (show-paren-mode): Always start the timer.
8448 (show-paren--idle-timer): Rename from show-paren-idle-timer.
8449 (show-paren--overlay, show-paren--overlay-1): Rename from
8450 show-paren-overlay and show-paren-overlay-1, and initialize to an
8451 overlay rather than to nil.
8452 (show-paren-function): Misc cleanup and simplifications.
8454 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8456 * paren.el (show-paren-data-function): New hook.
8457 (show-paren--default): New function, extracted from show-paren-function.
8458 (show-paren-function): Use show-paren-data-function.
8460 2013-05-30 Glenn Morris <rgm@gnu.org>
8462 * ielm.el (ielm-map, ielm-complete-symbol):
8463 Use completion-at-point rather than obsolete functions.
8464 (inferior-emacs-lisp-mode): Doc fix.
8465 Set completion-at-point-functions, rather than
8466 comint-dynamic-complete-functions.
8468 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
8469 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
8470 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
8472 * image.el (image-animated-p): Tweak definition.
8474 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
8475 (rlogin-process-connection-type): Tweak default. Add set-after.
8476 (rlogin-host): Doc fix.
8477 (rlogin): Tweak prompt.
8478 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
8480 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
8481 * progmodes/tcl.el (inferior-tcl-mode-map):
8482 Use completion-at-point rather than obsolete alias.
8484 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
8486 * minibuffer.el (read-file-name-completion-ignore-case):
8487 Move before completion--in-region, for eager macro expansion.
8489 2013-05-29 Juri Linkov <juri@jurta.org>
8491 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
8492 for total count of matching lines. Add `global-matches' for total
8493 count of matches. Rename `matches' to `lines' for count of
8494 matching lines. Add `matches' for count of matches.
8495 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
8496 to `prev-line' for line number of prev match endpt.
8497 Increment `matches' for every match. Print the number of
8498 matching lines in the header.
8499 (occur-context-lines): Rename `lines' to `curr-line'.
8500 Rename `prev-lines' to `prev-line'. (Bug#14017)
8502 2013-05-29 Juri Linkov <juri@jurta.org>
8504 * replace.el (perform-replace): Add `skip-read-only-count',
8505 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
8506 Increment them for corresponding conditions and report the number
8507 of skipped occurrences in the final message. (Bug#11746)
8508 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8509 (replace-string, replace-regexp): Doc fix.
8511 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8513 * emacs-lisp/trace.el (trace--read-args): Provide a default.
8515 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
8516 prog-mode-map (bug#14504).
8518 2013-05-29 Leo Liu <sdl.web@gmail.com>
8520 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
8521 (octave-help): Small simplification.
8523 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
8524 off the highlight first.
8526 2013-05-29 Glenn Morris <rgm@gnu.org>
8528 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
8529 Handle idlwave-last-system-routine-info-cons-cell being nil.
8531 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
8532 (idlwave-write-paths): Simplify via with-temp-buffer.
8534 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
8535 * emulation/cua-rect.el: Also load cua-base at run time.
8537 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
8538 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
8539 (cperl-imenu-on-info): Require imenu.
8541 2013-05-28 Alan Mackenzie <acm@muc.de>
8543 Handle "capitalised keywords" correctly.
8544 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
8546 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
8548 * eshell/em-unix.el: Add -r option to cp.
8550 2013-05-28 Glenn Morris <rgm@gnu.org>
8552 * vc/vc-arch.el (vc-exec-after): Declare.
8553 (vc-switches): Autoload.
8554 * vc/vc-bzr.el: No need to require vc when compiling.
8555 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
8556 (vc-resynch-buffer, vc-dir-refresh): Declare.
8557 (vc-setup-buffer, vc-switches): Autoload.
8558 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
8559 (vc-resynch-buffer): Declare.
8560 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
8561 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
8562 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
8563 (grep-read-regexp, grep-read-files, grep-expand-template)
8564 (vc-dir-refresh): Declare.
8565 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
8566 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
8567 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
8568 * vc/vc-mtn.el (vc-exec-after): Declare.
8569 (vc-switches): Autoload.
8570 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
8571 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
8572 (vc-file-tree-walk): Declare.
8573 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
8574 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
8575 (vc-tag-precondition, vc-rename-master): Autoload.
8576 * vc/vc-svn.el (vc-exec-after): Declare.
8577 (vc-switches, vc-setup-buffer): Autoload.
8578 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
8580 (vc-resynch-buffer): Declare.
8582 * obsolete/fast-lock.el (byte-compile-warnings):
8583 Don't warn about obsolete features in this obsolete file.
8585 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
8586 Move definition before use.
8588 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
8589 (dun-unix-verbs): Remove dun-zippy.
8590 (dun-zippy): Remove function.
8592 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
8594 2013-05-27 Juri Linkov <juri@jurta.org>
8596 * replace.el (replace-search): New function with code moved out
8597 from `perform-replace'.
8598 (replace-highlight, replace-dehighlight): Move function definitions
8599 up closer to `replace-search'. (Bug#11746)
8601 2013-05-27 Juri Linkov <juri@jurta.org>
8603 * replace.el (perform-replace): Ignore invisible matches.
8604 In addition to checking `query-replace-skip-read-only', also
8605 filter out matches by calling `run-hook-with-args-until-failure'
8606 on `isearch-filter-predicates', and also check `search-invisible'
8607 for t or call `isearch-range-invisible'.
8608 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
8610 2013-05-27 Juri Linkov <juri@jurta.org>
8612 * isearch.el (isearch-filter-predicates): Rename from
8613 `isearch-filter-predicate'. Doc fix. (Bug#11378)
8614 (isearch-message-prefix): Display text from the property
8615 `isearch-message-prefix' of the currently active filters.
8616 (isearch-search): Don't compare `isearch-filter-predicate' with
8617 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
8618 on `isearch-filter-predicates'. Also check `search-invisible' for t
8619 or call `isearch-range-invisible'.
8620 (isearch-filter-visible): Make obsolete.
8621 (isearch-lazy-highlight-search):
8622 Call `run-hook-with-args-until-failure' on
8623 `isearch-filter-predicates' and use `isearch-range-invisible'.
8625 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
8626 `isearch-filter-predicates' instead of `funcall'ing
8627 `isearch-filter-predicate'.
8628 (Info-mode): Set `Info-isearch-filter' to
8629 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
8631 * dired-aux.el (dired-isearch-filter-predicate-orig):
8633 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
8634 (dired-isearch-filenames-end): Add and remove
8635 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
8636 instead of changing the value of `isearch-filter-predicate'.
8637 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
8638 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
8639 Put property `isearch-message-prefix' to "filename " on
8640 `dired-isearch-filter-filenames'.
8642 * wdired.el (wdired-change-to-wdired-mode):
8643 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
8644 locally instead of changing `isearch-filter-predicate'.
8645 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
8647 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
8649 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
8650 return the commit hash (Bug#14459). Also set the
8651 `vc-git-detached' property.
8652 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
8653 (vc-git-mode-line-string): Use the same help-echo format whether
8654 in detached mode or not, because we know the actual revision now.
8655 When in detached mode, shorten the revision to 7 chars.
8657 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8659 * emacs-lisp/easy-mmode.el (define-minor-mode):
8660 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
8661 mode hook and provide a docstring.
8663 2013-05-27 Alan Mackenzie <acm@muc.de>
8665 Remove spurious syntax-table text properties inserted by C-y.
8666 * progmodes/cc-mode.el (c-after-change): Also clear hard
8667 syntax-table property with value nil.
8669 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
8671 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
8672 when reading the events; the buffer layout shall not be changed.
8674 2013-05-27 Leo Liu <sdl.web@gmail.com>
8676 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
8678 (inferior-octave-directory-tracker): Automatically re-sync
8680 (octave-help): Improve handling of 'See also'.
8682 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
8684 * doc-view.el: Minor naming convention tweaks.
8685 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
8687 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
8688 even if there's no `display' property yet (bug#14435).
8690 2013-05-25 Eli Zaretskii <eliz@gnu.org>
8692 * subr.el (unmsys--file-name): Rename from reveal-filename.
8694 * Makefile.in (custom-deps, finder-data, autoloads)
8695 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8696 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8697 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
8699 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8701 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
8702 error-completion on the first 2 args of condition-case (bug#14446).
8705 2013-05-25 Leo Liu <sdl.web@gmail.com>
8707 * comint.el (comint-previous-matching-input): Do not flood the
8708 *Messages* buffer with trivial messages.
8710 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8712 * progmodes/flymake.el (flymake-nop): Don't return a string.
8713 (flymake-set-at): Fix typo.
8715 * simple.el (read--expression): New function, extracted from
8716 eval-expression. Set completion-at-point-functions (bug#14465).
8717 (eval-expression, eval-minibuffer): Use it.
8719 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
8721 * progmodes/flymake.el (flymake-save-buffer-in-file)
8722 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
8723 (flymake-selected-frame, flymake-log, flymake-ins-after)
8724 (flymake-set-at, flymake-get-buildfile-from-cache)
8725 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
8726 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
8727 Refine the doc string.
8728 (flymake-get-file-name-mode-and-masks): Reformat.
8729 (flymake-get-real-file-name-function): Fix a minor bug.
8731 2013-05-24 Juri Linkov <juri@jurta.org>
8733 * progmodes/grep.el (grep-mode-font-lock-keywords):
8734 Support =linenumber= format used by git-grep for lines with
8735 function names. (Bug#13549)
8737 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8739 * progmodes/octave.el (octave-smie-rules): Return nil rather than
8740 0 after a semi-colon; it works better for smie-auto-fill.
8741 (octave--indent-new-comment-line): New function.
8742 (octave-indent-new-comment-line): Use it (indirectly).
8743 (octave-mode): Don't disable smie-auto-fill. Use add-function to
8744 modify comment-line-break-function.
8746 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
8747 (smie-setup): Use add-function to set it.
8749 2013-05-24 Sam Steingold <sds@gnu.org>
8751 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
8752 argument (before the `interactive' argument).
8754 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
8756 * image-mode.el (image-mode-winprops): Add winprops to
8757 image-mode-winprops-alist before running
8758 image-mode-new-window-functions.
8759 * doc-view.el (doc-view-new-window-function): Don't delay
8760 doc-view-goto-page via timers (bug#14435).
8762 2013-05-24 Tassilo Horn <tsdh@gnu.org>
8764 * doc-view.el: Integrate with desktop.el. (Bug#14435)
8765 (doc-view-desktop-save-buffer): New function.
8766 (doc-view-restore-desktop-buffer): New function.
8767 (desktop-buffer-mode-handlers):
8768 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
8770 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
8771 `desktop-save-buffer' function.
8773 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
8775 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
8776 (tramp-gvfs-file-name-handler): Raise a user error when
8777 `tramp-gvfs-enabled' is nil.
8778 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
8779 Do not raise a user error when loading package. (Bug#14447)
8781 * net/xesam.el: Move to obsolete/.
8783 2013-05-24 Glenn Morris <rgm@gnu.org>
8785 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
8787 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
8789 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
8790 (Info-find-node, Man-getpage-in-background): Declare.
8792 * mail/unrmail.el (unrmail):
8793 Replace obsolete detect-coding-with-priority.
8795 * net/socks.el (socks-split-string): Use this rather than split-string.
8796 (socks-nslookup-host): Update for above change.
8797 (dynamic-choice, s5-dynamic-choice-match)
8798 (s5-dynamic-choice-match-inline, s5-widget-value-create):
8799 Comment out unused code.
8801 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
8802 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
8803 (gud-tooltip-echo-area): Make obsolete.
8804 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
8806 * progmodes/js.el (js--optimize-arglist): Declare.
8808 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
8810 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
8811 (ediff-window-C): Declare.
8813 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
8814 Tweak requires to silence compiler.
8816 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
8817 (he-search-string, he-tried-table, he-expand-list)
8818 (he-init-string, he-string-member, he-substitute-string)
8819 (he-reset-string): Declare.
8821 * obsolete/options.el (list-options): Use custom-variable-p,
8822 rather than obsolete alias.
8824 2013-05-23 Sam Steingold <sds@gnu.org>
8826 * simple.el (shell-command-on-region): Pass the `replace' argument
8827 down to `call-process-region' to comply with the doc as reported on
8828 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
8830 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
8832 * emacs-lisp/smie.el (smie-indent-forward-token)
8833 (smie-indent-backward-token): Handle string tokens (bug#14381).
8835 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8837 * ielm.el (ielm-menu): New menu.
8838 (inferior-emacs-lisp-mode): Set comment-start.
8840 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8842 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
8843 Fix deactivate action.
8845 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
8846 Add cleveref macros.
8848 * lisp/textmodes/reftex-parse.el
8849 (reftex-locate-bibliography-files): Accept options for
8850 bibliography commands.
8851 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
8852 Add addbibresource. Basic Biblatex support.
8854 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
8856 * net/tramp-gvfs.el (top):
8857 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
8858 when loading package. (Bug#14447)
8860 2013-05-23 Glenn Morris <rgm@gnu.org>
8862 * progmodes/js.el: No need to load comint when compiling.
8863 (ring-insert, comint-send-string, comint-send-input)
8864 (comint-last-input-end, ido-chop): Declare.
8866 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
8867 * vc/ediff-mult.el: Adjust requires.
8868 (ediff-directories-internal, ediff-directory-revisions-internal)
8869 (ediff-patch-file-internal): Declare.
8870 * vc/ediff-ptch.el: Adjust requires.
8871 (ediff-use-last-dir, ediff-buffers-internal): Declare.
8872 (ediff-find-file): Autoload.
8873 * vc/ediff-util.el: No need to load ediff when compiling.
8874 (ediff-regions-internal): Declare.
8875 * vc/ediff-wind.el: Adjust requires.
8876 (ediff-compute-toolbar-width): Define when compiling.
8877 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
8878 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
8879 (dired-get-filename, dired-get-marked-files)
8880 (ediff-last-dir-patch, ediff-patch-default-directory)
8881 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
8882 (ediff-patch-buffer-internal): Declare.
8884 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
8885 (ispell-process, ispell-buffer-local-words, lm-summary)
8886 (lm-section-start, lm-section-end): Declare.
8887 (checkdoc-ispell-init): Simplify.
8889 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
8890 (he-string-member, he-reset-string, he-substitute-string): Declare.
8892 * eshell/em-ls.el: Adjust requires.
8893 (eshell-glob-regexp): Declare.
8894 * eshell/em-tramp.el: Adjust requires.
8895 (eshell-parse-command): Autoload.
8896 * eshell/em-xtra.el: Adjust requires.
8897 (eshell-parse-command): Autoload.
8898 * eshell/esh-ext.el: Adjust requires.
8899 (eshell-parse-command, eshell-close-handles): Autoload.
8900 * eshell/esh-io.el: Adjust requires.
8901 (eshell-output-filter): Autoload.
8902 * eshell/esh-util.el: No need to load tramp when compiling.
8903 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
8905 (eshell-parse-ange-ls): Require ange-ftp and tramp.
8906 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8907 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
8908 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
8909 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
8910 * eshell/esh-opt.el, eshell/esh-proc.el:
8911 * eshell/esh-var.el: Adjust requires.
8912 * eshell/eshell.el: Do not require esh-util twice.
8913 (eshell-add-input-to-history): Declare.
8914 (eshell-command): Check history module is active before using it.
8916 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
8918 2013-05-22 Leo Liu <sdl.web@gmail.com>
8920 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
8922 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
8924 * autorevert.el (auto-revert-notify-add-watch)
8925 (auto-revert-notify-handler): Add `attrib' for the inotify case,
8926 it indicates changes in file modification time.
8928 2013-05-22 Glenn Morris <rgm@gnu.org>
8930 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8931 Always delete the autoloaded function from the noruntime and
8932 unresolved functions lists.
8934 * allout.el: No need to load epa, epg, overlay when compiling.
8935 (epg-context-set-passphrase-callback, epg-list-keys)
8936 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
8937 (epg-key-user-id-list): Declare.
8939 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8940 (viper-set-parsing-style-toggling-macro)
8941 (viper-set-emacs-state-searchstyle-macros):
8942 Use called-interactively-p on Emacs.
8943 (viper-looking-back): Make it an obsolete alias. Update callers.
8944 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
8945 Use looking-back rather than viper-looking-back.
8946 (viper-tmp-insert-at-eob, viper-enlarge-region)
8947 (viper-read-string-with-history, viper-register-to-point)
8948 (viper-append-to-register, viper-change-state-to-vi)
8949 (viper-backward-char-carefully, viper-forward-char-carefully)
8950 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
8951 (viper-change-state-to-emacs): Declare.
8952 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
8953 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
8954 * emulation/viper-mous.el: Do not load viper-cmd.
8955 (viper-backward-char-carefully, viper-forward-char-carefully)
8956 (viper-forward-word, viper-adjust-window): Declare.
8958 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
8960 * progmodes/idlw-help.el (idlwave-help-fontify):
8961 Use called-interactively-p.
8963 * term/w32console.el (w32-get-console-codepage)
8964 (w32-get-console-output-codepage): Declare.
8966 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
8967 Remove unnecessary declarations.
8968 (dframe-message): Doc fix.
8970 * info.el (dframe-select-attached-frame, dframe-current-frame):
8973 * speedbar.el (speedbar-message): Make it an obsolete alias.
8975 (speedbar-with-attached-buffer)
8976 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
8977 (speedbar-with-writable): Use backquote.
8978 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
8979 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
8980 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
8981 rather than speedbar- aliases.
8982 * mail/rmail.el: Load dframe rather than speedbar when compiling.
8983 (speedbar-make-specialized-keymap, speedbar-insert-button)
8984 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
8985 (speedbar-do-function-pointer): Declare.
8986 (rmail-speedbar-button, rmail-speedbar-find-file)
8987 (rmail-speedbar-move-message):
8988 Use dframe-with-attached-buffer rather than speedbar- alias.
8989 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
8990 (dframe-message, speedbar-make-specialized-keymap)
8991 (speedbar-add-expansion-list, speedbar-mode-functions-list)
8992 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
8993 (speedbar-insert-button, dframe-select-attached-frame)
8994 (dframe-maybee-jump-to-attached-frame)
8995 (speedbar-change-initial-expansion-list)
8996 (speedbar-previously-used-expansion-list-name): Declare.
8997 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
8998 Use dframe-message, dframe-with-attached-buffer rather than
9000 (gud-sentinel): Silence compiler.
9001 * progmodes/vhdl-mode.el (speedbar-refresh)
9002 (speedbar-do-function-pointer, speedbar-add-supported-extension)
9003 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
9004 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
9005 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
9006 (speedbar-file-lists, speedbar-make-tag-line)
9007 (speedbar-line-directory, speedbar-goto-this-file)
9008 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
9009 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
9010 (speedbar-make-button, speedbar-reset-scanners)
9011 (speedbar-files-item-info, speedbar-line-text)
9012 (speedbar-find-file-in-frame, speedbar-set-timer)
9013 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
9014 (speedbar-with-writable): Do not (re)define it.
9015 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
9016 rather than speedbar- alias.
9018 2013-05-21 Leo Liu <sdl.web@gmail.com>
9020 * progmodes/octave.el (octave-mode-menu): Update and re-organize
9022 (octave-mode): Tweak fill-nobreak-predicate.
9023 (inferior-octave-startup): Check process to avoid infinite loop.
9024 (inferior-octave): Pop to buffer first to show abornmal process
9027 2013-05-21 Glenn Morris <rgm@gnu.org>
9029 * printing.el (pr-menu-bar): Define when compiling.
9031 2013-05-21 Leo Liu <sdl.web@gmail.com>
9033 * progmodes/octave.el (octave-auto-fill): Remove.
9034 (octave-indent-new-comment-line): Improve.
9035 (octave-mode): Use auto fill mode through
9036 comment-line-break-function and fill-nobreak-predicate.
9037 (octave-goto-function-definition): Support DEFUN_DLD.
9038 (octave-beginning-of-defun): Small tweak.
9039 (octave-help): Show parent directory.
9041 2013-05-21 Glenn Morris <rgm@gnu.org>
9043 * files.el (dired-unmark):
9044 * progmodes/gud.el (gdb-input): Update declarations.
9046 * calculator.el (electric, ehelp): No need to load when compiling.
9047 (Electric-command-loop, electric-describe-mode): Declare.
9049 * doc-view.el (doc-view-current-converter-processes): Move before use.
9051 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9052 Move MODE-set-explicitly definition before use.
9054 * international/mule-diag.el (mule-diag):
9055 Don't use obsolete window-system-version.
9057 * mail/feedmail.el (smtpmail): No need to load when compiling.
9058 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
9060 * mail/mail-utils.el (rfc822): No need to load when compiling.
9061 (rfc822-addresses): Autoload it.
9062 (mail-strip-quoted-names): Trivial simplification.
9064 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
9065 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
9067 * net/snmp-mode.el (tempo): Don't duplicate requires.
9069 * progmodes/prolog.el (info): No need to load when compiling.
9070 (comint): Require before shell requires it.
9071 (Info-goto-node): Autoload it.
9072 (Info-follow-nearest-node): Declare.
9073 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
9075 * textmodes/artist.el (picture-mode-exit): Declare.
9077 * textmodes/reftex-parse.el (reftex-parse-from-file):
9078 Trivial rewrite so the compiler can parse it better.
9080 2013-05-20 Leo Liu <sdl.web@gmail.com>
9082 * progmodes/octave.el (octave-help-mode-map)
9083 (octave-help-mode-finish-hook): New variables.
9084 (octave-help-mode, octave-help-mode-finish): New functions.
9085 (octave-help): Use octave-help-mode.
9087 2013-05-20 Glenn Morris <rgm@gnu.org>
9089 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
9091 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
9093 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
9094 start at point, so that expansion starting right after opening
9095 slash in a regexp is recognized.
9096 (ruby-syntax-before-regexp-re): New defvar, extracted from
9097 ruby-syntax-propertize-function. Since the value of this regexp
9098 is looked up at runtime now, we should be able to turn
9099 `ruby-syntax-methods-before-regexp' into a defcustom later.
9100 (ruby-syntax-propertize-function): Split regexp matching into two
9101 parts, for opening and closing slashes. That allows us to skip
9102 over string interpolations and support multiline regexps.
9103 Don't call `ruby-syntax-propertize-expansions', instead use another rule
9104 for them, which calls `ruby-syntax-propertize-expansion'.
9105 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
9106 call to `ruby-syntax-propertize-function'.
9107 (ruby-syntax-propertize-expansion): Extracted from
9108 `ruby-syntax-propertize-expansions'. Handles one expansion.
9109 (ruby-syntax-propertize-percent-literal): Leave point right after
9110 the percent symbol, so that the expression expansion rule can
9111 propertize the contents.
9112 (ruby-syntax-propertize-heredoc): Leave point at bol following the
9114 (ruby-syntax-propertize-expansions): Remove.
9116 2013-05-18 Juri Linkov <juri@jurta.org>
9118 * man.el (Man-default-man-entry): Remove `-' from the end
9119 of the default value. (Bug#14400)
9121 2013-05-18 Glenn Morris <rgm@gnu.org>
9123 * comint.el (comint-password-prompt-regexp):
9124 Allow "password for XXX" where XXX contains colons (eg https://...).
9126 2013-05-18 Leo Liu <sdl.web@gmail.com>
9128 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
9129 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
9130 (octave-source-directories): Don't check process.
9131 (octave-source-directories, octave-find-definition): Doc fix.
9133 2013-05-18 Glenn Morris <rgm@gnu.org>
9135 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
9136 Remove backspace/delete bindings. (Bug#14392)
9138 * cus-dep.el (custom-make-dependencies): Sort the output.
9139 (custom-versions-load-alist): Convert comment to doc.
9141 2013-05-17 Leo Liu <sdl.web@gmail.com>
9143 * newcomment.el (comment-search-backward): Stricter in finding
9144 comment start. (Bug#14303)
9146 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
9147 (octave-comment-start-skip): Properly anchored.
9149 2013-05-17 Leo Liu <sdl.web@gmail.com>
9151 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
9152 Clean up when turned off. (Bug#14395)
9153 (smie--highlight-matching-block-overlay): No longer buffer-local.
9154 (smie-highlight-matching-block): Adjust.
9156 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
9158 Doc string fix for "nanoseconds" (Bug#14406).
9159 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
9160 Fix doc string typo that had "nanoseconds" instead of "microseconds".
9162 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
9164 * calc/calc-units.el (math-extract-units): Preserve powers
9167 2013-05-17 Leo Liu <sdl.web@gmail.com>
9169 * subr.el (delete-consecutive-dups): New function.
9170 * ido.el (ido-set-matches-1): Use it.
9171 * progmodes/octave.el (inferior-octave-completion-table): Use it.
9172 * ido.el (ido-remove-consecutive-dups): Remove.
9174 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
9176 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9177 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
9178 regexp-opt's `words'.
9180 2013-05-16 Leo Liu <sdl.web@gmail.com>
9182 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
9183 (smie--highlight-matching-block-overlay)
9184 (smie--highlight-matching-block-lastpos)
9185 (smie--highlight-matching-block-timer): New variables.
9186 (smie-highlight-matching-block): New function.
9187 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
9188 (smie-setup): Conditionally enable smie-blink-matching-open.
9190 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
9192 Sync with upstream verilog-mode r840.
9193 * progmodes/verilog-mode.el (verilog-mode-version)
9194 (verilog-mode-release-date): Update.
9195 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
9196 (verilog-sig-tieoff): Fix string error on
9197 AUTORESET with colon define, bug594. Reported by Andrew Hou.
9198 (verilog-read-decls): Fix parameters confusing
9199 AUTOINST interfaces, bug565. Reported by Leith Johnson.
9201 2013-05-16 Eli Zaretskii <eliz@gnu.org>
9203 * subr.el (reveal-filename): New function.
9205 * loadup.el: Compute Emacs executable versions on MS-Windows,
9206 where executables have the .exe extension. Add a hard link
9207 emacs-XX.YY.ZZ.exe on MS-Windows.
9209 * Makefile.in (XARGS_LIMIT): New variable.
9210 (custom-deps, finder-data, autoloads)
9211 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9212 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9213 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
9214 (compile-main): Limit xargs according to $(XARGS_LIMIT).
9216 2013-05-16 Leo Liu <sdl.web@gmail.com>
9218 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
9219 (octave-mode-menu, octave-mode-map): Remove its uses.
9221 2013-05-16 Reto Zimmermann <reto@gnu.org>
9223 Sync with upstream vhdl mode v3.34.2.
9224 * progmodes/vhdl-mode.el: Use `push' throughout.
9225 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
9226 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
9227 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
9228 (vhdl-actual-generic-name): New option to derive actual generic name.
9229 (vhdl-port-paste-signals): Replace formal by actual generics.
9230 (vhdl-beautify): New name for old group vhdl-align. Update users.
9231 (vhdl-beautify-options): New option.
9232 (vhdl-last-input-event): New compat alias. Use throughout.
9233 (vhdl-goto-line): Replace user level function `goto-line'.
9234 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
9235 vhdl-fix-statement-buffer.
9236 (vhdl-create-mode-menu): Add some entries.
9237 (vhdl-align-region-groups): Respect vhdl-beautify-options.
9238 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
9239 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
9240 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
9241 to force statements on one line.
9242 (vhdl-remove-trailing-spaces-region):
9243 New, split from vhdl-remove-trailing-spaces.
9244 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
9245 Respect vhdl-beautify-options.
9246 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
9247 (vhdl-update-sensitivity-list): Not add with index if exists without.
9248 Not include array index with signal. Ignore keywords in comments.
9249 (vhdl-get-visible-signals): Regexp tweaks.
9250 (vhdl-template-component-inst): Handle empty library.
9251 (vhdl-template-type): Add template for 'enum' type.
9252 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
9253 Use vhdl-replace-string.
9254 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
9255 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
9256 (vhdl-speedbar-initialize): Update for above name change.
9257 (vhdl-compose-wire-components): Fix in handling of constants.
9258 (vhdl-error-regexp-emacs-alist): New variable.
9259 (vhdl-error-regexp-add-emacs): New function;
9260 adds support for new compile.el (Emacs 22+)
9261 (vhdl-generate-makefile-1): Change target order for single lib. units.
9262 Allow use of absolute file names.
9264 2013-05-16 Leo Liu <sdl.web@gmail.com>
9266 * simple.el (prog-indent-sexp): Indent enclosing defun.
9268 2013-05-15 Glenn Morris <rgm@gnu.org>
9270 * cus-start.el (show-trailing-whitespace): Move to editing basics.
9271 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
9272 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
9273 (whitespace-highlight): Move to whitespace group.
9275 * comint.el (comint-source):
9276 * pcmpl-linux.el (pcmpl-linux):
9277 * shell.el (shell-faces):
9278 * eshell/esh-opt.el (eshell-opt):
9279 * international/ccl.el (ccl): Remove empty custom groups.
9281 * completion.el (dynamic-completion-mode):
9282 * jit-lock.el (jit-lock-debug-mode):
9283 * minibuffer.el (completion-in-region-mode):
9284 * type-break.el (type-break-mode-line-message-mode)
9285 (type-break-query-mode):
9286 * emulation/tpu-edt.el (tpu-edt-mode):
9287 * progmodes/subword.el (global-subword-mode, global-superword-mode):
9288 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9289 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
9291 * term/xterm.el (xterm): Change parent group to terminals.
9293 * master.el (master): Remove empty custom group.
9294 (master-mode): Remove unused :group argument.
9295 * textmodes/refill.el (refill): Remove empty custom group.
9296 (refill-mode): Remove unused :group argument.
9298 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
9300 * cus-dep.el: Provide a feature.
9301 (custom-make-dependencies): Ignore dotfiles (dir-locals).
9302 Don't mistakenly ignore files whose basenames match a basename
9303 from preloaded-file-list (eg cedet/ede/simple.el).
9304 Add a fallback method for getting :group.
9306 2013-05-15 Juri Linkov <juri@jurta.org>
9308 * isearch.el (isearch-char-by-name): Rename from
9309 `isearch-insert-char-by-name'. Doc fix.
9310 (isearch-forward): Mention `isearch-char-by-name' in
9311 the docstring. (Bug#13348)
9313 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
9314 `exit-minibuffer' instead of
9315 `isearch-nonincremental-exit-minibuffer'.
9316 (isearch-edit-string): Remove mention of
9317 `isearch-nonincremental-exit-minibuffer' from docstring.
9318 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
9319 (isearch-forward-exit-minibuffer)
9320 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
9322 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9324 * loadup.el: Just use unversioned DOC.
9326 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
9327 literals as extending to EOB.
9328 (nxml-last-fontify-end): Remove unused variable.
9329 (nxml-after-change1): Use with-silent-modifications.
9330 (nxml-extend-after-change-region): Simplify.
9331 (nxml-extend-after-change-region1): Remove function.
9332 (nxml-after-change1): Don't adjust for dependent regions.
9333 (nxml-fontify-matcher): Simplify.
9334 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
9335 (xmltok-add-dependent): Remove function.
9336 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
9337 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
9338 (xmltok-scan-prolog-after-processing-instruction-open): Treat
9339 unclosed <[[, <?, comment, and other literals as extending to EOB.
9340 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
9341 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
9343 (rng-do-some-validation-1): Don't mark dependent regions.
9344 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
9345 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
9346 (nxml-clear-dependent-regions): Remove functions.
9347 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
9348 (nxml-ensure-scan-up-to-date):
9349 Don't clear&mark dependent regions.
9351 2013-05-15 Leo Liu <sdl.web@gmail.com>
9353 * progmodes/octave.el (octave-goto-function-definition):
9354 Improve and fix callers.
9356 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
9358 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
9359 the setter (bug#14387).
9361 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
9362 surrounding group (bug#14402).
9364 2013-05-14 Juri Linkov <juri@jurta.org>
9366 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
9369 2013-05-14 Glenn Morris <rgm@gnu.org>
9371 * progmodes/f90.el (f90-imenu-generic-expression):
9372 Fix typo in 2013-05-08 change. (Bug#14402)
9374 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9376 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
9377 Remove signals for which replies are never received.
9379 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9381 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
9382 (gdb-handler-alist, gdb-handler-number): Remove variables.
9383 (gdb-handler-list): New variable.
9384 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
9385 (gdb-pending-handler-p, gdb-handle-reply)
9386 (gdb-remove-all-pending-triggers): New functions.
9387 (gdb-discard-unordered-replies): New defcustom.
9388 (gdb-handler): New defstruct.
9389 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
9390 instead of gdb-pending-triggers. Update docstring.
9391 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
9392 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
9393 (gdb-var-update-handler, def-gdb-auto-update-trigger)
9394 (def-gdb-auto-update-handler, gdb-get-changed-registers)
9395 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
9396 (gdb-frame-handler): Pending triggers are now automatically managed.
9397 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
9399 (gdb-input): Automatically handles pending triggers. Update docstring.
9400 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
9401 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
9403 (gdb-done-or-error): Now use gdb-handle-reply.
9405 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
9407 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
9410 2013-05-14 Glenn Morris <rgm@gnu.org>
9412 * subr.el (user-emacs-directory-warning): New option.
9413 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
9415 2013-05-14 Leo Liu <sdl.web@gmail.com>
9417 * progmodes/octave.el (octave-font-lock-keywords): Fix error
9419 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
9420 (octave-font-lock-texinfo-comment): Fix invalid search bound
9421 error: wrong side of point.
9423 2013-05-14 Glenn Morris <rgm@gnu.org>
9425 * progmodes/flymake.el (flymake-xml-program): New option.
9426 (flymake-xml-init): Use it.
9428 * term/xterm.el: Provide a feature.
9430 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
9432 2013-05-13 Glenn Morris <rgm@gnu.org>
9434 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
9435 Add compat aliases as a hack workaround. (Bug#14384)
9437 2013-05-13 Leo Liu <sdl.web@gmail.com>
9439 * progmodes/octave.el (octave-indent-comment): Fix indentation for
9441 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
9443 (octave-comment-start-skip): Include %!.
9444 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
9446 2013-05-12 Leo Liu <sdl.web@gmail.com>
9448 * progmodes/octave.el (inferior-octave-startup): Store the value
9449 of __octave_srcdir__ for octave-source-directories.
9450 (inferior-octave-check-process): New function refactored out of
9451 inferior-octave-send-list-and-digest.
9452 (octave-source-directories)
9453 (octave-find-definition-filename-function): New variables.
9454 (octave-source-directories)
9455 (octave-find-definition-default-filename): New functions.
9456 (octave-find-definition): Improve to find functions implemented in C++.
9458 2013-05-12 Glenn Morris <rgm@gnu.org>
9460 * calendar/diary-lib.el (diary-outlook-format-1):
9461 Don't include dayname in the output. (Bug#14349)
9463 2013-05-11 Glenn Morris <rgm@gnu.org>
9465 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
9467 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
9468 Treat cc-provide like provide.
9470 2013-05-11 Kevin Ryde <user42@zip.com.au>
9472 * cus-dep.el (custom-make-dependencies):
9473 Use generated-autoload-load-name for the sake of files such
9474 such cedet/semantic/bovine/c.el, where the base file name
9475 is not in load-path. (Bug#5277)
9477 2013-05-11 Glenn Morris <rgm@gnu.org>
9479 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
9482 2013-05-11 Leo Liu <sdl.web@gmail.com>
9484 * progmodes/octave.el (octave-indent-comment): Improve.
9485 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
9486 (octave-eldoc-function-signatures, octave-eldoc-function):
9488 (octave-mode, inferior-octave-mode): Add eldoc support.
9490 2013-05-11 Richard Stallman <rms@gnu.org>
9492 * epa.el (epa-decrypt-file): Take output file name as argument
9493 and read it using `interactive'.
9495 2013-05-11 Leo Liu <sdl.web@gmail.com>
9497 * progmodes/octave.el (octave-beginning-of-line)
9498 (octave-end-of-line): Check before using up-list because it jumps
9499 out of more syntactic contructs since moving to smie.
9500 (octave-indent-comment): New function.
9501 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
9502 (octave-begin-keywords, octave-end-keywords)
9503 (octave-reserved-words, octave-smie-bnf-table)
9504 (octave-smie-rules): Add new keywords from Octave 3.6.4.
9506 2013-05-11 Glenn Morris <rgm@gnu.org>
9508 * faces.el (internal-face-x-get-resource):
9509 * frame.el (ns-display-monitor-attributes-list):
9510 * calc/calc-aent.el (math-to-radians-2):
9511 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
9514 * calc/calc-menu.el: Make it loadable in isolation.
9516 * net/eudcb-bbdb.el: Make it loadable without bbdb.
9517 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
9518 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
9519 (eudc-bbdb-query-internal): Require 'bbdb.
9521 * lpr.el (lpr-headers-switches):
9522 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
9524 * progmodes/sql.el (sql-login-params): Fix and improve :type.
9526 * emulation/edt-mapper.el: In batch mode, error rather than hang.
9528 * term.el (term-set-escape-char): Make it idempotent.
9530 2013-05-10 Leo Liu <sdl.web@gmail.com>
9532 * progmodes/octave.el (inferior-octave-completion-table):
9533 No longer a function and all uses changed. Use cache to speed up
9534 completion due to bug#11906.
9535 (octave-beginning-of-defun): Re-write to be more general.
9537 2013-05-10 Glenn Morris <rgm@gnu.org>
9539 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
9541 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9543 * comint.el (comint-redirect-send-command-to-process): Use :around
9544 rather than :override for comint-redirect-filter.
9545 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
9546 Call it instead of comint-redirect-original-filter-function (which
9547 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
9549 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
9551 * frame.el (display-monitor-attributes-list): Add NS case.
9552 (ns-display-monitor-attributes-list): Declare.
9554 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
9556 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
9558 2013-05-09 Glenn Morris <rgm@gnu.org>
9560 * international/fontset.el (vertical-centering-font-regexp):
9563 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
9565 * bookmark.el (bookmark-search-delay):
9566 * cus-start.el (vertical-centering-font-regexp):
9567 * ps-mule.el (ps-mule-font-info-database-default):
9568 * ps-print.el (ps-default-fg, ps-default-bg):
9569 * type-break.el (type-break-good-break-interval):
9570 * whitespace.el (whitespace-indentation-regexp)
9571 (whitespace-space-after-tab-regexp):
9572 * emacs-lisp/testcover.el (testcover-1value-functions)
9573 (testcover-noreturn-functions, testcover-progn-functions)
9574 (testcover-prog1-functions):
9575 * emulation/viper-init.el (viper-emacs-state-cursor-color):
9576 * eshell/em-glob.el (eshell-glob-translate-alist):
9577 * play/tetris.el (tetris-tty-colors):
9578 * progmodes/cpp.el (cpp-face-default-list):
9579 * progmodes/flymake.el (flymake-allowed-file-name-masks):
9580 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
9581 (idlwave-help-browser-generic-args):
9582 * progmodes/make-mode.el (makefile-special-targets-list):
9583 * progmodes/python.el (python-shell-virtualenv-path):
9584 * progmodes/verilog-mode.el (verilog-active-low-regexp)
9585 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
9586 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
9587 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
9588 * textmodes/reftex-vars.el (reftex-format-label-function):
9589 * textmodes/remember.el (remember-diary-file): Fix custom types.
9591 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
9594 2013-05-09 Leo Liu <sdl.web@gmail.com>
9596 * progmodes/octave.el (inferior-octave-completion-at-point):
9597 Restore file completion. (Bug#14300)
9598 (inferior-octave-startup): Fix incorrect highlighting for the
9601 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9603 * progmodes/ruby-mode.el: First cut at SMIE support.
9604 (ruby-use-smie): New var.
9605 (ruby-smie-grammar): New constant.
9606 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
9607 (ruby-smie--forward-token, ruby-smie--backward-token)
9608 (ruby-smie-rules): New functions.
9609 (ruby-mode-variables): Setup SMIE if applicable.
9611 2013-05-08 Eli Zaretskii <eliz@gnu.org>
9613 * simple.el (line-move-visual): Signal beginning/end of buffer
9614 only if vertical-motion moved less than it was requested. Avoids
9615 silly incorrect error messages when there are display strings with
9616 multiple newlines at EOL.
9618 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9620 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
9621 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
9622 (prolog-char-quote-workaround):
9623 * progmodes/cperl-mode.el (cperl-under-as-char):
9624 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
9626 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
9628 (vhdl-mode-syntax-table-init): Remove.
9630 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
9633 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
9635 (ld-script-font-lock-keywords):
9636 Change regexps to use things like \_< and \_>.
9638 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
9639 Change all regexps to use things like \_< and \_>.
9641 * progmodes/autoconf.el (autoconf-definition-regexp)
9642 (autoconf-font-lock-keywords, autoconf-current-defun-function):
9643 Handle a _ with symbol syntax.
9644 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
9646 * progmodes/ada-mode.el (ada-mode-abbrev-table):
9647 Consolidate declaration.
9648 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
9650 (ada-create-syntax-table): Remove.
9651 (ada-capitalize-word): Don't mess with the syntax of "_" since it
9652 already has the right syntax nowadays.
9653 (ada-goto-next-word): Don't change the syntax of "_".
9655 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
9658 2013-05-08 Sam Steingold <sds@gnu.org>
9660 * thingatpt.el (thing-at-point): Accept optional second argument
9661 NO-PROPERTIES to strip the text properties from the return value.
9662 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
9663 to `thing-at-point' instead of stripping the properties ourselves.
9664 Also, when `thing-at-point' fails to find a url, prepend "http://"
9665 to the filename at point on the assumption that the user is
9666 pointing at something like gnu.org/gnu.
9668 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
9670 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
9671 * faces.el (crm-separator):
9672 Silence byte-compiler.
9674 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
9675 (tool-bar-map): Remove unneeded defvars.
9677 2013-05-08 Leo Liu <sdl.web@gmail.com>
9679 Re-work a fix for bug#10994 based on Le Wang's patch.
9680 * ido.el (ido-remove-consecutive-dups): New helper.
9681 (ido-completing-read): Use it.
9682 (ido-chop): Revert fix for bug#10994.
9684 2013-05-08 Adam Spiers <emacs@adamspiers.org>
9686 * cus-edit.el (custom-save-variables):
9687 Pretty-print long values. (Bug#14187)
9689 2013-05-08 Glenn Morris <rgm@gnu.org>
9691 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
9692 (m4-mode-syntax-table): Init in the defvar.
9693 (m4-mode-abbrev-table): Let define-derived-mode define it.
9695 2013-05-08 Tom Tromey <tromey@redhat.com>
9697 * progmodes/m4-mode.el (m4-mode-syntax-table):
9698 Do not treat "_" as word constituent. (Bug#14167)
9700 2013-05-07 Glenn Morris <rgm@gnu.org>
9702 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
9703 Remove explicit eshell-isearch-cancel-map.
9705 * progmodes/f90.el (f90-smart-end-names): New option.
9706 (f90-smart-end): Doc fix.
9707 (f90-end-block-optional-name): New constant.
9708 (f90-block-match): Respect f90-smart-end-names.
9710 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9712 * progmodes/octave.el (octave-smie-forward-token): Be more careful
9713 about implicit semi-colons (bug#14218).
9715 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9717 * frame.el (display-monitor-attributes-list)
9718 (frame-monitor-attributes): New functions.
9720 2013-05-06 Leo Liu <sdl.web@gmail.com>
9722 * progmodes/octave.el (octave-syntax-propertize-function): Change
9723 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
9724 (octave-font-lock-keywords): Use octave-operator-regexp.
9725 (octave-completion-at-point): Rename from
9726 octave-completion-at-point-function.
9727 (inferior-octave-directory-tracker): Robustify.
9728 (octave-text-functions): Remove and fix its uses. No such things
9731 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9733 * emacs-lisp/trace.el (trace--display-buffer): New function.
9734 (trace-make-advice): Use it.
9736 2013-05-06 Juri Linkov <juri@jurta.org>
9738 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
9739 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
9741 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
9742 in the help string. (Bug#12985)
9744 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
9746 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
9748 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9750 * progmodes/perl-mode.el: Add support for here documents.
9751 (perl-syntax-propertize-function): Match here-doc markers.
9752 (perl-syntax-propertize-special-constructs): Find their end.
9753 (perl-imenu-generic-expression): Use [:alnum:].
9755 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
9756 (advice--add-function): Refresh the advice if already present
9759 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
9761 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
9763 2013-05-06 Glenn Morris <rgm@gnu.org>
9765 * w32-fns.el (w32-charset-info-alist): Declare.
9767 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
9768 of its defcustom properties.
9769 (eshell-cmpl-initialize): No need to load pcomplete.
9771 * generic-x.el: No need to require comint when compiling.
9773 * net/eudc-export.el: Make it loadable without bbdb.
9774 (top-level): Use require rather than load-library.
9775 (eudc-create-bbdb-record, eudc-bbdbify-phone)
9776 (eudc-batch-export-records-to-bbdb)
9777 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
9780 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
9782 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
9783 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
9784 some tweaks, instead.
9786 2013-05-05 Leo Liu <sdl.web@gmail.com>
9788 * progmodes/octave.el (octave-font-lock-keywords)
9789 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
9790 (inferior-octave-send-list-and-digest): Improve error message.
9791 (octave-mode, inferior-octave-mode): Use setq-local.
9792 (octave-help): Set info-lookup-mode.
9794 2013-05-05 Richard Stallman <rms@gnu.org>
9796 * vc/compare-w.el (compare-windows-whitespace):
9797 Treat no-break space as whitespace.
9799 * mail/rmailsum.el (rmail-summary-rmail-update):
9800 Detect empty summary and don't change selected message.
9801 (rmail-summary-goto-msg): Likewise.
9803 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
9804 Doc fixes, rename args.
9806 2013-05-05 Alan Mackenzie <acm@muc.de>
9808 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
9810 2013-05-05 Juri Linkov <juri@jurta.org>
9812 * info.el (Info-read-subfile): Use (point-min) instead of (point)
9813 to not add the length of the summary segment to the return value.
9816 2013-05-05 Leo Liu <sdl.web@gmail.com>
9818 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
9819 (inferior-octave-output-filter): Remove.
9820 (octave-send-region, inferior-octave-startup): Fix callers.
9821 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
9822 (octave-binary-file-extensions): New user variable.
9823 (octave-find-definition): Confirm if opening binary files.
9824 (octave-help-file): Use octave-find-definition to get the binary
9826 (octave-help): Adjust for octave-help-file change.
9828 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9830 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
9831 Merge the two entries that handle function definitions.
9832 (pascal--syntax-propertize): New const.
9833 (pascal-mode): Use it. Use setq-local.
9835 2013-05-04 Glenn Morris <rgm@gnu.org>
9837 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
9838 (diary-from-outlook): Respect diary-from-outlook-function.
9840 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9842 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
9843 Move the declaration from C.
9844 (read-minibuffer, eval-minibuffer): Move from C.
9845 (completion-setup-function): Avoid minibuffer-completion-contents.
9847 2013-05-03 Leo Liu <sdl.web@gmail.com>
9849 * progmodes/octave.el (octave-font-lock-keywords): Do not
9850 dehighlight 'end' in comments or strings.
9851 (octave-completing-read, octave-goto-function-definition):
9853 (octave-help-buffer): New user variable.
9854 (octave-help-file, octave-help-function): New button types.
9855 (octave-help): New command and bind it to C-h ;.
9856 (octave-find-definition): New command and bind it to M-.
9857 (user-error): Alias to error if not defined.
9859 2013-05-02 Leo Liu <sdl.web@gmail.com>
9861 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
9863 (octave-font-lock-keywords): Include [ and {.
9865 2013-05-02 Leo Liu <sdl.web@gmail.com>
9867 * progmodes/octave.el (inferior-octave-startup-file): Change default.
9868 (inferior-octave): Remove calling comint-mode and return the buffer.
9869 (inferior-octave-startup): Cosmetic changes.
9871 2013-05-02 Leo Liu <sdl.web@gmail.com>
9873 * progmodes/octave.el (octave-syntax-propertize-function):
9874 Include the case when ' is at line beginning. (Bug#14336)
9876 2013-05-02 Glenn Morris <rgm@gnu.org>
9878 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
9879 * desktop.el (vc-dir-mode): Just autoload it here.
9881 2013-05-02 Alan Mackenzie <acm@muc.de>
9883 Eliminate variable c-standard-font-lock-fontify-region-function.
9884 * progmodes/cc-mode.el
9885 (c-standard-font-lock-fontify-region-function): Remove.
9886 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
9888 2013-05-01 Leo Liu <sdl.web@gmail.com>
9890 * progmodes/octave.el: Compatible with older emacs-24 releases.
9891 (inferior-octave-has-built-in-variables): Remove. Built-in
9892 variables were removed from Octave in 2007.
9893 (inferior-octave-startup): Fix uses.
9894 (comint-line-beginning-position): Remove compatibility code for
9897 2013-05-01 Juri Linkov <juri@jurta.org>
9899 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
9901 2013-05-01 Juri Linkov <juri@jurta.org>
9903 * comint.el (comint-previous-matching-input): Don't print message
9904 "History item: %d" when `isearch-mode' is active.
9905 (comint-history-isearch-message): Print message "History item: %d"
9906 when `comint-input-ring-index' is not empty and this function is
9907 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
9909 2013-05-01 Leo Liu <sdl.web@gmail.com>
9911 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
9912 definitions. Use completion-at-point to insert keywords.
9913 (octave-abbrev-start): Remove.
9914 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
9916 2013-04-30 Leo Liu <sdl.web@gmail.com>
9918 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
9921 2013-04-30 Alan Mackenzie <acm@muc.de>
9923 Handle arbitrarily long C++ member initialisation lists.
9924 * progmodes/cc-engine.el (c-back-over-member-initializers):
9926 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
9927 (most) member init lists.
9929 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9931 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
9934 2013-04-30 Leo Liu <sdl.web@gmail.com>
9936 * progmodes/octave.el (octave-variables): Remove. No builtin
9937 variables any more. All converted to functions.
9938 (octave-font-lock-keywords, octave-completion-at-point-function):
9940 (octave-font-lock-texinfo-comment): New user variable.
9941 (octave-texinfo-font-lock-keywords): New variable for texinfo
9943 (octave-function-comment-block): New face.
9944 (octave-font-lock-texinfo-comment): New function.
9945 (octave-mode): Font lock texinfo comment block.
9947 2013-04-29 Leo Liu <sdl.web@gmail.com>
9949 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
9950 indexing expression.
9951 (octave-continuation-string): Do not use \.
9952 (inferior-octave-complete-impossible): Remove.
9953 (inferior-octave-completion-table)
9954 (inferior-octave-completion-at-point): Remove its uses.
9955 (inferior-octave-startup): completion_matches was introduced to
9956 Octave in 1996 so safe to assume it.
9957 (octave-function-file-comment): Improve to follow how Octave does it.
9958 (octave-update-function-file-comment): Tweak.
9960 2013-04-29 Leo Liu <sdl.web@gmail.com>
9962 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
9963 (inferior-octave-startup): Remove inferior-octave-startup-hook.
9964 (octave-function-file-comment): Fix typo.
9965 (octave-sync-function-file-names): Use read-char-choice.
9967 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
9969 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
9970 to t for the less important warnings.
9972 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
9974 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
9976 2013-04-27 Glenn Morris <rgm@gnu.org>
9978 * vc/log-view.el (log-view-current-entry):
9979 Treat "---" separator lines as part of the following rev. (Bug#14169)
9981 2013-04-27 Juri Linkov <juri@jurta.org>
9983 * subr.el (read-number): Doc fix about using it by interactive
9984 code letter `n'. (Bug#14254)
9986 2013-04-27 Juri Linkov <juri@jurta.org>
9988 * desktop.el (desktop-auto-save-timeout): New option.
9989 (desktop-file-checksum): New variable.
9990 (desktop-save): Add optional arg `auto-save' and don't auto-save
9992 (desktop-auto-save-timer): New variable.
9993 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
9994 (after-init-hook): Call `desktop-auto-save-set-timer'.
9995 Suggested by Reuben Thomas <rrt@sc3d.org> in
9996 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
9998 2013-04-27 Leo Liu <sdl.web@gmail.com>
10000 * progmodes/octave.el (octave-function-file-p)
10001 (octave-skip-comment-forward, octave-function-file-comment)
10002 (octave-update-function-file-comment): New functions.
10003 (octave-mode-map): Bind C-c ; to
10004 octave-update-function-file-comment.
10005 (octave-mode-menu): Add octave-update-function-file-comment.
10006 (octave-mode, inferior-octave-mode): Fix doc-string.
10007 (octave-insert-defun): Conform to Octave's coding convention.
10010 * files.el (basic-save-buffer): Don't let errors in
10011 before-save-hook prevent saving buffer.
10013 2013-04-20 Roland Winkler <winkler@gnu.org>
10015 * faces.el (read-face-name): Use completing-read if arg multiple
10018 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
10020 * ls-lisp.el (ls-lisp-insert-directory): If no files are
10021 displayed, move point to after the totals line.
10022 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
10025 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
10027 * emacs-lisp/package.el (package-autoload-ensure-default-file):
10028 Add current dir to the load-path.
10029 (package-generate-autoloads): Don't rely on
10030 autoload-ensure-default-file.
10032 2013-04-26 Reuben Thomas <rrt@sc3d.org>
10034 * textmodes/remember.el (remember-store-in-files): Document that
10035 the file name format is passed to `format-time-string'.
10037 2013-04-26 Leo Liu <sdl.web@gmail.com>
10039 * progmodes/octave.el (octave-sync-function-file-names): New function.
10040 (octave-mode): Use it in before-save-hook.
10042 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
10044 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
10047 * progmodes/octave.el (octave-smie-forward-token): Properly skip
10048 \n and comment, even if it's not an implicit ; (bug#14218).
10050 2013-04-26 Glenn Morris <rgm@gnu.org>
10052 * subr.el (read-number): Once more use `read' rather than
10053 `string-to-number', to trap non-numeric input. (Bug#14254)
10055 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
10057 * emacs-lisp/syntax.el (syntax-propertize-multiline):
10058 Use `syntax-multiline' text property consistently instead of
10059 `font-lock-multiline'. (Bug#14237)
10061 2013-04-26 Glenn Morris <rgm@gnu.org>
10063 * emacs-lisp/shadow.el (list-load-path-shadows):
10064 No longer necessary to check for duplicate simple.el, since
10065 2012-07-07 change to init_lread to not include installation lisp
10066 directories in load-path when running uninstalled. (Bug#14270)
10068 2013-04-26 Leo Liu <sdl.web@gmail.com>
10070 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
10071 (octave-mode, inferior-octave-mode): Use setq-local.
10072 (octave-not-in-string-or-comment-p): Rename to
10073 octave-in-string-or-comment-p.
10074 (octave-in-comment-p, octave-in-string-p)
10075 (octave-in-string-or-comment-p): Replace defsubst with defun.
10077 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
10079 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
10081 2013-04-25 Bastien Guerry <bzg@gnu.org>
10083 * textmodes/remember.el (remember-data-directory)
10084 (remember-directory-file-name-format): Fix custom types.
10086 2013-04-25 Leo Liu <sdl.web@gmail.com>
10088 * progmodes/octave.el (octave-completion-at-point-function):
10089 Make use of inferior octave process.
10090 (octave-initialize-completions): Remove.
10091 (inferior-octave-completion-table): New function.
10092 (inferior-octave-completion-at-point): Use it.
10093 (octave-completion-alist): Remove.
10095 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10097 * progmodes/opascal.el: Use font-lock and syntax-propertize.
10098 (opascal-mode-syntax-table): New var.
10099 (opascal-literal-kind, opascal-is-literal-end)
10100 (opascal-literal-token-at): Rewrite.
10101 (opascal--literal-start-re, opascal-font-lock-keywords)
10102 (opascal--syntax-propertize): New constants.
10103 (opascal-font-lock-defaults): Adjust.
10104 (opascal-mode): Use them. Set comment-<foo> variables as well.
10105 (delphi-comment-face, opascal-comment-face, delphi-string-face)
10106 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
10107 (delphi-other-face, opascal-other-face): Remove face variables.
10108 (opascal-save-state): Remove macro.
10109 (opascal-fontifying-progress-step): Remove constant.
10110 (opascal--ignore-changes): Remove var.
10111 (opascal-set-token-property, opascal-parse-next-literal)
10112 (opascal-is-stable-literal, opascal-complete-literal)
10113 (opascal-is-literal-start, opascal-face-of)
10114 (opascal-parse-region, opascal-parse-region-until-stable)
10115 (opascal-fontify-region, opascal-after-change)
10116 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
10117 (opascal-debug-parse-region, opascal-debug-parse-window)
10118 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
10119 (opascal-debug-fontify-buffer): Remove.
10120 (opascal-debug-mode-map): Adjust accordingly.
10122 2013-04-25 Leo Liu <sdl.web@gmail.com>
10124 Merge octave-mod.el and octave-inf.el into octave.el with some
10126 * progmodes/octave.el: New file renamed from octave-mod.el.
10127 * progmodes/octave-inf.el: Merged into octave.el.
10128 * progmodes/octave-mod.el: Renamed to octave.el.
10130 2013-04-25 Tassilo Horn <tsdh@gnu.org>
10132 * textmodes/reftex-vars.el
10133 (reftex-label-ignored-macros-and-environments): New defcustom.
10135 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
10137 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
10139 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
10140 (smie-indent-keyword): Improve the check to ensure that the next
10141 comment is really on the same line.
10142 (smie-indent-comment): Don't align with a subsequent closer (or eob).
10144 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
10145 semi-colons if the line is not otherwise empty (bug#14218).
10147 2013-04-25 Glenn Morris <rgm@gnu.org>
10149 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
10151 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10153 * progmodes/opascal.el (opascal-set-token-property): Rename from
10154 opascal-set-text-properties and only set `token' (bug#14134).
10155 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
10156 (opascal-literal-text-properties): Remove.
10157 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
10160 2013-04-24 Reuben Thomas <rrt@sc3d.org>
10162 * textmodes/remember.el (remember-handler-functions): Add an
10163 option for a new handler `remember-store-in-files'.
10164 (remember-data-directory, remember-directory-file-name-format):
10166 (remember-store-in-files): New function to store remember notes
10167 as separate files within a directory.
10169 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
10171 * progmodes/compile.el (compilation-next-error-function):
10172 Pass "formats" to compilation-find-file (bug#11777).
10174 2013-04-24 Glenn Morris <rgm@gnu.org>
10176 * vc/vc-bzr.el (vc-bzr-print-log):
10177 * vc/vc-hg.el (vc-hg-print-log):
10178 * vc/vc-svn.el (vc-svn-print-log):
10179 Fix START-REVISION with LIMIT != 1. (Bug#14168)
10181 * vc/vc-bzr.el (vc-bzr-print-log):
10182 * vc/vc-cvs.el (vc-cvs-print-log):
10183 * vc/vc-git.el (vc-git-print-log):
10184 * vc/vc-hg.el (vc-hg-print-log):
10185 * vc/vc-mtn.el (vc-mtn-print-log):
10186 * vc/vc-rcs.el (vc-rcs-print-log):
10187 * vc/vc-sccs.el (vc-sccs-print-log):
10188 * vc/vc-svn.el (vc-svn-print-log):
10189 * vc/vc.el (vc-print-log-internal): Doc fixes.
10191 2013-04-23 Glenn Morris <rgm@gnu.org>
10193 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
10194 Remove venerable code attempting to avoid substitute-command-keys.
10196 2013-04-23 Tassilo Horn <tsdh@gnu.org>
10198 * textmodes/reftex-vars.el (reftex-label-regexps):
10199 Call `reftex-compile-variables' after changes to this variable.
10201 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
10203 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
10204 Use lexical-binding.
10205 (jit-lock-force-redisplay): Use markers, check buffer's continued
10206 existence and beware narrowed buffers.
10207 (jit-lock-fontify-now): Adjust call accordingly.
10209 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10211 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
10212 to avoid misleading the user.
10214 2013-04-22 Leo Liu <sdl.web@gmail.com>
10216 * info-look.el: Prefer latex2e.info. (Bug#14240)
10218 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
10220 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
10222 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
10223 * net/tramp.el (tramp-call-process): ... here.
10224 (tramp-set-completion-function, tramp-parse-putty):
10225 * net/tramp-adb.el (tramp-adb-execute-adb-command):
10226 * net/tramp-gvfs.el (tramp-gvfs-send-command):
10227 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
10228 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
10229 (tramp-call-local-coding-command): Use `tramp-call-process'
10230 instead of `tramp-compat-call-process'.
10232 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
10233 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
10234 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
10235 (tramp-find-inline-compress): Improve traces.
10236 (tramp-maybe-send-script): Check for Perl binary.
10237 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
10239 2013-04-22 Daiki Ueno <ueno@gnu.org>
10241 * epg.el (epg-context-pinentry-mode): New function.
10242 (epg-context-set-pinentry-mode): New function.
10243 (epg--start): Pass --pinentry-mode option to gpg command.
10245 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
10247 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
10248 `comint-dynamic-complete' is obsolete since 24.1, replaced by
10249 `completion-at-point'. (Bug#13774)
10251 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
10252 default key binding for `describe-distribution' has been moved to
10253 `C-h C-o'. (Bug#13970)
10255 2013-04-21 Glenn Morris <rgm@gnu.org>
10257 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
10259 (vc-print-log): Clarify interactive prompt.
10261 2013-04-20 Glenn Morris <rgm@gnu.org>
10263 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10264 No longer include timestamp etc information.
10266 2013-04-20 Roland Winkler <winkler@gnu.org>
10268 * faces.el (read-face-name): Bug fix, return just one face if arg
10269 multiple is nil. (Bug#14209)
10271 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10273 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
10274 (remove-function): Autoload.
10276 * comint.el (comint-redirect-original-filter-function): Remove.
10277 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
10278 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
10279 (vc-cvs-annotate-command):
10280 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
10281 * progmodes/prolog.el (prolog-consult-compile):
10282 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
10283 Use add/remove-function instead.
10284 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
10285 (gud-tooltip-process-output, gud-tooltip-tips):
10286 Use add/remove-function instead.
10287 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
10288 (scheme-interaction-mode, exit-scheme-interaction-mode):
10289 Use add/remove-function instead.
10291 * vc/vc-dispatcher.el: Use lexical-binding.
10292 (vc--process-sentinel): Rename from vc-process-sentinel.
10293 Change last arg to be the code to run. Don't use vc-previous-sentinel
10294 and vc-sentinel-commands any more.
10295 (vc-exec-after): Allow code to be a function. Use add/remove-function.
10296 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
10298 2013-04-19 Masatake YAMATO <yamato@redhat.com>
10300 * progmodes/sh-script.el (sh-imenu-generic-expression):
10301 Handle function names with a single character. (Bug#14111)
10303 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
10305 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
10306 for subroutines defined in an eval (bug#14182).
10308 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10310 * bookmark.el (bookmark-completing-read): Improve handling of empty
10311 string (bug#14176).
10313 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10315 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
10317 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
10319 New faster Imenu implementation (bug#14058).
10320 * progmodes/python.el:
10321 (python-imenu-prev-index-position):
10322 (python-imenu-format-item-label-function)
10323 (python-imenu-format-parent-item-label-function)
10324 (python-imenu-format-parent-item-jump-label-function):
10326 (python-imenu-format-item-label)
10327 (python-imenu-format-parent-item-label)
10328 (python-imenu-format-parent-item-jump-label)
10329 (python-imenu--put-parent, python-imenu--build-tree)
10330 (python-imenu-create-index, python-imenu-create-flat-index)
10331 (python-util-popn): New functions.
10332 (python-mode): Set imenu-create-index-function to
10333 python-imenu-create-index.
10335 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10337 * winner.el (winner-active-region): Use region-active-p, activate-mark
10338 and deactivate-mark (bug#14225).
10340 * simple.el (deactivate-mark): Don't inline it.
10342 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
10344 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
10346 2013-04-18 Tassilo Horn <tsdh@gnu.org>
10348 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
10349 file extensions from the archive-mode entry in order to prefer
10350 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
10352 2013-04-18 Leo Liu <sdl.web@gmail.com>
10354 * bindings.el (help-event-list): Add ?\?.
10356 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
10358 * subr.el (with-wrapper-hook): Declare obsolete.
10359 * simple.el (filter-buffer-substring-function): New hook.
10360 (filter-buffer-substring): Use it.
10361 (filter-buffer-substring-functions): Mark obsolete.
10362 * minibuffer.el (completion-in-region-function): New hook.
10363 (completion-in-region): Use it.
10364 (completion-in-region-functions): Mark obsolete.
10365 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
10366 * abbrev.el (abbrev-expand-function): New hook.
10367 (expand-abbrev): Use it.
10368 (abbrev-expand-functions): Mark obsolete.
10369 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
10370 and :filter-return.
10372 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10374 * progmodes/python.el (python-nav--syntactically): Fix cornercases
10375 and do not care about match data.
10377 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10379 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
10380 completion tables when completing error conditions and
10381 `declare' arguments.
10382 (lisp-complete-symbol, field-complete): Mark as obsolete.
10383 (check-parens): Unmatched parens are user errors.
10384 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
10386 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
10388 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
10389 command changed buffer (ie. `flyspell-pre-buffer' is not current
10390 buffer), which prevents making decisions based on invalid value of
10391 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
10392 cause an error when `flyspell-pre-point' was nil after switching
10394 (flyspell-post-command-hook): No longer needs to change buffers when
10395 checking pre-word. While at it remove unnecessary progn.
10397 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
10399 * textmodes/ispell.el (ispell-add-per-file-word-list):
10400 Fix `flyspell-correct-word-before-point' error when accepting
10401 words and `coment-padding' is an integer by using
10402 `comment-normalize-vars' (Bug #14214).
10404 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10406 New defun movement commands.
10407 * progmodes/python.el (python-nav--syntactically)
10408 (python-nav--forward-defun, python-nav-backward-defun)
10409 (python-nav-forward-defun): New functions.
10411 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
10413 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
10414 (python-syntax-context): Use named compiler-macro for backwards
10415 compatibility with Emacs 24.x.
10417 2013-04-17 Leo Liu <sdl.web@gmail.com>
10419 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
10420 octave-hide-process-buffer.
10422 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10424 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
10427 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
10429 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
10430 Fix adjustment of offset when receiving incomplete responses from GDB
10433 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10435 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
10436 python-mode-abbrev-table.
10437 (python-skeleton-define): Adjust accordingly.
10438 (python-mode-abbrev-table): New table that inherits from it so that
10439 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
10441 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
10442 (abbrev-symbol): Use it.
10443 (abbrev--before-point): Use it since we already handle inheritance.
10445 2013-04-16 Leo Liu <sdl.web@gmail.com>
10447 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
10448 binding to info-lookup-symbol.
10450 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
10452 * minibuffer.el (completion--twq-all):
10453 * term/ns-win.el (ns-initialize-window-system):
10454 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
10456 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
10458 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
10461 * doc-view.el (doc-view-start-process): Handle url-handler directories.
10463 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
10465 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
10466 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
10468 (ruby-end-of-defun): Remove the unused arg, change the docstring
10469 to reflect that this function is only used as the value of
10470 `end-of-defun-function'.
10471 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
10472 to reflect an earlier change that beginning/end-of-defun functions
10473 jump between methods in a class definition, as well as top-level
10476 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10478 * minibuffer.el (minibuffer-complete): Don't just scroll
10479 a *Completions* that's been iconified.
10480 (minibuffer-force-complete): Make sure repetitions do cycle when going
10481 through completion-in-region -> minibuffer-complete.
10483 2013-04-15 Alan Mackenzie <acm@muc.de>
10485 Correct the placement of c-cpp-delimiters when there're #s not at
10488 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
10489 place a submatch around the #.
10490 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
10491 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
10494 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10496 * emacs-lisp/nadvice.el: Properly test names when adding advice.
10497 (advice--member-p): New arg `name'.
10498 (advice--add-function, advice-member-p): Use it (bug#14202).
10500 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
10502 Reformulate java imenu-generic-expression.
10503 The old expression contained ill formed regexps.
10505 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
10506 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
10507 (cc-imenu-java-method-arg-regexp): New defconsts.
10508 (cc-imenu-java-build-type-args-regex): New defun.
10509 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
10510 handling of spaces in the regexp.
10512 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10514 * textmodes/ispell.el (ispell-command-loop): Remove
10515 flyspell highlight of a word when ispell accepts it (bug #14178).
10517 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
10519 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
10520 uses code from the previous `ange-ftp-run-real-handler'.
10521 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
10522 only in case that function exist. This is needed for proper
10523 unloading of Tramp.
10525 2013-04-15 Tassilo Horn <tsdh@gnu.org>
10527 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
10529 * textmodes/reftex.el (reftex-compile-variables): Use it.
10531 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10533 * files.el (normal-mode): Only use default major-mode if no other mode
10536 * emacs-lisp/trace.el (trace-values): New function.
10538 * files.el: Allow : in local variables (bug#14089).
10539 (hack-local-variable-regexp): New var.
10540 (hack-local-variables-prop-line, hack-local-variables): Use it.
10542 2013-04-13 Roland Winkler <winkler@gnu.org>
10544 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
10545 data before it gets modified by bibtex-beginning-of-entry.
10547 2013-04-13 Roland Winkler <winkler@gnu.org>
10549 * textmodes/bibtex.el (bibtex-url): Doc fix.
10551 2013-04-13 Roland Winkler <winkler@gnu.org>
10553 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
10554 does not visit a BibTeX file, exclude it from the list of buffers
10555 returned by bibtex-initialize.
10557 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
10559 * window.el (split-window): Remove interactive form, since as a
10560 command this function is a special case of split-window-below.
10561 Correct doc string.
10563 2013-04-12 Roland Winkler <winkler@gnu.org>
10565 * faces.el (read-face-name): Do not override value of arg default.
10566 Allow single faces and strings as default values. Remove those
10567 elements from return value that are not faces.
10568 (describe-face): Simplify.
10569 (face-at-point): New optional args thing and multiple so that this
10570 function can provide the same functionality previously provided by
10572 (make-face-bold, make-face-unbold, make-face-italic)
10573 (make-face-unitalic, make-face-bold-italic, invert-face)
10574 (modify-face, read-face-and-attribute): Use face-at-point.
10576 * cus-edit.el (customize-face, customize-face-other-window)
10577 * cus-theme.el (custom-theme-add-face)
10578 * face-remap.el (buffer-face-set)
10579 * facemenu.el (facemenu-set-face): Use face-at-point.
10581 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
10583 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
10585 2013-04-10 Tassilo Horn <tsdh@gnu.org>
10587 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
10588 off leading { and trailing } from field values.
10590 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10592 * emacs-lisp/timer.el (timer--check): New function.
10593 (timer--time, timer-set-function, timer-event-handler): Use it.
10594 (timer-set-idle-time): Simplify.
10595 (timer--activate): CSE.
10596 (timer-event-handler): Give more info in error message.
10597 (internal-timer-start-idle): New function, moved from C.
10599 * mpc.el (mpc-proc): Add `restart' argument.
10600 (mpc-proc-cmd): Use it.
10601 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
10602 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
10605 2013-04-10 Masatake YAMATO <yamato@redhat.com>
10607 * progmodes/sh-script.el: Implement `sh-mode' own
10608 `add-log-current-defun-function' (bug#14112).
10609 (sh-current-defun-name): New function.
10610 (sh-mode): Use the function.
10612 2013-04-09 Bastien Guerry <bzg@gnu.org>
10614 * simple.el (choose-completion-string): Fix docstring (bug#14163).
10616 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
10618 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
10620 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
10623 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
10625 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
10628 2013-04-07 Leo Liu <sdl.web@gmail.com>
10630 * pcmpl-x.el: New file.
10632 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
10634 Do not set x-display-name until X connection is established.
10635 This is needed to prevent from weird situation described at
10636 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
10637 * frame.el (make-frame): Set x-display-name after call to
10638 window system initialization function, not before.
10639 * term/x-win.el (x-initialize-window-system): Add optional
10640 display argument and use it.
10641 * term/w32-win.el (w32-initialize-window-system):
10642 * term/ns-win.el (ns-initialize-window-system):
10643 * term/pc-win.el (msdos-initialize-window-system):
10644 Add compatible optional display argument.
10646 2013-04-06 Eli Zaretskii <eliz@gnu.org>
10648 * files.el (normal-backup-enable-predicate): On MS-Windows and
10649 MS-DOS compare truenames of temporary-file-directory and of the
10650 file, so that 8+3 aliases (usually found in $TEMP on Windows)
10651 don't fail comparison by compare-strings. Also, compare file
10652 names case-insensitively on MS-Windows and MS-DOS.
10654 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10656 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
10657 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
10659 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
10661 * whitespace.el (whitespace-color-on, whitespace-color-off):
10662 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
10664 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
10666 * ispell.el (ispell-set-spellchecker-params):
10667 Really set `ispell-args' for all equivs.
10669 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
10671 * ido.el (ido-completions): Use extra elements of ido-decorations
10673 (ido-decorations): Update docstring.
10675 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
10677 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10678 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
10679 nil during initialization, in order not to miss changes since the
10680 file was opened. (Bug#14140)
10682 2013-04-05 Leo Liu <sdl.web@gmail.com>
10684 * kmacro.el (kmacro-call-macro): Fix bug#14135.
10686 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
10688 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
10690 2013-04-04 Glenn Morris <rgm@gnu.org>
10692 * electric.el (electric-pair-inhibit-predicate): Add :version.
10694 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10696 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
10697 when a package is required several times (bug#14082).
10699 2013-04-04 Roland Winkler <winkler@gnu.org>
10701 * faces.el (read-face-name): Behave as promised by the docstring.
10702 Assume that arg default is a list of faces.
10703 (describe-face): Call read-face-name with list of default faces.
10705 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10707 * bookmark.el: Fix deletion of bookmarks (bug#13972).
10708 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
10709 (bookmark-bmenu-execute-deletions): Only skip first line if it's
10711 (bookmark-exit-hook-internal): Save even if list is empty.
10713 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
10715 * emacs-lisp/package.el (package-pinned-packages): New var.
10716 (package--add-to-archive-contents): Obey it (bug#14118).
10718 2013-04-03 Alan Mackenzie <acm@muc.de>
10720 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
10721 Also adapt to the new values of element 7 of a parse state.
10723 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
10724 parameter `not-in-delimiter'. Handle being inside comment opener.
10725 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
10726 character in case we're typing a '*' after a '/'.
10727 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
10728 instead by passing the parameter to c-state-pp-to-literal.
10730 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
10731 for elt. 7 of a parse state.
10733 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
10735 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
10736 * international/latin1-disp.el, international/mule-util.el:
10737 * language/cyril-util.el, language/european.el, language/ind-util.el:
10738 * language/lao-util.el, language/thai.el, language/tibet-util.el:
10739 * language/tibetan.el, language/viet-util.el:
10740 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
10742 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
10744 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
10745 (electric-pair-post-self-insert-function): Use it.
10746 (electric-pair-default-inhibit): New function, extracted from
10747 electric-pair-post-self-insert-function.
10749 2013-03-31 Roland Winkler <winkler@gnu.org>
10751 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
10753 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
10755 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
10757 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
10759 Un-indent after "pass" and "return" statements (Bug#13888)
10760 * progmodes/python.el (python-indent-block-enders): New var.
10761 (python-indent-calculate-indentation): Use it.
10763 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
10765 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
10766 defun. Defining it as defalias could introduce too eager
10767 byte-compiler optimization. (Bug#14030)
10769 2013-03-30 Chong Yidong <cyd@gnu.org>
10771 * iswitchb.el (iswitchb-read-buffer): Fix typo.
10773 2013-03-30 Leo Liu <sdl.web@gmail.com>
10775 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
10776 (kmacro-execute-from-register): Pass the keyboard macro to
10777 kmacro-call-macro or repeating won't work correctly.
10779 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
10781 * progmodes/subword.el: Back to using `forward-symbol'.
10783 * subr.el (forward-whitespace, forward-symbol)
10784 (forward-same-syntax): Move from thingatpt.el.
10786 2013-03-29 Leo Liu <sdl.web@gmail.com>
10788 * kmacro.el (kmacro-to-register): New command.
10789 (kmacro-execute-from-register): New function.
10790 (kmacro-keymap): Bind to 'x'. (Bug#14071)
10792 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
10794 * mpc.el: Use defvar-local and setq-local.
10795 (mpc--proc-connect): Connection failures are not bugs.
10796 (mpc-mode-map): `follow-link' only applies to the buffer's content.
10797 (mpc-volume-map): Bind to the up-events.
10799 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
10801 * progmodes/subword.el (superword-mode): Use `forward-sexp'
10802 instead of `forward-symbol'.
10804 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
10806 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
10807 (edebug--recursive-edit): Use it.
10808 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
10809 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
10811 2013-03-28 Leo Liu <sdl.web@gmail.com>
10813 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
10815 2013-03-27 Eli Zaretskii <eliz@gnu.org>
10817 * facemenu.el (list-colors-callback): New defvar.
10818 (list-colors-redisplay): New function.
10819 (list-colors-display): Install list-colors-redisplay as the
10820 revert-buffer-function. (Bug#14063)
10822 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10824 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
10825 and suffixes don't overlap (bug#14061).
10827 * case-table.el: Use lexical-binding.
10828 (case-table-get-table): New function.
10829 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
10831 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
10833 * progmodes/subword.el: Add `superword-mode' to do word motion
10834 over symbol_words (parallels and leverages `subword-mode' which
10835 does word motion inside MixedCaseWords).
10837 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
10839 * eshell/em-unix.el: Move su and sudo to...
10840 * eshell/em-tramp.el: ...Eshell tramp module.
10842 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10844 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
10845 Change return value to be a sexp. Delay `get-buffer' to after
10846 restoring the desktop (bug#13951).
10848 2013-03-26 Leo Liu <sdl.web@gmail.com>
10850 * register.el: Move semantic tag handling back to
10851 cedet/semantic/senator.el. (Bug#14052)
10853 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10855 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
10856 into the prompt either (bug#13963).
10858 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
10860 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
10861 part of "(error-foo)".
10863 2013-03-24 Juri Linkov <juri@jurta.org>
10865 * replace.el (list-matching-lines-prefix-face): New defcustom.
10866 (occur-1): Pass `list-matching-lines-prefix-face' to the function
10867 `occur-engine' if `face-differs-from-default-p' returns t.
10868 (occur-engine): Add `,' inside backquote construct to evaluate
10869 `prefix-face'. Propertize the prefix with the `prefix-face' face.
10870 Pass `prefix-face' to the functions `occur-context-lines' and
10871 `occur-engine-add-prefix'.
10872 (occur-engine-add-prefix, occur-context-lines): Add optional arg
10873 `prefix-face' and propertize the prefix with `prefix-face'.
10876 2013-03-24 Leo Liu <sdl.web@gmail.com>
10878 * nxml/rng-valid.el (rng-validate-while-idle)
10879 (rng-validate-quick-while-idle): Guard against deleted buffer.
10882 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
10883 is the last entry in kill-buffer-hook.
10885 * files.el (kill-buffer-hook): Doc fix.
10887 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
10889 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
10890 Make it safe-local.
10892 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
10894 2013-03-23 Leo Liu <sdl.web@gmail.com>
10896 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
10899 * nxml/rng-valid.el (rng-validate-mode)
10900 (rng-after-change-function, rng-do-some-validation):
10901 * nxml/rng-maint.el (rng-validate-buffer):
10902 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
10903 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
10904 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
10905 (nxml-extend-after-change-region): Use with-silent-modifications.
10907 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
10910 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
10911 (rng-next-error-1, rng-previous-error-1): Do not let-bind
10912 timer-idle-list. (Bug#13999)
10914 2013-03-23 Juri Linkov <juri@jurta.org>
10916 * info.el (info-index-match): New face.
10917 (Info-index, Info-apropos-matches): Add a nested subgroup to the
10918 main pattern and add text properties with the new face to matches
10919 in index entries relative to the beginning of the index entry.
10922 2013-03-21 Eric Ludlam <zappo@gnu.org>
10924 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
10925 Inhibit read only while inserting objects.
10927 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
10929 * progmodes/cfengine.el: Update docs to mention
10930 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
10931 symbol motion. Remove "_" from the word syntax.
10933 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
10935 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
10936 syntax for both `cfengine2-mode' and `cfengine3-mode'.
10938 2013-03-20 Juri Linkov <juri@jurta.org>
10940 * info.el (Info-next-reference-or-link)
10941 (Info-prev-reference-or-link): New functions.
10942 (Info-next-reference, Info-prev-reference): Use them.
10943 (Info-try-follow-nearest-node): Handle footnote navigation.
10944 (Info-fontify-node): Fontify footnotes. (Bug#13989)
10946 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
10948 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
10949 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
10951 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
10953 Suppress unnecessary non-ASCII chatter during build process.
10954 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
10955 (batch-skkdic-convert): Suppress most of the chatter.
10956 It's not needed so much now that machines are faster,
10957 and its non-ASCII component was confusing; see Dmitry Gutov in
10958 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
10960 2013-03-20 Leo Liu <sdl.web@gmail.com>
10962 * ido.el (ido-chop): Fix bug#10994.
10964 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10966 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
10968 (whitespace-color-on, whitespace-color-off):
10969 Use `font-lock-fontify-buffer' (Bug#13817).
10971 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
10973 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
10974 remapping in mode-line.
10975 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
10977 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
10979 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
10980 value for `whitespace-line' face (Bug#13875).
10981 (whitespace-font-lock-keywords): Change description.
10982 (whitespace-color-on): Don't save `font-lock-keywords' value, save
10983 the constructed keywords instead.
10984 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
10986 2013-03-19 Leo Liu <sdl.web@gmail.com>
10988 * progmodes/compile.el (compilation-display-error): New command.
10989 (compilation-mode-map, compilation-minor-mode-map): Bind it to
10992 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
10994 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
10996 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
10998 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
11000 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
11002 * net/tramp-compat.el (tramp-compat-user-error): New defun.
11004 * net/tramp-adb.el (tramp-adb-handle-shell-command):
11005 * net/tramp-gvfs.el (top):
11006 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
11007 (tramp-handle-shell-command): Use it.
11008 (tramp-dissect-file-name): Raise an error when hostname is a
11009 method name, and neither method nor user is specified.
11011 * net/trampver.el: Update release number.
11013 2013-03-18 Leo Liu <sdl.web@gmail.com>
11015 Make sure eldoc can be turned off properly.
11016 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
11018 (eldoc-display-message-p): Revert last change.
11019 (eldoc-display-message-no-interference-p)
11020 (eldoc-print-current-symbol-info): Tweak.
11022 2013-03-18 Tassilo Horn <tsdh@gnu.org>
11024 * doc-view.el (doc-view-new-window-function): Check the new window
11025 overlay's display property instead the char property of the
11026 buffer's first char. Use `with-selected-window' instead of
11027 `save-window-excursion' with `select-window'.
11028 (doc-view-document->bitmap): Check the current doc-view overlay's
11029 display property instead the char property of the buffer's first char.
11031 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
11033 Automate the build of ja-dic.el (Bug#13984).
11034 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
11035 from the input, rather than assume that it's been done for us by the
11036 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
11037 the current date into a ja-dic.el comment, as that complicates
11038 regression testing.
11040 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
11042 * whitespace.el: Fix double evaluation.
11043 (whitespace-space, whitespace-hspace, whitespace-tab)
11044 (whitespace-newline, whitespace-trailing, whitespace-line)
11045 (whitespace-space-before-tab, whitespace-indentation)
11046 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
11048 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
11049 (whitespace-color-on): Use a single font-lock-add-keywords call.
11050 Fix double-evaluation of face variables.
11052 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
11054 * net/tramp-adb.el (tramp-adb-parse-device-names):
11055 Use `start-process' instead of `call-process'. Otherwise, the
11056 function might be blocked under MS Windows. (Bug#13299)
11058 2013-03-17 Leo Liu <sdl.web@gmail.com>
11060 Extend eldoc to display info in the mode-line. (Bug#13978)
11061 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
11062 (eldoc-mode-line-string): New variable.
11063 (eldoc-minibuffer-message): New function.
11064 (eldoc-message-function): New variable.
11065 (eldoc-message): Use it.
11066 (eldoc-display-message-p)
11067 (eldoc-display-message-no-interference-p):
11068 Support eldoc-post-insert-mode.
11070 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
11071 (eval-expression): Run it.
11073 2013-03-17 Roland Winkler <winkler@gnu.org>
11075 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
11076 strings in the list of return values.
11078 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
11080 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
11081 radix before checking for HMS forms.
11083 2013-03-16 Leo Liu <sdl.web@gmail.com>
11085 * progmodes/scheme.el: Add indentation and font-locking for λ.
11088 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
11090 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
11091 token before point (bug#13942).
11093 2013-03-16 Leo Liu <sdl.web@gmail.com>
11095 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
11097 2013-03-16 Eli Zaretskii <eliz@gnu.org>
11099 * startup.el (command-line-normalize-file-name): Fix handling of
11100 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
11101 <xfq.free@gmail.com> in
11102 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
11104 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
11106 Sync with Tramp 2.2.7.
11108 * net/trampver.el: Update release number.
11110 2013-03-14 Tassilo Horn <tsdh@gnu.org>
11112 * doc-view.el: Fix bug#13887.
11113 (doc-view-insert-image): Don't modify overlay associated to
11114 non-live windows, and implement horizontal centering of image in
11115 case it's smaller than the window.
11116 (doc-view-new-window-function): Force redisplay of new windows on
11119 2013-03-13 Karl Fogel <kfogel@red-bean.com>
11121 * saveplace.el (save-place-alist-to-file): Don't sort
11122 `save-place-alist', just pretty-print it (bug#13882).
11124 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
11126 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
11127 Check whether `default-file-name-coding-system' is bound.
11128 It isn't in XEmacs.
11130 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
11132 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
11133 backquotes for `obsolete' (bug#13929).
11135 * international/mule.el (find-auto-coding): Include file name in
11136 obsolescence warning (bug#13922).
11138 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
11140 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
11141 for CFEngine 3-specific indentation.
11142 (cfengine3-indent-line): Use it. Fix up category regex.
11143 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
11145 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11147 * type-break.el (type-break-file-name):
11148 * textmodes/remember.el (remember-data-file):
11149 * strokes.el (strokes-file):
11150 * shadowfile.el (shadow-initialize):
11151 * saveplace.el (save-place-file):
11152 * ps-bdf.el (bdf-cache-file):
11153 * progmodes/idlwave.el (idlwave-config-directory):
11154 * net/quickurl.el (quickurl-url-file):
11155 * international/kkc.el (kkc-init-file-name):
11156 * ido.el (ido-save-directory-list-file):
11157 * emulation/viper.el (viper-custom-file-name):
11158 * emulation/vip.el (vip-startup-file):
11159 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
11160 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
11162 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
11164 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
11165 * language/thai-word.el: Switch to UTF-8.
11167 See ChangeLog.16 for earlier changes.
11169 ;; Local Variables:
11173 Copyright (C) 2011-2013 Free Software Foundation, Inc.
11175 This file is part of GNU Emacs.
11177 GNU Emacs is free software: you can redistribute it and/or modify
11178 it under the terms of the GNU General Public License as published by
11179 the Free Software Foundation, either version 3 of the License, or
11180 (at your option) any later version.
11182 GNU Emacs is distributed in the hope that it will be useful,
11183 but WITHOUT ANY WARRANTY; without even the implied warranty of
11184 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11185 GNU General Public License for more details.
11187 You should have received a copy of the GNU General Public License
11188 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.