Once you have created a diary file, you can use the calendar to view it. You can also view today's events outside of Calendar mode. In the following, key bindings refer to the Calendar buffer.
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. Holidays are shown either in the buffer or in the mode line, depending on the display method you choose (see Diary Display). 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.
Another way to display the diary entries for a date is to click
Mouse-3 on the date, and then choose Diary entries from
the menu that appears. If the variable
calendar-view-diary-initially-flag is non-
nil, creating the
calendar lists the diary entries for the current date (provided the
current date is visible).
To get a broader view of which days are mentioned in the diary, use the m command. This marks the dates that have diary entries in a different face. See diary-entry-marker.
This command applies both to the months that are currently visible
and to those that subsequently become visible after scrolling. To turn
marking off and erase the current marks, type u, which also
turns off holiday marks (see Holidays). If the variable
calendar-mark-diary-entries-flag is non-
nil, creating or
updating the calendar marks diary dates automatically.
To see the full diary file, rather than just some of the entries, use the s command.
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
how many days to include.
If you put
(diary) in your .emacs file, this
automatically displays a window with the day's diary entries when you
Some people like to receive email notifications of events in their
diary. To send such mail to yourself, use the command M-x
diary-mail-entries. A prefix argument specifies how many days
(starting with today) to check; otherwise, the variable
diary-mail-days says how many days.