;ELC ;;; compiled by jwz@thalidomide on Sun Jan 2 02:58:43 1994 ;;; from file /th/jwz/emacs19/lisp/calendar/diary.el ;;; emacs version 19.9 Lucid (beta10). ;;; bytecomp version 2.22; 22-dec-93. ;;; optimization is on. ;;; this file uses opcodes which do not exist in Emacs 18. (if (and (boundp 'emacs-version) (or (and (boundp 'epoch::version) epoch::version) (string-lessp emacs-version "19"))) (error "This file was compiled for Emacs 19.")) (require 'calendar) (fset 'diary #[(&optional arg) " !  ! ! ! ! !H \"!!*" [substitute-in-file-name diary-file calendar-current-date date d-file file-exists-p file-readable-p list-diary-entries arg prefix-numeric-value vectorp number-of-diary-entries calendar-day-of-week error "Your diary file is not readable!" "You don't have a diary file!"] 6 "\ Generate the diary window for ARG days starting with the current date. If no argument is provided, the number of days of diary entries is governed by the variable `number-of-diary-entries'. This function is suitable for execution in a `.emacs' file." "P"]) (fset 'view-diary-entries #[(arg) " !\n!\n! ! \"!!)" [substitute-in-file-name diary-file d-file file-exists-p file-readable-p list-diary-entries calendar-cursor-to-date error "Cursor is not on a date!" arg "Your diary file is not readable!" "You don't have a diary file!"] 4 "\ Prepare and display a buffer with diary entries. Searches the file named in `diary-file' for entries that match ARG days starting with the date indicated by the cursor position in the displayed three-month calendar." "p"]) (autoload 'check-calendar-holidays "holidays" "\ Check the list of holidays for any that occur on DATE. The value returned is a list of strings of relevant holiday descriptions. The holidays are those in the list `calendar-holidays'." t) (autoload 'calendar-holiday-list "holidays" "\ Form the list of holidays that occur on dates in the calendar window. The holidays are those in the list `calendar-holidays'." t) (autoload 'diary-french-date "cal-french" "\ French calendar equivalent of date diary entry." t) (autoload 'diary-mayan-date "cal-mayan" "\ Mayan calendar equivalent of date diary entry." t) (autoload 'diary-phases-of-moon "lunar" "\ Moon phases diary entry." t) (autoload 'diary-sunrise-sunset "solar" "\ Local time of sunrise and sunset as a diary entry." t) (autoload 'diary-sabbath-candles "solar" "\ Local time of candle lighting diary entry--applies if date is a Friday. No diary entry if there is no sunset on that date." t) (defvar diary-syntax-table (byte-code " !" [copy-syntax-table standard-syntax-table] 2) "\ The syntax table used when parsing dates in the diary file. It is the standard syntax table used in Fundamental mode, but with the syntax of `*' changed to be a word constituent.") (modify-syntax-entry 42 "w" diary-syntax-table) (fset 'list-diary-entries #[(date number) " Ww\n\n!\n! ! ! \"q) !׎ !dSb!uceb!ced%% %T%YA&\n@\nA@\nAA@\n!()*+,,@@횫,@A,@.,@@-\n!\n!OR3+!+!O6+!P+*!P*)!9)!PQ).@#ABCebDB#-EF#Gh\"Gh\"ށH!I!I(`JKEL!`JDсM$ށH!D#oI!J`%N\nK`{\"*. ,A,(OP\nDC\"Q\nAA@SR\n@+\nA@*\nAA@)*+SS_\\T+MVT+U_V\\ZT)UU)U)WUTTTT,RX_RUR[RW\\\\\\\\)T!(-t)Y!,ebZ[\\\"]Z]!^ Z_!." [0 number date original-date nil old-diary-syntax-table diary-entries-list calendar-date-string date-string substitute-in-file-name diary-file d-file message "Preparing diary..." get-file-buffer diary-buffer find-file-noselect t selective-display selective-display-ellipses syntax-table set-syntax-table diary-syntax-table ((set-syntax-table old-diary-syntax-table)) buffer-modified-p regexp-quote diary-nonmarking-symbol mark diary-modified buffer-read-only looking-at " \\|\n" 1 " " subst-char-in-region 10 13 i diary-date-forms list-sexp-diary-entries entry-found year day month d backup date-form calendar-day-name "\\|" 3 ".?" dayname "\\*\\|" calendar-month-name monthname "\\*\\|0*" int-to-string abbreviated-calendar-year 100 "" "\\(\\`\\| \\|\n\\)" "?\\(" mapconcat eval "\\)\\(" "\\)" regexp case-fold-search re-search-forward re-search-backward "\\<" char-equal " \\| " backward-char date-start entry-start " \\|\n\\|\\`" 2 add-to-diary-list diary-list-include-blanks append calendar-gregorian-from-absolute prior-years 31 day-of-year 4 23 400 365 set-buffer-modified-p run-hooks nongregorian-diary-listing-hook list-diary-entries-hook diary-display-hook simple-diary-display diary-hook] 8 "\ Create and display a buffer containing the relevant lines in diary-file. The arguments are DATE and NUMBER; the entries selected are those for NUMBER days starting with date DATE. The other entries are hidden using selective display. Returns a list of all relevant diary entries found, if any, in order by date. The list entries have the form ((month day year) string). If the variable `diary-list-include-blanks' is t, this list includes a dummy diary entry (consisting of the empty string) for a date with no diary entries. After the list is prepared, the hooks `nongregorian-diary-listing-hook', `list-diary-entries-hook', `diary-display-hook', and `diary-hook' are run. These hooks have the following distinct roles: `nongregorian-diary-listing-hook' can cull dates from the diary and each included file. Usually used for Hebrew or Islamic diary entries in files. Applied to *each* file. `list-diary-entries-hook' adds or manipulates diary entries from external sources. Used, for example, to include diary entries from other files or to sort the diary entries. Invoked *once* only, before the display hook is run. `diary-display-hook' does the actual display of information. If this is nil, simple-diary-display will be used. Use add-hook to set this to fancy-diary-display, if desired. If you want no diary display, use add-hook to set this to ignore. `diary-hook' is run last. This can be used for an appointment notification function."]) (fset 'include-other-diary-files #[nil "eb !Q#Ȕȕ{!   !!Ҏ\"\") \"! \"!-#eb" [re-search-forward "\\(\\`\\| \\|\n\\)" regexp-quote diary-include-string " \"\\([^\"]*\\)\"" nil t substitute-in-file-name 2 include-other-diary-files ignore diary-hook diary-display-hook list-diary-entries-hook diary-list-include-blanks diary-file file-exists-p file-readable-p ((byte-code "\n!!" [kill-buffer get-file-buffer diary-file] 3)) append diary-entries-list list-diary-entries original-date number beep message "Can't read included diary file %s" sleep-for "Can't find included diary file %s"] 5 "\ Include the diary entries from other diary files with those of diary-file. This function is suitable for use in `list-diary-entries-hook'; it enables you to use shared diary files together with your own. The files included are specified in the diaryfile by lines of this form: #include \"filename\" This is recursive; that is, #include directives in diary files thus included are obeyed. You can change the `#include' to some other string by changing the variable `diary-include-string'."]) (fset 'simple-diary-display #[nil "\n! ǪP ##   A @A@Ș G X !!q! #ceb!!\" ܪ #R!!!!*" [holidays-in-diary-buffer check-calendar-holidays original-date holiday-list format "No diary entries for %s %s" date-string ":" "" mapconcat identity "; " msg diary-entries-list screen-width message get-buffer-create holiday-buffer nil buffer-read-only calendar-set-mode-line erase-buffer "\n" set-buffer-modified-p t display-buffer "No diary entries for %s" "Diary for " ": " get-file-buffer d-file "Preparing diary...done"] 8 "\ Display the diary buffer if there are any relevant entries or holidays."]) (fset 'fancy-diary-display #[nil "A@A@\n ! ɪP ## G X !!q! #ceb!!\"*!!q ed%#!!*&!q!! ꉉE+,-.+.@@\".@@+\nL-U,!,!,!-SH,EC+C\"+@-+AA@,,_-\\\\\\:T-:,)-,;< *,_-\\:T-:,)+! ?@+@@@\"A?@@A\"?@A@b?*B`eUBCciDBցEDF\"P#c)iDEDG\"+.@A@GW.@A@.A.-!eb&!ρH!)" [diary-entries-list "" holidays-in-diary-buffer check-calendar-holidays original-date holiday-list format "No diary entries for %s %s" date-string ":" mapconcat identity "; " msg screen-width message get-buffer-create holiday-buffer nil buffer-read-only calendar-set-mode-line erase-buffer "\n" set-buffer-modified-p t display-buffer "No diary entries for %s" get-file-buffer substitute-in-file-name diary-file buffer-modified-p diary-modified subst-char-in-region 13 10 selective-display kill-local-variable mode-line-format fancy-diary-buffer make-local-variable "Diary Entries" 1 0 date holiday-list-last-year holiday-list-last-month entry-list calendar-date-equal calendar-date-compare 2 zerop 4 100 400 29 [31 28 31 30 31 30 31 31 30 31 30 31] 12 -1 macro-y displayed-year displayed-month calendar-holiday-list calendar-date-string d h append date-holiday-list ": " l make-string 32 61 "Preparing diary...done"] 8 "\ Prepare a diary buffer with relevant entries in a fancy, noneditable form. This function is provided for optional use as the `diary-display-hook'."]) (fset 'print-diary-entries #[nil "\n!!\n!q!)!!!  q;Ϫ\"ҔҕO  ed# q#!seb  G\"ٱ! !+!)" [bufferp get-buffer fancy-diary-buffer run-hooks print-diary-entries-hook get-file-buffer substitute-in-file-name diary-file diary-buffer get-buffer-create "*Printable Diary Entries*" nil heading temp-buffer mode-line-format "All Diary Entries" string-match "^-*\\([^-].*[^-]\\)-*$" 1 copy-to-buffer re-search-forward " .*$" t replace-match "" "\n" make-string 61 kill-buffer error "You don't have a diary buffer!"] 6 "\ Print a hard copy of the diary display. If the simple diary display is being used, prepare a temp buffer with the visible lines of the diary buffer, add a heading line composed from the mode line, print the temp buffer, and destroy it. If the fancy diary display is being used, just print the buffer. The hooks given by the variable `print-diary-entries-hook' are called to do the actual printing." nil]) (fset 'show-all-diary-entries #[nil " !\n!\n!\n!\n\"q   ed%!p! !,!!)" [substitute-in-file-name diary-file d-file file-exists-p file-readable-p get-file-buffer diary-buffer find-file-noselect t nil buffer-modified-p diary-modified buffer-read-only subst-char-in-region 13 10 selective-display make-local-variable mode-line-format default-mode-line-format display-buffer set-buffer-modified-p error "Your diary file is not readable!" "You don't have a diary file!"] 7 "\ Show all of the diary entries in the diary file. This function gets rid of the selective display of the diary file so that all entries, not just some, are visible. If there is no diary buffer, one is created." nil]) (fset 'diary-name-pattern #[(string-array &optional fullname) " GS TY H HOQRU) )" ["" pattern -1 i string-array "\\|" fullname 0 3 ".?"] 7 "\ Convert an STRING-ARRAY, an array of strings to a pattern. The pattern will match any of the strings, either entirely or abbreviated to three characters. An abbreviated form will match with or without a period; If the optional FULLNAME is t, abbreviations will not match, just the full name."]) (fset 'mark-diary-entries #[nil " ! ! !! \"q\n   !  @@њ @A @!!PG>GZU?\\>GZ  U? \\ >GZ!!U?!\\!>GZ\"\"U?\"\\\">GZ##U?#\\##Q)*eb)#{,   {-\"\"\"{!0!!!{!1###{22GU4 AA@62!6_\\86ZV8Z68ZV8\\8*2!:,,O!@#\"A!--A0-O!BC#\"A0D01:#. A .1E FGH\" !ǁI!+JK!JL!)" [t mark-diary-entries-in-calendar substitute-in-file-name diary-file d-file file-exists-p file-readable-p message "Marking diary entries..." find-file-noselect diary-date-forms nil old-diary-syntax-table d syntax-table set-syntax-table diary-syntax-table backup date-form diary-name-pattern calendar-day-name-array dayname calendar-month-name-array "\\|\\*" monthname "[0-9]+\\|\\*" month day year l d-name-pos 2 m-name-pos d-pos m-pos y-pos "\\(\\`\\| \\|\n\\)\\(" mapconcat eval "\\)\\(" "\\)" regexp case-fold-search re-search-forward dd-name mm-name string-to-int "" mm dd y-str 0 abbreviated-calendar-year calendar-current-date current-y 100 y 50 yy mark-calendar-days-named assoc capitalize 3 calendar-make-alist (lambda (x) (substring x 0 3)) "*" 1 (lambda (x) (substring x 0 3)) mark-calendar-date-pattern mark-sexp-diary-entries run-hooks nongregorian-diary-marking-hook mark-diary-entries-hook "Marking diary entries...done" error "Your diary file is not readable!" "You don't have a diary file!"] 8 "\ Mark days in the calendar window that have diary entries. Each entry in the diary file visible in the calendar window is marked. After the entries are marked, the hooks `nongregorian-diary-marking-hook' and `mark-diary-entries-hook' are run." nil]) (fset 'mark-sexp-diary-entries #[nil " !\nQ \n q  )_\\\\ΦTΥ)EAA@SE@EA@EAA@S_\\V_\\ۥZ٦UݦUަUT,_٥ݥ[ޥ\\\\\\\\) _\\\\ΦTΥ)U٦UݦUަUઅSHEAA@SU٦UݦUަUઅSHE@U٦UݦUަUઅSHEA@U٦UݦUަUઅSHEAA@S_\\V_\\ۥZ٦UݦUަUT,_٥ݥ[ޥ\\\\\\\\)\neb #!`Ɖ%&'() )`{(!`%)uh\"h\"!!'`&#!#s!&`{''\"'ܔIp S5\n5T5Y('5!#i5!!`.." [regexp-quote sexp-diary-entry-symbol sexp-mark "\\(\\`\\| \\|\n\\)" "(" s-entry nil m y first-date last-date calendar-buffer displayed-month displayed-year 12 -2 macro-y 1 prior-years month day year 31 day-of-year 2 4 23 10 0 100 400 365 29 [31 28 31 30 31 30 31 31 30 31 30 31] re-search-forward t backward-char line-start entry-start entry sexp sexp-start forward-sexp re-search-backward " \\|\n\\|\\`" char-equal 13 looking-at " \\| " "" " \\|\n" string-match "[ ]" date diary-sexp-entry calendar-gregorian-from-absolute mark-visible-calendar-date] 7 "\ Mark days in the calendar window that have sexp diary entries. Each entry in the diary file (or included files) visible in the calendar window is marked. See the documentation for the function `list-sexp-diary-entries'."]) (fset 'mark-included-diary-files #[nil "eb !Q#Ȕȕ{!\n  ! !  !!  \"!  \"!*1eb" [re-search-forward "\\(\\`\\| \\|\n\\)" regexp-quote diary-include-string " \"\\([^\"]*\\)\"" nil t substitute-in-file-name 2 mark-included-diary-files mark-diary-entries-hook diary-file file-exists-p file-readable-p mark-diary-entries kill-buffer get-file-buffer beep message "Can't read included diary file %s" sleep-for "Can't find included diary file %s"] 4 "\ Mark the diary entries from other diary files with those of the diary file. This function is suitable for use as the `mark-diary-entries-hook'; it enables you to use shared diary files together with your own. The files included are specified in the diary-file by lines of this form: #include \"filename\" This is recursive; that is, #include directives in diary files thus included are obeyed. You can change the `#include' to some other string by changing the variable `diary-include-string'."]) (fset 'mark-calendar-days-named #[(dayname) "q \n \nÉ _\\ ʦT ʥ)_ \\\\ ʦT  ʥ) $AA@S $@ $A@ $AA@ S_\\V_\\إZ֦UڦUۦUT,_֥ڥ[ۥ\\\\\\\\)$AA@S$@$A@$AA@ S_\\V_\\إZ֦UڦUۦUT,_֥ڥ[ۥ\\\\\\\\) X !! \\o." [calendar-buffer displayed-month displayed-year nil day last-day succ-year succ-month prev-year prev-month 12 macro-y -2 calendar-nth-named-day 1 dayname prior-years month year 31 day-of-year 2 4 23 10 0 100 400 365 -1 mark-visible-calendar-date calendar-gregorian-from-absolute 7] 7 "\ Mark all dates in the calendar window that are day DAYNAME of the week. 0 means all Sundays, 1 means all Mondays, and so on."]) (fset 'mark-calendar-date-pattern #[(month day year) "q \n _ \\\\ŦTť)  T Y   % _ \\ŦTť)W," [calendar-buffer displayed-month displayed-year y m 12 -2 macro-y -1 i 2 mark-calendar-month month day year] 7 "\ Mark all dates in the calendar window that conform to MONTH/DAY/YEAR. A value of 0 in any position is a wildcard."]) (fset 'mark-calendar-month #[(month year p-month p-day p-year) " U\nU \nU U\nU \nU UU ȦU ɦU ʦU˪SHTY E!L) E!" [month p-month p-year 0 year p-day i 2 4 100 400 29 [31 28 31 30 31 30 31 31 30 31 30 31] mark-visible-calendar-date] 4 "\ Mark dates in the MONTH/YEAR that conform to pattern P-MONTH/P_DAY/P-YEAR. A value of 0 in any position of the pattern is a wildcard."]) (fset 'sort-diary-entries #[nil " \"" [sort diary-entries-list diary-entry-compare] 3 "\ Sort the list of diary entries by time of day."]) (fset 'diary-entry-compare #[(e1 e2) " \n\" @\n@\" A@!\nA@!W" [calendar-date-compare e1 e2 calendar-date-equal diary-entry-time] 3 "\ Returns t if E1 is earlier than E2."]) (fset 'diary-entry-time #[(s) "\n\"\nĔĕO!_\nƔƕO!\\\n\"\nĔĕO!Ȧ_\nƔƕOɘʪ\\\n\"\nĔĕO!Ȧ_\nƔƕO!\n͔͕Oɘʪ\\\\·" [string-match "^ *\\([0-9]?[0-9]\\):?\\([0-9][0-9]\\)\\(\\>\\|[^ap]\\)" s string-to-int 1 100 2 "^ *\\([0-9]?[0-9]\\)\\([ap]\\)m\\>" 12 "a" 0 1200 "^ *\\([0-9]?[0-9]\\):\\([0-9][0-9]\\)\\([ap]\\)m\\>" 3 -9999] 5 "\ Time at the beginning of the string S in a military-style integer. For example, returns 1325 for 1:25pm. Returns -9999 if no time is recognized. The recognized forms are XXXX or X:XX or XX:XX (military time), XXam or XXpm, and XX:XXam or XX:XXpm."]) (fset 'list-hebrew-diary-entries #[nil " W$ ! \n  T Y  AA@S@A@AA@S_\\V_\\إZ֦U٦UڦUT,_֥٥[ڥ\\\\\\\\)!@A@AA@  @@ݚ @A @ @@ݚ!!OR#$%!P(!P!P!+٦!PQ/!#57eb5##h\"h\"!@!U`ABC!`AD$!D#q@!EA`%FB`{\"*.\n A -GAA@S@A@AA@S_\\V_\\إZ֦U٦UڦUT,_֥٥[ڥ\\\\\\\\)T!)H !,eb" [0 number nil buffer-modified-p original-date regexp-quote diary-nonmarking-symbol mark gdate diary-modified buffer-read-only i diary-date-forms d calendar-hebrew-from-absolute prior-years month day year 31 day-of-year 2 4 23 10 100 400 365 hdate backup date-form calendar-day-name "\\|" 3 ".?" dayname calendar-hebrew-month-name-array-leap-year calendar-month-name-array "\\*\\|" calendar-month-name monthname "\\*\\|0*" int-to-string abbreviated-calendar-year "" "\\(\\`\\| \\|\n\\)" "?" hebrew-diary-entry-symbol "\\(" mapconcat eval "\\)\\(" "\\)" regexp t case-fold-search re-search-forward re-search-backward "\\<" char-equal 13 looking-at " \\| " backward-char 1 date-start entry-start " \\|\n\\|\\`" " \\|\n" subst-char-in-region add-to-diary-list calendar-gregorian-from-absolute set-buffer-modified-p] 10 "\ Add any Hebrew date entries from the diary file to `diary-entries-list'. Hebrew date diary entries must be prefaced by `hebrew-diary-entry-symbol' (normally an `H'). The same diary date forms govern the style of the Hebrew calendar entries, except that the Hebrew month names must be spelled in full. The Hebrew months are numbered from 1 to 13 with Nisan being 1, 12 being Adar I and 13 being Adar II; you must use `Adar I' if you want Adar of a common Hebrew year. If a Hebrew date diary entry begins with a `diary-nonmarking-symbol', the entry will appear in the diary listing, but will not be marked in the calendar. This function is provided for use with the `nongregorian-diary-listing-hook'."]) (fset 'mark-hebrew-diary-entries #[nil " @@š @A @ !\"P\n   G >GZU?\\ >GZU?\\ >GZU?\\ >GZU?\\ >GZU?\\! #ݰeb#{\"{#{!&{!'{((GU* AA@S- @ A@ AA@  S_\\/ V/ _\\Z/UUU/T//,-_--[-\\\\\\\\)!AA@6(!6_\\76ZV7Z67ZV7\\7*(!9\"\"O! #\"A!##@&#!!\"A&A&'9#.. A)" [diary-date-forms d backup date-form diary-name-pattern calendar-day-name-array dayname calendar-hebrew-month-name-array-leap-year t "\\|\\*" monthname "[0-9]+\\|\\*" month day year l d-name-pos 2 m-name-pos d-pos m-pos y-pos "\\(\\`\\| \\|\n\\)" regexp-quote hebrew-diary-entry-symbol "\\(" mapconcat eval "\\)\\(" "\\)" regexp case-fold-search re-search-forward nil dd-name mm-name string-to-int "" mm dd y-str 0 abbreviated-calendar-year calendar-hebrew-from-absolute calendar-current-date prior-years 31 day-of-year 4 23 10 100 400 365 current-y y 50 yy mark-calendar-days-named assoc capitalize 3 calendar-make-alist (lambda (x) (substring x 0 3)) "*" mark-hebrew-calendar-date-pattern] 8 "\ Mark days in the calendar window that have Hebrew date diary entries. Each entry in diary-file (or included files) visible in the calendar window is marked. Hebrew date entries are prefaced by a hebrew-diary-entry-symbol (normally an `H'). The same diary-date-forms govern the style of the Hebrew calendar entries, except that the Hebrew month names must be spelled in full. The Hebrew months are numbered from 1 to 13 with Nisan being 1, 12 being Adar I and 13 being Adar II; you must use `Adar I' if you want Adar of a common Hebrew year. Hebrew date diary entries that begin with a diary-nonmarking symbol will not be marked in the calendar. This function is provided for use as part of the nongregorian-diary-marking-hook."]) (fset 'mark-hebrew-calendar-date-pattern #[(month day year) "q Uo Uo U E!!!!)z\n W Z \\ W Z \\ W Z \\ W Z \\ W Z \\>z\n\n_\\\\ۦTۥ)_\\ۦTۥ)EAA@SE@EA@EAA@ S_\\ V _\\ͥZ ҦU U U T  ,_ҥ[\\\\\\\\)%UҦUUU檅SHEAA@SUҦUUU檅SHE@UҦUUU檅SHEA@UҦUUU檅SHEAA@ S_\\ V _\\ͥZ ҦU U U T  ,_ҥ[\\\\\\\\)(%!*(!+*AA@,+AA@- W-, E!!!!. z\n։/0121_2\\\\ۦT2ۥ1)21EAA@S21E@21EA@21EAA@ S_\\ V _\\ͥZ ҦU U U T  ,_ҥ[\\\\\\\\)01_2\\\\ۦT2ۥ1)2U1ҦU1U1U檅2SH1EAA@S2U1ҦU1U1U檅2SH1E@2U1ҦU1U1U檅2SH1EA@2U1ҦU1U1U檅2SH1EAA@ S_\\ V _\\ͥZ ҦU U U T  ,_ҥ[\\\\\\\\)/0S/TY!3@43A@53AA@6 U 4U U 5U U 6U!!,3-)" [calendar-buffer month 0 day year calendar-gregorian-from-absolute calendar-absolute-from-hebrew date calendar-date-is-visible-p mark-visible-calendar-date displayed-month 11 1 10 2 9 3 8 4 7 5 displayed-year nil y2 m2 y1 m1 12 -2 macro-y prior-years 31 day-of-year 23 100 400 365 start-date 29 [31 28 31 30 31 30 31 31 30 31 30 31] end-date calendar-hebrew-from-absolute hebrew-start hebrew-end hebrew-y1 hebrew-y2 6 last-date first-date y m h-date h-month h-day h-year] 8 "\ Mark dates in calendar window that conform to Hebrew date MONTH/DAY/YEAR. A value of 0 in any position is a wildcard."]) (fset 'list-sexp-diary-entries #[(date) " ! !\n ǰ\neb#!`ɉ `{!`)uh\"h\"!!`#!#s!`{\"Ip\"##`%\"#\"\n#\n.\n," [regexp-quote diary-nonmarking-symbol mark sexp-diary-entry-symbol sexp-mark "\\(\\`\\| \\|\n\\)" "?" "(" s-entry nil entry-found re-search-forward t backward-char 1 line-start entry-start entry sexp sexp-start forward-sexp re-search-backward " \\|\n\\|\\`" char-equal 13 10 looking-at " \\| " "" " \\|\n" string-match "[ ]" 0 diary-sexp-entry date diary-entry subst-char-in-region add-to-diary-list] 7 "\ Add sexp entries for DATE from the diary file to `diary-entries-list'. Also, Make them visible in the diary file. Returns t if any entries were found. Sexp diary entries must be prefaced by a `sexp-diary-entry-symbol' (normally `%%'). The form of a sexp diary entry is %%(SEXP) ENTRY Both ENTRY and DATE are globally available when the SEXP is evaluated. If the SEXP yields the value nil, the diary entry does not apply. If it yields a non-nil value, ENTRY will be taken to apply to DATE; if the non-nil value is a string, that string will be the diary entry in the fancy diary display. For example, the following diary entry will apply to the 21st of the month if it is a weekday and the Friday before if the 21st is on a weekend: &%%(let ((dayname (calendar-day-of-week date)) (day (extract-calendar-day date))) (or (and (= day 21) (memq dayname '(1 2 3 4 5))) (and (memq day '(19 20)) (= dayname 5))) ) UIUC pay checks deposited A number of built-in functions are available for this type of diary entry: %%(diary-float MONTH DAYNAME N) text Entry will appear on the Nth DAYNAME of MONTH. (DAYNAME=0 means Sunday, 1 means Monday, and so on; if N is negative it counts backward from the end of the month. MONTH can be a list of months, a single month, or t to specify all months. %%(diary-block M1 D1 Y1 M2 D2 Y2) text Entry will appear on dates between M1/D1/Y1 and M2/D2/Y2, inclusive. (If `european-calendar-style' is t, the order of the parameters should be changed to D1, M1, Y1, D2, M2, Y2.) %%(diary-anniversary MONTH DAY YEAR) text Entry will appear on anniversary dates of MONTH DAY, YEAR. (If `european-calendar-style' is t, the order of the parameters should be changed to DAY, MONTH, YEAR.) Text can contain %d or %d%s; %d will be replaced by the number of years since the MONTH DAY, YEAR and %s will be replaced by the ordinal ending of that number (that is, `st', `nd', `rd' or `th', as appropriate. The anniversary of February 29 is considered to be March 1 in a non-leap year. %%(diary-cyclic N MONTH DAY YEAR) text Entry will appear every N days, starting MONTH DAY, YEAR. (If `european-calendar-style' is t, the order of the parameters should be changed to N, DAY, MONTH, YEAR.) Text can contain %d or %d%s; %d will be replaced by the number of repetitions since the MONTH DAY, YEAR and %s will be replaced by the ordinal ending of that number (that is, `st', `nd', `rd' or `th', as appropriate. %%(diary-day-of-year) Diary entries giving the day of the year and the number of days remaining in the year will be made every day. Note that since there is no text, it makes sense only if the fancy diary display is used. %%(diary-iso-date) Diary entries giving the corresponding ISO commercial date will be made every day. Note that since there is no text, it makes sense only if the fancy diary display is used. %%(diary-french-date) Diary entries giving the corresponding French Revolutionary date will be made every day. Note that since there is no text, it makes sense only if the fancy diary display is used. %%(diary-islamic-date) Diary entries giving the corresponding Islamic date will be made every day. Note that since there is no text, it makes sense only if the fancy diary display is used. %%(diary-hebrew-date) Diary entries giving the corresponding Hebrew date will be made every day. Note that since there is no text, it makes sense only if the fancy diary display is used. %%(diary-astro-day-number) Diary entries giving the corresponding astronomical (Julian) day number will be made every day. Note that since there is no text, it makes sense only if the fancy diary display is used. %%(diary-julian-date) Diary entries giving the corresponding Julian date will be made every day. Note that since there is no text, it makes sense only if the fancy diary display is used. %%(diary-sunrise-sunset) Diary entries giving the local times of sunrise and sunset will be made every day. Note that since there is no text, it makes sense only if the fancy diary display is used. Floating point required. %%(diary-phases-of-moon) Diary entries giving the times of the phases of the moon will be when appropriate. Note that since there is no text, it makes sense only if the fancy diary display is used. Floating point required. %%(diary-yahrzeit MONTH DAY YEAR) text Text is assumed to be the name of the person; the date is the date of death on the *civil* calendar. The diary entry will appear on the proper Hebrew-date anniversary and on the day before. (If `european-calendar-style' is t, the order of the parameters should be changed to DAY, MONTH, YEAR.) %%(diary-rosh-hodesh) Diary entries will be made on the dates of Rosh Hodesh on the Hebrew calendar. Note that since there is no text, it makes sense only if the fancy diary display is used. %%(diary-parasha) Diary entries giving the weekly parasha will be made on every Saturday. Note that since there is no text, it makes sense only if the fancy diary display is used. %%(diary-omer) Diary entries giving the omer count will be made every day from Passover to Shavuoth. Note that since there is no text, it makes sense only if the fancy diary display is used. Marking these entries is *extremely* time consuming, so these entries are best if they are nonmarking."]) (fset 'diary-sexp-entry #[(sexp entry date) " !@!)ȏ ;  \n)" [calendar-debug-sexp t stack-trace-on-error eval read-from-string sexp nil (byte-code "\n!@!" [eval read-from-string sexp] 3) ((error (byte-code " Š`}eb# Tt + \n$!" [beep message "Bad sexp at line %d in %s: %s" 1 lines re-search-forward "\n\\| " nil t diary-file sexp sleep-for 2] 6))) result entry] 4 "\ Process a SEXP diary ENTRY for DATE."]) (fset 'diary-block #[(m1 d1 y1 m2 d2 y2) " \n E\n EAA@S \n E\n E@ \n E\n EA@ \n E\n EAA@ S_\\ V _\\ͥZ ˦UϦUЦU T  , _ ˥ ϥ[ Х\\\\\\\\)EEAA@SEE@EEA@EEAA@ S_\\ V _\\ͥZ ˦UϦUЦU T  , _ ˥ ϥ[ Х\\\\\\\\)AA@S@A@AA@ S_\\ V _\\ͥZ ˦UϦUЦU T  , _ ˥ ϥ[ Х\\\\\\\\)XX+" [european-calendar-style d1 m1 y1 prior-years month day year 31 day-of-year 2 4 23 10 0 100 400 365 d2 m2 y2 date d date2 date1 entry] 9 "\ Block diary entry. Entry applies if date is between two dates. Order of the parameters is M1, D1, Y1, M2, D2, Y2 `european-calendar-style' is nil, and D1, M1, Y1, D2, M2, Y2 if `european-calendar-style' is t."]) (fset 'diary-float #[(month dayname n) "@AA@ <\n >\n =\n $\" *" [date y m month t calendar-date-equal calendar-nth-named-day n dayname entry] 7 "\ Floating diary entry--entry applies if date is the nth dayname of month. Parameters are MONTH, DAYNAME, N. MONTH can be a list of months, the constant t, or an integer. The constant t means all months. If N is negative, count backward from the end of the month."]) (fset 'diary-anniversary #[(month day year) " \n\n  AA@Z U U˦UͦUΦUV E \"!#," [european-calendar-style month day d m date y year diff 2 29 4 0 100 400 3 1 calendar-date-equal format entry diary-ordinal-suffix] 6 "\ Anniversary diary entry. Entry applies if date is the anniversary of MONTH, DAY, YEAR if `european-calendar-style' is nil, and DAY, MONTH, YEAR if `european-calendar-style' is t. Diary entry can contain `%d' or `%d%s'; the %d will be replaced by the number of years since the MONTH DAY, YEAR and the %s will be replaced by the ordinal ending of that number (that is, `st', `nd', `rd' or `th', as appropriate. The anniversary of February 29 is considered to be March 1 in non-leap years."]) (fset 'diary-cyclic #[(n month day year) " \n\n  AA@S @ A@ AA@\n S_\\ V _\\ͥZ ˦UϦUЦU T  ,_˥ϥ[Х\\\\\\\\) EAA@S E@ EA@ EAA@\n S_\\ V _\\ͥZ ˦UϦUЦU T  ,_˥ϥ[Х\\\\\\\\)ZYU!#," [european-calendar-style month day d m date prior-years year 31 day-of-year 2 4 23 10 0 100 400 365 diff n cycle format entry diary-ordinal-suffix] 8 "\ Cycle diary entry--entry applies every N days starting at MONTH, DAY, YEAR. If `european-calendar-style' is t, parameters are N, DAY, MONTH, YEAR. ENTRY can contain `%d' or `%d%s'; the %d will be replaced by the number of years since the MONTH DAY, YEAR and the %s will be replaced by the ordinal ending of that number (that is, `st', `nd', `rd' or `th', as appropriate."]) (fset 'diary-ordinal-suffix #[(n) ">ĦWŇĦH" [n 100 (11 12 13) 3 10 "th" ["th" "st" "nd" "rd"]] 3 "\ Ordinal suffix for N. (That is, `st', `nd', `rd', or `th', as appropriate.)"]) (fset 'diary-day-of-year #[nil "AA@@A@AA@ \nS_\\\nV \n_\\ɥZ ǦU ˦U ̦U T , E@ EA@ EAA@ \nS_\\\nV \n_\\ɥZ ǦU ˦U ̦U T , Z UҪ%+" [date year month day 31 day-of-year 2 4 23 10 0 100 400 12 days-remaining format "Day %d of %d; %d day%s remaining in the year" 1 "" "s"] 7 "\ Day of year and number of days remaining in the year of date diary entry."]) (fset 'diary-iso-date #[nil "AA@S@A@AA@ \nS_\\\nV\n_\\ʥZ ȦU ̦U ͦUT, _ ȥ ̥[ ͥ\\\\\\\\)ϦAA@S@A@AA@ \nS_\\\nV\n_\\ʥZ ȦU ̦U ͦUT, _ ȥ ̥[ ͥ\\\\\\\\)! UϪ @AA@$*" [date prior-years month day year 31 day-of-year 2 4 23 10 0 100 400 365 7 calendar-iso-from-absolute iso-date format "ISO date: Day %s of week %d of %d."] 8 "\ ISO calendar equivalent of date diary entry."]) (fset 'diary-islamic-date #[nil " AA@S @ A@ AA@ S_\\ V _\\˥Z ɦU ͦU ΦUT,\n_\nɥ\nͥ[\nΥ\\\\\\\\)!AA@Y#\"*" [calendar-islamic-from-absolute date prior-years month day year 31 day-of-year 2 4 23 10 0 100 400 365 i-date calendar-islamic-month-name-array calendar-month-name-array 1 format "Islamic date: %s" calendar-date-string nil t] 7 "\ Islamic calendar equivalent of date diary entry."]) (fset 'diary-hebrew-date #[nil " AA@S @ A@ AA@ S_\\ V _\\˥Z ɦU ͦU ΦUT,\n_\nɥ\nͥ[\nΥ\\\\\\\\)!AA@!#\"*" [calendar-hebrew-from-absolute date prior-years month day year 31 day-of-year 2 4 23 10 0 100 400 365 h-date hebrew-calendar-leap-year-p calendar-hebrew-month-name-array-leap-year calendar-hebrew-month-name-array-common-year calendar-month-name-array format "Hebrew date: %s" calendar-date-string nil t] 7 "\ Hebrew calendar equivalent of date diary entry."]) (fset 'diary-julian-date #[nil " AA@S @ A@ AA@S_\\\nV\n_\\ΥZ\n̦UЦUѦU\nT\n\n, _ ̥ Х[ ѥ\\\\\\\\)!!$" [format "Julian date: %s" calendar-date-string calendar-julian-from-absolute date prior-years month day year 31 day-of-year 2 4 23 10 0 100 400 365 nil t] 10 "\ Julian calendar equivalent of date diary entry."]) (fset 'diary-astro-day-number #[nil "\nAA@S\n@\nA@\nAA@ S_\\ V _\\̥ZʦUΦUϦUT, _ ʥ Υ[ ϥ\\\\\\\\)\\\"" [format "Astronomical (Julian) day number %d" date prior-years month day year 31 day-of-year 2 4 23 10 0 100 400 365 1721425] 8 "\ Astronomical (Julian) day number diary entry."]) (fset 'diary-omer #[nil " AA@\\E! AA@S @ A@ AA@ S_\\ V _\\ϥZ  ͦU ѦU ҦU T  ,_ͥѥ[ҥ\\\\\\\\) ZեզVWUڪUڪUڪUڪ#$#," [calendar-absolute-from-hebrew 1 15 date 3760 passover prior-years month day year 31 day-of-year 2 4 23 10 0 100 400 365 omer 7 week 50 format "Day %d%s of the omer (until sunset)" "" ", that is, %d week%s%s" "s" " and %d day%s"] 13 "\ Omer count diary entry. Entry applies if date is within 50 days after Passover."]) (fset 'diary-yahrzeit #[(death-month death-day death-year) " \n E \n EAA@S \n E \n E@ \n E \n EA@ \n E \n EAA@S_\\\nV\n_\\ΥZ\n̦UЦUѦU\nT\n\n, _ ̥ Х[ ѥ\\\\\\\\)!@A@AA@AA@S@A@AA@S_\\\nV\n_\\ΥZ\n̦UЦUѦU\nT\n\n, _ ̥ Х[ ѥ\\\\\\\\)!AA@Z\"VUTUUઁΦU㪗ΦU䪌ΦU檁%." [calendar-hebrew-from-absolute european-calendar-style death-day death-month death-year prior-years month day year 31 day-of-year 2 4 23 10 0 100 400 365 h-date h-month h-day h-year date d yr diff hebrew-calendar-yahrzeit y format "Yahrzeit of %s%s: %d%s anniversary" entry "" " (evening)" 1 "st" "nd" 3 "rd" "th"] 8 "\ Yahrzeit diary entry--entry applies if date is yahrzeit or the day before. Parameters are DEATH-MONTH, DEATH-DAY, DEATH-YEAR; the diary entry is assumed to be the name of the person. Date of death is on the *civil* calendar; although the date of death is specified by the civil calendar, the proper Hebrew calendar yahrzeit is determined. If `european-calendar-style' is t, the order of the parameters is changed to DEATH-DAY, DEATH-MONTH, DEATH-YEAR."]) (fset 'diary-rosh-hodesh #[nil "AA@S@A@AA@ \nS_\\\nV\n_\\ʥZ ȦU ̦U ͦUT, _ ȥ ̥[ ͥ\\\\\\\\)!@A@AA@!\"SHS!A@UUUUH\"U\"\"aUVUU!U˪H*ZH#WVUHU쪇*ZH*ZH$UU?!U˪H\".\n" [date prior-years month day year 31 day-of-year 2 4 23 10 0 100 400 365 d calendar-hebrew-from-absolute h-date h-month h-day h-year hebrew-calendar-leap-year-p leap-year hebrew-calendar-last-day-of-month last-day calendar-hebrew-month-name-array-leap-year calendar-hebrew-month-name-array-common-year h-month-names this-month h-yesterday 30 1 7 format "Rosh Hodesh %s" "%s (first day)" "%s (second day)" 6 22 29 "Mevarhim Rosh Hodesh %s (%s)" hebrew-calendar-last-month-of-year calendar-day-name-array "Mevarhim Rosh Hodesh %s (%s-%s)" "tomorrow" "Erev Rosh Hodesh %s"] 8 "\ Rosh Hodesh diary entry. Entry applies if date is Rosh Hodesh, the day before, or the Saturday before."]) (fset 'diary-parasha #[nil "AA@S@A@AA@ \nS_\\\nV\n_\\ʥZ ȦU ̦U ͦUT, _ ȥ ̥[ ͥ\\\\\\\\)ЦU !AA@E!E!ЦHЦH!!ઌ᪁##$!J'\\\"))ZХ*'*H++<+@+@!+A!#+A!\"+!\". )" [date prior-years month day year 31 day-of-year 2 4 23 10 0 100 400 365 d 7 6 calendar-hebrew-from-absolute h-year calendar-absolute-from-hebrew 1 rosh-hashannah 15 passover calendar-day-name-array rosh-hashannah-day passover-day hebrew-calendar-long-heshvan-p long-h hebrew-calendar-short-kislev-p short-k "complete" "incomplete" "regular" type intern format "hebrew-calendar-year-%s-%s-%s" year-format calendar-dayname-on-or-before first-saturday saturday parasha "Parashat %s" "%s (diaspora), %s (Israel)" hebrew-calendar-parasha-name "%s (Israel)"] 8 "\ Parasha diary entry--entry applies if date is a Saturday."]) (fset 'add-to-diary-list #[(date string) "  DC\"" [date string append diary-entries-list] 4 "\ Add the entry (DATE STRING) to `diary-entries-list'. Do nothing if DATE or STRING is nil."]) (defvar hebrew-calendar-parashiot-names ["Bereshith" "Noah" "Lech L'cha" "Vayera" "Hayei Sarah" "Toledoth" "Vayetze" "Vayishlah" "Vayeshev" "Mikketz" "Vayiggash" "Vayhi" "Shemoth" "Vaera" "Bo" "Beshallah" "Yithro" "Mishpatim" "Terumah" "Tetzavveh" "Ki Tissa" "Vayakhel" "Pekudei" "Vayikra" "Tzav" "Shemini" "Tazria" "Metzora" "Aharei Moth" "Kedoshim" "Emor" "Behar" "Behukkotai" "Bemidbar" "Naso" "Behaalot'cha" "Shelah L'cha" "Korah" "Hukkath" "Balak" "Pinhas" "Mattoth" "Masei" "Devarim" "Vaethanan" "Ekev" "Reeh" "Shofetim" "Ki Tetze" "Ki Tavo" "Nitzavim" "Vayelech" "Haazinu"] "\ The names of the parashiot in the Torah.") (defconst hebrew-calendar-year-Saturday-incomplete-Sunday [nil 52 nil nil 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 [21 22] 23 24 nil 25 [26 27] [28 29] 30 [31 32] 33 34 35 36 37 38 39 40 [41 42] 43 44 45 46 47 48 49 50] "\ The structure of the parashiot. Hebrew year starts on Saturday, is `incomplete' (Heshvan and Kislev each have 29 days), and has Passover start on Sunday.") (defconst hebrew-calendar-year-Saturday-complete-Tuesday [nil 52 nil nil 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 [21 22] 23 24 nil 25 [26 27] [28 29] 30 [31 32] 33 34 35 36 37 38 39 40 [41 42] 43 44 45 46 47 48 49 [50 51]] "\ The structure of the parashiot. Hebrew year that starts on Saturday, is `complete' (Heshvan and Kislev each have 30 days), and has Passover start on Tuesday.") (defconst hebrew-calendar-year-Monday-incomplete-Tuesday [51 52 nil 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 [21 22] 23 24 nil 25 [26 27] [28 29] 30 [31 32] 33 34 35 36 37 38 39 40 [41 42] 43 44 45 46 47 48 49 [50 51]] "\ The structure of the parashiot. Hebrew year that starts on Monday, is `incomplete' (Heshvan and Kislev each have 29 days), and has Passover start on Tuesday.") (defconst hebrew-calendar-year-Monday-complete-Thursday [51 52 nil 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 [21 22] 23 24 nil 25 [26 27] [28 29] 30 [31 32] 33 (nil . 34) (34 . 35) (35 . 36) (36 . 37) (37 . 38) ([38 39] . 39) 40 [41 42] 43 44 45 46 47 48 49 [50 51]] "\ The structure of the parashiot. Hebrew year that starts on Monday, is `complete' (Heshvan and Kislev each have 30 days), and has Passover start on Thursday.") (defconst hebrew-calendar-year-Tuesday-regular-Thursday [51 52 nil 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 [21 22] 23 24 nil 25 [26 27] [28 29] 30 [31 32] 33 (nil . 34) (34 . 35) (35 . 36) (36 . 37) (37 . 38) ([38 39] . 39) 40 [41 42] 43 44 45 46 47 48 49 [50 51]] "\ The structure of the parashiot. Hebrew year that starts on Tuesday, is `regular' (Heshvan has 29 days and Kislev has 30 days), and has Passover start on Thursday.") (defconst hebrew-calendar-year-Thursday-regular-Saturday [52 nil nil 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 [21 22] 23 24 nil (nil . 25) (25 . [26 27]) ([26 27] . [28 29]) ([28 29] . 30) (30 . 31) ([31 32] . 32) 33 34 35 36 37 38 39 40 [41 42] 43 44 45 46 47 48 49 50] "\ The structure of the parashiot. Hebrew year that starts on Thursday, is `regular' (Heshvan has 29 days and Kislev has 30 days), and has Passover start on Saturday.") (defconst hebrew-calendar-year-Thursday-complete-Sunday [52 nil nil 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 nil 25 [26 27] [28 29] 30 [31 32] 33 34 35 36 37 38 39 40 [41 42] 43 44 45 46 47 48 49 50] "\ The structure of the parashiot. Hebrew year that starts on Thursday, is `complete' (Heshvan and Kislev each have 30 days), and has Passover start on Sunday.") (defconst hebrew-calendar-year-Saturday-incomplete-Tuesday [nil 52 nil nil 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 nil 28 29 30 31 32 33 34 35 36 37 38 39 40 [41 42] 43 44 45 46 47 48 49 [50 51]] "\ The structure of the parashiot. Hebrew year that starts on Saturday, is `incomplete' (Heshvan and Kislev each have 29 days), and has Passover start on Tuesday.") (defconst hebrew-calendar-year-Saturday-complete-Thursday [nil 52 nil nil 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 nil 28 29 30 31 32 33 (nil . 34) (34 . 35) (35 . 36) (36 . 37) (37 . 38) ([38 39] . 39) 40 [41 42] 43 44 45 46 47 48 49 [50 51]] "\ The structure of the parashiot. Hebrew year that starts on Saturday, is `complete' (Heshvan and Kislev each have 30 days), and has Passover start on Thursday.") (defconst hebrew-calendar-year-Monday-incomplete-Thursday [51 52 nil 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 nil 28 29 30 31 32 33 (nil . 34) (34 . 35) (35 . 36) (36 . 37) (37 . 38) ([38 39] . 39) 40 [41 42] 43 44 45 46 47 48 49 [50 51]] "\ The structure of the parashiot. Hebrew year that starts on Monday, is `incomplete' (Heshvan and Kislev each have 29 days), and has Passover start on Thursday.") (defconst hebrew-calendar-year-Monday-complete-Saturday [51 52 nil 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 nil (nil . 28) (28 . 29) (29 . 30) (30 . 31) (31 . 32) (32 . 33) (33 . 34) (34 . 35) (35 . 36) (36 . 37) (37 . 38) (38 . 39) (39 . 40) (40 . 41) ([41 42] . 42) 43 44 45 46 47 48 49 50] "\ The structure of the parashiot. Hebrew year that starts on Monday, is `complete' (Heshvan and Kislev each have 30 days), and has Passover start on Saturday.") (defconst hebrew-calendar-year-Tuesday-regular-Saturday [51 52 nil 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 nil (nil . 28) (28 . 29) (29 . 30) (30 . 31) (31 . 32) (32 . 33) (33 . 34) (34 . 35) (35 . 36) (36 . 37) (37 . 38) (38 . 39) (39 . 40) (40 . 41) ([41 42] . 42) 43 44 45 46 47 48 49 50] "\ The structure of the parashiot. Hebrew year that starts on Tuesday, is `regular' (Heshvan has 29 days and Kislev has 30 days), and has Passover start on Saturday.") (defconst hebrew-calendar-year-Thursday-incomplete-Sunday [52 nil nil 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 nil 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50] "\ The structure of the parashiot. Hebrew year that starts on Thursday, is `incomplete' (Heshvan and Kislev both have 29 days), and has Passover start on Sunday.") (defconst hebrew-calendar-year-Thursday-complete-Tuesday [52 nil nil 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 nil 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 [50 51]] "\ The structure of the parashiot. Hebrew year that starts on Thursday, is `complete' (Heshvan and Kislev both have 30 days), and has Passover start on Tuesday.") (fset 'hebrew-calendar-parasha-name #[(p) " ! HH HH# H" [arrayp p format "%s/%s" hebrew-calendar-parashiot-names 0 1] 6 "\ Name(s) corresponding to parasha P."]) (fset 'list-islamic-diary-entries #[nil " W$ ! \n  T Y  AA@S@A@AA@S_\\V_\\إZ֦U٦UڦUT,_֥٥[ڥ\\\\\\\\)!@A@AA@  @@ݚ @A @ @@ݚ!!OR#$%!P(!P!P!+٦!PQ/!#57eb5##h\"h\"!@!U`ABC!`AD$!D#q@!EA`%FB`{\"*.\n A -GAA@S@A@AA@S_\\V_\\إZ֦U٦UڦUT,_֥٥[ڥ\\\\\\\\)T!)H !,eb" [0 number nil buffer-modified-p original-date regexp-quote diary-nonmarking-symbol mark gdate diary-modified buffer-read-only i diary-date-forms d calendar-islamic-from-absolute prior-years month day year 31 day-of-year 2 4 23 10 100 400 365 idate backup date-form calendar-day-name "\\|" 3 ".?" dayname calendar-islamic-month-name-array calendar-month-name-array "\\*\\|" calendar-month-name monthname "\\*\\|0*" int-to-string abbreviated-calendar-year "" "\\(\\`\\| \\|\n\\)" "?" islamic-diary-entry-symbol "\\(" mapconcat eval "\\)\\(" "\\)" regexp t case-fold-search re-search-forward re-search-backward "\\<" char-equal 13 looking-at " \\| " backward-char 1 date-start entry-start " \\|\n\\|\\`" " \\|\n" subst-char-in-region add-to-diary-list calendar-gregorian-from-absolute set-buffer-modified-p] 10 "\ Add any Islamic date entries from the diary file to `diary-entries-list'. Islamic date diary entries must be prefaced by an `islamic-diary-entry-symbol' (normally an `I'). The same diary date forms govern the style of the Islamic calendar entries, except that the Islamic month names must be spelled in full. The Islamic months are numbered from 1 to 12 with Muharram being 1 and 12 being Dhu al-Hijjah. If an Islamic date diary entry begins with a `diary-nonmarking-symbol', the entry will appear in the diary listing, but will not be marked in the calendar. This function is provided for use with the `nongregorian-diary-listing-hook'."]) (fset 'mark-islamic-diary-entries #[nil " @@š @A @ !\"P\n   G >GZU?\\ >GZU?\\ >GZU?\\ >GZU?\\ >GZU?\\! #ݰeb#{\"{#{!&{!'{((GU* AA@S- @ A@ AA@  S_\\/ V/ _\\Z/UUU/T//,-_--[-\\\\\\\\)!AA@6(!6_\\76ZV7Z67ZV7\\7*(!9\"\"O! #\"A!##@&#!!\"A&A&'9#.. A)" [diary-date-forms d backup date-form diary-name-pattern calendar-day-name-array dayname calendar-islamic-month-name-array t "\\|\\*" monthname "[0-9]+\\|\\*" month day year l d-name-pos 2 m-name-pos d-pos m-pos y-pos "\\(\\`\\| \\|\n\\)" regexp-quote islamic-diary-entry-symbol "\\(" mapconcat eval "\\)\\(" "\\)" regexp case-fold-search re-search-forward nil dd-name mm-name string-to-int "" mm dd y-str 0 abbreviated-calendar-year calendar-islamic-from-absolute calendar-current-date prior-years 31 day-of-year 4 23 10 100 400 365 current-y y 50 yy mark-calendar-days-named assoc capitalize 3 calendar-make-alist (lambda (x) (substring x 0 3)) "*" mark-islamic-calendar-date-pattern] 8 "\ Mark days in the calendar window that have Islamic date diary entries. Each entry in diary-file (or included files) visible in the calendar window is marked. Islamic date entries are prefaced by a islamic-diary-entry-symbol (normally an `I'). The same diary-date-forms govern the style of the Islamic calendar entries, except that the Islamic month names must be spelled in full. The Islamic months are numbered from 1 to 12 with Muharram being 1 and 12 being Dhu al-Hijjah. Islamic date diary entries that begin with a diary-nonmarking-symbol will not be marked in the calendar. This function is provided for use as part of the nongregorian-diary-marking-hook."]) (fset 'mark-islamic-calendar-date-pattern #[(month day year) "q U U U E!!!!)  EAA@S  E@  EA@  EAA@ S_\\ V _\\ԥZ ҦU զU ֦UT,_ҥե[֥\\\\\\\\)!@AA@W?_ Z\\\\\\ݦTݥ)V E!!!!),  ۉ!\"_\\\\ݦTݥ)EAA@SE@EA@EAA@ S_\\ V _\\ԥZ ҦU զU ֦UT,_ҥե[֥\\\\\\\\)\"_\\\\ݦTݥ)UҦUզU֦U䪅SHEAA@SUҦUզU֦U䪅SHE@UҦUզU֦U䪅SHEA@UҦUզU֦U䪅SHEAA@ S_\\ V _\\ԥZ ҦU զU ֦UT,_ҥե[֥\\\\\\\\)!\"S!TY!&@'&A@(&AA@) U 'U U (U U )U!!,3-)" [calendar-buffer month 0 day year calendar-gregorian-from-absolute calendar-absolute-from-islamic date calendar-date-is-visible-p mark-visible-calendar-date calendar-islamic-from-absolute displayed-month 15 displayed-year prior-years 31 day-of-year 2 4 23 10 100 400 365 islamic-date m y nil 1 12 -1 macro-y 7 last-date first-date -2 29 [31 28 31 30 31 30 31 31 30 31 30 31] i-date i-month i-day i-year] 8 "\ Mark dates in calendar window that conform to Islamic date MONTH/DAY/YEAR. A value of 0 in any position is a wildcard."]) (provide 'diary)