Next: Daylight Savings Prev: Diary Up: Calendar/Diary
If you have a diary entry for an appointment, and that diary entry
begins with a recognizable time of day, Emacs can warn you, several
minutes beforehand, that that appointment is pending. Emacs alerts you
to the appointment by displaying a message in the mode line.
To enable appointment notification, you must enable the time display
feature of Emacs, `M-x display-time' (Note: Mode Line.). You must
also add the function `appt-make-list' to the `diary-display-hook',
(add-hook 'diary-display-hook 'appt-make-list)
With these preparations done, when you display the diary (either with
the `d' command in the calendar window or with the `M-x diary'
command), it sets up an appointment list of all the diary entries found
with recognizable times of day, and reminds you just before each of
For example, if you the diary file contains these lines:
9:30am Coffee break
Then on Mondays, after you have displayed the diary, you will be
reminded at 9:20am about your coffee break and at 11:50am about lunch.
Diary entries can have the time in the conventional American style,
or in "military" style. You need not be consistent; your diary file can
have a mixture of the two styles.
Emacs updates the appointments list automatically just after
midnight. This also displays the next days' diary entries in the diary
buffer, unless you set `appt-display-diary' to `nil'.
You can also use the appointment notification facility like an alarm
clock. The command `M-x appt-add' adds entries to the appointment list
without affecting your diary file. You delete entries from the
appointment list with `M-x appt-delete'.
You can turn off the appointment notification feature at any time by
setting `appt-issue-message' to `nil'.
automatically generated by info2www