Next: Special Diary Entries, Previous: Date Formats, Up: The Diary [Contents][Index]
While in the calendar, there are several commands to create diary entries. The basic commands are listed here; more sophisticated commands are in the next section (see Special Diary Entries). Entries can also be based on non-Gregorian calendars. See Diary Entries Using non-Gregorian Calendars.
Add a diary entry for the selected date (diary-insert-entry
).
Add a diary entry for the selected day of the week (diary-insert-weekly-entry
).
Add a diary entry for the selected day of the month (diary-insert-monthly-entry
).
Add a diary entry for the selected day of the year (diary-insert-yearly-entry
).
You can make a diary entry for a specific date by selecting that
date in the calendar window and typing the i d
(diary-insert-entry
) command. This command displays the end of
your diary file in another window and inserts the date; you can then
type the rest of the diary entry.
If you want to make a diary entry that applies to a specific day of
the week, select that day of the week (any occurrence will do) and
type i w (diary-insert-weekly-entry
). This inserts the
day-of-week as a generic date; you can then type the rest of the diary
entry. You can make a monthly diary entry in the same fashion: select
the day of the month, use the i m
(diary-insert-monthly-entry
) command, and type the rest of the
entry. Similarly, you can insert a yearly diary entry with the i
y (diary-insert-yearly-entry
) command.
All of the above commands make marking diary entries by default. To make a nonmarking diary entry, give a prefix argument to the command. For example, C-u i w makes a nonmarking weekly diary entry.
When you modify the diary file, be sure to save the file before
exiting Emacs. Saving the diary file after using any of the above
insertion commands will automatically update the diary marks in the
calendar window, if appropriate. You can use the command
calendar-redraw
to force an update at any time.
Next: Special Diary Entries, Previous: Date Formats, Up: The Diary [Contents][Index]