Next: Sunrise/Sunset Prev: General Calendar Up: Calendar/Diary
The Emacs calendar knows about all major and many minor holidays,
and can display them.
Display holidays for the selected date
Mark holidays in the calendar window (`mark-calendar-holidays').
Unmark calendar window (`calendar-unmark').
List all holidays for the displayed three months in another window
List all holidays for three months around today's date in another
To see if any holidays fall on a given date, position point on that
date in the calendar window and use the `h' command. This names the
holidays for that date, in the echo area if they fit there, otherwise
in a separate window.
To find the distribution of holidays for a wider period, use the `x'
command. This displays a `*' after each date on which a holiday falls.
The command applies both to the currently visible months and to other
months that subsequently become visible by scrolling. To turn marking
off and erase the current marks, type `u', which also erases any diary
marks (Note: Diary.).
To get even more detailed information, use the `a' command, which
displays a separate buffer containing a list of all holidays in the
current three-month range.
The command `M-x holidays' displays the list of holidays for the
current month and the preceding and succeeding months; this works even
if you don't have a calendar window. If you want the list of holidays
centered around a different month, use `C-u M-x holidays', which
prompts for the month and year.
The holidays known to Emacs include American holidays and the major
Christian, Jewish, and Islamic holidays; when floating point is
available, the calendar also knows about solstices and equinoxes.
The dates used by Emacs for holidays are based on *current
practice*, not historical fact. Historically, for instance, the start
of daylight savings time and even its existence have varied from year to
year, but present American law mandates that daylight savings time
begins on the first Sunday in April. In an American locale, Emacs
always uses this definition, even though it is wrong for some prior
automatically generated by info2www