MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 18.222.106.93
Web Server : Apache
System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : a1673wkz ( 2475)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/share/emacs/24.3/lisp/calendar/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/share/emacs/24.3/lisp/calendar/holidays.elc
;ELC
;;; Compiled by mockbuild@buildfarm06-new.corp.cloudlinux.com on Fri Oct 11 10:08:29 2024
;;; from file /builddir/build/BUILD/emacs-24.3/lisp/calendar/holidays.el
;;; in Emacs version 24.3.1
;;; with all optimizations.

;;; This file contains utf-8 non-ASCII characters,
;;; and so cannot be loaded into Emacs 22 or earlier.
(and (boundp 'emacs-version)
     (< (aref emacs-version (1- (length emacs-version))) ?A)
     (string-lessp emacs-version "23")
     (error "`%s' was compiled for Emacs 23 or later" #$))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


(byte-code "\302\303!\210\304\305\306\307#\210\310\311\306\312\313\303\314\315\313\316&	\210\317\320\321\306#\210\322\306\211\203C	@\320N\203<\321N\204<\323\321\320N#\210	A\211\204%*\324\320\321\325#\210\326\321\327\330\331\332\313\311&\210\323\321\333\307#\210\317\334\335\306#\210\322\306\211\203\207	@\334N\203\200\335N\204\200\323\335\334N#\210	A\211\204i*\324\334\335\325#\210\326\335\336\337\340\325\331\332\313\311&	\210\323\335\333\307#\210\317\341\342\306#\210\322\306\211\203\315	@\341N\203\306\342N\204\306\323\342\341N#\210	A\211\204\257*\324\341\342\325#\210\326\342\306\343\331\332\313\311&\210\323\342\333\307#\210\317\344\345\306#\210\322\306\211\203	@\344N\203\n\345N\204\n\323\345\344N#\210	A\211\204\363*\324\344\345\325#\210\326\345\306\346\331\332\313\311&\210\323\345\333\307#\207" [prop --dolist-tail-- require calendar load "hol-loaddefs" nil t custom-declare-group holidays "Holidays support in calendar." :group :prefix "holidays-" local defvaralias general-holidays holiday-general-holidays (saved-value saved-variable-comment) put make-obsolete-variable "23.1" custom-declare-variable (mapcar 'purecopy '((holiday-fixed 1 1 "New Year's Day") (holiday-float 1 1 3 "Martin Luther King Day") (holiday-fixed 2 2 "Groundhog Day") (holiday-fixed 2 14 "Valentine's Day") (holiday-float 2 1 3 "President's Day") (holiday-fixed 3 17 "St. Patrick's Day") (holiday-fixed 4 1 "April Fools' Day") (holiday-float 5 0 2 "Mother's Day") (holiday-float 5 1 -1 "Memorial Day") (holiday-fixed 6 14 "Flag Day") (holiday-float 6 0 3 "Father's Day") (holiday-fixed 7 4 "Independence Day") (holiday-float 9 1 1 "Labor Day") (holiday-float 10 1 2 "Columbus Day") (holiday-fixed 10 31 "Halloween") (holiday-fixed 11 11 "Veteran's Day") (holiday-float 11 4 4 "Thanksgiving"))) "General holidays.  Default value is for the United States.\nSee the documentation for `calendar-holidays' for details." :type sexp risky-local-variable oriental-holidays holiday-oriental-holidays (mapcar 'purecopy '((holiday-chinese-new-year) (if calendar-chinese-all-holidays-flag (append (holiday-chinese 1 15 "Lantern Festival") (holiday-chinese-qingming) (holiday-chinese 5 5 "Dragon Boat Festival") (holiday-chinese 7 7 "Double Seventh Festival") (holiday-chinese 8 15 "Mid-Autumn Festival") (holiday-chinese 9 9 "Double Ninth Festival") (holiday-chinese-winter-solstice))))) "Oriental holidays.\nSee the documentation for `calendar-holidays' for details." :version local-holidays holiday-local-holidays "Local holidays.\nSee the documentation for `calendar-holidays' for details." other-holidays holiday-other-holidays "User defined holidays.\nSee the documentation for `calendar-holidays' for details."] 11)
#@66 Component of the old default value of `holiday-hebrew-holidays'.
(defvar hebrew-holidays-1 (mapcar 'purecopy '((holiday-hebrew-rosh-hashanah) (if calendar-hebrew-all-holidays-flag (holiday-julian 11 (let ((m displayed-month) (y displayed-year) year) (calendar-increment-month m y -1) (setq year (calendar-extract-year (calendar-julian-from-absolute (calendar-absolute-from-gregorian (list m 1 y))))) (if (zerop (% (1+ year) 4)) 22 21)) "\"Tal Umatar\" (evening)")))) (#$ . 3307))
(byte-code "\300\301\302\303#\210\304\301\305\306#\207" [put hebrew-holidays-1 risky-local-variable t make-obsolete-variable hebrew-holidays "23.1"] 4)
#@66 Component of the old default value of `holiday-hebrew-holidays'.
(defvar hebrew-holidays-2 (mapcar 'purecopy '((holiday-hebrew-hanukkah) (if calendar-hebrew-all-holidays-flag (holiday-hebrew 10 (let ((h-year (calendar-extract-year (calendar-hebrew-from-absolute (calendar-absolute-from-gregorian (list displayed-month 28 displayed-year)))))) (if (= 6 (% (calendar-hebrew-to-absolute (list 10 10 h-year)) 7)) 11 10)) "Tzom Teveth")) (if calendar-hebrew-all-holidays-flag (holiday-hebrew 11 15 "Tu B'Shevat")))) (#$ . 3945))
(byte-code "\300\301\302\303#\210\304\301\305\306#\207" [put hebrew-holidays-2 risky-local-variable t make-obsolete-variable hebrew-holidays "23.1"] 4)
#@66 Component of the old default value of `holiday-hebrew-holidays'.
(defvar hebrew-holidays-3 (mapcar 'purecopy '((if calendar-hebrew-all-holidays-flag (holiday-hebrew 11 (let* ((m displayed-month) (y displayed-year) (h-year (progn (calendar-increment-month m y 1) (calendar-extract-year (calendar-hebrew-from-absolute (calendar-absolute-from-gregorian (list m (calendar-last-day-of-month m y) y)))))) (s-s (calendar-hebrew-from-absolute (if (= 6 (% (calendar-hebrew-to-absolute (list 7 1 h-year)) 7)) (calendar-dayname-on-or-before 6 (calendar-hebrew-to-absolute (list 11 17 h-year))) (calendar-dayname-on-or-before 6 (calendar-hebrew-to-absolute (list 11 16 h-year)))))) (day (calendar-extract-day s-s))) day) "Shabbat Shirah")))) (#$ . 4626))
(byte-code "\300\301\302\303#\210\304\301\305\306#\207" [put hebrew-holidays-3 risky-local-variable t make-obsolete-variable hebrew-holidays "23.1"] 4)
#@66 Component of the old default value of `holiday-hebrew-holidays'.
(defvar hebrew-holidays-4 (mapcar 'purecopy '((holiday-hebrew-passover) (and calendar-hebrew-all-holidays-flag (let* ((m displayed-month) (y displayed-year) (year (progn (calendar-increment-month m y -1) (calendar-extract-year (calendar-julian-from-absolute (calendar-absolute-from-gregorian (list m 1 y))))))) (= 21 (% year 28))) (holiday-julian 3 26 "Kiddush HaHamah")) (if calendar-hebrew-all-holidays-flag (holiday-hebrew-tisha-b-av)))) (#$ . 5527))
(byte-code "\302\303\304\305#\210\306\303\307\310#\210\311\307\312\313#\210\314\313\211\2038	@\307N\2031\312N\2041\302\312\307N#\210	A\211\204*\306\307\312\310#\210\315\312\316\317\320\321\322\310\323\324&	\210\302\312\304\305#\210\311\325\326\313#\210\314\313\211\203~	@\325N\203w\326N\204w\302\326\325N#\210	A\211\204`*\306\325\326\310#\210\315\326\327\330\320\321\323\324&\210\302\326\304\305#\210\311\331\332\313#\210\314\313\211\203\302	@\331N\203\273\332N\204\273\302\332\331N#\210	A\211\204\244*\306\331\332\310#\210\315\332\333\334\320\321\323\324&\210\302\332\304\305#\210\311\335\336\313#\210\314\313\211\203	@\335N\203\377\336N\204\377\302\336\335N#\210	A\211\204\350*\306\335\336\310#\210\315\336\337\340\320\321\323\324&\210\302\336\304\305#\210\311\341\342\313#\210\314\313\211\203J	@\341N\203C\342N\204C\302\342\341N#\210	A\211\204,*\306\341\342\310#\210\315\342\343\344\320\321\323\324&\210\302\342\304\305#\210\315\345\346\347\320\321\323\324&\210\302\345\304\305#\207" [prop --dolist-tail-- put hebrew-holidays-4 risky-local-variable t make-obsolete-variable hebrew-holidays "23.1" defvaralias holiday-hebrew-holidays nil (saved-value saved-variable-comment) custom-declare-variable (mapcar 'purecopy '((holiday-hebrew-passover) (holiday-hebrew-rosh-hashanah) (holiday-hebrew-hanukkah) (if calendar-hebrew-all-holidays-flag (append (holiday-hebrew-tisha-b-av) (holiday-hebrew-misc))))) "Jewish holidays.\nSee the documentation for `calendar-holidays' for details." :type sexp :version :group holidays christian-holidays holiday-christian-holidays (mapcar 'purecopy '((holiday-easter-etc) (holiday-fixed 12 25 "Christmas") (if calendar-christian-all-holidays-flag (append (holiday-fixed 1 6 "Epiphany") (holiday-julian 12 25 "Christmas (Julian calendar)") (holiday-greek-orthodox-easter) (holiday-fixed 8 15 "Assumption") (holiday-advent 0 "Advent"))))) "Christian holidays.\nSee the documentation for `calendar-holidays' for details." islamic-holidays holiday-islamic-holidays (mapcar 'purecopy '((holiday-islamic-new-year) (holiday-islamic 9 1 "Ramadan Begins") (if calendar-islamic-all-holidays-flag (append (holiday-islamic 1 10 "Ashura") (holiday-islamic 3 12 "Mulad-al-Nabi") (holiday-islamic 7 26 "Shab-e-Mi'raj") (holiday-islamic 8 15 "Shab-e-Bara't") (holiday-islamic 9 27 "Shab-e Qadr") (holiday-islamic 10 1 "Id-al-Fitr") (holiday-islamic 12 10 "Id-al-Adha"))))) "Islamic holidays.\nSee the documentation for `calendar-holidays' for details." bahai-holidays holiday-bahai-holidays (mapcar 'purecopy '((holiday-bahai-new-year) (holiday-bahai-ridvan) (holiday-fixed 5 23 "Declaration of the Báb") (holiday-fixed 5 29 "Ascension of Bahá'u'lláh") (holiday-fixed 7 9 "Martyrdom of the Báb") (holiday-fixed 10 20 "Birth of the Báb") (holiday-fixed 11 12 "Birth of Bahá'u'lláh") (if calendar-bahai-all-holidays-flag (append (holiday-fixed 11 26 "Day of the Covenant") (holiday-fixed 11 28 "Ascension of `Abdu'l-Bahá"))))) "Bahá'í holidays.\nSee the documentation for `calendar-holidays' for details." solar-holidays holiday-solar-holidays (mapcar 'purecopy '((solar-equinoxes-solstices) (holiday-sexp calendar-daylight-savings-starts (format "Daylight Saving Time Begins %s" (solar-time-string (/ calendar-daylight-savings-starts-time (float 60)) calendar-standard-time-zone-name))) (holiday-sexp calendar-daylight-savings-ends (format "Daylight Saving Time Ends %s" (solar-time-string (/ calendar-daylight-savings-ends-time (float 60)) calendar-daylight-time-zone-name))))) "Sun-related holidays.\nSee the documentation for `calendar-holidays' for details." calendar-holidays (append holiday-general-holidays holiday-local-holidays holiday-other-holidays holiday-christian-holidays holiday-hebrew-holidays holiday-islamic-holidays holiday-bahai-holidays holiday-oriental-holidays holiday-solar-holidays) "List of notable days for the command \\[holidays].\n\nAdditional holidays are easy to add to the list, just put them in the\nlist `holiday-other-holidays' in your init file.  Similarly, by setting\nany of `holiday-general-holidays', `holiday-local-holidays',\n`holiday-christian-holidays', `holiday-hebrew-holidays',\n`holiday-islamic-holidays', `holiday-bahai-holidays',\n`holiday-oriental-holidays', or `holiday-solar-holidays' to nil in your\ninit file, you can eliminate unwanted categories of holidays.\n\nThe aforementioned variables control the holiday choices offered\nby the function `holiday-list' when it is called interactively.\n\nThey also initialize the default value of `calendar-holidays',\nwhich is the default list of holidays used by the function\n`holiday-list' in the non-interactive case.  Note that these\nvariables have no effect on `calendar-holidays' after it has been\nset (e.g. after the calendar is loaded).  In that case, customize\n`calendar-holidays' directly.\n\nThe intention is that (in the US) `holiday-local-holidays' be set in\nsite-init.el and `holiday-other-holidays' be set by the user.\n\nEntries on the list are expressions that return (possibly empty) lists of\nitems of the form ((month day year) string) of a holiday in the\nthree-month period centered around `displayed-month' of `displayed-year'.\nSeveral basic functions are provided for this purpose:\n\n    (holiday-fixed MONTH DAY STRING) is a fixed date on the Gregorian calendar\n    (holiday-float MONTH DAYNAME K STRING &optional DAY) is the Kth DAYNAME\n                               (0 for Sunday, etc.) after/before Gregorian\n                               MONTH DAY.  K<0 means count back from the end\n                               of the month.  Optional DAY defaults to 1 if\n                               K>0, and MONTH's last day otherwise.\n    (holiday-hebrew MONTH DAY STRING)  a fixed date on the Hebrew calendar\n    (holiday-islamic MONTH DAY STRING) a fixed date on the Islamic calendar\n    (holiday-bahai MONTH DAY STRING)   a fixed date on the Bahá'í calendar\n    (holiday-julian MONTH DAY STRING)  a fixed date on the Julian calendar\n    (holiday-sexp SEXP STRING) SEXP is a Gregorian-date-valued expression\n                               in the variable `year'; if it evaluates to\n                               a visible date, that's the holiday; if it\n                               evaluates to nil, there's no holiday.  STRING\n                               is an expression in the variable `date'.\n\nFor example, to add Bastille Day, celebrated in France on July 14, add\n\n     (holiday-fixed 7 14 \"Bastille Day\")\n\nto the list.  To add Hurricane Supplication Day, celebrated in the Virgin\nIslands on the fourth Monday in August, add\n\n     (holiday-float 8 1 4 \"Hurricane Supplication Day\")\n\nto the list (the last Monday would be specified with `-1' instead of `4').\nTo add the last day of Hanukkah to the list, use\n\n     (holiday-hebrew 10 2 \"Last day of Hanukkah\")\n\nsince the Hebrew months are numbered with 1 starting from Nisan.\nTo add the Islamic feast celebrating Mohammed's birthday, use\n\n     (holiday-islamic 3 12 \"Mohammed's Birthday\")\n\nsince the Islamic months are numbered from 1 starting with Muharram.\nTo add an entry for the Bahá'í festival of Ridvan, use\n\n     (holiday-bahai 2 13 \"Festival of Ridvan\")\n\nsince the Bahá'í months are numbered from 1 starting with Bahá.\nTo add Thomas Jefferson's birthday, April 2, 1743 (Julian), use\n\n     (holiday-julian 4 2 \"Jefferson's Birthday\")\n\nTo include a holiday conditionally, use the sexp form or a conditional.  For\nexample, to include American presidential elections, which occur on the first\nTuesday after the first Monday in November of years divisible by 4, add\n\n     (holiday-sexp\n       '(if (zerop (% year 4))\n           (calendar-gregorian-from-absolute\n             (1+ (calendar-dayname-on-or-before\n                   1 (+ 6 (calendar-absolute-from-gregorian\n                            (list 11 1 year)))))))\n       \"US Presidential Election\")\n\nor\n\n     (if (zerop (% displayed-year 4))\n         (holiday-fixed 11\n                (calendar-extract-day\n                 (calendar-gregorian-from-absolute\n                  (1+ (calendar-dayname-on-or-before\n                       1 (+ 6 (calendar-absolute-from-gregorian\n                               (list 11 1 displayed-year)))))))\n                \"US Presidential Election\"))\n\nto the list.  To include the phases of the moon, add\n\n     (lunar-phases)\n\nto the holiday list, where `lunar-phases' is an Emacs-Lisp function that\nyou've written to return a (possibly empty) list of the relevant VISIBLE dates\nwith descriptive strings such as\n\n     (((2 6 1989) \"New Moon\") ((2 12 1989) \"First Quarter Moon\") ... )."] 11)
#@127 Form the list of holidays that occur on dates in the calendar window.
The holidays are those in the list `calendar-holidays'.
(defalias 'calendar-holiday-list #[nil "\306\211\211\307\306\211\2036
@\203!\310\311\f!)\202%\300\312\313\217\211\203/\314	\n\"
A\211\204\306\n*\315\"+\207" [err h res calendar-holidays p --dolist-tail-- nil sort t eval (eval p) ((error (byte-code "\302\303\304\305	#\"\210\306\207" [p err display-warning :error format "Bad holiday list item: %s\nError: %s\n" nil] 6))) append calendar-date-compare calendar-debug-sexp debug-on-error] 5 (#$ . 14827)])
#@268 Create a buffer containing the holidays for the current calendar window.
The holidays are those in the list `calendar-notable-days'.
Returns non-nil if any holidays are found.
If EVENT is non-nil, it's an event indicating the buffer position to
use instead of point.
(defalias 'calendar-list-holidays #[(&optional event) "r\203\306\307!\211@)!\202pq\210\310\311!\210\312 \n\n#$\211%\2041\310\313!\210\202\314&!q\210\315\316!\204@\316 \210\317'\320(\321 \210\322\317)*#\323W\203[#T#\324#*_$\325\211$)\326)*\"T$)*\245#)\323W\203\213$\327V\203\213#S##\327W\203\227#S#*\322\317)*\f\323W\203\247\fT\324\f*_
\325\327$)\326)*\"T)*\245)\323W\203\320
\327V\203\320\fS\f\327W\203\331\fS*\330#\fU\203\360\331\332\333$!\333
!\f$\202\375\331\334\333$!#\333
!\f%!\210\335\336%\337#c\210eb\210\340\317!\210\320'\341&!\210\310\342!\210%.\207" [event position displayed-month displayed-year y2 m2 window-buffer event-start message "Looking up holidays..." calendar-holiday-list "Looking up holidays...none found" get-buffer-create derived-mode-p special-mode nil t erase-buffer 12 0 + -1 mod 1 calendar-set-mode-line format "Notable Dates from %s to %s, %d%%-" calendar-month-name "Notable Dates from %s, %d to %s, %d%%-" mapconcat #[(x) "\301@!\302\211A@)Q\207" [x calendar-date-string ": "] 4] "\n" set-buffer-modified-p display-buffer "Looking up holidays...done" y1 m1 holiday-list holiday-buffer buffer-read-only buffer-undo-list macro-y nmonths] 8 (#$ . 15435) (list last-nonmenu-event)])
(byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias list-calendar-holidays calendar-list-holidays nil make-obsolete "23.1"] 4)
#@198 Display the holidays for last month, this month, and next month.
If called with an optional prefix argument ARG, prompts for month and year.
This function is suitable for execution in a init file.
(defalias 'holidays #[(&optional arg) "\212\305	\203
\306\305!\202\307 \211\211@)\n\310\n8)\311 -\207" [completion-ignore-case arg date displayed-month displayed-year t calendar-read-date calendar-current-date 2 calendar-list-holidays] 3 (#$ . 17140) "P"])
#@747 Display holidays for years Y1 to Y2 (inclusive).
Y2 defaults to Y1.  The optional list of holidays L defaults to
`calendar-holidays'.  If you want to control what holidays are
displayed, use a different list.  For example,

  (list-holidays 2006 2006
    (append holiday-general-holidays holiday-local-holidays))

will display holidays for the year 2006 defined in the two
mentioned lists, and nothing else.

When called interactively, this command offers a choice of
holidays, based on the variables `holiday-solar-holidays' etc.  See the
documentation of `calendar-holidays' for a list of the variables
that control the choices, as well as a description of the format
of a holiday list.

The optional LABEL is used to label the buffer created.
(defalias 'list-holidays #[(y1 &optional y2 l label) "\204	\306\307!\210\n\206\f\206\310\311\312	E\211\311
8)\31312\3142!\2031\315\316!\202\2762\317V\203\3032S1\320
\211\211@)3
\211\2114A@*5
\311
8)253S\321_\\63\311V\203\2536\3223\323_\\\324\245Z62\2112\317W\203\211\3252!S2\3142\323\246!\205\242\3142\326\246!?\206\242\3142\327\246!)\203\2536T66-1\330_1\323\2451\326\245[1\327\245%\202\276\3252T!1\331
\211\211@)3
\211\2114A@*5
\311
8)253S\321_\\63\311V\20386\3223\323_\\\324\245Z62\2112\317W\203\3252!S2\3142\323\246!\205/\3142\326\246!?\206/\3142\327\246!)\20386T66-1\330_1\323\2451\326\245[1\327\245\332\211\211@)3
\211\2114A@*5
\311
8)253S\321_\\63\311V\203\2716\3223\323_\\\324\245Z62\2112\317W\203\227\3252!S2\3142\323\246!\205\260\3142\326\246!?\206\260\3142\327\246!)\203\2716T66-&+\333\312E\211\311
8)\31312\3142!\203\334\315\316!\202i2\317V\203n2S1\320
\211\211@)3
\211\2114A@*5
\311
8)253S\321_\\63\311V\203V6\3223\323_\\\324\245Z62\2112\317W\2034\3252!S2\3142\323\246!\205M\3142\326\246!?\206M\3142\327\246!)\203V6T66-1\330_1\323\2451\326\245[1\327\245%\202i\3252T!1\331
\211\211@)3
\211\2114A@*5
\311
8)253S\321_\\63\311V\203\3436\3223\323_\\\324\245Z62\2112\317W\203\301\3252!S2\3142\323\246!\205\332\3142\326\246!?\206\332\3142\327\246!)\203\3436T66-1\330_1\323\2451\326\245[1\327\245\332\211\211@)3
\211\2114A@*5
\311
8)253S\321_\\63\311V\203d6\3223\323_\\\324\245Z62\2112\317W\203B\3252!S2\3142\323\246!\205[\3142\326\246!?\206[\3142\327\246!)\203d6T66-&+\311	\313789:;<;:X\203\214\3347\335 \"7\336\313=>8\317W\203\2348T8\3208>_9\337\340$=\341=>\"T9=>\2458=\317W\203\3149\312V\203\3148S88\312W\203\3308S8*9\3128E\211\311
8)\31312\3142!\203\370\315\316!\202\2052\317V\203\2122S1\320
\211\211@)3
\211\2114A@*5
\311
8)253S\321_\\63\311V\203r6\3223\323_\\\324\245Z62\2112\317W\203P\3252!S2\3142\323\246!\205i\3142\326\246!?\206i\3142\327\246!)\203r6T66-1\330_1\323\2451\326\245[1\327\245%\202\205\3252T!1\331
\211\211@)3
\211\2114A@*5
\311
8)253S\321_\\63\311V\203\3776\3223\323_\\\324\245Z62\2112\317W\203\335\3252!S2\3142\323\246!\205\366\3142\326\246!?\206\366\3142\327\246!)\203\3776T66-1\330_1\323\2451\326\245[1\327\245\332\211\211@)3
\211\2114A@*5
\311
8)253S\321_\\63\311V\203\2006\3223\323_\\\324\245Z62\2112\317W\203^\3252!S2\3142\323\246!\205w\3142\326\246!?\206w\3142\327\246!)\203\2006T66-&+\211;\202|\212\342?!q\210\343\344!\204\234\344 \210\313@\345A\346 \210\347	U\203\265\350\351<	#\202\274\350\352<	$!\210\353\3547\355#c\210eb\210\356\313!\210\345@\357?!\210\306\360!.\207" [y2 y1 l calendar-holidays label date message "Computing holidays..." "Holidays" 2 1 nil zerop error "There was no year zero" 0 + 31 23 4 10 abs 100 400 365 - (12 31 -1) 11 append calendar-holiday-list 12 -1 3 mod get-buffer-create derived-mode-p special-mode t erase-buffer calendar-set-mode-line format "%s for %s" "%s for %s-%s" mapconcat #[(x) "\301@!\302\211A@)Q\207" [x calendar-date-string ": "] 4] "\n" set-buffer-modified-p display-buffer "Computing holidays...done" offset-years year month x day day-of-year holiday-list displayed-year displayed-month e s title macro-y nmonths holiday-buffer buffer-read-only buffer-undo-list] 14 (#$ . 17610) (let* ((start-year (calendar-read "Starting year of holidays (>0): " #'(lambda (x) (> x 0)) (number-to-string (calendar-extract-year (calendar-current-date))))) (end-year (calendar-read (format "Ending year (inclusive) of holidays (>=%s): " start-year) #'(lambda (x) (>= x start-year)) (number-to-string start-year))) (completion-ignore-case t) (lists (list (cons "All" calendar-holidays) (cons "Equinoxes/Solstices" (list (list 'solar-equinoxes-solstices))) (if holiday-general-holidays (cons "General" holiday-general-holidays)) (if holiday-local-holidays (cons "Local" holiday-local-holidays)) (if holiday-other-holidays (cons "Other" holiday-other-holidays)) (if holiday-christian-holidays (cons "Christian" holiday-christian-holidays)) (if holiday-hebrew-holidays (cons "Hebrew" holiday-hebrew-holidays)) (if holiday-islamic-holidays (cons "Islamic" holiday-islamic-holidays)) (if holiday-bahai-holidays (cons "Bahá'í" holiday-bahai-holidays)) (if holiday-oriental-holidays (cons "Oriental" holiday-oriental-holidays)) (if holiday-solar-holidays (cons "Solar" holiday-solar-holidays)) (cons "Ask" nil))) (choice (capitalize (completing-read "List (TAB for choices): " lists nil t))) (which (if (string-equal choice "Ask") (eval (read-variable "Enter list name: ")) (cdr (assoc choice lists)))) (name (if (string-equal choice "Equinoxes/Solstices") choice (if (member choice '("Ask" "")) "Holidays" (format "%s Holidays" choice))))) (list start-year end-year which name))])
(defalias 'holiday-list 'list-holidays)
#@257 Check the list of holidays for any that occur on DATE.
DATE is a list (month day year).  This function considers the
holidays from the list `calendar-holidays', and returns a list of
strings describing those holidays that apply on DATE, or nil if none do.
(defalias 'calendar-check-holidays #[(date) "\211@)\3068)\307\310 \307\211\2030
@\311\f@\"\203)\312	\fA\"
A\211\204\307	-\207" [date holiday-list displayed-year displayed-month h --dolist-tail-- 2 nil calendar-holiday-list calendar-date-equal append] 4 (#$ . 23452)])
(byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias check-calendar-holidays calendar-check-holidays nil make-obsolete "23.1"] 4)
#@71 Generate a list of all holidays in range from absolute date D1 to D2.
(defalias 'holiday-in-range #[(d1 d2) "\306!\211\211@)	\307\n8)\306
!\211 \211@)! \307\n8)\"\310\f!\"$\311\245T#\312\211$%\312&\313\312'(\f\314W\203K\fT\315\f(_\316\317$'\320'(\"T'(\245'\314W\203t\317V\203t\fS\f\317W\203}\fS*#\314)*)*W\203\340\321$\322 \"$\313\312'(\f\314W\203\244\fT\315\f(_\316\311$'\320'(\"T'(\245'\314W\203\315\317V\203\315\fS\f\317W\203\326\fS*)T\211)\202\207*$\312+\211,\203\306,@\211+@\203\275+@\211\307\n8)\312-.\323.!\203\324\325!\202\237.\314V\203\244.S-\315\n\211\211@)/\n\211\2110A@*1\n\307\n8).1/S\326_\\2/\307V\203\2142\327/\330_\\\331\245Z2.\211.\314W\203j\332.!S.\323.\330\246!\205\203\323.\333\246!?\206\203\323.\334\246!)\203\2142T22--\335_-\330\245-\333\245[-\334\245%\202\237\332.T!-\336\n\211\211@)/\n\211\2110A@*1\n\307\n8).1/S\326_\\2/\307V\2032\327/\330_\\\331\245Z2.\211.\314W\203\367\332.!S.\323.\330\246!\205\323.\333\246!?\206\323.\334\246!)\2032T22--\335_-\330\245-\333\245[-\334\245\337\211\211@)/\n\211\2110A@*1\n\307\n8).1/S\326_\\2/\307V\203\2322\327/\330_\\\331\245Z2.\211.\314W\203x\332.!S.\323.\330\246!\205\221\323.\333\246!?\206\221\323.\334\246!)\203\2322T22-&+\211&\203\275&X\203\275&
X\203\275\321+C%\"%,A\211,\204\354*%.\n\207" [d1 start date displayed-month displayed-year d2 calendar-gregorian-from-absolute 2 calendar-interval 3 nil 12 0 + -1 1 mod append calendar-holiday-list zerop error "There was no year zero" 31 23 4 10 abs 100 400 365 - (12 31 -1) end end-month end-year number-of-intervals holidays in-range a macro-y nmonths _idummy --dotimes-limit-- hol --dolist-tail-- offset-years year month x day day-of-year] 11 (#$ . 24144)])
#@210 Find holidays for the date specified by the cursor in the calendar window.
Optional DATE is a list (month day year) to use instead of the
cursor position.  EVENT specifies a buffer position to use for a date.
(defalias 'calendar-cursor-holidays #[(&optional date event) "\306\307!\210\204
\310\311	\"\312!\313!\314\211\315	!\203P\316 \203B\317	\320\321
\"\322\320\321
\"C\f\203;\323\324\f\"\202<\325\"D\"\202E\326\327!\211\205\251\330!\202\251\f\204[\306\331
\"\202\251\320\332
\333\334\f\335##\211G\336 X\203t\306\337\n\"\202\251\340)!q\210\341\342!\204\203\342 \210\314*\311+\343 \210\344
!\210\333\334\f\345#c\210eb\210\346\314!\210\311*\347)!\210\306\350!,\207" [date event msg selection holiday-list date-string message "Checking holidays..." calendar-cursor-to-date t calendar-date-string calendar-check-holidays nil mouse-event-p display-popup-menus-p x-popup-menu format "Holidays for %s" append mapcar list ("None") error "Popup menus are not available on this system" call-interactively "No holidays known for %s" "%s:  %s" mapconcat identity ";  " frame-width "%s" get-buffer-create derived-mode-p special-mode erase-buffer calendar-set-mode-line "\n" set-buffer-modified-p display-buffer "Checking holidays...done" holiday-buffer buffer-read-only buffer-undo-list] 8 (#$ . 26034) (list nil last-nonmenu-event)])
#@134 Mark notable days in the calendar window.
If EVENT is non-nil, it's an event indicating the buffer position to
use instead of point.
(defalias 'calendar-mark-holidays #[(&optional event) "r\203\306\307!\211@)!\202pq\210\310\311\312!\210\313 \314\211\2033\f@\315@
\"\210\fA\211\204#*\311\316!)\207" [event position calendar-mark-holidays-flag holiday --dolist-tail-- calendar-holiday-marker window-buffer event-start t message "Marking holidays..." calendar-holiday-list nil calendar-mark-visible-date "Marking holidays...done"] 4 (#$ . 27394) (list last-nonmenu-event)])
(byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias mark-calendar-holidays calendar-mark-holidays nil make-obsolete "23.1"] 4)
#@202 Holiday on MONTH, DAY (Gregorian) called STRING.
If MONTH, DAY is visible, the value returned is the list (((MONTH DAY year)
STRING)).  Returns nil if it is not visible in the current calendar window.
(defalias 'holiday-fixed #[(month day string) "	\306\307\n\310W\203\nT\311\n
_\312\313Z$\314\f
\"T\f
\245\f\310W\2036\315V\2036\nS\n\315W\203?\nS*\316V\205P\nEDC*\207" [displayed-month displayed-year y m macro-y nmonths 12 nil 0 + -1 11 mod 1 9 month day string] 6 (#$ . 28128)])
#@392 Holiday called STRING on the Nth DAYNAME after/before MONTH DAY.
DAYNAME=0 means Sunday, DAYNAME=1 means Monday, and so on.
If N>0, use the Nth DAYNAME after MONTH DAY.
If N<0, use the Nth DAYNAME before MONTH DAY.
DAY defaults to 1 if N>0, and MONTH's last day otherwise.
If the holiday is visible in the calendar window, returns a
list (((month day year) STRING)).  Otherwise returns nil.
(defalias 'holiday-float #[(month dayname n string &optional day) "\n\n\306\307#$\310W\203T\311$_	\312\211$#\313#$\"T#$\245#\310W\203@	\314V\203@S\314W\203IS*\311\315\314%	$&\316_&\310V\203a\314\202b\316#'\306\307#$
\310W\203t
T\311
$_\f\312\314$#\313#$\"T#$\245#\310W\203\235\f\314V\203\235
S
\314W\203\246
S*\311\315\312%\f
$&\316_&\310V\203\276\317\202\277\312#(\320'!)\321)8)\320(!)\321)8)
U\204\347*\322V\203\353\202\354
+,\206D&\310V\203\376\314\202D*+-\211*\321U\203>-\211-\310W\203\323-!S-\324-\325\246!\2056\324-\326\246!?\2066\324-\327\246!)\203>\330\202C\331*SH*.*.+E\211))\321)8)\307/-\324-!\203i\332\333!\202
-\310V\203-S/\311)\211)\211)@)*)\211)\2110A@*,))\321)8)-,*S\334_\\1*\321V\203\3531\335*\325_\\\336\245Z1-\211-\310W\203\311\323-!S-\324-\325\246!\205\342\324-\326\246!?\206\342\324-\327\246!)\203\3531T11-/\337_/\325\245/\326\245[/\327\245%\202
\323-T!/\340)\211)\211)@)*)\211)\2110A@*,))\321)8)-,*S\334_\\1*\321V\203\2001\335*\325_\\\336\245Z1-\211-\310W\203^\323-!S-\324-\325\246!\205w\324-\326\246!?\206w\324-\327\246!)\203\2001T11-/\337_/\325\245/\326\245[/\327\245\341\211)\211)@)*)\211)\2110A@*,))\321)8)-,*S\334_\\1*\321V\2031\335*\325_\\\336\245Z1-\211-\310W\203\346\323-!S-\324-\325\246!\205\377\324-\326\246!?\206\377\324-\327\246!)\2031T11-&+)')X\2050)(X\2050\342&%*+.%2DC.\207" [displayed-month m1 displayed-year y1 m2 y2 12 nil 0 + -1 mod 1 calendar-nth-named-absday -7 7 calendar-gregorian-from-absolute 2 9 abs zerop 4 100 400 29 [31 28 31 30 31 30 31 31 30 31 30 31] error "There was no year zero" 31 23 10 365 - (12 31 -1) calendar-nth-named-day macro-y nmonths dayname n d1 d2 date month y day year d offset-years x day-of-year string] 11 (#$ . 28644)])
#@119 Filter list of holidays HLIST, and return only the visible ones.
HLIST is a list of elements of the form (DATE) TEXT.
(defalias 'holiday-filter-visible-calendar #[(hlist) "\301\302\303\304\"\"\207" [hlist delq nil mapcar #[(p) "@\205
\301@!\205
\207" [p calendar-date-is-visible-p] 2]] 5 (#$ . 30982)])
(byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias filter-visible-calendar-holidays holiday-filter-visible-calendar nil make-obsolete "23.1"] 4)
#@362 Sexp holiday for dates in the calendar window.
SEXP is an expression in variable `year' that is evaluated to
give `date'.  STRING is an expression in `date' that evaluates to
the holiday description of `date'.  If `date' is visible in the
calendar window, the holiday STRING is on that date.  If date is
nil, or if the date is not visible, there is no holiday.
(defalias 'holiday-sexp #[(sexp string) "	\306\211\307\306\f\310W\203\fT\311\f_
\312\211$\313\"T\245\310W\203@
\314V\203@\fS\f\314W\203I\fS*\315\f\316!\211\211\205[\316!D\fT\316!\211\211\205m\316!DD!,\207" [displayed-month displayed-year date year y m nil 12 0 + -1 mod 1 holiday-filter-visible-calendar eval macro-y nmonths sexp string] 6 (#$ . 31458)])
#@434 Date of Nth day after advent (named STRING), if visible in calendar window.
Negative values of N are interpreted as days before advent.
STRING is used purely for display purposes.  The return value has
the form ((MONTH DAY YEAR) STRING), where the date is that of the
Nth day before or after advent.

For backwards compatibility, if this function is called with no
arguments, then it returns the value appropriate for advent itself.
(defalias 'holiday-advent #[(&optional n string) "\204	\306\307\310\"\207	\311\312!\n\307W\203\nT\313\n!_\f\314\211$\315
!\"T
!\245
\307W\203@\f\316V\203@\nS\n\316W\203I\nS*\317\320\307\311\321\nE\211\"\"\322\"8)\312#\323\n!\203l\324\325!\202\351\n\307V\203\370\nS#\313\"\211\"\211\"@)\"\211\"\211$A@*%\"\"\322\"8)%\fS\326_\\&\f\322V\203\340&\327\f\330_\\\331\245Z&\n\211\307W\203\301\332\n!S\323\n\330\246!\205\327\323\n\333\246!?\206\327\323\n\334\246!)\203\340&T&&-#\335_#\330\245#\333\245[#\334\245%\202\351\332\nT!#\336\"\211\"\211\"@)\"\211\"\211$A@*%\"\"\322\"8)%\fS\326_\\&\f\322V\203h&\327\f\330_\\\331\245Z&\n\211\307W\203I\332\n!S\323\n\330\246!\205_\323\n\333\246!?\206_\323\n\334\246!)\203h&T&&-#\335_#\330\245#\333\245[#\334\245\337\211\"\211\"@)\"\211\"\211$A@*%\"\"\322\"8)%\fS\326_\\&\f\322V\203\344&\327\f\330_\\\331\245Z&\n\211\307W\203\305\332\n!S\323\n\330\246!\205\333\323\n\333\246!?\206\333\323\n\334\246!)\203\344&T&&-&+\"\\!'\340'!\205\374'(DC+\207" [n displayed-year year displayed-month month macro-y holiday-advent 0 "Advent" 12 nil + -1 mod 1 calendar-gregorian-from-absolute calendar-dayname-on-or-before 3 2 zerop error "There was no year zero" 31 23 4 10 abs 100 400 365 - (12 31 -1) calendar-date-is-visible-p nmonths date offset-years x day day-of-year advent string] 15 (#$ . 32228)])
#@512 Date of Nth day after Easter (named STRING), if visible in calendar window.
Negative values of N are interpreted as days before Easter.
STRING is used purely for display purposes.  The return value has
the form ((MONTH DAY YEAR) STRING), where the date is that of the
Nth day before or after Easter.

For backwards compatibility, if this function is called with no
arguments, then it returns a list of "standard" Easter-related
holidays (with more entries if `calendar-christian-all-holidays-flag'
is non-nil).
(defalias 'holiday-easter-etc #[(&optional n string) "\204\306\307\310\311\307	\205\312\313\"\"\"\207\n\314\245T\315\316\n\317\246\320_\321_\322\245[\323\324_\\\325\245\326_%\326\246\327\f!\204G\f\330U\203L\331\n\317\246W\203L\fT\202M\f\322\317\nE\211**\332*8)\333+,\327,!\203n\334\335!\202,\336V\203,S+\315*\211*\211*@)-*\211*\211.A@*/**\332*8),/-S\337_\\0-\332V\203\3600\340-\322_\\\331\245Z0,\211,\336W\203\316\341,!S,\327,\322\246!\205\347\327,\314\246!?\206\347\327,\342\246!)\203\3600T00-+\343_+\322\245+\314\245[+\342\245%\202\341,T!+\344*\211*\211*@)-*\211*\211.A@*/**\332*8),/-S\337_\\0-\332V\203\2050\340-\322_\\\331\245Z0,\211,\336W\203c\341,!S,\327,\322\246!\205|\327,\314\246!?\206|\327,\342\246!)\203\2050T00-+\343_+\322\245+\314\245[+\342\245\345\211*\211*@)-*\211*\211.A@*/**\332*8),/-S\337_\\0-\332V\203
0\340-\322_\\\331\245Z0,\211,\336W\203\353\341,!S,\327,\322\246!\205\327,\314\246!?\206\327,\342\246!)\203
0T00-&+
Z1\346\3361\347\\\"2\3502\\!3\3513!\205534DC.\207" [n calendar-christian-all-holidays-flag displayed-year century shifted-epact adjusted-epact apply append mapcar #[(e) "\301\302\"\207" [e apply holiday-easter-etc] 3] ((-63 "Septuagesima Sunday") (-56 "Sexagesima Sunday") (-49 "Shrove Sunday") (-48 "Shrove Monday") (-47 "Shrove Tuesday") (-14 "Passion Sunday") (-7 "Palm Sunday") (-3 "Maundy Thursday") (35 "Rogation Sunday") (39 "Ascension Day") (49 "Pentecost (Whitsunday)") (50 "Whitmonday") (56 "Trinity Sunday") (60 "Corpus Christi")) ((-46 "Ash Wednesday") (-2 "Good Friday") (0 "Easter Sunday")) 100 + 14 19 11 3 4 5 8 25 30 zerop 1 10 2 nil error "There was no year zero" 0 31 23 abs 400 365 - (12 31 -1) calendar-dayname-on-or-before 7 calendar-gregorian-from-absolute calendar-date-is-visible-p date offset-years year month x day day-of-year paschal-moon abs-easter greg string] 11 (#$ . 34113)])
#@64 Date of Easter according to the rule of the Council of Nicaea.
(defalias 'holiday-greek-orthodox-easter #[nil "\n\306\307\310W\203T\311
_	\312\313$\314\f
\"T\f
\245\f\310W\2033	\313V\2033S\313W\203<S*\315	\211(\211)\316U\203}(\211(\310W\203\\\317(!S(\320(\321\246!\205u\320(\322\246!?\206u\320(\323\246!)\203}\324\202\202\325)SH*E\211**\316*8)\307+(\320(!\203\241\326\327!\202E(\310V\203;(S+\311*\211*\211*@))*\211*\211,A@*-**\316*8)(-)S\330_\\.)\316V\203#.\331)\321_\\\332\245Z.(\211(\310W\203\317(!S(\320(\321\246!\205\320(\322\246!?\206\320(\323\246!)\203#.T..-+\333_+\321\245+\322\245[+\323\245%\202E\317(T!+\334*\211*\211*@))*\211*\211,A@*-**\316*8)(-)S\330_\\.)\316V\203\270.\331)\321_\\\332\245Z.(\211(\310W\203\226\317(!S(\320(\321\246!\205\257\320(\322\246!?\206\257\320(\323\246!)\203\270.T..-+\333_+\321\245+\322\245[+\323\245\335\211*\211*@))*\211*\211,A@*-**\316*8)(-)S\330_\\.)\316V\203@.\331)\321_\\\332\245Z.(\211(\310W\203\317(!S(\320(\321\246!\2057\320(\322\246!?\2067\320(\323\246!)\203@.T..-&+!*\316*8)/\336/\337\246\340_\\\341\2460\342\321\337/E!0Z1\343\344\3101\345\\\"!2\3462!\2052\347DC.\207" [displayed-month m displayed-year y macro-y nmonths 12 nil 0 + -1 1 mod calendar-julian-from-absolute 2 abs zerop 4 100 400 29 [31 28 31 30 31 30 31 31 30 31 30 31] error "There was no year zero" 31 23 10 365 - (12 31 -1) 14 19 11 30 calendar-julian-to-absolute calendar-gregorian-from-absolute calendar-dayname-on-or-before 7 calendar-date-is-visible-p "Pascha (Greek Orthodox Easter)" year month date offset-years x day day-of-year julian-year shifted-epact paschal-moon nicaean-easter] 12 (#$ . 36632)])
(provide 'holidays)

MMCT - 2023