Go to the first, previous, next, last section, table of contents.

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 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:

C-c H d
Add a diary entry for the Hebrew date corresponding to the selected date (insert-hebrew-diary-entry).
C-c H m
Add a diary entry for the day of the Hebrew month corresponding to the selected date (insert-monthly-hebrew-diary-entry).
C-c H y
Add a diary entry for the day of the Hebrew year corresponding to the selected date (insert-yearly-hebrew-diary-entry).
C-c I d
Add a diary entry for the Islamic date corresponding to the selected date (insert-islamic-diary-entry).
C-c I m
Add a diary entry for the day of the Islamic month corresponding to the selected date (insert-monthly-islamic-diary-entry).
C-c 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.


Go to the first, previous, next, last section, table of contents.