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 the lines
(setq nongregorian-diary-listing-hook 'list-hebrew-diary-entries) (setq nongregorian-diary-marking-hook 'mark-hebrew-diary-entries)
in your `.emacs' file. If you want Islamic-date entries, include the lines
(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 the lines
(setq nongregorian-diary-listing-hook '(list-hebrew-diary-entries list-islamic-diary-entries)) (setq nongregorian-diary-marking-hook '(mark-hebrew-diary-entries mark-islamic-diary-entries))
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, they must be spelled out fully. 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 might be
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:
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.