X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=man%2Fxemacs%2Fcalendar.texi;h=dce562a789e04e6e5c7b7bd577575b6d0158f1ef;hb=762383636a99307282c2d93d26c35c046ec24da1;hp=d935a1d93e8df1ef4209aa61958e14e9e61c4838;hpb=e31bfd1501359ce20fe1caf6b913a019318ec83c;p=chise%2Fxemacs-chise.git.1 diff --git a/man/xemacs/calendar.texi b/man/xemacs/calendar.texi index d935a1d..dce562a 100644 --- a/man/xemacs/calendar.texi +++ b/man/xemacs/calendar.texi @@ -571,10 +571,10 @@ your time zone. Emacs displays the times of sunrise and sunset for how daylight savings time is determined. As a user, you might find it convenient to set the calendar location -variables for your usual physical location in your @file{.emacs} file. -And when you install Emacs on a machine, you can create a -@file{default.el} file which sets them properly for the typical location -of most users of that machine. @xref{Init File}. +variables for your usual physical location in your init file. And when +you install Emacs on a machine, you can create a @file{default.el} file +which sets them properly for the typical location of most users of that +machine. @xref{Init File}. @node Lunar Phases, Other Calendars, Sunrise/Sunset, Calendar/Diary @subsection Phases of the Moon @@ -1051,10 +1051,10 @@ date, independently of the calendar display, and optionally for the next few days as well; the variable @code{number-of-diary-entries} specifies how many days to include (@pxref{Customization}). - If you put @code{(diary)} in your @file{.emacs} file, this + If you put @code{(diary)} in your init file, this automatically displays a window with the day's diary entries, when you -enter Emacs. The mode line of the displayed window shows the date and -any holidays that fall on that date. +enter Emacs. @xref{Init File}. The mode line of the displayed window +shows the date and any holidays that fall on that date. @findex diary-mail-entries @vindex diary-mail-days @@ -1403,7 +1403,7 @@ diary suit your personal tastes. @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 @file{.emacs} file:@refill +your init file:@refill @example (setq view-diary-entries-initially t) @@ -1411,7 +1411,8 @@ your @file{.emacs} file:@refill @end example @noindent -this displays both the calendar and diary windows whenever you start Emacs. +this displays both the calendar and diary windows whenever you start +Emacs. @xref{Init File}. @vindex view-calendar-holidays-initially Similarly, if you set the variable @@ -1585,12 +1586,14 @@ arguments @var{args}. For example, suppose you want to add Bastille Day, celebrated in France on July 14. You can do this by adding the following line -to your @file{.emacs} file: +to your init file: @smallexample (setq other-holidays '((holiday-fixed 7 14 "Bastille Day"))) @end smallexample +@xref{Init File}. + @noindent The holiday form @code{(holiday-fixed 7 14 "Bastille Day")} specifies the fourteenth day of the seventh month (July). @@ -2061,13 +2064,15 @@ shown in the fancy diary buffer, set the variable @cindex sorting diary entries If you use the fancy diary display, you can use the normal hook @code{list-diary-entries-hook} to sort each day's diary entries by their -time of day. Add this line to your @file{.emacs} file: +time of day. Add this line to your init file: @findex sort-diary-entries @example (add-hook 'list-diary-entries-hook 'sort-diary-entries t) @end example +@xref{Init File}. + @noindent For each day, this sorts diary entries that begin with a recognizable time of day according to their times. Diary entries without times come