1 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
3 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
4 category-wide setting of todo-top-priorities-overrides, check for
5 a file-wide setting and fontify accordingly.
7 2014-06-26 Glenn Morris <rgm@gnu.org>
9 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
11 2014-06-26 Daiki Ueno <ueno@gnu.org>
13 * emacs-lisp/package.el (package--check-signature):
14 If package-check-signature is allow-unsigned, don't signal error when
15 we can't verify signature because of missing public key
16 (backport for bug#17625).
18 2014-06-26 Glenn Morris <rgm@gnu.org>
20 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
21 Remove outdated declaration.
23 * emacs-lisp/authors.el (authors-valid-file-names)
24 (authors-renamed-files-alist): Additions.
26 2014-06-25 Leo Liu <sdl.web@gmail.com>
28 * textmodes/picture.el (picture-set-tab-stops):
29 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
30 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
32 * progmodes/asm-mode.el (asm-calculate-indentation):
33 Use indent-next-tab-stop.
35 * indent.el (indent-accumulate-tab-stops): New function.
37 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
39 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
40 (package-desc-status): Obey it.
42 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
44 * calendar/todo-mode.el: Fix two bugs.
45 (todo-insert-item--basic): If user cancels item insertion to
46 another category before setting priority, show original category
47 whether it is in the same or a different file.
48 (todo-set-item-priority): After selecting category, instead of
49 moving point to top, which extends an active region, restore it.
51 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
53 * help-fns.el (describe-function-1): Check file-name is a string before
54 calling help-fns--autoloaded-p (bug#17564).
56 2014-06-24 Juri Linkov <juri@jurta.org>
58 * desktop.el (desktop-auto-save-enable)
59 (desktop-auto-save-disable): New functions.
60 (desktop-save-mode, desktop-auto-save-timeout): Use them.
61 (desktop-read): Disable the autosave before loading the desktop,
62 and enable afterwards. (Bug#17351)
64 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
66 Fix some indentation problem with \; and pipes (bug#17842).
67 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
68 (sh-smie--default-forward-token, sh-smie--default-backward-token):
70 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
71 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
72 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
74 2014-06-24 Eli Zaretskii <eliz@gnu.org>
76 * international/fontset.el (script-representative-chars):
77 Add representative characters for scripts added in Unicode 7.0.
78 (otf-script-alist): Synchronize with the latest registry of OTF
81 * international/characters.el (char-script-table): Update for
82 scripts added and codepoint ranges changed in Unicode 7.0.
84 2014-06-23 Leo Liu <sdl.web@gmail.com>
86 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
87 tab-stop-list to nil. (Bug#16381)
89 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
90 (indent-rigidly-left-to-tab-stop)
91 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
92 (move-to-tab-stop): Change callers.
94 2014-06-22 Eli Zaretskii <eliz@gnu.org>
96 * skeleton.el (skeleton-insert): Yet another fix of the doc string
97 wrt behavior of \n as the first/last element of a skeleton.
99 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
101 * net/tramp-adb.el (tramp-adb-handle-process-file):
102 * net/tramp-sh.el (tramp-sh-handle-process-file):
103 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
104 the output buffer when DISPLAY is non-nil. (Bug#17815)
106 2014-06-21 Glenn Morris <rgm@gnu.org>
108 * play/landmark.el (landmark-move-down, landmark-move-up):
109 Fix 2007-10-20 change - preserve horizontal position.
111 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
113 Fix completion retrieval parsing (bug#17209).
114 * progmodes/python.el (python-mode):
115 (python-util-strip-string): New function.
116 (python-shell-completion-get-completions): Use it.
118 2014-06-21 Eli Zaretskii <eliz@gnu.org>
120 * skeleton.el (skeleton-insert): Fix last change.
122 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
124 Enhancements for outline integration (bug#17796).
125 * progmodes/python.el (python-mode): Properly set
126 outline-heading-end-regexp so that comments after colons for
127 defuns are supported.
129 2014-06-21 Eli Zaretskii <eliz@gnu.org>
131 * skeleton.el (skeleton-insert): Doc fix.
133 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
135 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
136 (smie-config-guess): Use smie-config-local so the rules are obeyed
139 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
140 since it's already done inside the loop (bug#17819).
142 2014-06-20 Martin Rudalics <rudalics@gmx.at>
144 * mouse.el (mouse-drag-line): Re-remove code initially removed
145 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
148 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
150 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
151 align with the surrounding parent (bug#17721).
153 2014-06-20 Eli Zaretskii <eliz@gnu.org>
155 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
157 (texinfo-insert-block, texinfo-insert-@end)
158 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
159 local setting of skeleton-end-newline by adding an explicit \n to
160 the skeletons where appropriate. (Bug#17801)
162 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
164 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
165 (smie-indent--hanging-p): Use it.
166 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
168 2014-06-20 Leo Liu <sdl.web@gmail.com>
170 * simple.el (read-quoted-char): Don't let help chars pop up help
173 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
175 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
178 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
180 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
181 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
184 2014-06-18 Eli Zaretskii <eliz@gnu.org>
186 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
187 and later. (Bug#17790)
189 2014-06-18 Juri Linkov <juri@jurta.org>
191 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
192 to `soft'. (Bug#17554)
194 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
196 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
199 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
201 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
202 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
204 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
206 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
207 `unread-command-events'.
209 2014-06-14 Glenn Morris <rgm@gnu.org>
211 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
212 Replace delete-duplicates and mapcan by cl- versions throughout.
213 And cl-macroexpand-all by macroexpand-all.
214 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
216 2014-06-14 Eli Zaretskii <eliz@gnu.org>
218 * subr.el (posn-col-row): Doc fix. (Bug#17768)
220 2014-06-14 Juri Linkov <juri@jurta.org>
222 * bindings.el: Put `ascii-character' property on keypad keys
223 mapped to characters. (Bug#17759)
225 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
227 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
228 bumping forward into a closing paren (bug#17761).
230 * term/xterm.el (xterm--version-handler): Work around for OSX
231 Terminal.app (bug#17607).
233 2014-06-08 Glenn Morris <rgm@gnu.org>
235 * startup.el (initial-buffer-choice): Doc fix.
236 Reset :version (adding an option does not merit a :version bump).
238 * bookmark.el (bookmark-load):
239 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
241 2014-06-06 Juri Linkov <juri@jurta.org>
243 * desktop.el: Activate auto-saving on window configuration changes.
244 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
245 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
246 (desktop-auto-save-set-timer): Change REPEAT arg of
247 `run-with-idle-timer' from t to nil.
248 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
250 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
252 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
253 vc-hg-command (bug#17570).
255 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
257 * international/mule-cmds.el (ucs-names): Add special entry for BEL
260 2014-06-06 Glenn Morris <rgm@gnu.org>
262 * startup.el (window-setup-hook): Doc fix.
264 2014-06-05 Glenn Morris <rgm@gnu.org>
266 * emacs-lisp/package.el (package-check-signature)
267 (package-unsigned-archives): Doc fixes.
269 2014-06-03 Martin Rudalics <rudalics@gmx.at>
271 * window.el (display-buffer-use-some-window): Don't make window
272 used smaller than it was before (Bug#17671).
274 2014-06-03 Eli Zaretskii <eliz@gnu.org>
276 * menu-bar.el (menu-bar-open): Fix last change: use the PC
277 'redisplay' instead of '(sit-for 0)'.
279 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
281 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
284 2014-06-03 Glenn Morris <rgm@gnu.org>
286 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
288 2014-06-02 Eli Zaretskii <eliz@gnu.org>
290 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
292 2014-06-01 Eli Zaretskii <eliz@gnu.org>
294 * simple.el (keyboard-quit): Force update of mode lines, to remove
295 the "Def" indicator, if we were defining a macro. (Bug#17615)
297 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
299 * minibuffer.el (minibuffer-force-complete-and-exit):
300 Obey minibuffer-default (bug#17545).
302 * progmodes/js.el (js-indent-line): Don't mix columns and chars
305 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
307 * subr.el (set-transient-map): Don't wait for some "nested"
308 transient-map to finish if we're only supposed to be active for
309 the next command (bug#17642).
311 2014-05-31 Leo Liu <sdl.web@gmail.com>
313 * emacs-lisp/gv.el (window-buffer, window-display-table)
314 (window-dedicated-p, window-hscroll, window-point, window-start):
315 Fix gv-expander. (Bug#17630)
317 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
319 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
322 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
323 for the single comma, since ", " is *very* common in normal French text
326 2014-05-30 Glenn Morris <rgm@gnu.org>
328 * emacs-lisp/package.el (package-check-signature)
329 (package-unsigned-archives): Fix :version.
331 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
333 * subr.el (sit-for): Don't run input-methods (bug#15614).
335 2014-05-28 Glenn Morris <rgm@gnu.org>
337 * cus-start.el: Fix some :version numbers.
339 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
341 * simple.el (deactivate-mark): Set mark-active to nil even if
342 deactivation is done via setting transient-mark-mode to nil,
343 since one is buffer-local and the other is global.
345 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
346 there can't be more than 2 arguments (bug#17584).
348 2014-05-27 Glenn Morris <rgm@gnu.org>
350 * simple.el (filter-buffer-substring-functions)
351 (filter-buffer-substring-function, buffer-substring-filters)
352 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
354 * minibuffer.el (completion-in-region-functions, completion-in-region)
355 (completion--in-region): Doc fixes.
357 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
358 (expand-abbrev, abbrev--default-expand): Doc fixes.
360 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
362 Include sources used to create macuvs.h.
363 * international/README: Refer to the Unicode Terms of Use rather
364 than copying it bodily here, as that simplifies maintenance.
366 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
368 * cus-face.el (custom-face-attributes): Add :distant-foreground.
370 2014-05-25 Martin Rudalics <rudalics@gmx.at>
372 * window.el (window--dump-frame): Remove interactive
375 2014-05-23 Glenn Morris <rgm@gnu.org>
377 * hippie-exp.el (he-line-search-regexp):
378 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
380 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
382 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
383 to avoid errors when trying to create or visit a file foo.todo
384 located outside to todo-directory, and to allow having such files
385 without them being tied to Todo mode (bug#17482).
386 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
387 (todo-archive-done-item, todo-find-filtered-items-file)
388 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
389 (todo-category-completions, todo-read-category): When visiting a
390 Todo file, make sure we're in the right mode and the buffer local
392 (todo-make-categories-list, todo-reset-nondiary-marker)
393 (todo-reset-done-string, todo-reset-comment-string):
394 After processing all Todo files, kill the buffers of those files that
395 weren't being visited before the processing.
396 (todo-display-as-todo-file, todo-add-to-buffer-list)
397 (todo-visit-files-commands): Comment out.
398 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
399 (auto-mode-alist): Remove add-to-list calls making Todo file
400 extensions unrestrictedly tied to Todo modes.
402 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
404 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
405 (advice-function-member-p): Tell it to check both names and functions
407 (advice--add-function): Adjust call accordingly.
409 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
411 * calendar/todo-mode.el: Miscellaneous bug fixes.
412 (todo-delete-file): When deleting an archive but not its todo
413 file, make sure to update the todo file's category sexp.
414 (todo-move-category): Keep the moved category's name unless the
415 file moved to already has a category with that name. If the
416 numerically last category of the source file was moved, make the
417 first category current to avoid selecting a nonexisting category.
418 (todo-merge-category): Fix implementation to make merging to a
419 category in another file work as documented. Eliminate now
420 insufficient and unnecessary renaming of archive category, correct
421 document string accordingly, and clarify it. If the numerically
422 last category of the source file was merged, make the first
423 category current to avoid selecting a nonexisting category.
424 (todo-archive-done-item): When there are marked items and point
425 happens to be on an unmarked item, ignore the latter. Don't leave
426 point below last item after archiving marked items.
427 (todo-unarchive-items): Fix logic to ensure unarchiving an item
428 from an archive with only one category deletes the archive only
429 when the category is empty after unarchiving. Make sure the todo
430 file's category sexp is updated.
431 (todo-read-file-name): Allow an existing file name even when it is
432 not required (todo-move-category needs this to work as documented).
433 (todo-add-file): Call todo-validate-name to reject the name of an
434 existing todo file (needed due to fix in todo-read-file-name).
435 (todo-reset-nondiary-marker): Also reset in filtered items files.
436 (todo-reset-done-string, todo-reset-comment-string): Also reset in
437 regexp filtered items files.
438 (todo-reset-highlight-item): Also reset in filtered items files.
439 Fix incorrect variable reference in document string.
441 2014-05-22 Glenn Morris <rgm@gnu.org>
443 * window.el (window--dump-frame): Avoid error in --without-x builds.
445 2014-05-21 Glenn Morris <rgm@gnu.org>
447 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
449 2014-05-21 Eli Zaretskii <eliz@gnu.org>
451 * frame.el (set-frame-font): Doc fix.
453 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
455 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
457 * emacs-lisp/package.el (package--download-one-archive):
458 Use `write-region' instead of `save-buffer' to avoid running various
460 (describe-package-1): Same. Insert newline at the end of the
461 buffer if appropriate.
463 2014-05-20 Juri Linkov <juri@jurta.org>
465 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
466 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
467 Add more modifiers: meta, control, shift, hyper, super, alt.
470 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
471 to allow changing its value with `set-variable'.
473 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
475 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
477 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
479 (scheme-mode-variables): Set syntax-propertize-function instead of
480 font-lock-syntactic-face-function.
481 (scheme-font-lock-syntactic-face-function): Delete.
483 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
485 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
487 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
490 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
492 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
493 for a temporary file name.
495 2014-05-17 Eli Zaretskii <eliz@gnu.org>
497 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
499 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
501 * net/dbus.el (dbus-init-bus, dbus-call-method)
502 (dbus-call-method-asynchronously, dbus-send-signal)
503 (dbus-method-return-internal, dbus-method-error-internal):
504 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
506 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
508 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
509 methods which do not have a doc string. (Bug#17490)
511 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
512 Stefan Monnier <monnier@iro.umontreal.ca>
514 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
517 2014-05-14 Glenn Morris <rgm@gnu.org>
519 * vc/emerge.el (emerge-temp-file-prefix):
520 Make pointless option obsolete.
521 (emerge-temp-file-mode): Make non-functional option obsolete.
523 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
525 * net/browse-url.el (browse-url):
526 Use `unhandled-file-name-directory' when setting `default-directory',
527 in order to circumvent stalled remote connections. (Bug#17425)
529 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
531 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
532 into autoloading just because of a silly indirection.
534 2014-05-11 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
536 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
538 2014-05-11 Glenn Morris <rgm@gnu.org>
540 * emacs-lisp/find-gc.el: Move to ../admin.
542 2014-05-10 Glenn Morris <rgm@gnu.org>
544 * printing.el (pr-version):
545 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
547 * net/browse-url.el (browse-url-mosaic):
548 Create /tmp/Mosaic.PID as a private file.
550 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
552 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
553 (advice--member-p): If name is given, only compare the name.
554 (advice--remove-function): Don't stop at the first match.
555 (advice--normalize-place): New function.
556 (add-function, remove-function): Use it.
557 (advice--add-function): Pass the name, if any, to
558 advice--remove-function.
560 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
562 * electric.el (electric-indent-post-self-insert-function): Don't use
563 `pos' after modifying the buffer (bug#17449).
565 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
567 * subr.el (function-put): Add function.
569 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
571 * calendar/todo-mode.el (todo-insert-item-from-calendar):
572 Correct argument list to conform to todo-insert-item--basic.
574 2014-05-09 Glenn Morris <rgm@gnu.org>
576 * files.el (cd-absolute): Test if directory is accessible
577 rather than executable. (Bug#17330)
579 * progmodes/compile.el (recompile):
580 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
582 2014-05-08 Juri Linkov <juri@jurta.org>
584 * dired.el (dired-check-switches, dired-switches-recursive-p):
585 New functions. (Bug#17218)
586 (dired-switches-escape-p, dired-move-to-end-of-filename):
587 Use `dired-check-switches'.
588 (dired-insert-old-subdirs, dired-build-subdir-alist)
589 (dired-sort-R-check): Use `dired-switches-recursive-p'.
591 2014-05-08 Glenn Morris <rgm@gnu.org>
593 * net/browse-url.el (browse-url-mosaic):
594 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
595 This is CVE-2014-3423.
597 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
599 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
600 (xterm-mouse--read-event-sequence-1000): Return nil if something
602 (xterm-mouse-event): Propagate it.
603 (xterm-mouse-translate-1): Handle it.
605 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
607 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
608 four slots of the parameter list are filled, make sure to pass it
609 to the argument list of todo-insert-item--basic.
611 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
613 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
614 Add optional `seen' argument to detect and break infinite loops.
616 2014-05-06 Eli Zaretskii <eliz@gnu.org>
618 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
619 (trace-unsafe, trace-use-tree): Make parentheses style be
620 according to Emacs style.
622 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
624 * net/tramp-sh.el (tramp-remote-process-environment):
625 Remove HISTFILE and HISTSIZE; it's too late to set them here.
627 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
628 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
629 extra "PSx=..." commands.
630 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
633 (tramp-uudecode): Replace the hard-coded temporary file name by a
635 (tramp-remote-coding-commands): Enhance docstring.
636 (tramp-find-inline-encoding): Replace "%t" by a temporary file
638 This is CVE-2014-3424.
640 2014-05-06 Glenn Morris <rgm@gnu.org>
642 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
643 (find-gc-source-files): Update some names.
644 (trace-call-tree): Simplify and update.
645 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
646 This is CVE-2014-3422.
648 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
650 * minibuffer.el (completion--try-word-completion): Revert fix for
651 Bug#15980 (bug#17375).
653 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
654 Always store button numbers in the same way in xterm-mouse-last;
655 Don't burp is xterm-mouse-last is not set as expected.
656 Never return negative indices.
658 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
660 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
661 Backtrack one char if the global/char-literal var matcher hits
662 inside a string. The next char could be the beginning of an
663 expression expansion.
665 2014-05-05 Glenn Morris <rgm@gnu.org>
667 * help-fns.el (describe-function-1): Test for an autoload before a
668 macro, since `macrop' works on autoloads. (Bug#17410)
670 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
672 * electric.el (electric-indent-functions-without-reindent): Add yaml.
674 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
675 Make sure the new point we return is within the new string (bug#17239).
677 2014-05-03 Eli Zaretskii <eliz@gnu.org>
679 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
681 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
683 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
684 Use nil rather than `default' for the "default" appearance (bug#17388).
685 * vc/ediff-util.el (ediff-inferior-compare-regions)
686 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
687 a misleading `default' value when it's really a boolean.
688 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
689 overlay is not visible.
691 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
693 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
694 (todo-menu): Uncomment and update.
696 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
698 * calendar/todo-mode.el: Reimplement item editing to have the same
699 basic user interface as item insertion, and make small UI and
700 larger internal improvements to the latter.
701 (todo-insert-item): Add reference to the Todo mode user manual to
702 the documentation string.
703 (todo-insert-item--basic): Rename from todo-basic-insert-item and
704 adjust all callers. Change signature to combine diary and
705 nonmarking arguments. Incorporate functionality of deleted item
706 copying command and add error checking. Remove detailed
707 descriptions of the arguments from the documentation string, since
708 this is treated in the Todo mode user manual.
709 (todo-copy-item, todo-edit-multiline-item)
710 (todo-edit-done-item-comment, todo-edit-item-header)
711 (todo-edit-item-time, todo-edit-item-date-from-calendar)
712 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
713 (todo-edit-item-date-year, todo-edit-item-date-month)
714 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
716 (todo-edit-item): Reimplement as wrapper command for
717 todo-edit-item--next-key and make it distinguish done and not done
719 (todo-edit-item--text): New function, replacing old command
720 todo-edit-item and incorporating deleted commands
721 todo-edit-multiline-item and todo-edit-done-item-comment.
722 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
723 Use only numeric value of prefix argument. Remove detailed
724 descriptions of the arguments from the documentation string, since
725 this is treated in the Todo mode user manual.
726 (todo-edit-item--diary-inclusion): New function, replacing old
727 command todo-edit-item-diary-inclusion and incorporating and fixing
728 functionality of deleted command todo-edit-item-diary-nonmarking,
729 making sure to remove todo-nondiary-marker when adding
730 diary-nonmarking-symbol.
731 (todo-edit-category-diary-inclusion): Make sure to delete
732 diary-nonmarking-symbol when adding todo-nondiary-marker.
733 (todo-edit-category-diary-nonmarking): Fix indentation.
734 (todo-insert-item--parameters): Group diary and nonmarking
736 (todo-insert-item--apply-args): Adjust to signature of
737 todo-insert-item--basic and incorporate copy parameter.
738 Make small code improvements.
739 (todo-insert-item--next-param): Improve prompt and adjust it to
740 new parameter grouping. Remove obsolete code.
741 (todo-edit-item--param-key-alist)
742 (todo-edit-item--date-param-key-alist)
743 (todo-edit-done-item--param-key-alist): New defconsts.
744 (todo-edit-item--prompt): New variable.
745 (todo-edit-item--next-key): New function.
746 (todo-key-bindings-t): Bind "e" to todo-edit-item.
747 Remove bindings of deleted commands.
749 2014-05-02 Leo Liu <sdl.web@gmail.com>
751 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
753 2014-05-01 Glenn Morris <rgm@gnu.org>
755 * allout-widgets.el (allout-widgets-tally)
756 (allout-decorate-item-guides):
757 * menu-bar.el (menu-bar-positive-p):
758 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
759 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
760 * progmodes/js.el (js--inside-param-list-p)
761 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
762 * progmodes/prolog.el (region-exists-p):
763 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
764 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
765 Doc fixes (replace `iff').
767 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
769 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
771 2014-04-30 Eli Zaretskii <eliz@gnu.org>
773 * dired.el (dired-initial-position-hook, dired-initial-position):
776 2014-04-29 Glenn Morris <rgm@gnu.org>
778 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
780 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
782 * faces.el (face-spec-recalc): Apply X resources only after the
783 defface spec has been applied. Thus, X resources are no longer
784 overriden by the defface spec which also fixes issues on win32 where
785 the toolbar coloring was wrong because it is set through X resources
786 and was (wrongfully) overriden. (Bug#16694)
788 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
790 * textmodes/rst.el (electric-pair-pairs): Declare.
791 (rst-mode): Set it (bug#17131).
793 2014-04-27 Juri Linkov <juri@jurta.org>
795 * desktop.el (desktop-value-to-string): Let-bind `print-length'
796 and `print-level' to nil. (Bug#17351)
798 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
800 * battery.el (battery-update): Handle the case where battery
801 status is "N/A" (bug#17319).
803 2014-04-24 Eli Zaretskii <eliz@gnu.org>
805 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
806 Use equal-including-properties to compare help-echo strings (bug#17331).
808 2014-04-24 Leo Liu <sdl.web@gmail.com>
810 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
811 Fix syntax for @. (Bug#17325)
813 2014-04-24 Daniel Colascione <dancol@dancol.org>
815 * emacs-lisp/cl.el (gv): Require gv early to break eager
816 macro-expansion cycles.
818 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
820 * simple.el (region-active-p): Check there's a mark (bug#17324).
822 * simple.el (completion-list-mode-map): Use choose-completion for the
823 mouse binding as well (bug#17302).
824 (completion-list-mode, completion-setup-function): Adjust docstring and
825 echo area message accordingly.
826 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
827 calling convention of choose-completion.
828 * comint.el (comint-dynamic-list-completions):
829 * term.el (term-dynamic-list-completions): Accept choose-completion.
831 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
832 &, |, +, - and * can't be a division (bug#17317).
834 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
836 * term/xterm.el (xterm--version-handler): Don't use modern xterm
837 features on gnome-terminal (bug#16988).
839 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
841 * dired.el (dired-insert-set-properties): Do not consider
842 subdirectory headings and empty lines to be information that
843 `dired-hide-details-mode' should hide. (Bug#17228)
845 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
847 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
848 Remove test messages.
849 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
852 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
854 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
855 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
857 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
859 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
861 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
862 Set "IFS=" when using read builtin, in order to preserve spaces in
863 the file name. Add test messages for hunting a bug on hydra.
864 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
866 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
868 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
869 Don't prettify a word within a symbol.
871 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
873 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
876 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
878 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
879 assignments such as "case=hello" (bug#17297).
881 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
883 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
885 (tramp-file-name-handler, tramp-completion-file-name-handler):
886 Revert patch from 2014-04-10, it isn't necessary anymore.
887 (tramp-autoload-file-name-handler)
888 (tramp-register-autoload-file-name-handlers): New defuns.
889 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
890 (tramp-register-file-name-handlers): Remove also
891 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
892 Do not autoload its invocation, but eval it after loading of 'tramp.
894 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
896 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
898 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
900 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
901 was done (bug#17264).
902 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
905 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
906 here-documents (bug#17262).
908 2014-04-16 Eli Zaretskii <eliz@gnu.org>
910 * term/pc-win.el (x-list-fonts, x-get-selection-value):
911 Provide doc strings, as required by snarf-documentation.
913 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
915 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
916 arg of overlays-at. Use `invisible-p'.
918 * obsolete/lucid.el (extent-at):
919 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
921 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
923 2014-04-14 João Távora <joaotavora@gmail.com>
925 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
928 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
930 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
931 Use mapc to loop over a vector. (Bug#17257).
933 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
935 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
936 patch, there are new problems with file names containing spaces.
937 Get rid of backticks. (Bug#17238)
939 2014-04-13 João Távora <joaotavora@gmail.com>
941 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
944 2014-04-13 Eli Zaretskii <eliz@gnu.org>
946 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
947 (blink-cursor-mode): Mention customization variables and the
948 effect of 'blink-cursor-blinks'.
950 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
952 * simple.el (undo): Prevent insertion of identity mapping into
953 undo-equiv-table so as undo-only does not inf loop in the presence
954 of consecutive nils in undo list.
956 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
958 * faces.el (make-face): Deprecate optional argument as it is no
959 longer needed/used since the conditional X resources handling
960 has been pushed down to make-face-x-resource-internal itself.
961 (make-empty-face): Don't pass optional argument to make-face.
963 2014-04-12 Eli Zaretskii <eliz@gnu.org>
965 * international/characters.el <standard-case-table>: Add entries
966 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
967 Set category of Coptic characters be 'g' (Greek).
969 2014-04-12 Leo Liu <sdl.web@gmail.com>
971 * progmodes/octave.el (completion-table-with-cache): Define if not
973 (octave-goto-function-definition)
974 (octave-sync-function-file-names)
975 (octave-find-definition-default-filename): Backquote upattern for
978 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
980 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
981 name twice due to backticks. (Bug#17238)
983 2014-04-11 Glenn Morris <rgm@gnu.org>
985 * term/w32-win.el (x-win-suspend-error):
986 * term/x-win.el (x-win-suspend-error): Sync docs.
988 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
990 Ediff's overlay priorities cause more trouble than they solve.
991 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
992 (ediff-highest-priority): Remove function (bug#17234).
993 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
994 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
995 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
998 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
1000 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1001 entry; use symbol boundaries to avoid mis-matches.
1003 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
1005 * net/tramp.el (tramp-file-name-handler)
1006 (tramp-completion-file-name-handler): Avoid recursive loading.
1008 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1009 Quote result also locally.
1011 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1013 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1014 Module methods. (Bug#17216)
1016 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1018 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1019 (describe-bindings-internal): Mark obsolete.
1021 2014-04-07 João Távora <joaotavora@gmail.com>
1024 (electric-pair--syntax-ppss): When inside comments parse from
1026 (electric-pair--balance-info): Fix typo in comment.
1027 (electric-pair--in-unterminated-string-p): Delete.
1028 (electric-pair--unbalanced-strings-p): New function.
1029 (electric-pair-string-bound-function): New var.
1030 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1031 according to `electric-pair--in-unterminated-string-p'
1033 2014-04-07 João Távora <joaotavora@gmail.com>
1035 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1036 Inhibit quote pairing if point-max is inside an unterminated string.
1037 (electric-pair--looking-at-unterminated-string-p): Delete.
1038 (electric-pair--in-unterminated-string-p): New function.
1040 2014-04-07 Glenn Morris <rgm@gnu.org>
1042 * shell.el (shell-directory-tracker):
1043 Go back to just ignoring failures. (Bug#17159)
1045 2014-04-06 João Távora <joaotavora@gmail.com>
1047 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1048 backspace. (bug#16981)
1049 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1050 (electric-pair-backward-delete-char-untabify): Delete.
1051 (electric-pair-mode-map): Bind backspace to a menu item filtering
1052 a new `electric-pair-delete-pair' command.
1053 (electric-pair-delete-pair): New command.
1055 2014-04-06 João Távora <joaotavora@gmail.com>
1057 * progmodes/python.el (python-electric-pair-string-delimiter):
1058 Fix triple-quoting electricity. (Bug#17192)
1060 2014-04-06 João Távora <joaotavora@gmail.com>
1062 * elec-pair.el (electric-pair-post-self-insert-function):
1063 Don't skip whitespace when `electric-pair-text-pairs' and
1064 `electric-pair-pairs' were used. syntax to
1065 electric-pair--skip-whitespace. (Bug#17183)
1067 2014-04-06 Eli Zaretskii <eliz@gnu.org>
1069 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1072 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1074 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1075 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1077 2014-04-05 Glenn Morris <rgm@gnu.org>
1079 * help.el (view-lossage): Doc tweak.
1081 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
1083 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1084 only when inhibit-x-resources is nil, and do that earlier in the
1085 function. Doc fix. (Bug#16694)
1086 (face-spec-choose): Accept additional optional argument, whose
1087 value is returned if no matching attributes are found.
1088 (face-spec-recalc): Use the new optional argument when calling
1089 face-spec-choose. (Bug#16378)
1090 (make-face-x-resource-internal): Do nothing when
1091 inhibit-x-resources is non-nil. Don't touch the default face if
1092 reversed video is given--as was done in previous versions of Emacs.
1093 (face-set-after-frame-default): Don't call
1094 make-face-x-resource-internal here. (Bug#16434)
1096 2014-04-04 Tassilo Horn <tsdh@gnu.org>
1098 * doc-view.el (doc-view-bookmark-jump):
1099 Use `bookmark-after-jump-hook' to jump to the right page after the
1100 buffer is shown in a window. (bug#16090)
1102 2014-04-04 Eli Zaretskii <eliz@gnu.org>
1104 * international/characters.el (mirroring): Fix last change:
1105 instead of loading uni-mirrored.el explicitly, do that implicitly
1106 by creating the 'mirroring' uniprop table. This avoids announcing
1107 the loading of uni-mirrored.el.
1109 2014-04-04 Glenn Morris <rgm@gnu.org>
1111 * files.el (buffer-stale--default-function)
1112 (buffer-stale-function, revert-buffer--default):
1113 * autorevert.el (auto-revert-buffers): Doc tweaks.
1115 2014-04-03 Eli Zaretskii <eliz@gnu.org>
1117 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1119 2014-04-03 Glenn Morris <rgm@gnu.org>
1121 * files.el (make-backup-file-name-function)
1122 (make-backup-file-name, make-backup-file-name--default-function)
1123 (make-backup-file-name-1, find-backup-file-name)
1124 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1125 (buffer-stale--default-function, buffer-stale-function)
1126 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1127 (revert-buffer, revert-buffer--default)
1128 (revert-buffer-insert-file-contents--default-function):
1129 Doc fixes related to defaults no longer being nil.
1130 (make-backup-file-name-function): Bump :version.
1131 Restore nil as a valid but deprecated custom type.
1133 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1135 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
1136 used as a variable (bug#17174).
1138 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1140 * progmodes/perl-mode.el (perl-indent-new-calculate):
1141 Handle forward-sexp failure (bug#16985).
1142 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1143 modifiers introducing expressions (bug#17116).
1145 2014-04-02 Glenn Morris <rgm@gnu.org>
1147 * menu-bar.el (menu-bar-file-menu):
1148 * vc/ediff.el (ediff-current-file):
1149 Update for revert-buffer-function no longer being nil by default.
1151 * simple.el (command-execute): Respect nil disabled-command-function.
1153 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1155 * simple.el (command-execute): Do not execute the command when it
1156 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1158 2014-03-29 Juri Linkov <juri@jurta.org>
1160 * dired-aux.el (dired-compress-file): Don't use string-match-p
1161 because its match data is used afterwards.
1163 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
1165 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1168 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1170 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1171 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1173 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1174 Don't propertize `?' or `!' as symbol constituent when after
1177 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1179 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1180 which is no longer needed and causes trouble in GTK builds (bug#17046).
1182 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1183 Use url-insert-file-contents; package-handle-response no longer exists.
1185 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1187 * emacs-lisp/package.el: Fix bug#16733 (again).
1188 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1189 (url-http-target-url): Remove unused declarations.
1190 (package-handle-response): Remove.
1191 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1192 (package--download-one-archive): Use current-buffer instead of
1193 dynamic binding of `buffer'.
1194 (describe-package-1): Do not decode readme-string.
1196 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
1198 * simple.el (primitive-undo): Correction to 2014-03-24 change.
1200 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
1202 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1204 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1205 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1206 `remote-file-name-inhibit-cache' to nil in the second pass.
1207 (tramp-find-executable): Do not call "which" on SunOS.
1208 (tramp-send-command-and-check): Fix docstring.
1209 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1210 check whether source directory has set the sticky bit.
1212 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
1214 * simple.el (primitive-undo): Only process marker adjustments
1215 validated against their corresponding (TEXT . POS). Issue warning
1216 for lone marker adjustments in undo history. (Bug#16818)
1217 (undo-make-selective-list): Add marker adjustments to selective
1218 undo list based on whether their corresponding (TEXT . POS) is in
1219 the region. Remove variable adjusted-markers, which was unused
1220 and only non nil during undo-make-selective-list.
1221 (undo-elt-in-region): Return nil when passed a marker adjustment
1222 and explain in function doc.
1224 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
1226 * emacs-lisp/package.el (package--add-to-archive-contents):
1227 Include already installed and built-in packages in
1228 `package-archive-contents'.
1229 (package-install): Don't include already installed packages in the
1230 options during interactive invocation. (Bug#16762)
1232 2014-03-24 Daniel Colascione <dancol@dancol.org>
1234 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1235 instead of cl-loop search function.
1237 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
1239 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1241 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1243 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1245 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
1247 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1248 Match special global variables without curlies, too.
1249 (ruby-font-lock-keywords): Simplify the matcher for special global
1250 variables. Don't require a non-word character after the variable.
1253 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1255 * simple.el (redisplay-highlight-region-function): Increase priority of
1256 overlay to make sure boundaries are visible (bug#15899).
1258 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
1260 * frameset.el (frameset-restore): Compare display strings with equal.
1262 * frame.el (make-frame): Don't quote display name in error message,
1263 it is already a string.
1265 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1267 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1270 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
1272 * emacs-lisp/package.el (package-show-package-list): If the buffer
1273 is already displayed in another window, switch to that window.
1275 2014-03-21 Daniel Colascione <dancol@dancol.org>
1277 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1278 information in bug reports.
1280 2014-03-23 Daniel Colascione <dancol@dancol.org>
1282 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1283 list to look for keyword arguments instead of `memq', fixing
1284 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1285 Please make bootstrap.
1287 2014-03-23 Richard Stallman <rms@gnu.org>
1289 * battery.el (battery-linux-sysfs): Search for each field
1290 from the beginning of the buffer.
1292 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1294 * emacs-lisp/package.el (package-desc): Use the contents of the
1295 quoted form, not its cdr. (Bug#16873)
1297 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
1299 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1300 benefit of doc.c; change parameter profile to match the X function.
1302 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
1304 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1305 and `tramp-copy-env'.
1307 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1308 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1310 2014-03-21 Glenn Morris <rgm@gnu.org>
1312 * electric.el (electric-indent-post-self-insert-function): Add doc.
1314 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1316 * emacs-lisp/package.el (package-compute-transaction):
1317 Use `version-list-<=' to compare the requirement version against
1318 the version of package already to be installed. Update the error
1319 message. (Bug#16826)
1321 * progmodes/ruby-mode.el (ruby-smie-rules):
1322 Add indentation rule for ` @ '. (Bug#17050)
1324 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1326 * align.el (align-regexp): Remove superfluous backslash.
1328 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1329 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1330 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1331 Fix docstring typos.
1332 (ffap-next): Use C-u in docstring.
1333 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1334 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1335 Remove superfluous backslashes.
1336 (ffap-string-at-point): Reflow docstring.
1338 * server.el (server-host): Reflow docstring.
1339 (server-unload-function): Fix docstring typo.
1340 (server-eval-at): Remove superfluous backslash.
1342 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1343 (skeleton-insert): Doc fix.
1344 (skeleton-insert): Reflow docstring.
1346 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1347 (tty-color-approximate, tty-color-by-index, tty-color-values)
1348 (tty-color-desc): Remove superfluous backslashes.
1350 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1352 * electric.el (electric-newline-and-maybe-indent): New command.
1353 Bind it globally to C-j.
1354 (electric-indent-mode): Don't mess with the global map any more.
1355 Don't drop the post-self-insert-hook is some buffer is still using it
1358 * bindings.el (global-map): Remove C-j binding.
1360 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1361 the docstring of functions advised before dumping (bug#16993).
1363 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
1365 * ps-print.el (ps-generate-postscript-with-faces):
1366 Explicitly deactivate the mark (bug#16866).
1367 * simple.el (deactivate-mark): Update region highlight.
1369 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
1371 * emacs-lisp/package.el (describe-package-1):
1372 Decode commentary (bug#16733).
1374 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
1376 * custom.el (defcustom): Doc fix: recommend avoiding destructive
1377 modification of the value argument of :set (bug#16755).
1379 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1381 * simple.el (newline-and-indent): Do autofill (bug#17031).
1383 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
1385 * newcomment.el (comment-normalize-vars): Only add escaping check
1386 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
1387 (comment-beginning): Use `narrow-to-region' instead of moving back
1389 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
1390 (comment-start-skip): Update the docstring.
1392 2014-03-18 Richard Stallman <rms@gnu.org>
1394 * dired.el (dired-display-file): Force use of other window.
1396 2014-03-18 Daniel Colascione <dancol@dancol.org>
1398 * startup.el (tty-handle-args): Remove debug message from 2007.
1400 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
1402 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
1403 (advice--make-interactive-form): Use it to avoid (auto)loading function.
1404 (advice--make-1, advice-add, advice-remove):
1405 Remove braindead :advice-pending hack.
1407 2014-03-17 Glenn Morris <rgm@gnu.org>
1409 * calendar/calendar.el (calendar-generate-month): Apply weekend
1410 face to the right days; fixes 2013-08-06 change. (Bug#17028)
1412 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
1414 * net/tramp.el (tramp-action-out-of-band): Read pending output.
1415 (tramp-call-process): Trace also DESTINATION.
1417 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1418 Quote file names when they are local. Remove superfluous trace.
1420 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
1422 * newcomment.el (comment-beginning): If `comment-start-skip'
1423 doesn't match, move back one char and try again. (Bug#16971)
1425 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1426 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
1427 Set `comment-start-skip' to a simpler value that doesn't try to
1428 check if the semicolon is escaped (this is handled by
1429 `syntax-ppss' now). (Bug#16971)
1431 * progmodes/scheme.el (scheme-mode-variables): Same.
1433 2014-03-16 Martin Rudalics <rudalics@gmx.at>
1435 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
1436 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
1437 current (Bug#16816, Bug#17007).
1438 (with-current-buffer-window): New macro doing the same as
1439 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
1440 * help.el (help-print-return-message): Warn in doc-string to not
1441 use this in `with-help-window'.
1442 (describe-bindings-internal): Call `describe-buffer-bindings'
1443 from within help buffer. See Juanma's scenario in (Bug#16816).
1444 (with-help-window): Update doc-string.
1445 * dired.el (dired-mark-pop-up):
1446 * files.el (save-buffers-kill-emacs):
1447 * register.el (register-preview): Use `with-current-buffer-window'
1448 instead of `with-temp-buffer-window'.
1450 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
1452 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
1453 Implement inserting into current buffer, documented in their docstrings.
1454 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
1455 (rst-section-tree-point, rst-forward-section, rst-indent)
1456 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
1457 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
1458 (rst-font-lock-handle-adornment-pre-match-form)
1459 (rst-repeat-last-character): Reflow docstrings.
1460 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
1461 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
1462 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
1463 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
1464 Fix docstring typos.
1465 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
1466 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
1467 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
1469 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
1471 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
1472 for compatibility with other ports.
1473 (ns-initialize-window-system): Use it. It is set in term/common-win.el
1474 from the -xrm command line argument, but in the Nextstep port its value
1475 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
1477 * progmodes/python.el (defconst, python-syntax-count-quotes)
1478 (python-indent-region, python-indent-shift-right)
1479 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
1480 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
1481 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
1482 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
1483 (inferior-python-mode, python-shell-make-comint, run-python-internal)
1484 (python-shell-buffer-substring, python-shell-send-buffer)
1485 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
1486 (python-completion-complete-at-point, python-fill-docstring-style)
1487 (python-eldoc-function, python-imenu-format-item-label)
1488 (python-imenu-format-parent-item-label)
1489 (python-imenu-format-parent-item-jump-label)
1490 (python-imenu--build-tree, python-imenu-create-index)
1491 (python-imenu-create-flat-index): Fix docstring typos.
1492 (python-indent-context, python-shell-prompt-regexp, run-python):
1493 Remove superfluous backslashes.
1494 (python-indent-line, python-nav-beginning-of-defun)
1495 (python-shell-get-buffer, python-shell-get-process)
1496 (python-info-current-defun, python-info-current-line-comment-p)
1497 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
1498 (python-indent-post-self-insert-function, python-shell-send-file)
1499 (python-shell-completion-get-completions)
1500 (python-shell-completion-complete-or-indent)
1501 (python-eldoc--get-doc-at-point): Reflow docstrings.
1503 2014-03-14 Glenn Morris <rgm@gnu.org>
1505 * emacs-lisp/package.el (package-menu-mode-map):
1506 Replace use of obsolete function alias. Tweak menu item text.
1508 * info.el (Info-finder-find-node):
1509 Ignore the `emacs' metapackage. (Bug#10813)
1511 * finder.el (finder-list-matches): Include unversioned packages
1512 in the result of a keyword search.
1514 * finder.el (finder--builtins-descriptions): New constant.
1515 (finder-compile-keywords): Use finder--builtins-descriptions.
1517 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
1519 * simple.el (blink-matching-paren): Describe the new value,
1520 `jump', enabling the old behavior.
1521 (blink-matching-open): Use that value. (Bug#17008)
1523 2014-03-14 Glenn Morris <rgm@gnu.org>
1525 * finder.el (finder-no-scan-regexp): Add leim-list.
1526 (finder-compile-keywords):
1527 Don't skip files with same basename. (Bug#14010)
1528 * Makefile.in (setwins_finder): New, excluding leim.
1529 (finder-data): Use setwins_finder.
1531 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
1532 (help-function-arglist, help-make-usage): Move from here...
1533 * help.el (help-split-fundoc, help-add-fundoc-usage)
1534 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
1535 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
1537 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
1539 * net/socks.el (socks, socks-override-functions)
1540 (socks-find-services-entry):
1541 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
1542 (hif-find-ifdef-block):
1543 * progmodes/modula2.el (m2-indent): Fix docstring typos.
1545 * net/tls.el (tls-program): Reflow docstring.
1547 * progmodes/pascal.el (pascal-mode-abbrev-table)
1548 (pascal-imenu-generic-expression, pascal-auto-endcomments)
1549 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
1550 (pascal-outline-mode): Fix docstring typos.
1551 (pascal-mode): Let define-derived-mode document mode hook.
1552 (pascal-uncomment-area): Reflow.
1553 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
1555 * progmodes/opascal.el (opascal-compound-block-indent)
1556 (opascal-case-label-indent): Fix docstring typos.
1557 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
1559 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
1561 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1562 Fontify multiple adjacent negation chars. (Bug#17004)
1564 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
1566 * emacs-lisp/package.el (package--prepare-dependencies):
1567 Accept requirements without explicit version (bug#14941).
1569 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1571 * register.el (register-separator, copy-to-register): Doc fixes.
1572 (register-preview-default): Remove unnecessary call to concat.
1574 * frameset.el (frameset-restore): When checking for a visible frame,
1575 use the action map instead of calling visible-frame-list.
1577 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
1579 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
1581 2014-03-12 Martin Rudalics <rudalics@gmx.at>
1583 * window.el (fit-frame-to-buffer): Get maximum width from
1584 display's width instead of height.
1586 2014-03-12 Glenn Morris <rgm@gnu.org>
1588 * desktop.el (desktop-restore-frames)
1589 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
1590 (desktop-restore-reuses-frames): Doc tweaks.
1592 * electric.el (electric-indent-mode): Doc fix.
1594 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1596 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
1597 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
1598 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
1599 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
1600 (cvs-dired-use-hook): Fix docstring typos.
1601 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
1604 * vc/pcvs-defs.el (cvs-auto-remove-handled)
1605 (cvs-auto-remove-directories, cvs-default-ignore-marks)
1606 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
1607 (cvs-execute-single-dir): Fix docstring typos.
1609 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
1610 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
1612 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
1614 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
1615 Fix docstring typos.
1617 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1619 * frameset.el (frameset--jump-to-register): Add autoload; it could be
1620 called from jump-to-register after unloading the frameset package.
1622 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1624 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
1625 (bug#16975). Deactivate the mark before setting it to nil.
1626 (activate-mark): Do nothing if region is already active.
1628 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
1630 * frameset.el (frameset--target-display): Remove definition; declare.
1631 (frameset-save, frameset-restore): Let-bind frameset--target-display.
1633 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1635 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
1636 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
1637 when the advice is pending.
1638 (advice-remove): Remove this marker when not needed any more.
1640 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
1642 * frameset.el: Separate options for reusing frames and cleaning up.
1643 (frameset--reuse-list): Remove definition; declare.
1644 (frameset--action-map): Declare.
1645 (frameset--find-frame-if): Doc fix.
1646 (frameset--restore-frame): Cache frame action.
1647 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
1648 how to clean up the frame list after restoring. Remove cleaning
1649 options from REUSE-FRAMES. Change all keyword values to symbols.
1650 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
1652 * desktop.el (desktop-restore-forces-onscreen)
1653 (desktop-restore-reuses-frames): Use non-keyword values.
1654 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
1656 2014-03-10 Glenn Morris <rgm@gnu.org>
1658 * files.el (find-file): Doc fix: update info node name.
1660 * emacs-lisp/advice.el (ad-add-advice, defadvice):
1661 Doc fix: remove references to deleted info nodes.
1663 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
1665 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1666 Do not add `nil' to the environment, when there's no remote `locale'.
1667 (tramp-find-inline-encoding): Check, that the remote host has
1668 installed perl, before sending scripts.
1670 2014-03-10 Leo Liu <sdl.web@gmail.com>
1672 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1673 Clear eldoc-last-message. (Bug#16920)
1675 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1677 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
1680 2014-03-09 Juri Linkov <juri@jurta.org>
1682 * ansi-color.el (ansi-color-names-vector): Copy default colors
1683 from `xterm-standard-colors' that look well on the default white
1684 background (and also on the black background) to avoid illegible
1685 color combinations like yellow-on-white and white-on-white.
1686 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
1688 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
1690 * frameset.el (frameset-restore): When no frame is visible, do not
1691 generate a list of frames, just make visible the selected one.
1693 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
1695 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
1696 it only contains the repository root. (Bug#16897)
1698 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
1700 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
1701 only when `remote-file-name-inhibit-cache' is nil.
1702 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
1704 2014-03-06 Martin Rudalics <rudalics@gmx.at>
1706 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
1708 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
1709 fit-frame-to-buffer variable. Fix doc-string.
1710 (fit-window-to-buffer): Set ONLY argument in call of
1711 fit-frame-to-buffer. Fix doc-string.
1713 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
1715 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
1716 (tramp-action-password): Clear password cache if needed.
1717 (tramp-read-passwd): Do not clear password cache.
1719 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
1720 cache unless it is the first password request.
1722 2014-03-06 Glenn Morris <rgm@gnu.org>
1724 * simple.el (newline): Doc tweak.
1726 * emacs-lisp/shadow.el (load-path-shadows-find):
1727 Ignore dir-locals. (Bug#12357)
1729 2014-03-05 Glenn Morris <rgm@gnu.org>
1731 * files.el (interpreter-mode-alist):
1732 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
1734 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
1736 * frameset.el (frameset--initial-params): Filter out null entries.
1738 2014-03-05 Martin Rudalics <rudalics@gmx.at>
1740 * window.el (window-min-height, window-min-width):
1741 Rewrite doc-strings.
1742 (window-body-size): Add PIXELWISE argument to make it consistent
1745 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
1747 * finder.el (finder-mode-map, finder-mode-syntax-table):
1748 Revert part of 2014-02-28 change.
1750 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
1752 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
1753 (eww-setup-buffer): Clear next/prev/etc more reliably.
1754 (eww-textarea-map): [tab] doesn't work on tty.
1755 Reported by Mario Lang.
1757 * net/shr.el (shr-map): Ditto.
1759 2014-03-04 Glenn Morris <rgm@gnu.org>
1761 * minibuffer.el (completion-hilit-commonality):
1762 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
1764 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
1766 * hilit-chg.el (hilit-chg-unload-function): New function.
1767 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
1768 (hilit-chg-map-changes): Prefer cardinal number to digit.
1769 (hilit-chg-display-changes): Reflow docstring.
1770 (highlight-changes-rotate-faces): Remove superfluous backslash.
1772 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
1774 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
1775 `tramp-send-command-and-check'.
1777 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
1779 * hexl.el (hexl-address-region, hexl-ascii-region)
1780 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
1781 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
1782 (hexl-forward-word, hexl-previous-line, hexl-next-line):
1783 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
1784 (hexl-mode): Doc fix.
1785 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
1786 (hexl-mode-ruler): Fix typos in docstrings.
1788 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
1789 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
1790 Remove superfluous backslashes.
1791 (strokes-last-stroke, strokes-global-map, strokes-mode):
1793 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
1794 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
1795 (strokes-distance-squared, strokes-global-set-stroke)
1796 (strokes-global-set-stroke-string): Doc fixes.
1797 (strokes-help): Fix typos; reflow docstring.
1799 2014-03-04 Martin Rudalics <rudalics@gmx.at>
1801 * window.el (window-in-direction): Fix doc-string.
1803 2014-03-04 Glenn Morris <rgm@gnu.org>
1805 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
1806 Explicit error if no grammar.
1807 (smie-config-save): Doc fix. Fix quote typo.
1809 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
1811 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
1812 electric-indent-mode-hook if we obey electric-indent-mode.
1813 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
1814 decide whether we obey electric-indent-mode.
1815 (c-change-set-fl-decl-start, c-extend-after-change-region):
1817 (c-electric-indent-mode-hook): Assume we do want to obey
1818 electric-indent-mode.
1820 * electric.el (electric-indent-mode-has-been-called): Remove.
1821 (electric-indent-mode): Fix accordingly.
1823 * files.el (hack-local-variables): Mention file name in warning.
1825 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
1827 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
1829 * bindings.el: Add comment describing why C-d binds to `delete-char'.
1830 * simple.el (delete-forward-char): Mark as interactive-only.
1832 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
1834 * icomplete.el (icomplete-completions):
1835 Follow-up to 2014-03-01 change.
1837 * icomplete.el: Miscellaneous doc fixes.
1838 Use Icomplete everywhere instead of icomplete for consistency.
1839 (icomplete-max-delay-chars): Fix typo.
1840 (icomplete-mode): Use \[].
1841 (icomplete-tidy, icomplete-exhibit): Reflow.
1842 (icomplete-minibuffer-setup-hook, icomplete-completions):
1843 Remove superfluous backlashes.
1845 * ido.el: Miscellaneous doc fixes.
1846 Use Ido everywhere instead of ido or `ido' for consistency.
1847 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
1848 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
1849 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
1850 (ido-separator): Extract obsolescence info from docstring and declare
1851 with make-obsolete-variable.
1852 (ido-minibuffer-setup-hook): Simplify example.
1853 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
1854 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
1855 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
1856 (ido-everywhere): Reflow docstring.
1857 (ido-toggle-vc): Doc fix.
1858 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
1859 of long list of keybindings.
1861 2014-03-03 Glenn Morris <rgm@gnu.org>
1863 * frame.el (display-pixel-height, display-pixel-width)
1864 (display-mm-dimensions-alist, display-mm-height)
1865 (display-mm-width): Doc tweaks.
1867 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
1869 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
1870 case of undo in region.
1872 2014-03-02 Martin Rudalics <rudalics@gmx.at>
1874 * window.el (fit-window-to-buffer): Fix argument in window-size
1875 call when window is horizontally combined.
1877 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
1879 * icomplete.el (icomplete-completions): Use string-width.
1880 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
1882 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
1884 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1885 Highlight regexp options. (Bug#16914)
1887 2014-03-01 Martin Rudalics <rudalics@gmx.at>
1889 * window.el (window--max-delta-1): Round down when calculating
1890 how many lines/columns we can get from a window.
1892 2014-03-01 Glenn Morris <rgm@gnu.org>
1894 * isearch.el (search-invisible): Doc fix.
1896 * minibuffer.el (completion-hilit-commonality):
1897 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
1898 * comint.el (comint-dynamic-list-completions): Doc fix.
1899 * comint.el (comint-dynamic-list-completions):
1900 * filecache.el (file-cache-minibuffer-complete):
1901 * tempo.el (tempo-display-completions):
1902 * eshell/em-hist.el (eshell-list-history):
1903 Replace use of obsolete argument of display-completion-list.
1905 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
1907 * icomplete.el (icomplete-completions):
1908 Revert back to using "..." when ?… cannot be displayed.
1910 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
1912 * finder.el (finder-unload-function): New function.
1914 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
1916 * dframe.el (dframe-detach):
1917 * find-dired.el (find-dired, find-name-dired):
1918 * finder.el (finder-mode-map, finder-mode-syntax-table)
1919 (finder-headmark, finder-select, finder-mouse-select):
1920 Fix docstring typos.
1922 2014-02-28 Martin Rudalics <rudalics@gmx.at>
1924 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
1925 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
1926 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
1927 Fix doc-string based on a suggestion by Nicolas Richard
1928 <theonewiththeevillook@yahoo.fr>.
1929 * help.el (with-help-window): Fix doc-string.
1931 2014-02-28 Ivan Kanis <ivan@kanis.fr>
1933 * net/shr.el (shr-image-animate): New option.
1934 (shr-put-image): Respect shr-image-animate.
1936 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
1938 * net/tramp-adb.el (tramp-adb-parse-device-names):
1939 Use `accept-process-output'.
1940 (tramp-adb-handle-file-truename): Cache the localname only.
1941 (tramp-adb-handle-make-directory)
1942 (tramp-adb-handle-delete-directory): Flush file properties correctly.
1943 (tramp-adb-handle-set-file-modes): Do not raise an error when file
1944 modes cannot be changed.
1946 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
1947 file properties of symlinks.
1949 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
1951 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
1952 required/optional fields to match development biblatex. (Bug#16781)
1954 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
1956 * saveplace.el (toggle-save-place):
1957 Fix argument handling. (Bug#16673)
1959 2014-02-28 Glenn Morris <rgm@gnu.org>
1961 * minibuffer.el (completions-first-difference)
1962 (completions-common-part, completion-hilit-commonality): Doc fixes.
1964 2014-02-28 Karl Berry <karl@gnu.org>
1966 * info.el (Info-mode-map): Add H for describe-mode,
1967 to synchronize with standalone Info.
1969 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
1971 * progmodes/sql.el (sql-interactive-mode):
1972 Avoid setting global comint-input-ring-separator. (Bug#16814)
1974 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
1976 * net/dbus.el (dbus--init-bus): Declare function.
1977 (dbus-path-local, dbus-interface-local): New defconst.
1978 (dbus-init-bus): Use them.
1979 (dbus-return-values-table): Extend doc.
1980 (dbus-handle-bus-disconnect): Extend error message.
1982 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
1984 * subr.el (y-or-n-p): Fix double space issue in message.
1986 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
1988 * net/tramp.el (tramp-call-process): Improve trace message.
1989 (tramp-handle-insert-file-contents): Trace error case.
1991 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1992 <insert-directory>: Use `tramp-handle-insert-directory'.
1993 (tramp-adb-handle-insert-directory): Remove function.
1994 (tramp-adb-send-command-and-check): New defun, replacing
1995 `tramp-adb-command-exit-status'. Change all callees.
1996 (tramp-adb-handle-file-attributes)
1997 (tramp-adb-handle-directory-files-and-attributes): Use it.
1998 (tramp-adb-ls-output-name-less-p):
1999 Use `directory-listing-before-filename-regexp'.
2000 (tramp-adb-handle-delete-directory): Flush also file properties of
2001 the truename of directory.
2002 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2003 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2004 (tramp-adb-handle-write-region): Implement APPEND.
2005 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2006 properties correctly.
2007 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2008 variables. Check for connected devices only when needed.
2010 2014-02-27 Glenn Morris <rgm@gnu.org>
2012 * minibuffer.el (completion-table-dynamic)
2013 (completion-table-with-cache): Doc fixes.
2015 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2016 (completing-read-multiple): Doc fixes.
2018 2014-02-27 Daniel Colascione <dancol@dancol.org>
2020 * minibuffer.el (completion--nth-completion): Fix indentation.
2022 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2023 explicit tramp path is empty.
2025 2014-02-27 Glenn Morris <rgm@gnu.org>
2027 * emacs-lisp/crm.el (completing-read-multiple):
2028 Empower help-enable-auto-load.
2030 2014-02-26 Glenn Morris <rgm@gnu.org>
2032 * startup.el (command-line): Don't init the tty in daemon mode.
2034 Avoid calling tty-setup-hook twice, eg if a term file
2035 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2036 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2037 (tty-create-frame-with-faces): Use it.
2038 * startup.el (command-line): Pass run-hook argument
2039 to tty-run-terminal-initialization.
2041 * dired.el (dired-restore-desktop-buffer): Demote errors;
2042 eg in case a glob match fails. (Bug#16884)
2044 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2046 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2047 error from `read-from-string'. (Bug#16850)
2049 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2050 result of `completing-read' in the interactive form. (Bug#16854)
2052 2014-02-25 Glenn Morris <rgm@gnu.org>
2054 * image.el (image-animate, image-animate-timeout):
2055 Stop animating images in dead buffers. (Bug#16878)
2057 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2059 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2061 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2062 * term/sun.el (sun-raw-prefix-hooks):
2063 Use tty-setup-hook instead of term-setup-hook.
2064 (terminal-init-sun): Construct message from bytecomp plist.
2065 * term/wyse50.el (enable-arrow-keys): Doc fix.
2067 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2069 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2070 Fix docstring typos.
2072 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2074 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2076 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2078 * minibuffer.el (completion--try-word-completion):
2079 Fix error when completing M-x commands (bug#16808).
2081 2014-02-24 Leo Liu <sdl.web@gmail.com>
2083 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2085 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2087 * apropos.el (apropos-print): Avoid formatting error when
2088 apropos-do-all and apropos-compact-layout are both t.
2090 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2092 * apropos.el (apropos-property, apropos-all-words-regexp)
2093 (apropos-true-hit, apropos-variable, apropos-print):
2094 Fix docstring typos, and remove obsolete comment.
2096 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2098 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2099 Preserve trailing "/". (Bug#16851)
2101 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2103 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2104 after `=>' (bug#16811).
2105 (ruby-smie-rules): Handle the inconsistent second element of the
2106 list returned by `smie-indent--parent'.
2107 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2110 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2112 * elec-pair.el (electric-pair-text-syntax-table)
2113 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2114 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2115 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2116 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2118 2014-02-22 Glenn Morris <rgm@gnu.org>
2120 * imenu.el (imenu--generic-function): Doc fix.
2122 * register.el (frame-configuration-to-register): Make obsolete.
2124 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2126 * desktop.el (desktop-save-buffer-p): Do not fail when
2127 desktop-files-not-to-save is nil. Return t for true result
2130 2014-02-22 Daniel Colascione <dancol@dancol.org>
2132 * net/secrets.el (secrets-create-item, secrets-search-items):
2133 Check that attribute values are strings, avoiding the construction
2134 of invalid dbus messages.
2136 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2138 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2139 defun-declarations-alist.
2141 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2143 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2146 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2148 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2149 (whitespace-newline, whitespace-trailing, whitespace-line)
2150 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2151 (whitespace-space-after-tab): Fix typo in docstrings.
2153 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2155 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2157 * electric.el (electric-indent-functions-without-reindent):
2158 Add `yaml-indent-line'.
2160 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2162 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2163 It has done nothing for years; should be removed after the release.
2165 * simple.el (choose-completion): Fix docstring typo.
2166 (read-quoted-char-radix): Remove unneeded * in docstring.
2167 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2168 Don't escape parentheses unnecessarily in docstrings.
2170 2014-02-21 Martin Rudalics <rudalics@gmx.at>
2172 Fix handling of window-min-height/-width (Bug#16738).
2173 * window.el (window--dump-window, window--dump-frame):
2175 (window--min-size-1): Account for window dividers.
2176 When window-resize-pixelwise is nil, delay rounding till after the
2177 sum of the window components has been calculated.
2178 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2179 nil make sure at least one text line and two text columns remain
2181 (window-resize): Signal an error when window-resize-apply fails.
2182 (window--resize-child-windows): Fix calculation of by how many
2183 pixels a window can still be shrunk via window-new-normal.
2184 (adjust-window-trailing-edge): Call window--resizable with
2185 correct TRAIL argument.
2187 (with-temp-buffer-window): Don't evaluate BODY within
2188 with-current-buffer (Bug#16816).
2190 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
2192 * net/tramp.el (tramp-check-cached-permissions):
2193 Call `file-attributes' with `suffix' being a symbol but a string.
2195 2014-02-21 Daniel Colascione <dancol@dancol.org>
2197 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2198 (dbus-init-bus): New function: call into dbus-init-bus-1
2199 and installs a handler for the disconnect signal.
2200 (dbus-call-method): Rewrite to look for result in cons.
2201 (dbus-call-method-handler): Store result in cons.
2202 (dbus-check-event): Recognize events with nil sender as valid.
2203 (dbus-handle-bus-disconnect): New function. React to bus
2204 disconnection signal by synthesizing dbus error for each
2205 pending synchronous or asynchronous call.
2206 (dbus-notice-synchronous-call-errors): New function.
2207 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2208 is true, not all the time.
2210 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2212 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2213 Remove obsolescence declarations, these variables do not exist anymore.
2215 * savehist.el (savehist-save-minibuffer-history)
2216 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2217 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2218 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2219 mostly, refer to "Savehist mode" when talking about the mode,
2220 and not the function.
2222 * saveplace.el (save-place): Remove redundant info in docstring.
2223 (save-place-forget-unreadable-files, toggle-save-place)
2224 (save-place-forget-unreadable-files, save-place-dired-hook):
2225 Fix typos and remove unneeded backslashes.
2227 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
2229 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2230 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2232 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2233 <insert-directory>: Use `tramp-handle-insert-directory'.
2234 (tramp-gvfs-handle-insert-directory): Remove function.
2236 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2237 Call `tramp-handle-insert-directory'.
2239 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
2241 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2242 before the start of buffer/region (bug#16799).
2244 2014-02-20 Glenn Morris <rgm@gnu.org>
2246 * isearch.el (search-invisible): Doc fix.
2248 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2250 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2253 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2255 * frameset.el (frameset-restore): Delay removing an old frame's
2256 duplicate id until the new frame has been correctly created.
2258 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
2260 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2261 (tramp-check-cached-permissions): Call `file-attributes' if the
2264 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2265 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2267 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2268 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2269 (tramp-gvfs-maybe-open-connection): Set always connection
2270 properties, even if target is mounted already.
2272 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2273 Set tramp-autoload cookie.
2274 (tramp-get-remote-touch): New defun.
2275 (tramp-sh-handle-set-file-times): Use it.
2276 (tramp-sh-handle-directory-files-and-attributes):
2277 Use `tramp-handle-directory-files-and-attributes' if neither stat
2278 nor perl are available on the remote host.
2280 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2281 "/". Write long listing only when "l" belongs to the switches.
2283 * net/trampver.el: Update release number.
2285 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2287 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2289 2014-02-19 Martin Rudalics <rudalics@gmx.at>
2291 * window.el (window-state-put): Allow WINDOW to refer to an
2292 internal window (Bug#16793).
2294 2014-02-19 Glenn Morris <rgm@gnu.org>
2296 * textmodes/remember.el: Move provide statement to end.
2297 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2298 (remember-notes): Doc fixes.
2300 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2302 * delsel.el (delete-char): Restore incorrectly erased property
2305 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
2307 * frameset.el (frameset--restore-frame): When a frame is being reused
2308 and its root window is not alive, delete all the frame's windows before
2309 restoring the window state. This works around the issue in bug#16793.
2311 2014-02-18 Glenn Morris <rgm@gnu.org>
2313 * textmodes/remember.el (remember-data-directory)
2314 (remember-directory-file-name-format, remember-store-in-files)
2315 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2316 (remember-notes-save-and-bury-buffer)
2317 (remember-notes--kill-buffer-query): Doc fixes.
2319 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2321 2014-02-17 Alan Mackenzie <acm@muc.de>
2323 Connect electric-indent-mode up with CC Mode. Bug #15478.
2324 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
2325 to electric-indent-{,local-}-mode.
2326 (c-basic-common-init): Set electric-indent-inhibit.
2327 Initialise c-electric-flag from electric-indent-mode.
2328 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
2329 New hook functions which propagate electric-indent-mode to CC mode.
2331 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
2332 hit, toggle electric-indent-local-mode.
2334 * electric.el (electric-indent-mode-has-been-called):
2337 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
2339 * frameset.el (frameset-cfg-id): New function.
2340 (frameset--reuse-frame, frameset-restore): Use it.
2341 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2343 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2345 * ido.el (ido-file-internal): Remove unused var `d'.
2346 Use \` for to match BoS. Fit within 80n columns.
2348 2014-02-17 Daniel Colascione <dancol@dancol.org>
2350 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2351 dbus-call-method check for completion using a busy-wait loop with
2354 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
2356 Sync with Tramp 2.2.9.
2358 * net/trampver.el: Update release number.
2360 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
2362 * ido.el (ido-file-internal): Don't add the name of an existing
2363 directory twice. (Bug#16747)
2365 2014-02-16 Glenn Morris <rgm@gnu.org>
2367 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
2368 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
2370 2014-02-15 Michael R. Mauger <michael@mauger.com>
2372 * progmodes/sql.el: Version 3.4
2373 (sql-oracle-options): New default value ("-L").
2374 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
2375 (sql-placeholders-filter): Correct placeholder pattern.
2376 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
2377 (sql-login-delay): New variable.
2378 (sql-product-interactive): Use it.
2380 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
2382 * frameset.el (frameset--jump-to-register): Check that buffer is live
2385 2014-02-15 Glenn Morris <rgm@gnu.org>
2387 * info.el (info-initialize): Revert 2014-01-10 change.
2389 2014-02-14 Glenn Morris <rgm@gnu.org>
2391 * replace.el (map-query-replace-regexp)
2392 (read-regexp-defaults-function, read-regexp): Doc fixes.
2394 * dired.el (dired-read-regexp):
2395 * faces.el (list-faces-display):
2396 * misearch.el (multi-isearch-read-matching-buffers)
2397 (multi-isearch-read-matching-files):
2398 * play/cookie1.el (cookie-apropos):
2399 * progmodes/grep.el (grep-read-regexp): Doc fixes.
2401 * textmodes/remember.el (remember): Use frameset-to-register
2402 rather than frame-configuration-to-register.
2404 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
2406 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
2407 incorrect keybinding.
2409 2014-02-13 Daniel Colascione <dancol@dancol.org>
2411 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
2412 when adding overlays so that line numbers from compiler match line
2415 2014-02-13 Glenn Morris <rgm@gnu.org>
2417 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
2419 * jit-lock.el (jit-lock-mode): Doc fix.
2421 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
2423 * apropos.el (apropos-read-pattern): When the user passes an empty
2424 string, give a more helpful error message than "Wrong type
2425 argument: stringp, nil".
2427 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2429 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
2431 2014-02-13 Glenn Morris <rgm@gnu.org>
2433 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
2435 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
2437 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
2438 shift-select commands.
2440 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
2442 * progmodes/js.el (js-indent-line): Don't widen.
2443 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
2445 2014-02-12 Glenn Morris <rgm@gnu.org>
2447 * icomplete.el (icomplete): Add info-link to defgroup.
2448 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
2449 (icomplete-minibuffer-map, icomplete-mode)
2450 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
2452 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
2453 (package-menu-filter): Rename from package-menu-filter-interactive.
2456 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
2458 * frameset.el (frameset--jump-to-register): Select the required
2459 window and buffer before restoring position (bug#16696).
2461 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
2463 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
2465 2014-02-10 Glenn Morris <rgm@gnu.org>
2467 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
2469 2014-02-10 Eli Zaretskii <eliz@gnu.org>
2471 * w32-common-fns.el (x-get-selection): Doc fix.
2472 * select.el (x-get-selection): Doc fix. (Bug#15109)
2474 * face-remap.el (face-remap-add-relative)
2475 (face-remap-remove-relative, face-remap-reset-base)
2476 (face-remap-set-base): Call force-mode-line-update to redisplay
2477 the current buffer due to potential change in faces. (Bug#16709)
2479 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
2481 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
2482 script more robustly.
2484 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2486 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
2488 * simple.el (choose-completion): Doc fix (bug#14160).
2490 * subr.el (event-start): Say what a nil EVENT value means.
2492 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
2495 * progmodes/grep.el (find-program): Doc fix (bug#14289).
2497 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
2499 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
2501 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
2502 predicate function (bug#15455).
2504 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
2506 * ielm.el (inferior-emacs-lisp-mode): Instead of
2507 `comment-use-global-state', set `comment-use-syntax'.
2509 2014-02-10 Glenn Morris <rgm@gnu.org>
2511 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
2513 2014-02-09 Alan Mackenzie <acm@muc.de>
2515 Fix c-invalidate-state-cache on narrowed buffers.
2516 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
2517 Widen when setting and clearing the CPP delimiter properties.
2519 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
2521 * help.el (describe-bindings): Doc fix (bug#9888).
2523 * files.el (save-buffer): Use ARG as the parameter name for
2524 consistency (bug#10346).
2525 (save-buffer): Clarify the 0 argument (bug#10346).
2527 * cus-edit.el (customize-apropos): Fix error string.
2528 (custom-buffer-create): Doc fix (bug#11122).
2529 (custom-sort-items): Doc fix (bug#11121).
2531 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
2533 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
2534 (icomplete-simple-completing-p): Mention the previous variable.
2536 * font-lock.el (font-lock-value-in-major-mode): Clarify the
2537 meaning of the parameter (bug#12282).
2539 * files.el (find-file-noselect): Clarify prompt when changing
2540 readedness (bug#13261).
2541 (locate-file): Suffixes aren't returned, so don't say that they
2543 (backup-inhibited): Doc clarification (bug#12525).
2545 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
2546 before we actually start to delete things (bug#16331).
2548 * subr.el (event-start): Doc fix (bug#14228).
2551 2014-02-09 Glenn Morris <rgm@gnu.org>
2553 * emacs-lisp/warnings.el (lwarn):
2554 Empower help-enable-auto-load. (Bug#15940)
2556 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2558 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
2561 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
2563 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2564 Insert output at end of buffer. (Bug#16120)
2566 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2568 * simple.el (choose-completion-string-functions): Document new
2569 calling convention (bug#14153).
2570 (execute-extended-command): Clarify doc string (bug#13373).
2572 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
2574 * find-dired.el (find-name-dired): Doc fix (bug#14290).
2575 (find-grep-dired): Doc fix (bug#14288).
2577 2014-02-08 Juri Linkov <juri@jurta.org>
2579 * isearch.el (isearch-quote-char): Check character validity
2580 like in `quoted-insert' (bug#16677).
2582 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2584 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
2586 * isearch.el (isearch-hide-immediately): Doc clarification
2589 * simple.el (line-move): Document utility function used many
2590 places in the Emacs sources (bug#14843).
2592 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
2593 (dired-prev-marked-file): Doc fix (bug#14855).
2594 (dired-up-directory): Doc fix (bug#14848).
2596 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
2598 * files.el (file-relative-name): Doc fix (bug#15159).
2600 * fringe.el (fringe-styles): Doc fix (bug#15239).
2602 * isearch.el (isearch-filter-predicate): Documentation typo fix
2605 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
2607 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
2609 * replace.el (replace-match-maybe-edit): Doc clarification
2612 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
2614 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
2616 2014-02-08 Glenn Morris <rgm@gnu.org>
2618 * help-fns.el (describe-variable):
2619 Check {file,dir}-local-variables-alist, and buffer-file-name,
2620 in the correct buffer.
2622 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
2624 * help-fns.el (describe-variable): Fix the case where
2625 a value is directory-local with no dir-locals file. (Bug#16635)
2627 2014-02-08 Glenn Morris <rgm@gnu.org>
2629 * abbrev.el (edit-abbrevs-mode):
2630 Derive from fundamental-mode. (Bug#16682)
2632 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
2634 * simple.el (quoted-insert): Check character validity (bug#16677).
2636 2014-02-07 Juri Linkov <juri@jurta.org>
2638 * desktop.el (desktop-read): Claim the lock when the owner is not
2639 the current process. (Bug#16157)
2641 2014-02-07 Juri Linkov <juri@jurta.org>
2643 * desktop.el (desktop-buffers-not-to-save): Change default from nil
2644 to "\\` ". (Bug#16651)
2646 2014-02-07 Juri Linkov <juri@jurta.org>
2648 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
2649 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
2650 (desktop-auto-save-cancel-timer): New function with some code from
2651 `desktop-auto-save-set-timer'.
2652 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
2653 Instead of setting `desktop-save-mode' to nil, call
2654 `desktop-save-mode' with arg 0. (Bug#16630)
2656 2014-02-07 Glenn Morris <rgm@gnu.org>
2658 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
2659 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
2660 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
2662 * obsolete/iswitchb.el: Move to obsolete/.
2663 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
2664 since obsolete/ is not scanned for autoloads.
2665 * emacs-lisp/authors.el (authors-valid-file-names):
2668 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
2669 Disable now non-functional find-file-hook.
2671 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
2673 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
2674 instead of ";" in order to avoid additional prompts. Let heredoc
2675 scripts read from tty. (Bug#16582)
2676 (tramp-send-command): No special handling of heredocs, it isn't
2679 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
2681 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
2682 with a space (bug#16664). Limit the symbols considered to the ones
2683 that are bound or fbound (bug#16646).
2685 2014-02-06 Glenn Morris <rgm@gnu.org>
2687 * epa.el (epa-mail-aliases): Doc fix.
2689 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
2691 * emacs-lisp/lisp.el (lisp-completion-at-point):
2692 Use `completion-table-merge' instead of `completion-table-in-turn'
2695 * minibuffer.el (completion-table-merge): New function.
2697 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
2699 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
2700 (tramp-sh-handle-set-file-acl)
2701 (tramp-sh-handle-start-file-process)
2702 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
2703 (tramp-find-executable, tramp-send-command): Use it.
2705 2014-02-05 Glenn Morris <rgm@gnu.org>
2707 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
2709 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
2711 * progmodes/python.el (python-shell-send-string)
2712 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
2714 2014-02-04 Anders Lindgren <andlind@gmail.com>
2716 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
2717 the names (bug#16620).
2719 2014-02-03 Martin Rudalics <rudalics@gmx.at>
2721 * faces.el (window-divider): New default value. Rewrite doc-string.
2722 (window-divider-first-pixel, window-divider-last-pixel): New faces.
2724 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
2726 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
2727 `protected' and `public' can also be called without arguments.
2729 2014-02-03 Glenn Morris <rgm@gnu.org>
2731 * register.el (window-configuration-to-register)
2732 (frame-configuration-to-register): Unadvertise unused argument.
2733 * frameset.el (frameset-to-register): Remove unused argument.
2735 * frameset.el (frameset-to-register):
2736 * kmacro.el (kmacro-to-register):
2737 * register.el (increment-register):
2738 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
2739 (calc-append-to-register, calc-prepend-to-register):
2740 * play/gametree.el (gametree-layout-to-register)
2741 (gametree-apply-register-layout):
2742 * textmodes/picture.el (picture-clear-rectangle-to-register)
2743 (picture-yank-rectangle-from-register):
2744 * vc/emerge.el (emerge-combine-versions-register):
2745 Use register-read-with-preview to read registers.
2747 2014-02-03 João Távora <joaotavora@gmail.com>
2749 * elec-pair.el (electric-pair-backward-delete-char): Don't error
2750 when at beginning of (possibly narrowed) buffer.
2752 2014-02-02 Daniel Colascione <dancol@dancol.org>
2754 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
2755 Also try to display local help from just before point.
2757 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
2759 c-parse-state. Don't "append-lower-brace-pair" in certain
2760 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
2761 recognised as a comment.
2763 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
2764 as well as normal comment starter.
2765 (c-parse-state-get-strategy): Extra return possibility
2767 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
2768 return value list to indicate replacement of a brace-pair cons
2770 (c-parse-state-1): With 'back-and-forward, only call
2771 c-append-lower-brace-pair-to state-cache when cons-separated.
2773 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
2775 * term/ns-win.el (ns-suspend-error): New function.
2776 (ns-initialize-window-system): Add ns-suspend-error to
2777 suspend-hook (Bug#16612).
2779 2014-02-02 Daniel Colascione <dancol@dancol.org>
2781 * progmodes/cc-defs.el (c-find-assignment-for-mode):
2782 Make loading cc-mode silent.
2784 2014-02-02 Daniel Colascione <dancol@dancol.org>
2786 * comint.el (comint-prompt-read-only): Change doc to suggest
2789 2014-02-02 Glenn Morris <rgm@gnu.org>
2791 * register.el (register-read-with-preview, point-to-register)
2792 (window-configuration-to-register, frame-configuration-to-register)
2793 (jump-to-register, number-to-register, view-register, insert-register)
2794 (copy-to-register, append-to-register, prepend-to-register)
2795 (copy-rectangle-to-register): Doc fixes.
2797 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2799 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
2800 * emacs-lisp/find-func.el (find-function-C-source): Idem.
2801 * emacs-lisp/nadvice.el (advice--cd*r): New function.
2802 * help-fns.el (describe-function-1): Use it.
2804 2014-02-02 Glenn Morris <rgm@gnu.org>
2806 * register.el (register-preview-default): New function,
2807 split from register-preview.
2808 (register-preview-function): Rename from register-preview-functions,
2810 (register-preview): Use register-preview-function.
2811 (register-read-with-preview): Error on non-character event. (Bug#16595)
2813 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
2815 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
2816 `:' before binary operators (bug#16609). Don't check for `:'
2817 before `[' and `(', or their syntax status. A percent literal
2818 can't end with either.
2819 (ruby-font-lock-keywords): For built-ins that require arguments,
2820 check that they're followed by something that looks like argument
2823 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
2825 * subr.el (butlast): Document what an omitted N means (bug#13437).
2828 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
2830 * net/shr.el (shr-generic): Make into a defsubst to make the stack
2831 depth shallower (bug#16587).
2832 (shr-tag-svg): Respect `shr-inhibit-images'.
2833 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
2835 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
2837 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
2838 (ruby-smie-grammar): Make "." right-associative. Make its priority
2839 lower than the ternary and all binary operators.
2840 (ruby-smie-rules): Indent "(" relative to the first non-"."
2841 parent, or the first "." parent at indentation.
2842 Use `ruby-align-chained-calls' for indentation of "." tokens.
2845 2014-01-31 Juri Linkov <juri@jurta.org>
2847 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
2848 from `make-hash-table'.
2850 * textmodes/ispell.el (ispell-init-process): Change message format
2851 to be consistent with other messages.
2853 2014-01-31 Glenn Morris <rgm@gnu.org>
2855 * delsel.el (delete-selection-mode): Doc fix.
2857 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
2858 (trace-function-background): Doc fixes.
2860 * ido.el (ido-use-virtual-buffers): Doc fix.
2861 Reset :version, since the default value has not changed.
2863 * register.el (register-preview-delay, register-read-with-preview):
2866 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
2867 do not mess with mail-buffer position (fixes 2009-11-03 change).
2868 * progmodes/cc-mode.el (c-submit-bug-report):
2869 Check auto-fill-mode is bound. (Bug#16592)
2871 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
2873 * startup.el (fancy-splash-image-file): New function,
2874 split from fancy-splash-head.
2875 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
2876 so that we are both using the same image. (Bug#16574)
2878 2014-01-30 Glenn Morris <rgm@gnu.org>
2880 * simple.el (eval-expression): Doc fix.
2882 * hexl.el (hexl-mode-hook):
2883 * ielm.el (ielm-mode-hook):
2884 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
2885 (lisp-interaction-mode-hook):
2886 * progmodes/cfengine.el (cfengine3-documentation-function):
2887 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
2889 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2891 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
2892 is a symbol (bug#16584).
2894 2014-01-30 Glenn Morris <rgm@gnu.org>
2896 * help.el (help-for-help-internal): Add "P" to text.
2898 2014-01-29 Glenn Morris <rgm@gnu.org>
2900 * simple.el (just-one-space, cycle-spacing): Doc fixes.
2902 2014-01-28 Martin Rudalics <rudalics@gmx.at>
2904 * window.el (fit-frame-to-buffer): Fix calculations for margins and
2907 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
2909 * progmodes/hideif.el: Extend to full CPP expression syntax.
2910 (hif-token-alist): Add missing tokens.
2911 (hif-token-regexp): Add support for float/octal/hex immediates.
2912 (hif-string-literal-regexp): New const.
2913 (hif-tokenize): Recognize strings and float/octal/hex immediates.
2914 (hif-exprlist): New function.
2915 (hif-parse-if-exp): Use it.
2916 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
2917 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
2918 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
2919 (hif-logxor, hif-comma): New functions.
2921 2014-01-28 Glenn Morris <rgm@gnu.org>
2923 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
2925 * indent.el (tab-stop-list): Doc fix. Add :version.
2927 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
2928 (cvs-append-to-ignore): Add compatibility alias.
2930 2014-01-27 Glenn Morris <rgm@gnu.org>
2932 * dired.el (dired-hide-details-mode): Don't autoload it,
2933 since it cannot be used outside Dired buffers anyway.
2935 * emulation/cua-base.el (cua-mode): Doc fix.
2937 * dired.el (dired-hide-details-hide-symlink-targets)
2938 (dired-hide-details-hide-information-lines)
2939 (dired-hide-details-mode): Doc fixes.
2941 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
2942 * strokes.el (strokes-file): Doc fix. Bump :version.
2943 (strokes-help): Doc fix.
2944 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
2945 * emulation/viper.el (viper): Doc fix for custom group.
2946 (top-level): Remove oh-so-no-longer-relevant text about vip.
2947 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
2949 * ido.el (ido-save-directory-list-file):
2950 * saveplace.el (save-place-file):
2951 * calendar/timeclock.el (timeclock-file):
2952 * net/quickurl.el (quickurl-url-file):
2953 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2954 * progmodes/idlwave.el (idlwave-config-directory):
2955 * textmodes/remember.el (remember-data-file):
2958 2014-01-26 Glenn Morris <rgm@gnu.org>
2960 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
2961 Doc fix. Make obsolete.
2962 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
2964 * sort.el (delete-duplicate-lines): Doc fix.
2966 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2968 * progmodes/ada-mode.el (ada):
2969 * woman.el (woman): Link to info manual and Commentary section.
2971 * progmodes/flymake.el (flymake):
2972 * nxml/nxml-mode.el (nxml):
2974 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
2975 * htmlfontify.el (htmlfontify):
2978 * ido.el (ido): Link to info manual.
2980 2014-01-25 Leo Liu <sdl.web@gmail.com>
2982 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
2984 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
2986 * net/shr.el (shr-tag-img): Prefer the title over the alt text
2989 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
2991 * net/eww.el (eww-download-callback):
2992 Fix reference to eww-download-directory.
2994 * emacs-lisp/bytecomp.el (byte-compile-file):
2995 Remove unused local variable `file-name'.
2997 2014-01-24 Glenn Morris <rgm@gnu.org>
2999 * woman.el (woman-default-faces, woman-monochrome-faces):
3000 Fix obsolescence specification.
3002 * subr.el (with-demoted-errors): Doc fix.
3004 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3006 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3007 (cl--macroexp-fboundp): New function.
3008 (cl--make-type-test): Use it.
3010 2014-01-23 Glenn Morris <rgm@gnu.org>
3012 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3013 * simple.el (eval-expression): Doc fixes.
3015 2014-01-22 Glenn Morris <rgm@gnu.org>
3017 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3019 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3021 * emacs-lisp/package.el: Write files silently.
3022 (package-autoload-ensure-default-file, package--write-file-no-coding)
3023 (package-generate-description-file, package--download-one-archive)
3024 (package-install-from-archive): Tell `write-region' to stay quiet.
3025 (package-menu-mode, package-menu--print-info): Omit the Archive column
3026 if there's only one archive.
3027 (package-all-keywords, package--has-keyword-p): Remove dead code.
3029 2014-01-22 Glenn Morris <rgm@gnu.org>
3031 * version.el (emacs-bzr-version-bzr): Fix typo.
3033 * version.el (emacs-repository-get-version):
3034 Check either .bzr or .git, but not both.
3035 Make the git case actually use the DIR argument, and return nil
3036 rather than the empty string.
3037 Avoid error if .git exists but the git executable is not found.
3039 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3041 Fixes in window size functions around Bug#16430 and Bug#16470.
3042 * window.el (window-total-size, window-size): New argument ROUND.
3043 (window--min-delta-1, window-min-delta, window--max-delta-1):
3044 Be more conservative when calculating the numbers of lines or
3045 columns a window can shrink (Bug#16430).
3046 (fit-window-to-buffer): Simplify code.
3047 * term.el (term-window-width): Call window-body-width again.
3049 2014-01-22 Glenn Morris <rgm@gnu.org>
3051 * image.el (image-format-suffixes): Doc fix.
3053 * international/quail.el (quail-define-package): Doc fix.
3055 * emacs-lisp/authors.el (authors-valid-file-names)
3056 (authors-renamed-files-alist): Additions.
3058 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3059 reverts 2014-01-09 change. (Bug#16422)
3061 * calc/calc-embed.el (thing-at-point-looking-at):
3062 * emacs-lisp/map-ynp.el (x-popup-dialog):
3063 * obsolete/lmenu.el (x-popup-dialog):
3064 * emacs-lisp/package.el (url-recreate-url):
3065 * mail/mailclient.el (clipboard-kill-ring-save):
3066 * subr.el (x-popup-dialog): Update declaration.
3067 * mail/rmail.el (rmail-mime-message-p):
3068 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3070 2014-01-21 Daniel Colascione <dancol@dancol.org>
3072 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3073 Correctly detect when we're inside an arithmetic expansion form
3074 containing nested parenthesis.
3075 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3076 to detect cases where we shouldn't expand "<<" to a heredoc
3079 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3081 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3082 (eldoc--message-command-p): New function.
3083 (eldoc-display-message-p): Use it.
3084 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3085 message is not automatically erased for us.
3086 (eldoc-print-current-symbol-info): Erase previous message, if any.
3088 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3090 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3091 specify it's an interactive function.
3093 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3094 Fix regex used for scanning for citation keys which failed for
3095 citations with optional arguments.
3097 2014-01-21 Leo Liu <sdl.web@gmail.com>
3099 * simple.el (read--expression): Don't enable eldoc-mode.
3101 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3103 * simple.el (move-beginning-of-line): Make sure we don't move forward
3106 2014-01-20 Juri Linkov <juri@jurta.org>
3108 * saveplace.el (toggle-save-place, save-place-to-alist)
3109 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3110 'dired-mode) before checking for dired-directory. (Bug#16477)
3112 2014-01-20 Juri Linkov <juri@jurta.org>
3114 * indent.el (indent-line-to): Use backward-to-indentation
3115 instead of back-to-indentation. (Bug#16461)
3117 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3119 Revert some of the CANNOT_DUMP fix (Bug#16494).
3120 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3121 but fixing this can wait until after the next release.
3122 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3124 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3126 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3127 Use `password-word-equivalents'.
3128 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3129 to t. (Bug#5664, Bug#13124)
3131 2014-01-19 Alan Mackenzie <acm@muc.de>
3133 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3135 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3136 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3137 * progmodes/cc-mode.el (c-before-change, c-after-change)
3138 (c-font-lock-fontify-region): Bind it here.
3140 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3142 * term.el (term-window-width): Call window-text-width instead of
3143 window-width (Bug#16470).
3145 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3147 * simple.el (password-word-equivalents): Remove duplicates.
3148 Sort, to make this easier next time.
3149 Downcase. Omit ": " after "jelszó".
3151 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3153 * term/common-win.el (saved-region-selection): Defvar it.
3154 (x-select-text): Set saved-region-selection (Bug#16382).
3156 2014-01-18 Glenn Morris <rgm@gnu.org>
3158 * emacs-lisp/authors.el (authors-aliases)
3159 (authors-renamed-files-alist): Add some entries.
3161 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
3163 * net/tramp.el (tramp-password-prompt-regexp):
3164 Use `password-word-equivalents' if available.
3165 (tramp-action-password, tramp-process-one-action)
3166 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3168 2014-01-17 Chong Yidong <cyd@gnu.org>
3170 * simple.el (password-word-equivalents): New defcustom.
3171 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3173 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3176 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3178 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3179 (ruby-align-to-stmt-keywords): Change the default value.
3180 Use `ruby-alignable-keywords' to generate the possible customization
3182 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3183 keywords, check against the value of `ruby-alignable-keywords'
3184 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3186 2014-01-17 Glenn Morris <rgm@gnu.org>
3188 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3190 Make M-x authors return zero *Authors Errors* from current logs.
3191 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3192 (authors-ignored-files): Add some entries, remove others.
3193 (authors-ambiguous-files, authors-valid-file-names):
3195 (authors-renamed-files-alist): Add, remove, and adjust entries.
3196 (authors-renamed-files-regexps): Add some entries.
3197 Remove some very broad ones. Make some entries `lax'.
3198 (authors-lax-changelogs): New constant.
3199 (authors-disambiguate-file-name): Treat top-level specially.
3200 (authors-lax-changelog-p): New function.
3201 (authors-canonical-file-name): Check file as written against
3202 authors-valid-file-names. Do not special-case etc/.
3203 Handle `lax' logs and authors-renamed-files-regexps elements.
3205 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3207 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3208 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3211 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3213 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3214 Assume we're already in the proper buffer.
3215 Inspired by Anders Lindgren <andlind@gmail.com>.
3216 (follow-post-command-hook): Call it from the right buffer.
3217 (follow-comint-scroll-to-bottom): Adjust call.
3218 (follow-all-followers): Use get-buffer-window-list.
3220 2014-01-15 Daniel Colascione <dancol@dancol.org>
3222 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3223 `buffer-file-name' in interactive-form so that we don't leave
3224 pathless file names in `file-name-history'.
3226 2014-01-15 Juri Linkov <juri@jurta.org>
3228 * indent.el (indent-rigidly): Set deactivate-mark to nil
3229 in transient indentation mode. (Bug#16438)
3231 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3233 * emacs-lisp/package.el (package-desc-keywords): New function
3235 (describe-package-1, package-all-keywords)
3236 (package--has-keyword-p): Use it.
3238 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3240 * simple.el (define-alternatives): When creating the
3241 COMMAND-alternatives variable, assign COMMAND as its definition
3242 name so that `describe-variable' can relocate it.
3244 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3246 * font-lock.el (font-lock-keywords): Fix typo in docstring
3249 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3251 * ispell.el (ispell-region): Reset `in-comment' for new line
3252 instead of wrongly reset `add-coment' (bug#13577).
3254 2014-01-14 Daiki Ueno <ueno@gnu.org>
3256 * epa-file.el (epa-file-write-region): Encode the region according
3257 to `buffer-file-format'. Problem reported at:
3258 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3260 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3262 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3263 so it applies in the right buffer (bug#16410).
3265 2014-01-13 Daniel Colascione <dancol@dancol.org>
3267 * textmodes/rst.el (rst-define-key): Provide deprecated
3268 keybindings through named functions instead of anonymous ones so
3269 that "??" doesn't appear in describe-mode output.
3271 2014-01-13 Bastien Guerry <bzg@gnu.org>
3273 * simple.el (define-alternatives): Call the selected command
3274 interactively. When setting `COMMAND--implementation' for the
3275 first time, tell the user how to chose another implementation.
3276 Enhance the docstring.
3278 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3280 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3281 (log-edit--match-first-line): New function.
3282 (log-edit-font-lock-keywords): Use it.
3283 (log-edit-mode): Make jit-lock-defer-multiline work.
3285 2014-01-13 Bastien Guerry <bzg@gnu.org>
3287 * rect.el (rectangle-mark-mode): When the region is not active,
3288 display a message saying that the mark as been set and that
3289 rectangle mode is in use.
3290 (rectangle--highlight-for-redisplay): Only put an overlay with a
3291 visible vertical bar when (display-graphic-p) is non-nil.
3292 This partially fixes Bug#16403.
3294 2014-01-13 Juri Linkov <juri@jurta.org>
3296 * info.el (Info-find-file): Go to DIR before displaying the error
3297 about a nonexistent file if no previous Info file is visited.
3298 Use `user-error' instead of `error' for "Info file %s does not exist".
3299 (Info-find-node-2): In case of a nonexistent node in unwind forms
3300 go to the Top node if there is no previous node to revert to.
3303 2014-01-13 Martin Rudalics <rudalics@gmx.at>
3305 fit-frame/window-to-buffer code fixes including one for Bug#14096.
3306 * window.el (fit-frame-to-buffer): Fix doc-string.
3307 Respect window-min-height/-width. Fit pixelwise when
3308 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3309 when avoiding that frame goes partially off-screen.
3310 (fit-window-to-buffer): Respect window-min-height/-width
3313 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3315 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3316 after an empty line.
3318 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3320 * net/shr.el (shr-render-region): Autoload.
3322 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3324 * net/eww.el (eww-download-directory): Rename from
3325 `eww-download-path' (Bug#16419).
3327 2014-01-12 Leo Liu <sdl.web@gmail.com>
3329 * dired-x.el (dired-mode-map): Fix last change.
3331 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3333 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3336 * emacs-lisp/generic.el (generic--normalize-comments):
3337 Rename from generic--normalise-comments. All uses changed.
3338 * play/bubbles.el (bubbles--neighborhood-score)
3339 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3340 (bubbles--neighborhood-available)
3341 (bubbles--update-neighborhood-score):
3342 Rename from names with 'neighbourhood'. All uses changed.
3344 2014-01-12 Leo Liu <sdl.web@gmail.com>
3346 Re-implement the feature of showing eldoc info after editing.
3347 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3348 (eldoc-edit-message-commands): New function.
3349 (eldoc-print-after-edit): New variable.
3350 (eldoc-pre-command-refresh-echo-area): Emit message only by
3351 eldoc-message-commands.
3352 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3353 if eldoc-print-after-edit is set. (Bug#16346)
3354 * simple.el (read--expression): Enable eldoc-mode.
3355 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
3357 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
3358 Eric S. Raymond <esr@thyrsus.com>
3360 * version.el (emacs-repository-get-version): Enhance so the
3361 function works correctly in either a Bazaar or Git repo.
3363 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
3365 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
3366 Goes with removal of the joke manpages from /etc.
3368 2014-01-10 Kenichi Handa <handa@gnu.org>
3370 * mail/rmail.el (rmail-get-coding-system):
3371 Check rmail-get-coding-function before "funcall"ing it.
3373 2014-01-10 Glenn Morris <rgm@gnu.org>
3375 * emacs-lisp/authors.el (authors-fixed-entries):
3376 Update for files that no longer exist.
3378 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
3380 * version.el (emacs-bzr-get-version): Restore compatibilty with
3383 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
3385 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
3388 2014-01-10 Eli Zaretskii <eliz@gnu.org>
3390 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
3392 2014-01-10 Chong Yidong <cyd@gnu.org>
3394 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
3396 2014-01-10 Anders Lindgren <andlind@gmail.com>
3398 * follow.el (follow-cache-command-list): Include right-char and
3401 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
3404 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
3405 * woman.el (woman-mark-horizontal-position):
3406 Rename from woman-mark-horizonal-position. Use changed.
3408 2014-01-10 Glenn Morris <rgm@gnu.org>
3410 * info.el (info-initialize): If running uninstalled, ensure our
3411 own info files are always found first, even if INFOPATH is set.
3413 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
3415 2014-01-09 David Engster <deng@randomsample.de>
3417 * emacs-lisp/eieio-custom.el:
3418 * emacs-lisp/eieio-opt.el: Set generated autoload file to
3419 'eieio.el'. This was accidentally removed in rev. 110325.
3420 * emacs-lisp/eieio.el: Regenerate autoloads.
3422 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
3424 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
3425 following renames. (Bug#8756)
3427 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
3429 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
3431 (activate-mark): Add `no-tmm' argument.
3432 (set-mark, push-mark-command): Use it instead of running
3433 activate-mark-hook by hand.
3435 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
3437 In preparation for the move to git, sanitize out some
3438 Bazaar-specific names.
3440 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
3442 * version.el (emacs-bzr-version): Name changed to
3443 emacs-repository-version. Obsolete-variable alias made.
3444 * loadup.el: Follow through on this name change.
3445 * mail/emacsbug.el (report-emacs-bug): Factor out any
3446 assumption about the version control system in use.
3448 2014-01-08 David Engster <deng@randomsample.de>
3450 * help-fns.el (help-fns-describe-function-functions):
3451 New variable to call functions for augmenting help buffers.
3452 (describe-function-1): Remove explicit calls to
3453 `help-fns--compiler-macro', `help-fns--parent-mode' and
3454 `help-fns--obsolete'. Put them in above new variable instead, and
3455 call them through `run-hook-with-args'.
3456 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
3457 `eieio-describe-class'. Not meant for interactive use anymore,
3458 but to augment existing help buffers. Remove optional second
3459 argument. Create proper button for file location.
3460 Rewrite function to use `insert' instead of `princ' and `prin1' where
3462 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
3463 (eieio-method-def, eieio-class-def): Move further up.
3464 (describe-method, describe-generic, eieio-describe-method):
3466 (eieio-help-constructor, eieio-help-generic): Rename from
3467 `eieio-describe-constructor' and `eieio-describe-generic', resp.
3468 Rewrite to use `insert' in the current buffer and use proper help
3470 (eieio-help-find-method-definition)
3471 (eieio-help-find-class-definition): Also accept symbols as
3473 (eieio-help-mode-augmentation-maybee): Remove.
3474 (eieio-describe-class-sb): Use `describe-function'.
3475 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
3476 Add `eieio-help-generic' and `eieio-help-constructor'.
3478 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
3481 * language/china-util.el (hz-ascii-designation):
3482 Rename from hz-ascii-designnation.
3483 (hz-ascii-designation): Rename from hz-ascii-designnation.
3486 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3488 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
3491 2014-01-08 Bastien Guerry <bzg@gnu.org>
3493 * emacs-lisp/package.el (package-delete):
3494 Correctly delete the package from package-alist.
3496 2014-01-08 Daiki Ueno <ueno@gnu.org>
3498 * emacs-lisp/package.el (url-recreate-url): Declare.
3499 (url-http-target-url): Declare.
3500 (package-handle-response): Include requested URL in the error message.
3501 (package--check-signature): Don't re-signal errors from
3502 package--with-work-buffer. Suggested by Stefan Monnier.
3504 2014-01-07 Bastien Guerry <bzg@gnu.org>
3506 * minibuffer.el (completion--try-word-completion): When both a
3507 hyphen and a space are possible candidates for the character
3508 following a word, display both candidates. (Bug#15980)
3510 2014-01-07 Martin Rudalics <rudalics@gmx.at>
3512 * window.el (balance-windows-2): While rounding don't give a
3513 window more than the remainder. Bug#16351, bug#16383.
3515 2014-01-07 Glenn Morris <rgm@gnu.org>
3517 * menu-bar.el (menu-bar-help-extra-packages): Remove.
3518 (menu-bar-help-menu): Use view-external-packages instead.
3520 2014-01-07 Bastien Guerry <bzg@gnu.org>
3522 * emacs-lisp/package.el (package-delete): Also delete the package
3523 name from `package-alist', not its description only.
3525 2014-01-07 Glenn Morris <rgm@gnu.org>
3527 * help.el (view-external-packages):
3528 * menu-bar.el (menu-bar-help-extra-packages):
3529 Visit efaq.info rather than etc/MORE.STUFF.
3531 2014-01-07 Juri Linkov <juri@jurta.org>
3533 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
3534 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
3536 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
3537 that shadows RET. (Bug#16342)
3539 2014-01-07 Chong Yidong <cyd@gnu.org>
3541 * isearch.el (isearch-yank-char, isearch-yank-word)
3542 (isearch-yank-line): Doc fix.
3544 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3546 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
3547 * emacs-lisp/elint.el (elint-find-builtins):
3548 * emacs-lisp/eldoc.el (eldoc-symbol-function):
3549 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
3550 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
3551 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3552 * apropos.el (apropos-safe-documentation):
3553 * subr.el (symbol-file): Remove redundant fboundp.
3554 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
3556 2014-01-06 Bastien Guerry <bzg@gnu.org>
3558 * hl-line.el (global-hl-line-overlay): Make a local variable.
3559 (global-hl-line-overlays): New variable to store all overlays.
3560 (global-hl-line-mode): Don't delete overlays from the current
3561 buffer when `global-hl-line-sticky-flag' is non-nil.
3562 (global-hl-line-highlight): Add new overlays to
3563 `global-hl-line-overlays'.
3564 (global-hl-line-unhighlight-all): New function to delete all
3565 overlays when turning off `global-hl-line-mode'.
3566 This fixes Bug#16183.
3568 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3570 * subr.el (set-transient-map): Fix nested case and docstring.
3572 2014-01-06 Tassilo Horn <tsdh@gnu.org>
3574 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
3577 2014-01-06 Daniel Colascione <dancol@dancol.org>
3579 Fix defun navigation in vc log view.
3581 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
3582 like `beginning-of-defun'.
3583 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
3584 log-view-end-of-defun to log-view-end-of-defun-1. Replace
3585 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
3586 (log-view-extract-comment): Call `log-view-current-entry' directly
3587 instead of relying on broken `log-view-beginning-of-defun' behavior.
3589 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
3592 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
3593 * emacs-lisp/debug.el (cancel-debug-on-entry):
3594 * epg.el (epg-error-to-string):
3595 * files.el (recover-file):
3596 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3597 * mail/emacsbug.el (report-emacs-bug-hook):
3598 * mail/sendmail.el (mail-recover):
3599 * ses.el (ses-yank-resize):
3600 * term/ns-win.el (ns-print-buffer):
3601 Spelling fixes in diagnostics, mostly for "canceled" with one L.
3602 * epg.el (epg-key-capability-alist): Rename from misspelled version.
3604 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
3606 2014-01-06 Leo Liu <sdl.web@gmail.com>
3608 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3609 to avoid shadowing global key. (Bug#16354)
3611 2014-01-06 Daniel Colascione <dancol@dancol.org>
3613 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
3616 2014-01-05 Martin Rudalics <rudalics@gmx.at>
3618 * window.el (balance-windows): Add mising t to fix Bug#16351.
3620 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3622 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
3624 (shr-insert): If we have a word that's longer than `shr-width',
3625 break after it anyway. Otherwise we'll do no breaking once we get
3628 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3630 * net/eww.el (eww): Support single/double quote for search.
3631 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
3632 (eww-history-quit): Delete and use quit-window.
3633 (eww-history-kill): Delete, because it doesn't work well and
3635 (eww-history-mode-map): Delete some keys and add easy-menu.
3637 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
3639 Fix misspelling of 'chinese' in rx (Bug#16237).
3640 * emacs-lisp/rx.el (rx-categories): Correct spelling of
3643 Change subword regexps back to vars (Bug#16296).
3644 * progmodes/subword.el (subword-forward-regexp)
3645 (subword-backward-regexp): Change these back to variables.
3647 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3649 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
3650 syntax-begin-function (bug#16247).
3652 2014-01-03 Chong Yidong <cyd@gnu.org>
3654 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
3655 (advice--docstring): Delete variable.
3656 (advice--make-1): Leave the docstring empty.
3657 (advice-add): Use function-documentation for advised docstring.
3659 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
3660 Ignore function-documentation property when getting documentation.
3661 (ad-activate-advised-definition): Use function-documentation
3662 generate the docstring.
3663 (ad-make-advised-definition): Don't call
3664 ad-make-advised-definition-docstring.
3665 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3668 * progmodes/sql.el (sql-help): Use function-documentation instead
3669 of dynamic-docstring-function property. No need to autoload now.
3670 (sql--help-docstring): New variable.
3671 (sql--make-help-docstring): Use it.
3673 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3675 * ielm.el (ielm-tab): Retarget.
3676 (ielm-map): Use ielm-tab for tab.
3677 (ielm-complete-filename): Use comint-filename-completion.
3678 (ielm-complete-symbol): Remove.
3679 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
3680 remove ielm-tab from completion-at-point-functions (bug#16224).
3682 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
3683 Beware signals raised by predicates (bug#16201).
3685 2014-01-02 Richard Stallman <rms@gnu.org>
3687 * dired-aux.el (dired-do-print): Handle printer-name.
3689 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
3690 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
3691 (rmail-epa-decrypt): Turn off mime processing.
3693 * mail/rmail.el (rmail-make-in-reply-to-field):
3694 Add parens in message-id.
3696 * mail/rmail.el (rmail-get-coding-function): Variable.
3697 (rmail-get-coding-system): Use it.
3699 2013-12-31 Eli Zaretskii <eliz@gnu.org>
3701 * international/mule-conf.el: Unify the charset indian-is13194.
3702 (indian-is13194): Specify unify-map.
3704 2013-12-31 Leo Liu <sdl.web@gmail.com>
3706 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
3708 2013-12-30 Daniel Colascione <dancol@dancol.org>
3710 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
3711 of printing a useless when we resume from sleep.
3713 * progmodes/sh-script.el
3714 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
3715 in indentation code. (Bug#16233)
3717 2013-12-28 João Távora <joaotavora@gmail.com>
3719 * elec-pair.el (electric-pair-post-self-insert-function):
3720 Don't open extra newlines at beginning of buffer. (Bug#16272)
3722 2013-12-28 Eli Zaretskii <eliz@gnu.org>
3724 * frame.el (window-system-for-display): Don't allow to create a
3725 GUI frame from a -nw session on MS-Windows. (Bug#14739)
3727 2013-12-28 Glenn Morris <rgm@gnu.org>
3729 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
3732 * apropos.el (apropos-match-face):
3733 * calculator.el (calculator-displayer):
3734 * dabbrev.el (dabbrev-search-these-buffers-only):
3735 * face-remap.el (buffer-face-mode-face):
3736 * simple.el (yank-handled-properties):
3737 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
3738 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
3739 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
3740 (hashcash-double-spend-database):
3741 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
3742 (ruby-deep-indent-paren-style):
3743 * textmodes/flyspell.el (flyspell-auto-correct-binding):
3744 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
3745 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
3746 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
3747 Specify custom types.
3749 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
3750 * bookmark.el (bookmark-bmenu-use-header-line):
3751 * doc-view.el (doc-view-scale-internally):
3752 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
3753 * register.el (register-preview-delay):
3754 * net/shr.el (shr-bullet):
3755 * progmodes/cfengine.el (cfengine-cf-promises)
3756 (cfengine-parameters-indent):
3757 * progmodes/octave.el (inferior-octave-error-regexp-alist):
3758 * textmodes/reftex-vars.el (reftex-label-regexps):
3759 * vc/log-edit.el (log-edit-setup-add-author): Add version.
3761 * net/tls.el (tls-certtool-program): Fix default value.
3763 * desktop.el (desktop-restore-in-current-display):
3764 * newcomment.el (comment-empty-lines):
3765 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
3766 (idlwave-pad-keyword):
3767 * progmodes/tcl.el (tcl-tab-always-indent):
3768 * textmodes/reftex-vars.el (reftex-index-default-tag):
3769 * elec-pair.el (electric-pair-skip-whitespace):
3770 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
3772 * emacs-lisp/authors.el (authors-ignored-files)
3773 (authors-valid-file-names, authors-renamed-files-alist): Additions.
3775 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
3777 * shell.el (shell-dynamic-complete-command): Doc fix.
3778 (shell--command-completion-data): Shell completion now matches
3779 executable filenames from the current buffer's directory, on
3780 systems in which this behavior is the default (windows-nt, ms-dos).
3782 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3784 * net/shr.el (shr-insert): Don't infloop if the width is zero.
3786 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3788 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
3791 * electric.el: Move all electric-pair-* to elec-pair.el.
3792 * elec-pair.el: New file, split from electric.el.
3794 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3796 * net/shr.el (shr-find-fill-point): Don't try to fill if the
3797 indentation level is larger than the width, because that will
3799 (shr-insert): Fill repeatedly long texts, so that Japanese is
3800 formatted correctly (bug#16263).
3801 (shr-find-fill-point): Off by one error in comparison with the
3804 2013-12-26 João Távora <joaotavora@gmail.com>
3806 * electric.el (electric-pair-mode): More flexible engine for skip-
3807 and inhibit predicates, new options for pairing-related functionality.
3808 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
3809 if that keeps or improves their balance in buffers.
3810 (electric-pair-delete-adjacent-pairs): Delete the pair when
3811 backspacing over adjacent matched delimiters.
3812 (electric-pair-open-extra-newline): Open extra newline when
3813 inserting newlines between adjacent matched delimiters.
3814 (electric--sort-post-self-insertion-hook):
3815 Sort post-self-insert-hook according to priority values when
3816 minor-modes are activated.
3817 * simple.el (newline-and-indent): Call newline with interactive
3819 (blink-paren-post-self-insert-function): Set priority to 100.
3820 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3821 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
3822 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3823 electric-pair-open-newline-between-pairs to nil.
3825 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3827 * progmodes/python.el: Use lexical-binding.
3828 (python-nav-beginning-of-defun): Stop searching ASAP.
3830 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
3832 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
3833 Fix interactive spec. Doc fix. (Bug#15754)
3835 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
3837 * emacs-lisp/byte-run.el (eval-when-compile):
3838 * progmodes/cc-defs.el (cc-eval-when-compile):
3839 Fix edebug spec (bug#16184).
3841 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3843 * net/shr.el (shr-visit-file): Remove debugging function.
3844 (shr-insert): Don't infloop if we can't find a good place to break
3845 the line (bug#16256).
3847 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
3849 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
3850 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
3851 python-nav-lisp-forward-sexp-safe.
3852 (python-nav--forward-sexp): New argument SAFE allows switching
3853 forward sexp movement behavior for parens.
3854 (python-nav-forward-sexp): Throw errors on unterminated parens
3856 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
3857 (python-nav-backward-sexp-safe): New functions.
3858 (python-shell-buffer-substring):
3859 Use `python-nav-forward-sexp-safe'.
3861 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3863 * net/shr.el (shr-find-fill-point): Don't break lines before a
3865 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
3866 (shr-find-fill-point): Remove the special checks for the quotation
3867 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
3869 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3871 * net/eww.el (eww-form-textarea): Use a different face for
3872 textareas than text input since they have different keymaps
3875 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
3877 * progmodes/python.el (python-nav-beginning-of-statement):
3878 Speed up (Bug#15295).
3880 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3882 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
3883 the window configuration.
3885 2013-12-24 Eli Zaretskii <eliz@gnu.org>
3887 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
3888 we run on MS-Windows or MS-DOS.
3890 2013-12-24 Martin Rudalics <rudalics@gmx.at>
3892 * window.el (balance-windows-area): Call window-size instead of
3893 window-height and window-width. Bug#16241.
3895 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3897 * net/eww.el (eww-bookmark-quit): Remove.
3898 (eww-bookmark-browse): Restore the window configuration when you
3899 choose a bookmark (bug#16144).
3901 2013-12-24 Daniel Colascione <dancol@dancol.org>
3903 * icomplete.el: Remove redundant :group arguments to `defcustom'
3905 (icomplete-show-matches-on-no-input): New customizable variable.
3906 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
3907 we have something to show.
3908 (icomplete-exhibit): Compute completions even if we have no user input.
3910 2013-12-23 Daniel Colascione <dancol@dancol.org>
3912 * icomplete.el: Move `provide' to end of file.
3914 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
3916 * net/gnutls.el (gnutls-verify-error): Add version tag.
3918 2013-12-23 Chong Yidong <cyd@gnu.org>
3920 * subr.el (set-transient-map): Rename from
3921 set-temporary-overlay-map. Doc fix.
3923 * face-remap.el (text-scale-adjust):
3924 * indent.el (indent-rigidly):
3925 * kmacro.el (kmacro-call-macro):
3926 * minibuffer.el (minibuffer-force-complete):
3927 * repeat.el (repeat):
3928 * simple.el (universal-argument--mode):
3929 * calendar/todo-mode.el (todo-insert-item--next-param):
3930 * progmodes/f90.el (f90-abbrev-start): Callers changed.
3932 * indent.el (indent-rigidly): Use substitute-command-keys.
3934 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3936 * net/eww.el (eww-tag-select): Add text-property to jump to next
3938 (eww): Add non-supported ftp error.
3940 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3942 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
3943 comments. Handle electric indent after typing `?' and `!'.
3945 2013-12-22 Chong Yidong <cyd@gnu.org>
3947 * faces.el (face-spec-recalc): If the theme specs are not
3948 applicable to a frame, fall back on the defface spec.
3949 This prevents themes from obliterating faces on low-color terminals.
3951 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3953 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3954 after `{'. We need it after block openers, and it doesn't seem
3955 to hurt after hash openers.
3957 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3959 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
3960 extracted from `ruby-smie-rules'.
3961 (ruby--electric-indent-chars): New variable.
3962 (ruby--electric-indent-p): New function.
3963 (ruby-mode): Use `electric-indent-functions' instead of
3964 `electric-indent-chars'.
3966 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3968 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
3970 (ruby-smie-rules): Indent plus one level after `=>'.
3972 2013-12-21 Richard Stallman <rms@gnu.org>
3974 * simple.el (newline): Doc fix.
3976 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3978 * net/eww.el (eww-list-histories, eww-list-histories)
3979 (eww-history-browse, eww-history-quit, eww-history-kill)
3980 (eww-history-mode-map, eww-history-mode): New command and
3981 functions to list browser histories.
3982 (eww-form-text): Support text form with disabled
3983 and readonly attributes.
3984 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
3986 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3988 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
3989 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
3990 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
3991 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
3993 (eww-bookmark-mode-map): Add menu.
3994 (eww-render, eww-mode): Use `setq-local'.
3995 (eww-tool-bar-map): New variable.
3996 (eww-mode): Set `tool-bar-map'.
3997 (eww-view-source): Check for `html-mode' with `fboundp'.
3999 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4001 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4002 elements with text inside. Also remove debugging.
4004 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4006 * cus-start.el (all): Add ns-use-srgb-colorspace.
4008 2013-12-21 Chong Yidong <cyd@gnu.org>
4010 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4011 undefined. Thus, theme settings for undefined faces do not take
4012 effect until the faces are defined with defface, the same as with
4015 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4016 (face-spec-reset-face): Don't assign extra properties in temacs.
4017 (face-spec-recalc): Apply X resources too.
4019 2013-12-21 Chong Yidong <cyd@gnu.org>
4021 * faces.el (face-spec-set):
4022 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4023 * custom.el (defface): Doc fixes (Bug#16203).
4025 * indent.el (indent-rigidly-map): Add docstring, and move commands
4026 into named functions.
4027 (indent-rigidly-left, indent-rigidly-right)
4028 (indent-rigidly-left-to-tab-stop)
4029 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4030 indentation direction based on bidi direction, and accumulate
4031 sequential commands in a single undo boundary.
4032 (indent-rigidly--pop-undo): New utility function.
4034 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4036 * faces.el (read-face-name): Require crm.el when using crm-separator.
4038 2013-12-20 Daniel Colascione <dancol@dancol.org>
4040 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4041 so that we don't reflow comments into the shebang line.
4043 2013-12-20 Juri Linkov <juri@jurta.org>
4045 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4046 a position when `dired-directory' is non-nil. Check integer
4047 positions with `integerp'.
4048 (toggle-save-place, save-places-to-alist): Add check for
4050 (save-place-find-file-hook): Check integer positions with
4052 (save-place-dired-hook): Use `dired-goto-file' when
4053 `dired-filename' is found in the assoc list. Check integer
4054 positions with `integerp'.
4055 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4057 * dired.el (dired-initial-position-hook): Rename back from
4058 `dired-initial-point-hook'.
4059 (dired-initial-position): Rename `dired-initial-point-hook' to
4060 `dired-initial-position-hook'.
4061 (dired-file-name-at-point): Doc fix. (Bug#15329)
4063 2013-12-20 Juri Linkov <juri@jurta.org>
4065 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4066 (read-regexp-suggestions): New function.
4067 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4068 Use `read-regexp-suggestions'. Add non-empty default to history
4070 (occur-read-regexp-defaults-function): Remove function.
4071 (occur-read-primary-args): Use `regexp-history-last' instead of
4072 `occur-read-regexp-defaults-function'.
4074 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4075 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4076 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4077 `hi-lock-read-regexp-defaults-function'. Doc fix.
4078 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4079 with `find-tag-default-as-symbol-regexp'. Doc fix.
4080 (hi-lock-read-regexp-defaults): Remove function.
4081 (hi-lock-regexp-okay): Add check for null.
4083 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4084 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4086 * subr.el (find-tag-default-as-symbol-regexp): New function.
4087 (find-tag-default-as-regexp): Move symbol regexp formatting to
4088 `find-tag-default-as-symbol-regexp'.
4090 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4092 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4095 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4097 * calendar/todo-mode.el: New implementation of item insertion
4098 commands and key bindings.
4099 (todo-key-prompt): New face.
4100 (todo-insert-item): New command.
4101 (todo-insert-item--parameters): New defconst, replacing defvar
4102 todo-insertion-commands-args-genlist.
4103 (todo-insert-item--param-key-alist): New defconst, replacing
4104 defvar todo-insertion-commands-arg-key-list.
4105 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4106 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4107 (todo-insert-item--next-param): New functions.
4108 (todo-insert-item--args, todo-insert-item--argleft)
4109 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4111 (todo-key-bindings-t): Change binding of "i" from
4112 todo-insertion-map to todo-insert-item.
4113 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4114 (todo-insertion-command-name, todo-insertion-commands-names)
4115 (todo-define-insertion-command, todo-insertion-commands)
4116 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4118 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4120 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4121 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4123 (todo-move-category): Allow choosing a non-existing todo file to
4124 move the category to, and create that file.
4125 (todo-default-priority): New user option.
4126 (todo-set-item-priority): Use it.
4127 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4128 (desktop-restore-file-buffer): Declare.
4129 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4130 (todo-modes-set-2): Locally set desktop-save-buffer to
4131 todo-desktop-save-buffer.
4132 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4133 (auto-mode-alist): Add autoload cookie.
4135 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4137 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4138 helpers.el was a poor choice of name.
4139 (string-remove-prefix): New function.
4140 (string-remove-suffix): New function.
4142 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4144 Fix assignment for new window total sizes.
4145 * window.el (window--pixel-to-size): Remove function.
4146 (window--pixel-to-total-1, window--pixel-to-total):
4147 Fix calculation of new total sizes.
4149 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4151 * comint.el (comint-output-filter): Fix rear-nonsticky property
4152 placement (Bug#16010).
4154 2013-12-20 Chong Yidong <cyd@gnu.org>
4156 * faces.el (read-color): Minor fix for completion function.
4158 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4160 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4161 New option. (Bug#16182)
4162 (ruby-smie--indent-to-stmt-p): Use it.
4163 (ruby-smie-rules): Revert the logic in the handling of `when'.
4164 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4165 (ruby-deep-arglist, ruby-deep-indent-paren)
4166 (ruby-deep-indent-paren-style): Update docstrings to note that the
4167 vars don't have any effect with SMIE.
4169 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4171 * calc/calc.el (calc-enter, calc-pop): Use the variable
4172 `calc-context-sensitive-enter'.
4174 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4176 * net/shr.el (shr-insert): Protect against infloops in degenerate
4179 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4181 * progmodes/octave.el (octave): Add link to manual and octave
4183 (octave-mode-menu): Link to octave-mode manual.
4185 2013-12-20 Leo Liu <sdl.web@gmail.com>
4187 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4188 insertion using skeleton-end-newline. (Bug#16138)
4190 2013-12-20 Juri Linkov <juri@jurta.org>
4192 * replace.el (occur-engine): Use `add-face-text-property'
4193 to add the face property to matches and titles. (Bug#14645)
4195 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4196 the palette of other hi-lock colors.
4197 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4199 2013-12-19 Juri Linkov <juri@jurta.org>
4201 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4202 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4203 (minibuffer-history-symbol): Move variable declaration closer to
4206 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4209 2013-12-19 Juri Linkov <juri@jurta.org>
4211 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4213 (log-edit-hook): Add it to :options. (Bug#16170)
4215 2013-12-19 Juri Linkov <juri@jurta.org>
4217 * simple.el (eval-expression-print-format): Don't check for
4218 command names and the last command. Always display additional
4219 formats of the integer result in the echo area, and insert them
4220 to the current buffer only with a zero prefix arg.
4221 Display character when char-displayable-p is non-nil.
4222 (eval-expression): With a zero prefix arg, set `print-length' and
4223 `print-level' to nil, and insert the integer values from
4224 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4226 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4227 `eval-last-sexp-arg-internal'. Doc fix.
4228 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4229 `eval-last-sexp-print-value'. Doc fix.
4230 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4231 Set `print-length' and `print-level' to nil when arg is zero.
4232 (eval-last-sexp): Doc fix.
4233 (eval-defun-2): Print the integer values from
4234 `eval-expression-print-format' at the end.
4236 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4237 values from `eval-expression-print-format' at the end.
4239 * ielm.el (ielm-eval-input): Print the integer
4240 values from `eval-expression-print-format' at the end.
4242 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4244 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4245 2013-12-11 (r115470).
4247 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4249 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4250 (hl-line-highlight, global-hl-line-highlight): Use it.
4251 (hl-line-overlay): Use defvar-local.
4253 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4255 * term/ns-win.el: Require dnd.
4256 (global-map): Remove drag items.
4257 (ns-insert-text, ns-set-foreground-at-mouse)
4258 (ns-set-background-at-mouse):
4259 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4260 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4263 2013-12-19 Glenn Morris <rgm@gnu.org>
4265 * emacs-lisp/ert.el (ert-select-tests):
4266 Fix string/symbol mixup. (Bug#16121)
4268 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4270 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4271 keywords to their parent.
4273 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4275 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4276 first arg to be a string (fixed dead code), or an operator symbol.
4277 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4279 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4280 did nothing. Don't respond to `(:after ".")', it will be called
4281 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4282 change anything. Only return indentation for binary operators
4283 when they are hanging. De-dent opening paren when its parent is
4284 `.', otherwise it looks bad when the dot is not at bol or eol
4287 2013-12-19 Juri Linkov <juri@jurta.org>
4289 * replace.el (query-replace-read-args): Split a non-negative arg
4290 and a negative arg into separate elements.
4291 (query-replace, query-replace-regexp, replace-string)
4292 (replace-regexp): Add arg `backward'. Doc fix.
4293 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4294 move point to the beginning of the match.
4295 (replace-search, replace-highlight): Use new arg `backward'
4296 to set the value of `isearch-forward'.
4297 (perform-replace): Add arg `backward' and use it to perform
4298 replacement backward. (Bug#14979)
4300 * isearch.el (isearch-query-replace): Use a negative prefix arg
4301 to call `perform-replace' with a non-nil arg `backward'.
4303 2013-12-18 Juri Linkov <juri@jurta.org>
4305 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4306 to the default list. Move `log-edit-show-files' to the end.
4307 Add more available functions to options.
4308 (log-edit): Move default specific settings to
4309 `log-edit-insert-message-template'. Don't move point.
4310 (log-edit-insert-message-template): New function.
4311 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4314 2013-12-18 Juri Linkov <juri@jurta.org>
4316 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4317 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4319 2013-12-18 Leo Liu <sdl.web@gmail.com>
4321 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4324 2013-12-18 Eli Zaretskii <eliz@gnu.org>
4326 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4327 formats for displaying file sizes when the -s switch is given.
4328 Instead, compute a separate format for displaying the size in
4329 blocks, which is displayed in addition to the "regular" size.
4330 When -h is given in addition to -s, produce size in blocks in
4331 human-readable form as well. (Bug#16179)
4333 2013-12-18 Tassilo Horn <tsdh@gnu.org>
4335 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4336 Reference tables with ~\ref{...} instead of only \ref{...}.
4338 2013-12-18 Chong Yidong <cyd@gnu.org>
4340 * cus-edit.el (custom-magic-alist): Fix "themed" description
4343 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4344 is non-nil, do not create a new entry in the symbol's theme-value
4345 or theme-face property; update theme-settings only (Bug#14664).
4346 (custom-available-themes): Doc fix.
4348 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4351 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4353 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4355 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4358 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
4360 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4362 2013-12-18 Glenn Morris <rgm@gnu.org>
4364 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
4365 * cus-start.el (load-prefer-newer): New option.
4367 2013-12-18 Le Wang <l26wang@gmail.com>
4369 * comint.el (comint-previous-matching-input-from-input):
4370 Retain point (Bug#13404).
4372 2013-12-18 Chong Yidong <cyd@gnu.org>
4374 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
4376 2013-12-18 Glenn Morris <rgm@gnu.org>
4378 * mail/emacsbug.el (report-emacs-bug):
4379 Only mention enable-multibyte-characters if non-standard.
4381 2013-12-17 Juri Linkov <juri@jurta.org>
4383 * arc-mode.el (archive-extract-by-file): Check if directory exists
4384 before deletion to not show irrelevant errors if it doesn't exist.
4386 2013-12-17 Juri Linkov <juri@jurta.org>
4388 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
4391 * net/eww.el (browse-web): Add alias to `eww'.
4392 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
4393 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
4395 * net/browse-url.el (browse-url-browser-function): Move `eww'
4396 closer to similar functions.
4398 * startup.el (fancy-startup-screen, fancy-about-screen):
4399 Set browse-url-browser-function to eww-browse-url locally.
4402 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4404 * window.el (window--pixel-to-total): Remove unused `mini' var.
4405 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
4406 (split-window): Remove unused `new' var.
4407 (window--display-buffer): Remove unused `frame' and `delta' vars.
4408 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
4411 2013-12-17 Martin Rudalics <rudalics@gmx.at>
4413 * dired.el (dired-mark-pop-up):
4414 * register.el (register-preview): Don't bind
4415 split-height-threshold here since it's now done in
4416 display-buffer-below-selected.
4418 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
4420 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
4421 xterm-rgb-convert-to-16bit.
4422 (rxvt-register-default-colors): Standardize with
4423 xterm-register-default-colors (Bug#14078).
4425 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
4427 * simple.el (kill-region): Pass mark first, then point, so that
4428 kill-append works right (Bug#12819).
4429 (copy-region-as-kill, kill-ring-save): Likewise.
4431 2013-12-17 Leo Liu <sdl.web@gmail.com>
4433 * net/rcirc.el (rcirc-add-face):
4434 * eshell/em-prompt.el (eshell-emit-prompt):
4435 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
4438 2013-12-17 Chong Yidong <cyd@gnu.org>
4440 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
4441 Suggested by Xue Fuqiao.
4443 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4445 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
4447 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4449 * net/shr.el (shr-insert-document): Remove unused var
4450 `shr-preliminary-table-render'.
4451 (shr-rescale-image): Remove unused arg `force'.
4452 (shr-put-image): Update calls accordingly.
4453 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
4455 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4457 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
4458 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
4459 :close-all, to see which indentation method to use (Bug#16116).
4460 (smie-rules-function): Document the method :close-all.
4462 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4464 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
4466 * net/eww.el (eww-display-html): If we can't find the anchor we're
4467 looking for, then go to point-min.
4469 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
4471 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
4472 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
4473 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
4474 Expand dir too, in case it's relative.
4476 2013-12-16 Juri Linkov <juri@jurta.org>
4478 * desktop.el (desktop-auto-save-timeout): Change default to
4479 `auto-save-timeout'. Doc fix.
4480 (desktop-save): Skip the timestamp in desktop-saved-frameset
4481 when checking for auto-save changes.
4482 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
4483 `desktop-auto-save' is called repeatedly by the idle timer.
4484 (desktop-auto-save-set-timer): Replace `run-with-timer' with
4485 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
4488 2013-12-16 Juri Linkov <juri@jurta.org>
4490 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
4492 (isearch-pre-command-hook): Check `this-command' for symbolp.
4494 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4496 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
4498 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
4500 * progmodes/cfengine.el (cfengine3--current-word): Remove.
4501 (cfengine3--current-function): Bring in the current-function
4502 functionality from `cfengine3--current-word'.
4503 (cfengine3-completion-function): Bring in the
4504 bounds-of-current-word functionality from
4505 `cfengine3--current-word'.
4507 2013-12-16 Martin Rudalics <rudalics@gmx.at>
4509 * window.el (display-buffer-below-selected):
4510 Bind split-height-threshold to 0 as suggested by Juri Linkov.
4512 2013-12-16 Leo Liu <sdl.web@gmail.com>
4514 * progmodes/compile.el (compile-goto-error): Do not push-mark.
4515 Remove NOMSG arg and all uses changed.
4517 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4519 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
4520 (cua--deactivate-rectangle): Don't deactivate the mark.
4521 (cua-set-rectangle-mark): Don't set mark-active since
4522 cua--activate-rectangle already does it for us.
4523 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
4524 non-rectangular region.
4526 * emulation/cua-base.el (cua-repeat-replace-region):
4527 Use with-current-buffer.
4529 * net/gnutls.el: Use cl-lib.
4530 (gnutls-negotiate): `mapcan' -> cl-mapcan.
4532 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4534 * emacs-lisp/package.el (package-built-in-p): Support both
4535 built-in and the package.el converted package descriptions.
4536 (package-show-package-list): Allow keywords.
4537 (package-keyword-button-action): Use it instead of
4538 `finder-list-matches'.
4539 (package-menu-filter-interactive): Interactive filtering (by
4541 (package-menu--generate): Support keywords and change keymappings
4542 and headers when they are given.
4543 (package--has-keyword-p): Helper function.
4544 (package-menu--refresh): Use it.
4545 (package--mapc): Helper function.
4546 (package-all-keywords): Use it.
4547 (package-menu-mode-map): Set up menu items and keybindings to
4548 provide a filtering UI.
4550 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4552 * net/gnutls.el (gnutls-verify-error): New defcustom to control
4553 the behavior when a certificate fails validation. Defaults to
4554 old behavior: never abort, just warn.
4555 (gnutls-negotiate): Use it.
4557 2013-12-14 Martin Rudalics <rudalics@gmx.at>
4559 * window.el (display-buffer-below-selected): Never split window
4560 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
4562 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
4564 * emacs-lisp/package.el (package--prepare-dependencies): New function.
4565 (package-buffer-info): Use it (bug#15108).
4567 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
4569 * icomplete.el (icomplete-completions): Make sure the prefix is already
4570 displayed elsewhere before hiding it (bug#16219).
4572 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
4574 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
4575 open-paren tokens when preceded by a open-paren, too.
4576 (ruby-smie-rules): Handle virtual indentation after open-paren
4577 tokens specially. If there is code between it and eol, return the
4578 column where is starts (Bug#16118).
4580 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4582 * progmodes/cfengine.el: Fix `add-hook' doc.
4583 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
4584 (cfengine3--current-word): Fix parameters.
4585 (cfengine3-make-syntax-cache): Simplify further.
4586 (cfengine3-completion-function, cfengine3--current-function):
4587 Use `assq' for symbols.
4588 (cfengine3--current-function): Fix `cfengine3--current-word' call.
4590 2013-12-13 Glenn Morris <rgm@gnu.org>
4592 * loadup.el (load-path): Warn if site-load or site-init changes it.
4593 No more need to reset it when bootstrapping.
4595 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4597 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
4598 locations for cf-promises.
4599 (cfengine-mode-syntax-functions-regex): New caching variable.
4600 (cfengine3-fallback-syntax): Fallback syntax for cases where
4601 cf-promises doesn't run.
4602 (cfengine3--current-word): Reimplement using
4603 `cfengine-mode-syntax-functions-regex'.
4604 (cfengine3-completion-function, cfengine3--current-function):
4605 Use `cfengine3-make-syntax-cache' directly.
4606 (cfengine3-clear-syntax-cache): New function.
4607 (cfengine3-make-syntax-cache): Simplify and create
4608 `cfengine-mode-syntax-functions-regex' on demand.
4609 (cfengine3-format-function-docstring): Don't call
4610 `cfengine3-make-syntax-cache' explicitly.
4612 2013-12-13 Martin Rudalics <rudalics@gmx.at>
4614 Fix windmove-find-other-window broken after pixelwise resizing
4616 * windmove.el (windmove-other-window-loc): Revert change from
4618 (windmove-find-other-window): Call window-in-direction.
4619 * window.el (window-in-direction): New arguments SIGN, WRAP and
4620 MINI to emulate original windmove-find-other-window behavior.
4622 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
4624 * simple.el (blink-matching--overlay): New variable.
4625 (blink-matching-open): Instead of moving point, highlight the
4626 matching paren with an overlay
4627 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
4629 * faces.el (paren-showing-faces, show-paren-match)
4630 (show-paren-mismatch): Move from paren.el.
4632 2013-12-13 Leo Liu <sdl.web@gmail.com>
4634 * indent.el (indent-region): Disable progress reporter in
4635 minibuffer. (Bug#16108)
4637 * bindings.el (visual-order-cursor-movement): Fix version.
4639 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4641 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
4642 Also match after beginning of line.
4643 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
4644 files. Thanks to Russell Sim. (Bug#15378)
4646 2013-12-13 Juri Linkov <juri@jurta.org>
4648 * simple.el <Keypad support>: Remove key bindings duplicated
4649 with bindings.el. (Bug#14397)
4651 2013-12-13 Juri Linkov <juri@jurta.org>
4653 * comint.el (comint-mode-map): Replace `delete-char' with
4654 `delete-forward-char'. (Bug#16109)
4656 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4658 * progmodes/python.el (python-indent-calculate-indentation):
4659 Fix de-denters cornercase. (Bug#15731)
4661 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
4663 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
4664 (advice--make): Pay attention to `depth'.
4665 (advice--make-1): Don't autoload commands eagerly.
4666 * emacs-lisp/elp.el (elp-instrument-function):
4667 * emacs-lisp/trace.el (trace-function-internal):
4668 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
4670 * iswitchb.el (iswitchb-mode): Don't belittle ido.
4672 2013-12-12 Eli Zaretskii <eliz@gnu.org>
4674 * term/w32-win.el (w32-handle-dropped-file):
4675 * startup.el (normal-top-level):
4676 * net/browse-url.el (browse-url-file-url):
4677 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
4678 decode file names using 'utf-8' rather than
4679 file-name-coding-system.
4681 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4683 * progmodes/python.el (python-indent-context)
4684 (python-indent-calculate-indentation): Fix auto-identation
4685 behavior for comment blocks. (Bug#15916)
4687 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4689 * progmodes/python.el (python-indent-calculate-indentation):
4690 When determining indentation, don't treat "return", "pass", etc., as
4691 operators when they are just string constituents. (Bug#15812)
4693 2013-12-12 Juri Linkov <juri@jurta.org>
4695 * uniquify.el (uniquify-buffer-name-style): Change default to
4696 `post-forward-angle-brackets'.
4698 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
4699 `uniquify'. Change default to `post-forward-angle-brackets'.
4701 2013-12-11 Glenn Morris <rgm@gnu.org>
4703 * emacs-lisp/package.el (finder-list-matches):
4704 Autoload rather than falsely declaring.
4706 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
4708 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
4709 (eww-mode-map): Use them.
4711 2013-12-11 Martin Rudalics <rudalics@gmx.at>
4713 * window.el (display-buffer-in-side-window): Fix doc-string
4716 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
4718 * vc/vc-git.el: Silence byte-compiler warnings.
4719 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
4720 (log-edit-set-header): Declare.
4722 2013-12-11 Eli Zaretskii <eliz@gnu.org>
4724 * Makefile.in (custom-deps, finder-data): Run output file names
4725 through unmsys--file-name. (Bug#16099)
4727 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4729 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
4730 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
4732 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
4733 instead of deleting the selection "by hand" (bug#16098).
4734 Rely on insert-for-yank to yank rectangles.
4735 (cua-highlight-region-shift-only): Mark obsolete.
4736 (cua-mode): Don't enable/disable transient-mark-mode,
4737 shift-select-mode (cua-mode works both with and without them), and
4738 pc-selection-mode (obsolete).
4739 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
4740 (cua--deactivate-rectangle): Deactivate it.
4742 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
4743 (delete-selection-helper): Make sure yank starts at the top of the
4745 (minibuffer-keyboard-quit): Use region-active-p.
4747 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
4749 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
4750 to `delete' (bug#16109).
4752 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4754 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
4755 info manual and show keybindings and set `:group' keyword.
4757 2013-12-11 Juri Linkov <juri@jurta.org>
4759 * delsel.el (delete-active-region): Let-bind `this-command'
4760 to prevent `kill-region' from changing its original value.
4761 (delete-selection-helper): Handle `overwrite-mode' for the type
4762 `kill' exactly the same way as for the type `t'.
4763 (insert-char, quoted-insert, reindent-then-newline-and-indent):
4764 Support more commands. (Bug#13312)
4766 2013-12-11 Juri Linkov <juri@jurta.org>
4768 * bindings.el: Map kp keys to non-kp keys systematically
4769 with basic modifiers control, meta and shift. (Bug#14397)
4771 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4773 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
4774 "Close browser" menu items. Fix wrong function of "List
4777 2013-12-11 Juri Linkov <juri@jurta.org>
4779 * misearch.el (multi-isearch-buffers): Set the value of
4780 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4781 arg of isearch-forward to t.
4782 (multi-isearch-buffers-regexp): Set the value of
4783 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4784 arg of isearch-forward-regexp to t.
4785 (multi-isearch-files): Set the value of
4786 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4787 arg of isearch-forward to t.
4788 (multi-isearch-files-regexp): Set the value of
4789 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4790 arg of isearch-forward-regexp to t. (Bug#16035)
4792 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
4793 arg of isearch-forward to t.
4794 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
4795 arg of isearch-forward-regexp to t.
4796 (dired-isearch-filter-filenames): Remove unnecessary check for
4797 `dired-isearch-filenames'.
4799 * comint.el (comint-history-isearch-backward):
4800 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
4801 (comint-history-isearch-backward-regexp):
4802 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
4804 2013-12-10 Eli Zaretskii <eliz@gnu.org>
4806 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
4807 unmsys--file-name. (Bug#16099)
4809 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
4811 * emacs-lisp/package.el (package-keyword-button-action):
4812 Remove finder.el require dependency.
4814 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
4816 * emacs-lisp/package.el: Require finder.el.
4817 (describe-package-1): Add keyword buttons.
4818 (package-make-button): New convenience function.
4819 (package-keyword-button-action): Keyword button action using
4820 `finder-list-matches'.
4822 2013-12-09 Eli Zaretskii <eliz@gnu.org>
4824 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
4827 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
4829 * autorevert.el (auto-revert-notify-add-watch): Do not handle
4832 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4834 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4835 after the end of a percent literal.
4837 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
4839 * progmodes/ruby-mode.el (ruby-forward-string): Document.
4840 Handle caret-delimited strings (Bug#16079).
4842 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4844 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
4845 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
4846 `ruby-parse-partial' (Bug#16078).
4848 2013-12-09 Leo Liu <sdl.web@gmail.com>
4850 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
4852 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
4854 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
4855 (js-switch-indent-offset): New option.
4856 (js--proper-indentation): Use it. And handle the case when
4857 "default" is actually a key in an object literal.
4858 (js--same-line): New function.
4859 (js--multi-line-declaration-indentation): Use it.
4860 (js--indent-in-array-comp, js--array-comp-indentation):
4862 (js--proper-indentation): Use them, to handle array comprehension
4865 2013-12-08 Leo Liu <sdl.web@gmail.com>
4867 * progmodes/flymake.el (flymake-highlight-line): Re-write.
4868 (flymake-make-overlay): Remove arg MOUSE-FACE.
4869 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
4871 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4873 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
4875 (redisplay-highlight-region-function): Use it.
4877 * emulation/cua-base.el (cua--explicit-region-start)
4878 (cua--last-region-shifted): Remove.
4879 (cua--deactivate): Use deactivate-mark.
4880 (cua--pre-command-handler-1): Don't handle shift-selection.
4881 (cua--post-command-handler-1): Don't change transient-mark-mode.
4882 (cua--select-keymaps): Use region-active-p rather than
4883 cua--explicit-region-start or cua--last-region-shifted.
4884 (cua-mode): Enable shift-select-mode.
4886 2013-12-08 Leo Liu <sdl.web@gmail.com>
4888 * progmodes/flymake.el (flymake-popup-current-error-menu):
4889 Rename from flymake-display-err-menu-for-current-line. Reimplement.
4890 (flymake-posn-at-point-as-event, flymake-popup-menu)
4891 (flymake-make-emacs-menu): Remove. (Bug#16077)
4893 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4895 * rect.el (rectangle-mark-mode): Activate mark even if
4896 transient-mark-mode is off (bug#16066).
4897 (rectangle--highlight-for-redisplay): Fix boundary condition when point
4898 is > mark and at bolp.
4900 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
4901 (region-extract-function): Use it.
4902 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
4903 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
4905 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
4906 kill-ring-save, kill-region, delete-char, delete-forward-char.
4907 Ignore self-insert-iso.
4909 * emulation/cua-gmrk.el (cua--init-global-mark):
4910 Ignore `self-insert-iso'.
4912 * emulation/cua-base.el (cua--prefix-copy-handler)
4913 (cua--prefix-cut-handler): Rely on region-extract-function rather than
4914 checking cua--rectangle.
4915 (cua-delete-region): Use region-extract-function.
4916 (cua-replace-region): Delete function.
4917 (cua-copy-region, cua-cut-region): Obey region-extract-function.
4918 (cua--pre-command-handler-1): Don't do the delete-selection thing.
4919 (cua--self-insert-char-p): Ignore `self-insert-iso'.
4920 (cua--init-keymaps): Don't remap delete-selection commands.
4921 (cua-mode): Use delete-selection-mode instead of rolling our own
4924 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
4925 Obey region-extract-function.
4927 Make registers and delete-selection-mode work on rectangles.
4928 * register.el (describe-register-1): Don't modify the register's value.
4929 (copy-to-register): Obey region-extract-function.
4930 * delsel.el (delete-active-region): Obey region-extract-function.
4932 2013-12-08 Leo Liu <sdl.web@gmail.com>
4934 * progmodes/flymake.el (flymake, flymake-error-bitmap)
4935 (flymake-warning-bitmap, flymake-fringe-indicator-position)
4936 (flymake-compilation-prevents-syntax-check)
4937 (flymake-start-syntax-check-on-newline)
4938 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
4939 (flymake-start-syntax-check-on-find-file, flymake-log-level)
4940 (flymake-xml-program, flymake-master-file-dirs)
4941 (flymake-master-file-count-limit)
4942 (flymake-allowed-file-name-masks): Relocate.
4943 (flymake-makehash, flymake-float-time)
4944 (flymake-replace-regexp-in-string, flymake-split-string)
4945 (flymake-get-temp-dir): Remove.
4946 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
4947 (flymake-current-row, flymake-selected-frame)
4948 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
4949 related functions. (Bug#16077)
4951 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
4953 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
4955 2013-12-07 Tassilo Horn <tsdh@gnu.org>
4957 * help-fns.el (describe-function-1): Use new advice-* functions
4958 rather than old ad-* functions. Fix function type description and
4959 source links for advised functions and subrs.
4961 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4963 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
4965 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
4967 * progmodes/compile.el (compilation-start):
4968 * progmodes/grep.el (rgrep): Revert change of 2012-12-20 (r111276).
4970 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4971 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
4973 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4975 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4976 Touch up the last change.
4978 2013-12-06 Leo Liu <sdl.web@gmail.com>
4980 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
4981 (inferior-octave-startup): Always use "octave> " for prompt.
4982 (octave-goto-function-definition)
4983 (octave-sync-function-file-names)
4984 (octave-find-definition-default-filename): Remove redundant backquotes.
4986 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4988 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
4990 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
4991 where appropriate already.
4992 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
4993 end of method names (Bug#15874).
4995 2013-12-06 Juri Linkov <juri@jurta.org>
4997 * isearch.el (isearch--saved-overriding-local-map):
4998 New internal variable.
4999 (isearch-mode): Set it to the initial value of
5000 `overriding-terminal-local-map'.
5001 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5002 with `isearch--saved-overriding-local-map'. (Bug#16035)
5004 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5006 * progmodes/octave.el (inferior-octave-completion-table):
5007 Turn back into function, use `completion-table-with-cache'
5008 (Bug#11906). Update all references.
5010 * minibuffer.el (completion-table-with-cache): New function.
5012 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5014 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5016 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5018 * net/eww.el (eww-current-source): New variable to store page
5020 (eww-display-html, eww-mode, eww-save-history)
5021 (eww-restore-history): Use it.
5022 (eww-view-source): New command to view page source.
5023 Opportunistically uses `html-mode' to highlight the buffer.
5024 (eww-mode-map): Install it.
5026 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5028 * net/dbus.el (dbus-unregister-service)
5029 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5031 (dbus-unregister-service): Skip :serial entries in
5032 `dbus-registered-objects-table'.
5033 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5035 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5037 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5038 around keywords with extra `split-string' argument.
5040 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5042 * windmove.el (windmove-other-window-loc): Handle navigation
5043 between windows (excluding the minibuffer window - Bug#16017).
5045 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5047 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5048 in D-Bus type syntax.
5049 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5050 preserve unibyte strings. (Bug#16048)
5052 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5054 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5055 Call force-mode-line-update is the proper buffer (bug#16042).
5057 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5059 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5060 `log-edit-remember-comment', make argument optional. Adjust all
5062 (log-edit-mode): Add `log-edit-remember-comment' to
5063 `kill-buffer-hook' locally.
5064 (log-edit-kill-buffer): Don't remember comment explicitly since
5065 the buffer is killed anyway.
5067 2013-12-04 Juri Linkov <juri@jurta.org>
5069 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5070 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5072 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5074 * notifications.el (notifications-close-notification): Call the
5075 D-Bus method with ID being a `:uint32'. (Bug#16030)
5077 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5079 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5081 2013-12-03 Juri Linkov <juri@jurta.org>
5083 * progmodes/compile.el (compilation-start): Rename window alist
5084 entry `no-display-ok' to `allow-no-window'.
5086 * simple.el (shell-command): Add window alist entry
5087 `allow-no-window' to `display-buffer'.
5088 (async-shell-command): Doc fix.
5090 * window.el (display-buffer-no-window): New action function.
5091 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5093 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5095 * vc/log-edit.el (log-edit-set-header): Extract from
5096 `log-edit-toggle-header'.
5097 (log-edit-extract-headers): Separate the summary, when extracted
5098 from header, from the rest of the message with an empty line.
5100 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5101 line, if present, to the Summary header.
5103 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5105 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5106 in current-buffer (bug#16029).
5108 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5110 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5111 (debugger-mode-map): Bind it.
5112 (debugger--backtrace-base): New function.
5113 (debugger-eval-expression): Use it.
5114 (debugger-frame-number): Skip local vars when present.
5115 (debugger--locals-visible-p, debugger--insert-locals)
5116 (debugger--show-locals, debugger--hide-locals): New functions.
5118 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5120 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5122 (tramp-get-remote-locale): New defun.
5123 (tramp-open-connection-setup-interactive-shell): Use it.
5125 2013-12-02 Leo Liu <sdl.web@gmail.com>
5127 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5129 * progmodes/sh-script.el (sh-shell-process):
5130 * progmodes/octave.el (inferior-octave-process-live-p):
5131 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5132 (gdb-inferior-io-sentinel):
5133 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5135 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5137 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5138 `save-selected-window' to `log-edit-hide-buf'. This makes
5139 `log-edit-show-files' idempotent.
5140 (log-edit-show-files): Mark the new window as dedicated.
5142 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5144 * vc/log-edit.el (log-edit-mode-map): Add binding for
5145 `log-edit-kill-biffer'.
5146 (log-edit-hide-buf): Add a FIXME comment.
5147 (log-edit-add-new-comment): New function, extracted from
5149 (log-edit-done, log-edit-add-to-changelog): Use it.
5150 (log-edit-kill-buffer): New command.
5152 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5154 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5155 instead of killing the buffer.
5157 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5159 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5161 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5163 * net/eww.el (eww-form-checkbox-selected-symbol)
5164 (eww-form-checkbox-symbol): New customizable variable.
5165 (eww-form-checkbox, eww-toggle-checkbox):
5166 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5168 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5169 (shr--get-media-pref, shr--extract-best-source): New function.
5170 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5171 no :src tag was specified.
5173 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5174 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5175 Use \\` to match beginning of string instead of ^.
5176 (eww-browse-with-external-browser): Provide optional URL parameter.
5177 (eww-render): Set `eww-current-title' back to "".
5179 * net/shr.el (shr-tag-video): Display content for video if no
5180 poster is available.
5181 (shr-tag-audio): Add support for <audio> tag.
5183 * net/eww.el (eww-text-input-types): New const.
5184 (eww-process-text-input): Treat input types in
5185 `eww-text-input-types' as text.
5187 * net/shr.el (shr-tag-table): Fix comment typo.
5189 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5191 * net/eww.el (eww-follow-link): New command to avoid reloading
5192 pages when we follow #target links (bug#15243).
5193 (eww-quit): Special mode buffers shouldn't query before exiting.
5195 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5197 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5200 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5202 * net/eww.el (eww-restore-history): Update the window title after
5203 moving in the history.
5204 (eww-current-dom): New variable used to save the current DOM.
5206 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5208 * vc/log-edit.el (log-edit-mode-map): Add binding for
5209 `log-edit-beginning-of-line'.
5210 (log-edit-setup-add-author): New user option.
5211 (log-edit-beginning-of-line): New command.
5212 (log-edit): Move major mode call above the contents setup so that
5213 the local variable values are already applied.
5214 (log-edit): Only insert "Author: " when
5215 `log-edit-setup-add-author' is non-nil.
5216 (log-edit): When SETUP is non-nil, position point after ": "
5217 instead of point-min.
5219 2013-12-01 Glenn Morris <rgm@gnu.org>
5221 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5223 2013-11-30 Eli Zaretskii <eliz@gnu.org>
5225 * startup.el (fancy-splash-frame): On MS-Windows, trigger
5226 redisplay to make sure the initial frame gets a chance to become
5227 visible. (Bug#16014)
5229 2013-11-30 Martin Rudalics <rudalics@gmx.at>
5231 Support resizing frames and windows pixelwise.
5232 * cus-start.el (frame-resize-pixelwise)
5233 (window-resize-pixelwise): New entries.
5234 * emacs-lisp/debug.el (debug): Use window-total-height instead
5235 of window-total-size.
5236 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
5237 * help.el (describe-bindings-internal): Use help-buffer as
5238 argument for with-help-window.
5239 (temp-buffer-max-width): New option.
5240 (resize-temp-buffer-window, help-window-setup)
5241 (with-help-window): Rewrite.
5242 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5244 * window.el (frame-char-size, window-min-pixel-height)
5245 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5246 (window-min-pixel-width, window-safe-min-pixel-size)
5247 (window-combination-p, window-safe-min-size)
5248 (window-resizable-p, window--size-to-pixel)
5249 (window--pixel-to-size, window--resize-apply-p): New functions.
5250 (window-safe-min-height): Fix doc-string.
5251 (window-size, window-min-size, window--min-size-1)
5252 (window-sizable, window-sizable-p, window--min-delta-1)
5253 (window-min-delta, window--max-delta-1, window-max-delta)
5254 (window--resizable, window--resizable-p, window-resizable)
5255 (window-full-height-p, window-full-width-p, window-at-side-p)
5256 (window--in-direction-2, window-in-direction)
5257 (window--resize-reset-1, window--resize-mini-window)
5258 (window-resize, window-resize-no-error)
5259 (window--resize-child-windows-normal)
5260 (window--resize-child-windows, window--resize-siblings)
5261 (window--resize-this-window, window--resize-root-window)
5262 (window--resize-root-window-vertically)
5263 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5264 (maximize-window, minimize-window, delete-window)
5265 (quit-restore-window, window-split-min-size, split-window)
5266 (balance-windows-2, balance-windows)
5267 (balance-windows-area-adjust, balance-windows-area)
5268 (window--state-get-1, window-state-get, window--state-put-1)
5269 (window--state-put-2, window-state-put)
5270 (display-buffer-record-window, window--display-buffer):
5271 Make functions handle pixelwise sizing of windows.
5272 (display-buffer--action-function-custom-type)
5273 (display-buffer-fallback-action):
5274 Add display-buffer-in-previous-window.
5275 (display-buffer-use-some-window): Resize window to height it had
5277 (fit-window-to-buffer-horizontally): New option.
5278 (fit-frame-to-buffer): Describe new values.
5279 (fit-frame-to-buffer-bottom-margin): Replace with
5280 fit-frame-to-buffer-margins.
5281 (window--sanitize-margin): New function.
5282 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5283 using window-text-pixel-size.
5285 2013-11-30 Glenn Morris <rgm@gnu.org>
5287 * emacs-lisp/bytecomp.el (byte-compile-form):
5288 Make the `interactive-only' warning like the `obsolete' one.
5289 * comint.el (comint-run):
5290 * files.el (insert-file-literally, insert-file):
5291 * replace.el (replace-string, replace-regexp):
5292 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5293 (goto-line, insert-buffer, next-line, previous-line):
5294 Tweak `interactive-only' spec.
5296 Stop keeping (most) generated cedet grammar files in the repository.
5297 * Makefile.in (semantic): New.
5298 (compile-main): Depend on semantic.
5300 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5302 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5303 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5305 * uniquify.el (uniquify-buffer-name-style): Change default.
5307 * loadup.el: Preload "uniquify".
5309 * time.el (display-time-update): Update all mode lines (bug#15999).
5311 * electric.el (electric-indent-mode): Enable by default.
5312 * loadup.el: Preload "electric".
5314 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5316 * emacs-lisp/helpers.el (string-empty-p): New function.
5317 (string-blank-p): New function.
5319 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
5321 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5324 2013-11-29 Andreas Politz <politza@fh-trier.de>
5325 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5326 allow non-lambda lists as functions.
5327 (imenu--in-alist): Don't recurse into non-subalists.
5328 (imenu): Don't pass function itself as an argument (Bug#14029).
5330 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5332 * progmodes/python.el (python-mode-map): Remove binding for ":".
5333 (python-indent-electric-colon): Remove command.
5334 (python-indent-post-self-insert-function): Integrate the previous code
5335 of python-indent-electric-colon. Make it conditional on
5336 electric-indent-mode.
5337 (python-mode): Add ?: to electric-indent-chars.
5338 Move python-indent-post-self-insert-function to the end of
5339 post-self-insert-hook.
5341 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5343 * doc-view.el (doc-view-goto-page): Update mode-line.
5345 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5347 2013-11-27 Glenn Morris <rgm@gnu.org>
5349 * international/charprop.el, international/uni-bidi.el:
5350 * international/uni-category.el, international/uni-combining.el:
5351 * international/uni-comment.el, international/uni-decimal.el:
5352 * international/uni-decomposition.el, international/uni-digit.el:
5353 * international/uni-lowercase.el, international/uni-mirrored.el:
5354 * international/uni-name.el, international/uni-numeric.el:
5355 * international/uni-old-name.el, international/uni-titlecase.el:
5356 * international/uni-uppercase.el:
5357 Remove generated files from VCS repository.
5359 2013-11-27 Eli Zaretskii <eliz@gnu.org>
5361 * filenotify.el (file-notify-add-watch): Don't special-case
5362 w32notify when computing the directory to watch.
5364 2013-11-27 Glenn Morris <rgm@gnu.org>
5366 Make bootstrap without generated uni-*.el files possible again.
5367 * loadup.el: Update command-line-args checking for unidata-gen.
5368 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
5369 * composite.el, international/characters.el:
5370 Handle unicode tables being undefined.
5372 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
5373 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
5374 (compile-main): Depend on leim rule.
5376 * loadup.el: Move leim-list.el to leim/ subdirectory.
5377 * startup.el (normal-top-level): No more leim directory.
5378 * international/ja-dic-cnv.el (skkdic-convert):
5379 Disable version-control and autoloads in output files.
5380 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
5381 Disable version-control and autoloads in output files.
5382 * leim/quail: Move here from ../leim.
5383 * leim/quail/hangul.el (hangul-input-method-activate):
5384 Add autoload cookie.
5385 (generated-autoload-load-name): Set file-local value.
5386 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
5387 (generated-autoload-load-name): Set file-local value.
5389 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
5391 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
5392 (eww-add-bookmark): Ask confirmation when add to bookmarks.
5393 (eww-quit): Ask confirmation before quitting eww.
5395 2013-11-26 Eli Zaretskii <eliz@gnu.org>
5397 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
5398 reading output from Diff on MS-Windows and MS-DOS.
5400 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
5402 * emacs-lisp/helpers.el (string-reverse): New function.
5404 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
5406 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
5407 names on MS Windows, like "/[::1]:".
5409 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
5412 2013-11-26 Glenn Morris <rgm@gnu.org>
5414 * progmodes/python.el (python-indent-guess-indent-offset):
5415 Avoid corner-case error. (Bug#15975)
5417 Preload leim-list.el. (Bug#4789)
5418 * loadup.el: Load leim-list.el when found.
5419 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
5421 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
5423 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
5425 * emacs-lisp/helpers.el (string-join): New function.
5427 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
5429 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5430 Mark as obsolete and replace it with a symbol property.
5431 (byte-compile-form): Use new 'interactive-only property.
5432 * comint.el, files.el, replace.el, simple.el:
5433 Apply new 'interactive-only properly.
5435 2013-11-25 Martin Rudalics <rudalics@gmx.at>
5437 * window.el (display-buffer-at-bottom): Make sure that
5438 split-window-sensibly creates the new window on bottom
5441 2013-11-23 David Kastrup <dak@gnu.org>
5443 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
5444 on the conflict markers when available.
5445 (smerge--get-marker): New function.
5446 (smerge-end-re, smerge-base-re): Add subgroup.
5448 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5450 * frame.el (handle-focus-in, handle-focus-out): Add missing
5453 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
5455 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5456 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
5458 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5460 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
5461 (gomoku--last-pos): New var.
5462 (gomoku--intangible-chars): New const.
5463 (gomoku--intangible): New function.
5464 (gomoku-mode): Use it. Derive from special-mode.
5465 (gomoku-move-up): Adjust line count.
5466 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
5467 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
5468 Simplify accordingly.
5470 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
5471 Remove blink-cursor code.
5472 (blink-cursor-timer-function, blink-cursor-suspend):
5473 Don't special-case GUIs.
5474 (blink-cursor-mode): Use focus-in/out-hook.
5476 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
5478 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
5479 work when annotation is invisible (Bug#13886).
5481 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
5483 * json.el (json-alist-p): Only return non-nil if the alist has
5484 simple keys (Bug#13518).
5486 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
5488 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
5489 when control-statement is the first statement in a buffer (Bug#15956).
5491 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
5493 * imenu.el (imenu-generic-skip-comments-and-strings):
5494 New option (Bug#15560).
5495 (imenu--generic-function): Use it.
5497 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
5499 * minibuffer.el (completion--in-region-1): Scroll the correct window.
5502 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
5504 * emacs-lisp/helpers.el: Add some string helpers.
5505 (string-trim-left): Removes leading whitespace.
5506 (string-trim-right): Removes trailing whitespace.
5507 (string-trim): Removes leading and trailing whitespace.
5509 * subr.el (string-suffix-p): New function.
5511 2013-11-23 Glenn Morris <rgm@gnu.org>
5513 * progmodes/python.el (python-shell-send-file):
5514 Add option to delete file when done. (Bug#15647)
5515 (python-shell-send-string, python-shell-send-region): Use it.
5517 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
5519 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
5520 to set buffer-read-only to t, never to nil. (Bug#15938)
5522 * textmodes/tex-mode.el (latex-noindent-environments):
5523 Add safe-local-variable property. (Bug#15936)
5525 2013-11-23 Glenn Morris <rgm@gnu.org>
5527 * textmodes/enriched.el (enriched-mode): Doc fix.
5528 * emacs-lisp/authors.el (authors-renamed-files-alist):
5529 Add enriched.doc -> enriched.txt.
5531 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
5533 2013-11-22 Leo Liu <sdl.web@gmail.com>
5535 * progmodes/octave.el (inferior-octave-startup): Spit out error
5538 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
5540 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5543 (ruby-encoding-magic-comment-style): Add :version.
5545 2013-11-22 Leo Liu <sdl.web@gmail.com>
5547 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
5549 (octave-help-mode): Adapt to change to help-mode-finish to use
5550 derived-mode-p on 2013-09-17.
5551 (inferior-octave-prompt): Also match octave-gui.
5552 (octave-kill-process): Don't ask twice. (Bug#10564)
5554 2013-11-22 Leo Liu <sdl.web@gmail.com>
5556 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
5557 (inferior-octave-startup, inferior-octave-check-process)
5558 (inferior-octave-track-window-width-change)
5559 (octave-completion-at-point, octave-eldoc-function): Use it.
5560 (octave-kill-process): Provide confirmation. (Bug#10564)
5562 2013-11-21 Leo Liu <sdl.web@gmail.com>
5564 * progmodes/octave.el (octave-mode, inferior-octave-mode):
5565 Fix obsolete variable comment-use-global-state.
5567 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5569 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
5570 Add `octave-source-file'.
5571 (octave-source-file): New function. (Bug#15935)
5573 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
5575 * net/eww.el (eww-local-regex): New variable.
5576 (eww): Use it to detect localhost and similar.
5578 2013-11-21 Leo Liu <sdl.web@gmail.com>
5580 Add completion for command `ag'.
5581 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
5582 (pcomplete/ag): New function.
5583 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
5585 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5587 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
5589 (make-obsolete): Remove interactive spec.
5591 2013-11-21 Glenn Morris <rgm@gnu.org>
5593 * startup.el (command-line-1): Use path-separator with -L.
5595 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
5597 * emacs-lisp/package.el (describe-package-1): Add package archive
5600 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
5602 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5603 Change default to "# encoding: %s" to differentiate it from the
5604 default Ruby encoding comment template.
5606 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
5608 * ses.el (ses-mode): Doc fix. (Bug#14748)
5610 2013-11-20 Leo Liu <sdl.web@gmail.com>
5612 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
5614 2013-11-19 Dan Nicolaescu <dann@gnu.org>
5616 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
5617 when rebase or bisect are in progress.
5619 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
5621 * filenotify.el (file-notify-add-watch): Doc fix.
5623 2013-11-19 Leo Liu <sdl.web@gmail.com>
5625 * obsolete/rcompile.el: Mark obsolete.
5627 * progmodes/compile.el (compilation-start)
5628 (compilation-goto-locus, compilation-find-file):
5629 Pass no-display-ok and handle nil value from display-buffer.
5632 * window.el (display-buffer-alist, display-buffer): Document the
5633 new parameter no-display-ok. Return either a window or nil
5634 but never a non-window value.
5636 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5638 * electric.el (electric-indent-mode-map): Remove.
5639 (electric-indent-mode): Change the global-map instead (bug#15915).
5641 * textmodes/text-mode.el (paragraph-indent-minor-mode):
5644 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
5646 * emacs-lisp/nadvice.el (remove-function): Align with
5647 add-function's behavior.
5649 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
5650 (gdb--string-regexp): New constant.
5651 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
5652 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
5653 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
5655 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
5656 Adjust use accordingly.
5657 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
5659 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
5661 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
5662 interpolation curlies (Bug#15914).
5664 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5666 * calc/calc.el (calc-context-sensitive-enter): New variable.
5667 (calc-enter): Use `calc-context-sensitive-enter'.
5669 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
5671 * progmodes/cfengine.el: Version bump.
5672 (cfengine-cf-promises): New defcustom to locate cf-promises.
5673 (cfengine3-vartypes): Add new "data" type.
5674 (cfengine3--current-word): New function to get current name-like
5676 (cfengine3--current-function): New function to look up a CFEngine
5677 function's definition.
5678 (cfengine3-format-function-docstring): New function.
5679 (cfengine3-make-syntax-cache): New function.
5680 (cfengine3-documentation-function): New function: ElDoc glue.
5681 (cfengine3-completion-function): New function: completion glue.
5682 (cfengine3-mode): Set `compile-command',
5683 `eldoc-documentation-function', and add to
5684 `completion-at-point-functions'.
5686 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
5688 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5689 `tramp-current-connection'.
5691 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
5693 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
5694 nil/self/true/false with "end of symbol".
5696 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
5698 * subr.el (version-regexp-alist): Fix a typo.
5700 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
5702 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
5703 "en_US.utf8" and "LC_CTYPE" to "".
5704 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
5705 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
5707 2013-11-15 Leo Liu <sdl.web@gmail.com>
5709 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
5711 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5713 * progmodes/gud.el (ctl-x-map):
5714 Remove C-x SPC binding. (Bug#12342)
5715 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
5717 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
5719 * subr.el (version-regexp-alist):
5720 Recognize hg, svn and darcs versions as snapshot versions.
5722 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
5723 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
5724 (ruby--encoding-comment-required-p): Extract from
5725 `ruby-mode-set-encoding'.
5726 (ruby-mode-set-encoding): Add the ability to always insert an
5727 utf-8 encoding comment. Fix and simplify coding comment update
5730 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
5732 * net/tramp-gvfs.el (top): Run init code only when
5733 `tramp-gvfs-enabled' is not nil.
5734 (tramp-gvfs-enabled): Check also :system bus.
5736 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5738 Sync with upstream verilog-mode revision 78e66ba.
5739 * progmodes/verilog-mode.el (verilog-end-of-defun)
5740 (verilog-type-completion, verilog-get-list): Remove unused funcs.
5741 (verilog-get-end-of-defun): Remove unused argument.
5742 (verilog-comment-depth): Remove unused local `e'.
5743 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
5744 Don't pass arg to verilog-get-end-of-defun.
5746 2013-11-14 Glenn Morris <rgm@gnu.org>
5748 * obsolete/assoc.el (aget): Prefix dynamic variable.
5750 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
5752 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5754 * widget.el, hfy-cmap.el: Remove bogus package version number.
5756 2013-11-13 Glenn Morris <rgm@gnu.org>
5758 * replace.el (replace-eval-replacement):
5759 Try to give more helpful error message. (Bug#15836)
5761 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5762 (archive-7z-update): Avoid custom type mismatches.
5764 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
5766 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
5768 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
5769 address can be empty.
5771 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
5772 Accept nil SWITCHES.
5773 (tramp-gvfs-handle-write-region): Implement APPEND.
5775 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
5777 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
5778 binary "|" operator and closing block args delimiter.
5779 Remove FIXME comment referring to Ruby 1.8-only syntax.
5780 (ruby-smie--implicit-semi-p): Not after "|" operator.
5781 (ruby-smie--closing-pipe-p): New function.
5782 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
5783 (ruby-smie-rules): Indent after "|".
5785 2013-11-12 Glenn Morris <rgm@gnu.org>
5787 * ps-print.el (ps-face-attribute-list):
5788 Handle anonymous faces. (Bug#15827)
5790 2013-11-12 Martin Rudalics <rudalics@gmx.at>
5792 * window.el (display-buffer-other-frame): Fix doc-string.
5795 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5797 * subr.el (force-mode-line-update): Delete, move to buffer.c.
5799 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
5801 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
5802 (tramp-sh-handle-file-local-copy): Don't write a message when
5803 saving temporary files.
5805 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
5806 both directories are remote.
5807 (tramp-smb-handle-directory-files): Do not return double entries.
5808 Do not expand full file names.
5809 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
5810 (tramp-smb-handle-write-region): Implement APPEND.
5811 (tramp-smb-get-stat-capability): Fix a stupid bug.
5813 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5815 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
5817 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5819 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
5820 throwing error over malformed let/let* (bug#15814).
5822 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5824 * iswitchb.el (iswitchb-mode): Mark obsolete.
5826 2013-11-11 Glenn Morris <rgm@gnu.org>
5828 * international/uni-bidi.el, international/uni-category.el:
5829 * international/uni-name.el, international/uni-numeric.el:
5830 Regenerate for Unicode 6.3.0.
5832 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
5834 * net/tramp.el (tramp-methods):
5835 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
5836 2013-10-29 (r114834).
5838 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
5840 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5841 Force highlighting text after Summary keyword in doc face for rpm.
5843 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
5845 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
5846 available and the word has no wildcards, append one to the grep pattern.
5847 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
5848 (ispell-complete-word): Call `ispell-lookup-words' with the value
5849 independent of `ispell-look-p'.
5851 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5853 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
5855 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
5858 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5860 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
5861 (ruby-font-lock-keywords): Use backquote.
5863 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5865 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5866 (ruby-smie--backward-token): Only consider full-string matches.
5868 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
5870 * faces.el (describe-face): Add distant-foreground.
5872 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
5874 * progmodes/ruby-mode.el: Improve encoding comment handling.
5875 (ruby-encoding-magic-comment-style): New option.
5876 (ruby-custom-encoding-magic-comment-template): New option.
5877 (ruby--insert-coding-comment, ruby--detect-encoding):
5878 New functions extracted from `ruby-mode-set-encoding'.
5879 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
5880 to control the style of the auto-inserted encoding comment.
5882 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5884 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
5885 Use `smie-backward-sexp' with token argument.
5887 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
5889 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5890 Remove instrumentation code.
5892 2013-11-08 Glenn Morris <rgm@gnu.org>
5894 * progmodes/autoconf.el (autoconf-mode):
5895 Tweak comment-start-skip. (Bug#15822)
5897 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5899 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
5900 at bobp (bug#15826).
5901 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
5903 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
5905 * man.el (Man-start-calling): New macro, extracted from
5906 Man-getpage-in-background.
5907 (Man-getpage-in-background): Use it.
5908 (Man-update-manpage): New command.
5909 (Man-mode-map): Bind it.
5911 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5913 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
5914 of "and", "or", "&&" and "||".
5915 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
5916 argument. Prohibit opening curly brace because it could only be a
5917 block opener in that position.
5918 (ruby-smie--forward-token, ruby-smie--backward-token):
5919 Separate "|" from "&" or "*" going after it. That can happen in block
5921 (ruby-smie--indent-to-stmt): New function, seeks the end of
5922 previous statement or beginning of buffer.
5923 (ruby-smie-rules): Use it.
5924 (ruby-smie-rules): Check if there's a ":" before a curly block
5925 opener candidate; if there is, it's a hash.
5927 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5929 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
5930 (cl--block-wrapper): Fix last accidental change.
5932 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
5934 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5935 Instrument, in order to hunt failure on hydra.
5937 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5939 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
5940 malformed bindings form (bug#15814).
5942 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
5944 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
5945 "." compared to " @ ". This incidentally fixes some indentation
5947 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
5948 (ruby-smie-grammar): New tokens: "and" and "or".
5949 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
5950 Exclude "and" and "or". Remove "do" in order to work around token
5952 (ruby-smie-rules): Add all infix tokens. Handle the case of
5953 beginning-of-buffer.
5955 2013-11-06 Glenn Morris <rgm@gnu.org>
5957 * Makefile.in (setwins_almost, setwins_for_subdirs):
5958 Avoid accidental matches.
5960 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5962 * menu-bar.el (popup-menu): Use key-binding.
5964 2013-11-06 Eli Zaretskii <eliz@gnu.org>
5966 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
5967 menus, support also the menus produced by minor modes.
5970 2013-11-06 Leo Liu <sdl.web@gmail.com>
5972 * thingatpt.el (thing-at-point-looking-at): Add optional arg
5973 DISTANCE to bound the search. All uses changed. (Bug#15808)
5975 2013-11-06 Glenn Morris <rgm@gnu.org>
5977 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
5978 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
5979 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
5981 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5983 * electric.el (electric-indent-just-newline): New command.
5984 (electric-indent-mode-map): New keymap.
5985 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
5986 Re-add :group which weren't redundant.
5988 * electric.el (electric-indent-local-mode): New minor mode.
5989 (electric-indent-functions-without-reindent): New var.
5990 (electric-indent-post-self-insert-function): Use it.
5991 * emacs-lisp/gv.el (buffer-local-value): Add setter.
5993 2013-11-05 Eli Zaretskii <eliz@gnu.org>
5995 * international/quail.el (quail-help): Be more explicit about the
5996 meaning of the labels shown on the keys. (Bug#15800)
5998 * startup.el (normal-top-level): Load the subdirs.el files before
5999 setting the locale environment. (Bug#15805)
6001 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6003 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6004 via arguments so as to get the right ones (bug#15418).
6006 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6008 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6010 Fix problems found while writing a test suite.
6012 * net/tramp-compat.el (tramp-compat-load): New defun.
6013 * net/tramp.el (tramp-handle-load): Use it.
6015 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6016 "(numberp ok-if-already-exists)" correctly.
6018 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6020 * international/characters.el (glyphless-char-display-control):
6023 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6025 * progmodes/python.el (python-mode):
6026 * progmodes/scheme.el (scheme-mode):
6027 * progmodes/prolog.el (prolog-mode):
6028 * progmodes/ruby-mode.el (ruby-mode):
6029 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6030 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6032 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6034 * rect.el (rectangle--highlight-for-redisplay):
6035 * emacs-lisp/smie.el (smie--next-indent-change):
6036 Use buffer-chars-modified-tick.
6038 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6040 * electric.el (electric-indent-post-self-insert-function):
6041 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6043 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6045 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6047 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6049 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6052 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6054 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6056 * progmodes/python.el: Fix up last change.
6057 (python-shell--save-temp-file): New function.
6058 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6059 `string' comes from the current buffer.
6060 (python-shell-send-string-no-output): Remove `msg' arg.
6061 (python--use-fake-loc): New var.
6062 (python-shell-buffer-substring): Obey it. Try to compensate for the
6063 extra coding line added by python-shell--save-temp-file.
6064 (python-shell-send-region): Use python-shell--save-temp-file and
6065 python-shell-send-file directly. Add `nomain' argument.
6066 (python-shell-send-buffer): Use python-shell-send-region.
6067 (python-electric-pair-string-delimiter): New function.
6068 (python-mode): Use it.
6070 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6072 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6073 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6074 environment and decoding all of the default-directory's to here
6076 (command-line): Decode also argv[0].
6078 * loadup.el: Error out if default-directory is a multibyte string
6079 when we are dumping.
6081 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6083 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6085 * emacs-lisp/package.el (package-menu-mode)
6086 (package-menu--print-info, package-menu--archive-predicate):
6087 Add Archive column to package list.
6089 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6091 Fix problems found while writing a test suite.
6093 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6094 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6095 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6096 to nil when running original file name handler. Otherwise,
6097 there are problems with constructs like "$$FOO".
6099 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6102 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6104 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6106 * subr.el (version<, version<=, version=):
6107 Update docstrings with information for snapshot versions.
6109 * helpers.el: New library for misc helper functions.
6110 (hash-table-keys): New function returning a list of hash keys.
6111 (hash-table-values): New function returning a list of hash values.
6113 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6115 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6116 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6118 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6120 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6121 checking whether point is after a 1-letter word.
6123 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6125 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6126 Don't infloop when expanding region over `multiline' syntax-type that
6127 begins a line (bug#15778).
6129 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6131 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6132 Make it into a proper minor mode.
6133 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
6134 (rectangle-mark-mode-map): New keymap.
6135 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6137 2013-11-04 Glenn Morris <rgm@gnu.org>
6139 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6141 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6143 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6144 (ruby-smie-rules): Use smie-rule-parent instead.
6146 * emacs-lisp/smie.el (smie-rule-parent): Always call
6147 smie-indent-virtual rather than only for hanging tokens.
6148 (smie--next-indent-change): New helper command.
6150 2013-11-03 Glenn Morris <rgm@gnu.org>
6152 * Makefile.in (abs_srcdir): Remove.
6153 (emacs): Unset EMACSLOADPATH.
6155 2013-11-02 Glenn Morris <rgm@gnu.org>
6157 * Makefile.in (EMACS): Use a relative filename.
6158 (abs_top_builddir): Remove.
6159 (custom-deps, finder-data, autoloads): Use --chdir.
6161 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6163 Use relative filenames in TAGS files.
6164 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6165 (lisptagsfiles4, TAGS): Use relative file names.
6166 (TAGS-LISP): Remove.
6167 (maintainer-clean): No more TAGS-LISP file.
6169 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6170 (lisptagsfiles4): Use absolute filenames again.
6171 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6172 Remove all *loaddefs files, not just the first. Remove esh-groups.
6173 (maintainer-clean): Delete TAGS, TAGS-LISP.
6175 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6177 * emacs-lisp/package.el (package-version-join):
6178 Recognize snapshot versions.
6180 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6182 * subr.el (version-regexp-alist): Add support for snapshot versions.
6184 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6186 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6187 New function, replacement for `smie-rule-parent' for when we want to
6188 skip over our direct parent if it's an assignment token..
6189 (ruby-smie-rules): Use it.
6191 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6193 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6194 unconditionally. Remove now unnecessary forward declarations.
6195 Remove XEmacs-specific setup.
6196 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6197 (ruby-font-lock-syntactic-keywords)
6198 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6199 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6200 (ruby-here-doc-end-syntax): Remove.
6201 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6202 defined as function.
6204 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6206 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6208 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6210 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6211 table and abbrev table, `define-derived-mode' does that for us
6214 2013-11-01 Glenn Morris <rgm@gnu.org>
6216 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6217 files is atomic for some time, so no parallel compilation issues).
6219 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6221 * faces.el (face-x-resources): Add :distant-foreground.
6222 (region): Use :distant-foreground for gtk and ns.
6224 2013-11-01 Tassilo Horn <tsdh@gnu.org>
6226 Allow multiple bibliographies when BibLaTeX is used rather than
6228 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6229 (reftex-locate-bibliography-files): Us it.
6231 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6233 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6234 allow comments in pbm files.
6236 * term/w32-win.el (dynamic-library-alist): Support newer versions
6237 of libjpeg starting with v7: look only for the DLL from the
6238 version against which Emacs was built.
6239 Support versions of libpng beyond 1.4.x.
6240 Support libtiff v4.x.
6242 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6244 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6245 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6247 (ruby-deep-arglist): Add property :type.
6249 2013-10-31 Glenn Morris <rgm@gnu.org>
6251 * Makefile.in (custom-deps, finder-data): No need to setq the target
6252 variables, we are in the right directory and the defaults work fine.
6254 2013-10-30 Glenn Morris <rgm@gnu.org>
6256 * Makefile.in (autoloads): Do not use abs_lisp.
6258 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6259 `newline' does not respect `standard-output', so use `princ'.
6261 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6263 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6264 * buff-menu.el (Buffer-menu--unmark): New function.
6265 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6267 2013-10-30 Glenn Morris <rgm@gnu.org>
6269 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6271 * emacs-lisp/package.el (lm-homepage): Declare.
6273 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6276 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6278 * Makefile.in (finder-data, autoloads, update-subdirs)
6279 (compile-main, compile-clean, compile-always, bootstrap-clean):
6280 Check return value of cd.
6281 (compile-calc): Remove.
6283 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6285 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6287 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6288 (byte-compile-and-folded): New function.
6289 (=, <, >, <=, >=): Use it.
6291 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6292 (path-separator, null-device, buffer-file-coding-system)
6293 (lpr-headers-switches): Check system-type before modifying them.
6294 (find-buffer-file-type-coding-system): Mark obsolete.
6295 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6296 find-file-not-found-set-buffer-file-coding-system.
6297 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
6298 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
6299 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
6300 (w32-direct-print-region-helper, w32-direct-print-region-function)
6301 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6302 * startup.el (normal-top-level-add-subdirs-to-load-path):
6303 * ps-print.el (ps-print-region-function):
6304 * lpr.el (print-region-function): Use new name.
6306 * subr.el (custom-declare-variable-early): Remove function.
6307 (custom-declare-variable-list): Remove var.
6308 (error, user-error): Remove `while' loop.
6309 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6310 (user-emacs-directory-warning, locate-user-emacs-file):
6312 * simple.el (read-quoted-char-radix, read-quoted-char):
6313 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6315 * custom.el (custom-declare-variable-list): Don't process
6316 custom-declare-variable-list.
6318 * progmodes/python.el (python-shell-get-buffer): New function.
6319 (python-shell-get-process): Use it.
6320 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6321 Python which encoding was used. Don't split-string since we only care
6322 about the first line. Return the temp-file, if applicable.
6323 (python-shell-send-region): Tell compile.el how to turn locations in
6324 the temp-file into locations in the source buffer.
6326 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6328 * subr.el (undefined): Add missing behavior from the C code for
6331 * rect.el: Use lexical-binding. Add new rectangular region support.
6332 (rectangle-mark): New command.
6333 (rectangle--region): New var.
6334 (deactivate-mark-hook): Reset rectangle--region.
6335 (rectangle--extract-region, rectangle--insert-for-yank)
6336 (rectangle--highlight-for-redisplay)
6337 (rectangle--unhighlight-for-redisplay): New functions.
6338 (region-extract-function, redisplay-unhighlight-region-function)
6339 (redisplay-highlight-region-function): Use them to handle
6341 * simple.el (region-extract-function): New var.
6342 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6343 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6344 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6345 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6346 (redisplay-unhighlight-region-function)
6347 (redisplay-highlight-region-function): New vars.
6348 (redisplay--update-region-highlight): New function.
6349 (pre-redisplay-function): Use it.
6350 (exchange-point-and-mark): Don't deactivate the mark before
6351 reactivate-it anyway.
6352 * comint.el (comint-kill-region): Remove yank-handler argument.
6353 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6354 (delete-char): Remove property, since it's now part of their
6356 (self-insert-iso): Remove property since this command doesn't exist.
6358 * emacs-lisp/package.el (package--download-one-archive)
6359 (describe-package-1): Don't query the user about final newline.
6361 2013-10-29 Daniel Colascione <dancol@dancol.org>
6363 * net/tramp.el (tramp-methods): Document new functionality.
6364 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
6365 tramp-hostname-checker if method provides one instead of scanning
6366 argument list for "%h" to decide hostname acceptability.
6368 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
6370 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6371 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6372 Handle COPY-CONTENTS. (Bug#15737)
6374 2013-10-28 Daiki Ueno <ueno@gnu.org>
6377 (epa-file-cache-passphrase-for-symmetric-encryption):
6378 Document that this option has no effect with GnuPG 2.0 (bug#15552).
6380 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
6382 * image.el (defimage, image-load-path): Doc fixes.
6384 2013-10-27 Alan Mackenzie <acm@muc.de>
6386 Indent statements in macros following "##" correctly.
6387 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6388 Modify the "#" arm of a cond form to handle "#" and "##" operators.
6390 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6392 * linum.el (linum-update-window): Fix boundary test (bug#13446).
6394 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
6396 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
6397 after `=' is probably a new expression.
6399 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6401 * man.el (man-imenu-title): New option.
6402 (Man-mode-map): Add menu. (Bug#15722)
6403 (Man-mode): Add imenu to menu.
6405 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
6407 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
6408 specific in what the first arg can be: a non-keyword word,
6409 string/regexp/percent literal opener, opening paren, or unary
6410 operator followed directly by word.
6412 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6414 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
6415 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
6416 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
6417 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
6418 Remove vars, they do not apply any more.
6419 (prolog-mode-abbrev-table): Remove redundant declaration.
6420 (prolog-upper-case-string, prolog-lower-case-string): Remove.
6421 (prolog-use-smie): Remove.
6422 (prolog-smie-rules): Add indentation rule for the if-then-else layout
6423 supported by prolog-electric-if-then-else-flag.
6424 (prolog-mode-variables, prolog-menu): Use setq-local.
6425 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
6426 Remove binding to `Backspace' since this key doesn't exist anyway.
6427 Remove bindings for electric self-inserting keys.
6428 (prog-mode): Assume it's defined.
6429 (prolog-post-self-insert): New function.
6430 (prolog-mode): Use it.
6431 (prolog-indent-line, prolog-indent-level)
6432 (prolog-find-indent-of-matching-paren)
6433 (prolog-indentation-level-of-line, prolog-goto-comment-column)
6434 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
6435 (prolog-goto-next-paren, prolog-in-string-or-comment)
6436 (prolog-tokenize, prolog-inside-mline-comment)
6437 (prolog-find-start-of-mline-comment): Remove functions.
6438 (prolog-find-unmatched-paren, prolog-clause-end)
6439 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
6440 (prolog-electric--if-then-else): Rename from
6441 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
6442 (prolog-tokenize-searchkey): Remove const.
6443 (prolog-clause-info): Use forward-sexp.
6444 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
6445 (prolog-electric-if-then-else): Remove commands.
6446 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
6447 for use in post-self-insert-hook.
6448 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
6449 for use in post-self-insert-hook.
6450 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
6451 for use in post-self-insert-hook.
6452 (prolog-electric--underscore): Rename from prolog-electric--underscore;
6453 adapt it for use in post-self-insert-hook.
6455 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
6457 * emacs-lisp/ert.el (ert-run-tests-interactively):
6458 Use `completing-read'. (Bug#9756)
6460 2013-10-25 Eli Zaretskii <eliz@gnu.org>
6462 * simple.el (line-move): Call line-move-1 instead of
6463 line-move-visual when the current window hscroll is zero, but
6464 temporary-goal-column indicates we will need to hscroll as result
6465 of the movement. (Bug#15712)
6467 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
6469 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
6470 capitalization. Use :visible instead of :active.
6471 Fix `ruby-indent-exp' reference. Add menu items for the generic
6472 commands that are used with SMIE.
6473 (ruby-do-end-to-brace): Insert space after `{'.
6475 2013-10-25 John Anthony <john@jo.hnanthony.com>
6477 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
6479 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
6481 2013-10-25 Glenn Morris <rgm@gnu.org>
6483 * vc/vc.el (vc-print-log): Don't use a working revision unless
6484 one was explicitly specified. (Bug#15322)
6486 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6488 * subr.el (add-to-list): Preserve return value in compiler-macro
6491 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6493 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
6494 result. Ask user to retry using '-all' flag. (Bug#15701)
6496 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6498 * emacs-lisp/smie.el: New smie-config system.
6499 (smie-config): New defcustom.
6500 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
6501 (smie-config-guess, smie-config-save): New commands.
6502 (smie-config--mode-local, smie-config--buffer-local)
6503 (smie-config--trace, smie-config--modefuns): New vars.
6504 (smie-config--advice, smie-config--mode-hook)
6505 (smie-config--setter, smie-config-local, smie-config--get-trace)
6506 (smie-config--guess-value, smie-config--guess): New functions.
6507 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
6508 text properties. Treat "string fence" syntax like string syntax.
6510 * progmodes/sh-script.el (sh-use-smie): Change default.
6511 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
6512 (sh-var-value): Simplify by CSE.
6513 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
6514 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
6516 (sh-guess-basic-offset): Use cl-incf.
6517 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
6519 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
6521 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
6524 2013-10-24 Glenn Morris <rgm@gnu.org>
6526 * Makefile.in (abs_top_srcdir): Remove.
6527 (update-subdirs): Use relative path to update-subdirs.
6529 2013-10-24 Eli Zaretskii <eliz@gnu.org>
6531 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
6532 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
6533 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
6534 Call unmsys--file-name before expand-file-name, not after it.
6536 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
6538 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
6539 (ert-test-skipped): New error.
6540 (ert-skip, ert-stats-skipped): New defuns.
6541 (ert--skip-unless): New macro.
6542 (ert-test-skipped): New struct.
6543 (ert--run-test-debugger, ert-test-result-type-p)
6544 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
6545 (ert--stats-set-test-and-result, ert-char-for-test-result)
6546 (ert-string-for-test-result, ert-run-tests-batch)
6547 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
6548 Handle skipped tests. (Bug#9803)
6550 2013-10-24 Glenn Morris <rgm@gnu.org>
6552 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
6554 * Makefile.in (abs_top_srcdir): New, set by configure.
6555 (update-subdirs): Correct build-aux location.
6557 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
6559 * vc/vc.el (vc-print-root-log): Always set `default-directory'
6560 value, whether we could auto-deduce `backend', or not.
6562 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
6563 with parameters" example. Simplify the "is it block or is it
6564 hash" check, but also make it more thorough.
6566 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
6568 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
6570 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6572 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
6575 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
6578 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
6580 * progmodes/compile.el (compilation-directory-matcher)
6581 (compilation-page-delimiter):
6582 Support GNU Make-4.0 directory quoting. (Bug#15678)
6584 2013-10-23 Leo Liu <sdl.web@gmail.com>
6586 * ido.el (ido-tidy): Handle read-only text.
6588 2013-10-23 Glenn Morris <rgm@gnu.org>
6590 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
6591 (emacs, compile, compile-always):
6592 Quote entities that might contain whitespace.
6593 (custom-deps, finder-data, autoloads): Use abs_lisp.
6594 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6595 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6596 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
6598 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
6600 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
6601 Use `following-char'.
6603 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6605 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
6606 * progmodes/ruby-mode.el (ruby-smie-rules):
6607 Remove corresponding workaround. Fix indentation rule of ";" so it
6608 also applies when ";" is the parent.
6610 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
6612 * frame.el (display-screens, display-pixel-height)
6613 (display-pixel-width, display-mm-width, display-backing-store)
6614 (display-save-under, display-planes, display-color-cells)
6615 (display-visual-class, display-monitor-attributes-list):
6616 Mention the optional ‘display’ argument in doc strings.
6618 2013-10-22 Michael Gauland <mikelygee@amuri.net>
6620 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
6621 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
6623 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6625 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
6626 TODO. Add "." after " @ ".
6627 (ruby-smie--at-dot-call): New function. Checks if point at method
6628 call with explicit target.
6629 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
6630 to the method name tokens when it precedes them.
6631 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
6632 (ruby-smie-rules): Add rule for indentation before and after "."
6635 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6637 * textmodes/remember.el (remember-diary-extract-entries):
6640 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
6643 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6645 * progmodes/ruby-mode.el (ruby-smie-grammar):
6646 Add (almost) all infix operators.
6647 (ruby-smie--implicit-semi-p): Add new operator chars.
6649 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6651 (ruby-smie--args-separator-p): Check that there's no newline
6652 between method call and its arguments.
6654 2013-10-20 Alan Mackenzie <acm@muc.de>
6656 Allow comma separated lists after Java "implements".
6658 * progmodes/cc-engine.el (c-backward-over-enum-header):
6660 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
6661 from a "disallowed" list in enum fontification.
6663 2013-10-20 Johan Bockgård <bojohan@gnu.org>
6665 * startup.el (default-frame-background-mode): Remove unused defvar.
6667 * progmodes/verilog-mode.el (verilog-mode): Don't set
6668 comment-indent-function globally.
6670 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
6672 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
6673 Move Info menu item creation to ns-win.el.
6675 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
6678 * menu-bar.el: Move GNUstep specific menus...
6680 * term/ns-win.el (ns-initialize-window-system): ... to here.
6682 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6684 * simple.el (newline): Only run post-self-insert-hook when
6685 called interactively.
6687 2013-10-19 Johan Bockgård <bojohan@gnu.org>
6689 * icomplete.el (icomplete-with-completion-tables): Add :version.
6691 2013-10-19 Alan Mackenzie <acm@muc.de>
6693 Fix fontification bugs with constructors and const.
6695 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
6696 CASE 2) Remove the check for the absence of a suffix construct
6697 after a function declaration with only types (no identifiers) in
6698 the parentheses. Also, accept a function declaration with just a
6699 type inside the parentheses, if this type can be positively
6700 recognised as such, or if a prefix keyword like "explicit" nails
6701 down the construct as a declaration.
6703 2013-10-19 Eli Zaretskii <eliz@gnu.org>
6705 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
6706 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
6707 the problem whereby selecting a menu item that leads to a
6708 minibuffer prompt moves the cursor out of the minibuffer window,
6709 making it hard to type at the prompt. Suggested by Stefan Monnier
6710 <monnier@iro.umontreal.ca>.
6712 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
6714 * menu-bar.el: Don't make Services menu.
6716 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6718 * ffap.el: Handle "/usr/include/c++/<version>" directories.
6719 (ffap-alist): Use ffap-c++-mode for c++-mode.
6720 (ffap-c++-path): New variable.
6721 (ffap-c++-mode): New function.
6723 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
6725 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
6727 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
6729 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
6730 introduced on 2013-09-08, which results in an infinite loop
6731 requesting a password.
6733 2013-10-18 Glenn Morris <rgm@gnu.org>
6735 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
6737 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
6739 Sync with upstream verilog-mode revision 1a6ecec7.
6740 * progmodes/verilog-mode.el (verilog-mode-version): Update.
6741 (verilog-mode-release-date): Remove.
6742 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
6743 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
6744 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
6745 (verilog-auto-tieoff-ignore-regexp)
6746 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
6747 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
6748 (verilog-signals-with, verilog-dir-cache-preserving)
6749 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
6751 (verilog-case-fold): New option, to control case folding in
6752 regexp searches, bug597.
6753 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
6754 (verilog-string-match-fold, verilog-in-paren-count)
6755 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
6756 (verilog-at-close-struct-p): New functions.
6757 (verilog-beg-block-re-ordered, verilog-extended-case-re)
6758 (verilog-forward-sexp, verilog-set-auto-endcomments)
6759 (verilog-leap-to-case-head): Handle "unique0" case.
6760 (verilog-in-constraint-re): New constant.
6761 (verilog-keywords, verilog-type-font-keywords):
6762 Add some SystemVerilog 1800-2012 keywords.
6763 (verilog-label-be): Remove unimplemented argument, bug669.
6764 (verilog-batch-execute-func): When batch expanding clear
6765 create-lockfiles to prevent spurious user locks when a file ends
6767 (verilog-calculate-indent, verilog-calc-1)
6768 (verilog-at-close-constraint-p, verilog-at-constraint-p)
6769 (verilog-do-indent): Fix indentation of nested constraints
6771 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
6772 (verilog-auto-inst-param): Use verilog-string-match-fold.
6773 (verilog-read-inst-module-matcher):
6774 Fix AUTOINST on gate primitives with #1.
6775 (verilog-read-decls): Fix double-declaring user-defined typed signals.
6776 Reads all user-defined typed variables.
6777 (verilog-read-defines): Fix reading definitions inside comments, bug647.
6778 (verilog-signals-matching-regexp)
6779 (verilog-signals-not-matching-regexp, verilog-auto):
6780 Respect verilog-case-fold.
6781 (verilog-diff-report): Fix line count.
6782 (verilog-auto-assign-modport): Remove unused local `modi'.
6783 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
6784 better handle multidimensional arrays.
6785 Fix packed array ports misadding bit index in AUTOINST, bug637.
6786 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
6787 to not double-declare existing outputs and inputs, respectively.
6788 (verilog-template-map): Bind U to verilog-sk-uvm-component.
6789 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
6790 (verilog-sk-uvm-component): New skeleton.
6791 (verilog-submit-bug-report): Add verilog-case-fold,
6792 remove verilog-mode-release-date.
6794 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
6796 * subr.el (sit-for): Call (input-pending-p t) so as to behave
6799 2013-10-18 Reuben Thomas <rrt@sc3d.org>
6801 * textmodes/remember.el (remember): Set buffer-offer-save in
6802 remember buffers (bug#13566).
6804 2013-10-18 Daniel Colascione <dancol@dancol.org>
6806 When evaluating forms in ielm, direct standard output to ielm
6807 buffer. Add new ielm-return-for-effect command. Remove trailing
6808 whitespace throughout.
6810 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
6811 (ielm-return-for-effect): New command.
6812 (ielm-send-input): Accept optional `for-effect' parameter.
6813 (ielm-eval-input): Accept optional `for-effect' parameter.
6814 Bind `standard-output' to stream we create using
6815 `ielm-standard-output-impl'. Suppress printing result when
6817 (ielm-standard-output-impl): New function.
6818 (inferior-emacs-lisp-mode): Explain new features in documentation.
6820 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
6824 * net/tramp.el (tramp-debug-message): Do not check for connection
6826 (tramp-message): Use "vector" connection property.
6828 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
6829 (tramp-equal-remote, tramp-eshell-directory-change)
6830 * net/tramp-adb.el (tramp-adb-handle-copy-file)
6831 (tramp-adb-handle-rename-file)
6832 * net/tramp-cmds.el (tramp-list-remote-buffers)
6833 (tramp-cleanup-connection, tramp-cleanup-this-connection)
6834 * net/tramp-compat.el (tramp-compat-process-running-p)
6835 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
6836 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
6837 (tramp-gvfs-handle-rename-file)
6838 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6839 (tramp-set-file-uid-gid)
6840 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6841 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
6844 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
6845 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6846 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
6847 (tramp-gw-open-network-stream): Suppress unrelated traces.
6849 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
6850 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6851 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6852 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
6853 connection property.
6855 * net/tramp-cache.el (top): Suppress traces when reading
6858 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6859 Refactor common code. Improve debug message.
6860 (tramp-maybe-open-connection)
6861 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
6862 connection buffer too early.
6864 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
6865 from `tramp-smb-actions-with-acl'.
6866 (tramp-smb-actions-set-acl): New defconst.
6867 (tramp-smb-handle-copy-directory)
6868 (tramp-smb-action-get-acl): New defun, renamed from
6869 `tramp-smb-action-with-acl'.
6870 (tramp-smb-action-set-acl): New defun.
6871 (tramp-smb-handle-set-file-acl): Rewrite.
6873 2013-10-17 Glenn Morris <rgm@gnu.org>
6875 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
6877 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6879 * skeleton.el (skeleton-newline): Remove.
6880 (skeleton-internal-1): Use (insert "\n") instead.
6882 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
6885 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
6886 forward-sexp-function while we redo its job (bug#15613).
6888 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
6890 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
6891 represented by lists.
6893 2013-10-16 Glenn Morris <rgm@gnu.org>
6895 * tmm.el (tmm--history): New dynamic variable.
6896 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
6898 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
6900 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
6901 (tramp-smb-errors): Add error messages.
6902 (tramp-smb-actions-with-acl): New defconst.
6903 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
6904 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
6905 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
6906 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
6907 (tramp-smb-get-stat-capability): Fix tests.
6909 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
6911 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
6914 2013-10-16 Glenn Morris <rgm@gnu.org>
6916 * ansi-color.el (ansi-color-drop-regexp):
6917 Add 1J, 1K, 2K. (Bug#15617)
6919 * files.el (hack-local-variables--warned-lexical): New.
6920 (hack-local-variables):
6921 Warn about misplaced lexical-binding. (Bug#15616)
6923 * net/eww.el (eww-render): Always set eww-current-url,
6924 and update header line. (Bug#15622)
6925 (eww-display-html): ... Rather than just doing it here.
6927 2013-10-15 Eli Zaretskii <eliz@gnu.org>
6929 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
6930 menu navigations commands.
6932 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
6934 * progmodes/subword.el (subword-capitalize): Be careful when
6935 the search for [[:alpha:]] fails (bug#15580).
6937 2013-10-14 Eli Zaretskii <eliz@gnu.org>
6939 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
6940 to commands that scroll the menu.
6942 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
6944 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
6945 Handle methods ending with `?' and `!'.
6947 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
6949 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
6950 `japanese-cp932' to `cp932' to fix the problem where saving a
6951 source file written in Shift_JIS twice would end up having
6952 `coding: japanese-cp932' which Ruby could not recognize.
6953 (ruby-mode-set-encoding): Add support for encodings mapped to nil
6954 in `ruby-encoding-map'.
6955 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
6956 doesn't need to be explicitly declared in magic comment.
6957 (ruby-encoding-map): Add type declaration for better customize UI.
6959 2013-10-13 Glenn Morris <rgm@gnu.org>
6961 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
6962 Occur buffers are read-only. http://bugs.debian.org/720775
6964 * emacs-lisp/authors.el (authors-fixed-entries):
6965 Comment out old alpha stuff.
6967 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
6969 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
6970 to `after-save-hook' instead of `before-save-hook'.
6971 (ruby-mode-set-encoding): Use the value of coding system used to
6972 write the file. Call `basic-save-buffer-1' after modifying the
6975 2013-10-13 Alan Mackenzie <acm@muc.de>
6977 Fix indentation/fontification of Java enum with
6978 "implements"/generic.
6980 * progmodes/cc-engine.el (c-backward-over-enum-header):
6981 Extracted from the three other places and enhanced to handle generics.
6982 (c-inside-bracelist-p): Uses new function above.
6983 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
6985 (c-font-lock-enum-tail): Uses new function above.
6987 2013-10-13 Kenichi Handa <handa@gnu.org>
6989 * international/mule-cmds.el (select-safe-coding-system): Remove a
6990 superfluous condition in chekcing whether a coding system is safe
6993 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
6995 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
6997 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
6999 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7001 2013-10-13 Glenn Morris <rgm@gnu.org>
7003 * menu-bar.el (menu-bar-update-buffers):
7004 Unify Buffers menu prompt string. (Bug#15576)
7006 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7008 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7010 (authors-fixed-entries): Use accented form of name.
7012 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7014 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7015 method calls (bug#15594).
7016 (ruby-smie--args-separator-p): New function.
7017 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7018 recognize paren-free method calls.
7020 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7021 internals of universal-argument.
7023 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7025 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7026 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7027 dropped menu on second mouse click on the menu bar.
7029 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7031 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7032 (explicit-shell-file-name): Declare.
7033 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7034 (sh-completion-at-point-function): New function.
7036 (sh-smie--keyword-p): Remove unused argument.
7037 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7039 (sh-set-shell): Always setup SMIE, even if we use the
7040 old indentation code.
7042 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7044 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7046 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7047 predicate would return nil are almost non-existent.
7048 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7050 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7051 cache also after commands that modify the buffer but don't move
7054 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7056 * env.el (substitute-env-in-file-name): New function.
7057 (substitute-env-vars): Extend the meaning of the optional arg.
7059 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7061 * term/w32-win.el (dynamic-library-alist): Define separate lists
7062 of GIF DLLs for versions before and after 5.0.0 of giflib.
7065 2013-10-10 João Távora <joaotavora@gmail.com>
7067 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7068 not locked, use last revision and current source as
7069 defaults. (Bug#15569)
7071 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7073 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7076 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7078 * window.el (pop-to-buffer-same-window): Fix doc-string.
7081 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7083 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7085 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7087 * calendar/icalendar.el (icalendar-import-file):
7088 Fix interactive spec. (Bug#15482)
7090 2013-10-10 Glenn Morris <rgm@gnu.org>
7092 * desktop.el (desktop-save): Default to saving in .emacs.d,
7093 since PWD is no longer in desktop-path by default. (Bug#15319)
7095 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7096 now that text mode has a menu with the same entry.
7097 (menu-bar-text-mode-auto-fill): Remove now unused func.
7098 * textmodes/text-mode.el (text-mode-map):
7099 Use auto-fill help text from menu-bar.el.
7101 2013-10-10 John Anthony <john@jo.hnanthony.com>
7103 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7105 2013-10-09 Juri Linkov <juri@jurta.org>
7107 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7108 instead of this-command-keys. Add universal-argument-more and
7109 universal-argument-minus to the list of prefix commands. (Bug#15568)
7111 2013-10-09 Glenn Morris <rgm@gnu.org>
7113 * vc/vc-svn.el (vc-svn-create-repo):
7114 Expand paths in file://... url. (Bug#15446)
7116 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7118 (authors): Remove unused local variables.
7120 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7122 * profiler.el: Create a more coherent calltree from partial backtraces.
7123 (profiler-format): Hide the tail with `invisible' so that C-s can still
7124 find the hidden elements.
7125 (profiler-calltree-depth): Don't recurse so enthusiastically.
7126 (profiler-function-equal): New hash-table-test.
7127 (profiler-calltree-build-unified): New function.
7128 (profiler-calltree-build): Use it.
7129 (profiler-report-make-name-part): Indent the calltree less.
7130 (profiler-report-mode): Add visibility specs for profiler-format.
7131 (profiler-report-expand-entry, profiler-report-toggle-entry):
7132 Expand the whole subtree when provided with a prefix arg.
7134 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7136 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7138 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7139 hanging iuwu-mod token.
7140 (ruby-smie--forward-token): Do not include a dot after a token in
7142 (ruby-smie--backward-token): Likewise.
7144 2013-10-08 Juri Linkov <juri@jurta.org>
7146 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7147 to isearch-other-control-char.
7148 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7149 and isearch-post-command-hook to post-command-hook.
7150 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7151 and isearch-post-command-hook from post-command-hook.
7152 (isearch-unread-key-sequence)
7153 (isearch-reread-key-sequence-naturally)
7154 (isearch-lookup-scroll-key, isearch-other-control-char)
7155 (isearch-other-meta-char): Remove functions.
7156 (isearch-pre-command-hook, isearch-post-command-hook):
7157 New functions based on isearch-other-meta-char rewritten
7158 relying on the new behavior of overriding-terminal-local-map
7159 that does not replace the local keymaps any more. (Bug#15200)
7161 2013-10-08 Eli Zaretskii <eliz@gnu.org>
7163 Support menus on text-mode terminals.
7164 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7167 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7169 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7170 Move here from mouse.el.
7171 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7173 (tty-menu-navigation-map): New map for TTY menu navigation.
7175 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7177 * frame.el (display-mouse-p): Report text-mode mouse as available
7179 (display-popup-menus-p): Report availability if mouse is
7180 available; don't condition on window-system.
7182 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7183 (tty-menu-selected-face): New faces.
7185 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7187 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7188 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7189 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7190 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7192 (lisp-mode-variables): New `elisp' argument.
7193 (emacs-lisp-mode): Use it.
7194 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7195 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7197 * indent.el: Use lexical-binding.
7198 (indent-region): Add progress reporter.
7199 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7201 (indent--next-tab-stop): New function to implement this behavior.
7202 (tab-to-tab-stop, move-to-tab-stop): Use it.
7204 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
7206 * indent.el (indent-rigidly--current-indentation): New function.
7207 (indent-rigidly-map): New var.
7208 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7210 2013-10-08 Bastien Guerry <bzg@gnu.org>
7212 * register.el (insert-register): Fix 2013-10-07 change.
7214 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7216 * progmodes/perl-mode.el: Use lexical-binding.
7217 Remove redundant :group args.
7218 (perl-nochange): Change default to be closer to other major modes's
7220 (perl-indent-line): Don't consider text on current line as a
7221 valid beginning of function from which to indent.
7223 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7224 with more than one argument (bug#15538).
7226 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7228 * vc/pcvs.el: Use lexical-binding.
7229 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7230 environment of `eval'.
7231 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7232 than a list of expressions. Adjust callers.
7233 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7235 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7237 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
7238 case of the dot in a chained method call being on the following line.
7240 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7242 * electric.el (electric-indent-inhibit): New var.
7243 (electric-indent-post-self-insert-function): Use it.
7244 * progmodes/python.el (python-mode): Set it.
7246 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7249 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7251 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7252 (css-mode): Use electric-indent-chars.
7254 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7255 (font-lock-beg, font-lock-end): Move before first use.
7256 (nxml-mode): Use syntax-propertize-function.
7257 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7258 (nxml-extend-after-change-region): Remove.
7259 * nxml/xmltok.el: Use lexical-binding.
7260 (xmltok-save): Use `declare'.
7261 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7262 * nxml/nxml-util.el: Use lexical-binding.
7263 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7265 * nxml/nxml-ns.el: Use lexical-binding.
7266 (nxml-ns-save): Use `declare'.
7267 (nxml-ns-prefixes-for): Avoid add-to-list.
7268 * nxml/rng-match.el: Use lexical-binding.
7269 (rng--ipattern): Use cl-defstruct.
7270 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7271 (rng-cons-group-after, rng-subst-group-after)
7272 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7273 Use closures instead of `(lambda...).
7275 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
7277 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7280 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7281 Use `tramp-handle-insert-file-contents'.
7282 (tramp-gvfs-handle-insert-file-contents): Remove function.
7284 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7285 Use `save-restriction' in order to keep markers.
7287 * net/trampver.el: Update release number.
7289 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7291 * progmodes/compile.el (compilation-parse-errors):
7292 Use compilation--put-prop.
7293 (compilation--ensure-parse): Check compilation-multiline.
7295 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7297 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7300 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7302 * progmodes/ruby-mode.el: Fix recently added tests.
7303 (ruby-smie-grammar): Add - and +.
7304 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7305 (ruby-smie--backward-id): New functions.
7306 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7307 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7310 2013-10-07 Leo Liu <sdl.web@gmail.com>
7312 * register.el (register-preview-delay)
7313 (register-preview-functions): New variables.
7314 (register-read-with-preview, register-preview)
7315 (register-describe-oneline): New functions.
7316 (point-to-register, window-configuration-to-register)
7317 (frame-configuration-to-register, jump-to-register)
7318 (number-to-register, view-register, insert-register)
7319 (copy-to-register, append-to-register, prepend-to-register)
7320 (copy-rectangle-to-register): Use register-read-with-preview to
7321 read register. (Bug#15525)
7323 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7325 * net/network-stream.el (network-stream-open-starttls): Don't add
7326 --insecure if it's already present, because that gnutls-cli
7327 rejects getting that parameter twice.
7329 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7331 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7334 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7336 * newcomment.el (comment-use-global-state): Change default value
7337 to t, mark obsolete (Bug#15251).
7338 (comment-beginning): In addition to `comment-to-syntax', check the
7339 value of `comment-use-global-state'.
7341 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7343 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7344 (ruby-comment-column): Follow the global default, by default.
7345 (ruby-smie-grammar): Add assignment syntax.
7346 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7347 open-paren, a comma, or a \.
7348 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7349 and line continuations.
7350 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7351 followed by implicit semi-colons. Add rule for string concatenation
7352 and for indentation at BOB.
7353 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
7355 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7356 calling next-sexp, since next-token may have skipped chars which
7357 next-sexp doesn't know should be skipped!
7359 2013-10-05 Leo Liu <sdl.web@gmail.com>
7361 * progmodes/octave.el (octave-send-region):
7362 Call compilation-forget-errors.
7364 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7366 * vc/vc-svn.el (vc-svn-find-admin-dir):
7367 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
7368 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
7369 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
7370 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
7372 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7374 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
7376 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7378 * subr.el (read-passwd): Hide chars even when called within a context
7379 where after-change-functions is disabled (bug#15501).
7380 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
7381 until we removed ourself from overriding-terminal-local-map.
7383 2013-10-04 Leo Liu <sdl.web@gmail.com>
7385 * progmodes/octave.el (inferior-octave-mode):
7386 Call compilation-forget-errors.
7388 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7390 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
7392 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
7394 * net/secrets.el (secrets-create-collection): Add optional
7395 argument ALIAS. Use proper Label keyword. Append ALIAS as
7396 dbus-call-method argument. (Bug#15516)
7398 2013-10-04 Leo Liu <sdl.web@gmail.com>
7400 * progmodes/octave.el (inferior-octave-error-regexp-alist)
7401 (inferior-octave-compilation-font-lock-keywords): New variables.
7402 (compilation-error-regexp-alist)
7403 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
7404 (inferior-octave-mode): Use compilation-shell-minor-mode.
7406 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
7408 * minibuffer.el (completion--replace): Be careful that `end' might be
7411 2013-10-03 Daiki Ueno <ueno@gnu.org>
7413 Add support for package signature checking.
7414 * emacs-lisp/package.el (url-http-file-exists-p)
7415 (epg-make-context, epg-context-set-home-directory)
7416 (epg-verify-string, epg-context-result-for)
7417 (epg-signature-status, epg-signature-to-string)
7418 (epg-check-configuration, epg-configuration)
7419 (epg-import-keys-from-file): Declare.
7420 (package-check-signature): New user option.
7421 (package-unsigned-archives): New user option.
7422 (package-desc): Add `signed' field.
7423 (package-load-descriptor): Set `signed' field if .signed file exists.
7424 (package--archive-file-exists-p): New function.
7425 (package--check-signature): New function.
7426 (package-install-from-archive): Check package signature.
7427 (package--download-one-archive): Check archive signature.
7428 (package-delete): Remove .signed file.
7429 (package-import-keyring): New command.
7430 (package-refresh-contents): Import default keyring.
7431 (package-desc-status): Add "unsigned" status.
7432 (describe-package-1, package-menu--print-info)
7433 (package-menu-mark-delete, package-menu--find-upgrades)
7434 (package-menu--status-predicate): Support "unsigned" status.
7436 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7438 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
7439 the new compilation scheme using the new byte-codes.
7441 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
7442 (byte-pophandler): New byte codes.
7443 (byte-goto-ops): Adjust accordingly.
7444 (byte-compile--use-old-handlers): New var.
7445 (byte-compile-catch): Use new byte codes depending on
7446 byte-compile--use-old-handlers.
7447 (byte-compile-condition-case--old): Rename from
7448 byte-compile-condition-case.
7449 (byte-compile-condition-case--new): New function.
7450 (byte-compile-condition-case): New function that dispatches depending
7451 on byte-compile--use-old-handlers.
7452 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
7455 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7456 Optimize under `condition-case' and `catch' if
7457 byte-compile--use-old-handlers is nil.
7458 (disassemble-offset): Handle new bytecodes.
7460 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7462 * subr.el (error): Use `declare'.
7463 (decode-char, encode-char): Use advertised-calling-convention instead
7464 of the docstring to discourage use of the `restriction' arg.
7466 2013-10-03 Daiki Ueno <ueno@gnu.org>
7468 * epg.el (epg-verify-file): Add a comment saying that it does not
7469 notify verification error as a return value nor a signal.
7470 (epg-verify-string): Ditto.
7472 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
7474 * progmodes/compile.el (compilation-start): Try globbing the arg to
7477 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
7479 Sync with Tramp 2.2.8.
7481 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
7482 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
7483 * net/trampver.el: Update release number.
7485 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
7487 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7488 and default-process-coding-system for darwin only.
7490 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7492 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
7494 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
7496 * vc/vc-git.el (vc-git-grep): Disable pager.
7498 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
7500 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
7501 Use :url instead of :homepage, as per
7502 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
7504 * newcomment.el (comment-beginning): When `comment-use-syntax' is
7505 non-nil, use `syntax-ppss' (Bug#15251).
7507 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7509 * progmodes/octave.el (inferior-octave-startup-file):
7510 Prefer ~/.emacs.d/init_octave.m.
7512 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
7514 * emacs-lisp/package.el (package-desc-from-define):
7515 Accept additional arguments as plist, convert them to an alist and store
7516 them in the `extras' slot.
7517 (package-generate-description-file): Convert extras alist back to
7518 plist and append to the `define-package' form arguments.
7519 (package--alist-to-plist): New function.
7520 (package--ac-desc): Add `extras' slot.
7521 (package--add-to-archive-contents): Check if the archive-contents
7522 vector is long enough, and if it is, pass its `extras' slot value
7523 to `package-desc-create'.
7524 (package-buffer-info): Call `lm-homepage', pass the returned value
7525 to `package-desc-from-define'.
7526 (describe-package-1): Render the homepage button (Bug#13291).
7528 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7529 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
7531 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
7533 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7534 and default-process-coding-system to utf-8-unix (Bug#15402).
7536 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
7538 * subr.el (looking-back): Do not recommend using looking-back.
7540 2013-09-28 Alan Mackenzie <acm@muc.de>
7542 Fix indentation/fontification of Java enum with "implements".
7544 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
7545 regexp which matches "implements", etc., in Java.
7546 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
7547 specifier clauses coming after "enum".
7548 * progmodes/cc-fonts.el (c-font-lock-declarations)
7549 (c-font-lock-enum-tail): Check for extra specifier clauses coming
7552 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
7554 * faces.el (region): Change ns_selection_color to
7555 ns_selection_fg_color, add ns_selection_bg_color.
7557 2013-09-28 Leo Liu <sdl.web@gmail.com>
7559 * progmodes/octave.el (inferior-octave-completion-table)
7560 (inferior-octave-completion-at-point): Minor tweaks.
7562 * textmodes/ispell.el (ispell-lookup-words): Rename from
7563 lookup-words. (Bug#15460)
7564 (lookup-words): Obsolete.
7565 (ispell-complete-word, ispell-command-loop): All uses changed.
7567 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7569 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7570 (octave-mode-menu): Add octave-send-buffer.
7571 (octave-send-buffer): New function.
7573 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7575 * progmodes/octave.el (octave-mode-map): Add key binding for
7577 (octave-mode-menu): Add octave-lookfor.
7578 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
7580 (octave-lookfor): New function.
7582 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7584 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
7585 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
7587 (cl--loop-set-iterator-function): New function.
7588 (cl-loop): Adjust accordingly, so as not to use cl-subst.
7589 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
7590 Bind `it' with `let' instead of substituting it with `cl-subst'.
7591 (cl--unused-var-p): New function.
7592 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
7593 Eliminate some unused variable warnings (bug#15326).
7595 2013-09-27 Tassilo Horn <tsdh@gnu.org>
7597 * doc-view.el (doc-view-scale-reset): Rename from
7598 `doc-view-reset-zoom-level'.
7599 (doc-view-scale-adjust): New command.
7600 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
7601 `doc-view-scale-adjust'.
7603 2013-09-26 Tassilo Horn <tsdh@gnu.org>
7605 * doc-view.el (doc-view-reset-zoom-level): New command.
7606 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
7607 zoom commands (bug#15466).
7609 2013-09-26 Kenichi Handa <handa@gnu.org>
7611 * international/quail.el (quail-help): Make it not a command.
7613 2013-09-26 Leo Liu <sdl.web@gmail.com>
7615 * minibuffer.el (completion-all-sorted-completions): Make args
7616 optional as they are.
7618 2013-09-25 Daniel Colascione <dancol@dancol.org>
7620 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
7621 specs are and that they're not evaluated.
7623 2013-09-24 Sam Steingold <sds@gnu.org>
7625 * midnight.el (clean-buffer-list-kill-regexps)
7626 (clean-buffer-list-kill-buffer-names): Update for the new Man
7627 buffer naming which includes the object name.
7629 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7631 * eshell/esh-cmd.el (eshell--sep-terms): New var.
7632 (eshell-parse-command, eshell-parse-pipeline): Use it since
7633 eshell-separate-commands requires a dynamic scoped var.
7634 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
7636 2013-09-23 Leo Liu <sdl.web@gmail.com>
7638 * autoinsert.el (auto-insert-alist): Make the value of
7639 lexical-binding match its file setting.
7641 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
7643 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
7645 * autoarg.el (autoarg-kp-digit-argument):
7646 * electric.el (Electric-command-loop):
7647 * kmacro.el (kmacro-step-edit-insert):
7648 Do not set universal-argument-num-events.
7650 2013-09-22 Leo Liu <sdl.web@gmail.com>
7652 * files.el (interpreter-mode-alist): Add octave.
7654 2013-09-21 Alan Mackenzie <acm@muc.de>
7656 C++: fontify identifier in declaration following "public:" correctly.
7657 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
7658 to match "public", etc.
7659 (c-decl-prefix-re): Add ":" into the C++ value.
7660 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
7661 bit. Add a check for a ":" preceded by "public", etc.
7663 2013-09-21 Eli Zaretskii <eliz@gnu.org>
7665 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
7666 recognized by GDB 7.5 and later.
7668 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
7670 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
7672 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7674 * subr.el (internal--call-interactively): New const.
7675 (called-interactively-p): Use it (bug#3984).
7677 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
7679 * vc/pcvs.el (cvs-mode-ignore):
7680 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
7681 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
7683 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7685 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
7686 (eshell-ls-orig-insert-directory): Remove.
7687 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
7688 (eshell-ls-use-in-dired): Use advice-add/remove.
7689 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
7690 Add `orig-fun' arg for use in :around advice.
7691 Make it check (redundantly) eshell-ls-use-in-dired.
7693 2013-09-19 Glenn Morris <rgm@gnu.org>
7695 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
7697 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
7699 * emacs-lisp/eieio.el (class-parent): Undo previous change.
7701 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
7703 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
7704 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
7705 (tramp-get-remote-python): New defuns.
7706 (tramp-get-remote-uid-with-perl)
7707 (tramp-get-remote-gid-with-perl): New defuns. Perl code
7708 contributed by yary <not.com@gmail.com> (tiny change).
7709 (tramp-get-remote-uid-with-python)
7710 (tramp-get-remote-gid-with-python): New defuns. Python code
7711 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
7712 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
7714 2013-09-19 Glenn Morris <rgm@gnu.org>
7716 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
7718 * eshell/em-unix.el (eshell-remove-entries):
7719 Rename argument to avoid name-clash with global `top-level'.
7721 * eshell/esh-proc.el (eshell-kill-process-function):
7722 Remove eshell-reset-after-proc from eshell-kill-hook if present.
7723 (eshell-reset-after-proc): Remove unused arg `proc'.
7725 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
7726 (directory-files-and-attributes): Mark unused arg.
7728 * eshell/em-unix.el (eshell-remove-entries):
7729 Remove unused arg `path'. Update callers.
7731 * eshell/em-hist.el (eshell-hist-parse-arguments):
7732 Remove unused arg `silent'. Update callers.
7734 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
7735 Fix (f)boundp mix-up.
7737 * eshell/em-smart.el (eshell-smart-scroll-window)
7738 (eshell-disable-after-change):
7739 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
7741 2013-09-18 Alan Mackenzie <acm@muc.de>
7743 Fix fontification of type when followed by "const".
7744 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
7745 "known" types from fontification.
7747 2013-09-18 Glenn Morris <rgm@gnu.org>
7749 * emacs-lisp/chart.el (x-display-color-cells): Declare.
7750 (chart-face-list): Drop Emacsen without display-color-p.
7752 * net/eww.el (libxml-parse-html-region): Declare.
7753 (eww-display-html): Explicit error if no libxml2 support.
7755 * doc-view.el (doc-view-mode): Silence --without-x compilation.
7757 * image.el (image-type-from-buffer, image-multi-frame-p):
7758 Remove --without-x warning/error.
7760 * mouse.el (mouse-yank-primary):
7761 * term.el (term-mouse-paste):
7762 Reorder to silence --without-x compilation.
7764 * mpc.el (doc-view-mode): Silence --without-x compilation.
7766 * mail/rmailmm.el (rmail-mime-set-bulk-data):
7767 Silence --without-x compilation.
7769 * progmodes/gud.el (gud-find-file, gud-mode):
7770 Silence --without-x compilation.
7771 (tooltip-mode): Declare.
7773 * wdired.el (dired-backup-overwrite): Remove declaration.
7774 (wdired-mode-map): Add doc string.
7776 * custom.el (x-get-resource): Declare.
7778 * eshell/em-glob.el (ange-cache):
7779 * eshell/em-unix.el (ange-cache): Declare.
7781 * faces.el (x-display-list, x-open-connection, x-get-resource):
7784 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
7785 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
7788 * frame.el (x-display-grayscale-p, x-display-name): Declare.
7790 * net/gnutls.el (gnutls-log-level): Declare.
7792 * net/shr.el (image-size, image-animate): Declare.
7794 * simple.el (font-info): Declare.
7796 * subr.el (x-popup-dialog): Declare.
7798 * term/common-win.el (x-select-enable-primary)
7799 (x-last-selected-text-primary, x-last-selected-text-clipboard):
7802 * term/ns-win.el (x-handle-args): Declare.
7804 * term/x-win.el (x-select-enable-clipboard): Declare.
7806 * term/w32-win.el (create-default-fontset): Declare.
7808 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
7811 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
7812 (fit-frame-to-buffer): Explicit error if --without-x.
7813 (mouse-autoselect-window-select): Silence compiler.
7815 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7817 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
7818 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
7819 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
7820 * eshell/esh-util.el (eshell-sublist):
7821 Remove unused local variables.
7823 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
7825 * textmodes/two-column.el: Make 2C-split work for --without-x.
7826 (scroll-bar-columns): Autoload.
7827 (top-level): Require fringe when compiling.
7829 2013-09-18 Leo Liu <sdl.web@gmail.com>
7831 * subr.el (add-hook): Robustify to handle closure as well.
7833 2013-09-17 Glenn Morris <rgm@gnu.org>
7835 * simple.el (messages-buffer-mode-map): Unbind "g".
7837 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7839 * help-mode.el (help-mode-finish): Use derived-mode-p.
7840 Remove obsolete highlighting.
7842 * play/life.el (life-mode): Use define-derived-mode. Derive from
7844 (life): Let-bind inhibit-read-only.
7845 (life-setup): Avoid `setq'. Use `life-mode'.
7847 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
7848 which should not be needed any more.
7849 (package-menu-refresh, package-menu-describe-package): Use user-error.
7851 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
7852 (eshell-post-rewrite-command-hook): Make obsolete.
7853 (eshell-parse-command): Simplify.
7854 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
7855 (eshell--cmd): Declare.
7856 (eshell-parse-pipeline): Remove unused var `final-p'.
7857 Pass a dynvar to eshell-post-rewrite-command-hook.
7858 Implement the new eshell-post-rewrite-command-function.
7859 (eshell-invoke-directly): Remove unused arg `input'.
7860 * eshell/esh-io.el (eshell-io-initialize):
7861 Use eshell-post-rewrite-command-function (bug#15399).
7862 (eshell--apply-redirections): Rename from eshell-apply-redirections;
7863 adjust to new calling convention.
7864 (eshell-create-handles): Rename args to avoid clashing with dynvar
7867 2013-09-17 Glenn Morris <rgm@gnu.org>
7869 * simple.el (messages-buffer-mode): New major mode.
7870 (messages-buffer): New function.
7871 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
7872 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
7873 (ert-run-test): Use `messages-buffer' function.
7874 (ert--force-message-log-buffer-truncation): Ignore read-only.
7875 * help.el (view-echo-area-messages): Use `messages-buffer' function.
7876 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
7878 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7880 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
7882 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
7884 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7886 * icomplete.el (icomplete-in-buffer): New var.
7887 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
7888 vars and replace them with functions.
7889 (icomplete-minibuffer-setup): Adjust accordingly.
7890 (icomplete--completion-table, icomplete--completion-predicate)
7891 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
7893 (icomplete-forward-completions, icomplete-backward-completions)
7894 (icomplete-simple-completing-p, icomplete-exhibit)
7895 (icomplete-completions): Use them.
7896 (icomplete--in-region-buffer): New var.
7897 (icomplete--in-region-setup): New function.
7898 (icomplete-mode): Use it.
7900 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
7902 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
7903 return args and options.
7904 (eshell-eval-using-options): Use the new return value of
7905 eshell--do-opts to set the options's vars in their scope.
7906 (eshell--set-option): Rename from eshell-set-option.
7908 (eshell--process-option): Rename from eshell-process-option.
7910 (eshell--process-args): Use an `opt-vals' alist to store the options's
7911 values during their processing and return them additionally to the
7914 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
7916 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
7917 continuation character an operator, as far as indentation is
7918 concerned (Bug#15369).
7920 2013-09-15 Martin Rudalics <rudalics@gmx.at>
7922 * window.el (window--state-put-2): Don't process buffer state
7923 when buffer doesn't exist any more (Bug#15382).
7925 2013-09-15 Glenn Morris <rgm@gnu.org>
7927 * eshell/em-unix.el (eshell/rm):
7928 Make -f ignore missing files. (Bug#15373)
7930 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
7931 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
7932 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
7934 2013-09-14 Glenn Morris <rgm@gnu.org>
7936 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
7938 2013-09-13 Glenn Morris <rgm@gnu.org>
7940 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
7941 (dired-guess-default): Make `file' available in the env. (Bug#15363)
7943 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
7945 * frame.el (x-focus-frame): Mark as declared in frame.c.
7947 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7949 * ls-lisp.el: Use advice-add.
7950 (original-insert-directory): Remove.
7951 (ls-lisp--insert-directory): Rename from insert-directory; add
7952 `orig-fun' argument.
7953 (insert-directory): Advise.
7955 2013-09-13 Eli Zaretskii <eliz@gnu.org>
7957 * term.el (term-emulate-terminal): Decode the command string
7958 before passing it to term-command-hook. (Bug#15337)
7960 2013-09-13 Glenn Morris <rgm@gnu.org>
7962 * eshell/esh-util.el (ange-cache): Move declaration earlier.
7964 * eshell/esh-ext.el (eshell-search-path): Declare.
7966 * eshell/em-prompt.el (eshell/pwd): Autoload it.
7967 Otherwise an error occurs if eshell-dirs module not loaded.
7969 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
7971 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
7973 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
7974 `tramp-check-proper-host'. Check for a valid method name.
7976 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7977 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7978 * net/tramp-sh.el (tramp-maybe-open-connection):
7979 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
7981 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
7982 also for hash values.
7984 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7986 * term/ns-win.el (parameters): Don't declare as dynamic.
7987 (before-make-frame-hook): Don't add ineffective function.
7989 * eshell/*.el: Use lexical-binding (bug#15231).
7991 2013-09-12 Kenichi Handa <handa@gnu.org>
7993 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
7995 2013-09-12 Glenn Morris <rgm@gnu.org>
7997 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
7998 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8000 * subr.el (do-after-load-evaluation): Also give compiler warnings
8001 when obsolete files are used (except by obsolete files).
8003 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8004 in the status output, assume `filename' is the first. (Bug#15322)
8006 * vc/vc.el (vc-deduce-fileset): Doc fix.
8008 * calc/calc-help.el (Info-goto-node):
8009 * progmodes/cperl-mode.el (Info-find-node):
8010 * vc/ediff.el (Info-goto-node): Update declarations.
8012 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8014 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8015 (vc-bzr-pull): Require vc-dispatcher.
8016 * vc/vc-git.el (vc-compilation-mode): Declare.
8017 (vc-git-pull): Require vc-dispatcher.
8019 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8021 * progmodes/octave.el (help-button-action): Declare.
8023 * shell.el (shell-directory-tracker): Output error as a message
8024 rather than just returning it as a string.
8025 (shell-process-pushd): Remove useless use of message.
8027 * dframe.el (dframe-timer-fn):
8028 * files.el (dir-locals-read-from-file):
8029 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8031 * reveal.el (reveal-post-command):
8032 * saveplace.el (load-save-place-alist-from-file):
8033 * shell.el (shell-resync-dirs):
8034 * w32-common-fns.el (x-get-selection-value):
8035 * emacs-lisp/copyright.el (copyright-find-copyright):
8036 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8037 * emulation/tpu-edt.el (tpu-copy-keyfile):
8038 * play/bubbles.el (bubbles--mark-neighbourhood):
8039 * progmodes/executable.el
8040 (executable-make-buffer-file-executable-if-script-p):
8041 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8043 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8045 Cleanup Eshell to rely less on dynamic scoping.
8046 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8047 last-value, and ext-command here. Bind `args' closer to `body'.
8048 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8049 (eshell--args): Declare new dynamic var.
8050 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8051 last-value, and ext-command. Pass `args' to `body'.
8052 (eshell-process-args): Bind eshell--args.
8053 (eshell-set-option): Use eshell--args.
8054 * eshell/eshell.el (eshell): Use derived-mode-p.
8055 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8056 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8057 (eshell-glob-function): Declare.
8058 * eshell/esh-util.el: Require cl-lib.
8059 (eshell-read-hosts-file): Avoid add-to-list.
8060 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8062 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8064 (eshell/diff): Remove unused var `err'.
8065 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8067 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8068 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8070 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8071 Move declaration before first use.
8072 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8073 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8076 2013-09-12 Glenn Morris <rgm@gnu.org>
8078 * term/ns-win.el (global-map): Remove binding for ispell-next,
8079 deleted 1999-05-29. (Bug#15357)
8081 2013-09-11 Glenn Morris <rgm@gnu.org>
8083 * echistory.el (electric-command-history): Remove call to deleted func.
8085 * play/landmark.el (landmark-mode): Fix typos.
8087 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8088 Check cvs-sort-ignore-file is bound.
8090 * savehist.el: No need for cl when compiling on Emacs.
8092 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8094 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8096 (eshell-self-insert-command, eshell-send-invisible):
8097 Remove unused argument.
8098 (eshell-handle-control-codes): Remove unused var `orig'.
8099 Avoid delete-backward-char.
8101 * files.el (set-auto-mode): Simplify a bit further.
8103 2013-09-11 Glenn Morris <rgm@gnu.org>
8105 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8106 (set-auto-mode): Don't regexp-quote elements.
8107 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8108 * progmodes/cc-mode.el (interpreter-mode-alist):
8109 * progmodes/ruby-mode.el (interpreter-mode-alist):
8110 Revert previous change.
8112 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8114 * play/snake.el (snake-mode):
8115 * play/mpuz.el (mpuz-mode):
8116 * play/landmark.el (lm-mode):
8117 * play/blackbox.el (blackbox-mode):
8118 * play/5x5.el (5x5-mode):
8119 * obsolete/options.el (Edit-options-mode):
8120 * net/quickurl.el (quickurl-list-mode):
8121 * net/newst-treeview.el (newsticker-treeview-mode):
8122 * mail/rmailsum.el (rmail-summary-mode):
8123 * mail/mspools.el (mspools-mode):
8124 * locate.el (locate-mode):
8125 * ibuffer.el (ibuffer-mode):
8126 * emulation/ws-mode.el (wordstar-mode):
8127 * emacs-lisp/debug.el (debugger-mode):
8128 * array.el (array-mode):
8129 * net/eudc.el (eudc-mode): Use define-derived-mode.
8130 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8131 Move initialization into declaration.
8132 (mairix-searches-mode): Use define-derived-mode.
8133 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8134 (eudc-edit-hotlist): Use dolist.
8135 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8136 (Man-mode): Use define-derived-mode.
8137 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8138 (Info-edit-mode): Use define-derived-mode.
8139 (Info-cease-edit): Use Info-mode.
8140 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8142 (eshell-mode): Use define-derived-mode.
8143 * chistory.el (command-history-mode-map): Rename from
8144 command-history-map.
8145 (command-history-mode): Use define-derived-mode.
8146 (Command-history-setup): Remove function.
8147 * calc/calc.el (calc-trail-mode-map): New var.
8148 (calc-trail-mode): Use define-derived-mode.
8149 (calc-trail-buffer): Set calc-main-buffer manually.
8150 * bookmark.el (bookmark-insert-annotation): New function.
8151 (bookmark-edit-annotation): Use it.
8152 (bookmark-edit-annotation-mode): Make it a proper major mode.
8153 (bookmark-send-edited-annotation): Use derived-mode-p.
8154 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8155 closer to its ideal place. Use \' to match EOS.
8157 * profiler.el (profiler-calltree-find): Use function-equal.
8159 2013-09-10 Glenn Morris <rgm@gnu.org>
8161 * files.el (interpreter-mode-alist): Convert to regexps.
8162 (set-auto-mode): Adapt for this. (Bug#15306)
8163 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8164 Comment out unused variable.
8165 * progmodes/cc-mode.el (interpreter-mode-alist):
8166 * progmodes/python.el (interpreter-mode-alist):
8167 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8168 * progmodes/sh-script.el (sh-set-shell):
8169 No longer use interpreter-mode-alist to get list of shells.
8171 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8173 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8175 * simple.el: Use set-temporary-overlay-map for universal-argument.
8176 (universal-argument-map): Don't use default-bindings (bug#15317).
8177 Bind switch-frame explicitly. Replace universal-argument-minus with
8178 a conditional binding.
8179 (universal-argument-num-events, saved-overriding-map): Remove.
8180 (restore-overriding-map): Remove.
8181 (universal-argument--mode): Rename from save&set-overriding-map,
8183 (universal-argument, universal-argument-more, negative-argument)
8184 (digit-argument): Adjust accordingly.
8185 (universal-argument-minus): Remove.
8186 (universal-argument-other-key): Remove.
8188 * subr.el (with-demoted-errors): Add `format' argument.
8190 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
8192 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8193 `tramp-cleanup-connection'.
8195 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8196 parameters KEEP-DEBUG and KEEP-PASSWORD.
8198 * net/tramp.el (tramp-file-name-handler):
8199 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8200 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8201 (tramp-maybe-open-connection):
8202 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8203 Use `tramp-cleanup-connection'.
8205 * net/tramp-sh.el (tramp-maybe-open-connection):
8206 Catch 'uname-changed inside the progress reporter.
8208 2013-09-10 Glenn Morris <rgm@gnu.org>
8210 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8212 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8213 returns "alternate access method" in mode (eg "-rw-r--r--.").
8215 2013-09-08 Glenn Morris <rgm@gnu.org>
8217 * saveplace.el (load-save-place-alist-from-file):
8218 Demote errors. (Bug#15305)
8220 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
8222 Improve compatibility with older Emacsen, and XEmacs.
8224 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8225 only if it is bound. It isn't for XEmacs.
8226 (with-tramp-progress-reporter): Do not let-bind `result'.
8227 This yields to scoping errors in XEmacs.
8228 (tramp-handle-make-auto-save-file-name): New function, moved from
8231 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8232 for `make-auto-save-file-name'.
8233 (tramp-adb--gnu-switches-to-ash):
8234 Use `tramp-compat-replace-regexp-in-string'.
8236 * net/tramp-cache.el (tramp-cache-print): Call
8237 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8239 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8240 bound. It isn't for XEmacs.
8242 * net/tramp-compat.el (tramp-compat-copy-file):
8243 Catch `wrong-number-of-arguments' error.
8244 (tramp-compat-replace-regexp-in-string): New defun.
8246 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8247 for `make-auto-save-file-name'.
8248 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8250 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8251 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8252 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8254 * net/tramp-gw.el (tramp-gw-open-network-stream):
8255 Use `tramp-compat-replace-regexp-in-string'.
8257 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8258 Call `tramp-handle-make-auto-save-file-name'.
8259 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8260 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8261 (tramp-sh-file-inotifywait-process-filter):
8262 Use `tramp-compat-replace-regexp-in-string'.
8263 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8265 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8266 for `make-auto-save-file-name'.
8267 (tramp-smb-handle-copy-directory):
8268 Call `tramp-compat-replace-regexp-in-string'.
8269 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8270 (tramp-smb-handle-copy-file): Improve error message.
8271 (tramp-smb-handle-rename-file): Rename directly only in case
8272 `newname' does not exist yet. This is a restriction of smbclient.
8273 (tramp-smb-maybe-open-connection): Rerun the function only when
8274 `auth-sources' is non-nil.
8276 2013-09-08 Kenichi Handa <handa@gnu.org>
8278 * international/characters.el: Set category "^" (Combining) for
8281 2013-09-07 Alan Mackenzie <acm@muc.de>
8283 Correctly fontify Java class constructors.
8284 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8286 (c-recognize-typeless-decls): Set the Java value to t.
8287 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8288 While handling a "(", add a check for, effectively, Java, and handle a
8289 "typeless" declaration there.
8291 2013-09-07 Roland Winkler <winkler@gnu.org>
8293 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8294 field subtitle for entry type book.
8296 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8298 * minibuffer.el: Make minibuffer-complete call completion-in-region
8299 rather than other way around.
8300 (completion--some, completion-pcm--find-all-completions):
8301 Don't delay signals when debugging.
8302 (minibuffer-completion-contents): Beware fields within the
8303 minibuffer contents.
8304 (completion-all-sorted-completions): Use defvar-local.
8305 (completion--do-completion, completion--cache-all-sorted-completions)
8306 (completion-all-sorted-completions, minibuffer-force-complete):
8307 Add args `beg' and `end'.
8308 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8309 (minibuffer-complete): Use completion-in-region.
8310 (completion-complete-and-exit): New fun, extracted from
8311 minibuffer-complete-and-exit.
8312 (minibuffer-complete-and-exit): Use it.
8313 (completion--complete-and-exit): Rename from
8314 minibuffer--complete-and-exit.
8315 (completion-in-region--single-word): New function, extracted from
8316 minibuffer-complete-word.
8317 (minibuffer-complete-word): Use it.
8318 (display-completion-list): Make `common-substring' argument obsolete.
8319 (completion--in-region): Call completion--in-region-1 instead of
8320 minibuffer-complete.
8321 (completion-help-at-point): Pass boundaries to
8322 minibuffer-completion-help as args rather than via an overlay.
8323 (completion-pcm--string->pattern): Use `any-delim'.
8324 (completion-pcm--optimize-pattern): New function.
8325 (completion-pcm--pattern->regex): Handle `any-delim'.
8326 * icomplete.el (icomplete-forward-completions)
8327 (icomplete-backward-completions, icomplete-completions):
8328 Adjust calls to completion-all-sorted-completions and
8329 completion--cache-all-sorted-completions.
8330 (icomplete-with-completion-tables): Default to t.
8331 * emacs-lisp/crm.el (crm--current-element): Rename from
8332 crm--select-current-element. Don't put an overlay but return the
8334 (crm--completion-command): Take two new args to bind to the boundaries.
8335 (crm-completion-help): Adjust accordingly.
8336 (crm-complete): Use completion-in-region.
8337 (crm-complete-word): Use completion-in-region--single-word.
8338 (crm-complete-and-exit): Use completion-complete-and-exit.
8340 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8342 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8345 2013-09-06 Juri Linkov <juri@jurta.org>
8347 * info.el (Info-display-images-node): When image file doesn't exist
8348 display text version of the image if it's provided in the Info file.
8349 Otherwise, display the location of missing image from SRC attribute.
8350 Add help-echo text property from ALT attribute. (Bug#15279)
8352 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8354 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8355 (edit-abbrevs-mode): Use define-derived-mode.
8357 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8358 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8360 (epa-key-list-mode, epa-key-mode, epa-info-mode):
8361 Use define-derived-mode.
8363 * epg.el (epg-start-encrypt): Minor CSE simplification.
8365 2013-09-06 William Xu <william.xwl@gmail.com>
8367 * arc-mode.el: Add support for 7za (bug#15264).
8368 (archive-7z-program): New var.
8369 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
8370 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
8371 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
8373 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
8377 * net/tramp.el (tramp-syntax, tramp-prefix-format)
8378 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
8379 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
8380 (tramp-postfix-host-format, tramp-file-name-regexp)
8381 (tramp-completion-file-name-regexp)
8382 (tramp-completion-dissect-file-name)
8383 (tramp-handle-substitute-in-file-name): Remove 'url case.
8384 (tramp-file-name-regexp-url)
8385 (tramp-completion-file-name-regexp-url): Remove constants.
8387 2013-09-06 Glenn Morris <rgm@gnu.org>
8389 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
8391 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
8393 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
8394 keywords" below "here-doc beginnings" (Bug#15270).
8396 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8398 * subr.el (pop): Use `car-safe'.
8399 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
8400 to detect unused `pop' return value.
8402 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
8404 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
8405 (python-fill-string): Remove unused var `marker'.
8406 (python-skeleton-add-menu-items): Remove unused var `items'.
8408 * international/mule-cmds.el: Require CL.
8409 (find-coding-systems-for-charsets): Avoid add-to-list.
8410 (sanitize-coding-system-list): New function, extracted from
8411 select-safe-coding-system-interactively.
8412 (select-safe-coding-system-interactively): Use it.
8413 (read-input-method-name): Accept symbols for `default'.
8415 * emacs-lisp/advice.el (defadvice): Add indent rule.
8417 2013-09-05 Daniel Hackney <dan@haxney.org>
8421 * net/browse-url.el:
8424 * net/eudcb-ldap.el:
8437 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
8438 byte compiler. Remove some unused let-bound variables.
8440 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8442 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
8443 a "ref-cell", since it gets better optimized (bug#14883).
8445 2013-09-05 Glenn Morris <rgm@gnu.org>
8447 * progmodes/cc-awk.el (c-forward-sws): Declare.
8449 2013-09-04 Glenn Morris <rgm@gnu.org>
8451 * generic-x.el [rul-generic-mode]: Require cc-mode.
8452 (c++-mode-syntax-table): Declare.
8453 (rul-generic-mode-syntax-table): Init in the defvar.
8455 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8457 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
8458 (vc-do-command, vc-set-async-update):
8459 * vc/vc-mtn.el (vc-mtn-dir-status):
8460 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
8461 (vc-hg-pull, vc-hg-merge-branch):
8462 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
8463 (vc-git-merge-branch):
8464 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
8465 (vc-cvs-dir-status-files):
8466 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
8467 (vc-bzr-dir-status-files):
8468 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
8469 * vc/vc-annotate.el: Use lexical-binding.
8470 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
8471 (vc-sentinel-movepoint): Declare.
8472 (vc-annotate): Don't use `goto-line'.
8473 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
8474 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
8475 (vc-sentinel-movepoint): Declare.
8476 * vc/vc-svn.el: Use lexical-binding.
8477 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
8479 * vc/vc-rcs.el: Use lexical-binding.
8481 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
8482 `deleted'. Don't drop errors silently.
8484 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
8486 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
8488 * vc/vc.el (vc-ignore): Rewrite.
8489 (vc-default-ignore): New function.
8490 (vc-default-ignore-completion-table): Use find-ignore-file.
8492 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
8493 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
8494 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
8495 Remove. Most code moved to vc.el.
8497 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8499 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
8500 * net/tramp-smb.el (tramp-smb-get-file-entries):
8501 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
8502 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
8504 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
8506 (eww-change-select): Remove unused var `properties'.
8507 (eww-make-unique-file-name): Remove unused var `base'.
8509 * finder.el (finder-compile-keywords): Don't mess with windows.
8511 * calculator.el (calculator-funcall): Fix typo in last change.
8513 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
8515 * emacs-lisp/package.el (package-activate-1): Don't let a missing
8516 <pkg>-autoloads.el file stop us.
8518 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
8519 warnings, and factor out common code.
8521 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
8523 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
8524 two-character operators and whether the character preceding them
8525 changes their meaning (Bug#15208).
8527 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8529 Format code sent to Python shell for robustness.
8530 * progmodes/python.el (python-shell-buffer-substring):
8532 (python-shell-send-region, python-shell-send-buffer): Use it.
8534 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
8536 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
8537 * net/tramp.el (tramp-user-error): ... here.
8538 (tramp-find-method, tramp-check-proper-host)
8539 (tramp-dissect-file-name, tramp-debug-message)
8540 (tramp-handle-shell-command):
8541 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8542 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
8544 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
8546 2013-09-02 Martin Rudalics <rudalics@gmx.at>
8548 * avoid.el (mouse-avoidance-point-position)
8549 (mouse-avoidance-too-close-p): Handle case where posn-at-point
8552 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8554 * progmodes/python.el (python-shell-completion-get-completions):
8555 Drop use of deleted `comint-last-prompt-overlay'.
8556 (python-nav-if-name-main): New command.
8558 2013-09-01 Glenn Morris <rgm@gnu.org>
8560 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8561 Avoid leading space in $wins. Otherwise the sed command used by
8562 eg compile-main ends up containing "/*.el". (Bug#15170)
8564 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
8566 2013-08-30 Glenn Morris <rgm@gnu.org>
8568 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8569 Fix is-this-a-directory logic. (Bug#15220)
8571 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8573 * textmodes/css-mode.el: Use SMIE.
8574 (css-smie-grammar): New var.
8575 (css-smie--forward-token, css-smie--backward-token)
8576 (css-smie-rules): New functions.
8577 (css-mode): Use them.
8578 (css-navigation-syntax-table): Remove var.
8579 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
8580 (css-indent-calculate, css-indent-line): Remove functions.
8582 Misc changes to reduce use of `(lambda...); and other cleanups.
8583 * cus-edit.el: Use lexical-binding.
8584 (customize-push-and-save, customize-apropos)
8585 (custom-buffer-create-internal): Use closures.
8586 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
8587 * progmodes/ada-xref.el: Use setq.
8588 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
8589 * dframe.el: Use lexical-binding.
8590 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
8591 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
8592 * descr-text.el: Use lexical-binding.
8593 (describe-text-widget, describe-text-sexp, describe-property-list):
8595 * comint.el (comint-history-isearch-push-state): Use a closure.
8596 * calculator.el: Use lexical-binding.
8597 (calculator-number-to-string): Make it work with lexical-binding.
8598 (calculator-funcall): Same and use cl-letf.
8600 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
8601 (lisp--company-doc-string, lisp--company-location): New functions.
8602 (lisp-completion-at-point): Use them to improve Company support.
8604 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
8605 params of lambda expressions.
8606 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
8607 (ruby-smie--opening-pipe-p): New function.
8608 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
8609 symbols and matched |...| for formal params.
8610 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
8611 from being treated as hanging. Handle "rescue".
8613 2013-08-29 Glenn Morris <rgm@gnu.org>
8615 * progmodes/cc-engine.el (c-pull-open-brace):
8616 Move definition before use.
8618 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8620 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
8621 are immutable. Don't use `unsafe' any more.
8622 (cl--defsubst-expand): Don't substitute at the same time as keeping
8623 a residual unused let-binding. Don't use `unsafe' any more.
8625 2013-08-29 Glenn Morris <rgm@gnu.org>
8627 * calendar/cal-china.el (calendar-chinese-year-cache):
8630 * nxml/nxml-util.el (nxml-debug-clear-inside):
8631 Use cl-loop rather than loop.
8633 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
8635 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
8637 2013-08-28 Glenn Morris <rgm@gnu.org>
8639 * progmodes/antlr-mode.el: No need to require cc-mode twice.
8641 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
8643 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
8645 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8647 * simple.el (repeat-complex-command--called-interactively-skip):
8649 (repeat-complex-command): Use it (bug#14136).
8651 * progmodes/cc-mode.el: Minor cleanup of var declarations.
8652 (c-define-abbrev-table): Add `doc' argument.
8653 (c-mode-abbrev-table, c++-mode-abbrev-table)
8654 (objc-mode-abbrev-table, java-mode-abbrev-table)
8655 (idl-mode-abbrev-table, pike-mode-abbrev-table)
8656 (awk-mode-abbrev-table): Use it.
8657 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
8658 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
8659 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
8660 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
8661 Move initialization into the declaration; and remove any
8664 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
8665 and dynamic let binding.
8667 * vc/smerge-mode.el: Remove redundant :group args.
8669 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
8672 2013-08-28 Juri Linkov <juri@jurta.org>
8674 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
8675 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
8676 (isearch-other-meta-char): Handle an undefined shifted printing
8677 character by downshifting it. (Bug#15200)
8679 2013-08-28 Juri Linkov <juri@jurta.org>
8681 * isearch.el (isearch-search): Change regexp error message for
8682 non-regexp searches. (Bug#15166)
8684 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
8686 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
8687 for portability to hosts where /bin/sh has problems.
8689 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8691 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
8693 2013-08-27 Juri Linkov <juri@jurta.org>
8695 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
8696 in the keyboard macro. (Bug#15126)
8698 2013-08-27 Juri Linkov <juri@jurta.org>
8700 * isearch.el (isearch-quote-char): Comment out converting unibyte
8701 to multibyte, thus syncing with its `quoted-insert' counterpart.
8704 2013-08-27 Martin Rudalics <rudalics@gmx.at>
8706 * window.el (display-buffer-use-some-window): Add missing
8707 argument in call of get-largest-window (Bug#15185).
8708 Reported by Stephen Leake.
8710 2013-08-27 Glenn Morris <rgm@gnu.org>
8712 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
8714 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
8716 * progmodes/python.el (python-font-lock-keywords): Don't return nil
8717 from a matcher-function unless there's no more matches (bug#15161).
8719 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
8721 * minibuffer.el: Revert change from 2013-08-20.
8723 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
8724 with text property `tramp-default', if appropriate.
8725 (tramp-check-proper-host): New defun.
8726 (tramp-dissect-file-name): Do not check hostname. Revert change
8728 (tramp-backtrace): Make VEC-OR-PROC optional.
8730 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8731 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8732 * net/tramp-sh.el (tramp-maybe-open-connection):
8733 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8734 Apply `tramp-check-proper-host'.
8736 2013-08-26 Tassilo Horn <tsdh@gnu.org>
8738 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
8739 lambda expression in order to have `describe-variable' display it.
8741 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
8743 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
8744 BUF can be optional. (Bug#15186)
8746 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
8748 * progmodes/flymake.el (flymake-get-real-file-name-function):
8749 Fix broken customization. (Bug#15184)
8751 2013-08-25 Alan Mackenzie <acm@muc.de>
8753 Improve indentation of bracelists defined by macros (without "=").
8755 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
8756 expansion begins with "{", regard it as bracelist when it doesn't
8759 Parse C++ inher-intro when there's a template split over 2 lines.
8761 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
8762 rigorously the search for "class" etc. followed by ":".
8764 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
8765 random languages a regexp which never matches rather than nil.
8767 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
8769 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
8770 (c-awk-regexp-one-line-possibly-open-char-list-re)
8771 (c-awk-one-line-possibly-open-regexp-re)
8772 (c-awk-one-line-non-syn-ws*-re): Remove.
8773 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
8774 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
8775 (c-awk-space*-unclosed-regexp-/-re): New constants.
8776 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
8777 aren't regexp delimiters.
8779 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
8780 handling for a rare situation in AWK Mode involving unterminated
8783 2013-08-23 Glenn Morris <rgm@gnu.org>
8785 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
8787 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
8789 * files.el (create-file-buffer): If the result would begin with
8790 spaces, prepend a "|" instead of removing them. (Bug#15162)
8792 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8794 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
8795 text-properties (bug#15155).
8797 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
8799 (calc-keypad-redraw): Remove unused var `pad'.
8800 (calc-keypad-press): Remove unused var `menu'.
8802 2013-08-23 Martin Rudalics <rudalics@gmx.at>
8804 * window.el (display-buffer-pop-up-frame):
8805 Call pop-up-frame-function with BUFFER current so `make-frame' will
8806 use it as the new frame's buffer (Bug#15133).
8808 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8810 * calendar/timeclock.el: Minor cleanups.
8811 (timeclock-ask-before-exiting, timeclock-use-display-time):
8813 (timeclock-modeline-display): Define as alias before the
8815 (timeclock-mode-line-display): Use define-minor-mode.
8816 (timeclock-day-list-template): Make it a function, add an argument.
8817 (timeclock-day-list-required, timeclock-day-list-length)
8818 (timeclock-day-list-debt, timeclock-day-list-span)
8819 (timeclock-day-list-break): Adjust calls accordingly.
8821 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8823 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
8824 Use read--expression so that completion works again.
8826 2013-08-21 Sam Steingold <sds@gnu.org>
8828 Add rudimentary inferior shell interaction
8829 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
8830 (sh-set-shell): Reset it.
8831 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
8832 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
8834 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
8836 * align.el: Use lexical-binding.
8837 (align-region): Simplify accordingly.
8839 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
8841 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
8843 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
8846 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
8850 * net/tramp-cmds.el:
8852 * net/tramp-gvfs.el:
8854 * net/tramp-sh.el: Don't wrap external variable declarations by
8855 `eval-when-compile'.
8857 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8859 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
8860 now that Emacs supports ImageMagick animations.
8862 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
8864 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
8865 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
8867 2013-08-16 Martin Rudalics <rudalics@gmx.at>
8869 * window.el (mouse-autoselect-window-select): Do autoselect when
8870 mouse pointer is on margin.
8872 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
8874 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
8876 2013-08-16 Glenn Morris <rgm@gnu.org>
8878 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
8879 Handle "Remote Directory" response of some clients. (Bug#15058)
8881 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
8882 Tweak warning. (Bug#14926)
8884 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
8885 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
8887 * image-mode.el (image-mode-map): Add menu items to reverse,
8888 increase, decrease, reset animation speed.
8889 (image--set-speed, image-increase-speed, image-decrease-speed)
8890 (image-reverse-speed, image-reset-speed): New functions.
8891 (image-mode-map): Add bindings for speed commands.
8893 * image.el (image-animate-get-speed, image-animate-set-speed):
8895 (image-animate-timeout): Respect image :speed property.
8897 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8899 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
8900 previous line (bug#15101).
8901 (debugger-eval-expression, debugger-record-expression):
8902 Use read--expression (bug#15102).
8904 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
8906 Remove byte compiler warnings, visible when compiling with
8907 `byte-compile-force-lexical-warnings' set to t.
8909 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
8910 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
8911 (tramp-handle-unhandled-file-name-directory)
8912 (tramp-handle-file-notify-add-watch, tramp-action-login)
8913 (tramp-action-succeed, tramp-action-permission-denied)
8914 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
8917 * net/tramp-adb.el (tramp-adb-parse-device-names)
8918 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
8919 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
8920 (tramp-adb-handle-file-truename): Remove unused arguments.
8922 * net/tramp-cache.el (tramp-flush-directory-property)
8923 (tramp-flush-connection-property, tramp-list-connections)
8924 (tramp-parse-connection-properties): Prefix unused arguments with "_".
8926 * net/tramp-compat.el (tramp-compat-make-temp-file):
8927 Rename FILENAME to F.
8929 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8930 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
8931 (tramp-zeroconf-parse-workstation-device-names)
8932 (tramp-zeroconf-parse-webdav-device-names)
8933 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
8935 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8936 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
8938 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
8940 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
8941 (tramp-sh-handle-insert-file-contents-literally)
8942 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
8944 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
8945 Remove unused variables.
8947 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
8948 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
8949 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
8951 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
8952 Make them a defconst.
8953 (tramp-uuencode-region): Remove unused variable.
8955 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
8957 * frameset.el (frameset--prop-setter): New function.
8958 (frameset-prop): Add gv-setter declaration.
8959 (frameset-filter-minibuffer): Deal with the case that the minibuffer
8960 parameter was already set in FILTERED. Doc fix.
8961 (frameset--record-minibuffer-relationships): Allow saving a
8962 minibufferless frame without its corresponding minibuffer frame.
8963 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
8964 frame, if the frame id matches.
8965 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
8966 frames before orphaned ones.
8967 (frameset-restore): Warn about orphaned windows, instead of error out.
8969 2013-08-14 Martin Rudalics <rudalics@gmx.at>
8971 * window.el (window-make-atom): Don't overwrite parameter
8973 (display-buffer-in-atom-window): Handle special case where we
8974 split an already atomic window.
8975 (window--major-non-side-window, display-buffer-in-side-window)
8976 (window--side-check): Ignore minibuffer window when walking
8978 (window-deletable-p): Return 'frame only if no other frame uses
8979 our minibuffer window.
8980 (record-window-buffer): Run buffer-list-update-hook.
8981 (split-window): Make sure window--check-frame won't destroy an
8982 existing atomic window in case the new window gets nested
8984 (display-buffer-at-bottom): Ignore minibuffer window when
8985 walking window tree. Don't split a side window.
8986 (pop-to-buffer): Don't set-buffer here, the select-window call
8988 (mouse-autoselect-window-select): Autoselect only if we are in the
8989 text portion of the window.
8991 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8993 * net/shr.el (shr-parse-image-data): New function to grab both the
8994 data itself and the Content-Type.
8995 (shr-put-image): Use it.
8997 * net/eww.el (eww-display-image): Ditto.
8999 * image.el (image-content-type-suffixes): New variable.
9001 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9003 * progmodes/python.el (python-imenu--build-tree)
9004 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9006 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9008 * simple.el (backward-word): Mention the optional argument.
9010 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9012 * frameset.el (frameset--make): Rename constructor from make-frameset.
9013 (frameset-p, frameset-valid-p): Don't autoload.
9014 (frameset-valid-p): Use normal accessors.
9016 2013-08-13 Glenn Morris <rgm@gnu.org>
9018 * progmodes/compile.el (compile-command): Tweak example in doc.
9019 * obsolete/scribe.el (scribe-mode):
9020 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9022 * mail/feedmail.el (feedmail-confirm-outgoing)
9023 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9025 * cus-start.el (truncate-partial-width-windows): Fix type.
9027 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9029 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9031 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9033 * emacs-lisp/timer.el (timer--time-setter): New function.
9034 (timer--time): Use it as gv-setter.
9036 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9037 setter is not a symbol.
9039 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9041 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9042 if sending fails. This makes debugging easier.
9044 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9046 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9047 revno:113793, which breaks the test suite).
9048 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9050 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9052 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9054 2013-08-12 Glenn Morris <rgm@gnu.org>
9056 * format.el (format-annotate-function):
9057 Handle read-only text properties in the source. (Bug#14887)
9059 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9061 * net/eww.el (eww-display-html): Ignore coding system errors.
9062 One web site uses "utf-8lias" as the coding system.
9064 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9066 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9068 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9070 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9071 (tutorial--detailed-help): Remove unused local variables.
9072 (tutorial--save-tutorial-to): Use ignore-errors.
9073 (help-with-tutorial): Use looking-at-p.
9075 * view.el (view-buffer-other-window, view-buffer-other-frame):
9076 Mark unused arguments.
9078 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9079 (woman-select-symbol-fonts, woman, woman-find-file)
9080 (woman-insert-file-contents, woman-non-underline-faces):
9082 (woman1-unquote): Move declaration.
9084 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9085 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9086 argument. Remove unused local variable.
9087 (xml-parse-elem-type): Use string-match-p.
9088 (xml-substitute-numeric-entities): Use ignore-errors.
9090 * calculator.el (calculator): Mark unused argument.
9091 (calculator-paste, calculator-quit, calculator-integer-p):
9093 (calculator-string-to-number, calculator-decimal, calculator-exp)
9094 (calculator-op-or-exp): Use string-match-p.
9096 * dired.el (dired-buffer-more-recently-used-p): Declare.
9097 (dired-insert-set-properties, dired-insert-old-subdirs):
9100 * dired-aux.el (dired-compress): Use ignore-errors.
9101 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9102 (dired-do-async-shell-command, dired-do-shell-command)
9103 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9104 (dired-insert-subdir-validate): Use string-match-p.
9105 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9106 (dired-add-entry): Use string-match-p, looking-at-p.
9107 (dired-insert-subdir-newpos): Remove unused local variable.
9109 * filenotify.el (file-notify-callback): Remove unused local variable.
9111 * filesets.el (filesets-error): Mark unused argument.
9112 (filesets-which-command-p, filesets-filter-dir-names)
9113 (filesets-directory-files, filesets-get-external-viewer)
9114 (filesets-ingroup-get-data): Use string-match-p.
9116 * find-file.el (ff-other-file-name, ff-other-file-name)
9117 (ff-find-the-other-file, ff-cc-hh-converter):
9118 Remove unused local variables.
9119 (ff-get-file-name): Use string-match-p.
9120 (ff-all-dirs-under): Use ignore-errors.
9122 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9123 (follow-select-if-visible): Remove unused local variable.
9125 * forms.el (read-file-filter): Move declaration.
9126 (forms--make-format, forms--make-parser, forms-insert-record):
9127 Quote function with #'.
9128 (forms--update): Use string-match-p. Quote function with #'.
9130 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9131 (help-make-xrefs): Use looking-at-p.
9132 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9134 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9135 (ibuffer-confirm-operation-on): Use string-match-p.
9137 * msb.el (msb-item-handler, msb-dired-item-handler):
9138 Mark unused arguments.
9140 * ses.el (ses-decode-cell-symbol)
9141 (ses-kill-override): Remove unused local variable.
9142 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9143 (ses-load): Use ignore-errors, looking-at-p.
9144 (ses-jump-safe): Use ignore-errors.
9145 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9147 * tabify.el (untabify, tabify): Mark unused arguments.
9149 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9150 Mark unused argument.
9151 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9152 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9154 * emacs-lisp/timer.el (timer--time): Define setter with
9155 gv-define-setter to avoid deprecation warning.
9157 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9158 (*record-cmpl-statistics-p*): Remove (was commented out).
9159 (cmpl-statistics-block): Remove (body was commented out).
9160 All callers changed.
9161 (add-completions-from-buffer, load-completions-from-file):
9162 Remove unused variables.
9164 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9166 * filecache.el (file-cache-delete-file-list):
9167 Print message only when told so.
9168 (file-cache-files-matching): Use #' in mapconcat argument.
9170 * ffap.el (ffap-url-at-point): Fix reference to variable
9171 thing-at-point-default-mail-uri-scheme.
9173 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9175 * subr.el (define-error): New function.
9176 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9177 error-file-not-found and define with define-error.
9178 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9179 and define with define-error.
9180 * userlock.el (file-locked, file-supersession):
9181 * simple.el (mark-inactive):
9182 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9183 * progmodes/ada-mode.el (ada-mode-errors):
9184 * play/life.el (life-extinct):
9185 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9186 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9187 * nxml/rng-util.el (rng-error):
9188 * nxml/rng-uri.el (rng-uri-error):
9189 * nxml/rng-match.el (rng-compile-error):
9190 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9191 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9192 * nxml/nxml-rap.el (nxml-scan-error):
9193 * nxml/nxml-outln.el (nxml-outline-error):
9194 * net/soap-client.el (soap-error):
9195 * net/gnutls.el (gnutls-error):
9196 * net/ange-ftp.el (ftp-error):
9197 * mpc.el (mpc-proc-error):
9198 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9199 (json-number-format, json-string-escape, json-string-format)
9200 (json-key-format, json-object-format):
9201 * jka-compr.el (compression-error):
9202 * international/quail.el (quail-error):
9203 * international/kkc.el (kkc-error):
9204 * emacs-lisp/ert.el (ert-test-failed):
9205 * calc/calc.el (calc-error, inexact-result, math-overflow)
9207 * bookmark.el (bookmark-error-no-filename):
9208 * epg.el (epg-error): Define with define-error.
9210 * time.el (display-time-event-handler)
9211 (display-time-next-load-average): Don't call sit-for since it seems
9212 unnecessary (bug#15045).
9214 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9215 Use #' instead of ' to quote functions.
9216 (checkdoc-output-mode): Use setq-local.
9217 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9218 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9219 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9220 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9221 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9222 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9223 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9224 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9226 * ido.el (ido-completion-help): Fix up compiler warning.
9228 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9230 * frameset.el (frameset-p): Add autoload cookie.
9231 (frameset--jump-to-register): New function, based on code moved from
9233 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9235 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9236 (frameset-restore, frameset-save, frameset-session-filter-alist):
9237 Remove declarations.
9238 (register-alist): Doc fix.
9239 (frameset-to-register): Move to frameset.el.
9240 (jump-to-register, describe-register-1): Remove frameset-specific code.
9242 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9244 * allout-widgets.el (allout-widgets-pre-command-business)
9245 (allout-widgets-post-command-business)
9246 (allout-widgets-after-change-handler)
9247 (allout-decorate-item-and-context, allout-set-boundary-marker)
9248 (allout-body-modification-handler)
9249 (allout-graphics-modification-handler): Mark ignored arguments.
9250 (allout-widgets-post-command-business)
9251 (allout-widgets-exposure-change-processor)
9252 (allout-widgets-exposure-undo-processor)
9253 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9254 (allout-parse-item-at-point, allout-decorate-item-guides)
9255 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9256 * allout.el (epa-passphrase-callback-function): Declare.
9257 (allout-overlay-insert-in-front-handler)
9258 (allout-overlay-interior-modification-handler)
9259 (allout-isearch-end-handler, allout-chart-siblings)
9260 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9261 (allout-yank-processing, allout-process-exposed)
9262 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
9263 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9264 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9265 (lisp-indent-defform): Mark ignored arguments.
9266 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9267 (calculate-lisp-indent): Remove unused variables.
9268 * international/characters.el (indian-2-column, arabic-2-column)
9269 (tibetan): Mark ignored arguments.
9270 (use-cjk-char-width-table): Mark ignored arguments.
9271 Remove unused variables.
9272 * international/fontset.el (build-default-fontset-data)
9273 (x-compose-font-name, create-fontset-from-fontset-spec):
9274 Mark ignored arguments.
9275 (fontset-plain-name): Remove unused variables.
9276 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9277 (keyboard-coding-system): Mark ignored arguments.
9278 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9279 * help.el (resize-temp-buffer-window):
9280 * window.el (display-buffer-in-major-side-window)
9281 (display-buffer-in-side-window, display-buffer-in-previous-window):
9282 Remove unused variables.
9283 * isearch.el (isearch-forward-symbol):
9284 * version.el (emacs-bzr-version-bzr):
9285 * international/mule-cmds.el (current-language-environment):
9286 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9288 * term/pc-win.el (x-list-fonts, x-display-planes)
9289 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9290 (x-server-version, x-display-screens, x-display-mm-height)
9291 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9292 (x-selection-owner-p, x-own-selection-internal)
9293 (x-disown-selection-internal, x-get-selection-internal)
9294 (msdos-initialize-window-system):
9295 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9296 * term/x-win.el (x-handle-no-bitmap-icon):
9297 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9298 (vc-default-find-file-hook, vc-default-extra-menu):
9299 Mark ignored arguments.
9301 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9303 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9304 break-condition in the context of the debugged code (bug#12685).
9306 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9309 Do not use an overlay to highlight the last prompt. (Bug#14744)
9310 (comint-mode): Make comint-last-prompt buffer local.
9311 (comint-last-prompt): New variable.
9312 (comint-last-prompt-overlay): Remove. Superseded by
9314 (comint-snapshot-last-prompt, comint-output-filter):
9315 Use comint-last-prompt.
9317 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9319 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
9320 (frameset-save): Check validity of the resulting frameset.
9322 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9324 * ido.el (ido-record-command): Add doc string.
9326 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9328 * frameset.el (frameset): Do not disable creation of the default
9329 frameset-p predicate. Doc fix.
9330 (frameset-valid-p): New function, copied from the old predicate-p.
9331 Add additional checks.
9332 (frameset-restore): Check with frameset-valid-p.
9333 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9334 (frameset-name, frameset-description, frameset-properties)
9335 (frameset-states): Add docstring.
9336 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9337 (frameset-filter-alist): Doc fixes.
9339 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9341 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9343 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9345 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9346 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9347 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9348 (byte-compile-normal-call): Remove obsolescence check.
9350 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9352 * frameset.el (frameset-restore): Doc fix.
9354 * register.el (frameset-frame-id, frameset-frame-with-id)
9355 (frameset-p, frameset-restore, frameset-save): Declare.
9356 (register-alist): Document framesets.
9357 (frameset-session-filter-alist): Declare.
9358 (frameset-to-register): New function.
9359 (jump-to-register): Implement jumping to framesets. Doc fix.
9360 (describe-register-1): Describe framesets.
9362 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9364 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
9366 * desktop.el (desktop-save-frameset): Use new frameset-save args.
9367 Use lexical-binding.
9369 * frameset.el (frameset): Use type vector, not list (incompatible
9370 change). Do not declare a new constructor, use the default one.
9371 Upgrade suggested properties `app', `name' and `desc' to slots `app',
9372 `name' and `description', respectively, and add read-only slot
9373 `timestamp'. Doc fixes.
9374 (frameset-copy, frameset-persistent-filter-alist)
9375 (frameset-filter-alist, frameset-switch-to-gui-p)
9376 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
9377 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
9378 (frameset-filter-iconified, frameset-keep-original-display-p):
9380 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
9381 Rename from frameset-filter-(save|restore)-param. All callers changed.
9383 (frameset-p): Adapt to change to vector and be more thorough.
9384 Change arg name to OBJECT. Doc fix.
9385 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
9386 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
9387 All callers changed.
9388 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
9389 All callers changed.
9390 (frameset--record-minibuffer-relationships): Rename from
9391 frameset--process-minibuffer-frames. All callers changed.
9392 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
9393 Use new default constructor (again). Doc fix.
9394 (frameset--find-frame-if): Rename from `frameset--find-frame'.
9395 All callers changed.
9396 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
9397 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
9399 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
9400 PARAMETERS and WINDOW-STATE, respectively.
9401 (frameset-restore): Add new keyword argument PREDICATE.
9402 Reset frameset--target-display to nil. Doc fix.
9404 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9406 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
9408 (bat-mode-syntax-table): Mark \n as end-of-comment.
9409 (bat-font-lock-keywords): Remove comment rule.
9411 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
9412 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
9414 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
9415 (byte-compile-callargs-warn): Use `push'.
9416 (byte-compile-arglist-warn): Ignore higher-order "calls".
9417 (byte-compile-file-form-autoload): Use `pcase'.
9418 (byte-compile-function-form): If quoting a symbol, check that it exists.
9420 2013-08-07 Eli Zaretskii <eliz@gnu.org>
9422 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
9423 and add a few popular commands found in batch files.
9424 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
9425 (dos-mode): Doc fixes.
9427 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9429 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
9430 (dos-mode): Use setq-local. Add space after "rem".
9431 (dos-mode-syntax-table): Don't use "w" for symbol chars.
9432 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
9434 2013-08-07 Arni Magnusson <arnima@hafro.is>
9436 * progmodes/dos.el: New file.
9437 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
9440 2013-08-06 Glenn Morris <rgm@gnu.org>
9442 * calendar/calendar.el: Add new faces, and day-header-array.
9443 (calendar-weekday-header, calendar-weekend-header)
9444 (calendar-month-header): New faces.
9445 (calendar-day-header-construct): New function.
9446 (calendar-day-header-width): Also :set calendar-day-header-array.
9447 (calendar-american-month-header, calendar-european-month-header)
9448 (calendar-iso-month-header): Use calendar- faces.
9449 (calendar-generate-month):
9450 Use calendar-day-header-array for day headers; apply faces to them.
9451 (calendar-mode): Check calendar-font-lock-keywords non-nil.
9452 (calendar-abbrev-construct): Add optional maxlen argument.
9453 (calendar-day-name-array): Doc fix.
9454 (calendar-day-name-array, calendar-abbrev-length)
9455 (calendar-day-abbrev-array):
9456 Also :set calendar-day-header-array, and maybe redraw.
9457 (calendar-day-header-array): New option. (Bug#15007)
9458 (calendar-font-lock-keywords): Set to nil and make obsolete.
9459 (calendar-day-name): Add option to use header array.
9461 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9463 * net/shr.el (shr-render-td): Remove debugging.
9464 (shr-render-td): Make width computation consistent by defaulting
9465 all zero-width columns to 10 characters. This may not be optimal,
9466 but it's at least consistent.
9467 (shr-make-table-1): Redo last change to fix the real problem in
9470 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9472 * files.el (cache-long-line-scans):
9473 Make obsolete alias to `cache-long-scans'.
9475 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
9477 * frameset.el (frameset, frameset-filter-alist)
9478 (frameset-filter-params, frameset-save, frameset--reuse-frame)
9479 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
9480 (frameset-compute-pos): Rename from frameset--compute-pos,
9482 (frameset-move-onscreen): Use frameset-compute-pos.
9483 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9485 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
9486 Fix typos in docstrings.
9488 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9490 * frame.el (get-other-frame): Tiny cleanup.
9492 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
9494 * vc/vc.el (vc-default-ignore-completion-table):
9495 Silence byte-compiler warning.
9497 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
9498 slot, which can indeed be nil.
9499 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9500 Move entry for `left' from persistent to live filter alist.
9501 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
9503 (frameset-filter-params): When restoring a frame, copy items added to
9504 `filtered', to avoid unwittingly modifying the original parameters.
9505 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
9506 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
9508 * dired.el (dired-insert-directory): Revert change in revno:113117
9509 to use looking-at-p instead of looking-at. (Bug#15028)
9511 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9513 Revert introduction of isearch-filter-predicates (bug#14714).
9514 Rely on add-function instead.
9515 * isearch.el (isearch-filter-predicates): Rename it back to
9516 isearch-filter-predicate.
9517 (isearch-message-prefix): Use advice-function-mapc and advice
9518 properties to get the isearch-message-prefix.
9519 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
9520 instead of run-hook-with-args-until-failure.
9521 (isearch-filter-visible): Not obsolete any more.
9522 * loadup.el: Preload nadvice.
9523 * replace.el (perform-replace): Revert to funcall
9524 instead of run-hook-with-args-until-failure.
9525 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
9526 * dired-aux.el (dired-isearch-filenames-mode): Rename from
9527 dired-isearch-filenames-toggle; make it into a proper minor mode.
9528 Use add/remove-function.
9529 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
9530 Call the minor-mode rather than add/remove-hook.
9531 (dired-isearch-filter-filenames):
9532 Remove isearch-message-prefix property.
9533 * info.el (Info--search-loop): New function, extracted from Info-search.
9534 Funcall isearch-filter-predicate instead of
9535 run-hook-with-args-until-failure isearch-filter-predicates.
9536 (Info-search): Use it.
9537 (Info-mode): Use isearch-filter-predicate instead of
9538 isearch-filter-predicates.
9540 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9542 Do not call to `selected-window' where it is assumed by default.
9543 Affected functions are `window-minibuffer-p', `window-dedicated-p',
9544 `window-hscroll', `window-width', `window-height', `window-buffer',
9545 `window-frame', `window-start', `window-point', `next-window'
9546 and `window-display-table'.
9547 * abbrev.el (abbrev--default-expand):
9548 * bs.el (bs--show-with-configuration):
9549 * buff-menu.el (Buffer-menu-mouse-select):
9550 * calc/calc.el (calc):
9551 * calendar/calendar.el (calendar-generate-window):
9552 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
9554 * comint.el (send-invisible, comint-dynamic-complete-filename)
9555 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
9556 * completion.el (complete):
9557 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
9558 * disp-table.el (describe-current-display-table):
9559 * doc-view.el (doc-view-insert-image):
9560 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
9561 * ehelp.el (with-electric-help):
9562 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9563 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
9564 * emacs-lisp/helper.el (Helper-help-scroller):
9565 * emulation/cua-base.el (cua--post-command-handler-1):
9566 * eshell/esh-mode.el (eshell-output-filter):
9567 * ffap.el (ffap-gnus-wrapper):
9568 * help-macro.el (make-help-screen):
9569 * hilit-chg.el (highlight-compare-buffers):
9570 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
9571 * hl-line.el (global-hl-line-highlight):
9572 * icomplete.el (icomplete-simple-completing-p):
9573 * isearch.el (isearch-done):
9574 * jit-lock.el (jit-lock-stealth-fontify):
9575 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
9576 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
9577 * mpc.el (mpc-tagbrowser, mpc):
9578 * net/rcirc.el (rcirc-any-buffer):
9579 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
9580 * play/landmark.el (landmark-max-width, landmark-max-height):
9581 * play/zone.el (zone):
9582 * progmodes/compile.el (compilation-goto-locus):
9583 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
9584 * progmodes/etags.el (find-tag-other-window):
9585 * progmodes/fortran.el (fortran-column-ruler):
9586 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
9587 * progmodes/verilog-mode.el (verilog-point-text):
9588 * reposition.el (reposition-window):
9589 * rot13.el (toggle-rot13-mode):
9590 * server.el (server-switch-buffer):
9591 * shell.el (shell-dynamic-complete-command)
9592 (shell-dynamic-complete-environment-variable):
9593 * simple.el (insert-buffer, set-selective-display)
9594 (delete-completion-window):
9595 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
9596 (speedbar-recenter):
9597 * startup.el (fancy-splash-head):
9598 * textmodes/ispell.el (ispell-command-loop):
9599 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
9600 * tutorial.el (help-with-tutorial):
9601 * vc/add-log.el (add-change-log-entry):
9602 * vc/compare-w.el (compare-windows):
9603 * vc/ediff-help.el (ediff-indent-help-message):
9604 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
9605 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
9606 (ediff-setup-control-frame):
9607 * vc/emerge.el (emerge-position-region):
9608 * vc/pcvs-util.el (cvs-bury-buffer):
9609 * window.el (walk-windows, mouse-autoselect-window-select):
9610 * winner.el (winner-set-conf, winner-undo): Related users changed.
9612 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
9614 * frameset.el (frameset--set-id): Doc fix.
9615 (frameset-frame-id, frameset-frame-id-equal-p)
9616 (frameset-locate-frame-id): New functions.
9617 (frameset--process-minibuffer-frames, frameset--reuse-frame)
9618 (frameset-restore): Use them.
9620 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9622 Do not call to `selected-frame' where it is assumed by default.
9623 Affected functions are `raise-frame', `redraw-frame',
9624 `frame-first-window', `frame-terminal' and `delete-frame'.
9625 * calendar/appt.el (appt-disp-window):
9626 * epg.el (epg-wait-for-completion):
9627 * follow.el (follow-delete-other-windows-and-split)
9628 (follow-avoid-tail-recenter):
9629 * international/mule.el (set-terminal-coding-system):
9630 * mail/rmail.el (rmail-mail-return):
9631 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
9632 * progmodes/f90.el (f90-add-imenu-menu):
9633 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
9634 * server.el (server-switch-buffer):
9635 * simple.el (delete-completion-window):
9637 * term/xterm.el (terminal-init-xterm-modify-other-keys)
9638 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
9639 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
9640 * vc/ediff.el (ediff-documentation): Related users changed.
9641 * frame.el (selected-terminal): Remove the leftover.
9643 2013-08-05 Glenn Morris <rgm@gnu.org>
9645 * calendar/calendar.el (calendar-generate-month):
9646 Fix for calendar-column-width != 1 + calendar-day-digit-width.
9647 (calendar-generate-month, calendar-font-lock-keywords):
9648 Fix for calendar-day-header-width > length of any day name.
9650 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
9652 * desktop.el (desktop-clear): Use new name of sort predicate.
9654 * frameset.el (frameset): Add docstring. Move :version property to its
9656 (frameset-copy): Rename from copy-frameset.
9657 (frameset-p): Check more thoroughly.
9658 (frameset-prop): Do not check for :version, which is no longer a prop.
9659 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9660 Use new :never value instead of t.
9661 (frameset-filter-alist): Expand and clarify docstring.
9662 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
9663 (frameset-filter-minibuffer, frameset-filter-save-param)
9664 (frameset-filter-restore-param, frameset-filter-iconified):
9665 Add pointer to docstring of frameset-filter-alist.
9666 (frameset-filter-params): Rename filter values to be more meaningful:
9667 :never instead of t, and reverse the meanings of :save and :restore.
9668 (frameset--process-minibuffer-frames): Clarify error message.
9669 (frameset-save): Avoid unnecessary and confusing call to framep.
9670 Use new BOA constructor for framesets.
9671 (frameset--reuse-list): Doc fix.
9672 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
9673 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
9674 (frameset-minibufferless-first-p): Doc fix.
9675 Rename from frameset-sort-frames-for-deletion.
9676 (frameset-restore): Doc fixes. Use new function names.
9677 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9679 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
9681 * desktop.el (desktop-restore-forces-onscreen)
9682 (desktop-restore-reuses-frames): Document :keyword constant values.
9683 (desktop-filter-parameters-alist): Remove, now identical to
9684 frameset-filter-alist.
9685 (desktop--filter-tty*): Remove, moved to frameset.el.
9686 (desktop-save-frameset, desktop-restore-frameset):
9687 Do not pass :filters argument.
9689 * frameset.el (frameset-live-filter-alist)
9690 (frameset-persistent-filter-alist): New variables.
9691 (frameset-filter-alist): Use them. Add autoload cookie.
9692 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
9693 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
9694 `frameset--id' (it's supposed to be internal to frameset.el).
9695 (frameset--process-minibuffer-frames): Ditto. Doc fix.
9696 (frameset--initial-params): New function.
9697 (frameset--get-frame): Use it. Doc fix.
9698 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
9699 Accept :all, not 'all.
9700 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
9701 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
9702 with fbound symbols. Fix frame id matching, and remove matching ids if
9703 the frame being restored is deleted. Obey :delete.
9705 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9707 * subr.el (macrop): New function.
9708 (text-clone--maintaining): New var.
9709 (text-clone--maintain): Rename from text-clone-maintain. Use it
9710 instead of inhibit-modification-hooks.
9712 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
9713 a proxy, so as handle autoloads and redefinitions of the target.
9714 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
9716 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
9717 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
9718 (pcase--mutually-exclusive-p): New function.
9719 (pcase--split-consp): Use it.
9720 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
9721 mutually exclusive with the current predicate.
9723 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
9724 (edebug-macrop): Remove. Use `macrop' instead.
9725 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
9727 * eshell/esh-cmd.el (eshell-macrop):
9728 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
9730 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9732 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
9733 (advice-mapc): New function, using it.
9734 (advice-function-member-p): New function.
9735 (advice--normalize): Store the cdr in advice--saved-rewrite since
9736 that's the part that will be changed.
9737 (advice--symbol-function): New function.
9738 (advice-remove): Handle removal before the function is defined.
9739 Adjust to new advice--saved-rewrite.
9740 (advice-member-p): Use advice-function-member-p and
9741 advice--symbol-function.
9743 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
9745 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
9746 (frameset-filter-minibuffer): Doc fix.
9747 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
9748 (frameset--set-id, frameset--process-minibuffer-frames)
9749 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
9750 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
9752 * desktop.el (desktop-clear): Only delete frames when called
9753 interactively and desktop-restore-frames is non-nil. Doc fix.
9754 (desktop-read): Set desktop-saved-frameset to nil.
9756 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
9758 * vc/vc.el (vc-ignore): Rewrite.
9759 (vc-default-ignore-completion-table, vc--read-lines)
9760 (vc--add-line, vc--remove-regexp): New functions.
9762 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
9763 (vc-svn-ignore-completion-table): New function.
9765 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
9766 (vc-hg-ignore-completion-table)
9767 (vc-hg-find-ignore-file): New functions.
9769 * vc/vc-git.el (vc-git-ignore): Rewrite.
9770 (vc-git-ignore-completion-table)
9771 (vc-git-find-ignore-file): New functions.
9773 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
9775 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
9776 (vc-bzr-ignore-completion-table)
9777 (vc-bzr-find-ignore-file): New functions.
9779 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
9781 * frameset.el (frameset-prop): New function and setter.
9782 (frameset-save): Do not modify frame list passed by the caller.
9784 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9786 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
9788 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9790 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
9791 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
9793 * custom.el (custom-initialize-default, custom-initialize-set)
9794 (custom-initialize-reset, custom-initialize-changed): Affect the
9795 toplevel-default-value (bug#6275, bug#14586).
9796 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
9799 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
9801 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9802 Add cl-def* expressions.
9804 * frameset.el (frameset-filter-params): Fix order of arguments.
9806 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
9808 Move code related to saving frames to frameset.el.
9809 * desktop.el: Require frameset.
9810 (desktop-restore-frames): Doc fix.
9811 (desktop-restore-reuses-frames): Rename from
9812 desktop-restoring-reuses-frames.
9813 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
9814 (desktop-clear): Clear frames too.
9815 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
9816 (desktop--filter-tty*, desktop-save, desktop-read):
9817 Use frameset functions.
9818 (desktop-before-saving-frames-functions, desktop--filter-*-color)
9819 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9820 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
9821 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
9822 (desktop--process-minibuffer-frames, desktop-save-frames)
9823 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
9824 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
9825 (desktop--sort-states, desktop-restoring-frames-p)
9826 (desktop-restore-frames): Remove. Most code moved to frameset.el.
9827 (desktop-restoring-frameset-p, desktop-restore-frameset)
9828 (desktop--check-dont-save, desktop-save-frameset): New functions.
9829 (desktop--app-id): New constant.
9830 (desktop-first-buffer, desktop-buffer-ok-count)
9831 (desktop-buffer-fail-count): Move before first use.
9832 * frameset.el: New file.
9834 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9836 * files.el: Use lexical-binding.
9837 (dir-locals-read-from-file): Remove unused `err' variable.
9838 (hack-dir-local-variables--warned-coding): New var.
9839 (hack-dir-local-variables): Use it to avoid repeated warnings.
9840 (make-backup-file-name--default-function): New function.
9841 (make-backup-file-name-function): Use it as default.
9842 (buffer-stale--default-function): New function.
9843 (buffer-stale-function): Use it as default.
9844 (revert-buffer-insert-file-contents--default-function): New function.
9845 (revert-buffer-insert-file-contents-function): Use it as default.
9846 (insert-directory): Avoid add-to-list.
9848 * autorevert.el (auto-revert-handler): Simplify.
9849 Use buffer-stale--default-function.
9851 2013-08-01 Tassilo Horn <tsdh@gnu.org>
9853 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
9855 * whitespace.el (whitespace-ensure-local-variables): New function.
9856 (whitespace-cleanup-region): Call it.
9857 (whitespace-turn-on): Call it.
9859 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
9861 Complete file name handlers.
9863 * net/tramp.el (tramp-handle-set-visited-file-modtime)
9864 (tramp-handle-verify-visited-file-modtime)
9865 (tramp-handle-file-notify-rm-watch): New functions.
9866 (tramp-call-process): Do not bind `default-directory'.
9868 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9869 Order alphabetically.
9870 <access-file, add-name-to-file, dired-call-process>:
9871 <dired-compress-file, file-acl, file-notify-rm-watch>:
9872 <file-ownership-preserved-p, file-selinux-context>:
9873 <make-directory-internal, make-symbolic-link, set-file-acl>:
9874 <set-file-selinux-context, set-visited-file-modtime>:
9875 <verify-visited-file-modtime>: Add handler.
9876 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
9878 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
9879 <file-notify-add-watch, file-notify-rm-watch>:
9880 <set-file-times, set-visited-file-modtime>:
9881 <verify-visited-file-modtime>: Add handler.
9882 (with-tramp-gvfs-error-message)
9883 (tramp-gvfs-handle-set-visited-file-modtime)
9884 (tramp-gvfs-fuse-file-name): Remove.
9885 (tramp-gvfs-handle-file-notify-add-watch)
9886 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
9887 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
9889 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9890 Order alphabetically.
9891 <file-notify-rm-watch>: Use default Tramp handler.
9892 <executable-find>: Remove private handler.
9893 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
9894 `default-directory'.
9895 (tramp-sh-handle-executable-find)
9896 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
9897 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9898 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
9899 Do not use `format' in `tramp-message'.
9901 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
9902 <file-notify-rm-watch, set-visited-file-modtime>:
9903 <verify-visited-file-modtime>: Add handler.
9904 (tramp-smb-call-winexe): Do not bind `default-directory'.
9906 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
9908 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
9910 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
9912 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
9914 (log-view-diff-changeset): Same.
9915 (log-view-diff-common): Call backend command `previous-revision'
9916 to find out the previous revision, in both cases. Swap the
9917 variables `to' and `fr', so that `fr' usually refers to the
9918 earlier revision (Bug#14989).
9920 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
9922 * ibuf-ext.el (ibuffer-filter-by-filename):
9923 Make it work with dired buffers too.
9925 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
9927 * emacs-lisp/re-builder.el (reb-color-display-p):
9928 * files.el (save-buffers-kill-terminal):
9929 * net/browse-url.el (browse-url):
9930 * server.el (server-save-buffers-kill-terminal):
9931 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
9932 Prefer nil to selected-frame for the first arg of frame-parameter.
9934 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
9936 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
9938 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
9940 * minibuffer.el (completion--twq-all): Try and preserve each
9941 completion's case choice (bug#14907).
9943 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9945 * net/network-stream.el (open-network-stream): Mention the new
9946 :nogreeting parameter.
9947 (network-stream-open-starttls): Use the :nogreeting parameter
9950 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
9952 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
9953 more natural than popping.
9955 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
9956 (shr-urlify): Highlight under mouse.
9958 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9960 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
9962 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
9964 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
9967 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
9968 point-min==1. Fix search string. Fix parentheses missing.
9970 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
9971 assume point-min==1. Fix search string. Fix parentheses missing.
9973 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
9975 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
9978 2013-07-29 Eli Zaretskii <eliz@gnu.org>
9980 * frame.el (frame-notice-user-settings): Avoid inflooping when the
9981 initial frame is minibuffer-less. (Bug#14841)
9983 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
9985 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
9988 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9989 (tramp-maybe-open-connection): Use it.
9991 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
9993 * desktop.el (desktop--make-frame): Include `minibuffer' in the
9994 minimal set of parameters passed when creating a frame, because
9995 the minibuffer status of a frame cannot be changed later.
9997 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
9999 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10000 replace-regexp-in-string and inadvertent omissions in previous change.
10001 (todo-filter-items): Ensure only file names are comma-separated in
10002 name of filtered items buffer.
10004 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10006 * desktop.el: Optionally force offscreen frames back onscreen.
10007 (desktop-restoring-reuses-frames): New option.
10008 (desktop--compute-pos, desktop--move-onscreen): New functions.
10009 (desktop--make-frame): Use desktop--move-onscreen.
10011 2013-07-27 Alan Mackenzie <acm@muc.de>
10013 Fontify a Java generic method as a function.
10014 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10017 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10019 * calendar/todo-mode.el: Add command to rename todo files.
10020 (todo-rename-file): New command.
10021 (todo-key-bindings-t): Add key binding for it. Change the
10022 bindings of todo-filter-regexp-items(-multifile) to use `x'
10023 instead of `r', since the latter is better suited to the new
10026 2013-07-27 Alan Mackenzie <acm@muc.de>
10028 Make Java try-with-resources statement parse properly.
10029 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10030 (c-block-stmt-1-2-key): New language constants/variables.
10031 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10032 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10033 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10034 with c-block-stmt-1-2-key.
10036 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10038 * desktop.el (desktop--make-frame): Apply most frame parameters after
10039 creating the frame to force (partially or totally) offscreen frames to
10040 be restored as such.
10042 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10044 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10047 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10049 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10050 `base' arg of backtrace-frame.
10052 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10054 * simple.el (list-processes): Doc fix.
10056 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10058 * desktop.el (desktop--select-frame):
10059 Try harder to reuse existing frames.
10061 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10063 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10064 (edebug-eval): Use backtrace-eval.
10065 (edebug--display, edebug--recursive-edit): Don't let-bind the
10066 edebug-outer-* vars that keep track of variables we locally let-bind.
10067 (edebug-outside-excursion): Don't restore outside values of locally
10069 (edebug--display): Use user-error.
10070 (cl-lexical-debug, cl-debug-env): Remove.
10072 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10074 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10075 are restored to be sure that they are visible before deleting any
10078 2013-07-26 Matthias Meulien <orontee@gmail.com>
10080 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10081 vc-print-root-log. (Bug#14948)
10083 2013-07-26 Richard Stallman <rms@gnu.org>
10085 Add aliases for encrypting mail.
10086 * epa.el (epa-mail-aliases): New option.
10087 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10088 Bind inhibit-read-only so read-only text doesn't ruin everything.
10089 (epa-mail-default-recipients): New subroutine broken out.
10090 Handle epa-mail-aliases.
10092 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10094 Add support for lexical variables to the debugger's `e' command.
10095 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10096 vars, except for debugger-outer-match-data.
10097 (debugger-frame-number): Move check for "on a function call" from
10098 callers into it. Add `skip-base' argument.
10099 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10100 (debugger-env-macro): Only reset the state stored in non-variables,
10101 i.e. current-buffer and match-data.
10102 (debugger-eval-expression): Rewrite using backtrace-eval.
10103 * subr.el (internal--called-interactively-p--get-frame): Remove.
10104 (called-interactively-p):
10105 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10106 `base' arg of backtrace-frame instead.
10108 2013-07-26 Glenn Morris <rgm@gnu.org>
10110 * align.el (align-regexp): Doc fix. (Bug#14857)
10111 (align-region): Explicit error if subexpression missing/does not match.
10113 * simple.el (global-visual-line-mode):
10114 Do not duplicate the mode lighter. (Bug#14858)
10116 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10118 * window.el (display-buffer): In display-buffer bind
10119 split-window-keep-point to t, bug#14829.
10121 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10123 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10124 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10125 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10126 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10127 Change accordingly.
10128 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10129 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10131 2013-07-25 Glenn Morris <rgm@gnu.org>
10133 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10135 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10137 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10138 parameter to modify-frame-parameters if the value has not changed;
10139 this is a workaround for bug#14949.
10140 (desktop--make-frame): On cl-delete-if call, check parameter name,
10141 not full parameter.
10143 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10145 * vc/vc.el (vc-ignore): New function.
10147 * vc/vc-svn.el (vc-svn-ignore): New function.
10149 * vc/vc-hg.el (vc-hg-ignore): New function.
10151 * vc/vc-git.el (vc-git-ignore): New function.
10153 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10154 (vc-dir-ignore): New function.
10156 * vc/vc-cvs.el (vc-cvs-ignore): New function.
10157 (cvs-append-to-ignore): Move here from pcvs.el.
10159 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10161 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10163 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
10165 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10166 (desktop-restore-frames): Warn when deleting an existing frame failed.
10168 2013-07-24 Glenn Morris <rgm@gnu.org>
10170 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10172 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
10174 * filenotify.el (file-notify-supported-p):
10175 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10178 * autorevert.el (auto-revert-use-notify)
10179 (auto-revert-notify-add-watch):
10180 * net/tramp.el (tramp-file-name-for-operation):
10181 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10182 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10183 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10184 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10185 Remove `file-notify-supported-p' entry.
10187 2013-07-24 Glenn Morris <rgm@gnu.org>
10189 * printing.el: Replace all uses of deleted ps-windows-system,
10190 ps-lp-system, ps-flatten-list with lpr- versions.
10192 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10194 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10195 checked with memq (bug#14935).
10197 * files.el (revert-buffer-function): Use a non-nil default.
10198 (revert-buffer-preserve-modes): Declare var to
10199 provide access to the `preserve-modes' argument.
10200 (revert-buffer): Let-bind it.
10201 (revert-buffer--default): New function, extracted from revert-buffer.
10203 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10205 * lpr.el: Signal print errors more prominently.
10206 (print-region-function): Don't default to nil.
10207 (lpr-print-region): New function, extracted from print-region-1.
10208 Check lpr's return value and signal an error in case of problem.
10209 (print-region-1): Use it.
10210 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10212 (ps-printer-name): Default to nil.
10213 (ps-printer-name-option): Default to lpr-printer-switch.
10214 (ps-print-region-function): Don't default to nil.
10215 (ps-postscript-code-directory): Simplify default.
10216 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10217 (ps-string-list, ps-eval-switch, ps-flatten-list)
10218 (ps-flatten-list-1): Remove.
10219 (ps-multibyte-buffer): Avoid setq.
10220 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10221 (print-region-function, ps-print-region-function): Don't set them here.
10223 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10225 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10226 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10227 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
10228 (ido-decorations): Doc fix.
10230 * ansi-color.el: Fix old URL.
10232 2013-07-23 Michael R. Mauger <michael@mauger.com>
10234 * progmodes/sql.el: Version 3.3
10235 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10236 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10237 (sql-interactive-remove-continuation-prompt): Rewrite, use
10238 functions above. Fix continuation prompt and complete output line
10240 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10241 redirected output buffer.
10242 (sql-mode): Restore deleted code (Bug#13591).
10244 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10246 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10248 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
10250 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10252 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10253 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10254 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10256 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10258 * desktop.el (desktop-clear): Simplify; remove useless checks
10259 against invalid buffer names.
10260 (desktop-list*): Use cl-list*.
10261 (desktop-buffer-info, desktop-create-buffer): Simplify.
10263 2013-07-23 Leo Liu <sdl.web@gmail.com>
10265 * bookmark.el (bookmark-make-record): Restore NAME as a default
10268 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10270 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10271 extracted from autoload--insert-text.
10272 (autoload--insert-text): Remove.
10273 (autoload--print-cookie-text): New function, extracted from
10274 autoload--insert-cookie-text.
10275 (autoload--insert-cookie-text): Remove.
10276 (autoload-generate-file-autoloads): Adjust calls accordingly.
10278 * winner.el (winner-hook-installed-p): Remove.
10279 (winner-mode): Simplify accordingly.
10281 * subr.el (add-to-list): Fix compiler-macro when `append' is
10282 not constant. Don't use `cl-member' for the base case.
10284 * progmodes/subword.el: Fix boundary case (bug#13758).
10285 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10287 (subword-backward-regexp): Make it a constant.
10288 (subword-forward-internal): Don't treat a trailing capital as the
10289 beginning of a word.
10291 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10293 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10294 global value of tabulated-list-revert-hook (bug#14930).
10296 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
10298 * desktop.el: Require 'cl-lib.
10299 (desktop-before-saving-frames-functions): New hook.
10300 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10301 for frames being saved. Rename from desktop--save-minibuffer-frames.
10302 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
10303 Do not save frames with non-nil `desktop-dont-save' parameter.
10304 Filter out deleted frames.
10305 (desktop--find-frame): Use cl-find-if.
10306 (desktop--select-frame): Use cl-(first|second|third) to access values
10308 (desktop--make-frame): Use cl-delete-if.
10309 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10310 (desktop-restore-frames): Use cl-(first|second|third) to access values
10311 of desktop-mini. Look for visible frame at the end, not while
10314 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10315 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10316 Use string-match-p, looking-at-p (bug#14927).
10318 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
10320 * desktop.el (desktop-saved-frame-states):
10321 Rename from desktop--saved-states; all users changed.
10322 (desktop-save-frames): Rename from desktop--save-frames.
10323 Do not save state to desktop file.
10324 (desktop-save): Save desktop-saved-frame-states to desktop file
10326 (desktop-restoring-frames-p): New function.
10327 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10328 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10329 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10331 * desktop.el: Correctly restore iconified frames.
10332 (desktop--filter-iconified-position): New function.
10333 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10335 2013-07-20 Glenn Morris <rgm@gnu.org>
10337 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10338 Let `message' do the formatting.
10339 (def-gdb-preempt-display-buffer): Add explicit format.
10341 * image-dired.el (image-dired-track-original-file):
10342 Use with-current-buffer.
10343 (image-dired-track-thumbnail): Use with-current-buffer.
10344 Avoid changing point of wrong window.
10346 * image-dired.el (image-dired-track-original-file):
10347 Avoid changing point of wrong window. (Bug#14909)
10349 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
10351 * progmodes/gdb-mi.el (gdb-done-or-error):
10352 Guard against "%" in gdb output. (Bug#14127)
10354 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10356 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10359 * international/mule.el (coding-system-iso-2022-flags): Fix last
10362 2013-07-20 Kenichi Handa <handa@gnu.org>
10364 * international/mule.el (coding-system-iso-2022-flags):
10365 Add `8-bit-level-4'. (Bug#8522)
10367 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10369 * net/shr.el (shr-mouse-browse-url): New command and keystroke
10372 * net/eww.el (eww-process-text-input): Allow inputting when the
10373 point is at the start of the line, as the properties aren't
10376 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
10379 2013-07-19 Richard Stallman <rms@gnu.org>
10381 * epa.el (epa-popup-info-window): Doc fix.
10383 * subr.el (split-string): New arg TRIM.
10385 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
10387 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
10388 Add check for W32 (followup to revno:113431).
10390 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
10392 * filenotify.el (file-notify--library): Rename from
10393 `file-notify-support'. Do not autoload. Adapt all uses.
10394 (file-notify-supported-p): New defun.
10396 * autorevert.el (auto-revert-use-notify):
10397 Use `file-notify-supported-p' instead of `file-notify-support'.
10399 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
10401 * net/tramp.el (tramp-file-name-for-operation):
10402 Add `file-notify-supported-p'.
10404 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10406 (tramp-sh-file-name-handler-alist): Add it as handler for
10407 `file-notify-supported-p '.
10409 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10410 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10411 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10412 Add `ignore' as handler for `file-notify-*' functions.
10414 2013-07-17 Eli Zaretskii <eliz@gnu.org>
10416 * simple.el (line-move-partial, line-move): Don't start vscroll or
10417 scroll-up if the current line is not taller than the window.
10420 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
10422 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
10423 highlight question marks in the method names as strings.
10424 (ruby-block-beg-keywords): Inline.
10425 (ruby-font-lock-keyword-beg-re): Extract from
10426 `ruby-font-lock-keywords'.
10428 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
10430 * frame.el (blink-cursor-blinks): New defcustom.
10431 (blink-cursor-blinks-done): New defvar.
10432 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
10433 (blink-cursor-timer-function): Check if number of blinks has been
10435 (blink-cursor-suspend, blink-cursor-check): New defuns.
10437 2013-07-15 Glenn Morris <rgm@gnu.org>
10439 * edmacro.el (edmacro-format-keys): Fix previous change.
10441 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
10443 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
10444 The hack didn't work outside English locales anyway.
10446 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
10448 * simple.el (define-alternatives): Rename from alternatives-define,
10449 per RMS' suggestion.
10451 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
10453 * desktop.el (desktop-restore-frames): Change default to t.
10454 (desktop-restore-in-current-display): Now offer more options.
10455 (desktop-restoring-reuses-frames): New customization option.
10456 (desktop--saved-states): Doc fix.
10457 (desktop-filter-parameters-alist): New variable, renamed and expanded
10458 from desktop--excluded-frame-parameters.
10459 (desktop--target-display): New variable.
10460 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
10461 (desktop--filter-tty*, desktop--filter-*-color)
10462 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10463 (desktop--filter-save-desktop-parm)
10464 (desktop-restore-in-original-display-p): New functions.
10465 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
10466 (desktop--save-minibuffer-frames): New function, inspired by a similar
10467 function from Martin Rudalics.
10468 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
10469 (desktop--restore-in-this-display-p): Remove.
10470 (desktop--find-frame): Rename from desktop--find-frame-in-display
10471 and add predicate argument.
10472 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
10473 (desktop--reuse-list): New variable.
10474 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
10476 (desktop--restore-frames): Add support for "minibuffer-special" frames.
10478 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
10480 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
10482 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
10484 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10485 Highlight conversion methods on Kernel.
10487 2013-07-13 Alan Mackenzie <acm@muc.de>
10489 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
10490 and comment it out. This out-commenting enables certain C++
10491 declarations to be parsed correctly.
10493 2013-07-13 Eli Zaretskii <eliz@gnu.org>
10495 * international/mule.el (define-coding-system): Doc fix.
10497 * simple.el (default-font-height): Don't call font-info if the
10498 frame's default font didn't change since the frame was created.
10501 2013-07-13 Leo Liu <sdl.web@gmail.com>
10503 * ido.el (ido-read-file-name): Guard against non-symbol value.
10505 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10507 * progmodes/python.el (python-imenu--build-tree): Fix corner case
10510 2013-07-13 Leo Liu <sdl.web@gmail.com>
10512 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
10513 ido-set-matches call. (Bug#6852)
10515 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
10517 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
10518 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
10520 (ruby-font-lock-keywords): Distinguish calls to functions with
10521 module-like names from module references. Highlight character
10524 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
10526 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
10527 (gdb-send): Handle continued commands. (Bug#14847)
10529 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
10531 * desktop.el (desktop--v2s): Remove unused local variable.
10532 (desktop-save-buffer): Make defvar-local; adjust docstring.
10533 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
10534 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
10536 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
10538 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
10540 2013-07-12 Eli Zaretskii <eliz@gnu.org>
10542 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
10545 2013-07-12 Glenn Morris <rgm@gnu.org>
10547 * doc-view.el: Require cl-lib at runtime too.
10548 (doc-view-remove-if): Remove.
10549 (doc-view-search-next-match, doc-view-search-previous-match):
10552 * edmacro.el: Require cl-lib at runtime too.
10553 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
10554 (edmacro-mismatch, edmacro-subseq): Remove.
10556 * shadowfile.el: Require cl-lib.
10557 (shadow-remove-if): Remove.
10558 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
10561 * wid-edit.el: Require cl-lib.
10562 (widget-choose): Use cl-remove-if.
10563 (widget-remove-if): Remove.
10565 * progmodes/ebrowse.el: Require cl-lib at runtime too.
10566 (ebrowse-delete-if-not): Remove.
10567 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
10568 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
10569 Use cl-delete-if-not.
10571 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
10573 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
10574 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
10576 2013-07-12 Leo Liu <sdl.web@gmail.com>
10578 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
10580 2013-07-11 Glenn Morris <rgm@gnu.org>
10582 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
10583 (edebug-gensym-index, edebug-gensym):
10584 Remove reimplementation of cl-gensym.
10585 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
10587 * thumbs.el: Require cl-lib at run-time too.
10588 (thumbs-gensym-counter, thumbs-gensym):
10589 Remove reimplementation of cl-gensym.
10590 (thumbs-temp-file): Use cl-gensym.
10592 * emacs-lisp/ert.el: Require cl-lib at runtime too.
10593 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
10594 (ert--intersection, ert--set-difference, ert--set-difference-eq)
10595 (ert--union, ert--gensym-counter, ert--gensym-counter)
10596 (ert--coerce-to-vector, ert--remove*, ert--string-position)
10597 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
10598 (ert-make-test-unbound, ert--expand-should-1)
10599 (ert--expand-should, ert--should-error-handle-error)
10600 (should-error, ert--explain-equal-rec)
10601 (ert--plist-difference-explanation, ert-select-tests)
10602 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
10603 Use cl-lib functions rather than reimplementations.
10605 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
10607 * net/tramp.el (tramp-methods): Extend docstring.
10608 (tramp-connection-timeout): New defcustom.
10609 (tramp-error-with-buffer): Reset timestamp only when appropriate.
10610 (with-tramp-progress-reporter): Simplify.
10611 (tramp-process-actions): Improve messages.
10613 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10614 * net/tramp-sh.el (tramp-maybe-open-connection):
10615 Use `tramp-connection-timeout'.
10616 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
10619 2013-07-11 Leo Liu <sdl.web@gmail.com>
10621 * ido.el (ido-read-file-name): Conform to the requirements of
10622 read-file-name. (Bug#11861)
10623 (ido-read-directory-name): Conform to the requirements of
10624 read-directory-name.
10626 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
10628 * subr.el (delay-warning): New function.
10630 2013-07-10 Eli Zaretskii <eliz@gnu.org>
10632 * simple.el (default-line-height): New function.
10633 (line-move-partial, line-move): Use it instead of computing the
10634 line height inline.
10635 (line-move-partial): Always compute ROWH. If the last line is
10636 partially-visible, but its text is completely visible, allow
10637 cursor to enter such a partially-visible line.
10639 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
10641 Improve error messages. (Bug#14808)
10643 * net/tramp.el (tramp-current-connection): New defvar, moved from
10645 (tramp-message-show-progress-reporter-message): Remove, not
10647 (tramp-error-with-buffer): Show message in minibuffer.
10648 Discard input before waiting. Reset connection timestamp.
10649 (with-tramp-progress-reporter): Improve messages.
10650 (tramp-process-actions): Use progress reporter. Delete process in
10651 case of error. Improve messages.
10653 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
10654 Call `tramp-error-with-buffer' with vector and buffer.
10655 (tramp-current-connection): Remove.
10656 (tramp-maybe-open-connection): The car of
10657 `tramp-current-connection' are the first 3 slots of the vector.
10659 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
10661 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
10662 inside continued strings.
10664 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
10666 Timestamp fixes for undo (Bug#14824).
10667 * files.el (clear-visited-file-modtime): Move here from fileio.c.
10669 2013-07-10 Leo Liu <sdl.web@gmail.com>
10671 * files.el (require-final-newline): Allow safe local value.
10674 2013-07-09 Leo Liu <sdl.web@gmail.com>
10676 * ido.el (ido-read-directory-name): Handle fallback.
10677 (ido-read-file-name): Update DIR to ido-current-directory.
10679 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
10681 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
10683 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
10684 "autoload". Remove "warn lower camel case" section, previously
10685 commented out. Highlight negation char. Do not highlight the
10686 target in singleton method definitions.
10688 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10690 * faces.el (tty-setup-hook): Declare the hook.
10692 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
10693 and detect when a guard/pred depends on local vars (bug#14773).
10694 (pcase--u1): Adjust caller.
10696 2013-07-08 Eli Zaretskii <eliz@gnu.org>
10698 * simple.el (line-move-partial, line-move): Account for
10700 (line-move-partial): Avoid setting vscroll when the last
10701 partially-visible line in window is of default height.
10703 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10705 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
10708 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
10710 * subr.el (read-quoted-char): Remove unused local variable `char'.
10712 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
10714 * vc/ediff.el (ediff-version): Version update.
10715 (ediff-files-command, ediff3-files-command, ediff-merge-command)
10716 (ediff-merge-with-ancestor-command, ediff-directories-command)
10717 (ediff-directories3-command, ediff-merge-directories-command)
10718 (ediff-merge-directories-with-ancestor-command): New functions.
10719 All are command-line interfaces to ediff: to facilitate calling
10720 Emacs with the appropriate ediff functions invoked.
10722 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
10724 (viper-save-kill-buffer): Check if buffer is modified.
10726 * emulation/viper.el (viper-version): Version update.
10727 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
10729 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
10731 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
10732 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
10733 (viper-intercept-ESC-key): Simplify.
10734 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
10736 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
10737 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
10738 (viper-setup-ESC-to-escape): New functions.
10739 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
10740 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
10742 2013-07-07 Eli Zaretskii <eliz@gnu.org>
10744 * simple.el (default-font-height, window-screen-lines):
10746 (line-move, line-move-partial): Use them instead of
10747 frame-char-height and window-text-height. This makes scrolling
10748 text smoother when the buffer's default face uses a font that is
10749 different from the frame's default font.
10751 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
10753 * files.el (write-file): Do not display confirm dialog for NS,
10754 it does its own dialog, which can't be canceled (Bug#14578).
10756 2013-07-06 Eli Zaretskii <eliz@gnu.org>
10758 * simple.el (line-move-partial): Adjust the row returned by
10759 posn-at-point for the current window-vscroll. (Bug#14567)
10761 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
10763 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
10764 (tramp-sh-file-inotifywait-process-filter): Handle file names with
10767 2013-07-06 Martin Rudalics <rudalics@gmx.at>
10769 * window.el (window-state-put-stale-windows): New variable.
10770 (window--state-put-2): Save list of windows without matching buffer.
10771 (window-state-put): Remove "bufferless" windows if possible.
10773 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
10775 * simple.el (alternatives-define): Remove leftover :group keyword.
10778 2013-07-06 Leo Liu <sdl.web@gmail.com>
10780 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
10781 (ido-enable-virtual-buffers): New variable.
10782 (ido-buffer-internal, ido-toggle-virtual-buffers)
10783 (ido-make-buffer-list): Use it.
10784 (ido-exhibit): Support turning on and off virtual buffers
10787 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
10789 * simple.el (alternatives-define): New macro.
10791 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
10793 * subr.el (read-quoted-char): Use read-key.
10794 (sit-for): Let read-event decode tty input (bug#14782).
10796 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
10798 * calendar/todo-mode.el: Add handling of file deletion, both by
10799 mode command and externally. Fix various related bugs.
10800 Clarify Commentary and improve some documentation strings and code.
10801 (todo-delete-file): New command.
10802 (todo-check-file): New function.
10803 (todo-show): Handle external deletion of the file we're trying to
10804 show (bug#14688). Replace called-interactively-p by an optional
10805 prefix argument to avoid problematic interaction with catch form
10806 when byte compiled (bug#14702).
10807 (todo-quit): Handle external deletion of the archive's todo file.
10808 Make sure the buffer that was visiting the archive file is still
10809 live before trying to bury it.
10810 (todo-category-completions): Handle external deletion of any
10811 category completion files.
10812 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
10813 of todo files, in case of external deletion.
10814 (todo-add-file): Replace unnecessary setq by let-binding.
10815 (todo-find-archive): Check whether there are any archives.
10816 Replace unnecessary setq by let-binding.
10817 (todo-archive-done-item): Use find-file-noselect to get the
10818 archive buffer whether or not the archive already exists.
10819 Remove superfluous code. Use file size instead of buffer-file-name to
10820 check if the archive is new; if it is, update list of archives.
10821 (todo-default-todo-file): Allow nil to be a valid value for when
10822 there are no todo files.
10823 (todo-reevaluate-default-file-defcustom): Use corrected definition
10824 of todo-default-todo-file.
10825 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
10826 (todo-delete-category, todo-show-categories-table)
10827 (todo-category-number): Clarify comment.
10828 (todo-filter-items): Clarify documentation string.
10829 (todo-show-current-file, todo-display-as-todo-file)
10830 (todo-reset-and-enable-done-separator): Tweak documentation string.
10831 (todo-done-separator): Make separator length window-width, since
10832 bug#2749 is now fixed.
10834 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
10836 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
10837 Support both "gvfs-monitor-dir" and "inotifywait".
10838 (tramp-sh-file-inotifywait-process-filter): Rename from
10839 `tramp-sh-file-notify-process-filter'.
10840 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10841 (tramp-get-remote-gvfs-monitor-dir): New defuns.
10843 2013-07-05 Leo Liu <sdl.web@gmail.com>
10845 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
10847 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10849 * frame.el (display-pixel-height, display-pixel-width)
10850 (display-mm-height, display-mm-width): Mention behavior on
10851 multi-monitor setups in docstrings.
10852 (w32-display-monitor-attributes-list): Declare function.
10853 (display-monitor-attributes-list): Use it.
10855 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
10857 * filenotify.el: New package.
10859 * autorevert.el (top): Require filenotify.el.
10860 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
10862 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10863 (auto-revert-notify-handler): Use `file-notify-*' functions.
10865 * subr.el (file-notify-handle-event): Move function to filenotify.el.
10867 * net/tramp.el (tramp-file-name-for-operation):
10868 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
10870 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
10871 for `file-notify-add-watch' and `file-notify-rm-watch'.
10872 (tramp-process-sentinel): Improve trace.
10873 (tramp-sh-handle-file-notify-add-watch)
10874 (tramp-sh-file-notify-process-filter)
10875 (tramp-sh-handle-file-notify-rm-watch)
10876 (tramp-get-remote-inotifywait): New defuns.
10878 2013-07-03 Juri Linkov <juri@jurta.org>
10880 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
10881 call of `occur-read-primary-args' to interactive spec.
10883 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
10884 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
10886 2013-07-03 Matthias Meulien <orontee@gmail.com>
10888 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
10889 `Buffer-menu-multi-occur'. Add it to the menu.
10890 (Buffer-menu-mode): Document it in docstring.
10891 (Buffer-menu-multi-occur): New command. (Bug#14673)
10893 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10895 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10896 keywords and built-ins.
10898 2013-07-03 Glenn Morris <rgm@gnu.org>
10900 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
10902 Make info-xref checks case-sensitive by default
10903 * info.el (Info-find-node, Info-find-in-tag-table)
10904 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
10905 Add option for exact case matching of nodes.
10906 * info-xref.el (info-xref): New custom group.
10907 (info-xref-case-fold): New option.
10908 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
10910 2013-07-03 Leo Liu <sdl.web@gmail.com>
10912 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
10914 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10916 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
10917 middle of block statement initially, lower the depth. Remove
10918 FIXME comment, not longer valid. Remove middle of block statement
10919 detection, no need to do that anymore since we've been using
10920 `ruby-parse-region' here.
10922 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
10924 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
10926 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
10928 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
10930 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
10932 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
10933 (desktop-restore-in-current-display): New customization option.
10934 (desktop--excluded-frame-parameters): Add `font'.
10935 (desktop--save-frames): Rename from desktop--save-windows.
10936 (desktop--restore-in-this-display-p): New function.
10937 (desktop--make-full-frame): Remove unwanted width/height from
10938 full(width|height) frames.
10939 (desktop--restore-frames): Rename from desktop--restore-windows.
10940 Obey desktop-restore-current-display. Do not delete old frames or
10941 select a new frame unless we were able to restore at least one frame.
10943 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
10945 * files.el (find-file-noselect): Simplify conditional expression.
10947 * textmodes/remember.el (remember-append-to-file):
10948 Don't mix `find-buffer-visiting' and `get-file-buffer'.
10950 Add `remember-notes' function to store random notes across Emacs
10952 * textmodes/remember.el (remember-data-file): Add :set callback to
10953 affect notes buffer (if any).
10954 (remember-notes): New command.
10955 (remember-notes-buffer-name, bury-remember-notes-on-kill):
10956 New defcustoms for the `remember-notes' function.
10957 (remember-notes-save-and-bury-buffer): New command.
10958 (remember-notes-mode-map): New variable.
10959 (remember-mode): New minor mode.
10960 (remember-notes--kill-buffer-query): New function.
10961 * startup.el (initial-buffer-choice): Add notes to custom type.
10963 2013-06-30 Eli Zaretskii <eliz@gnu.org>
10965 * bindings.el (right-char, left-char): Don't call sit-for, this is
10966 no longer needed. Use arithmetic comparison only for numerical
10969 * international/mule-cmds.el (select-safe-coding-system):
10970 Handle the case of FROM being a string correctly. (Bug#14755)
10972 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10974 * net/shr.el (shr-make-table-1): Add a sanity check that allows
10975 progression on degenerate tables.
10976 (shr-rescale-image): ImageMagick animated images currently don't work.
10978 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
10980 Some fixes and improvements for desktop frame restoration.
10981 It is still experimental and disabled by default.
10982 * desktop.el (desktop--save-windows): Put the selected frame at
10983 the head of the list.
10984 (desktop--make-full-frame): New function.
10985 (desktop--restore-windows): Try to re-select the frame that was
10986 selected upon saving. Do not abort if some frames fail to restore,
10987 just show an error message and continue. Set up maximized frames
10988 so they have default non-maximized dimensions.
10990 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
10992 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10993 Don't start heredoc inside a string or comment.
10995 2013-06-29 Eli Zaretskii <eliz@gnu.org>
10997 * bindings.el (visual-order-cursor-movement): New defcustom.
10998 (right-char, left-char): Provide visual-order cursor motion by
10999 calling move-point-visually. Update the doc strings.
11001 2013-06-28 Kenichi Handa <handa@gnu.org>
11003 * international/mule.el (define-coding-system): New coding system
11004 properties :inhibit-null-byte-detection,
11005 :inhibit-iso-escape-detection, and :prefer-utf-8.
11006 (set-buffer-file-coding-system): If :charset-list property of
11007 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11008 appropriate for setting.
11010 * international/mule-cmds.el (select-safe-coding-system):
11011 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11012 multibyte characters, return utf-8 (or one of its siblings).
11014 * international/mule-conf.el (prefer-utf-8): New coding system.
11015 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11018 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11020 * net/shr.el (shr-render-region): New function.
11022 * net/eww.el: Autoload `eww-browse-url'.
11024 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11026 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11027 Adapt to `package-desc-version' being a list.
11028 Use `package--ac-desc-version' to retrieve version from a package
11031 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11033 New experimental feature to save&restore window and frame setup.
11034 * desktop.el (desktop-save-windows): New defcustom.
11035 (desktop--saved-states): New var.
11036 (desktop--excluded-frame-parameters): New defconst.
11037 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11038 (desktop--restore-windows, desktop--save-windows): New functions.
11039 (desktop-save): Call `desktop--save-windows'.
11040 (desktop-read): Call `desktop--restore-windows'.
11042 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11044 * net/shr.el (add-face-text-property): Remove compat definition.
11046 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11048 * info.el (Info-try-follow-nearest-node): Move search for footnote
11049 above search for node name to prevent missing a footnote (bug#14717).
11051 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11053 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11055 2013-06-27 Leo Liu <sdl.web@gmail.com>
11057 * net/eww.el (eww-read-bookmarks): Check file size.
11059 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11061 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11062 advice--pending if newdef is nil or an autoload (bug#13820).
11063 (advice-mapc): New function.
11065 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11067 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11069 (eww-mode-map): Add a menu bar.
11070 (eww-add-bookmark): New command.
11071 (eww-bookmark-mode): New mode and commands.
11072 (eww-add-bookmark): Remove newlines from the title.
11073 (eww-bookmark-browse): Don't bug out if it's the only window.
11075 2013-06-26 Glenn Morris <rgm@gnu.org>
11077 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11078 (hfy-size): Handle ttys. (Bug#14668)
11080 * info-xref.el: Update for Texinfo 5 change in *note format.
11081 (info-xref-node-re, info-xref-note-re): New constants.
11082 (info-xref-check-buffer): Use info-xref-note-re.
11084 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11086 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11088 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11089 nil terminate the loop (bug#14718).
11091 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11093 * net/eww.el: Rework history traversal. When going forward/back,
11094 put these actions into the history, too, so that they can be
11096 (eww-render): Move the history reset to the correct buffer.
11098 2013-06-25 Juri Linkov <juri@jurta.org>
11100 * files-x.el (modify-dir-local-variable): Change the header comment
11101 in the file with directory local variables. (Bug#14692)
11103 * files-x.el (read-file-local-variable-value): Add `default'.
11106 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11108 * net/eww.el (eww-make-unique-file-name): Create a unique file
11109 name before saving to entering `y' accidentally asynchronously.
11111 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11113 * net/eww.el (eww-download): New command and keystroke.
11115 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11117 * net/eww.el (eww-copy-page-url): Change name of command.
11119 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11120 be more consistent with Info and dired.
11122 * net/eww.el (eww-mode-map): Ditto.
11124 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11126 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11127 packages from archives.
11128 (package-archive-contents): Change format; include obsolete packages.
11129 (package-desc): Use `dir' to mark builtin packages.
11130 (package--from-builtin): Set the `dir' field to `builtin'.
11131 (generated-autoload-file, version-control): Declare.
11132 (package-compute-transaction): Change first arg and return value to be
11133 lists of package-descs. Adjust to new package-archive-contents format.
11134 (package--add-to-archive-contents): Adjust to new
11135 package-archive-contents format.
11136 (package-download-transaction): Arg is now a list of package-descs.
11137 (package-install): If `pkg' is a package name, pass it as
11138 a requirement, so it is subject to the usual (e.g. disabled) checks.
11139 (describe-package): Accept package-desc as well.
11140 (describe-package-1): Describe a specific package-desc. Add links to
11141 other package-descs for the same package name.
11142 (package-menu-describe-package): Pass the actual package-desc.
11143 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11145 (package-desc-status): New function.
11146 (package-menu--refresh): New function, extracted
11147 from package-menu--generate.
11148 (package-menu--generate): Use it.
11149 (package-delete): Update package-alist.
11150 (package-menu-execute): Don't call package-initialize.
11152 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11153 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11154 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11155 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11156 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11157 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11159 2013-06-25 Martin Rudalics <rudalics@gmx.at>
11161 * window.el (window--state-get-1): Workaround for bug#14527.
11162 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11164 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11166 * net/eww.el (eww-back-url): Implement the history by stashing all
11167 the data into a list.
11168 (eww-forward-url): Allow going forward in the history, too.
11170 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11172 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11173 for values and use read--expression for expressions (bug#14710).
11174 (read-file-local-variable): Avoid setq.
11175 (read-file-local-variable-mode): Use minor-mode-list.
11177 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11179 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11182 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11184 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11185 Update imenu-support when dialect changes.
11187 2013-06-25 Leo Liu <sdl.web@gmail.com>
11189 * ido.el (ido-read-internal): Allow forward slash on windows.
11191 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11193 * net/eww.el (eww): Start of strings is \\`, not ^.
11195 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11197 * net/shr.el (shr-browse-url): Fix interactive spec.
11199 * net/eww.el (eww): Add a trailing slash to domain names.
11201 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
11203 * faces.el (face-spec-recalc): Revert part of revno:113147 (bug#14705).
11205 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11207 * net/shr.el (shr-browse-url): Use an external browser if given a
11210 * net/eww.el (eww-external-browser): Move to shr.
11212 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11214 * net/eww.el (eww): Work more correctly for file: URLs.
11215 (eww-detect-charset): Allow quoted charsets.
11216 (eww-yank-page-url): New command and keystroke.
11218 2013-06-24 Daiki Ueno <ueno@gnu.org>
11220 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11221 file name of gpg executable.
11222 (epg-context-program): New function.
11223 (epg-context-home-directory): New function.
11224 (epg-context-set-program): New function.
11225 (epg-context-set-home-directory): New function.
11226 (epg--start): Use `epg-context-program' instead of
11228 (epg--list-keys-1): Likewise.
11230 2013-06-24 Leo Liu <sdl.web@gmail.com>
11232 * ido.el (ido-read-internal): Fix bug#14620.
11234 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11236 * faces.el (face-documentation): Simplify.
11237 (read-face-attribute, tty-find-type, x-resolve-font-name):
11238 Use `string-match-p'.
11239 (list-faces-display): Use `string-match-p'. Simplify.
11240 (face-spec-recalc): Check face to avoid face alias loops.
11241 (read-color): Use `string-match-p' and non-capturing parenthesis.
11243 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11245 * net/shr.el (shr-rescale-image): Use the new
11246 :max-width/:max-height functionality.
11248 2013-06-23 Ivan Kanis <ivan@kanis.fr>
11250 * net/eww.el (eww-search-prefix): New variable.
11252 (eww-external-browser): New variable.
11253 (eww-mode-map): New keystroke.
11254 (eww-browse-with-external-browser): New command.
11256 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11258 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11260 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11261 Don't skip aligning the next header field when padding is 0;
11262 otherwise, field width is not respected unless the title is as
11265 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11267 * emacs-lisp/package.el (package-el-version): Remove.
11268 (package-process-define-package): Fix inf-loop.
11269 (package-install): Allow symbols as arguments again.
11271 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11273 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11274 add some more keyword-like methods.
11275 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11277 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
11279 * bs.el (bs-buffer-show-mark): Make defvar-local.
11280 (bs-mode): Use setq-local.
11282 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11283 (emacs-lock--try-unlocking): Make defvar-local.
11285 2013-06-22 Glenn Morris <rgm@gnu.org>
11287 * play/cookie1.el (cookie-apropos): Minor simplification.
11289 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11291 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11293 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11294 `regexp-opt', it breaks the build during dumping.
11296 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11298 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11299 Highlight keyword-like methods on Kernel and Module with
11300 font-lock-builtin-face.
11301 (auto-mode-alist): Consolidate different entries into one regexp
11302 and add more *file-s.
11304 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
11306 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11308 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11309 (diary-entry): Use it in the action of this button type instead of
11312 * calendar/todo-mode.el: New version.
11313 (todo-add-category): Append new category to end of file and give
11314 it the highest number, instead of putting it at the beginning and
11315 giving it 0. Incorporate noninteractive functionality.
11316 (todo-forward-category): Adapt to 1-based category numbering.
11317 Allow skipping over archived categories.
11318 (todo-backward-category): Derive from todo-forward-category.
11319 (todo-backward-item, todo-forward-item): Make noninteractive and
11320 delegate interactive part to new commands. Make sensitive to done items.
11321 (todo-categories): Make value an alist of category names and
11322 vectors of item counts.
11323 (todo-category-beg): Make a defconst.
11324 (todo-category-number): Use 1 instead of 0 as initial value.
11325 (todo-category-select): Make sensitive to overlays, optional item
11326 highlighting and done items.
11327 (todo-delete-item): Make sensitive to overlays and marked and done items.
11328 (todo-edit-item): Make sensitive to overlays and editing of
11329 date/time header optional. Add format checks.
11330 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11331 no-op if point is not on an item. Advertise using todo-edit-quit.
11332 (todo-edit-mode): Make sensitive to new format, font-locking, and
11333 multiple todo files.
11334 (todo-insert-item, todo-insert-item-here): Derive from
11335 todo-basic-insert-item and extend functionality.
11336 (todo-item-end, todo-item-start): Make sensitive to done items.
11337 (todo-item-string): Don't return text properties. Restore point.
11338 (todo-jump-to-category): Make sensitive to multiple todo files and
11339 todo archives. Use extended category completion.
11340 (todo-lower-item, todo-raise-item): Rename to *-priority and
11341 derive from todo-set-item-priority.
11342 (todo-mode): Derive from special-mode. Make sensitive to new
11343 format, font-locking and multiple todo files. Make read-only.
11344 (todo-mode-map): Don't suppress digit keys, so they can supply
11345 prefix arguments. Add many new key bindings.
11346 (todo-prefix): Insert as an overlay instead of file text.
11347 Change semantics from diary date expression to purely visual mark.
11348 (todo-print): Rename to todo-print-buffer. Make buffer display
11349 features printable. Remove option to restrict number of items
11350 printed. Add option to print to file.
11351 (todo-print-function): Rename to todo-print-buffer-function.
11352 (todo-quit): Extend to handle exiting new todo modes.
11353 (todo-remove-item): Make sensitive to overlays.
11354 (todo-save): Extend to buffers of filtered items.
11355 (todo-show): Make sensitive to done items, multiple todo files and
11356 new todo modes. Offer to convert legacy todo file before creating
11357 first new todo file.
11358 (todo-show-priorities): Rename to todo-top-priorities.
11359 Change semantics of value 0.
11360 (todo-top-priorities): Rename to todo-filter-top-priorities,
11361 derive from todo-filter-items and extend functionality.
11362 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11363 and extend functionality to other types of filtered items.
11364 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11365 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11366 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
11367 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
11368 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
11369 (todo-edit-mode-hook, todo-entry-prefix-function)
11370 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
11371 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
11372 (todo-initials, todo-insert-threshold, todo-item-string-start)
11373 (todo-line-string, todo-menu, todo-mode-hook)
11374 (todo-more-important-p, todo-previous-answer, todo-previous-line)
11375 (todo-print-priorities, todo-remove-separator)
11376 (todo-save-top-priorities-too, todo-string-count-lines)
11377 (todo-string-multiline-p, todo-time-string-format)
11378 (todo-tmp-buffer-name): Remove.
11379 (todo-add-file, todo-archive-done-item, todo-choose-archive)
11380 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
11381 (todo-edit-category-diary-inclusion)
11382 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
11383 (todo-edit-file, todo-edit-item-date-day)
11384 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
11385 (todo-edit-item-date-month, todo-edit-item-date-to-today)
11386 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
11387 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
11388 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
11389 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
11390 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
11391 (todo-filter-top-priorities-multifile, todo-find-archive)
11392 (todo-find-filtered-items-file, todo-go-to-source-item)
11393 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
11394 (todo-jump-to-archive-category, todo-lower-category)
11395 (todo-mark-category, todo-marked-item-p, todo-merge-category)
11396 (todo-move-category, todo-move-item, todo-next-button)
11397 (todo-next-item, todo-padded-string, todo-powerset)
11398 (todo-previous-button, todo-previous-item)
11399 (todo-print-buffer-to-file, todo-raise-category)
11400 (todo-rename-category, todo-repair-categories-sexp, todo-search)
11401 (todo-set-category-number, todo-set-item-priority)
11402 (todo-set-top-priorities-in-category)
11403 (todo-set-top-priorities-in-file, todo-show-categories-table)
11404 (todo-sort-categories-alphabetically-or-numerically)
11405 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
11406 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
11407 (todo-toggle-item-header, todo-toggle-item-highlighting)
11408 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
11409 (todo-toggle-view-done-items, todo-toggle-view-done-only)
11410 (todo-unarchive-items, todo-unmark-category): New commands.
11411 (todo-absolute-file-name, todo-add-to-buffer-list)
11412 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
11413 (todo-basic-insert-item, todo-category-completions)
11414 (todo-category-number, todo-category-string-matcher-1)
11415 (todo-category-string-matcher-2, todo-check-filtered-items-file)
11416 (todo-check-format, todo-clear-matches)
11417 (todo-comment-string-matcher, todo-convert-legacy-date-time)
11418 (todo-current-category, todo-date-string-matcher)
11419 (todo-define-insertion-command, todo-diary-expired-matcher)
11420 (todo-diary-goto-entry, todo-diary-item-p)
11421 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
11422 (todo-display-categories, todo-display-sorted, todo-done-item-p)
11423 (todo-done-item-section-p, todo-done-separator)
11424 (todo-done-string-matcher, todo-files, todo-filter-items)
11425 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
11426 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
11427 (todo-insert-category-line, todo-insert-item-from-calendar)
11428 (todo-insert-sort-button, todo-insert-with-overlays)
11429 (todo-insertion-command-name, todo-insertion-key-bindings)
11430 (todo-label-to-key, todo-longest-category-name-length)
11431 (todo-make-categories-list, todo-mode-external-set)
11432 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
11433 (todo-modes-set-3, todo-multiple-filter-files)
11434 (todo-nondiary-marker-matcher, todo-prefix-overlays)
11435 (todo-read-category, todo-read-date, todo-read-dayname)
11436 (todo-read-file-name, todo-read-time)
11437 (todo-reevaluate-category-completions-files-defcustom)
11438 (todo-reevaluate-default-file-defcustom)
11439 (todo-reevaluate-filelist-defcustoms)
11440 (todo-reevaluate-filter-files-defcustom)
11441 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
11442 (todo-reset-done-separator, todo-reset-done-separator-string)
11443 (todo-reset-done-string, todo-reset-global-current-todo-file)
11444 (todo-reset-highlight-item, todo-reset-nondiary-marker)
11445 (todo-reset-prefix, todo-set-categories)
11446 (todo-set-date-from-calendar, todo-set-show-current-file)
11447 (todo-set-top-priorities, todo-short-file-name)
11448 (todo-show-current-file, todo-sort, todo-time-string-matcher)
11449 (todo-total-item-counts, todo-update-buffer-list)
11450 (todo-update-categories-display, todo-update-categories-sexp)
11451 (todo-update-count, todo-validate-name, todo-y-or-n-p):
11453 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
11455 (todo-categories, todo-display, todo-edit, todo-faces)
11456 (todo-filtered): New defgroups.
11457 (todo-archived-only, todo-button, todo-category-string, todo-date)
11458 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
11459 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
11460 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
11461 (todo-add-item-if-new-category, todo-always-add-time-string)
11462 (todo-categories-align, todo-categories-archived-label)
11463 (todo-categories-category-label, todo-categories-diary-label)
11464 (todo-categories-done-label, todo-categories-number-separator)
11465 (todo-categories-todo-label, todo-categories-totals-label)
11466 (todo-category-completions-files, todo-completion-ignore-case)
11467 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
11468 (todo-done-separator-string, todo-done-string)
11469 (todo-files-function, todo-filter-done-items, todo-filter-files)
11470 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
11471 (todo-initial-category, todo-initial-file, todo-item-mark)
11472 (todo-legacy-date-time-regexp, todo-mode-line-function)
11473 (todo-nondiary-marker, todo-number-prefix)
11474 (todo-print-buffer-function, todo-show-current-file)
11475 (todo-show-done-only, todo-show-first, todo-show-with-done)
11476 (todo-skip-archived-categories, todo-top-priorities-overrides)
11477 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
11478 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
11480 (todo-category-done, todo-date-pattern, todo-date-string-start)
11481 (todo-diary-items-buffer, todo-done-string-start)
11482 (todo-filtered-items-buffer, todo-item-start)
11483 (todo-month-abbrev-array, todo-month-name-array)
11484 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
11485 (todo-top-priorities-buffer): New defconsts.
11486 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
11487 (todo-categories-with-marks, todo-category-string-face)
11488 (todo-comment-face, todo-comment-string, todo-current-todo-file)
11489 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
11490 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
11491 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
11492 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
11493 (todo-font-lock-keywords, todo-global-current-todo-file)
11494 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
11495 (todo-insertion-commands-args)
11496 (todo-insertion-commands-args-genlist)
11497 (todo-insertion-commands-names, todo-insertion-map)
11498 (todo-key-bindings-t, todo-key-bindings-t+a)
11499 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
11500 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
11501 (todo-nondiary-face, todo-print-buffer, todo-time-face)
11502 (todo-visited): New variables.
11504 2013-06-21 Glenn Morris <rgm@gnu.org>
11506 * play/cookie1.el (cookie-apropos): Add optional display argument.
11507 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
11508 (psychoanalyze-pinhead): Use cookie-doctor.
11510 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11512 * emacs-lisp/package.el (tar-get-file-descriptor)
11513 (tar--extract): Declare.
11515 2013-06-21 Eduard Wiebe <usenet@pusto.de>
11517 Extend flymake's warning predicate to be a function (bug#14217).
11518 * progmodes/flymake.el (flymake-warning-predicate): New.
11519 (flymake-parse-line): Use it.
11520 (flymake-warning-re): Make obsolete alias to
11521 `flymake-warning-predicate'.
11523 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11525 * emacs-lisp/package.el (package-alist): Include obsolete packages.
11526 (package-obsolete-list): Remove.
11527 (package-activate): Remove min-version argument. Add `force' argument.
11528 Adjust to new package-alist format.
11529 (package-mark-obsolete): Remove.
11530 (package-unpack): Force reload of the package's autoloads.
11531 (package-installed-p): Check builtins if the installed package is not
11533 (package-initialize): Don't reset package-obsolete-list.
11534 Don't specify which package version to activate.
11535 (package-process-define-package, describe-package-1)
11536 (package-menu--generate): Adjust to new package-alist format.
11538 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11540 * allout-widgets.el (allout-widgets-mode-off)
11541 (allout-widgets-mode-on, allout-widgets-pre-command-business)
11542 (allout-widgets-post-command-business)
11543 (allout-widgets-after-copy-or-kill-function)
11544 (allout-widgets-after-undo-function, allout-test-range-overlaps)
11545 (allout-decorate-item-and-context)
11546 (allout-graphics-modification-handler): Fix typos in docstrings.
11547 (allout-get-or-create-parent-widget): Use `looking-at-p'.
11549 * cmuscheme.el (scheme-start-file): Doc fix.
11550 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
11551 (scheme-input-filter): Use `string-match-p'.
11553 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
11555 * dired-x.el: Use Dired consistently in docstrings.
11557 * dired.el: Use Dired consistently in docstrings.
11558 (dired-readin, dired-mode): Use `setq-local'.
11559 (dired-switches-alist): Make defvar-local.
11560 (dired-buffers-for-dir): Use `zerop'.
11561 (dired-safe-switches-p, dired-switches-escape-p)
11562 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
11563 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
11564 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
11565 (dired-goto-next-nontrivial-file): Use `string-match-p'.
11566 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
11567 (dired-toggle-marks, dired-mark-files-containing-regexp)
11568 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
11569 (dired-flag-auto-save-files, dired-flag-backup-files):
11570 Use `looking-at-p'.
11571 (dired-mark-files-regexp, dired-build-subdir-alist):
11572 Use `string-match-p', `looking-at-p'.
11574 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
11575 (direct-print-region-helper): Use `string-match-p'.
11577 2013-06-21 Leo Liu <sdl.web@gmail.com>
11579 * comint.el (comint-redirect-results-list-from-process):
11582 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11584 * net/eww.el (eww-update-header-line-format): Quote % characters.
11586 2013-06-21 Glenn Morris <rgm@gnu.org>
11588 * play/cookie1.el (cookie): New custom group.
11589 (cookie-file): New option.
11590 (cookie-check-file): New function.
11591 (cookie): Make it interactive. Make start and end messages optional.
11592 Interactively, display the result. Default to cookie-file.
11593 (cookie-insert): Default to cookie-file.
11594 (cookie-snarf): Make start and end messages optional.
11595 Default to cookie-file. Use with-temp-buffer.
11596 (cookie-read): Rename from read-cookie.
11597 Make start and end messages optional. Default to cookie-file.
11598 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
11599 Do not autoload it.
11600 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
11601 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
11603 2013-06-21 Leo Liu <sdl.web@gmail.com>
11605 * progmodes/octave.el (octave-mode): Backward compatibility fix.
11607 2013-06-21 Glenn Morris <rgm@gnu.org>
11609 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
11611 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11612 Daniel Hackney <dan@haxney.org>
11614 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
11615 Consolidate the single-file vs tarball code.
11616 (package-desc-suffix): New function.
11617 (package-desc-full-name): Don't bother inlining it.
11618 (package-load-descriptor): Return the new package-desc.
11619 (package-mark-obsolete): Remove unused arg `package'.
11620 (package-unpack): Make it work for single files as well.
11621 Make it update package-alist.
11622 (package--make-autoloads-and-stuff): Rename from
11623 package--make-autoloads-and-compile. Don't compile any more.
11624 (package--compile): New function.
11625 (package-generate-description-file): New function, extracted from
11626 package-unpack-single.
11627 (package-unpack-single): Remove.
11628 (package--with-work-buffer): Add indentation and debugging info.
11629 (package-download-single): Remove.
11630 (package-install-from-archive): Rename from package-download-tar, make
11631 it take a pkg-desc, and make it work for single files as well.
11632 (package-download-transaction): Simplify.
11633 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
11634 external tar program.
11635 (package-install-from-buffer): Remove `pkg-desc' argument.
11636 Use package-tar-file-info for tar-mode buffers.
11637 (package-install-file): Simplify accordingly.
11638 (package-archive-base): Change to take a pkg-desc.
11639 * tar-mode.el (tar--check-descriptor): New function, extracted from
11640 tar-get-descriptor.
11641 (tar-get-descriptor): Use it.
11642 (tar-get-file-descriptor): New function.
11643 (tar--extract): New function, extracted from tar-extract.
11644 (tar--extract): Use it.
11645 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
11646 case the summary uses non-ascii. Adjust to new calling convention of
11647 package-tar-file-info.
11649 2013-06-21 Leo Liu <sdl.web@gmail.com>
11651 * comint.el (comint-redirect-results-list-from-process):
11652 Fix random delay. (Bug#14681)
11654 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11656 * profiler.el (profiler-format-number): Use log, not log10.
11658 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11660 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
11662 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11664 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
11665 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
11667 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
11668 (AUTOGENEL): ... here.
11669 * emacs-lisp/cl-macs.el (cl--sublis): New function.
11670 (cl--defsubst-expand): Use it.
11672 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
11674 * subr.el (log10): Move here from C code, and declare as obsolete.
11675 All uses of (log10 X) replaced with (log X 10).
11677 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11679 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
11680 Declare with `defvar-local'.
11681 (tabulated-list-use-header-line, tabulated-list-entries)
11682 (tabulated-list-padding, tabulated-list-printer)
11683 (tabulated-list-sort-key): Declare with `defvar-local'.
11684 (tabulated-list-init-header, tabulated-list-print-fake-header):
11687 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
11689 * arc-mode.el (archive-mode): Add `archive-write-file' to
11690 `write-contents-functions' also for remote files. (Bug#14652)
11692 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11694 * cus-edit.el (custom-commands): Fix typos.
11695 (custom-display): Fix tooltip text.
11696 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
11697 Fix typos in docstrings.
11698 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
11699 (custom-unlispify-menu-entry, custom-magic-value-create)
11700 (custom-add-see-also, custom-group-value-create): Use ?\s.
11701 (custom-guess-type, customize-apropos, editable-field)
11702 (custom-face-value-create): Use `string-match-p'.
11703 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
11705 * custom.el (custom-load-symbol): Use `string-match-p'.
11707 * ansi-color.el: Convert to lexical binding.
11708 (ansi-colors): Fix URL.
11709 (ansi-color-context, ansi-color-context-region): Use defvar-local.
11710 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
11711 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
11713 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11715 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
11717 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
11719 2013-06-19 Tom Tromey <tromey@redhat.com>
11721 * net/eww.el (eww-top-url): Remove.
11722 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
11723 (eww-render): Set new variables. Don't set eww-top-url.
11724 (eww-handle-link): Handle "prev", "home", and "contents".
11725 Downcase the rel text.
11726 (eww-top-url): Choose best top URL.
11728 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11730 * net/eww.el: Rewrite to implement form elements "by hand" instead of
11731 relying in widget.el. Using widget.el leads to too many
11732 user interface inconsistencies.
11733 (eww-self-insert): Implement entering commands in text fields.
11734 (eww-process-text-input): New function to make text input field editing
11736 (eww-submit): Rewrite to use the new-style form methods.
11737 (eww-select-display): Display the correct selected item.
11738 (eww-change-select): Implement changing the select value.
11739 (eww-toggle-checkbox): Implement radio/checkboxes.
11740 (eww-update-field): Fix compilation error.
11741 (eww-tag-textarea): Implement <textarea>.
11743 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
11744 we don't shadow mode-specific bindings.
11746 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
11749 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
11751 2013-06-19 Glenn Morris <rgm@gnu.org>
11753 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
11755 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
11757 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
11760 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
11762 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11764 * net/browse-url.el (browse-url-browser-function):
11765 `eww-browse-url' has the right calling signature, `eww' does not.
11767 2013-06-19 Glenn Morris <rgm@gnu.org>
11769 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11770 Only eval autoloaded macros.
11771 (byte-compile-autoload): Only give the macro warning for macros.
11773 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
11774 (ps-underlined-faces): Declare.
11776 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
11777 (speedbar-add-supported-extension): Declare.
11779 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
11780 Don't include a date stamp in the header of the generated file;
11781 it leads to needless differences between output files.
11783 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
11785 * net/secrets.el (secrets-struct-secret-content-type):
11786 Replace check of introspection data by a test call of "CreateItem".
11787 Some servers do not offer introspection.
11789 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
11791 * electric.el (electric-pair-mode): Improve interaction with
11792 electric-layout-mode.
11793 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
11794 (electric-pair-syntax): Use text-mode-syntax-table in comments
11796 (electric-pair--insert): New function.
11797 (electric-pair-post-self-insert-function): Use it and
11798 electric--after-char-pos.
11800 2013-06-19 Leo Liu <sdl.web@gmail.com>
11802 * progmodes/octave.el (octave-help): Fix regexp.
11804 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11806 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
11807 (shr-table-horizontal-line): Allow nil as a value, and change the
11809 (shr-insert-table-ruler): Respect the nil value.
11811 2013-06-18 Tom Tromey <tromey@barimba>
11813 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11815 (eww-open-file): New defun.
11816 (eww-render): Initialize new variables.
11817 (eww-display-html): Handle "link" and "a".
11818 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
11819 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
11820 (eww-back-url): Rename from eww-previous-url.
11821 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11824 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
11826 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
11827 Distinguish ternary operator tokens from slash symbol and slash
11830 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
11832 Convert symbol prettification into minor mode and global minor mode.
11834 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
11835 `prog-prettify-symbols', and make a local defvar instead of defcustom.
11836 (prettify-symbols--keywords): Rename from
11837 `prog-prettify-symbols-alist' and make a local defvar.
11838 (prettify-symbols--compose-symbol): Rename from
11839 `prog--prettify-font-lock-compose-symbol'.
11840 (prettify-symbols--make-keywords): Rename from
11841 `prog-prettify-font-lock-symbols-keywords' and simplify.
11842 (prog-prettify-install): Remove.
11843 (prettify-symbols-mode): New minor mode, based on
11844 `prog-prettify-install'.
11845 (turn-on-prettify-symbols-mode): New function.
11846 (global-prettify-symbols-mode): New globalized minor mode.
11848 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11849 * progmodes/cfengine.el (cfengine3-mode):
11850 * progmodes/perl-mode.el (perl-mode): Don't call
11851 `prog-prettify-install'; set `prettify-symbols-alist' instead.
11853 2013-06-18 Juri Linkov <juri@jurta.org>
11855 * files-x.el (modify-file-local-variable-message): New function.
11856 (modify-file-local-variable)
11857 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
11858 and call `modify-file-local-variable-message' when it's non-nil.
11859 (add-file-local-variable, delete-file-local-variable)
11860 (add-file-local-variable-prop-line)
11861 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
11862 and use it. (Bug#9820)
11864 2013-06-18 Juri Linkov <juri@jurta.org>
11866 * emulation/vi.el (vi-shell-op):
11867 * emulation/vip.el (vip-execute-com, ex-command):
11868 * emulation/viper-cmd.el (viper-exec-bang):
11869 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
11870 the call of `shell-command-on-region'. (Bug#14637)
11872 * simple.el (shell-command-on-region): Doc fix.
11874 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11876 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
11879 2013-06-18 Glenn Morris <rgm@gnu.org>
11881 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
11883 * newcomment.el (comment-search-forward, comment-search-backward):
11884 Doc fix. (Bug#14376)
11886 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
11888 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
11889 (buffer-face-mode-invoke): Doc fix.
11891 2013-06-18 Matthias Meulien <orontee@gmail.com>
11893 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
11894 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
11896 2013-06-18 Glenn Morris <rgm@gnu.org>
11898 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
11899 Replace obsolete function generic-make-keywords with its expansion.
11901 * progmodes/python.el (ffap-alist): Declare.
11903 * textmodes/reftex.el (bibtex-mode-map): Declare.
11905 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11907 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
11908 (package-unpack, package-unpack-single): Return the pkg-dir.
11909 (package-download-transaction): Use it to update package-alist.
11911 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11913 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
11916 2013-06-17 Juri Linkov <juri@jurta.org>
11918 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
11920 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11922 * emacs-lisp/package.el (package-load-descriptor):
11923 Remove `with-syntax-table' call, `read' doesn't need it.
11924 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
11926 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
11928 * startup.el (command-line): Expand package name returned by
11929 `package--description-file' (bug#14639).
11931 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11933 * emacs-lisp/package.el (package-load-descriptor): Do not call
11934 `emacs-lisp-mode', just use its syntax table.
11936 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
11938 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
11939 `font-lock-extra-managed-props' if any prettifying keyword is added.
11940 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
11941 (prog-mode): Use `setq-local'.
11943 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11945 * international/characters.el (standard-case-table): Set syntax of ?»
11946 and ?« to punctuation.
11948 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
11950 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
11951 Save relevant match data before calling `syntax-ppss' (bug#14595).
11953 2013-06-15 Juri Linkov <juri@jurta.org>
11955 * files-x.el (modify-file-local-variable-prop-line): Add local
11956 variables to the end of the existing comment on the first line.
11957 Use `file-auto-mode-skip' to skip interpreter magic line,
11958 and also skip XML declaration.
11960 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11962 * startup.el (package--builtin-versions): New var.
11963 (package-subdirectory-regexp): Remove.
11964 (package--description-file): Hard code its value instead.
11966 * emacs-lisp/package.el: Don't activate packages older than builtin.
11967 (package-obsolete-list): Rename from package-obsolete-alist, and make
11968 it into a simple list of package-desc.
11969 (package-strip-version): Remove.
11970 (package-built-in-p): Use package--builtin-versions.
11971 (package-mark-obsolete): Simplify.
11972 (package-process-define-package): Mark it obsolete if older than the
11974 (package-handle-response): Use line-end-position.
11975 (package-read-archive-contents, package--download-one-archive):
11977 (package--add-to-archive-contents): Skip if older than the builtin or
11979 (package-menu-describe-package): Fix last change.
11980 (package-list-unversioned): New var.
11981 (package-menu--generate): Use it.
11983 * emacs-lisp/autoload.el: Manage package--builtin-versions.
11984 (autoload--insert-text, autoload--insert-cookie-text): New functions.
11985 (autoload-builtin-package-versions): New variable.
11986 (autoload-generate-file-autoloads): Use them.
11987 Remove the list of autoloaded functions/macros from the
11988 (autoload...) comments.
11990 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
11992 2013-06-15 Eli Zaretskii <eliz@gnu.org>
11994 * simple.el (line-move-partial): Don't jump to the next screen
11995 line as soon as it becomes visible. Instead, continue enlarging
11996 the vscroll until the portion of a tall screen line that's left on
11997 display is about the height of the frame's default font.
12000 2013-06-15 Glenn Morris <rgm@gnu.org>
12002 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12003 compilation-error-regexp-alist void, or local while let-bound.
12005 * progmodes/make-mode.el (makefile-mode-syntax-table):
12006 Treat "=" as punctuation. (Bug#14614)
12008 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12010 * help-fns.el (describe-variable):
12011 Add extra line for permanent-local variables.
12013 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12015 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12016 Add export, import, library. (Bug#9164)
12017 (library): Set indent function.
12019 2013-06-14 Glenn Morris <rgm@gnu.org>
12021 * term/xterm.el (xterm--query):
12022 Stop after first matching handler. (Bug#14615)
12024 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12026 Add support for dired in saveplace.
12027 * dired.el (dired-initial-position-hook): New variable.
12028 (dired-initial-position): Call hook to place cursor position.
12029 * saveplace.el (save-place-to-alist): Add dired position.
12030 (save-place-dired-hook): New function.
12032 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12034 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12035 through a symbol rather than letrec.
12037 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12038 (package-desc): Add `dir' field.
12039 (package-desc-full-name): New function.
12040 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12041 (package-maybe-load-descriptor): Remove.
12042 (package-load-all-descriptors): Just call package-load-descriptor.
12043 (package--disabled-p): New function.
12044 (package-desc-vers, package-desc-doc): Remove aliases.
12045 (package--dir): Remove function.
12046 (package-activate): Check if a package is disabled.
12047 (package-process-define-package): New function, extracted from
12049 (define-package): Turn into a place holder.
12050 (package-unpack-single, package-tar-file-info):
12051 Use package--description-file.
12052 (package-compute-transaction): Use package--disabled-p.
12053 (package-download-transaction): Don't call
12054 package-maybe-load-descriptor since they're all loaded anyway.
12055 (package-install): Change argument to be a pkg-desc.
12056 (package-delete): Use a single pkg-desc argument.
12057 (describe-package-1): Use package-desc-dir instead of package--dir.
12058 Use package-desc property instead of package-symbol.
12059 (package-install-button-action): Adjust accordingly.
12060 (package--push): Rewrite.
12061 (package-menu--print-info): Adjust accordingly. Change the ID format
12063 (package-menu-describe-package, package-menu-get-status)
12064 (package-menu--find-upgrades, package-menu-mark-upgrades)
12065 (package-menu-execute, package-menu--name-predicate):
12066 Adjust accordingly.
12067 * startup.el (package--description-file): New function.
12068 (command-line): Use it.
12069 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12070 Use package-desc-version.
12072 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12073 (byte-compile-preprocess): Use it.
12074 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12075 can't quite recognize.
12076 (byte-compile-add-to-list): Remove.
12077 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12078 (cconv-closure-convert): Add assertion.
12080 * emacs-lisp/map-ynp.el: Use lexical-binding.
12081 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12082 Factor out some repeated code.
12084 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12086 * subr.el (with-eval-after-load): New macro.
12087 (eval-after-load): Allow form to be a function.
12088 take advantage of lexical-binding.
12089 (do-after-load-evaluation): Use dolist and adjust to new format.
12090 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12092 2013-06-13 Juri Linkov <juri@jurta.org>
12094 * replace.el (perform-replace): Display "symbol " and other search
12095 modes from `isearch-message-prefix' in the *Help* buffer.
12097 * isearch.el (isearch-query-replace): Add " symbol" and other
12098 possible search modes from `isearch-message-prefix' to the prompt.
12099 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12100 when reading a regexp to collect.
12102 2013-06-13 Juri Linkov <juri@jurta.org>
12104 * isearch.el (word-search-regexp): Match whitespace if the search
12105 string begins or ends in whitespace. The LAX arg is applied to
12106 both ends of the search string. Use `regexp-quote' and explicit
12107 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12108 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12109 boundaries are replaced with symbol boundaries, and characters
12110 between symbols match non-word non-symbol syntax. (Bug#14602)
12112 2013-06-13 Juri Linkov <juri@jurta.org>
12114 * isearch.el (isearch-del-char): Don't exceed the length of
12115 `isearch-string' by the prefix arg. (Bug#14563)
12117 2013-06-13 Juri Linkov <juri@jurta.org>
12119 * isearch.el (isearch-yank-word, isearch-yank-line)
12120 (isearch-char-by-name, isearch-quote-char)
12121 (isearch-printing-char, isearch-process-search-char):
12122 Add optional count prefix arg. (Bug#14563)
12124 * international/isearch-x.el
12125 (isearch-process-search-multibyte-characters):
12126 Add optional count prefix arg.
12128 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12130 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12131 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12134 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12136 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12138 2013-06-13 Glenn Morris <rgm@gnu.org>
12140 * startup.el (tty-handle-args):
12141 Don't just discard "--" and anything after. (Bug#14608)
12143 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12145 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
12147 Implement changes in Secret Service API. Make it backward compatible.
12148 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12149 (secrets-create-item): Use it. Prefix properties with interface.
12151 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12153 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12154 (term-emulate-terminal): Respect term-suppress-hard-newline.
12156 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12158 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12159 Only remove a `thumb-file' overlay. (Bug#14548)
12161 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
12163 * mail/reporter.el (reporter-submit-bug-report):
12164 Handle missing package-name. (Bug#14600)
12166 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12168 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12169 (reftex-citation-prompt, reftex-default-bibliography)
12170 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12171 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12172 (reftex-bib-sort-author, reftex-bib-sort-year)
12173 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12174 (reftex-extract-bib-entries-from-thebibliography)
12175 (reftex-get-bibkey-default, reftex-get-bib-names)
12176 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12177 (reftex-format-bib-entry, reftex-parse-bibitem)
12178 (reftex-format-bibitem, reftex-do-citation)
12179 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12180 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12181 (reftex-insert-bib-matches, reftex-format-citation)
12182 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12183 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12184 existing comments into docstrings.
12186 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12188 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12190 2013-06-12 Andreas Schwab <schwab@suse.de>
12192 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12193 for auto-save files.
12195 2013-06-12 Glenn Morris <rgm@gnu.org>
12197 * ido.el (ido-delete-ignored-files): Remove.
12198 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12199 Go back to calling ido-ignore-item-p directly.
12201 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12203 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12205 * ido.el (ido-delete-ignored-files): New function,
12206 split from ido-make-file-list-1.
12207 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12208 (ido-make-file-list-1): Use ido-delete-ignored-files.
12210 2013-06-12 Leo Liu <sdl.web@gmail.com>
12212 * progmodes/octave.el (inferior-octave-startup)
12213 (inferior-octave-completion-table)
12214 (inferior-octave-track-window-width-change)
12215 (octave-eldoc-function-signatures, octave-help)
12216 (octave-find-definition): Use single quoted strings.
12217 (inferior-octave-startup-args): Change default value.
12218 (inferior-octave-startup): Do not hard code "-i" and
12219 "--no-line-editing".
12220 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12221 (inferior-octave-directory-tracker): Use it.
12222 (octave-goto-function-definition): Robustify.
12223 (octave-help): Support highlighting operators in 'See also'.
12224 (octave-find-definition): Find subfunctions only in Octave mode.
12226 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12228 * help-fns.el (help-fns--compiler-macro): If the handler function is
12229 named, then put a link to it.
12230 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12231 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12232 (cl-typep): Use it.
12233 (cl-eval-when): Simplify debug spec.
12234 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12235 compiler-macro function instead of setting `compiler-macro-file'.
12237 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12239 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12240 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12242 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12243 Daniel Hackney <dan@haxney.org>
12245 First part of Daniel Hackney's patch to package.el.
12246 * emacs-lisp/package.el: Use defstruct.
12247 (package-desc): New, main struct.
12248 (package--bi-desc, package--ac-desc): New structs, used to describe the
12249 format in external files.
12250 (package-desc-vers): Replace with package-desc-version accessor.
12251 (package-desc-doc): Replace with package-desc-summary accessor.
12252 (package-activate-1): Remove `package' arg since the pkg-vec now
12254 (define-package): Use package-desc-from-define.
12255 (package-unpack-single): Change file-name arg to be a symbol.
12256 (package--add-to-archive-contents): Use package-desc-create and new
12257 accessor functions to package--ac-desc.
12258 (package-buffer-info, package-tar-file-info): Return a package-desc.
12259 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12260 arg to be a package-desc.
12261 (package-install-file): Adjust accordingly. Use \' to match EOS.
12262 (package--from-builtin): New function.
12263 (describe-package-1, package-menu--generate): Use it.
12264 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12265 (package-generate-autoloads): Idem and return the name of the file.
12266 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12267 Change pkg-info arg to be a package-desc.
12268 Use package-make-ac-desc.
12269 (package-upload-file): Use \' to match EOS.
12270 * finder.el (finder-compile-keywords): Use package-make-builtin.
12272 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12274 * vc/vc.el (vc-deduce-fileset): Change error message.
12275 (vc-read-backend): New function.
12276 (vc-next-action): Use it.
12278 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12280 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12281 (prolog-font-lock-keywords): Use regexp-opt instead.
12282 Don't manually highlight strings.
12283 (prolog-mode-variables): Simplify comment-start-skip.
12284 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12286 * emacs-lisp/generic.el (generic--normalise-comments)
12287 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12288 (generic-mode-set-comments): Use them.
12289 (generic-bracket-support): Use setq-local.
12290 (generic-make-keywords-list): Declare obsolete.
12292 2013-06-11 Glenn Morris <rgm@gnu.org>
12294 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12295 Prettify after setting font-lock-defaults. (Bug#14574)
12297 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
12299 * replace.el (query-replace, occur-read-regexp-defaults-function)
12301 * subr.el (declare-function, number-sequence, local-set-key)
12302 (substitute-key-definition, locate-user-emacs-file)
12303 (with-silent-modifications, split-string, eval-after-load):
12304 Fix typos, remove unneeded backslashes and reflow some docstrings.
12306 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12308 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12309 default for Elisp files.
12311 2013-06-11 Glenn Morris <rgm@gnu.org>
12313 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12314 although define-derived-mode was doing this anyway. (Bug#14583)
12316 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
12318 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12319 Fix make-variable-buffer-local call to refer to the correct variable.
12321 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
12323 * eshell/em-term.el (eshell-visual-commands)
12324 (eshell-visual-subcommands, eshell-visual-options):
12325 Add summary line to docstrings. Add cross-references.
12327 2013-06-10 Glenn Morris <rgm@gnu.org>
12329 * epa.el (epa-read-file-name): New function. (Bug#14510)
12330 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12332 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12334 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12335 output redirection to be ignored with visual commands.
12337 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12339 * eshell/em-term.el (eshell-visual-command-p): New function.
12340 (eshell-term-initialize): Move long lambda to separate function
12341 eshell-visual-command-p.
12342 * eshell/em-dirs.el (eshell-dirs-initialize):
12343 * eshell/em-script.el (eshell-script-initialize):
12344 Add missing #' to lambda.
12346 2013-06-08 Leo Liu <sdl.web@gmail.com>
12348 * progmodes/octave.el (octave-add-log-current-defun): New function.
12349 (octave-mode): Set add-log-current-defun-function.
12350 (octave-goto-function-definition): Do not move point if not found.
12351 (octave-find-definition): Enhance to try subfunctions first.
12353 2013-06-08 Glenn Morris <rgm@gnu.org>
12355 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12356 (byte-compile-backward-char, byte-compile-backward-word):
12357 Improve previous change, to handle non-explicit nil.
12359 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12361 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12362 (smie--opener/closer-at-point): New function.
12363 (smie--matching-block-data): Use it. Don't match from right after an
12364 opener or right before a closer. Obey smie-blink-matching-inners.
12365 Don't signal a mismatch for repeated inners like "switch..case..case".
12367 2013-06-07 Leo Liu <sdl.web@gmail.com>
12369 * progmodes/octave.el (octave-mode): Set comment-use-global-state
12371 (octave-function-header-regexp): Fix. (Bug#14570)
12372 (octave-help-mode-finish-hook, octave-help-mode-finish):
12373 Remove. Just use temp-buffer-show-hook.
12375 * newcomment.el (comment-search-backward): Revert last change.
12378 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
12380 2013-06-07 Eli Zaretskii <eliz@gnu.org>
12382 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
12383 through xargs, to avoid failure due to MS-Windows limitations on
12384 command-line length.
12386 2013-06-06 Glenn Morris <rgm@gnu.org>
12388 * font-lock.el (lisp-font-lock-keywords-2):
12389 Treat user-error like error.
12391 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12392 (byte-compile-backward-char, byte-compile-backward-word):
12393 Handle explicit nil arguments. (Bug#14565)
12395 2013-06-05 Alan Mackenzie <acm@muc.de>
12397 * isearch.el (isearch-allow-prefix): New user option.
12398 (isearch-other-meta-char): Don't exit isearch when a prefix
12399 argument is typed whilst `isearch-allow-prefix' is non-nil.
12402 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12404 * autorevert.el (auto-revert-notify-handler): Use memq.
12405 Hide assertion failure.
12407 * skeleton.el: Use cl-lib.
12408 (skeleton-further-elements): Use defvar-local.
12409 (skeleton-insert): Use cl-progv.
12411 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12413 * progmodes/prog-mode.el (prog-prettify-symbols)
12414 (prog-prettify-install): Update docstrings.
12416 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12418 * simple.el: Move all the prog-mode code to prog-mode.el.
12419 * progmodes/prog-mode.el: New file.
12420 * loadup.el: Add prog-mode.el.
12422 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12424 * simple.el (prog-prettify-symbols): Add version.
12425 (prog-prettify-install): Add convenience function to prettify symbols.
12427 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
12428 (perl--augmented-font-lock-keywords-1)
12429 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
12430 variables and use it.
12432 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12433 (cfengine3-mode): Remove unneeded variable and use it.
12435 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12436 (lisp--augmented-font-lock-keywords-1)
12437 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
12438 Remove unneeded variables and use it.
12440 2013-06-05 João Távora <joaotavora@gmail.com>
12442 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
12443 to point when opening the connection. (Bug#14380)
12445 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12447 * subr.el (load-history-regexp, load-history-filename-element)
12448 (eval-after-load, after-load-functions, do-after-load-evaluation)
12449 (eval-next-after-load, display-delayed-warnings)
12450 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
12451 definition of save-match-data.
12452 (overriding-local-map): Remove accidental obsolescence declaration.
12454 * emacs-lisp/edebug.el (edebug-result): Move before first use.
12456 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12458 Generalize symbol prettify support to prog-mode and implement it
12459 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
12460 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
12461 (prog--prettify-font-lock-compose-symbol)
12462 (prog-prettify-font-lock-symbols-keywords): New variables and
12463 functions to support symbol prettification.
12464 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12465 (lisp--augmented-font-lock-keywords-1)
12466 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
12467 (lisp--prettify-symbols-alist): Implement prettify of lambda.
12468 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12469 (cfengine3--prettify-symbols-alist, cfengine3-mode):
12470 Implement prettify of -> => :: strings.
12471 * progmodes/perl-mode.el (perl-prettify-symbols)
12472 (perl--font-lock-compose-symbol)
12473 (perl--font-lock-symbols-keywords): Move to prog-mode.
12474 (perl--prettify-symbols-alist): Prettify -> => :: strings.
12475 (perl-font-lock-keywords-1)
12476 (perl-font-lock-keywords-2): Remove explicit prettify support.
12477 (perl--augmented-font-lock-keywords)
12478 (perl--augmented-font-lock-keywords-1)
12479 (perl--augmented-font-lock-keywords-2, perl-mode):
12480 Implement prettify support.
12482 2013-06-05 Leo Liu <sdl.web@gmail.com>
12484 Re-implement SMIE matching block highlight using
12485 show-paren-data-function. (Bug#14395)
12486 * emacs-lisp/smie.el (smie-matching-block-highlight)
12487 (smie--highlight-matching-block-overlay)
12488 (smie--highlight-matching-block-lastpos)
12489 (smie-highlight-matching-block)
12490 (smie-highlight-matching-block-mode): Remove.
12491 (smie--matching-block-data-cache): New variable.
12492 (smie--matching-block-data): New function.
12493 (smie-setup): Use smie--matching-block-data for
12494 show-paren-data-function.
12496 * progmodes/octave.el (octave-mode-menu): Fix.
12497 (octave-find-definition): Skip garbage lines.
12499 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12501 Fix compilation error with simultaneous dynamic+lexical scoping.
12502 Add warning when a defvar appears after the first let-binding.
12503 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
12504 (byte-compile-close-variables): Initialize it.
12505 (byte-compile--declare-var): New function.
12506 (byte-compile-file-form-defvar)
12507 (byte-compile-file-form-define-abbrev-table)
12508 (byte-compile-file-form-custom-declare-variable): Use it.
12509 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
12510 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
12511 (byte-compile-bind): Handle dynamic bindings that shadow
12513 (byte-compile-unbind): Make arg non-optional.
12514 (byte-compile-let): Simplify.
12515 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
12516 (cconv--analyse-function, cconv-analyse-form): Populate it.
12517 Protect byte-compile-bound-variables to limit the scope of defvars.
12518 (cconv-analyse-form): Add missing rule for (defvar <foo>).
12519 Remove unneeded rule for `declare'.
12521 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
12522 so as to avoid depending on cl-adjoin at run-time.
12523 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
12525 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
12526 (macroexp--warn-and-return): Use it.
12528 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12530 * subr.el: Convert to lexical binding.
12531 (overriding-local-map): Make obsolete.
12532 (add-to-list): Doc fix. Add compiler macro.
12533 (read-key): Swap values of local maps.
12535 2013-06-05 Leo Liu <sdl.web@gmail.com>
12537 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
12539 2013-06-04 Leo Liu <sdl.web@gmail.com>
12541 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
12542 (compilation-auto-jump): Suppress the "Mark set" message to give
12543 way to exit message.
12545 2013-06-04 Alan Mackenzie <acm@muc.de>
12547 Remove faulty optimisation from indentation calculation.
12548 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
12549 search limit based on 2000 characters back from indent-point.
12551 2013-06-03 Tassilo Horn <tsdh@gnu.org>
12553 * eshell/em-term.el (cl-lib): Require `cl-lib'.
12555 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
12557 * emacs-lisp/lisp.el: Use lexical-binding.
12558 (lisp--local-variables-1, lisp--local-variables): New functions.
12559 (lisp--local-variables-completion-table): New var.
12560 (lisp-completion-at-point): Use it complete let-bound vars.
12562 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
12563 eagerly (bug#14422).
12565 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
12567 * autorevert.el (auto-revert-notify-enabled)
12568 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12569 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
12570 (auto-revert-notify-handler): Handle also gfilenotify.
12572 * subr.el (file-notify-handle-event): New defun. Replacing ...
12573 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
12576 2013-06-03 Juri Linkov <juri@jurta.org>
12578 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
12579 `M-s h .'. (Bug#14427)
12581 * hi-lock.el (highlight-symbol-at-point): New alias for the new
12582 command `hi-lock-face-symbol-at-point'.
12583 (hi-lock-face-symbol-at-point): New command.
12584 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
12585 (hi-lock-menu): Add `highlight-symbol-at-point'.
12586 (hi-lock-mode): Doc fix.
12588 * isearch.el (isearch-forward-symbol-at-point): New command.
12589 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
12590 (isearch-highlight-regexp): Add a regexp which matches
12591 words/symbols for word/symbol mode.
12593 * subr.el (find-tag-default-bounds): New function with the body
12594 mostly moved from `find-tag-default'.
12595 (find-tag-default): Move most code to `find-tag-default-bounds',
12596 call it and apply `buffer-substring-no-properties' afterwards.
12598 2013-06-03 Tassilo Horn <tsdh@gnu.org>
12600 * eshell/em-term.el (eshell-term-initialize):
12601 Use `cl-intersection' rather than `intersection'.
12603 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
12605 * vc/log-view.el: Doc fix.
12606 (log-view-mode-map): Copy keymap from `special-mode-map'.
12608 2013-06-02 Eric Ludlam <zappo@gnu.org>
12610 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
12611 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
12612 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
12613 (eieio-unbound, eieio-default-superclass)
12614 (eieio--define-field-accessors, method-static, method-before)
12615 (method-primary, method-after, method-num-lists)
12616 (method-generic-before, method-generic-primary)
12617 (method-generic-after, method-num-slots)
12618 (eieio-specialized-key-to-generic-key)
12619 (eieio--check-type, class-v, class-p)
12620 (eieio-class-name, define-obsolete-function-alias)
12621 (eieio-class-parents-fast, eieio-class-children-fast)
12622 (same-class-fast-p, class-constructor, generic-p)
12623 (generic-primary-only-p, generic-primary-only-one-p)
12624 (class-option-assoc, class-option, eieio-object-p)
12625 (class-abstract-p, class-method-invocation-order)
12626 (eieio-defclass-autoload-map, eieio-defclass-autoload)
12627 (eieio-class-un-autoload, eieio-defclass)
12628 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
12629 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
12630 (eieio--defgeneric-init-form, eieio-defgeneric-form)
12631 (eieio-defgeneric-reset-generic-form)
12632 (eieio-defgeneric-form-primary-only)
12633 (eieio-defgeneric-reset-generic-form-primary-only)
12634 (eieio-defgeneric-form-primary-only-one)
12635 (eieio-defgeneric-reset-generic-form-primary-only-one)
12636 (eieio-unbind-method-implementations)
12637 (eieio--defmethod, eieio--typep)
12638 (eieio-perform-slot-validation, eieio-validate-slot-value)
12639 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
12640 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
12641 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
12642 (eieio-slot-name-index, eieio-class-slot-name-index)
12643 (eieio-set-defaults, eieio-initarg-to-attribute)
12644 (eieio-attribute-to-initarg, eieio-c3-candidate)
12645 (eieio-c3-merge-lists, eieio-class-precedence-c3)
12646 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
12647 (eieio-class-precedence-list, eieio-generic-call-methodname)
12648 (eieio-generic-call-arglst, eieio-generic-call-key)
12649 (eieio-generic-call-next-method-list)
12650 (eieio-pre-method-execution-functions, eieio-generic-call)
12651 (eieio-generic-call-primary-only, eieiomt-method-list)
12652 (eieiomt-optimizing-obarray, eieiomt-install)
12653 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
12654 (eieio-generic-form, eieio-defmethod, make-obsolete)
12655 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
12656 (defclass): Remove `eval-and-compile' from macro.
12657 (call-next-method, shared-initialize): Instead of using
12658 `scoped-class' variable, use new eieio--scoped-class, and
12659 eieio--with-scoped-class.
12660 (initialize-instance): Rename local variable 'scoped-class' to
12661 'this-class' to remove ambiguitity from old global.
12663 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
12665 (eieio--scoped-class-stack): New variable.
12666 (eieio--scoped-class): New fcn.
12667 (eieio--with-scoped-class): New scoping macro.
12668 (eieio-defclass): Use pushnew instead of add-to-list.
12669 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
12670 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
12671 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
12672 `scoped-class' variable, use new eieio--scoped-class, and
12673 eieio--with-scoped-class.
12675 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
12677 2013-06-02 Tassilo Horn <tsdh@gnu.org>
12679 * eshell/esh-ext.el (eshell-external-command): Pass args to
12680 `eshell-find-interpreter'.
12681 (eshell-find-interpreter): Add new second parameter ARGS.
12683 * eshell/em-script.el (eshell-script-initialize): Add second arg
12684 to the function added as MATCH to `eshell-interpreter-alist'.
12686 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
12687 the function added as MATCH to `eshell-interpreter-alist'.
12689 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
12690 (eshell-visual-options): New defcustom.
12691 (eshell-escape-control-x): Adapt docstring.
12692 (eshell-term-initialize): Test `eshell-visual-subcommands' and
12693 `eshell-visual-options' in addition to `eshell-visual-commands'.
12694 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
12696 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
12698 * progmodes/python.el (python-indent-block-enders): Add break,
12699 continue and raise keywords.
12701 2013-06-01 Glenn Morris <rgm@gnu.org>
12703 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
12705 Plain (f)boundp silences compilation warnings since Emacs 22.1.
12706 * progmodes/cc-cmds.el (delete-forward-p):
12707 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
12708 * progmodes/cc-engine.el (buffer-syntactic-context):
12709 * progmodes/cc-fonts.el (face-property-instance):
12710 * progmodes/cc-mode.el (set-keymap-parents):
12711 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
12712 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
12713 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
12714 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
12715 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
12717 * progmodes/cc-vars.el (other): Emacs has this widget since
12718 at least 21.1, so don't (re)define it.
12720 * eshell/em-cmpl.el (eshell-cmpl-initialize):
12721 Replace the obsolete alias pcomplete-arg-quote-list.
12723 2013-06-01 Leo Liu <sdl.web@gmail.com>
12725 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
12726 punctuation syntax.
12727 (inferior-octave-minimal-columns)
12728 (inferior-octave-last-column-width): New variables.
12729 (inferior-octave-track-window-width-change): New function.
12730 (inferior-octave-mode): Adjust column width so that Octave output,
12731 for example from 'ls', can fit into the window nicely.
12733 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12735 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12736 Highlight expansions inside regexp literals.
12738 2013-05-31 Glenn Morris <rgm@gnu.org>
12740 * obsolete/sym-comp.el (symbol-complete):
12741 Replace obsolete completion-annotate-function.
12743 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
12745 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12747 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12748 New function, checks if point is inside a literal that allows
12749 expression expansion.
12750 (ruby-syntax-propertize-expansion): Use it.
12751 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
12754 2013-05-30 Juri Linkov <juri@jurta.org>
12756 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
12758 (isearch-invisible): New variable.
12759 (isearch-forward): Doc fix.
12760 (isearch-mode): Set `isearch-invisible'
12761 to the value of `search-invisible'.
12762 (isearch-toggle-case-fold): Doc fix.
12763 (isearch-toggle-invisible): New command.
12764 (isearch-query-replace): Let-bind `search-invisible'
12765 to the value of `isearch-invisible'.
12766 (isearch-search): Use `isearch-invisible' instead of
12767 `search-invisible'. Let-bind `search-invisible'
12768 to the value of `isearch-invisible'. (Bug#11378)
12770 2013-05-30 Juri Linkov <juri@jurta.org>
12772 * replace.el (perform-replace): Avoid `isearch-range-invisible'
12773 call when `query-flag' is nil and `search-invisible' is non-nil.
12776 2013-05-30 Glenn Morris <rgm@gnu.org>
12778 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
12780 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
12781 (cc-require): Suppress spurious "noruntime" warnings.
12782 (cc-require-when-compile): Use fboundp, for sake of compiler.
12784 * progmodes/cc-mode.el: Move load of cc-vars before that of
12785 cc-langs (which in turn loads cc-vars), to quieten compiler.
12787 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12789 * paren.el: Simplify the code.
12790 (show-paren-mode): Always start the timer.
12791 (show-paren--idle-timer): Rename from show-paren-idle-timer.
12792 (show-paren--overlay, show-paren--overlay-1): Rename from
12793 show-paren-overlay and show-paren-overlay-1, and initialize to an
12794 overlay rather than to nil.
12795 (show-paren-function): Misc cleanup and simplifications.
12797 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12799 * paren.el (show-paren-data-function): New hook.
12800 (show-paren--default): New function, extracted from show-paren-function.
12801 (show-paren-function): Use show-paren-data-function.
12803 2013-05-30 Glenn Morris <rgm@gnu.org>
12805 * ielm.el (ielm-map, ielm-complete-symbol):
12806 Use completion-at-point rather than obsolete functions.
12807 (inferior-emacs-lisp-mode): Doc fix.
12808 Set completion-at-point-functions, rather than
12809 comint-dynamic-complete-functions.
12811 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
12812 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
12813 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
12815 * image.el (image-animated-p): Tweak definition.
12817 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
12818 (rlogin-process-connection-type): Tweak default. Add set-after.
12819 (rlogin-host): Doc fix.
12820 (rlogin): Tweak prompt.
12821 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
12823 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
12824 * progmodes/tcl.el (inferior-tcl-mode-map):
12825 Use completion-at-point rather than obsolete alias.
12827 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
12829 * minibuffer.el (read-file-name-completion-ignore-case):
12830 Move before completion--in-region, for eager macro expansion.
12832 2013-05-29 Juri Linkov <juri@jurta.org>
12834 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
12835 for total count of matching lines. Add `global-matches' for total
12836 count of matches. Rename `matches' to `lines' for count of
12837 matching lines. Add `matches' for count of matches.
12838 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
12839 to `prev-line' for line number of prev match endpt.
12840 Increment `matches' for every match. Print the number of
12841 matching lines in the header.
12842 (occur-context-lines): Rename `lines' to `curr-line'.
12843 Rename `prev-lines' to `prev-line'. (Bug#14017)
12845 2013-05-29 Juri Linkov <juri@jurta.org>
12847 * replace.el (perform-replace): Add `skip-read-only-count',
12848 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
12849 Increment them for corresponding conditions and report the number
12850 of skipped occurrences in the final message. (Bug#11746)
12851 (query-replace, query-replace-regexp, query-replace-regexp-eval)
12852 (replace-string, replace-regexp): Doc fix.
12854 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12856 * emacs-lisp/trace.el (trace--read-args): Provide a default.
12858 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
12859 prog-mode-map (bug#14504).
12861 2013-05-29 Leo Liu <sdl.web@gmail.com>
12863 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
12864 (octave-help): Small simplification.
12866 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
12867 off the highlight first.
12869 2013-05-29 Glenn Morris <rgm@gnu.org>
12871 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
12872 Handle idlwave-last-system-routine-info-cons-cell being nil.
12874 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12875 (idlwave-write-paths): Simplify via with-temp-buffer.
12877 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
12878 * emulation/cua-rect.el: Also load cua-base at run time.
12880 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
12881 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
12882 (cperl-imenu-on-info): Require imenu.
12884 2013-05-28 Alan Mackenzie <acm@muc.de>
12886 Handle "capitalised keywords" correctly.
12887 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
12889 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
12891 * eshell/em-unix.el: Add -r option to cp.
12893 2013-05-28 Glenn Morris <rgm@gnu.org>
12895 * vc/vc-arch.el (vc-exec-after): Declare.
12896 (vc-switches): Autoload.
12897 * vc/vc-bzr.el: No need to require vc when compiling.
12898 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
12899 (vc-resynch-buffer, vc-dir-refresh): Declare.
12900 (vc-setup-buffer, vc-switches): Autoload.
12901 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
12902 (vc-resynch-buffer): Declare.
12903 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
12904 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
12905 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
12906 (grep-read-regexp, grep-read-files, grep-expand-template)
12907 (vc-dir-refresh): Declare.
12908 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
12909 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
12910 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
12911 * vc/vc-mtn.el (vc-exec-after): Declare.
12912 (vc-switches): Autoload.
12913 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
12914 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
12915 (vc-file-tree-walk): Declare.
12916 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
12917 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
12918 (vc-tag-precondition, vc-rename-master): Autoload.
12919 * vc/vc-svn.el (vc-exec-after): Declare.
12920 (vc-switches, vc-setup-buffer): Autoload.
12921 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
12923 (vc-resynch-buffer): Declare.
12925 * obsolete/fast-lock.el (byte-compile-warnings):
12926 Don't warn about obsolete features in this obsolete file.
12928 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
12929 Move definition before use.
12931 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
12932 (dun-unix-verbs): Remove dun-zippy.
12933 (dun-zippy): Remove function.
12935 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
12937 2013-05-27 Juri Linkov <juri@jurta.org>
12939 * replace.el (replace-search): New function with code moved out
12940 from `perform-replace'.
12941 (replace-highlight, replace-dehighlight): Move function definitions
12942 up closer to `replace-search'. (Bug#11746)
12944 2013-05-27 Juri Linkov <juri@jurta.org>
12946 * replace.el (perform-replace): Ignore invisible matches.
12947 In addition to checking `query-replace-skip-read-only', also
12948 filter out matches by calling `run-hook-with-args-until-failure'
12949 on `isearch-filter-predicates', and also check `search-invisible'
12950 for t or call `isearch-range-invisible'.
12951 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
12953 2013-05-27 Juri Linkov <juri@jurta.org>
12955 * isearch.el (isearch-filter-predicates): Rename from
12956 `isearch-filter-predicate'. Doc fix. (Bug#11378)
12957 (isearch-message-prefix): Display text from the property
12958 `isearch-message-prefix' of the currently active filters.
12959 (isearch-search): Don't compare `isearch-filter-predicate' with
12960 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
12961 on `isearch-filter-predicates'. Also check `search-invisible' for t
12962 or call `isearch-range-invisible'.
12963 (isearch-filter-visible): Make obsolete.
12964 (isearch-lazy-highlight-search):
12965 Call `run-hook-with-args-until-failure' on
12966 `isearch-filter-predicates' and use `isearch-range-invisible'.
12968 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
12969 `isearch-filter-predicates' instead of `funcall'ing
12970 `isearch-filter-predicate'.
12971 (Info-mode): Set `Info-isearch-filter' to
12972 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
12974 * dired-aux.el (dired-isearch-filter-predicate-orig):
12976 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
12977 (dired-isearch-filenames-end): Add and remove
12978 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
12979 instead of changing the value of `isearch-filter-predicate'.
12980 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
12981 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
12982 Put property `isearch-message-prefix' to "filename " on
12983 `dired-isearch-filter-filenames'.
12985 * wdired.el (wdired-change-to-wdired-mode):
12986 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
12987 locally instead of changing `isearch-filter-predicate'.
12988 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
12990 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
12992 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
12993 return the commit hash (Bug#14459). Also set the
12994 `vc-git-detached' property.
12995 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
12996 (vc-git-mode-line-string): Use the same help-echo format whether
12997 in detached mode or not, because we know the actual revision now.
12998 When in detached mode, shorten the revision to 7 chars.
13000 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13002 * emacs-lisp/easy-mmode.el (define-minor-mode):
13003 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13004 mode hook and provide a docstring.
13006 2013-05-27 Alan Mackenzie <acm@muc.de>
13008 Remove spurious syntax-table text properties inserted by C-y.
13009 * progmodes/cc-mode.el (c-after-change): Also clear hard
13010 syntax-table property with value nil.
13012 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13014 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13015 when reading the events; the buffer layout shall not be changed.
13017 2013-05-27 Leo Liu <sdl.web@gmail.com>
13019 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13021 (inferior-octave-directory-tracker): Automatically re-sync
13023 (octave-help): Improve handling of 'See also'.
13025 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13027 * doc-view.el: Minor naming convention tweaks.
13028 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13030 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13031 even if there's no `display' property yet (bug#14435).
13033 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13035 * subr.el (unmsys--file-name): Rename from reveal-filename.
13037 * Makefile.in (custom-deps, finder-data, autoloads)
13038 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13039 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13040 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13042 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13044 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13045 error-completion on the first 2 args of condition-case (bug#14446).
13048 2013-05-25 Leo Liu <sdl.web@gmail.com>
13050 * comint.el (comint-previous-matching-input): Do not flood the
13051 *Messages* buffer with trivial messages.
13053 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13055 * progmodes/flymake.el (flymake-nop): Don't return a string.
13056 (flymake-set-at): Fix typo.
13058 * simple.el (read--expression): New function, extracted from
13059 eval-expression. Set completion-at-point-functions (bug#14465).
13060 (eval-expression, eval-minibuffer): Use it.
13062 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13064 * progmodes/flymake.el (flymake-save-buffer-in-file)
13065 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13066 (flymake-selected-frame, flymake-log, flymake-ins-after)
13067 (flymake-set-at, flymake-get-buildfile-from-cache)
13068 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13069 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13070 Refine the doc string.
13071 (flymake-get-file-name-mode-and-masks): Reformat.
13072 (flymake-get-real-file-name-function): Fix a minor bug.
13074 2013-05-24 Juri Linkov <juri@jurta.org>
13076 * progmodes/grep.el (grep-mode-font-lock-keywords):
13077 Support =linenumber= format used by git-grep for lines with
13078 function names. (Bug#13549)
13080 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13082 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13083 0 after a semi-colon; it works better for smie-auto-fill.
13084 (octave--indent-new-comment-line): New function.
13085 (octave-indent-new-comment-line): Use it (indirectly).
13086 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13087 modify comment-line-break-function.
13089 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13090 (smie-setup): Use add-function to set it.
13092 2013-05-24 Sam Steingold <sds@gnu.org>
13094 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13095 argument (before the `interactive' argument).
13097 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13099 * image-mode.el (image-mode-winprops): Add winprops to
13100 image-mode-winprops-alist before running
13101 image-mode-new-window-functions.
13102 * doc-view.el (doc-view-new-window-function): Don't delay
13103 doc-view-goto-page via timers (bug#14435).
13105 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13107 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13108 (doc-view-desktop-save-buffer): New function.
13109 (doc-view-restore-desktop-buffer): New function.
13110 (desktop-buffer-mode-handlers):
13111 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13113 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13114 `desktop-save-buffer' function.
13116 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13118 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13119 (tramp-gvfs-file-name-handler): Raise a user error when
13120 `tramp-gvfs-enabled' is nil.
13121 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13122 Do not raise a user error when loading package. (Bug#14447)
13124 * net/xesam.el: Move to obsolete/.
13126 2013-05-24 Glenn Morris <rgm@gnu.org>
13128 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13130 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13132 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13133 (Info-find-node, Man-getpage-in-background): Declare.
13135 * mail/unrmail.el (unrmail):
13136 Replace obsolete detect-coding-with-priority.
13138 * net/socks.el (socks-split-string): Use this rather than split-string.
13139 (socks-nslookup-host): Update for above change.
13140 (dynamic-choice, s5-dynamic-choice-match)
13141 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13142 Comment out unused code.
13144 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13145 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13146 (gud-tooltip-echo-area): Make obsolete.
13147 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13149 * progmodes/js.el (js--optimize-arglist): Declare.
13151 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13153 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13154 (ediff-window-C): Declare.
13156 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13157 Tweak requires to silence compiler.
13159 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13160 (he-search-string, he-tried-table, he-expand-list)
13161 (he-init-string, he-string-member, he-substitute-string)
13162 (he-reset-string): Declare.
13164 * obsolete/options.el (list-options): Use custom-variable-p,
13165 rather than obsolete alias.
13167 2013-05-23 Sam Steingold <sds@gnu.org>
13169 * simple.el (shell-command-on-region): Pass the `replace' argument
13170 down to `call-process-region' to comply with the doc as reported on
13171 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13173 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13175 * emacs-lisp/smie.el (smie-indent-forward-token)
13176 (smie-indent-backward-token): Handle string tokens (bug#14381).
13178 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13180 * ielm.el (ielm-menu): New menu.
13181 (inferior-emacs-lisp-mode): Set comment-start.
13183 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13185 * textmodes/reftex.el (reftex-ref-style-toggle):
13186 Fix deactivate action.
13188 * textmodes/reftex-vars.el (reftex-ref-style-alist):
13189 Add cleveref macros.
13191 * textmodes/reftex-parse.el
13192 (reftex-locate-bibliography-files): Accept options for
13193 bibliography commands.
13194 * textmodes/reftex-vars.el (reftex-bibliography-commands):
13195 Add addbibresource. Basic Biblatex support.
13197 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13199 * net/tramp-gvfs.el (top):
13200 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13201 when loading package. (Bug#14447)
13203 2013-05-23 Glenn Morris <rgm@gnu.org>
13205 * progmodes/js.el: No need to load comint when compiling.
13206 (ring-insert, comint-send-string, comint-send-input)
13207 (comint-last-input-end, ido-chop): Declare.
13209 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13210 * vc/ediff-mult.el: Adjust requires.
13211 (ediff-directories-internal, ediff-directory-revisions-internal)
13212 (ediff-patch-file-internal): Declare.
13213 * vc/ediff-ptch.el: Adjust requires.
13214 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13215 (ediff-find-file): Autoload.
13216 * vc/ediff-util.el: No need to load ediff when compiling.
13217 (ediff-regions-internal): Declare.
13218 * vc/ediff-wind.el: Adjust requires.
13219 (ediff-compute-toolbar-width): Define when compiling.
13220 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13221 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13222 (dired-get-filename, dired-get-marked-files)
13223 (ediff-last-dir-patch, ediff-patch-default-directory)
13224 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13225 (ediff-patch-buffer-internal): Declare.
13227 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13228 (ispell-process, ispell-buffer-local-words, lm-summary)
13229 (lm-section-start, lm-section-end): Declare.
13230 (checkdoc-ispell-init): Simplify.
13232 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13233 (he-string-member, he-reset-string, he-substitute-string): Declare.
13235 * eshell/em-ls.el: Adjust requires.
13236 (eshell-glob-regexp): Declare.
13237 * eshell/em-tramp.el: Adjust requires.
13238 (eshell-parse-command): Autoload.
13239 * eshell/em-xtra.el: Adjust requires.
13240 (eshell-parse-command): Autoload.
13241 * eshell/esh-ext.el: Adjust requires.
13242 (eshell-parse-command, eshell-close-handles): Autoload.
13243 * eshell/esh-io.el: Adjust requires.
13244 (eshell-output-filter): Autoload.
13245 * eshell/esh-util.el: No need to load tramp when compiling.
13246 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13248 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13249 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13250 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13251 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13252 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13253 * eshell/esh-opt.el, eshell/esh-proc.el:
13254 * eshell/esh-var.el: Adjust requires.
13255 * eshell/eshell.el: Do not require esh-util twice.
13256 (eshell-add-input-to-history): Declare.
13257 (eshell-command): Check history module is active before using it.
13259 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13261 2013-05-22 Leo Liu <sdl.web@gmail.com>
13263 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13265 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
13267 * autorevert.el (auto-revert-notify-add-watch)
13268 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13269 it indicates changes in file modification time.
13271 2013-05-22 Glenn Morris <rgm@gnu.org>
13273 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13274 Always delete the autoloaded function from the noruntime and
13275 unresolved functions lists.
13277 * allout.el: No need to load epa, epg, overlay when compiling.
13278 (epg-context-set-passphrase-callback, epg-list-keys)
13279 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13280 (epg-key-user-id-list): Declare.
13282 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13283 (viper-set-parsing-style-toggling-macro)
13284 (viper-set-emacs-state-searchstyle-macros):
13285 Use called-interactively-p on Emacs.
13286 (viper-looking-back): Make it an obsolete alias. Update callers.
13287 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13288 Use looking-back rather than viper-looking-back.
13289 (viper-tmp-insert-at-eob, viper-enlarge-region)
13290 (viper-read-string-with-history, viper-register-to-point)
13291 (viper-append-to-register, viper-change-state-to-vi)
13292 (viper-backward-char-carefully, viper-forward-char-carefully)
13293 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13294 (viper-change-state-to-emacs): Declare.
13295 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13296 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13297 * emulation/viper-mous.el: Do not load viper-cmd.
13298 (viper-backward-char-carefully, viper-forward-char-carefully)
13299 (viper-forward-word, viper-adjust-window): Declare.
13301 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13303 * progmodes/idlw-help.el (idlwave-help-fontify):
13304 Use called-interactively-p.
13306 * term/w32console.el (w32-get-console-codepage)
13307 (w32-get-console-output-codepage): Declare.
13309 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13310 Remove unnecessary declarations.
13311 (dframe-message): Doc fix.
13313 * info.el (dframe-select-attached-frame, dframe-current-frame):
13316 * speedbar.el (speedbar-message): Make it an obsolete alias.
13317 Update all callers.
13318 (speedbar-with-attached-buffer)
13319 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13320 (speedbar-with-writable): Use backquote.
13321 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13322 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13323 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13324 rather than speedbar- aliases.
13325 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13326 (speedbar-make-specialized-keymap, speedbar-insert-button)
13327 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13328 (speedbar-do-function-pointer): Declare.
13329 (rmail-speedbar-button, rmail-speedbar-find-file)
13330 (rmail-speedbar-move-message):
13331 Use dframe-with-attached-buffer rather than speedbar- alias.
13332 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13333 (dframe-message, speedbar-make-specialized-keymap)
13334 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13335 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13336 (speedbar-insert-button, dframe-select-attached-frame)
13337 (dframe-maybee-jump-to-attached-frame)
13338 (speedbar-change-initial-expansion-list)
13339 (speedbar-previously-used-expansion-list-name): Declare.
13340 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13341 Use dframe-message, dframe-with-attached-buffer rather than
13343 (gud-sentinel): Silence compiler.
13344 * progmodes/vhdl-mode.el (speedbar-refresh)
13345 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13346 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13347 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13348 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13349 (speedbar-file-lists, speedbar-make-tag-line)
13350 (speedbar-line-directory, speedbar-goto-this-file)
13351 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13352 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13353 (speedbar-make-button, speedbar-reset-scanners)
13354 (speedbar-files-item-info, speedbar-line-text)
13355 (speedbar-find-file-in-frame, speedbar-set-timer)
13356 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13357 (speedbar-with-writable): Do not (re)define it.
13358 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13359 rather than speedbar- alias.
13361 2013-05-21 Leo Liu <sdl.web@gmail.com>
13363 * progmodes/octave.el (octave-mode-menu): Update and re-organize
13365 (octave-mode): Tweak fill-nobreak-predicate.
13366 (inferior-octave-startup): Check process to avoid infinite loop.
13367 (inferior-octave): Pop to buffer first to show abornmal process
13370 2013-05-21 Glenn Morris <rgm@gnu.org>
13372 * printing.el (pr-menu-bar): Define when compiling.
13374 2013-05-21 Leo Liu <sdl.web@gmail.com>
13376 * progmodes/octave.el (octave-auto-fill): Remove.
13377 (octave-indent-new-comment-line): Improve.
13378 (octave-mode): Use auto fill mode through
13379 comment-line-break-function and fill-nobreak-predicate.
13380 (octave-goto-function-definition): Support DEFUN_DLD.
13381 (octave-beginning-of-defun): Small tweak.
13382 (octave-help): Show parent directory.
13384 2013-05-21 Glenn Morris <rgm@gnu.org>
13386 * files.el (dired-unmark):
13387 * progmodes/gud.el (gdb-input): Update declarations.
13389 * calculator.el (electric, ehelp): No need to load when compiling.
13390 (Electric-command-loop, electric-describe-mode): Declare.
13392 * doc-view.el (doc-view-current-converter-processes): Move before use.
13394 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13395 Move MODE-set-explicitly definition before use.
13397 * international/mule-diag.el (mule-diag):
13398 Don't use obsolete window-system-version.
13400 * mail/feedmail.el (smtpmail): No need to load when compiling.
13401 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
13403 * mail/mail-utils.el (rfc822): No need to load when compiling.
13404 (rfc822-addresses): Autoload it.
13405 (mail-strip-quoted-names): Trivial simplification.
13407 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
13408 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
13410 * net/snmp-mode.el (tempo): Don't duplicate requires.
13412 * progmodes/prolog.el (info): No need to load when compiling.
13413 (comint): Require before shell requires it.
13414 (Info-goto-node): Autoload it.
13415 (Info-follow-nearest-node): Declare.
13416 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
13418 * textmodes/artist.el (picture-mode-exit): Declare.
13420 * textmodes/reftex-parse.el (reftex-parse-from-file):
13421 Trivial rewrite so the compiler can parse it better.
13423 2013-05-20 Leo Liu <sdl.web@gmail.com>
13425 * progmodes/octave.el (octave-help-mode-map)
13426 (octave-help-mode-finish-hook): New variables.
13427 (octave-help-mode, octave-help-mode-finish): New functions.
13428 (octave-help): Use octave-help-mode.
13430 2013-05-20 Glenn Morris <rgm@gnu.org>
13432 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
13434 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
13436 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
13437 start at point, so that expansion starting right after opening
13438 slash in a regexp is recognized.
13439 (ruby-syntax-before-regexp-re): New defvar, extracted from
13440 ruby-syntax-propertize-function. Since the value of this regexp
13441 is looked up at runtime now, we should be able to turn
13442 `ruby-syntax-methods-before-regexp' into a defcustom later.
13443 (ruby-syntax-propertize-function): Split regexp matching into two
13444 parts, for opening and closing slashes. That allows us to skip
13445 over string interpolations and support multiline regexps.
13446 Don't call `ruby-syntax-propertize-expansions', instead use another rule
13447 for them, which calls `ruby-syntax-propertize-expansion'.
13448 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
13449 call to `ruby-syntax-propertize-function'.
13450 (ruby-syntax-propertize-expansion): Extracted from
13451 `ruby-syntax-propertize-expansions'. Handles one expansion.
13452 (ruby-syntax-propertize-percent-literal): Leave point right after
13453 the percent symbol, so that the expression expansion rule can
13454 propertize the contents.
13455 (ruby-syntax-propertize-heredoc): Leave point at bol following the
13457 (ruby-syntax-propertize-expansions): Remove.
13459 2013-05-18 Juri Linkov <juri@jurta.org>
13461 * man.el (Man-default-man-entry): Remove `-' from the end
13462 of the default value. (Bug#14400)
13464 2013-05-18 Glenn Morris <rgm@gnu.org>
13466 * comint.el (comint-password-prompt-regexp):
13467 Allow "password for XXX" where XXX contains colons (eg https://...).
13469 2013-05-18 Leo Liu <sdl.web@gmail.com>
13471 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
13472 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
13473 (octave-source-directories): Don't check process.
13474 (octave-source-directories, octave-find-definition): Doc fix.
13476 2013-05-18 Glenn Morris <rgm@gnu.org>
13478 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
13479 Remove backspace/delete bindings. (Bug#14392)
13481 * cus-dep.el (custom-make-dependencies): Sort the output.
13482 (custom-versions-load-alist): Convert comment to doc.
13484 2013-05-17 Leo Liu <sdl.web@gmail.com>
13486 * newcomment.el (comment-search-backward): Stricter in finding
13487 comment start. (Bug#14303)
13489 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
13490 (octave-comment-start-skip): Properly anchored.
13492 2013-05-17 Leo Liu <sdl.web@gmail.com>
13494 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
13495 Clean up when turned off. (Bug#14395)
13496 (smie--highlight-matching-block-overlay): No longer buffer-local.
13497 (smie-highlight-matching-block): Adjust.
13499 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
13501 Doc string fix for "nanoseconds" (Bug#14406).
13502 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
13503 Fix doc string typo that had "nanoseconds" instead of "microseconds".
13505 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
13507 * calc/calc-units.el (math-extract-units): Preserve powers
13510 2013-05-17 Leo Liu <sdl.web@gmail.com>
13512 * subr.el (delete-consecutive-dups): New function.
13513 * ido.el (ido-set-matches-1): Use it.
13514 * progmodes/octave.el (inferior-octave-completion-table): Use it.
13515 * ido.el (ido-remove-consecutive-dups): Remove.
13517 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13519 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13520 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
13521 regexp-opt's `words'.
13523 2013-05-16 Leo Liu <sdl.web@gmail.com>
13525 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
13526 (smie--highlight-matching-block-overlay)
13527 (smie--highlight-matching-block-lastpos)
13528 (smie--highlight-matching-block-timer): New variables.
13529 (smie-highlight-matching-block): New function.
13530 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
13531 (smie-setup): Conditionally enable smie-blink-matching-open.
13533 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
13535 Sync with upstream verilog-mode r840.
13536 * progmodes/verilog-mode.el (verilog-mode-version)
13537 (verilog-mode-release-date): Update.
13538 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
13539 (verilog-sig-tieoff): Fix string error on
13540 AUTORESET with colon define, bug594. Reported by Andrew Hou.
13541 (verilog-read-decls): Fix parameters confusing
13542 AUTOINST interfaces, bug565. Reported by Leith Johnson.
13544 2013-05-16 Eli Zaretskii <eliz@gnu.org>
13546 * subr.el (reveal-filename): New function.
13548 * loadup.el: Compute Emacs executable versions on MS-Windows,
13549 where executables have the .exe extension. Add a hard link
13550 emacs-XX.YY.ZZ.exe on MS-Windows.
13552 * Makefile.in (XARGS_LIMIT): New variable.
13553 (custom-deps, finder-data, autoloads)
13554 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13555 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13556 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
13557 (compile-main): Limit xargs according to $(XARGS_LIMIT).
13559 2013-05-16 Leo Liu <sdl.web@gmail.com>
13561 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
13562 (octave-mode-menu, octave-mode-map): Remove its uses.
13564 2013-05-16 Reto Zimmermann <reto@gnu.org>
13566 Sync with upstream vhdl mode v3.34.2.
13567 * progmodes/vhdl-mode.el: Use `push' throughout.
13568 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
13569 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
13570 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
13571 (vhdl-actual-generic-name): New option to derive actual generic name.
13572 (vhdl-port-paste-signals): Replace formal by actual generics.
13573 (vhdl-beautify): New name for old group vhdl-align. Update users.
13574 (vhdl-beautify-options): New option.
13575 (vhdl-last-input-event): New compat alias. Use throughout.
13576 (vhdl-goto-line): Replace user level function `goto-line'.
13577 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
13578 vhdl-fix-statement-buffer.
13579 (vhdl-create-mode-menu): Add some entries.
13580 (vhdl-align-region-groups): Respect vhdl-beautify-options.
13581 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
13582 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
13583 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
13584 to force statements on one line.
13585 (vhdl-remove-trailing-spaces-region):
13586 New, split from vhdl-remove-trailing-spaces.
13587 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
13588 Respect vhdl-beautify-options.
13589 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
13590 (vhdl-update-sensitivity-list): Not add with index if exists without.
13591 Not include array index with signal. Ignore keywords in comments.
13592 (vhdl-get-visible-signals): Regexp tweaks.
13593 (vhdl-template-component-inst): Handle empty library.
13594 (vhdl-template-type): Add template for 'enum' type.
13595 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
13596 Use vhdl-replace-string.
13597 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
13598 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
13599 (vhdl-speedbar-initialize): Update for above name change.
13600 (vhdl-compose-wire-components): Fix in handling of constants.
13601 (vhdl-error-regexp-emacs-alist): New variable.
13602 (vhdl-error-regexp-add-emacs): New function;
13603 adds support for new compile.el (Emacs 22+)
13604 (vhdl-generate-makefile-1): Change target order for single lib. units.
13605 Allow use of absolute file names.
13607 2013-05-16 Leo Liu <sdl.web@gmail.com>
13609 * simple.el (prog-indent-sexp): Indent enclosing defun.
13611 2013-05-15 Glenn Morris <rgm@gnu.org>
13613 * cus-start.el (show-trailing-whitespace): Move to editing basics.
13614 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
13615 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
13616 (whitespace-highlight): Move to whitespace group.
13618 * comint.el (comint-source):
13619 * pcmpl-linux.el (pcmpl-linux):
13620 * shell.el (shell-faces):
13621 * eshell/esh-opt.el (eshell-opt):
13622 * international/ccl.el (ccl): Remove empty custom groups.
13624 * completion.el (dynamic-completion-mode):
13625 * jit-lock.el (jit-lock-debug-mode):
13626 * minibuffer.el (completion-in-region-mode):
13627 * type-break.el (type-break-mode-line-message-mode)
13628 (type-break-query-mode):
13629 * emulation/tpu-edt.el (tpu-edt-mode):
13630 * progmodes/subword.el (global-subword-mode, global-superword-mode):
13631 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13632 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
13634 * term/xterm.el (xterm): Change parent group to terminals.
13636 * master.el (master): Remove empty custom group.
13637 (master-mode): Remove unused :group argument.
13638 * textmodes/refill.el (refill): Remove empty custom group.
13639 (refill-mode): Remove unused :group argument.
13641 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
13643 * cus-dep.el: Provide a feature.
13644 (custom-make-dependencies): Ignore dotfiles (dir-locals).
13645 Don't mistakenly ignore files whose basenames match a basename
13646 from preloaded-file-list (eg cedet/ede/simple.el).
13647 Add a fallback method for getting :group.
13649 2013-05-15 Juri Linkov <juri@jurta.org>
13651 * isearch.el (isearch-char-by-name): Rename from
13652 `isearch-insert-char-by-name'. Doc fix.
13653 (isearch-forward): Mention `isearch-char-by-name' in
13654 the docstring. (Bug#13348)
13656 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
13657 `exit-minibuffer' instead of
13658 `isearch-nonincremental-exit-minibuffer'.
13659 (isearch-edit-string): Remove mention of
13660 `isearch-nonincremental-exit-minibuffer' from docstring.
13661 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
13662 (isearch-forward-exit-minibuffer)
13663 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
13665 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13667 * loadup.el: Just use unversioned DOC.
13669 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
13670 literals as extending to EOB.
13671 (nxml-last-fontify-end): Remove unused variable.
13672 (nxml-after-change1): Use with-silent-modifications.
13673 (nxml-extend-after-change-region): Simplify.
13674 (nxml-extend-after-change-region1): Remove function.
13675 (nxml-after-change1): Don't adjust for dependent regions.
13676 (nxml-fontify-matcher): Simplify.
13677 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
13678 (xmltok-add-dependent): Remove function.
13679 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
13680 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
13681 (xmltok-scan-prolog-after-processing-instruction-open): Treat
13682 unclosed <[[, <?, comment, and other literals as extending to EOB.
13683 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
13684 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
13686 (rng-do-some-validation-1): Don't mark dependent regions.
13687 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
13688 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
13689 (nxml-clear-dependent-regions): Remove functions.
13690 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
13691 (nxml-ensure-scan-up-to-date):
13692 Don't clear&mark dependent regions.
13694 2013-05-15 Leo Liu <sdl.web@gmail.com>
13696 * progmodes/octave.el (octave-goto-function-definition):
13697 Improve and fix callers.
13699 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13701 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
13702 the setter (bug#14387).
13704 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
13705 surrounding group (bug#14402).
13707 2013-05-14 Juri Linkov <juri@jurta.org>
13709 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
13712 2013-05-14 Glenn Morris <rgm@gnu.org>
13714 * progmodes/f90.el (f90-imenu-generic-expression):
13715 Fix typo in 2013-05-08 change. (Bug#14402)
13717 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13719 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
13720 Remove signals for which replies are never received.
13722 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13724 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
13725 (gdb-handler-alist, gdb-handler-number): Remove variables.
13726 (gdb-handler-list): New variable.
13727 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
13728 (gdb-pending-handler-p, gdb-handle-reply)
13729 (gdb-remove-all-pending-triggers): New functions.
13730 (gdb-discard-unordered-replies): New defcustom.
13731 (gdb-handler): New defstruct.
13732 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
13733 instead of gdb-pending-triggers. Update docstring.
13734 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
13735 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
13736 (gdb-var-update-handler, def-gdb-auto-update-trigger)
13737 (def-gdb-auto-update-handler, gdb-get-changed-registers)
13738 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
13739 (gdb-frame-handler): Pending triggers are now automatically managed.
13740 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
13742 (gdb-input): Automatically handles pending triggers. Update docstring.
13743 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
13744 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
13746 (gdb-done-or-error): Now use gdb-handle-reply.
13748 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13750 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
13753 2013-05-14 Glenn Morris <rgm@gnu.org>
13755 * subr.el (user-emacs-directory-warning): New option.
13756 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
13758 2013-05-14 Leo Liu <sdl.web@gmail.com>
13760 * progmodes/octave.el (octave-font-lock-keywords): Fix error
13762 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
13763 (octave-font-lock-texinfo-comment): Fix invalid search bound
13764 error: wrong side of point.
13766 2013-05-14 Glenn Morris <rgm@gnu.org>
13768 * progmodes/flymake.el (flymake-xml-program): New option.
13769 (flymake-xml-init): Use it.
13771 * term/xterm.el: Provide a feature.
13773 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
13775 2013-05-13 Glenn Morris <rgm@gnu.org>
13777 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
13778 Add compat aliases as a hack workaround. (Bug#14384)
13780 2013-05-13 Leo Liu <sdl.web@gmail.com>
13782 * progmodes/octave.el (octave-indent-comment): Fix indentation for
13784 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
13786 (octave-comment-start-skip): Include %!.
13787 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
13789 2013-05-12 Leo Liu <sdl.web@gmail.com>
13791 * progmodes/octave.el (inferior-octave-startup): Store the value
13792 of __octave_srcdir__ for octave-source-directories.
13793 (inferior-octave-check-process): New function refactored out of
13794 inferior-octave-send-list-and-digest.
13795 (octave-source-directories)
13796 (octave-find-definition-filename-function): New variables.
13797 (octave-source-directories)
13798 (octave-find-definition-default-filename): New functions.
13799 (octave-find-definition): Improve to find functions implemented in C++.
13801 2013-05-12 Glenn Morris <rgm@gnu.org>
13803 * calendar/diary-lib.el (diary-outlook-format-1):
13804 Don't include dayname in the output. (Bug#14349)
13806 2013-05-11 Glenn Morris <rgm@gnu.org>
13808 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
13810 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
13811 Treat cc-provide like provide.
13813 2013-05-11 Kevin Ryde <user42@zip.com.au>
13815 * cus-dep.el (custom-make-dependencies):
13816 Use generated-autoload-load-name for the sake of files such
13817 such cedet/semantic/bovine/c.el, where the base file name
13818 is not in load-path. (Bug#5277)
13820 2013-05-11 Glenn Morris <rgm@gnu.org>
13822 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
13825 2013-05-11 Leo Liu <sdl.web@gmail.com>
13827 * progmodes/octave.el (octave-indent-comment): Improve.
13828 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
13829 (octave-eldoc-function-signatures, octave-eldoc-function):
13831 (octave-mode, inferior-octave-mode): Add eldoc support.
13833 2013-05-11 Richard Stallman <rms@gnu.org>
13835 * epa.el (epa-decrypt-file): Take output file name as argument
13836 and read it using `interactive'.
13838 2013-05-11 Leo Liu <sdl.web@gmail.com>
13840 * progmodes/octave.el (octave-beginning-of-line)
13841 (octave-end-of-line): Check before using up-list because it jumps
13842 out of more syntactic contructs since moving to smie.
13843 (octave-indent-comment): New function.
13844 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
13845 (octave-begin-keywords, octave-end-keywords)
13846 (octave-reserved-words, octave-smie-bnf-table)
13847 (octave-smie-rules): Add new keywords from Octave 3.6.4.
13849 2013-05-11 Glenn Morris <rgm@gnu.org>
13851 * faces.el (internal-face-x-get-resource):
13852 * frame.el (ns-display-monitor-attributes-list):
13853 * calc/calc-aent.el (math-to-radians-2):
13854 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
13857 * calc/calc-menu.el: Make it loadable in isolation.
13859 * net/eudcb-bbdb.el: Make it loadable without bbdb.
13860 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
13861 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
13862 (eudc-bbdb-query-internal): Require 'bbdb.
13864 * lpr.el (lpr-headers-switches):
13865 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
13867 * progmodes/sql.el (sql-login-params): Fix and improve :type.
13869 * emulation/edt-mapper.el: In batch mode, error rather than hang.
13871 * term.el (term-set-escape-char): Make it idempotent.
13873 2013-05-10 Leo Liu <sdl.web@gmail.com>
13875 * progmodes/octave.el (inferior-octave-completion-table):
13876 No longer a function and all uses changed. Use cache to speed up
13877 completion due to bug#11906.
13878 (octave-beginning-of-defun): Re-write to be more general.
13880 2013-05-10 Glenn Morris <rgm@gnu.org>
13882 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
13884 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13886 * comint.el (comint-redirect-send-command-to-process): Use :around
13887 rather than :override for comint-redirect-filter.
13888 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
13889 Call it instead of comint-redirect-original-filter-function (which
13890 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
13892 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
13894 * frame.el (display-monitor-attributes-list): Add NS case.
13895 (ns-display-monitor-attributes-list): Declare.
13897 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
13899 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
13901 2013-05-09 Glenn Morris <rgm@gnu.org>
13903 * international/fontset.el (vertical-centering-font-regexp):
13904 Set standard-value.
13906 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
13908 * bookmark.el (bookmark-search-delay):
13909 * cus-start.el (vertical-centering-font-regexp):
13910 * ps-mule.el (ps-mule-font-info-database-default):
13911 * ps-print.el (ps-default-fg, ps-default-bg):
13912 * type-break.el (type-break-good-break-interval):
13913 * whitespace.el (whitespace-indentation-regexp)
13914 (whitespace-space-after-tab-regexp):
13915 * emacs-lisp/testcover.el (testcover-1value-functions)
13916 (testcover-noreturn-functions, testcover-progn-functions)
13917 (testcover-prog1-functions):
13918 * emulation/viper-init.el (viper-emacs-state-cursor-color):
13919 * eshell/em-glob.el (eshell-glob-translate-alist):
13920 * play/tetris.el (tetris-tty-colors):
13921 * progmodes/cpp.el (cpp-face-default-list):
13922 * progmodes/flymake.el (flymake-allowed-file-name-masks):
13923 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
13924 (idlwave-help-browser-generic-args):
13925 * progmodes/make-mode.el (makefile-special-targets-list):
13926 * progmodes/python.el (python-shell-virtualenv-path):
13927 * progmodes/verilog-mode.el (verilog-active-low-regexp)
13928 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
13929 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
13930 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
13931 * textmodes/reftex-vars.el (reftex-format-label-function):
13932 * textmodes/remember.el (remember-diary-file): Fix custom types.
13934 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
13937 2013-05-09 Leo Liu <sdl.web@gmail.com>
13939 * progmodes/octave.el (inferior-octave-completion-at-point):
13940 Restore file completion. (Bug#14300)
13941 (inferior-octave-startup): Fix incorrect highlighting for the
13944 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13946 * progmodes/ruby-mode.el: First cut at SMIE support.
13947 (ruby-use-smie): New var.
13948 (ruby-smie-grammar): New constant.
13949 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
13950 (ruby-smie--forward-token, ruby-smie--backward-token)
13951 (ruby-smie-rules): New functions.
13952 (ruby-mode-variables): Setup SMIE if applicable.
13954 2013-05-08 Eli Zaretskii <eliz@gnu.org>
13956 * simple.el (line-move-visual): Signal beginning/end of buffer
13957 only if vertical-motion moved less than it was requested. Avoids
13958 silly incorrect error messages when there are display strings with
13959 multiple newlines at EOL.
13961 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13963 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
13964 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
13965 (prolog-char-quote-workaround):
13966 * progmodes/cperl-mode.el (cperl-under-as-char):
13967 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
13969 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
13971 (vhdl-mode-syntax-table-init): Remove.
13973 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
13976 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
13978 (ld-script-font-lock-keywords):
13979 Change regexps to use things like \_< and \_>.
13981 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
13982 Change all regexps to use things like \_< and \_>.
13984 * progmodes/autoconf.el (autoconf-definition-regexp)
13985 (autoconf-font-lock-keywords, autoconf-current-defun-function):
13986 Handle a _ with symbol syntax.
13987 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
13989 * progmodes/ada-mode.el (ada-mode-abbrev-table):
13990 Consolidate declaration.
13991 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
13993 (ada-create-syntax-table): Remove.
13994 (ada-capitalize-word): Don't mess with the syntax of "_" since it
13995 already has the right syntax nowadays.
13996 (ada-goto-next-word): Don't change the syntax of "_".
13998 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14001 2013-05-08 Sam Steingold <sds@gnu.org>
14003 * thingatpt.el (thing-at-point): Accept optional second argument
14004 NO-PROPERTIES to strip the text properties from the return value.
14005 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14006 to `thing-at-point' instead of stripping the properties ourselves.
14007 Also, when `thing-at-point' fails to find a url, prepend "http://"
14008 to the filename at point on the assumption that the user is
14009 pointing at something like gnu.org/gnu.
14011 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14013 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14014 * faces.el (crm-separator):
14015 Silence byte-compiler.
14017 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14018 (tool-bar-map): Remove unneeded defvars.
14020 2013-05-08 Leo Liu <sdl.web@gmail.com>
14022 Re-work a fix for bug#10994 based on Le Wang's patch.
14023 * ido.el (ido-remove-consecutive-dups): New helper.
14024 (ido-completing-read): Use it.
14025 (ido-chop): Revert fix for bug#10994.
14027 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14029 * cus-edit.el (custom-save-variables):
14030 Pretty-print long values. (Bug#14187)
14032 2013-05-08 Glenn Morris <rgm@gnu.org>
14034 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14035 (m4-mode-syntax-table): Init in the defvar.
14036 (m4-mode-abbrev-table): Let define-derived-mode define it.
14038 2013-05-08 Tom Tromey <tromey@redhat.com>
14040 * progmodes/m4-mode.el (m4-mode-syntax-table):
14041 Do not treat "_" as word constituent. (Bug#14167)
14043 2013-05-07 Glenn Morris <rgm@gnu.org>
14045 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14046 Remove explicit eshell-isearch-cancel-map.
14048 * progmodes/f90.el (f90-smart-end-names): New option.
14049 (f90-smart-end): Doc fix.
14050 (f90-end-block-optional-name): New constant.
14051 (f90-block-match): Respect f90-smart-end-names.
14053 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14055 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14056 about implicit semi-colons (bug#14218).
14058 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14060 * frame.el (display-monitor-attributes-list)
14061 (frame-monitor-attributes): New functions.
14063 2013-05-06 Leo Liu <sdl.web@gmail.com>
14065 * progmodes/octave.el (octave-syntax-propertize-function): Change
14066 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14067 (octave-font-lock-keywords): Use octave-operator-regexp.
14068 (octave-completion-at-point): Rename from
14069 octave-completion-at-point-function.
14070 (inferior-octave-directory-tracker): Robustify.
14071 (octave-text-functions): Remove and fix its uses. No such things
14074 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14076 * emacs-lisp/trace.el (trace--display-buffer): New function.
14077 (trace-make-advice): Use it.
14079 2013-05-06 Juri Linkov <juri@jurta.org>
14081 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14082 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14084 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14085 in the help string. (Bug#12985)
14087 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14089 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14091 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14093 * progmodes/perl-mode.el: Add support for here documents.
14094 (perl-syntax-propertize-function): Match here-doc markers.
14095 (perl-syntax-propertize-special-constructs): Find their end.
14096 (perl-imenu-generic-expression): Use [:alnum:].
14098 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14099 (advice--add-function): Refresh the advice if already present
14102 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14104 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14106 2013-05-06 Glenn Morris <rgm@gnu.org>
14108 * w32-fns.el (w32-charset-info-alist): Declare.
14110 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14111 of its defcustom properties.
14112 (eshell-cmpl-initialize): No need to load pcomplete.
14114 * generic-x.el: No need to require comint when compiling.
14116 * net/eudc-export.el: Make it loadable without bbdb.
14117 (top-level): Use require rather than load-library.
14118 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14119 (eudc-batch-export-records-to-bbdb)
14120 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14123 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14125 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14126 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14127 some tweaks, instead.
14129 2013-05-05 Leo Liu <sdl.web@gmail.com>
14131 * progmodes/octave.el (octave-font-lock-keywords)
14132 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14133 (inferior-octave-send-list-and-digest): Improve error message.
14134 (octave-mode, inferior-octave-mode): Use setq-local.
14135 (octave-help): Set info-lookup-mode.
14137 2013-05-05 Richard Stallman <rms@gnu.org>
14139 * vc/compare-w.el (compare-windows-whitespace):
14140 Treat no-break space as whitespace.
14142 * mail/rmailsum.el (rmail-summary-rmail-update):
14143 Detect empty summary and don't change selected message.
14144 (rmail-summary-goto-msg): Likewise.
14146 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14147 Doc fixes, rename args.
14149 2013-05-05 Alan Mackenzie <acm@muc.de>
14151 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14153 2013-05-05 Juri Linkov <juri@jurta.org>
14155 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14156 to not add the length of the summary segment to the return value.
14159 2013-05-05 Leo Liu <sdl.web@gmail.com>
14161 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14162 (inferior-octave-output-filter): Remove.
14163 (octave-send-region, inferior-octave-startup): Fix callers.
14164 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14165 (octave-binary-file-extensions): New user variable.
14166 (octave-find-definition): Confirm if opening binary files.
14167 (octave-help-file): Use octave-find-definition to get the binary
14169 (octave-help): Adjust for octave-help-file change.
14171 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14173 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14174 Merge the two entries that handle function definitions.
14175 (pascal--syntax-propertize): New const.
14176 (pascal-mode): Use it. Use setq-local.
14178 2013-05-04 Glenn Morris <rgm@gnu.org>
14180 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14181 (diary-from-outlook): Respect diary-from-outlook-function.
14183 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14185 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14186 Move the declaration from C.
14187 (read-minibuffer, eval-minibuffer): Move from C.
14188 (completion-setup-function): Avoid minibuffer-completion-contents.
14190 2013-05-03 Leo Liu <sdl.web@gmail.com>
14192 * progmodes/octave.el (octave-font-lock-keywords): Do not
14193 dehighlight 'end' in comments or strings.
14194 (octave-completing-read, octave-goto-function-definition):
14196 (octave-help-buffer): New user variable.
14197 (octave-help-file, octave-help-function): New button types.
14198 (octave-help): New command and bind it to C-h ;.
14199 (octave-find-definition): New command and bind it to M-.
14200 (user-error): Alias to error if not defined.
14202 2013-05-02 Leo Liu <sdl.web@gmail.com>
14204 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14206 (octave-font-lock-keywords): Include [ and {.
14208 2013-05-02 Leo Liu <sdl.web@gmail.com>
14210 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14211 (inferior-octave): Remove calling comint-mode and return the buffer.
14212 (inferior-octave-startup): Cosmetic changes.
14214 2013-05-02 Leo Liu <sdl.web@gmail.com>
14216 * progmodes/octave.el (octave-syntax-propertize-function):
14217 Include the case when ' is at line beginning. (Bug#14336)
14219 2013-05-02 Glenn Morris <rgm@gnu.org>
14221 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14222 * desktop.el (vc-dir-mode): Just autoload it here.
14224 2013-05-02 Alan Mackenzie <acm@muc.de>
14226 Eliminate variable c-standard-font-lock-fontify-region-function.
14227 * progmodes/cc-mode.el
14228 (c-standard-font-lock-fontify-region-function): Remove.
14229 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14231 2013-05-01 Leo Liu <sdl.web@gmail.com>
14233 * progmodes/octave.el: Compatible with older emacs-24 releases.
14234 (inferior-octave-has-built-in-variables): Remove. Built-in
14235 variables were removed from Octave in 2007.
14236 (inferior-octave-startup): Fix uses.
14237 (comint-line-beginning-position): Remove compatibility code for
14240 2013-05-01 Juri Linkov <juri@jurta.org>
14242 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14244 2013-05-01 Juri Linkov <juri@jurta.org>
14246 * comint.el (comint-previous-matching-input): Don't print message
14247 "History item: %d" when `isearch-mode' is active.
14248 (comint-history-isearch-message): Print message "History item: %d"
14249 when `comint-input-ring-index' is not empty and this function is
14250 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14252 2013-05-01 Leo Liu <sdl.web@gmail.com>
14254 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14255 definitions. Use completion-at-point to insert keywords.
14256 (octave-abbrev-start): Remove.
14257 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14259 2013-04-30 Leo Liu <sdl.web@gmail.com>
14261 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14264 2013-04-30 Alan Mackenzie <acm@muc.de>
14266 Handle arbitrarily long C++ member initialisation lists.
14267 * progmodes/cc-engine.el (c-back-over-member-initializers):
14269 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14270 (most) member init lists.
14272 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14274 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14277 2013-04-30 Leo Liu <sdl.web@gmail.com>
14279 * progmodes/octave.el (octave-variables): Remove. No builtin
14280 variables any more. All converted to functions.
14281 (octave-font-lock-keywords, octave-completion-at-point-function):
14283 (octave-font-lock-texinfo-comment): New user variable.
14284 (octave-texinfo-font-lock-keywords): New variable for texinfo
14286 (octave-function-comment-block): New face.
14287 (octave-font-lock-texinfo-comment): New function.
14288 (octave-mode): Font lock texinfo comment block.
14290 2013-04-29 Leo Liu <sdl.web@gmail.com>
14292 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14293 indexing expression.
14294 (octave-continuation-string): Do not use \.
14295 (inferior-octave-complete-impossible): Remove.
14296 (inferior-octave-completion-table)
14297 (inferior-octave-completion-at-point): Remove its uses.
14298 (inferior-octave-startup): completion_matches was introduced to
14299 Octave in 1996 so safe to assume it.
14300 (octave-function-file-comment): Improve to follow how Octave does it.
14301 (octave-update-function-file-comment): Tweak.
14303 2013-04-29 Leo Liu <sdl.web@gmail.com>
14305 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14306 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14307 (octave-function-file-comment): Fix typo.
14308 (octave-sync-function-file-names): Use read-char-choice.
14310 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14312 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14313 to t for the less important warnings.
14315 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14317 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14319 2013-04-27 Glenn Morris <rgm@gnu.org>
14321 * vc/log-view.el (log-view-current-entry):
14322 Treat "---" separator lines as part of the following rev. (Bug#14169)
14324 2013-04-27 Juri Linkov <juri@jurta.org>
14326 * subr.el (read-number): Doc fix about using it by interactive
14327 code letter `n'. (Bug#14254)
14329 2013-04-27 Juri Linkov <juri@jurta.org>
14331 * desktop.el (desktop-auto-save-timeout): New option.
14332 (desktop-file-checksum): New variable.
14333 (desktop-save): Add optional arg `auto-save' and don't auto-save
14334 if nothing changed.
14335 (desktop-auto-save-timer): New variable.
14336 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14337 (after-init-hook): Call `desktop-auto-save-set-timer'.
14338 Suggested by Reuben Thomas <rrt@sc3d.org> in
14339 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14341 2013-04-27 Leo Liu <sdl.web@gmail.com>
14343 * progmodes/octave.el (octave-function-file-p)
14344 (octave-skip-comment-forward, octave-function-file-comment)
14345 (octave-update-function-file-comment): New functions.
14346 (octave-mode-map): Bind C-c ; to
14347 octave-update-function-file-comment.
14348 (octave-mode-menu): Add octave-update-function-file-comment.
14349 (octave-mode, inferior-octave-mode): Fix doc-string.
14350 (octave-insert-defun): Conform to Octave's coding convention.
14353 * files.el (basic-save-buffer): Don't let errors in
14354 before-save-hook prevent saving buffer.
14356 2013-04-20 Roland Winkler <winkler@gnu.org>
14358 * faces.el (read-face-name): Use completing-read if arg multiple
14361 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
14363 * ls-lisp.el (ls-lisp-insert-directory): If no files are
14364 displayed, move point to after the totals line.
14365 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
14368 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14370 * emacs-lisp/package.el (package-autoload-ensure-default-file):
14371 Add current dir to the load-path.
14372 (package-generate-autoloads): Don't rely on
14373 autoload-ensure-default-file.
14375 2013-04-26 Reuben Thomas <rrt@sc3d.org>
14377 * textmodes/remember.el (remember-store-in-files): Document that
14378 the file name format is passed to `format-time-string'.
14380 2013-04-26 Leo Liu <sdl.web@gmail.com>
14382 * progmodes/octave.el (octave-sync-function-file-names): New function.
14383 (octave-mode): Use it in before-save-hook.
14385 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14387 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
14390 * progmodes/octave.el (octave-smie-forward-token): Properly skip
14391 \n and comment, even if it's not an implicit ; (bug#14218).
14393 2013-04-26 Glenn Morris <rgm@gnu.org>
14395 * subr.el (read-number): Once more use `read' rather than
14396 `string-to-number', to trap non-numeric input. (Bug#14254)
14398 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
14400 * emacs-lisp/syntax.el (syntax-propertize-multiline):
14401 Use `syntax-multiline' text property consistently instead of
14402 `font-lock-multiline'. (Bug#14237)
14404 2013-04-26 Glenn Morris <rgm@gnu.org>
14406 * emacs-lisp/shadow.el (list-load-path-shadows):
14407 No longer necessary to check for duplicate simple.el, since
14408 2012-07-07 change to init_lread to not include installation lisp
14409 directories in load-path when running uninstalled. (Bug#14270)
14411 2013-04-26 Leo Liu <sdl.web@gmail.com>
14413 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
14414 (octave-mode, inferior-octave-mode): Use setq-local.
14415 (octave-not-in-string-or-comment-p): Rename to
14416 octave-in-string-or-comment-p.
14417 (octave-in-comment-p, octave-in-string-p)
14418 (octave-in-string-or-comment-p): Replace defsubst with defun.
14420 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
14422 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
14424 2013-04-25 Bastien Guerry <bzg@gnu.org>
14426 * textmodes/remember.el (remember-data-directory)
14427 (remember-directory-file-name-format): Fix custom types.
14429 2013-04-25 Leo Liu <sdl.web@gmail.com>
14431 * progmodes/octave.el (octave-completion-at-point-function):
14432 Make use of inferior octave process.
14433 (octave-initialize-completions): Remove.
14434 (inferior-octave-completion-table): New function.
14435 (inferior-octave-completion-at-point): Use it.
14436 (octave-completion-alist): Remove.
14438 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14440 * progmodes/opascal.el: Use font-lock and syntax-propertize.
14441 (opascal-mode-syntax-table): New var.
14442 (opascal-literal-kind, opascal-is-literal-end)
14443 (opascal-literal-token-at): Rewrite.
14444 (opascal--literal-start-re, opascal-font-lock-keywords)
14445 (opascal--syntax-propertize): New constants.
14446 (opascal-font-lock-defaults): Adjust.
14447 (opascal-mode): Use them. Set comment-<foo> variables as well.
14448 (delphi-comment-face, opascal-comment-face, delphi-string-face)
14449 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
14450 (delphi-other-face, opascal-other-face): Remove face variables.
14451 (opascal-save-state): Remove macro.
14452 (opascal-fontifying-progress-step): Remove constant.
14453 (opascal--ignore-changes): Remove var.
14454 (opascal-set-token-property, opascal-parse-next-literal)
14455 (opascal-is-stable-literal, opascal-complete-literal)
14456 (opascal-is-literal-start, opascal-face-of)
14457 (opascal-parse-region, opascal-parse-region-until-stable)
14458 (opascal-fontify-region, opascal-after-change)
14459 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
14460 (opascal-debug-parse-region, opascal-debug-parse-window)
14461 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
14462 (opascal-debug-fontify-buffer): Remove.
14463 (opascal-debug-mode-map): Adjust accordingly.
14465 2013-04-25 Leo Liu <sdl.web@gmail.com>
14467 Merge octave-mod.el and octave-inf.el into octave.el with some
14469 * progmodes/octave.el: New file renamed from octave-mod.el.
14470 * progmodes/octave-inf.el: Merged into octave.el.
14471 * progmodes/octave-mod.el: Renamed to octave.el.
14473 2013-04-25 Tassilo Horn <tsdh@gnu.org>
14475 * textmodes/reftex-vars.el
14476 (reftex-label-ignored-macros-and-environments): New defcustom.
14478 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
14480 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14482 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
14483 (smie-indent-keyword): Improve the check to ensure that the next
14484 comment is really on the same line.
14485 (smie-indent-comment): Don't align with a subsequent closer (or eob).
14487 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
14488 semi-colons if the line is not otherwise empty (bug#14218).
14490 2013-04-25 Glenn Morris <rgm@gnu.org>
14492 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
14494 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14496 * progmodes/opascal.el (opascal-set-token-property): Rename from
14497 opascal-set-text-properties and only set `token' (bug#14134).
14498 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
14499 (opascal-literal-text-properties): Remove.
14500 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
14503 2013-04-24 Reuben Thomas <rrt@sc3d.org>
14505 * textmodes/remember.el (remember-handler-functions): Add an
14506 option for a new handler `remember-store-in-files'.
14507 (remember-data-directory, remember-directory-file-name-format):
14509 (remember-store-in-files): New function to store remember notes
14510 as separate files within a directory.
14512 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
14514 * progmodes/compile.el (compilation-next-error-function):
14515 Pass "formats" to compilation-find-file (bug#11777).
14517 2013-04-24 Glenn Morris <rgm@gnu.org>
14519 * vc/vc-bzr.el (vc-bzr-print-log):
14520 * vc/vc-hg.el (vc-hg-print-log):
14521 * vc/vc-svn.el (vc-svn-print-log):
14522 Fix START-REVISION with LIMIT != 1. (Bug#14168)
14524 * vc/vc-bzr.el (vc-bzr-print-log):
14525 * vc/vc-cvs.el (vc-cvs-print-log):
14526 * vc/vc-git.el (vc-git-print-log):
14527 * vc/vc-hg.el (vc-hg-print-log):
14528 * vc/vc-mtn.el (vc-mtn-print-log):
14529 * vc/vc-rcs.el (vc-rcs-print-log):
14530 * vc/vc-sccs.el (vc-sccs-print-log):
14531 * vc/vc-svn.el (vc-svn-print-log):
14532 * vc/vc.el (vc-print-log-internal): Doc fixes.
14534 2013-04-23 Glenn Morris <rgm@gnu.org>
14536 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
14537 Remove venerable code attempting to avoid substitute-command-keys.
14539 2013-04-23 Tassilo Horn <tsdh@gnu.org>
14541 * textmodes/reftex-vars.el (reftex-label-regexps):
14542 Call `reftex-compile-variables' after changes to this variable.
14544 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
14546 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
14547 Use lexical-binding.
14548 (jit-lock-force-redisplay): Use markers, check buffer's continued
14549 existence and beware narrowed buffers.
14550 (jit-lock-fontify-now): Adjust call accordingly.
14552 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
14554 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
14555 to avoid misleading the user.
14557 2013-04-22 Leo Liu <sdl.web@gmail.com>
14559 * info-look.el: Prefer latex2e.info. (Bug#14240)
14561 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
14563 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
14565 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
14566 * net/tramp.el (tramp-call-process): ... here.
14567 (tramp-set-completion-function, tramp-parse-putty):
14568 * net/tramp-adb.el (tramp-adb-execute-adb-command):
14569 * net/tramp-gvfs.el (tramp-gvfs-send-command):
14570 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
14571 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
14572 (tramp-call-local-coding-command): Use `tramp-call-process'
14573 instead of `tramp-compat-call-process'.
14575 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
14576 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
14577 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
14578 (tramp-find-inline-compress): Improve traces.
14579 (tramp-maybe-send-script): Check for Perl binary.
14580 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
14582 2013-04-22 Daiki Ueno <ueno@gnu.org>
14584 * epg.el (epg-context-pinentry-mode): New function.
14585 (epg-context-set-pinentry-mode): New function.
14586 (epg--start): Pass --pinentry-mode option to gpg command.
14588 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
14590 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
14591 `comint-dynamic-complete' is obsolete since 24.1, replaced by
14592 `completion-at-point'. (Bug#13774)
14594 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
14595 default key binding for `describe-distribution' has been moved to
14596 `C-h C-o'. (Bug#13970)
14598 2013-04-21 Glenn Morris <rgm@gnu.org>
14600 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
14602 (vc-print-log): Clarify interactive prompt.
14604 2013-04-20 Glenn Morris <rgm@gnu.org>
14606 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14607 No longer include timestamp etc information.
14609 2013-04-20 Roland Winkler <winkler@gnu.org>
14611 * faces.el (read-face-name): Bug fix, return just one face if arg
14612 multiple is nil. (Bug#14209)
14614 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14616 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
14617 (remove-function): Autoload.
14619 * comint.el (comint-redirect-original-filter-function): Remove.
14620 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
14621 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
14622 (vc-cvs-annotate-command):
14623 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
14624 * progmodes/prolog.el (prolog-consult-compile):
14625 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
14626 Use add/remove-function instead.
14627 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
14628 (gud-tooltip-process-output, gud-tooltip-tips):
14629 Use add/remove-function instead.
14630 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
14631 (scheme-interaction-mode, exit-scheme-interaction-mode):
14632 Use add/remove-function instead.
14634 * vc/vc-dispatcher.el: Use lexical-binding.
14635 (vc--process-sentinel): Rename from vc-process-sentinel.
14636 Change last arg to be the code to run. Don't use vc-previous-sentinel
14637 and vc-sentinel-commands any more.
14638 (vc-exec-after): Allow code to be a function. Use add/remove-function.
14639 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
14641 2013-04-19 Masatake YAMATO <yamato@redhat.com>
14643 * progmodes/sh-script.el (sh-imenu-generic-expression):
14644 Handle function names with a single character. (Bug#14111)
14646 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
14648 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
14649 for subroutines defined in an eval (bug#14182).
14651 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14653 * bookmark.el (bookmark-completing-read): Improve handling of empty
14654 string (bug#14176).
14656 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14658 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
14660 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
14662 New faster Imenu implementation (bug#14058).
14663 * progmodes/python.el:
14664 (python-imenu-prev-index-position):
14665 (python-imenu-format-item-label-function)
14666 (python-imenu-format-parent-item-label-function)
14667 (python-imenu-format-parent-item-jump-label-function):
14669 (python-imenu-format-item-label)
14670 (python-imenu-format-parent-item-label)
14671 (python-imenu-format-parent-item-jump-label)
14672 (python-imenu--put-parent, python-imenu--build-tree)
14673 (python-imenu-create-index, python-imenu-create-flat-index)
14674 (python-util-popn): New functions.
14675 (python-mode): Set imenu-create-index-function to
14676 python-imenu-create-index.
14678 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14680 * winner.el (winner-active-region): Use region-active-p, activate-mark
14681 and deactivate-mark (bug#14225).
14683 * simple.el (deactivate-mark): Don't inline it.
14685 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
14687 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
14689 2013-04-18 Tassilo Horn <tsdh@gnu.org>
14691 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
14692 file extensions from the archive-mode entry in order to prefer
14693 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
14695 2013-04-18 Leo Liu <sdl.web@gmail.com>
14697 * bindings.el (help-event-list): Add ?\?.
14699 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14701 * subr.el (with-wrapper-hook): Declare obsolete.
14702 * simple.el (filter-buffer-substring-function): New hook.
14703 (filter-buffer-substring): Use it.
14704 (filter-buffer-substring-functions): Mark obsolete.
14705 * minibuffer.el (completion-in-region-function): New hook.
14706 (completion-in-region): Use it.
14707 (completion-in-region-functions): Mark obsolete.
14708 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
14709 * abbrev.el (abbrev-expand-function): New hook.
14710 (expand-abbrev): Use it.
14711 (abbrev-expand-functions): Mark obsolete.
14712 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
14713 and :filter-return.
14715 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14717 * progmodes/python.el (python-nav--syntactically): Fix cornercases
14718 and do not care about match data.
14720 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14722 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
14723 completion tables when completing error conditions and
14724 `declare' arguments.
14725 (lisp-complete-symbol, field-complete): Mark as obsolete.
14726 (check-parens): Unmatched parens are user errors.
14727 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
14729 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
14731 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
14732 command changed buffer (ie. `flyspell-pre-buffer' is not current
14733 buffer), which prevents making decisions based on invalid value of
14734 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
14735 cause an error when `flyspell-pre-point' was nil after switching
14737 (flyspell-post-command-hook): No longer needs to change buffers when
14738 checking pre-word. While at it remove unnecessary progn.
14740 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
14742 * textmodes/ispell.el (ispell-add-per-file-word-list):
14743 Fix `flyspell-correct-word-before-point' error when accepting
14744 words and `coment-padding' is an integer by using
14745 `comment-normalize-vars' (Bug #14214).
14747 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14749 New defun movement commands.
14750 * progmodes/python.el (python-nav--syntactically)
14751 (python-nav--forward-defun, python-nav-backward-defun)
14752 (python-nav-forward-defun): New functions.
14754 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14756 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
14757 (python-syntax-context): Use named compiler-macro for backwards
14758 compatibility with Emacs 24.x.
14760 2013-04-17 Leo Liu <sdl.web@gmail.com>
14762 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
14763 octave-hide-process-buffer.
14765 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14767 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
14770 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
14772 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
14773 Fix adjustment of offset when receiving incomplete responses from GDB
14776 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14778 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
14779 python-mode-abbrev-table.
14780 (python-skeleton-define): Adjust accordingly.
14781 (python-mode-abbrev-table): New table that inherits from it so that
14782 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
14784 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
14785 (abbrev-symbol): Use it.
14786 (abbrev--before-point): Use it since we already handle inheritance.
14788 2013-04-16 Leo Liu <sdl.web@gmail.com>
14790 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
14791 binding to info-lookup-symbol.
14793 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
14795 * minibuffer.el (completion--twq-all):
14796 * term/ns-win.el (ns-initialize-window-system):
14797 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
14799 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14801 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
14804 * doc-view.el (doc-view-start-process): Handle url-handler directories.
14806 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
14808 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
14809 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
14811 (ruby-end-of-defun): Remove the unused arg, change the docstring
14812 to reflect that this function is only used as the value of
14813 `end-of-defun-function'.
14814 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
14815 to reflect an earlier change that beginning/end-of-defun functions
14816 jump between methods in a class definition, as well as top-level
14819 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14821 * minibuffer.el (minibuffer-complete): Don't just scroll
14822 a *Completions* that's been iconified.
14823 (minibuffer-force-complete): Make sure repetitions do cycle when going
14824 through completion-in-region -> minibuffer-complete.
14826 2013-04-15 Alan Mackenzie <acm@muc.de>
14828 Correct the placement of c-cpp-delimiters when there're #s not at
14831 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
14832 place a submatch around the #.
14833 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
14834 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
14837 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14839 * emacs-lisp/nadvice.el: Properly test names when adding advice.
14840 (advice--member-p): New arg `name'.
14841 (advice--add-function, advice-member-p): Use it (bug#14202).
14843 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
14845 Reformulate java imenu-generic-expression.
14846 The old expression contained ill formed regexps.
14848 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
14849 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
14850 (cc-imenu-java-method-arg-regexp): New defconsts.
14851 (cc-imenu-java-build-type-args-regex): New defun.
14852 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
14853 handling of spaces in the regexp.
14855 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14857 * textmodes/ispell.el (ispell-command-loop): Remove
14858 flyspell highlight of a word when ispell accepts it (bug #14178).
14860 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
14862 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
14863 uses code from the previous `ange-ftp-run-real-handler'.
14864 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
14865 only in case that function exist. This is needed for proper
14866 unloading of Tramp.
14868 2013-04-15 Tassilo Horn <tsdh@gnu.org>
14870 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
14872 * textmodes/reftex.el (reftex-compile-variables): Use it.
14874 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14876 * files.el (normal-mode): Only use default major-mode if no other mode
14879 * emacs-lisp/trace.el (trace-values): New function.
14881 * files.el: Allow : in local variables (bug#14089).
14882 (hack-local-variable-regexp): New var.
14883 (hack-local-variables-prop-line, hack-local-variables): Use it.
14885 2013-04-13 Roland Winkler <winkler@gnu.org>
14887 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
14888 data before it gets modified by bibtex-beginning-of-entry.
14890 2013-04-13 Roland Winkler <winkler@gnu.org>
14892 * textmodes/bibtex.el (bibtex-url): Doc fix.
14894 2013-04-13 Roland Winkler <winkler@gnu.org>
14896 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
14897 does not visit a BibTeX file, exclude it from the list of buffers
14898 returned by bibtex-initialize.
14900 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
14902 * window.el (split-window): Remove interactive form, since as a
14903 command this function is a special case of split-window-below.
14904 Correct doc string.
14906 2013-04-12 Roland Winkler <winkler@gnu.org>
14908 * faces.el (read-face-name): Do not override value of arg default.
14909 Allow single faces and strings as default values. Remove those
14910 elements from return value that are not faces.
14911 (describe-face): Simplify.
14912 (face-at-point): New optional args thing and multiple so that this
14913 function can provide the same functionality previously provided by
14915 (make-face-bold, make-face-unbold, make-face-italic)
14916 (make-face-unitalic, make-face-bold-italic, invert-face)
14917 (modify-face, read-face-and-attribute): Use face-at-point.
14919 * cus-edit.el (customize-face, customize-face-other-window)
14920 * cus-theme.el (custom-theme-add-face)
14921 * face-remap.el (buffer-face-set)
14922 * facemenu.el (facemenu-set-face): Use face-at-point.
14924 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
14926 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
14928 2013-04-10 Tassilo Horn <tsdh@gnu.org>
14930 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
14931 off leading { and trailing } from field values.
14933 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14935 * emacs-lisp/timer.el (timer--check): New function.
14936 (timer--time, timer-set-function, timer-event-handler): Use it.
14937 (timer-set-idle-time): Simplify.
14938 (timer--activate): CSE.
14939 (timer-event-handler): Give more info in error message.
14940 (internal-timer-start-idle): New function, moved from C.
14942 * mpc.el (mpc-proc): Add `restart' argument.
14943 (mpc-proc-cmd): Use it.
14944 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
14945 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
14948 2013-04-10 Masatake YAMATO <yamato@redhat.com>
14950 * progmodes/sh-script.el: Implement `sh-mode' own
14951 `add-log-current-defun-function' (bug#14112).
14952 (sh-current-defun-name): New function.
14953 (sh-mode): Use the function.
14955 2013-04-09 Bastien Guerry <bzg@gnu.org>
14957 * simple.el (choose-completion-string): Fix docstring (bug#14163).
14959 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
14961 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
14963 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
14966 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
14968 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
14971 2013-04-07 Leo Liu <sdl.web@gmail.com>
14973 * pcmpl-x.el: New file.
14975 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
14977 Do not set x-display-name until X connection is established.
14978 This is needed to prevent from weird situation described at
14979 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
14980 * frame.el (make-frame): Set x-display-name after call to
14981 window system initialization function, not before.
14982 * term/x-win.el (x-initialize-window-system): Add optional
14983 display argument and use it.
14984 * term/w32-win.el (w32-initialize-window-system):
14985 * term/ns-win.el (ns-initialize-window-system):
14986 * term/pc-win.el (msdos-initialize-window-system):
14987 Add compatible optional display argument.
14989 2013-04-06 Eli Zaretskii <eliz@gnu.org>
14991 * files.el (normal-backup-enable-predicate): On MS-Windows and
14992 MS-DOS compare truenames of temporary-file-directory and of the
14993 file, so that 8+3 aliases (usually found in $TEMP on Windows)
14994 don't fail comparison by compare-strings. Also, compare file
14995 names case-insensitively on MS-Windows and MS-DOS.
14997 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14999 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15000 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15002 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15004 * whitespace.el (whitespace-color-on, whitespace-color-off):
15005 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15007 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15009 * ispell.el (ispell-set-spellchecker-params):
15010 Really set `ispell-args' for all equivs.
15012 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15014 * ido.el (ido-completions): Use extra elements of ido-decorations
15016 (ido-decorations): Update docstring.
15018 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15020 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15021 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15022 nil during initialization, in order not to miss changes since the
15023 file was opened. (Bug#14140)
15025 2013-04-05 Leo Liu <sdl.web@gmail.com>
15027 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15029 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15031 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15033 2013-04-04 Glenn Morris <rgm@gnu.org>
15035 * electric.el (electric-pair-inhibit-predicate): Add :version.
15037 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15039 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15040 when a package is required several times (bug#14082).
15042 2013-04-04 Roland Winkler <winkler@gnu.org>
15044 * faces.el (read-face-name): Behave as promised by the docstring.
15045 Assume that arg default is a list of faces.
15046 (describe-face): Call read-face-name with list of default faces.
15048 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15050 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15051 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15052 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15054 (bookmark-exit-hook-internal): Save even if list is empty.
15056 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15058 * emacs-lisp/package.el (package-pinned-packages): New var.
15059 (package--add-to-archive-contents): Obey it (bug#14118).
15061 2013-04-03 Alan Mackenzie <acm@muc.de>
15063 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15064 Also adapt to the new values of element 7 of a parse state.
15066 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15067 parameter `not-in-delimiter'. Handle being inside comment opener.
15068 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15069 character in case we're typing a '*' after a '/'.
15070 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15071 instead by passing the parameter to c-state-pp-to-literal.
15073 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15074 for elt. 7 of a parse state.
15076 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15078 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15079 * international/latin1-disp.el, international/mule-util.el:
15080 * language/cyril-util.el, language/european.el, language/ind-util.el:
15081 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15082 * language/tibetan.el, language/viet-util.el:
15083 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15085 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15087 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15088 (electric-pair-post-self-insert-function): Use it.
15089 (electric-pair-default-inhibit): New function, extracted from
15090 electric-pair-post-self-insert-function.
15092 2013-03-31 Roland Winkler <winkler@gnu.org>
15094 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15096 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15098 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15100 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15102 Un-indent after "pass" and "return" statements (Bug#13888)
15103 * progmodes/python.el (python-indent-block-enders): New var.
15104 (python-indent-calculate-indentation): Use it.
15106 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15108 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15109 defun. Defining it as defalias could introduce too eager
15110 byte-compiler optimization. (Bug#14030)
15112 2013-03-30 Chong Yidong <cyd@gnu.org>
15114 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15116 2013-03-30 Leo Liu <sdl.web@gmail.com>
15118 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15119 (kmacro-execute-from-register): Pass the keyboard macro to
15120 kmacro-call-macro or repeating won't work correctly.
15122 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15124 * progmodes/subword.el: Back to using `forward-symbol'.
15126 * subr.el (forward-whitespace, forward-symbol)
15127 (forward-same-syntax): Move from thingatpt.el.
15129 2013-03-29 Leo Liu <sdl.web@gmail.com>
15131 * kmacro.el (kmacro-to-register): New command.
15132 (kmacro-execute-from-register): New function.
15133 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15135 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15137 * mpc.el: Use defvar-local and setq-local.
15138 (mpc--proc-connect): Connection failures are not bugs.
15139 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15140 (mpc-volume-map): Bind to the up-events.
15142 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15144 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15145 instead of `forward-symbol'.
15147 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15149 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15150 (edebug--recursive-edit): Use it.
15151 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15152 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15154 2013-03-28 Leo Liu <sdl.web@gmail.com>
15156 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15158 2013-03-27 Eli Zaretskii <eliz@gnu.org>
15160 * facemenu.el (list-colors-callback): New defvar.
15161 (list-colors-redisplay): New function.
15162 (list-colors-display): Install list-colors-redisplay as the
15163 revert-buffer-function. (Bug#14063)
15165 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15167 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15168 and suffixes don't overlap (bug#14061).
15170 * case-table.el: Use lexical-binding.
15171 (case-table-get-table): New function.
15172 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15174 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15176 * progmodes/subword.el: Add `superword-mode' to do word motion
15177 over symbol_words (parallels and leverages `subword-mode' which
15178 does word motion inside MixedCaseWords).
15180 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15182 * eshell/em-unix.el: Move su and sudo to...
15183 * eshell/em-tramp.el: ...Eshell tramp module.
15185 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15187 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15188 Change return value to be a sexp. Delay `get-buffer' to after
15189 restoring the desktop (bug#13951).
15191 2013-03-26 Leo Liu <sdl.web@gmail.com>
15193 * register.el: Move semantic tag handling back to
15194 cedet/semantic/senator.el. (Bug#14052)
15196 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15198 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15199 into the prompt either (bug#13963).
15201 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15203 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15204 part of "(error-foo)".
15206 2013-03-24 Juri Linkov <juri@jurta.org>
15208 * replace.el (list-matching-lines-prefix-face): New defcustom.
15209 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15210 `occur-engine' if `face-differs-from-default-p' returns t.
15211 (occur-engine): Add `,' inside backquote construct to evaluate
15212 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15213 Pass `prefix-face' to the functions `occur-context-lines' and
15214 `occur-engine-add-prefix'.
15215 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15216 `prefix-face' and propertize the prefix with `prefix-face'.
15219 2013-03-24 Leo Liu <sdl.web@gmail.com>
15221 * nxml/rng-valid.el (rng-validate-while-idle)
15222 (rng-validate-quick-while-idle): Guard against deleted buffer.
15225 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15226 is the last entry in kill-buffer-hook.
15228 * files.el (kill-buffer-hook): Doc fix.
15230 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15232 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15233 Make it safe-local.
15235 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15237 2013-03-23 Leo Liu <sdl.web@gmail.com>
15239 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15242 * nxml/rng-valid.el (rng-validate-mode)
15243 (rng-after-change-function, rng-do-some-validation):
15244 * nxml/rng-maint.el (rng-validate-buffer):
15245 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15246 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15247 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15248 (nxml-extend-after-change-region): Use with-silent-modifications.
15250 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15253 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15254 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15255 timer-idle-list. (Bug#13999)
15257 2013-03-23 Juri Linkov <juri@jurta.org>
15259 * info.el (info-index-match): New face.
15260 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15261 main pattern and add text properties with the new face to matches
15262 in index entries relative to the beginning of the index entry.
15265 2013-03-21 Eric Ludlam <zappo@gnu.org>
15267 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
15268 Inhibit read only while inserting objects.
15270 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15272 * progmodes/cfengine.el: Update docs to mention
15273 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15274 symbol motion. Remove "_" from the word syntax.
15276 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15278 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15279 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15281 2013-03-20 Juri Linkov <juri@jurta.org>
15283 * info.el (Info-next-reference-or-link)
15284 (Info-prev-reference-or-link): New functions.
15285 (Info-next-reference, Info-prev-reference): Use them.
15286 (Info-try-follow-nearest-node): Handle footnote navigation.
15287 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15289 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15291 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15292 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15294 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15296 Suppress unnecessary non-ASCII chatter during build process.
15297 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15298 (batch-skkdic-convert): Suppress most of the chatter.
15299 It's not needed so much now that machines are faster,
15300 and its non-ASCII component was confusing; see Dmitry Gutov in
15301 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15303 2013-03-20 Leo Liu <sdl.web@gmail.com>
15305 * ido.el (ido-chop): Fix bug#10994.
15307 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15309 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15311 (whitespace-color-on, whitespace-color-off):
15312 Use `font-lock-fontify-buffer' (Bug#13817).
15314 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15316 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15317 remapping in mode-line.
15318 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15320 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15322 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15323 value for `whitespace-line' face (Bug#13875).
15324 (whitespace-font-lock-keywords): Change description.
15325 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15326 the constructed keywords instead.
15327 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
15329 2013-03-19 Leo Liu <sdl.web@gmail.com>
15331 * progmodes/compile.el (compilation-display-error): New command.
15332 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15335 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15337 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15339 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15341 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15343 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
15345 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15347 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15348 * net/tramp-gvfs.el (top):
15349 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15350 (tramp-handle-shell-command): Use it.
15351 (tramp-dissect-file-name): Raise an error when hostname is a
15352 method name, and neither method nor user is specified.
15354 * net/trampver.el: Update release number.
15356 2013-03-18 Leo Liu <sdl.web@gmail.com>
15358 Make sure eldoc can be turned off properly.
15359 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15361 (eldoc-display-message-p): Revert last change.
15362 (eldoc-display-message-no-interference-p)
15363 (eldoc-print-current-symbol-info): Tweak.
15365 2013-03-18 Tassilo Horn <tsdh@gnu.org>
15367 * doc-view.el (doc-view-new-window-function): Check the new window
15368 overlay's display property instead the char property of the
15369 buffer's first char. Use `with-selected-window' instead of
15370 `save-window-excursion' with `select-window'.
15371 (doc-view-document->bitmap): Check the current doc-view overlay's
15372 display property instead the char property of the buffer's first char.
15374 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15376 Automate the build of ja-dic.el (Bug#13984).
15377 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
15378 from the input, rather than assume that it's been done for us by the
15379 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
15380 the current date into a ja-dic.el comment, as that complicates
15381 regression testing.
15383 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15385 * whitespace.el: Fix double evaluation.
15386 (whitespace-space, whitespace-hspace, whitespace-tab)
15387 (whitespace-newline, whitespace-trailing, whitespace-line)
15388 (whitespace-space-before-tab, whitespace-indentation)
15389 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
15391 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
15392 (whitespace-color-on): Use a single font-lock-add-keywords call.
15393 Fix double-evaluation of face variables.
15395 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
15397 * net/tramp-adb.el (tramp-adb-parse-device-names):
15398 Use `start-process' instead of `call-process'. Otherwise, the
15399 function might be blocked under MS Windows. (Bug#13299)
15401 2013-03-17 Leo Liu <sdl.web@gmail.com>
15403 Extend eldoc to display info in the mode-line. (Bug#13978)
15404 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
15405 (eldoc-mode-line-string): New variable.
15406 (eldoc-minibuffer-message): New function.
15407 (eldoc-message-function): New variable.
15408 (eldoc-message): Use it.
15409 (eldoc-display-message-p)
15410 (eldoc-display-message-no-interference-p):
15411 Support eldoc-post-insert-mode.
15413 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
15414 (eval-expression): Run it.
15416 2013-03-17 Roland Winkler <winkler@gnu.org>
15418 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
15419 strings in the list of return values.
15421 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15423 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
15424 radix before checking for HMS forms.
15426 2013-03-16 Leo Liu <sdl.web@gmail.com>
15428 * progmodes/scheme.el: Add indentation and font-locking for λ.
15431 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
15433 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
15434 token before point (bug#13942).
15436 2013-03-16 Leo Liu <sdl.web@gmail.com>
15438 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
15440 2013-03-16 Eli Zaretskii <eliz@gnu.org>
15442 * startup.el (command-line-normalize-file-name): Fix handling of
15443 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
15444 <xfq.free@gmail.com> in
15445 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
15447 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
15449 Sync with Tramp 2.2.7.
15451 * net/trampver.el: Update release number.
15453 2013-03-14 Tassilo Horn <tsdh@gnu.org>
15455 * doc-view.el: Fix bug#13887.
15456 (doc-view-insert-image): Don't modify overlay associated to
15457 non-live windows, and implement horizontal centering of image in
15458 case it's smaller than the window.
15459 (doc-view-new-window-function): Force redisplay of new windows on
15462 2013-03-13 Karl Fogel <kfogel@red-bean.com>
15464 * saveplace.el (save-place-alist-to-file): Don't sort
15465 `save-place-alist', just pretty-print it (bug#13882).
15467 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
15469 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15470 Check whether `default-file-name-coding-system' is bound.
15471 It isn't in XEmacs.
15473 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
15475 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
15476 backquotes for `obsolete' (bug#13929).
15478 * international/mule.el (find-auto-coding): Include file name in
15479 obsolescence warning (bug#13922).
15481 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
15483 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
15484 for CFEngine 3-specific indentation.
15485 (cfengine3-indent-line): Use it. Fix up category regex.
15486 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
15488 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15490 * type-break.el (type-break-file-name):
15491 * textmodes/remember.el (remember-data-file):
15492 * strokes.el (strokes-file):
15493 * shadowfile.el (shadow-initialize):
15494 * saveplace.el (save-place-file):
15495 * ps-bdf.el (bdf-cache-file):
15496 * progmodes/idlwave.el (idlwave-config-directory):
15497 * net/quickurl.el (quickurl-url-file):
15498 * international/kkc.el (kkc-init-file-name):
15499 * ido.el (ido-save-directory-list-file):
15500 * emulation/viper.el (viper-custom-file-name):
15501 * emulation/vip.el (vip-startup-file):
15502 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
15503 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
15505 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
15507 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
15508 * language/thai-word.el: Switch to UTF-8.
15510 See ChangeLog.16 for earlier changes.
15512 ;; Local Variables:
15516 Copyright (C) 2011-2014 Free Software Foundation, Inc.
15518 This file is part of GNU Emacs.
15520 GNU Emacs is free software: you can redistribute it and/or modify
15521 it under the terms of the GNU General Public License as published by
15522 the Free Software Foundation, either version 3 of the License, or
15523 (at your option) any later version.
15525 GNU Emacs is distributed in the hope that it will be useful,
15526 but WITHOUT ANY WARRANTY; without even the implied warranty of
15527 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15528 GNU General Public License for more details.
15530 You should have received a copy of the GNU General Public License
15531 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.