;;; compiled by eric@geech.gnu.ai.mit.edu on Fri Mar 19 00:10:02 1993
;;; from file /gd/gnu/emacs/19.0/lisp/diary.el
;;; emacs version 19.0.506.
;;; bytecomp version FSF 2.08
;;; optimization is on.

(require (quote calendar))
(fset 'diary #[(&optional arg) "	! A !A !; % !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 "\
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 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 (quote 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 (quote 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 (quote diary-french-date) "cal-french" "\
French calendar equivalent of date diary entry." t)
(autoload (quote diary-mayan-date) "cal-mayan" "\
Mayan calendar equivalent of date diary entry." t)
(autoload (quote diary-phases-of-moon) "lunar" "\
Moon phases diary entry." t)
(autoload (quote diary-sunrise-sunset) "solar" "\
Local time of sunrise and sunset as a diary entry." t)
(autoload (quote 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 (standard-syntax-table) "\
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) "	W\n\n!\n!!!, 1 \"q) !׎ !dSb!c !!eb!p !ed%'	'T'Y(\n@\nA@\nAA@\n!*+,-..@@\" .@A .@1.@@\"0\n!\n!OR6-!-!O%:-!P-,!P,+!=+\"!P\n@ Q+A B C D 1E #F %GHebI G#0HJ K #L h\"ZL h\"kށM !kN !.*`OPJ Q !`OI сR $ށM !I #N !O`%S \nT P`\"\"*..	.A. *UV \n@ DC\"W \n@\nA@\nAA@+,-\n@-\nA@,\nAA@+,X -SY \"\\Z-R VWZ[ X -\\ \"] \\\"ZZ+\\ \"UF+\"UR+^ \"UWZTZZ,X +S_ \"[ +S\\ \"[ +S\"[[ +S^ \"\\\\\\\\+T!*-{ )` !,eba b c d #." [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" forward-char 1 insert-string "" subst-char-in-region 10 13 i diary-date-forms list-sexp-diary-entries entry-found year day month d equal backup date-form calendar-day-name "\\|" 3 ".?" dayname concat "\\*\\|" 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 buffer-substring diary-list-include-blanks append calendar-gregorian-from-absolute * 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] 9 "\
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', and `diary-display-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.

    `diary-display-hook' does the actual display of information.  Could be
        used also for an appointment notification function."])
(fset 'include-other-diary-files #[nil "eb!Q#f !!\"!!U !E ӎ\"\")b  \"!b  \"!, eb" [re-search-forward "\\(\\`\\|\\|\n\\)" regexp-quote diary-include-string " \"\\([^\"]*\\)\"" nil t substitute-in-file-name buffer-substring match-beginning 2 match-end include-other-diary-files 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 just before fancy-diary-display as the
list-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
the 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##4 As @A@\"s G XD ! !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 string-equal 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 "\
Display the diary buffer if there are any relevant entries or holidays."])
(fset 'fancy-diary-display #[nil " Ar @A@\"r  !	) ʂ* P##G XC !p !q	! #ceb!!	\"*!!q  ed%$! !*'!q!! 뉉E,-./,/@@\"/@@,s.-\"U -\"U -\"U .U .SH-EC,C\"s,@.s,AA@-s-\".\\\\\\<<\"T.<\"-)s.->?@  *s-\".\\<<\"T.<\"-)A ,!	BC,C@@\"D BC@A\"BCACB*E`eUc	cEF ciGEׁH GI \"P#c)iGJ H GK \"#+/@A@GW/@A@cc/A/ -!eb'!ЁL !)" [diary-entries-list string-equal "" 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 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 % 4 100 400 2 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 insert 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 `list-diary-entries-hook'."])
(fset 'print-diary-entries #[nil "\n!! \n!q!)!!} !q;6 ςE \"!!Oed#q#a !R eb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 "^-*\\([^-].*[^-]\\)-*$" match-beginning 1 match-end copy-to-buffer re-search-forward ".*$" t replace-match "" insert "\n" make-string 61 kill-buffer error "You don't have a diary buffer!"] 7 "\
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 "	!U \n!U \n!O \n!# ' \n\"q ed%!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 "\
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TY6 		\"  H( 1 HOQR )	)" ["" pattern -1 i string-array string-equal "\\|" 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 "!U!U!K!\"q\n !-@@\"G @AJ @!!PG>GZU?~ \\>GZ!!U? !\\!>GZ\"\"U? \"\\\">GZ##U? #\\#>GZ$$U? $\\$#Q*+eb*##!!\"0!!!!!\"1#3#!#!\"4!4\"J\"!\"!\"K!5$]$!$!\"6g6GU8 AA@:6!:\"\"\\>:ZV>Z:>ZV>\\>*6!@0A B C 0D O!E F #\"A!1G 1H \"4B C 1D O!E I J #\"A4K 45@#. A.1 L  M N O \"!ǁP !+\\Q R !\\Q S !)" [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 equal 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 buffer-substring match-beginning match-end 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)) string-equal "*" 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 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\")E@EA@EAA@E@EA@EAA@S\"\\V \"\\\"Z\"U \"U \"U T,S\"S\"S\"[S\"\\\\\\\\+	\"\\\\\"T\")\"U\"U\"U)U).SHE@\"UH\"UR\"U]U]bSHEA@\"U}\"U\"UUₗSHEAA@\"U\"U\"UUSHE@\"U\"U\"UU	SHEA@\"U&\"U0\"U;U;@SHEAA@S\"\\V\"\\\"Z\"U}\"U\"UT,S\"S\"S\"[S\"\\\\\\\\+\neb#e!`Ɖ'()*+ +`\"*!`')!h\"h\"!!)8`(#!#!(`\"))\"8)!I%	S:\n:T:Y`*):!#=:!!=.." [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 year day month 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 buffer-substring re-search-backward "\\|\n\\|\\`" forward-char char-equal 13 looking-at " \\|	" "" "\\|\n" string-match "[]" match-beginning 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 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#[ !!\"!!J !:  !!W  \"!W  \"!* eb" [re-search-forward "\\(\\`\\|\\|\n\\)" regexp-quote diary-include-string " \"\\([^\"]*\\)\"" nil t substitute-in-file-name buffer-substring match-beginning 2 match-end 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"] 5 "\
Mark the diary entries from other diary files with those of 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 the 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	\")	$@	$A@	$AA@	$@	$A@	$AA@S\"\\V \"\\\"Z\"U \"U \"U T,S\"S\"S\"[S\"\\\\\\\\+$@$A@$AA@$@$A@$AA@S\"\\V\"\\\"Z\"U{\"U\"UT,S\"S\"S\"[S\"\\\\\\\\+X!!\\." [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 year month 31 day-of-year 2 4 23 10 0 100 400 365 -1 mark-visible-calendar-date calendar-gregorian-from-absolute 7] 8 "\
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YR %\"\\\"T\")# ," [calendar-buffer displayed-month displayed-year y m * 12 -2 macro-y % / -1 i 2 mark-calendar-month month day year] 6 "\
Mark all dates in the calendar window that conform to MONTH/DAY/YEAR.
A value of 0 in any position is a wild-card."])
(fset 'mark-calendar-month #[(month year p-month p-day p-year) "	U \nU$ \nU$ 	Us \nU$ \nUs Um \"U? \"UH \"UR UR ̂V SHTYk E!- )E!" [month p-month p-year 0 year p-day i % 4 100 400 2 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 wild-card."])
(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\"L \n!!O!\"\"\n!!O\"I ςJ \\\n\" \n!!O!\"\"\n!!O!\n!!O\" ς \\\\Ӈ" [string-match "^ *\\([0-9]?[0-9]\\):?\\([0-9][0-9]\\)\\(\\>\\|[^ap]\\)" s * string-to-int match-beginning 1 match-end 100 2 "^ *\\([0-9]?[0-9]\\)\\([ap]\\)m\\>" % 12 string-equal "a" 0 1200 "^ *\\([0-9]?[0-9]\\):\\([0-9][0-9]\\)\\([ap]\\)m\\>" 3 -9999] 7 "\
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Yw@A@AA@@A@AA@S\"\\V \"\\\"Z\"U \"U \"U T,S\"S\"S\"[S\"\\\\\\\\+!@A@AA@@@\" @A @!@@\" !!OR&'(!P+!P!P!.,\"!P-Q3!!#&9;eb9# _#h@ \"oh\"A B !C D !K`EFG !`EH $A B !H #C D !I E`@ %J K F`\"\"*K.\nA -L @A@AA@@A@AA@S\"\\VO\"\\\"Z\"U@\"UJ\"UOT,S\"S\"S\"[S\"\\\\\\\\+T! )M 	!,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 year day month * 31 day-of-year 2 / 4 23 10 % 100 400 365 hdate equal 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 "" concat "\\(\\`\\|\\|\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 buffer-substring calendar-gregorian-from-absolute set-buffer-modified-p] 11 "\
Add any Hebrew date entries from the diary-file to diary-entries-list.
Hebrew date diary entries must be 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.  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 "w	@@\" 	@A 	@!\"PG>GZU?I \\>GZU?a \\>GZU?y \\>GZU? \\>GZU? \\!#% !eb #m !!\"' !!\"( !!\" !+!!\"!,)!!\"-3\n-GU/ @ A@ AA@ @ A@ AA@S\"\\4V4\"\\\"Z4\"U\"U\"U4T44,S\"S\"S\"[S\"\\\\\\\\+!AA@=-!=\"\"\\>=ZV>Z=>ZV >\\>*\n-!@'3A B C 'D O!E F #\"A!h(]G (H \"J+]B C (!E !\"A+I +,@#. .	A )" [diary-date-forms d equal 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 concat "\\(\\`\\|\\|\n\\)" regexp-quote hebrew-diary-entry-symbol "\\(" mapconcat eval "\\)\\(" "\\)" regexp case-fold-search re-search-forward nil buffer-substring match-beginning match-end dd-name mm-name string-to-int "" mm dd y-str 0 abbreviated-calendar-year calendar-hebrew-from-absolute calendar-current-date * 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)) string-equal "*" mark-hebrew-calendar-date-pattern] 9 "\
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	U>U>U/ 	E!!!+ !)\n	W> 	ZA 	\\	WM 	ZP 	\\	W\\ 	Z_ 	\\	Wk 	Zn 	\\	Wz 	Z} 	\\%>\n\n\"\\\\\"T\")\"\\\"T\")E@EA@EAA@E@EA@EAA@	S\"\\#	V=#	\"\\\"Z#\"U/\"U8\"U=#T##,S\"S\"S\"[S\"\\\\\\\\+(\"Ur\"U|\"UU邌SHE@\"U\"U\"UUSHEA@\"U\"U\"UUSHEAA@\"U\"U\"U)U).SHE@\"UI\"US\"U^U^cSHEA@\"U\"U\"UU邙SHEAA@	S\"\\#	V#	\"\\\"Z#\"U\"U\"U#T##,S\"S\"S\"[S\"\\\\\\\\++(!-+!.-AA@/.AA@0	W!0#/	E!!!9!.\n׉23454\"5\\\\\"T5\"4)54E@54EA@54EAA@54E@54EA@54EAA@	S\"\\#	V#	\"\\\"Z#\"U\"U\"U#T##,S\"S\"S\"[S\"\\\\\\\\+34\"5\\\\\"T5\"4)54\"U,4\"U64\"UA5UAF5SH4E@54\"U`4\"Uj4\"Uu5Uuz5SH4EA@54\"U4\"U4\"U5U邯5SH4EAA@54\"U4\"U4\"U5U5SH4E@54\"U4\"U4\"U5U5SH4EA@54\"U94\"UC4\"UN5UNS5SH4EAA@	S\"\\#	V#	\"\\\"Z#\"U\"U\"U#T##,S\"S\"S\"[S\"\\\\\\\\+23S2TY!6@76A@86AA@9	U	7UU8UU9U!!,-)" [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 list 11 1 10 2 9 3 8 4 7 5 displayed-year nil y2 m2 y1 m1 * 12 -2 macro-y % / 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] 9 "\
Mark dates in calendar window that conform to Hebrew date MONTH/DAY/YEAR.
A value of 0 in any position is a wild-card."])
(fset 'list-sexp-diary-entries #[(date) "	!!\n%	eb	# !`ʉ `\"!`)!h\"X h\"h !h ! `#! #q !`\"\" !I &#' `%&'\" '. ," [regexp-quote diary-nonmarking-symbol mark sexp-diary-entry-symbol sexp-mark concat "\\(\\`\\|\\|\n\\)" "?" "(" s-entry nil entry-found re-search-forward t backward-char 1 line-start entry-start entry sexp sexp-start forward-sexp buffer-substring re-search-backward "\\|\n\\|\\`" forward-char char-equal 13 10 looking-at " \\|	" "" "\\|\n" string-match "[]" match-beginning 0 diary-sexp-entry date diary-entry subst-char-in-region add-to-diary-list] 7 "\
Add any sexp entries for DATE from the diary-file to diary-entries-list
and 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-sunrise-sunset)
                  Diary entries giving the local times of Sabbath candle
                  lighting 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-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) ";   )" [nil (byte-code "\n!@!" [eval read-from-string sexp] 3) ((error (byte-code " `\"eb# T +\n$!" [beep message "Bad sexp at line %d in %s: %s" narrow-to-region 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	E@ 	\nE \n	EA@, 	\nE0 \n	EAA@B 	\nEF \n	E@T 	\nEX \n	EA@f 	\nEj \n	EAA@S\"\\	V 	\"\\\"Z	\"U \"U \"U 	T		,S\"S\"S\"[S\"\\\\\\\\+ E E@ E EA@EEAA@\"E)E@:EAEA@REYEAA@S\"\\	V	\"\\\"Z	\"U\"U\"U	T		,S\"S\"S\"[S\"\\\\\\\\+@A@AA@@A@AA@S\"\\	V	\"\\\"Z	\"U\"U\"U	T		,S\"S\"S\"[S\"\\\\\\\\+XNXN+" [european-calendar-style d1 m1 y1 year day month * 31 day-of-year 2 / 4 23 10 % 0 100 400 365 d2 m2 y2 date d date2 date1 entry] 10 "\
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\"  =0 	\n	$\"0 \n*" [date y m month equal 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UN UN \"U@ \"UN \"UN Vj E\"j !#," [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 	@A@AA@@A@AA@\n	S\"\\		Vn 		\"\\\"Z	\"U_ \"Ui \"Un 	T		,S\"S\"S\"[S\"\\\\\\\\+E@EA@EAA@E@EA@EAA@\n	S\"\\		V		\"\\\"Z	\"U \"U \"U	T		,S\"S\"S\"[S\"\\\\\\\\+Z\"YI\"UI!#," [european-calendar-style month day d m date 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"]] 4 "\
Ordinal suffix for N. (That is, `st', `nd', `rd', or `th', as appropriate.)"])
(fset 'diary-day-of-year #[nil "AA@@A@AA@\nS\"\\\nVN \n\"\\\"Z	\"U@ 	\"UI 	\"UN 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 "	@	A@	AA@	@	A@	AA@S\"\\VV \"\\\"Z\n\"UH \n\"UQ \n\"UV T,\nS\"\nS\"\nS\"[\nS\"\\\\\\\\+\"	@	A@	AA@	@	A@	AA@S\"\\V \"\\\"Z\n\"U \n\"U \n\"U T,\nS\"\nS\"\nS\"[\nS\"\\\\\\\\+!U т @AA@$*" [% date year day month * 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."] 9 "\
ISO calendar equivalent of date diary entry."])
(fset 'diary-islamic-date #[nil "	@	A@	AA@	@	A@	AA@S\"\\VV \"\\\"Z\n\"UH \n\"UQ \n\"UV T,\nS\"\nS\"\nS\"[\nS\"\\\\\\\\+!AA@Y #\"*" [calendar-islamic-from-absolute date year day month * 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] 8 "\
Islamic calendar equivalent of date diary entry."])
(fset 'diary-hebrew-date #[nil "	@	A@	AA@	@	A@	AA@S\"\\VV \"\\\"Z\n\"UH \n\"UQ \n\"UV T,\nS\"\nS\"\nS\"[\nS\"\\\\\\\\+!AA@!  #\"*" [calendar-hebrew-from-absolute date year day month * 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] 8 "\
Hebrew calendar equivalent of date diary entry."])
(fset 'diary-julian-date #[nil "@A@AA@@A@AA@S\"\\\nVa \n\"\\\"Z\n\"US \"U\\ \"Ua \nT\n\n,S\"S\"S\"[S\"\\\\\\\\+!!$" [format "Julian date: %s" calendar-date-string calendar-julian-from-absolute date year day month * 31 day-of-year 2 / 4 23 10 % 0 100 400 365 nil t] 11 "\
Julian calendar equivalent of date diary entry."])
(fset 'diary-astro-day-number #[nil "\n@\nA@\nAA@\n@\nA@\nAA@S\"\\VW \"\\\"Z\"UI \"UR \"UW T,S\"S\"S\"[S\"\\\\\\\\+\\\"" [format "Astronomical (Julian) day number %d" date year day month * 31 day-of-year 2 / 4 23 10 % 0 100 400 365 1721425] 9 "\
Astronomical (Julian) day number diary entry."])
(fset 'diary-omer #[nil "AA@\\E!@A@AA@@A@AA@S\"\\Vn \"\\\"Z\"U_ \"Ui \"Un T,S\"S\"S\"[S\"\\\\\\\\+Z\"\"V W U ܂ U ܂ U ܂ U ܂ #$#," [calendar-absolute-from-hebrew 1 15 date 3760 passover year day month * 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"] 12 "\
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E@	 \nE  \nEA@	- \nE1 \nEAA@	D \nEH \nE@	V \nEZ \nEA@	i \nEm \nEAA@S\"\\\nV \n\"\\\"Z\n\"U \"U \"U \nT\n\n,S\"S\"S\"[S\"\\\\\\\\+!@A@AA@@A@AA@@A@AA@S\"\\\nVF\n\"\\\"Z\n\"U8\"UA\"UF\nT\n\n,S\"S\"S\"[S\"\\\\\\\\+!AA@Z\"VUTU!U₥\"U\"U\"U%." [calendar-hebrew-from-absolute european-calendar-style death-day death-month death-year year day month * 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"] 9 "\
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 "@A@AA@@A@AA@\nS\"\\VU \"\\\"Z	\"UG 	\"UP 	\"UU T,	S\"	S\"	S\"[	S\"\\\\\\\\+!@A@AA@!\"  SHS!A@U U U U H\" U \" \"\"UpV4U4U4!U&͂(H,ZH#WVUHU[b,ZH,Z\"H$UU?!U͂H\".\n" [date year day month * 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"] 9 "\
Rosh Hodesh diary entry.
Entry applies if date is Rosh Hodesh, the day before, or the Saturday before."])
(fset 'diary-parasha #[nil "@A@AA@@A@AA@\nS\"\\VU \"\\\"Z	\"UG 	\"UP 	\"UU T,	S\"	S\"	S\"[	S\"\\\\\\\\+\"U4!AA@E!E!\"H\"H!!! !   !  %%$!J)\\\"++Z\",),H-2-<--@\"-@!-A!#1-A!\"1-!\".)" [date year day month * 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 the diary-entries-list.
Do nothing if DATE or STRING is nil."])
(defconst 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 in a Hebrew year that 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 in a 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 in a 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 in a 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 in a 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 in a 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 in a 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 in a 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 in a 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 in a 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 in a 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 in a 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 in a 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 in a 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Yw@A@AA@@A@AA@S\"\\V \"\\\"Z\"U \"U \"U T,S\"S\"S\"[S\"\\\\\\\\+!@A@AA@@@\" @A @!@@\" !!OR&'(!P+!P!P!.,\"!P-Q3!!#&9;eb9# _#h@ \"oh\"A B !C D !K`EFG !`EH $A B !H #C D !I E`@ %J K F`\"\"*K.\nA -L @A@AA@@A@AA@S\"\\VO\"\\\"Z\"U@\"UJ\"UOT,S\"S\"S\"[S\"\\\\\\\\+T! )M 	!,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 year day month * 31 day-of-year 2 / 4 23 10 % 100 400 365 idate equal 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 "" concat "\\(\\`\\|\\|\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 buffer-substring calendar-gregorian-from-absolute set-buffer-modified-p] 11 "\
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 "w	@@\" 	@A 	@!\"PG>GZU?I \\>GZU?a \\>GZU?y \\>GZU? \\>GZU? \\!#% !eb #m !!\"' !!\"( !!\" !+!!\"!,)!!\"-3\n-GU/ @ A@ AA@ @ A@ AA@S\"\\4V4\"\\\"Z4\"U\"U\"U4T44,S\"S\"S\"[S\"\\\\\\\\+!AA@=-!=\"\"\\>=ZV>Z=>ZV >\\>*\n-!@'3A B C 'D O!E F #\"A!h(]G (H \"J+]B C (!E !\"A+I +,@#. .	A )" [diary-date-forms d equal 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 concat "\\(\\`\\|\\|\n\\)" regexp-quote islamic-diary-entry-symbol "\\(" mapconcat eval "\\)\\(" "\\)" regexp case-fold-search re-search-forward nil buffer-substring match-beginning match-end dd-name mm-name string-to-int "" mm dd y-str 0 abbreviated-calendar-year calendar-islamic-from-absolute calendar-current-date * 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)) string-equal "*" mark-islamic-calendar-date-pattern] 9 "\
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!!!+ !)E@EA@EAA@E@EA@EAA@	S\"\\	V 	\"\\\"Z\"U \"U \"U T,S\"S\"S\"[S\"\\\\\\\\+!@AA@W?\"	Z\\\\\\!!\"T!\")V	E!!!!),݉#$\"\\\\!!\"T!\")E@EA@EAA@E@EA@EAA@	S\"\\	V	\"\\\"Z\"U\"U\"UT,S\"S\"S\"[S\"\\\\\\\\+$\"\\\\!!\"T!\")\"U	\"U\"UU#SHE@\"U=\"UG\"URURWSHEA@\"Ur\"U|\"UU悌SHEAA@\"U\"U\"UUSHE@\"U\"U\"UUSHEA@\"U\"U \"U+U+0SHEAA@	S\"\\	Vt	\"\\\"Z\"Uf\"Uo\"UtT,S\"S\"S\"[S\"\\\\\\\\+#$S#TY!(@)(A@*(AA@+	U	)UU*UU+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 * 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 "\
Mark dates in calendar window that conform to Islamic date MONTH/DAY/YEAR.
A value of 0 in any position is a wild-card."])
(provide (quote diary))
