Next: Fancy Diary Display Prev: Diary Customizing Up: Calendar Customization
Hebrew- and Islamic-Date Diary Entries
Your diary file can have entries based on Hebrew or Islamic dates, as
well as entries based on our usual Gregorian calendar. However, because
the processing of such entries is time-consuming and most people don't
need them, you must customize the processing of your diary file to
specify that you want such entries recognized. If you want Hebrew-date
diary entries, for example, you must include these lines in your
(setq nongregorian-diary-listing-hook 'list-hebrew-diary-entries)
(setq nongregorian-diary-marking-hook 'mark-hebrew-diary-entries)
If you want Islamic-date entries, include these lines in your `.emacs'
(setq nongregorian-diary-listing-hook 'list-islamic-diary-entries)
(setq nongregorian-diary-marking-hook 'mark-islamic-diary-entries)
If you want both Hebrew- and Islamic-date entries, include these lines:
Hebrew- and Islamic-date diary entries have the same formats as
Gregorian-date diary entries, except that the date must be preceded with
an `H' for Hebrew dates and an `I' for Islamic dates. Moreover,
because the Hebrew and Islamic month names are not uniquely specified
by the first three letters, you may not abbreviate them. For example,
a diary entry for the Hebrew date Heshvan 25 could look like
HHeshvan 25 Happy Hebrew birthday!
and would appear in the diary for any date that corresponds to Heshvan
25 on the Hebrew calendar. Similarly, an Islamic-date diary entry
IDhu al-Qada 25 Happy Islamic birthday!
and would appear in the diary for any date that corresponds to Dhu
al-Qada 25 on the Islamic calendar.
As with Gregorian-date diary entries, Hebrew- and Islamic-date
entries are nonmarking if they are preceded with an ampersand (`&').
There are commands to help you in making Hebrew- and Islamic-date
entries to your diary:
`i h d'
Add a diary entry for the Hebrew date corresponding to the
selected date (`insert-hebrew-diary-entry').
`i h m'
Add a diary entry for the day of the Hebrew month corresponding to
the selected date (`insert-monthly-hebrew-diary-entry').
`i h y'
Add a diary entry for the day of the Hebrew year corresponding to
the selected date (`insert-yearly-hebrew-diary-entry').
`i i d'
Add a diary entry for the Islamic date corresponding to the
selected date (`insert-islamic-diary-entry').
`i i m'
Add a diary entry for the day of the Islamic month corresponding
to the selected date (`insert-monthly-islamic-diary-entry').
`i i y'
Add a diary entry for the day of the Islamic year corresponding to
the selected date (`insert-yearly-islamic-diary-entry').
These commands work exactly like the corresponding commands for
ordinary diary entries: Move point to a date in the calendar window and
the above commands insert the Hebrew or Islamic date (corresponding to
the date indicated by point) at the end of your diary file and you can
then type the diary entry. If you want the diary entry to be
nonmarking, give a numeric argument to the command.
automatically generated by info2www