# HG changeset patch # User Glenn Morris # Date 1111866747 0 # Node ID 4030d26416541298f300df1e6f4291c61387221f # Parent 1c1bec847a763e8b8d1e30155abdb56dd5a88943 (Calendar Customizing): Move view-diary-entries-initially, view-calendar-holidays-initially, mark-diary-entries-in-calendar, mark-holidays-in-calendar to main Emacs Manual. (Appt Customizing): Merge entire section into main Emacs Manual. diff -r 1c1bec847a76 -r 4030d2641654 man/emacs-xtra.texi --- a/man/emacs-xtra.texi Sat Mar 26 19:51:24 2005 +0000 +++ b/man/emacs-xtra.texi Sat Mar 26 19:52:27 2005 +0000 @@ -327,47 +327,10 @@ * Fancy Diary Display:: Enhancing the diary display, sorting entries, using included diary files. * Sexp Diary Entries:: Fancy things you can do. -* Appt Customizing:: Customizing appointment reminders. @end menu @node Calendar Customizing @section Customizing the Calendar -@vindex view-diary-entries-initially - - If you set the variable @code{view-diary-entries-initially} to -@code{t}, calling up the calendar automatically displays the diary -entries for the current date as well. The diary dates appear only if -the current date is visible. If you add both of the following lines to -your init file:@refill - -@example -(setq view-diary-entries-initially t) -(calendar) -@end example - -@noindent -this displays both the calendar and diary windows whenever you start Emacs. - -@vindex view-calendar-holidays-initially - Similarly, if you set the variable -@code{view-calendar-holidays-initially} to @code{t}, entering the -calendar automatically displays a list of holidays for the current -three-month period. The holiday list appears in a separate -window. - -@vindex mark-diary-entries-in-calendar - You can set the variable @code{mark-diary-entries-in-calendar} to -@code{t} in order to mark any dates with diary entries. This takes -effect whenever the calendar window contents are recomputed. There are -two ways of marking these dates: by changing the face -(@pxref{Faces,,, elisp, the Emacs Lisp Reference Manual}), or by placing -a plus sign (@samp{+}) beside the date. - -@vindex mark-holidays-in-calendar - Similarly, setting the variable @code{mark-holidays-in-calendar} to -@code{t} marks holiday dates, either with a change of face or with an -asterisk (@samp{*}). - @vindex calendar-holiday-marker @vindex diary-entry-marker The variable @code{calendar-holiday-marker} specifies how to mark a @@ -1260,47 +1223,6 @@ If one of these functions decides that it applies to a certain date, it returns a value that contains @var{mark}. -@node Appt Customizing -@section Customizing Appointment Reminders - - You can specify exactly how Emacs reminds you of an appointment, and -how far in advance it begins doing so, by setting these variables: - -@vindex appt-message-warning-time -@vindex appt-audible -@vindex appt-visible -@vindex appt-display-mode-line -@vindex appt-msg-window -@vindex appt-display-duration -@vindex appt-disp-window-function -@vindex appt-delete-window-function -@table @code -@item appt-message-warning-time -The time in minutes before an appointment that the reminder begins. The -default is 12 minutes. -@item appt-audible -If this is non-@code{nil}, Emacs rings the -terminal bell for appointment reminders. The default is @code{t}. -@item appt-visible -If this is non-@code{nil}, Emacs displays the appointment -message in the echo area. The default is @code{t}. -@item appt-display-mode-line -If this is non-@code{nil}, Emacs displays the number of minutes -to the appointment on the mode line. The default is @code{t}. -@item appt-msg-window -If this is non-@code{nil}, Emacs displays the appointment -message in another window. The default is @code{t}. -@item appt-disp-window-function -This variable holds a function to use to create the other window -for the appointment message. -@item appt-delete-window-function -This variable holds a function to use to get rid of the appointment -message window, when its time is up. -@item appt-display-duration -The number of seconds to display an appointment message. The default -is 10 seconds. -@end table - @node Index @unnumbered Index