(emacs)Diary Commands


Next: Format of Diary File Up: Diary

Commands Displaying Diary Entries
---------------------------------

   Once you have created a `~/diary' file, you can view it from within
the calendar.  You can also view today's events outside of Calendar
mode.

`d'
     Display any diary entries for the selected date
     (`view-diary-entries').

`s'
     Display entire diary file (`show-all-diary-entries').

`m'
     Mark all visible dates that have diary entries
     (`mark-diary-entries').

`u'
     Unmark calendar window (`calendar-unmark').

`M-x print-diary-entries'
     Print hard copy of the diary display as it appears.

`M-x diary'
     Display any diary entries for today's date.

   Displaying the diary entries with `d' shows in a separate window the
diary entries for the selected date in the calendar.  The mode line of
the new window shows the date of the diary entries and any holidays
that fall on that date.

   If you specify a numeric argument with `d', it shows all the diary
entries for that many successive days.  Thus, `2 d' displays all the
entries for the selected date and for the following day.

   To get a broader view of which days are mentioned in the diary, use
the `m' command.  This places a `+' after each date which has a diary
entry.  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 turns off
holiday marks (Note: Holidays.).

   To see the full diary file, rather than just some of the entries, use
the `s' command.

   Display of selected diary entries uses the selective display feature
to hide entries that don't apply.  This is the same feature that Outline
mode uses to show part of an outline (Note: Outline Mode.).  The diary
buffer as you see it is an illusion, so simply printing the buffer does
not print what you see on your screen.

   There is a special command to print hard copy of the diary buffer
*as it appears*; this command is `M-x print-diary-entries'.  It sends
the data directly to the printer.  You can customize it like
`lpr-region' (Note: Hardcopy.).

   The command `M-x diary' displays the diary entries for the current
date, independently of the calendar display, and optionally for the next
few days as well; the variable `number-of-diary-entries' specifies how
many days to include.  *Note Calendar/Diary Options:
(elisp)Calendar/Diary Options.

   If you put `(diary)' in your `.emacs' 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.


automatically generated by info2www