;ELC ;;; compiled by reingold@albert.gnu.ai.mit.edu on Fri Jun 2 10:39:41 1995 ;;; from file /gd/gnu/emacs/19.0/lisp/diary-lib.el ;;; emacs version 19.28.92.3. ;;; bytecomp version FSF 2.10 ;;; 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.28.90"))) (error "`diary-lib.el' was compiled for Emacs 19.29 or later")) (require (quote calendar)) #@252 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. (defalias 'diary #[(&optional arg) " ! A\f!A\f!; %!7 !5 !H7 \"D!D!*" [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 (#$ . 515) "P"]) #@217 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. (defalias '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 t arg error "Diary file is not readable!" "You don't have a diary file!"] 4 (#$ . 1173) "p"]) #@251 Prepare and display buffer of diary entries from an alternative diary file. Prompts for a file name and searches that file for entries that match ARG days starting with the date indicated by the cursor position in the displayed three-month calendar. (defalias 'view-other-diary-entries #[(arg diary-file) " !" [view-diary-entries arg] 2 (#$ . 1691) (list (cond ((null current-prefix-arg) 1) ((listp current-prefix-arg) (car current-prefix-arg)) (t current-prefix-arg)) (setq diary-file (read-file-name "Enter diary file name: " default-directory nil t)))]) #@186 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'. (autoload (quote check-calendar-holidays) "holidays" '(#$ . 2257) t) #@127 Form the list of holidays that occur on dates in the calendar window. The holidays are those in the list `calendar-holidays'. (autoload (quote calendar-holiday-list) "holidays" '(#$ . 2518) t) #@49 French calendar equivalent of date diary entry. (autoload (quote diary-french-date) "cal-french" '(#$ . 2717) t) #@48 Mayan calendar equivalent of date diary entry. (autoload (quote diary-mayan-date) "cal-mayan" '(#$ . 2836) t) #@26 Moon phases diary entry. (autoload (quote diary-phases-of-moon) "lunar" '(#$ . 2952) t) #@52 Local time of sunrise and sunset as a diary entry. (autoload (quote diary-sunrise-sunset) "solar" '(#$ . 3046) t) #@124 Local time of candle lighting diary entry--applies if date is a Friday. No diary entry if there is no sunset on that date. (autoload (quote diary-sabbath-candles) "solar" '(#$ . 3167) t) #@180 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. (defvar diary-syntax-table (byte-code " !" [copy-syntax-table standard-syntax-table] 2) (#$ . 3361)) (modify-syntax-entry 42 "w" diary-syntax-table) #@1548 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. (defalias 'list-diary-entries #[(date number) " W\n\n!\n! ! !,1 \"q) !׎ !dSb!bu!eb!o!ed%& &T&Yy'\n@)\nA@)\nAA@)\n!)*+,--@@-@A-@/-@@.\n!\n!OR4,!,!O7,!P,+!P+*!:\f*!P Q*@/A#BCDebEC#.EFG#Hh\"WHh\"hށI!hJ!+)`KLFM!`KEсN$ށI!E#J!K`%O\nL`{\"*+. -A-)PQ\nDC\"R\nAA@)SS\n@),\nA@)+\nAA@)*+,ST_\\U,NVPU,V_W\\ZU**VUG*U?G*XU)PUTUU-SY_SVS[SX\\\\\\\\*T!)-z)Z!,eb[\\]\"^[^!_ [`!." [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 insert-string " " 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] 9 (#$ . 3700)]) #@496 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'. (defalias 'include-other-diary-files #[nil "eb !Q#fȔȕ{! \f !U!EҎ\"\")b \"!b \"!-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 (#$ . 7251)]) #@73 Display the diary buffer if there are any relevant entries or holidays. (defalias 'simple-diary-display #[nil "\n! ǂP ##\f 3 Ar @A@Șr\fG XC\f!!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 frame-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 (#$ . 8433)]) #@148 Prepare a diary buffer with relevant entries in a fancy, noneditable form. This function is provided for optional use as the `diary-display-hook'. (defalias 'fancy-diary-display #[nil "\n!!q ed%\n!\f!*4A@A@Ϙ=!LׂMP##G Xf!!q ! #ceb! !\"* q 艉E)*+,),@@\",@@)7++*\"*EC)C\"7)!+7)!*7*_+\\\\\\4T+4*)7+*56 *7*_+\\4T+4*))!9:f):@@\"]9:@A\"9:A:H9*<`eUuςv<ci><>@\"P#c)i>>A\"DZ+,@A@GW,@A@DZ,A,-!eb B!݁C!)" [get-file-buffer substitute-in-file-name diary-file buffer-modified-p diary-modified subst-char-in-region 13 10 t nil selective-display kill-local-variable mode-line-format set-buffer-modified-p 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 frame-width message get-buffer-create holiday-buffer buffer-read-only calendar-set-mode-line erase-buffer "\n" display-buffer "No diary entries for %s" make-fancy-diary-buffer 1 0 date holiday-list-last-year holiday-list-last-month entry-list calendar-date-equal calendar-date-compare calendar-last-day-of-month extract-calendar-month extract-calendar-year 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 fancy-diary-buffer "Preparing diary...done"] 8 (#$ . 9147)]) #@51 Create and return the initial fancy diary buffer. (defalias 'make-fancy-diary-buffer #[nil " !q!! ! !)" [get-buffer-create fancy-diary-buffer nil buffer-read-only make-local-variable mode-line-format calendar-set-mode-line "Diary Entries" erase-buffer set-buffer-modified-p t get-buffer] 2 (#$ . 10764)]) #@402 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. (defalias 'print-diary-entries #[nil "\n!!\n!q!)!!{!\f q;6ςC\"ҔҕO\f ed# q#_!Peb\f\fG\"ٱ! !+~!)" [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 (#$ . 11096) nil]) #@211 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. (defalias 'show-all-diary-entries #[nil " !U\n!U\n!O\n!#'\n\"q  \fed%!p! !,X!X!)" [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 (#$ . 12117) nil]) #@294 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. (defalias 'diary-name-pattern #[(string-array &optional fullname) "\fGS TY5 \f H'0\f HOQR) )" ["" pattern -1 i string-array "\\|" fullname 0 3 ".?"] 7 (#$ . 12888)]) #@243 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. (defalias 'mark-diary-entries #[nil " !6\f!6\f!,!\f\"q\n\f \f!  @@њF @AI @!!PG>GZU?}\\>GZ  U? \\ >GZ!!U?!\\!>GZ\"\"U?\"\\\">GZ##U?#\\##Q)*eb)# {,   {-\")\"\"{*!0!=!!{>!1#M##{2W2GU4 6AA@)72!7_\\97ZV9Z79ZV9\\9*2!;,,O!@A#\"A!--B0-O!@CD#\"A0E01;#. A .1F GHI\"\f!ǁJ!+=KL!=KM!)" [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 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 (#$ . 13389) nil]) #@222 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'. (defalias 'mark-sexp-diary-entries #[nil " !\nQ \n q\f )_\\\\ΦTΥ)EAA@)S@)A@)AA@)S_\\V_\\ܥZڦUަU?ߦU)T-_ڥޥ[ߥ\\\\\\\\* _\\\\ΦTΥ)UڦUަU?ߦU)SH*EAA@)S@)A@)AA@)S_\\V_\\ܥZڦUަU?ߦU)T-_ڥޥ[ߥ\\\\\\\\*\neb #_!`Ɖ&'()* *`{)!`&)uh\"h\"!!(2`'#!#!'`{((\"2(ݔI  S\nTYZ)(!#7!!7.." [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 date 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 "[ ]" diary-sexp-entry calendar-gregorian-from-absolute mark-visible-calendar-date] 8 (#$ . 15311)]) #@503 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'. (defalias 'mark-included-diary-files #[nil "eb !Q#XȔȕ{!\n  !G !7  !!T  \"!T  \"!*eb" [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 (#$ . 16787)]) #@126 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. (defalias 'mark-calendar-days-named #[(dayname) "q \n \nÉ _\\ ʦT ʥ)_ \\\\ ʦT  ʥ) $AA@)S@)A@)AA@)\fS_\\V_\\٥ZצUۦU?ܦU)T-_ץۥ[ܥ\\\\\\\\*$AA@)S@)A@)AA@)\fS_\\VL_\\٥ZצUCۦU?CܦU)LT-_ץۥ[ܥ\\\\\\\\*\f Xz\f!!\f\\g." [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 date 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] 8 (#$ . 17813)]) #@115 Mark all dates in the calendar window that conform to MONTH/DAY/YEAR. A value of 0 in any position is a wildcard. (defalias 'mark-calendar-date-pattern #[(month day year) "q \n _\f\\\\ŦTť)  T YJ\f \f % _\f\\ŦTť)," [calendar-buffer displayed-month displayed-year y m 12 -2 macro-y -1 i 2 mark-calendar-month month day year] 7 (#$ . 18704)]) #@135 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. (defalias 'mark-calendar-month #[(month year p-month p-day p-year) " U\nU$\f\nU$ Uy\nU$\f\nUy Us\fUW\fȦUO\fɦU?O\fʦU)W˂[SH*TYq\fE!-) \fE!" [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] 5 (#$ . 19095)]) #@48 Sort the list of diary entries by time of day. (defalias 'sort-diary-entries #[nil " \"" [sort diary-entries-list diary-entry-compare] 3 (#$ . 19574)]) #@37 Returns t if E1 is earlier than E2. (defalias 'diary-entry-compare #[(e1 e2) " \n\" @\n@\" A@!\nA@!W" [calendar-date-compare e1 e2 calendar-date-equal diary-entry-time] 3 (#$ . 19737)]) #@249 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. (defalias 'diary-entry-time #[(s) "\n\"\nĔĕO!_\nƔƕO!\\\n\"@\nĔĕO!Ȧ_\nƔƕOɘ=ʂ>\\\n\"n\nĔĕO!Ȧ_\nƔƕO!\n͔͕Oɘjʂk\\\\·" [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 (#$ . 19941)]) #@703 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'. (defalias 'list-hebrew-diary-entries #[nil " W \f! \n  T Yv\f AA@)S@)A@)AA@)S_\\V_\\٥ZצUڦU?ۦU)T-_ץڥ[ۥ\\\\\\\\*!@)A@)AA@)  @@ޚ @A @ @@ޚ!!OR$%&!P)!P!P!,8ڦ!P9Q0!#68eb6#j#h\"xh\"!@A!V`BCD!`BE$!E#@A!FB`%GC`{\"*V.\n A -HAA@)S@)A@)AA@)S_\\VV_\\٥ZצUMڦU?MۦU)VT-_ץڥ[ۥ\\\\\\\\*T!)I !,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 date 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 (#$ . 20598)]) #@732 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. (defalias 'mark-hebrew-diary-entries #[nil "W @@š @A @ !\"P\n\f  G >GZU?G\\ >GZU?_\\ >GZU?w\\ >GZU?\\ >GZU?\\! #ݰeb#M{\"{#{!&{ !'{(\"(GU* --AA@)S.---@)\f--A@) --AA@) \fS_\\0\fV0\f_\\Z0UU?U)0T00-._..[.\\\\\\\\*!-AA@)7(!7_\\87ZV8Z78ZV8\\8*(!:\"\"O! @#\"A!H#=#A0&=#!!\"A&B&':#.. 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 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] 9 (#$ . 22849)]) #@119 Mark dates in calendar window that conform to Hebrew date MONTH/DAY/YEAR. A value of 0 in any position is a wildcard. (defalias 'mark-hebrew-calendar-date-pattern #[(month day year) "q UI UI\fU/ \fE!!!+!)+\n W= Z@ \\ WL ZO \\ W[ Z^ \\ Wj Zm \\ Wy Z| \\>+\n\n_\\\\ۦTۥ)_\\ۦTۥ)EAA@)S@)A@)AA@) S_\\ V. _\\ͥZ \fҦU%\fU?%\fU). T  -_ҥ[\\\\\\\\*%Uv\fҦUn\fU?n\fU)vz SH*EAA@)S@)A@)AA@) S_\\ V _\\ͥZ \fҦU\fU?\fU) T  -_ҥ[\\\\\\\\*(%!*(!+*AA@),+AA@)- W,-., \fE!!!D!.\f+\n։/0121_2\\\\ۦT2ۥ1)21EAA@)S@)A@)AA@) S_\\ V _\\ͥZ \fҦU\fU?\fU) T  -_ҥ[\\\\\\\\*01_2\\\\ۦT2ۥ1)21U;\fҦU3\fU?3\fU);? SH*1EAA@)S@)A@)AA@) S_\\ V _\\ͥZ \fҦU\fU?\fU) T  -_ҥ[\\\\\\\\*/0S/TY*!3@)43A@)53AA@)6 U 4U& U 5U&\fU\f6U&!!,-)" [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 (#$ . 24974)]) #@6723 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. (defalias 'list-sexp-diary-entries #[(date) " ! !\n\fǰ\neb#!`ɉ `{!`)uh\"Vh\"f!f!`#!~#o!`{\"I\"##`%\"#\"\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 (#$ . 26789)]) #@38 Process a SEXP diary ENTRY for DATE. (defalias '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#\fT\f+ \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 (#$ . 34196)]) #@211 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. (defalias 'diary-block #[(m1 d1 y1 m2 d2 y2) " \n E\n EAA@)S\f@)\fA@)\fAA@)S_\\\nVv\n_\\ΥZ\n̦UmЦU?mѦU)v\nT\n\n- _ ̥ Х[ ѥ\\\\\\\\*EEAA@)S\f@)\fA@)\fAA@)S_\\\nV\n_\\ΥZ\n̦UЦU?ѦU)\nT\n\n- _ ̥ Х[ ѥ\\\\\\\\*\fAA@)S\f@)\fA@)\fAA@)S_\\\nV\n_\\ΥZ\n̦U{ЦU?{ѦU)\nT\n\n- _ ̥ Х[ ѥ\\\\\\\\*XX+" [european-calendar-style d1 m1 y1 date prior-years month day year 31 day-of-year 2 4 23 10 0 100 400 365 d2 m2 y2 d date2 date1 entry] 10 (#$ . 34681)]) #@266 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. (defalias 'diary-float #[(month dayname n) "@)AA@) <\n >%\n % =5\n $\"5 *" [date y m month t calendar-date-equal calendar-nth-named-day n dayname entry] 8 (#$ . 35581)]) #@490 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. (defalias 'diary-anniversary #[(month day year) " \n\n  AA@)Z\fUS US˦UKͦU?KΦU)SVo\f E \"o!#," [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 (#$ . 36053)]) #@372 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. (defalias 'diary-cyclic #[(n month day year) " \n\n  AA@)S @) A@) AA@)\n S_\\ Vw _\\ͥZ ˦UnϦU?nЦU)w T  -_˥ϥ[Х\\\\\\\\*\f EAA@)S @) A@) AA@)\n S_\\ V _\\ͥZ ˦UϦU?ЦU) T  -_˥ϥ[Х\\\\\\\\*ZY4U4!#," [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] 9 (#$ . 36867)]) #@77 Ordinal suffix for N. (That is, `st', `nd', `rd', or `th', as appropriate.) (defalias 'diary-ordinal-suffix #[(n) ">ĦWŇĦH" [n 100 (11 12 13) 3 10 "th" ["th" "st" "nd" "rd"]] 3 (#$ . 37784)]) #@75 Day of year and number of days remaining in the year of date diary entry. (defalias 'diary-day-of-year #[nil " !" [calendar-day-of-year-string date] 2 (#$ . 37999)]) #@46 ISO calendar equivalent of date diary entry. (defalias 'diary-iso-date #[nil " !\"" [format "ISO date: %s" calendar-iso-date-string date] 4 (#$ . 38173)]) #@50 Islamic calendar equivalent of date diary entry. (defalias 'diary-islamic-date #[nil "!!Ęł \")" [calendar-islamic-date-string calendar-cursor-to-date t i "" "Date is pre-Islamic" format "Islamic date (until sunset): %s"] 4 (#$ . 38338)]) #@49 Hebrew calendar equivalent of date diary entry. (defalias 'diary-hebrew-date #[nil " !\"" [format "Hebrew date (until sunset): %s" calendar-hebrew-date-string date] 4 (#$ . 38597)]) #@49 Julian calendar equivalent of date diary entry. (defalias 'diary-julian-date #[nil " !\"" [format "Julian date: %s" calendar-julian-date-string date] 4 (#$ . 38789)]) #@47 Astronomical (Julian) day number diary entry. (defalias 'diary-astro-day-number #[nil " !\"" [format "Astronomical (Julian) day number %s" calendar-astro-date-string date] 4 (#$ . 38966)]) #@81 Omer count diary entry. Entry applies if date is within 50 days after Passover. (defalias 'diary-omer #[nil " AA@)\\E! AA@)S @) A@) AA@) S_\\ Vx _\\ϥZ   ͦUo ѦU?o ҦU)x 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 (#$ . 39165)]) #@455 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. (defalias 'diary-yahrzeit #[(death-month death-day death-year) " \f\n \fE \n\fEAA@)S @) A@) AA@) S_\\ Vx _\\ϥZ   ͦUo ѦU?o ҦU)x T  -_ͥѥ[ҥ\\\\\\\\*!@)A@)AA@) AA@)S @) A@) AA@) S_\\ V _\\ϥZ   ͦU ѦU? ҦU) T  -_ͥѥ[ҥ\\\\\\\\*!AA@)Z\"VUdTUUtuϦUゞϦU䂞ϦU悞%." [calendar-hebrew-from-absolute european-calendar-style death-day death-month death-year date 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 d yr diff hebrew-calendar-yahrzeit y format "Yahrzeit of %s%s: %d%s anniversary" entry "" " (evening)" 1 "st" "nd" 3 "rd" "th"] 9 (#$ . 39773)]) #@104 Rosh Hodesh diary entry. Entry applies if date is Rosh Hodesh, the day before, or the Saturday before. (defalias 'diary-rosh-hodesh #[nil "AA@)S@)A@)AA@) \nS_\\\nV]\n_\\ʥZ\fȦUT\f̦U?T\fͦU)]T- _ ȥ ̥[ ͥ\\\\\\\\*!@)A@)AA@)!\"SHS!A@)UUUUH\"U\"\"UzV?U?U?!U1˂3H*ZH#WVUHUfm*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 (#$ . 41068)]) #@59 Parasha diary entry--entry applies if date is a Saturday. (defalias 'diary-parasha #[nil "AA@)S@)A@)AA@) \nS_\\\nV]\n_\\ʥZ\fȦUT\f̦U?T\fͦU)]T- _ ȥ ̥[ ͥ\\\\\\\\*ЦU2!AA@)E!E!ЦHЦH!!##$!J'\\\"))ZХ*'*H+0+<++@ +@!+A!#/+A!\"/+!\".\f)" [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 (#$ . 42238)]) #@91 Add the entry (DATE STRING) to `diary-entries-list'. Do nothing if DATE or STRING is nil. (defalias 'add-to-diary-list #[(date string) "   DC\"" [date string append diary-entries-list] 4 (#$ . 43231)]) #@42 The names of the parashiot in the Torah. (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"] (#$ . 43451)) #@155 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-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] (#$ . 44094)) #@159 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-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]] (#$ . 44501)) #@159 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-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]] (#$ . 44916)) #@158 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-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]] (#$ . 45326)) #@164 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-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]] (#$ . 45782)) #@165 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-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] (#$ . 46244)) #@158 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-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] (#$ . 46712)) #@161 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-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]] (#$ . 47114)) #@160 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-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]] (#$ . 47525)) #@160 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-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]] (#$ . 47982)) #@158 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-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] (#$ . 48434)) #@164 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-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] (#$ . 48938)) #@160 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-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] (#$ . 49448)) #@159 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. (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]] (#$ . 49846)) #@37 Name(s) corresponding to parasha P. (defalias 'hebrew-calendar-parasha-name #[(p) " !\f HH\f HH#\f H" [arrayp p format "%s/%s" hebrew-calendar-parashiot-names 0 1] 6 (#$ . 50246)]) #@642 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'. (defalias 'list-islamic-diary-entries #[nil " W \f! \n  T Yv\f AA@)S@)A@)AA@)S_\\V_\\٥ZצUڦU?ۦU)T-_ץڥ[ۥ\\\\\\\\*!@)A@)AA@)  @@ޚ @A @ @@ޚ!!OR$%&!P)!P!P!,8ڦ!P9Q0!#68eb6#j#h\"xh\"!@A!V`BCD!`BE$!E#@A!FB`%GC`{\"*V.\n A -HAA@)S@)A@)AA@)S_\\VV_\\٥ZצUMڦU?MۦU)VT-_ץڥ[ۥ\\\\\\\\*T!)I !,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 date 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 (#$ . 50444)]) #@667 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. (defalias 'mark-islamic-diary-entries #[nil "W @@š @A @ !\"P\n\f  G >GZU?G\\ >GZU?_\\ >GZU?w\\ >GZU?\\ >GZU?\\! #ݰeb#M{\"{#{!&{ !'{(\"(GU* --AA@)S.---@)\f--A@) --AA@) \fS_\\0\fV0\f_\\Z0UU?U)0T00-._..[.\\\\\\\\*!-AA@)7(!7_\\87ZV8Z78ZV8\\8*(!:\"\"O! @#\"A!H#=#A0&=#!!\"A&B&':#.. 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 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] 9 (#$ . 52628)]) #@120 Mark dates in calendar window that conform to Islamic date MONTH/DAY/YEAR. A value of 0 in any position is a wildcard. (defalias 'mark-islamic-calendar-date-pattern #[(month day year) "q U U\fU/ \fE!!!+!)  EAA@)S@)A@)AA@) S_\\ V _\\ԥZ\fҦU\fզU?\f֦U)T-_ҥե[֥\\\\\\\\*!@)AA@)W?_ Z\\\\\\ݦTݥ)V E!!!!),  ۉ!\"_\\\\ݦTݥ)EAA@)S@)A@)AA@) S_\\ V _\\ԥZ\fҦU\fզU?\f֦U)T-_ҥե[֥\\\\\\\\*\"_\\\\ݦTݥ)U\fҦU\fզU?\f֦U)\n SH*EAA@)S@)A@)AA@) S_\\ Vt _\\ԥZ\fҦUk\fզU?k\f֦U)tT-_ҥե[֥\\\\\\\\*!\"S!TY!&@)'&A@)(&AA@)) U 'U U (U\fU\f)U!!,-)" [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] 9 (#$ . 54683)]) (provide (quote diary-lib))