Juri Linkov [Sat, 29 Mar 2008 22:56:17 +0000 (22:56 +0000)]
(minibuffer-default-add-function): New variable with
the default to minibuffer-default-add-completions.
(minibuffer-default-add-done): New variable. Make it buffer-local.
(minibuffer-default-add-completions): New function.
(goto-history-element): Set minibuffer-default-add-done to t and
call a function in minibuffer-default-add-function when the
specified absolute history position is greater than the length of
the minibuffer-default list and minibuffer-default-add-done is nil.
Change "^End of history; no next item$" to "^End of defaults;
no next item$".
Dan Nicolaescu [Sat, 29 Mar 2008 05:34:52 +0000 (05:34 +0000)]
* vc.el (vc-status-menu-map, vc-status-mode-map): Bind vc-revert.
(vc-status-refresh): Create a temporary buffer and call the
`dir-status' backend function from that buffer.
* vc-bzr.el (vc-bzr-dir-status): Don't create a buffer.
(vc-bzr-after-dir-status): Don't kill the buffer.
* vc-cvs.el (vc-cvs-dir-status): Don't create a buffer.
(vc-cvs-after-dir-status): Don't kill the buffer.
* vc-git.el (vc-git-dir-status): Don't create a buffer.
(vc-git-after-dir-status-stage2): Don't kill the buffer.
* vc-hg.el (vc-hg-dir-status): Don't create a buffer.
(vc-hg-after-dir-status): Don't kill the buffer.
* vc-svn.el (vc-svn-dir-status): Don't create a buffer.
(vc-svn-after-dir-status): Don't kill the buffer.
Glenn Morris [Sat, 29 Mar 2008 02:46:54 +0000 (02:46 +0000)]
Autoload diary-insert-entry-1.
(insert-hebrew-diary-entry, insert-monthly-hebrew-diary-entry)
(insert-yearly-hebrew-diary-entry): Use diary-insert-entry-1.
(diary-make-date): Autoload it.
(diary-yahrzeit): Doc fix. Use diary-make-date.
Glenn Morris [Sat, 29 Mar 2008 02:44:44 +0000 (02:44 +0000)]
(icalendar--datetime-to-american-date): New name for
icalendar--datetime-to-noneuropean-date. Make old name obsolete alias.
(icalendar--datetime-to-iso-date): New function.
(icalendar--datetime-to-diary-date): Doc fix. Respect
calendar-date-style if bound.
Glenn Morris [Sat, 29 Mar 2008 02:44:03 +0000 (02:44 +0000)]
(diary-file, american-date-diary-pattern)
(european-date-diary-pattern,european-calendar-display-form)
(american-calendar-display-form, diary-display-hook): Doc fixes.
(european-calendar-style): Doc fix. Use calendar-set-date-style for
custom :set. Mark as obsolete.
(calendar-date-style, iso-date-diary-pattern)
(iso-calendar-display-form): New user variables.
(diary-date-forms, calendar-date-display-form): Set using
calendar-date-style. Doc fix.
(calendar-set-date-style): New command.
(european-calendar, american-calendar): Use calendar-set-date-style.
Mark as obsolete.
Stefan Monnier [Sat, 29 Mar 2008 02:06:31 +0000 (02:06 +0000)]
(terminal-init-xterm): Use delete-terminal-functions.
(xterm-turn-on-modify-other-keys, xterm-turn-off-modify-other-keys)
(xterm-remove-modify-other-keys): Lookup terminal rather than frame
in xterm-modify-other-keys-terminal-list.
Stefan Monnier [Sat, 29 Mar 2008 01:46:10 +0000 (01:46 +0000)]
* keyboard.c (pending_funcalls): New var.
(timer_check): Run it.
(syms_of_keyboard): Initialize it.
* terminal.c (Qrun_hook_with_args, Qdelete_terminal_functions)
(Vdelete_terminal_functions): New vars.
(syms_of_terminal): Initialize them.
(Fdelete_terminal): Run delete-terminal-functions.
* xdisp.c (safe_eval): Rewrite.
(safe_call2): New fun.
* frame.c (Qdelete_frame_functions): New var.
(syms_of_frame): Initialize it.
(Fdelete_frame): Use it and use safe_call2 and pending_funcalls.
* lisp.h (safe_call2, pending_funcalls): Declare.
Chong Yidong [Fri, 28 Mar 2008 19:02:43 +0000 (19:02 +0000)]
(Mark): Rearrange nodes.
(Persistent Mark): Rename from Transient Mark.
(Mark, Setting Mark, Marking Objects, Persistent Mark, Mark Ring):
Describe Transient Mark mode as the default.
Chong Yidong [Fri, 28 Mar 2008 19:02:23 +0000 (19:02 +0000)]
* mark.texi (Mark): Rearrange nodes.
(Persistent Mark): Rename from Transient Mark.
(Mark, Setting Mark, Marking Objects, Persistent Mark, Mark Ring):
Describe Transient Mark mode as the default.
* basic.texi (Basic Undo): Don't mention setting the mark, which isn't
the default behavior with Transient Mark mode off.
(Position Info): Fix typo.
* display.texi (Standard Faces): Reference the Mark node. Remove
discussion of the region face, which is discussed there.
* emacs.texi (Top): Update node listings.
* files.texi (Diff Mode, Misc File Ops): Describe Transient Mark mode
as the default.
* fixit.texi (Undo): Standardize choice of undo key sequence.
(Undo, Spelling): Describe Transient Mark mode as the default.
* frames.texi (Mouse Commands): Treat Transient Mark mode as the
default.
* glossary.texi (Glossary): Treat Transient Mark mode as the default.
* killing.texi (Kill Ring, Accumulating Text): Assume Transient Mark
mode is the default, and note that the mark is not activated when set.
* programs.texi (Moving by Defuns, Expressions, Comment Commands):
Describe Transient Mark mode as the default.
* search.texi (Basic Isearch): Reference the Mark Ring node.
(Replace, Unconditional Replace, Other Repeating Search):
Describe Transient Mark mode as the default.
* text.texi (Words, Pages, Fill Commands, HTML Mode): Describe
Transient Mark mode as the default.
(Paragraphs): Describe how M-h behaves when region is active.
* trouble.texi (Quitting): Clarify effects of C-g.
Dan Nicolaescu [Fri, 28 Mar 2008 03:50:26 +0000 (03:50 +0000)]
* vc.el: Add new backend function 'status-extra-headers.
(vc-default-status-extra-headers): New function.
(vc-status-headers): Call 'status-extra-headers. Add colors.
* vc-git.el (vc-git-status-extra-headers): New function.
Glenn Morris [Fri, 28 Mar 2008 02:45:58 +0000 (02:45 +0000)]
(calendar-cursor-to-nearest-date): Remove un-needed local `date'.
(calendar-cursor-to-visible-date): Use let rather than let*.
Remove un-needed local `first-of-month-weekday'.
Glenn Morris [Fri, 28 Mar 2008 02:45:39 +0000 (02:45 +0000)]
(cal-menu-holidays-menu, cal-menu-list-holidays-year)
(cal-menu-list-holidays-following-year, cal-menu-list-holidays-previous-year):
Simplify now that 2nd arg of holiday-list is optional.
(calendar-mouse-holidays): Remove un-needed local `l'.
Kenichi Handa [Thu, 27 Mar 2008 11:36:43 +0000 (11:36 +0000)]
(Fdefine_charset_internal): Change the way of
registering charsets in Vcharset_order_list.
(syms_of_charset): Make the charset `eight-bit' supplementary.
Kenichi Handa [Thu, 27 Mar 2008 11:29:14 +0000 (11:29 +0000)]
(define-iso-single-byte-charset):
Don't make latin-iso8859-* supplementary.
(#'set-charset-priority): Don't change the priority of charsets
`unicode' and `emacs'.
Glenn Morris [Thu, 27 Mar 2008 02:50:38 +0000 (02:50 +0000)]
(diary-face-attrs): Fix type of `width'.
(list-diary-entries-hook, mark-diary-entries-hook)
(include-other-diary-files, mark-included-diary-files): Doc fixes.
(diary-set-header): New function.
(diary-header-line-flag, diary-header-line-format):
Use diary-set-header for custom :set function.
(diary-set-maybe-redraw): Use symbol-value rather than eval.
(diary-attrtype-convert): Use intern-soft rather than read.
(diary-display-no-entries): New function.
(simple-diary-display, fancy-diary-display): Use it.
(fancy-diary-display): Doc fix. Remove unneeded local entry-list.