;ELC ;;; compiled by kwzh@churchy.gnu.ai.mit.edu on Tue Jun 13 00:54:50 1995 ;;; from file /gd/gnu/emacs/19.0/lisp/calendar.el ;;; emacs version 19.28.94.2. ;;; 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 "`calendar.el' was compiled for Emacs 19.29 or later")) (defalias 'calendar-version #[nil #@54 ("!" . [message "Version 5.3, January 25, 1994"])(#$ . 516) nil 2 nil nil]) #@115 *The day of the week on which a week in the calendar begins. 0 means Sunday (default), 1 means Monday, and so on. (defvar calendar-week-start-day 0 (#$ . -602)) #@246 *The offset of the principal month from the center of the calendar window. 0 means the principal month is in the center (default), -1 means on the left, +1 means on the right. Larger (or smaller) values push the principal month off the screen. (defvar calendar-offset 0 (#$ . -770)) #@276 *Non-nil means display current date's diary entries on entry. The diary is displayed in another window when the calendar is first displayed, if the current date is visible. The number of days of diary entries displayed is governed by the variable `number-of-diary-entries'. (defvar view-diary-entries-initially nil (#$ . -1061)) #@907 *Specifies how many days of diary entries are to be displayed initially. This variable affects the diary display when the command M-x diary is used, or if the value of the variable `view-diary-entries-initially' is t. For example, if the default value 1 is used, then only the current day's diary entries will be displayed. If the value 2 is used, then both the current day's and the next day's entries will be displayed. The value can also be a vector such as [0 2 2 2 2 4 1]; this value says to display no diary entries on Sunday, the display the entries for the current date and the day after on Monday through Thursday, display Friday through Monday's entries on Friday, and display only Saturday's entries on Saturday. This variable does not affect the diary display with the `d' command from the calendar; in that case, the prefix argument controls the number of days of diary entries displayed. (defvar number-of-diary-entries 1 (#$ . -1398)) #@141 *Non-nil means mark dates with diary entries, in the calendar window. The marking symbol is specified by the variable `diary-entry-marker'. (defvar mark-diary-entries-in-calendar nil (#$ . -2359)) #@97 *Used to mark dates that have diary entries. Can be either a single-character string or a face. (defvar diary-entry-marker (byte-code "!!!& !\"&\"Ň" [window-system "+" require faces make-face diary-face face-differs-from-default-p x-display-color-p set-face-foreground "red" copy-face bold] 3) (#$ . -2562)) #@80 *Used to mark today's date. Can be either a single-character string or a face. (defvar calendar-today-marker (byte-code "!!!\"Ň" [window-system "=" require faces make-face calendar-today-face face-differs-from-default-p set-face-underline-p t] 3) (#$ . -2906)) #@97 *Used to mark notable dates in the calendar. Can be either a single-character string or a face. (defvar calendar-holiday-marker (byte-code "!!!+ !\"+\"\"Ň" [window-system "*" require faces make-face holiday-face face-differs-from-default-p x-display-color-p set-face-background "pink" "black" set-face-foreground "white"] 3) (#$ . -3195)) #@157 *Non-nil means display holidays for current three month period on entry. The holidays are displayed in another window when the calendar is first displayed. (defvar view-calendar-holidays-initially nil (#$ . -3575)) #@138 *Non-nil means mark dates of holidays in the calendar window. The marking symbol is specified by the variable `calendar-holiday-marker'. (defvar mark-holidays-in-calendar nil (#$ . -3797)) #@211 *If nil, show only major holidays from the Hebrew calendar. This means only those Jewish holidays that appear on secular calendars. If t, show all the holidays that would appear in a complete Hebrew calendar. (defvar all-hebrew-calendar-holidays nil (#$ . -3993)) #@220 *If nil, show only major holidays from the Christian calendar. This means only those Christian holidays that appear on secular calendars. If t, show all the holidays that would appear in a complete Christian calendar. (defvar all-christian-calendar-holidays nil (#$ . -4265)) #@214 *If nil, show only major holidays from the Islamic calendar. This means only those Islamic holidays that appear on secular calendars. If t, show all the holidays that would appear in a complete Islamic calendar. (defvar all-islamic-calendar-holidays nil (#$ . -4549)) #@131 *List of functions to be called after the calendar is first loaded. This is the place to add key bindings to `calendar-mode-map'. (defvar calendar-load-hook nil (#$ . -4825)) #@292 *List of functions to be called when the calendar window is first opened. The functions invoked are called after the calendar window is opened, but once opened is never called again. Leaving the calendar with the `q' command and reentering it will cause these functions to be called again. (defvar initial-calendar-window-hook nil (#$ . -5007)) #@794 *List of functions called whenever the current date is visible. This can be used, for example, to replace today's date with asterisks; a function `calendar-star-date' is included for this purpose: (setq today-visible-calendar-hook 'calendar-star-date) It can also be used to mark the current date with `calendar-today-marker'; a function is also provided for this: (setq today-visible-calendar-hook 'calendar-mark-today) The corresponding variable `today-invisible-calendar-hook' is the list of functions called when the calendar function was called when the current date is not visible in the window. Other than the use of the provided functions, the changing of any characters in the calendar buffer by the hooks may cause the failure of the functions that move by days and weeks. (defvar today-visible-calendar-hook nil (#$ . -5360)) #@427 *List of functions called whenever the current date is not visible. The corresponding variable `today-visible-calendar-hook' is the list of functions called when the calendar function was called when the current date is visible in the window. Other than the use of the provided functions, the changing of any characters in the calendar buffer by the hooks may cause the failure of the functions that move by days and weeks. (defvar today-invisible-calendar-hook nil (#$ . -6214)) #@4013 *Name of the file in which one's personal diary of dates is kept. The file's entries are lines in any of the forms MONTH/DAY MONTH/DAY/YEAR MONTHNAME DAY MONTHNAME DAY, YEAR DAYNAME at the beginning of the line; the remainder of the line is the diary entry string for that date. MONTH and DAY are one or two digit numbers, YEAR is a number and may be written in full or abbreviated to the final two digits. If the date does not contain a year, it is generic and applies to any year. DAYNAME entries apply to any date on which is on that day of the week. MONTHNAME and DAYNAME can be spelled in full, abbreviated to three characters (with or without a period), capitalized or not. Any of DAY, MONTH, or MONTHNAME, YEAR can be `*' which matches any day, month, or year, respectively. The European style (in which the day precedes the month) can be used instead, if you execute `european-calendar' when in the calendar, or set `european-calendar-style' to t in your .emacs file. The European forms are DAY/MONTH DAY/MONTH/YEAR DAY MONTHNAME DAY MONTHNAME YEAR DAYNAME To revert to the default American style from the European style, execute `american-calendar' in the calendar. A diary entry can be preceded by the character `diary-nonmarking-symbol' (ordinarily `&') to make that entry nonmarking--that is, it will not be marked on dates in the calendar window but will appear in a diary window. Multiline diary entries are made by indenting lines after the first with either a TAB or one or more spaces. Lines not in one the above formats are ignored. Here are some sample diary entries (in the default American style): 12/22/1988 Twentieth wedding anniversary!! &1/1. Happy New Year! 10/22 Ruth's birthday. 21: Payday Tuesday--weekly meeting with grad students at 10am Supowit, Shen, Bitner, and Kapoor to attend. 1/13/89 Friday the thirteenth!! &thu 4pm squash game with Lloyd. mar 16 Dad's birthday April 15, 1989 Income tax due. &* 15 time cards due. If the first line of a diary entry consists only of the date or day name with no trailing blanks or punctuation, then that line is not displayed in the diary window; only the continuation lines is shown. For example, the single diary entry 02/11/1989 Bill Blattner visits Princeton today 2pm Cognitive Studies Committee meeting 2:30-5:30 Lizzie at Lawrenceville for `Group Initiative' 4:00pm Jamie Tappenden 7:30pm Dinner at George and Ed's for Alan Ryan 7:30-10:00pm dance at Stewart Country Day School will appear in the diary window without the date line at the beginning. This facility allows the diary window to look neater, but can cause confusion if used with more than one day's entries displayed. Diary entries can be based on Lisp sexps. For example, the diary entry %%(diary-block 11 1 1990 11 10 1990) Vacation causes the diary entry "Vacation" to appear from November 1 through November 10, 1990. Other functions available are `diary-float', `diary-anniversary', `diary-cyclic', `diary-day-of-year', `diary-iso-date', `diary-french-date', `diary-hebrew-date', `diary-islamic-date', `diary-mayan-date', `diary-yahrzeit', `diary-sunrise-sunset', `diary-phases-of-moon', `diary-parasha', `diary-omer', `diary-rosh-hodesh', and `diary-sabbath-candles'. See the documentation for the function `list-sexp-diary-entries' for more details. Diary entries based on the Hebrew and/or the Islamic calendar are also possible, but because these are somewhat slow, they are ignored unless you set the `nongregorian-diary-listing-hook' and the `nongregorian-diary-marking-hook' appropriately. See the documentation for these functions for details. Diary files can contain directives to include the contents of other files; for details, see the documentation for the variable `list-diary-entries-hook'. (defvar diary-file "~/diary" (#$ . -6704)) #@76 *Symbol indicating that a diary entry is not to be marked in the calendar. (defvar diary-nonmarking-symbol "&" (#$ . -10765)) #@68 *Symbol indicating a diary entry according to the Hebrew calendar. (defvar hebrew-diary-entry-symbol "H" (#$ . -10897)) #@69 *Symbol indicating a diary entry according to the Islamic calendar. (defvar islamic-diary-entry-symbol "I" (#$ . -11023)) #@136 *The string indicating inclusion of another file of diary entries. See the documentation for the function `include-other-diary-files'. (defvar diary-include-string "#include" (#$ . -11152)) #@130 *The string used to indicate a sexp diary entry in diary-file. See the documentation for the function `list-sexp-diary-entries'. (defvar sexp-diary-entry-symbol "%%" (#$ . -11349)) #@205 *Interpret a two-digit year DD in a diary entry as either 19DD or 20DD. For the Gregorian calendar; similarly for the Hebrew and Islamic calendars. If this variable is nil, years must be written in full. (defvar abbreviated-calendar-year t (#$ . -11537)) #@427 *Use the European style of dates in the diary and in any displays. If this variable is t, a date 1/2/1990 would be interpreted as February 1, 1990. The accepted European date styles are DAY/MONTH DAY/MONTH/YEAR DAY MONTHNAME DAY MONTHNAME YEAR DAYNAME Names can be capitalized or not, written in full, or abbreviated to three characters with or without a period. (defvar european-calendar-style nil (#$ . -11799)) #@137 *List of pseudo-patterns describing the American patterns of date used. See the documentation of `diary-date-forms' for an explanation. (defvar american-date-diary-pattern (quote ((month "/" day "[^/0-9]") (month "/" day "/" year "[^0-9]") (monthname " *" day "[^,0-9]") (monthname " *" day ", *" year "[^0-9]") (dayname "\\W"))) (#$ . -12283)) #@137 *List of pseudo-patterns describing the European patterns of date used. See the documentation of `diary-date-forms' for an explanation. (defvar european-date-diary-pattern (quote ((day "/" month "[^/0-9]") (day "/" month "/" year "[^0-9]") (backup day " *" monthname "\\W+\\<[^*0-9]") (day " *" monthname " *" year "[^0-9]") (dayname "\\W"))) (#$ . -12635)) #@1304 *List of pseudo-patterns describing the forms of date used in the diary. The patterns on the list must be MUTUALLY EXCLUSIVE and must should not match any portion of the diary entry itself, just the date component. A pseudo-pattern is a list of regular expressions and the keywords `month', `day', `year', `monthname', and `dayname'. The keyword `monthname' will match the name of the month, capitalized or not, or its three-letter abbreviation, followed by a period or not; it will also match `*'. Similarly, `dayname' will match the name of the day, capitalized or not, or its three-letter abbreviation, followed by a period or not. The keywords `month', `day', and `year' will match those numerical values, preceded by arbitrarily many zeros; they will also match `*'. The matching of the diary entries with the date forms is done with the standard syntax table from Fundamental mode, but with the `*' changed so that it is a word constituent. If, to be mutually exclusive, a pseudo-pattern must match a portion of the diary entry itself, the first element of the pattern MUST be `backup'. This directive causes the date recognizer to back up to the beginning of the current word of the diary entry, so in no case can the pattern match more than a portion of the first word of the diary entry. (defvar diary-date-forms (byte-code " \n" [european-calendar-style european-date-diary-pattern american-date-diary-pattern] 1) (#$ . -13001)) #@145 *Pseudo-pattern governing the way a date appears in the European style. See the documentation of calendar-date-display-form for an explanation. (defvar european-calendar-display-form (quote ((if dayname (concat dayname ", ")) day " " monthname " " year)) (#$ . -14459)) #@147 *Pseudo-pattern governing the way a date appears in the American style. See the documentation of `calendar-date-display-form' for an explanation. (defvar american-calendar-display-form (quote ((if dayname (concat dayname ", ")) monthname " " day ", " year)) (#$ . -14736)) #@661 *Pseudo-pattern governing the way a date appears. Used by the function `calendar-date-string', a pseudo-pattern is a list of expressions that can involve the keywords `month', `day', and `year', all numbers in string form, and `monthname' and `dayname', both alphabetic strings. For example, the ISO standard would use the pseudo- pattern '(year "-" month "-" day) while a typical American form would be '(month "/" day "/" (substring year -2)) and '((format "%9s, %9s %2s, %4s" dayname monthname day year)) would give the usual American style in fixed-length fields. See the documentation of the function `calendar-date-string'. (defvar calendar-date-display-form (byte-code " \n" [european-calendar-style european-calendar-display-form american-calendar-display-form] 1) (#$ . -15016)) #@68 Set the interpretation and display of dates to the European style. (defalias 'european-calendar #[nil #@176 ("\n\f " . [t european-calendar-style european-calendar-display-form calendar-date-display-form european-date-diary-pattern diary-date-forms update-calendar-mode-line])(#$ . 15955) nil 1 (#$ . 15846) nil]) #@68 Set the interpretation and display of dates to the American style. (defalias 'american-calendar #[nil #@178 ("\n\f " . [nil european-calendar-style american-calendar-display-form calendar-date-display-form american-date-diary-pattern diary-date-forms update-calendar-mode-line])(#$ . 16282) nil 1 (#$ . 16173) nil]) #@369 *List of functions called after a temporary diary buffer is prepared. The buffer shows only the diary entries currently visible in the diary buffer. The default just does the printing. Other uses might include, for example, rearranging the lines into order by day and time, saving the buffer instead of deleting it, or changing the function used to do the printing. (defvar print-diary-entries-hook (quote lpr-buffer) (#$ . -16503)) #@1139 *List of functions called after diary file is culled for relevant entries. It is to be used for diary entries that are not found in the diary file. A function `include-other-diary-files' is provided for use as the value of this hook. This function 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 files thus included are obeyed. You can change the "#include" to some other string by changing the variable `diary-include-string'. When you use `include-other-diary-files' as part of the list-diary-entries-hook, you will probably also want to use the function `mark-included-diary-files' as part of `mark-diary-entries-hook'. For example, you could use (setq list-diary-entries-hook '(include-other-diary-files sort-diary-entries)) (setq diary-display-hook 'fancy-diary-display) in your `.emacs' file to cause the fancy diary buffer to be displayed with diary entries from various included files, each day's entries sorted into lexicographic order. (defvar list-diary-entries-hook nil (#$ . -16946)) #@101 *List of functions called after the display of the diary. Can be used for appointment notification. (defvar diary-hook nil (#$ . -18142)) #@1203 *List of functions that handle the display of the diary. If nil (the default), `simple-diary-display' is used. Use `ignore' for no diary display. Ordinarily, this just displays the diary buffer (with holidays indicated in the mode line), if there are any relevant entries. At the time these functions are called, the variable `diary-entries-list' is a list, in order by date, of all relevant diary entries in the form of ((MONTH DAY YEAR) STRING), where string is the diary entry for the given date. This can be used, for example, a different buffer for display (perhaps combined with holidays), or produce hard copy output. A function `fancy-diary-display' is provided as an alternative choice for this hook; this function prepares a special noneditable diary buffer with the relevant diary entries that has neat day-by-day arrangement with headings. The fancy diary buffer will show the holidays unless the variable `holidays-in-diary-buffer' is set to nil. Ordinarily, the fancy diary buffer will not show days for which there are no diary entries, even if that day is a holiday; if you want such days to be shown in the fancy diary buffer, set the variable `diary-list-include-blanks' to t. (defvar diary-display-hook nil (#$ . -18288)) #@342 *List of functions called for listing diary file and included files. As the files are processed for diary entries, these functions are used to cull relevant entries. You can use either or both of `list-hebrew-diary-entries' and `list-islamic-diary-entries'. The documentation for these functions describes the style of such diary entries. (defvar nongregorian-diary-listing-hook nil (#$ . -19543)) #@715 *List of functions called after marking diary entries in the calendar. A function `mark-included-diary-files' is also provided 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 files thus included are obeyed. You can change the "#include" to some other string by changing the variable `diary-include-string'. When you use `mark-included-diary-files' as part of the mark-diary-entries-hook, you will probably also want to use the function `include-other-diary-files' as part of `list-diary-entries-hook'. (defvar mark-diary-entries-hook nil (#$ . -19950)) #@342 *List of functions called for marking diary file and included files. As the files are processed for diary entries, these functions are used to cull relevant entries. You can use either or both of `mark-hebrew-diary-entries' and `mark-islamic-diary-entries'. The documentation for these functions describes the style of such diary entries. (defvar nongregorian-diary-marking-hook nil (#$ . -20722)) #@171 *If nil, do not include days with no diary entry in the list of diary entries. Such days will then not be shown in the the fancy diary buffer, even if they are holidays. (defvar diary-list-include-blanks nil (#$ . -21129)) #@257 *Non-nil means include holidays in the diary display. The holidays appear in the mode line of the diary buffer, or in the fancy diary buffer next to the date. This slows down the diary functions somewhat; setting it to nil makes the diary display faster. (defvar holidays-in-diary-buffer t (#$ . -21359)) (byte-code "! B#" [boundp calendar-mark-ring nil current-load-list put general-holidays risky-local-variable t] 4) #@120 *General holidays. Default value is for the United States. See the documentation for `calendar-holidays' for details. (defvar general-holidays (quote ((holiday-fixed 1 1 "New Year's Day") (holiday-float 1 1 3 "Martin Luther King Day") (holiday-fixed 2 2 "Ground Hog 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 Fool's 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"))) (#$ . -21801)) (put (quote local-holidays) (quote risky-local-variable) t) #@77 *Local holidays. See the documentation for `calendar-holidays' for details. (defvar local-holidays nil (#$ . -22681)) (put (quote other-holidays) (quote risky-local-variable) t) #@84 *User defined holidays. See the documentation for `calendar-holidays' for details. (defvar other-holidays nil (#$ . -22865)) (byte-code "#!B#!#B#!8 B#!M B#" [put hebrew-holidays-1 risky-local-variable t boundp ((holiday-rosh-hashanah-etc) (if all-hebrew-calendar-holidays (holiday-julian 11 (let* ((m displayed-month) (y displayed-year) (year)) (increment-calendar-month m y -1) (let ((year (extract-calendar-year (calendar-julian-from-absolute (calendar-absolute-from-gregorian (list m 1 y)))))) (if (zerop (% (1+ year) 4)) 22 21))) "\"Tal Umatar\" (evening)"))) current-load-list hebrew-holidays-2 ((if all-hebrew-calendar-holidays (holiday-hanukkah) (holiday-hebrew 9 25 "Hanukkah")) (if all-hebrew-calendar-holidays (holiday-hebrew 10 (let ((h-year (extract-calendar-year (calendar-hebrew-from-absolute (calendar-absolute-from-gregorian (list displayed-month 28 displayed-year)))))) (if (= (% (calendar-absolute-from-hebrew (list 10 10 h-year)) 7) 6) 11 10)) "Tzom Teveth")) (if all-hebrew-calendar-holidays (holiday-hebrew 11 15 "Tu B'Shevat"))) hebrew-holidays-3 ((if all-hebrew-calendar-holidays (holiday-hebrew 11 (let ((m displayed-month) (y displayed-year)) (increment-calendar-month m y 1) (let* ((h-year (extract-calendar-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 (= (% (calendar-absolute-from-hebrew (list 7 1 h-year)) 7) 6) (calendar-dayname-on-or-before 6 (calendar-absolute-from-hebrew (list 11 17 h-year))) (calendar-dayname-on-or-before 6 (calendar-absolute-from-hebrew (list 11 16 h-year)))))) (day (extract-calendar-day s-s))) day)) "Shabbat Shirah"))) hebrew-holidays-4 ((holiday-passover-etc) (if (and all-hebrew-calendar-holidays (let* ((m displayed-month) (y displayed-year) (year)) (increment-calendar-month m y -1) (let ((year (extract-calendar-year (calendar-julian-from-absolute (calendar-absolute-from-gregorian (list m 1 y)))))) (= 21 (% year 28))))) (holiday-julian 3 26 "Kiddush HaHamah")) (if all-hebrew-calendar-holidays (holiday-tisha-b-av-etc))) hebrew-holidays] 4) #@78 *Jewish holidays. See the documentation for `calendar-holidays' for details. (defvar hebrew-holidays (append hebrew-holidays-1 hebrew-holidays-2 hebrew-holidays-3 hebrew-holidays-4) (#$ . -25060)) (put (quote christian-holidays) (quote risky-local-variable) t) #@81 *Christian holidays. See the documentation for `calendar-holidays' for details. (defvar christian-holidays (quote ((if all-christian-calendar-holidays (holiday-fixed 1 6 "Epiphany")) (holiday-easter-etc) (if all-christian-calendar-holidays (holiday-greek-orthodox-easter)) (if all-christian-calendar-holidays (holiday-fixed 8 15 "Assumption")) (if all-christian-calendar-holidays (holiday-advent)) (holiday-fixed 12 25 "Christmas") (if all-christian-calendar-holidays (holiday-julian 12 25 "Eastern Orthodox Christmas")))) (#$ . -25327)) (put (quote islamic-holidays) (quote risky-local-variable) t) #@79 *Islamic holidays. See the documentation for `calendar-holidays' for details. (defvar islamic-holidays (quote ((holiday-islamic 1 1 (format "Islamic New Year %d" (let ((m displayed-month) (y displayed-year)) (increment-calendar-month m y 1) (extract-calendar-year (calendar-islamic-from-absolute (calendar-absolute-from-gregorian (list m (calendar-last-day-of-month m y) y))))))) (if all-islamic-calendar-holidays (holiday-islamic 1 10 "Ashura")) (if all-islamic-calendar-holidays (holiday-islamic 3 12 "Mulad-al-Nabi")) (if all-islamic-calendar-holidays (holiday-islamic 7 26 "Shab-e-Mi'raj")) (if all-islamic-calendar-holidays (holiday-islamic 8 15 "Shab-e-Bara't")) (holiday-islamic 9 1 "Ramadan Begins") (if all-islamic-calendar-holidays (holiday-islamic 9 27 "Shab-e Qadr")) (if all-islamic-calendar-holidays (holiday-islamic 10 1 "Id-al-Fitr")) (if all-islamic-calendar-holidays (holiday-islamic 12 10 "Id-al-Adha")))) (#$ . -25933)) (put (quote solar-holidays) (quote risky-local-variable) t) #@83 *Sun-related holidays. See the documentation for `calendar-holidays' for details. (defvar solar-holidays (quote ((if (fboundp (quote atan)) (solar-equinoxes-solstices)) (if (progn (require (quote cal-dst)) t) (funcall (quote holiday-sexp) calendar-daylight-savings-starts (quote (format "Daylight Savings Time Begins %s" (if (fboundp (quote atan)) (solar-time-string (/ calendar-daylight-savings-starts-time (float 60)) calendar-standard-time-zone-name) ""))))) (funcall (quote holiday-sexp) calendar-daylight-savings-ends (quote (format "Daylight Savings Time Ends %s" (if (fboundp (quote atan)) (solar-time-string (/ calendar-daylight-savings-ends-time (float 60)) calendar-daylight-time-zone-name) "")))))) (#$ . -26939)) (put (quote calendar-holidays) (quote risky-local-variable) t) #@3909 *List of notable days for the command M-x holidays. Additional holidays are easy to add to the list, just put them in the list `other-holidays' in your .emacs file. Similarly, by setting any of `general-holidays', `local-holidays' `christian-holidays', `hebrew-holidays', `islamic-holidays', or `solar-holidays' to nil in your .emacs file, you can eliminate unwanted categories of holidays. The intention is that (in the US) `local-holidays' be set in site-init.el and `other-holidays' be set by the user. Entries on the list are expressions that return (possibly empty) lists of items of the form ((month day year) string) of a holiday in the in the three-month period centered around `displayed-month' of `displayed-year'. Several basic functions are provided for this purpose: (holiday-fixed MONTH DAY STRING) is a fixed date on the Gregorian calendar (holiday-float MONTH DAYNAME K STRING &optional day) is the Kth DAYNAME in MONTH on the Gregorian calendar (0 for Sunday, etc.); K<0 means count back from the end of the month. An optional parameter DAY means the Kth DAYNAME after/before MONTH DAY. (holiday-hebrew MONTH DAY STRING) a fixed date on the Hebrew calendar (holiday-islamic MONTH DAY STRING) a fixed date on the Islamic calendar (holiday-julian MONTH DAY STRING) a fixed date on the Julian calendar (holiday-sexp SEXP STRING) SEXP is a Gregorian-date-valued expression in the variable `year'; if it evaluates to a visible date, that's the holiday; if it evaluates to nil, there's no holiday. STRING is an expression in the variable `date'. For example, to add Bastille Day, celebrated in France on July 14, add (holiday-fixed 7 14 "Bastille Day") to the list. To add Hurricane Supplication Day, celebrated in the Virgin Islands on the fourth Monday in August, add (holiday-float 8 1 4 "Hurricane Supplication Day") to the list (the last Monday would be specified with `-1' instead of `4'). To add the last day of Hanukkah to the list, use (holiday-hebrew 10 2 "Last day of Hanukkah") since the Hebrew months are numbered with 1 starting from Nisan, while to add the Islamic feast celebrating Mohammed's birthday use (holiday-islamic 3 12 "Mohammed's Birthday") since the Islamic months are numbered from 1 starting with Muharram. To add Thomas Jefferson's birthday, April 2, 1743 (Julian), use (holiday-julian 4 2 "Jefferson's Birthday") To include a holiday conditionally, use the sexp form or a conditional. For example, to include American presidential elections, which occur on the first Tuesday after the first Monday in November of years divisible by 4, add (holiday-sexp (if (zerop (% year 4)) (calendar-gregorian-from-absolute (1+ (calendar-dayname-on-or-before 1 (+ 6 (calendar-absolute-from-gregorian (list 11 1 year))))))) "US Presidential Election") or (if (zerop (% displayed-year 4)) (holiday-fixed 11 (extract-calendar-day (calendar-gregorian-from-absolute (1+ (calendar-dayname-on-or-before 1 (+ 6 (calendar-absolute-from-gregorian (list 11 1 displayed-year))))))) "US Presidential Election")) to the list. To include the phases of the moon, add (lunar-phases) to the holiday list, where `lunar-phases' is an Emacs-Lisp function that you've written to return a (possibly empty) list of the relevant VISIBLE dates with descriptive strings such as (((2 6 1989) "New Moon") ((2 12 1989) "First Quarter Moon") ... ). (defvar calendar-holidays (append general-holidays local-holidays other-holidays christian-holidays hebrew-holidays islamic-holidays solar-holidays) (#$ . -27735)) #@43 Name of the buffer used for the calendar. (defconst calendar-buffer "*Calendar*" (#$ . 31813)) #@58 Name of the buffer used for the displaying the holidays. (defconst holiday-buffer "*Holidays*" (#$ . 31914)) #@70 Name of the buffer used for the optional fancy display of the diary. (defconst fancy-diary-buffer "*Fancy Diary Entries*" (#$ . 32029)) #@47 Name of the buffer used for the lunar phases. (defconst lunar-phases-buffer "*Phases of Moon*" (#$ . 32171)) #@121 Move the variables MON and YR to the month and year by N months. Forward if N is positive or backward if N is negative. (defalias 'increment-calendar-month '(macro . #[(mon yr n) #@119 ("\fBBDCBB\fBBF" . [let macro-y + * yr (12) mon -1 n setq ((1+ (% macro-y 12))) ((/ macro-y 12))])(#$ . 32473) nil 7 (#$ . 32287)])) #@21 Execute a for loop. (defalias 'calendar-for-loop '(macro . #[(var from init to final do &rest body) #@78 (" DDC DEE BBE" . [let var 1- init while >= final setq 1+ body])(#$ . 32737) nil 9 (#$ . 32631)])) #@73 For INDEX = INITIAL et seq, as long as CONDITION holds, sum EXPRESSION. (defalias 'calendar-sum '(macro . #[(index initial condition expression) #@114 (" \nDB  EE DEFBBB" . [let index initial ((sum 0)) while condition setq sum + expression 1+ (sum)])(#$ . 33006) nil 9 (#$ . 32854)])) #@69 Extract the month part of DATE which has the form (month day year). (defalias 'extract-calendar-month #[(date) #@18 ("@" . [date])(#$ . 33276) nil 1 (#$ . 33159)]) (put (quote extract-calendar-month) (quote byte-optimizer) (quote byte-compile-inline-expand)) #@67 Extract the day part of DATE which has the form (month day year). (defalias 'extract-calendar-day #[(date) #@19 ("A@" . [date])(#$ . 33540) nil 1 (#$ . 33427)]) (put (quote extract-calendar-day) (quote byte-optimizer) (quote byte-compile-inline-expand)) #@68 Extract the year part of DATE which has the form (month day year). (defalias 'extract-calendar-year #[(date) #@20 ("AA@" . [date])(#$ . 33805) nil 1 (#$ . 33690)]) (put (quote extract-calendar-year) (quote byte-optimizer) (quote byte-compile-inline-expand)) #@45 Returns t if YEAR is a Gregorian leap year. (defalias 'calendar-leap-year-p #[(year) #@52 ("U0æU?0ĦU" . [year 4 0 100 400])(#$ . 34048) nil 2 (#$ . 33957)]) (put (quote calendar-leap-year-p) (quote byte-optimizer) (quote byte-compile-inline-expand)) #@36 The last day in MONTH during YEAR. (defalias 'calendar-last-day-of-month #[(month year) #@124 ("U$0\næU0\nŦU?0\nƦU)$0LJSH" . [month 2 year 4 0 100 400 29 [31 28 31 30 31 30 31 31 30 31 30 31]])(#$ . 34326) nil 3 (#$ . 34231)]) (put (quote calendar-last-day-of-month) (quote byte-optimizer) (quote byte-compile-inline-expand)) #@180 Return the day number within the year of the date DATE. For example, (calendar-day-number '(1 1 1987)) returns the value 1, while (calendar-day-number '(12 31 1980)) returns 366. (defalias 'calendar-day-number #[(date) #@150 ("@)A@)AA@)\n S_\\ VK0 _\\ɥZ ǦUD0 ˦U?D0 ̦U)K0 T ," . [date month day year 31 day-of-year 2 4 23 10 0 100 400])(#$ . 34814) nil 4 (#$ . 34588)]) (put (quote calendar-day-number) (quote byte-optimizer) (quote byte-compile-inline-expand)) #@135 The number of days elapsed between the Gregorian date 12/31/1 BC and DATE. The Gregorian date Sunday, December 31, 1 BC is imaginary. (defalias 'calendar-absolute-from-gregorian #[(date) #@210 ("AA@)S@)A@)AA@) \nS_\\\nV[0\n_\\ʥZ\fȦUR0\f̦U?R0\fͦU)[0T- _ ȥ ̥[ ͥ\\\\\\\\)" . [date prior-years month day year 31 day-of-year 2 4 23 10 0 100 400 365])(#$ . 35289) nil 7 (#$ . 35095)]) (put (quote calendar-absolute-from-gregorian) (quote byte-optimizer) (quote byte-compile-inline-expand)) #@2260 Display a three-month calendar in another window. The three months appear side by side, with the current month in the middle surrounded by the previous and next months. The cursor is put on today's date. If called with an optional prefix argument, prompts for month and year. This function is suitable for execution in a .emacs file; appropriate setting of the variable `view-diary-entries-initially' will cause the diary entries for the current date to be displayed in another window. The value of the variable `number-of-diary-entries' controls the number of days of diary entries displayed upon initial display of the calendar. An optional prefix argument ARG causes the calendar displayed to be ARG months in the future if ARG is positive or in the past if ARG is negative; in this case the cursor goes on the first day of the month. Once in the calendar window, future or past months can be moved into view. Arbitrary months can be displayed, or the calendar can be scrolled forward or backward. The cursor can be moved forward or backward by one day, one week, one month, or one year. All of these commands take prefix arguments which, when negative, cause movement in the opposite direction. For convenience, the digit keys and the minus sign are automatically prefixes. The window is replotted as necessary to display the desired date. Diary entries can be marked on the calendar or displayed in another window. Use M-x describe-mode for details of the key bindings in the calendar window. The Gregorian calendar is assumed. After loading the calendar, the hooks given by the variable `calendar-load-hook' are run. This is the place to add key bindings to the calendar-mode-map. After preparing the calendar window initially, the hooks given by the variable `initial-calendar-window-hook' are run. The hooks given by the variable `today-visible-calendar-hook' are run everytime the calendar window gets scrolled, if the current date is visible in the window. If it is not visible, the hooks given by the variable `today-invisible-calendar-hook' are run. Thus, for example, setting `today-visible-calendar-hook' to 'calendar-star-date will cause today's date to be replaced by asterisks to highlight it whenever it is in the window. (defalias 'calendar #[(&optional arg) #@715 (" !q 0!0 \n\n@) \n\nAA@)\f !\f_ [\\\\\\ΦT Υ\f) \f\"x0\n!x0!t0\n!Hv0!-!0!0ނ0_0 +!" . [get-buffer-create calendar-buffer calendar-mode t pop-up-windows 1000 split-height-threshold arg calendar-read-date calendar-current-date date month year pop-to-buffer 12 calendar-offset -1 macro-y generate-calendar-window view-diary-entries-initially calendar-date-is-visible-p view-diary-entries vectorp number-of-diary-entries calendar-day-of-week get-file-buffer diary-file diary-buffer get-buffer-window diary-window 2 view-calendar-holidays-initially list-calendar-holidays run-hooks initial-calendar-window-hook])(#$ . 37948) nil 5 (#$ . 35644) "P"]) #@202 Prepare and display a buffer with diary entries. Searches your diary file for entries that match ARG days starting with the date indicated by the cursor position in the displayed three-month calendar. (autoload (quote view-diary-entries) "diary-lib" '(#$ . 38706) t) #@57 Local time of sunrise and sunset for date under cursor. (autoload (quote calendar-sunrise-sunset) "solar" '(#$ . 38979) t) #@76 Create a buffer of the phases of the moon for the current calendar window. (autoload (quote calendar-phases-of-moon) "lunar" '(#$ . 39108) t) #@81 Show the French Revolutionary calendar equivalent of the date under the cursor. (autoload (quote calendar-print-french-date) "cal-french" '(#$ . 39256) t) #@43 Move cursor to French Revolutionary date. (autoload (quote calendar-goto-french-date) "cal-french" '(#$ . 39417) t) #@56 String of French Revolutionary date of Gregorian DATE. (autoload (quote calendar-french-date-string) "cal-french" '(#$ . 39539) t) #@41 String of Mayan date of Gregorian DATE. (autoload (quote calendar-mayan-date-string) "cal-mayan" '(#$ . 39676) t) #@88 Show the Mayan long count, Tzolkin, and Haab equivalents of the date under the cursor. (autoload (quote calendar-print-mayan-date) "cal-mayan" '(#$ . 39796) t) #@39 Move cursor to Mayan long count date. (autoload (quote calendar-goto-mayan-long-count-date) "cal-mayan" '(#$ . 39962) t) #@50 Move cursor to next instance of Mayan Haab date. (autoload (quote calendar-next-haab-date) "cal-mayan" '(#$ . 40089) t) #@54 Move cursor to previous instance of Mayan Haab date. (autoload (quote calendar-previous-haab-date) "cal-mayan" '(#$ . 40215) t) #@53 Move cursor to next instance of Mayan Tzolkin date. (autoload (quote calendar-next-tzolkin-date) "cal-mayan" '(#$ . 40349) t) #@57 Move cursor to previous instance of Mayan Tzolkin date. (autoload (quote calendar-previous-tzolkin-date) "cal-mayan" '(#$ . 40481) t) #@65 Move cursor to next instance of Mayan Haab/Tzoklin combination. (autoload (quote calendar-next-calendar-round-date) "cal-mayan" '(#$ . 40621) t) #@69 Move cursor to previous instance of Mayan Haab/Tzoklin combination. (autoload (quote calendar-previous-calendar-round-date) "cal-mayan" '(#$ . 40772) t) #@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. (autoload (quote show-all-diary-entries) "diary-lib" '(#$ . 40932) t) #@126 Mark days in the calendar window that have diary entries. Each entry in diary file visible in the calendar window is marked. (autoload (quote mark-diary-entries) "diary-lib" '(#$ . 41219) t) #@55 Insert a diary entry for the date indicated by point. (autoload (quote insert-diary-entry) "diary-ins" '(#$ . 41416) t) #@73 Insert a weekly diary entry for the day of the week indicated by point. (autoload (quote insert-weekly-diary-entry) "diary-ins" '(#$ . 41542) t) #@75 Insert a monthly diary entry for the day of the month indicated by point. (autoload (quote insert-monthly-diary-entry) "diary-ins" '(#$ . 41693) t) #@74 Insert an annual diary entry for the day of the year indicated by point. (autoload (quote insert-yearly-diary-entry) "diary-ins" '(#$ . 41847) t) #@68 Insert an anniversary diary entry for the date indicated by point. (autoload (quote insert-anniversary-diary-entry) "diary-ins" '(#$ . 41999) t) #@71 Insert a block diary entry for the dates indicated by point and mark. (autoload (quote insert-block-diary-entry) "diary-ins" '(#$ . 42150) t) #@70 Insert a cyclic diary entry starting at the date indicated by point. (autoload (quote insert-cyclic-diary-entry) "diary-ins" '(#$ . 42298) t) #@88 Insert a diary entry for the Hebrew date corresponding to the date indicated by point. (autoload (quote insert-hebrew-diary-entry) "diary-ins" '(#$ . 42446) t) #@108 Insert a monthly diary entry for the day of the Hebrew month corresponding to the date indicated by point. (autoload (quote insert-monthly-hebrew-diary-entry) "diary-ins" '(#$ . 42613) t) #@107 Insert an annual diary entry for the day of the Hebrew year corresponding to the date indicated by point. (autoload (quote insert-yearly-hebrew-diary-entry) "diary-ins" '(#$ . 42808) t) #@89 Insert a diary entry for the Islamic date corresponding to the date indicated by point. (autoload (quote insert-islamic-diary-entry) "diary-ins" '(#$ . 43000) t) #@109 Insert a monthly diary entry for the day of the Islamic month corresponding to the date indicated by point. (autoload (quote insert-monthly-islamic-diary-entry) "diary-ins" '(#$ . 43169) t) #@108 Insert an annual diary entry for the day of the Islamic year corresponding to the date indicated by point. (autoload (quote insert-yearly-islamic-diary-entry) "diary-ins" '(#$ . 43366) t) #@184 Create a buffer containing the holidays for the current calendar window. The holidays are those in the list `calendar-notable-days'. Returns t if any holidays are found, nil if not. (autoload (quote list-calendar-holidays) "holidays" '(#$ . 43561) t) #@43 Mark notable days in the calendar window. (autoload (quote mark-calendar-holidays) "holidays" '(#$ . 43819) t) #@76 Find holidays for the date specified by the cursor in the calendar window. (autoload (quote calendar-cursor-holidays) "holidays" '(#$ . 43936) t) #@78 Generate the calendar window for the current date. Or, for optional MON, YR. (defalias 'generate-calendar-window #[(&optional mon yr) #@768 (" @) A@) AA@)?80\n $ X70 Y) ! Q0\n\"W0 \"a0 g0E!!!0 U0 Z!! 0 0!#0 ." . [nil buffer-read-only calendar-current-date today date month day year mon calendar-interval yr offset 1 -1 today-visible calendar-day-of-week day-in-week update-calendar-mode-line generate-calendar calendar-cursor-to-visible-date displayed-month displayed-year set-buffer-modified-p one-window-p t frame-width window-width shrink-window window-height 9 sit-for 0 mark-holidays-in-calendar mark-calendar-holidays ((byte-code " 0!0!" [today-visible run-hooks today-visible-calendar-hook today-invisible-calendar-hook] 2)) mark-diary-entries-in-calendar mark-diary-entries])(#$ . 44229) nil 6 (#$ . 44088)]) #@72 Generate a three-month Gregorian calendar centered around MONTH, YEAR. (defalias 'generate-calendar #[(month year) #@279 (" S_\\W0!  _\\\\\n¦T\n¥)\f\fT\fYZ0 \f_\\# _\\\n¦T\n¥)/0)" . [month year 12 2 error "Months before February, 1 AD are not available." displayed-month displayed-year erase-buffer -2 macro-y -1 i generate-calendar-month 25 5])(#$ . 45157) nil 6 (#$ . 45035)]) #@312 Produce a calendar for MONTH, YEAR on the Gregorian calendar. The calendar is inserted in the buffer starting at the line on which point is currently located, but indented INDENT spaces. The indentation is done from the first character on the line and does not disturb the first INDENT characters on the line. (defalias 'generate-calendar-month #[(month year indent) #@616 ("\n\fE! Z\"\n\fU70\fɦU/0\f˦U?/0\f̦U)70͂;0\nSH*eb\n!\f#C##\"TY|0 \\\"HOcc\\0)#\"TY0c0)TY0\"c`W0Ȃ0Z`S$\\\"U0U0#0\"0+" . [mod calendar-day-of-week month 1 year calendar-week-start-day 7 blank-days 2 4 0 100 400 29 [31 28 31 30 31 30 31 31 30 31 30 31] last calendar-insert-indented calendar-string-spread format "%s %d" calendar-month-name 32 20 indent t "" -1 i 6 calendar-day-name-array " " " " "%2d " put-text-property 10 3 mouse-face highlight])(#$ . 45850) nil 7 (#$ . 45475)]) #@223 Insert STRING at column INDENT. If the optional parameter NEWLINE is t, leave point at start of next line, inserting a newline if there was no next line; otherwise, leave point after the inserted text. Value is always t. (defalias 'calendar-insert-indented #[(string indent &optional newline) #@98 (" !i W 0 j\nc $0m!0 $0yƇ" . [move-to-column indent string newline nil 1 t])(#$ . 46805) nil 2 (#$ . 46505)]) #@30 Redraw the calendar display. (defalias 'redraw-calendar #[nil #@149 ("  \f\" !)" . [calendar-cursor-to-date cursor-date generate-calendar-window displayed-month displayed-year calendar-cursor-to-visible-date])(#$ . 47010) nil 3 (#$ . 46941) nil]) #@73 *Turn debugging on when evaluating a sexp in the diary or holiday list. (defvar calendar-debug-sexp nil (#$ . -47201)) (byte-code "! B 1  !  T Y5  !#)گ ^@ $AK) # # # # # # # # # # # # # # # # # # # @# AB# CD# EF# GH# IJ# KL# ML# NO# PQ# RS# TU# VW# XY# Z[# \\]# ^_# `a# bc# de# fg# hi# jk# lm# no# pq# rs# tu# vw# xy# z{# |}# ~# # # # # # # # # # # # # # # # # # # # # # # # # # # # #‡" [boundp calendar-mode-map nil current-load-list make-sparse-keymap window-system require cal-menu -1 i 9 define-key int-to-string digit-argument narrow-to-region mark-word mark-sexp mark-paragraph mark-defun mark-whole-buffer mark-page downcase-region upcase-region kill-region copy-region-as-kill capitalize-region write-region l substitute-key-definition calendar-not-implemented global-map "-" negative-argument ">" scroll-calendar-right [prior] scroll-calendar-right-three-months "v" "<" scroll-calendar-left [next] scroll-calendar-left-three-months "" "" calendar-backward-day "" calendar-backward-week "{" calendar-backward-month "[" calendar-backward-year "" calendar-forward-day "" calendar-forward-week [left] [up] [right] [down] "}" calendar-forward-month "]" calendar-forward-year "" calendar-beginning-of-week "" calendar-end-of-week "a" calendar-beginning-of-month "e" calendar-end-of-month "<" calendar-beginning-of-year ">" calendar-end-of-year "" calendar-set-mark [67108896] "" calendar-exchange-point-and-mark "=" calendar-count-days-region "gd" calendar-goto-date "gj" calendar-goto-julian-date "ga" calendar-goto-astro-day-number "gh" calendar-goto-hebrew-date "gi" calendar-goto-islamic-date "gc" calendar-goto-iso-date "gf" calendar-goto-french-date "gml" calendar-goto-mayan-long-count-date "gmpc" calendar-previous-calendar-round-date "gmnc" calendar-next-calendar-round-date "gmph" calendar-previous-haab-date "gmnh" calendar-next-haab-date "gmpt" calendar-previous-tzolkin-date "gmnt" calendar-next-tzolkin-date "S" calendar-sunrise-sunset "M" calendar-phases-of-moon " " scroll-other-window "\f" redraw-calendar "." calendar-goto-today "o" calendar-other-month "q" exit-calendar "a" list-calendar-holidays "h" calendar-cursor-holidays "x" mark-calendar-holidays "u" calendar-unmark "m" mark-diary-entries "d" view-diary-entries "D" view-other-diary-entries "s" show-all-diary-entries "pd" calendar-print-day-of-year "pc" calendar-print-iso-date "pj" calendar-print-julian-date "pa" calendar-print-astro-day-number "ph" calendar-print-hebrew-date "pi" calendar-print-islamic-date "pf" calendar-print-french-date "pm" calendar-print-mayan-date "id" insert-diary-entry "iw" insert-weekly-diary-entry "im" insert-monthly-diary-entry "iy" insert-yearly-diary-entry "ia" insert-anniversary-diary-entry "ib" insert-block-diary-entry "ic" insert-cyclic-diary-entry "ihd" insert-hebrew-diary-entry "ihm" insert-monthly-hebrew-diary-entry "ihy" insert-yearly-hebrew-diary-entry "iid" insert-islamic-diary-entry "iim" insert-monthly-islamic-diary-entry "iiy" insert-yearly-islamic-diary-entry "?" calendar-goto-info-node] 14) #@69 Create a help buffer with a brief description of the calendar-mode. (defalias 'describe-calendar-mode #[nil #@285 ("!!#!q ) " . ["*Help*" princ format "Calendar Mode:\nFor a complete description, type %s\n%s\n" substitute-command-keys "\\\\[describe-mode] from within the calendar" "\\{calendar-mode-map}" standard-output help-mode print-help-return-message])(#$ . 50940) nil 7 (#$ . 50825) nil]) (put (quote calendar-mode) (quote mode-class) (quote special)) #@39 The mode line of the calendar buffer. (defvar calendar-mode-line-format (byte-code "!!!" [substitute-command-keys "\\\\[scroll-calendar-left]" "Calendar" "\\\\[calendar-goto-info-node] info/\\[calendar-other-month] other/\\[calendar-goto-today] today" (calendar-date-string (calendar-current-date) t) "\\\\[scroll-calendar-right]"] 6) (#$ . 51330)) #@39 Go to the info node for the calendar. (defalias 'calendar-goto-info-node #[nil #@211 ("!!0!\"0Nj!\f@@\f@A@\")" . [require info Info-find-emacs-command-nodes calendar where error "Couldn't find documentation for the calendar." ((info)) pop-to-buffer "*info*" Info-find-node])(#$ . 51839) nil 4 (#$ . 51753) nil]) #@188 A major mode for the calendar window. For a complete description, type \\[calendar-goto-info-node] from within the calendar. \\{calendar-mode-map} (defalias 'calendar-mode #[nil #@283 (" !\n !!!" . [kill-all-local-variables calendar-mode major-mode "Calendar" mode-name use-local-map calendar-mode-map t buffer-read-only nil indent-tabs-mode update-calendar-mode-line make-local-variable calendar-mark-ring displayed-month displayed-year])(#$ . 52318) nil 2 (#$ . 52093)]) #@364 Concatenate list of STRINGS separated with copies of CHAR to fill LENGTH. The effect is like mapconcat but the separating pieces are as balanced as possible. Each item of STRINGS is evaluated before concatenation so it can actually be an expression that evaluates to a string. If LENGTH is too short, the STRINGS are just concatenated and the result truncated. (defalias 'calendar-string-spread #[(strings char length) #@202 ("\nGW0C\nC#0\n\"\n\"GZ \nGS\n\n@ \nA \nT0   \\\n]\"\n@Q  T \nA30 O." . [mapcar eval strings 2 append "" length apply concat n m s 0 i make-string char])(#$ . 53068) nil 7 (#$ . 52640)]) #@69 Update the calendar mode line with the current date and date style. (defalias 'update-calendar-mode-line #[nil #@153 ("\n!!0\nq\f #)" . [bufferp get-buffer calendar-buffer calendar-string-spread calendar-mode-line-format 32 frame-width mode-line-format])(#$ . 53426) nil 4 (#$ . 53308)]) #@39 List of all calendar-related windows. (defalias 'calendar-window-list #[nil #@173 (" #\n*" . [calendar-buffer-list nil list calendar-buffers walk-windows (lambda (w) (if (memq (window-buffer w) calendar-buffers) (setq list (cons w list)))) t])(#$ . 53700) nil 4 (#$ . 53617)]) #@39 List of all calendar-related buffers. (defalias 'calendar-buffer-list #[nil #@275 (" !\f \n\n O0@ ;,0 !90 !80 90ɉ F0 \nB\nA0\n," . [get-file-buffer diary-file diary-buffer "*Yahrzeits*" lunar-phases-buffer holiday-buffer fancy-diary-buffer calendar-buffer buffers nil buffer-list b get-buffer bufferp])(#$ . 53994) nil 7 (#$ . 53911)]) #@65 Get out of the calendar window and hide it and related buffers. (defalias 'exit-calendar #[nil #@282 (" !0\n!0!0 0 \")" . [get-file-buffer diary-file diary-buffer buffer-modified-p yes-or-no-p "Diary modified; do you really want to exit the calendar? " error mapcar #[(x) " \"" [mapcar calendar-hide-window calendar-window-list] 3] calendar-window-list])(#$ . 54409) nil 4 (#$ . 54307) nil]) #@40 Hide WINDOW if it is calendar-related. (defalias 'calendar-hide-window #[(window) #@323 (" ! 0 ! >P0 '0 !!\"A='0˂P0 90 !90 !!P0 !E0 !K0 !P0 q )" . [window-live-p window window-buffer buffer calendar-buffer-list window-system assoc visibility frame-parameters window-frame icon nil window-dedicated-p iconify-frame select-window one-window-p delete-window bury-buffer])(#$ . 54822) nil 6 (#$ . 54733)]) #@64 Reposition the calendar window so the current date is visible. (defalias 'calendar-goto-today #[nil #@172 ("  !0 0 !)" . [calendar-current-date today calendar-date-is-visible-p generate-calendar-window update-calendar-mode-line calendar-cursor-to-visible-date])(#$ . 55290) nil 2 (#$ . 55183) nil]) #@78 Move the cursor forward ARG months. Movement is backward if ARG is negative. (defalias 'calendar-forward-month #[(arg) #@433 (" !@) A@) AA@)_  \\\\\\ ȦT ȥ) Uf0ͦU^0ϦU?^0ЦU)f0тj0 SH*Wx0) E!0 \"!-" . [calendar-cursor-to-nearest-date calendar-cursor-to-date t cursor-date date month day year 12 arg -1 macro-y 2 4 0 100 400 29 [31 28 31 30 31 30 31 31 30 31 30 31] last new-cursor-date calendar-date-is-visible-p calendar-other-month calendar-cursor-to-visible-date])(#$ . 55630) nil 5 (#$ . 55504) "p"]) #@80 Move the cursor forward by ARG years. Movement is backward if ARG is negative. (defalias 'calendar-forward-year #[(arg) #@46 (" _!" . [calendar-forward-month arg 12])(#$ . 56231) nil 3 (#$ . 56105) "p"]) #@81 Move the cursor backward by ARG months. Movement is forward if ARG is negative. (defalias 'calendar-backward-month #[(arg) #@42 (" [!" . [calendar-forward-month arg])(#$ . 56448) nil 2 (#$ . 56319) "p"]) #@77 Move the cursor backward ARG years. Movement is forward is ARG is negative. (defalias 'calendar-backward-year #[(arg) #@47 (" _!" . [calendar-forward-month arg -12])(#$ . 56656) nil 3 (#$ . 56532) "p"]) #@199 Scroll the displayed calendar left by ARG months. If ARG is negative the calendar is scrolled right. Maintains the relative position of the cursor with respect to the calendar as well as possible. (defalias 'scroll-calendar-left #[(arg) #@330 ("  U?M0_ \\\\\\ ȦT  ȥ) \"\f!<0\fL0 !F0 L0 E!*" . [calendar-cursor-to-nearest-date calendar-cursor-to-date calendar-current-date today old-date arg 0 displayed-year 12 displayed-month -1 macro-y generate-calendar-window calendar-cursor-to-visible-date calendar-date-is-visible-p 1])(#$ . 56991) nil 5 (#$ . 56746) "p"]) #@206 Scroll the displayed calendar window right by ARG months. If ARG is negative the calendar is scrolled left. Maintains the relative position of the cursor with respect to the calendar as well as possible. (defalias 'scroll-calendar-right #[(arg) #@40 (" [!" . [scroll-calendar-left arg])(#$ . 57616) nil 2 (#$ . 57364) "p"]) #@208 Scroll the displayed calendar window left by 3*ARG months. If ARG is negative the calendar is scrolled right. Maintains the relative position of the cursor with respect to the calendar as well as possible. (defalias 'scroll-calendar-left-three-months #[(arg) #@43 (" _!" . [scroll-calendar-left arg 3])(#$ . 57965) nil 3 (#$ . 57699) "p"]) #@208 Scroll the displayed calendar window right by 3*ARG months. If ARG is negative the calendar is scrolled left. Maintains the relative position of the cursor with respect to the calendar as well as possible. (defalias 'scroll-calendar-right-three-months #[(arg) #@44 (" _!" . [scroll-calendar-left arg -3])(#$ . 58318) nil 3 (#$ . 58051) "p"]) #@54 Returns the current date in a list (month day year). (defalias 'calendar-current-date #[nil #@163 (" OĝG O! O!E)" . [current-time-string s 4 7 ("Dec" "Nov" "Oct" "Sep" "Aug" "Jul" "Jun" "May" "Apr" "Mar" "Feb" "Jan") string-to-number 8 10 20 24])(#$ . 58503) nil 7 (#$ . 58404)]) #@177 Returns a list (month day year) of current cursor position. If cursor is not on a specific date, signals an error if optional parameter ERROR is t, otherwise just returns nil. (defalias 'calendar-cursor-to-date #[(&optional error) #@390 ("i\n \\\\ĦU0Ă0 U*0 U*0S>0 U<0 U<0T>0\n!d0e`\"Wd0! `T`\\{!\nE)0!0!!~0 \nE00!)00!," . [25 segment displayed-month -1 12 month 0 displayed-year 1 2 year looking-at "[0-9]" count-lines re-search-backward "[^0-9]" string-to-int 4 "\\*" "[^*]" ".\\*\\*" calendar-starred-day error "Not on a date!"])(#$ . 58943) nil 6 (#$ . 58705)]) #@168 Move the cursor to the closest date. The position of the cursor is unchanged if it is already on a date. Returns the list (month day year) giving the cursor position. (defalias 'calendar-cursor-to-nearest-date #[nil #@292 (" i 0\n]0e`\"V0! !![0!U0 WH0 V<0 WH0 VU0 WU0#![0# *" . [calendar-cursor-to-date column date 3 count-lines goto-line move-to-column looking-at "[0-9]" " *$" 25 27 50 52 75 re-search-forward nil t backward-char 1 re-search-backward])(#$ . 59595) nil 5 (#$ . 59372)]) #@70 Move the cursor forward ARG days. Moves backward if ARG is negative. (defalias 'calendar-forward-day #[(arg) #@559 ("U?0 0 0V0S  AA@)S@)A@) AA@)\n S_\\\fV0\f_\\ХZ\f\n\nΦU0\nѦU?0\nҦU)0\fT\f\f-_Υѥ[ҥ\\\\\\\\*\\!@)AA@)!0\"!-" . [arg 0 calendar-cursor-to-date cursor-date calendar-cursor-to-nearest-date calendar-gregorian-from-absolute date prior-years month day year 31 day-of-year 2 4 23 10 100 400 365 new-cursor-date new-display-month new-display-year calendar-date-is-visible-p calendar-other-month calendar-cursor-to-visible-date])(#$ . 60041) nil 9 (#$ . 59925) "p"]) #@66 Move the cursor back ARG days. Moves forward if ARG is negative. (defalias 'calendar-backward-day #[(arg) #@40 (" [!" . [calendar-forward-day arg])(#$ . 60754) nil 2 (#$ . 60642) "p"]) #@71 Move the cursor forward ARG weeks. Moves backward if ARG is negative. (defalias 'calendar-forward-week #[(arg) #@43 (" _!" . [calendar-forward-day arg 7])(#$ . 60953) nil 3 (#$ . 60836) "p"]) #@67 Move the cursor back ARG weeks. Moves forward if ARG is negative. (defalias 'calendar-backward-week #[(arg) #@44 (" _!" . [calendar-forward-day arg -7])(#$ . 61152) nil 3 (#$ . 61038) "p"]) #@53 Move the cursor back ARG calendar-week-start-day's. (defalias 'calendar-beginning-of-week #[(arg) #@189 (" ! U0_\"0 Z\"S_\\!)" . [calendar-cursor-to-nearest-date calendar-day-of-week calendar-cursor-to-date day calendar-backward-day calendar-week-start-day arg 7 mod])(#$ . 61343) nil 4 (#$ . 61238) "p"]) #@58 Move the cursor forward ARG calendar-week-start-day+6's. (defalias 'calendar-end-of-week #[(arg) #@198 (" ! S\"U0_*0 Z\"ZS_\\!)" . [calendar-cursor-to-nearest-date calendar-day-of-week calendar-cursor-to-date day calendar-forward-day mod calendar-week-start-day 7 arg 6])(#$ . 61678) nil 5 (#$ . 61574) "p"]) #@48 Move the cursor backward ARG month beginnings. (defalias 'calendar-beginning-of-month #[(arg) #@207 (" @)\nA@)\nAA@)\fU(0!40 E!S!," . [calendar-cursor-to-nearest-date calendar-cursor-to-date date month day year 1 calendar-backward-month arg calendar-cursor-to-visible-date])(#$ . 62019) nil 5 (#$ . 61918) "p"]) #@41 Move the cursor forward ARG month ends. (defalias 'calendar-end-of-month #[(arg) #@460 (" @)\nA@)\nAA@) UE0 ǦU=0 ɦU?=0 ʦU)E0˂I0 SH* \f U`0  E!S _ \\\\\\ЦTХ) U0 ǦU0 ɦU?0 ʦU)0˂0 SH* E  !0 \"0 !." . [calendar-cursor-to-nearest-date calendar-cursor-to-date date month day year 2 4 0 100 400 29 [31 28 31 30 31 30 31 31 30 31 30 31] last-day calendar-cursor-to-visible-date arg 12 -1 macro-y calendar-date-is-visible-p calendar-other-month])(#$ . 62356) nil 5 (#$ . 62268) "p"]) #@47 Move the cursor backward ARG year beginnings. (defalias 'calendar-beginning-of-year #[(arg) #@304 (" @)\nA@)\nAA@)Ɖ E\fU60 U60 _!S0 UK0!K0!S0  SZ\"-" . [calendar-cursor-to-nearest-date calendar-cursor-to-date date month day year 1 jan-first calendar-backward-month arg 12 calendar-date-is-visible-p calendar-cursor-to-visible-date calendar-other-month])(#$ . 62957) nil 5 (#$ . 62858) "p"]) #@46 Move the cursor forward ARG year beginnings. (defalias 'calendar-end-of-year #[(arg) #@329 (" @)\nA@)\nAA@) E\fU60 U60\n_![0\nUK0!K0![0 \nSZ\"E!-" . [calendar-cursor-to-nearest-date calendar-cursor-to-date date month day year 12 31 dec-31 calendar-forward-month arg 1 calendar-date-is-visible-p calendar-cursor-to-visible-date calendar-other-month displayed-year])(#$ . 63395) nil 5 (#$ . 63303) "p"]) #@183 Compute the list (month day year) corresponding to the absolute DATE. The absolute date is the number of days elapsed since the (imaginary) Gregorian date Sunday, December 31, 1 BC. (defalias 'calendar-gregorian-from-absolute #[(date) #@359 ("S¥ ¦ť\fŦȥ Ȧ\n˥\f\n˦T __ _\f\\\\\\UL0\fUT0E0TU0ЦU0ϦU?0ΦU)0؂0SH* W0 Z )0T^0 E*.\n" . [date d0 146097 n400 d1 36524 n100 d2 1461 n4 d3 365 n1 day 400 100 4 year 12 31 1 month 2 0 29 [31 28 31 30 31 30 31 31 30 31 30 31] mdays])(#$ . 64009) nil 5 (#$ . 63767)]) #@48 Move the cursor to DATE that is on the screen. (defalias 'calendar-cursor-to-visible-date #[(date) #@279 ("@)A@)AA@) E!\n E! Z\"\\\\ʥ\\! $T_! Z\"_\\\\!," . [date month day year calendar-day-of-week 1 first-of-month-weekday goto-line mod calendar-week-start-day 7 -1 3 move-to-column calendar-interval displayed-month displayed-year 25 6])(#$ . 64512) nil 8 (#$ . 64406)]) #@64 Display a three-month calendar centered around MONTH and YEAR. (defalias 'calendar-other-month #[(month year) #@267 (" U 0\n U?90 \n\"!'070!3070\nE!*" . [month displayed-month year displayed-year calendar-cursor-to-date calendar-current-date today old-date generate-calendar-window calendar-cursor-to-visible-date calendar-date-is-visible-p 1])(#$ . 64946) nil 4 (#$ . 64829) (byte-code "!" [calendar-read-date noday] 2)]) #@190 Mark the date under the cursor, or jump to marked date. With no prefix argument, push current date onto marked date ring. With argument, jump to mark, pop it, and put point at end of ring. (defalias 'calendar-set-mark #[(arg) #@223 ("! 0\n\fBG TV0 \fơ!60\f*0!60\f@!\f\nCA)" . [calendar-cursor-to-date t date arg calendar-mark-ring mark-ring-max nil message "Mark set" error "No mark set in this buffer" calendar-goto-date])(#$ . 65533) nil 3 (#$ . 65300) "P"]) #@60 Exchange the current cursor position with the marked date. (defalias 'calendar-exchange-point-and-mark #[nil #@149 ("@!0!0 AB\f!*" . [calendar-mark-ring calendar-cursor-to-date t date mark error "No mark set in this buffer" calendar-goto-date])(#$ . 65914) nil 4 (#$ . 65798) nil]) #@66 Count the number of days (inclusive) between point and the mark. (defalias 'calendar-count-days-region #[nil #@540 ("!AA@)S\n@)\nA@)\nAA@) \fS_\\\fVd0\f_\\̥ZʦU[0ΦU?[0ϦU)d0T- _ ʥ Υ[ ϥ\\\\\\\\*@0!AA@)S\n@)\nA@)\nAA@) \fS_\\\fV0\f_\\̥ZʦU0ΦU?0ϦU)0T- _ ʥ Υ[ ϥ\\\\\\\\*ZV [TV؂#*" . [calendar-cursor-to-date t date prior-years month day year 31 day-of-year 2 4 23 10 0 100 400 365 calendar-mark-ring error "No mark set in this buffer" days message "Region has %d day%s (inclusive)" 1 "s" ""])(#$ . 66221) nil 9 (#$ . 66105) nil]) #@18 Not implemented. (defalias 'calendar-not-implemented #[nil #@97 (" !\"" . [error "%s not available in the calendar" global-key-binding this-command-keys])(#$ . 66868) nil 4 (#$ . 66803) nil]) #@252 Return an object read from the minibuffer. Prompt with the string PROMPT and use the function ACCEPTABLE to decide if entered item is acceptable. If non-nil, optional third arg INITIAL-CONTENTS is a string to insert in the minibuffer before reading. (defalias 'calendar-read #[(prompt acceptable &optional initial-contents) #@96 (" \n\"\f !0 \n\"0 )" . [read-minibuffer prompt initial-contents value acceptable])(#$ . 67339) nil 3 (#$ . 67008)]) #@215 Prompt for Gregorian date. Returns a list (month day year). If optional NODAY is t, does not ask for day, but just returns (month nil year); if NODAY is any other non-nil value the value returned is (month year)  (defalias 'calendar-read-date #[(&optional noday) #@559 (" AA@)!#\n\"\"$!#\"AUb0צUZ0٦U?Z0ڦU)b0ۂg0SH*0=0E0D0\"\"E-" . [calendar-read "Year (>0): " (lambda (x) (> x 0)) int-to-string calendar-current-date date year calendar-month-name-array month-array t completion-ignore-case assoc capitalize completing-read "Month name: " mapcar list append nil calendar-make-alist 1 month 2 4 0 100 400 29 [31 28 31 30 31 30 31 31 30 31 30 31] last noday format "Day (1-%d): " (lambda (x) (and (< 0 x) (<= x last)))])(#$ . 67745) nil 10 (#$ . 67474)]) #@22 Move cursor to DATE. (defalias 'calendar-goto-date #[(date) #@163 ("@)AA@)!)0\nU%0 U%0Ƃ&0\n \"*!" . [date year month calendar-date-is-visible-p calendar-other-month 1 2 calendar-cursor-to-visible-date])(#$ . 68410) nil 4 (#$ . 68343) (list (calendar-read-date))]) #@66 Move cursor to Julian DATE; echo Julian date unless NOECHO is t. (defalias 'calendar-goto-julian-date #[(date &optional noecho) #@148 (" !!!\f0 " . [calendar-goto-date calendar-gregorian-from-absolute calendar-absolute-from-julian date noecho calendar-print-julian-date])(#$ . 68774) nil 4 (#$ . 68639) (byte-code "  AA@)S@) A@)\nAA@) \n S_\\  Vz  _\\ѥZ   ϦUq ӦU?q ԦU)z T  -_ϥӥ[ԥ\\\\\\\\*!AA@)!# \"\"$!#\"A  ϦU U SH& U U&#\"\n \n E.C" [calendar-current-date today calendar-read "Julian calendar year (>0): " (lambda (x) (> x 0)) int-to-string calendar-julian-from-absolute date prior-years month day year 31 day-of-year 2 4 23 10 0 100 400 365 calendar-month-name-array month-array t completion-ignore-case assoc capitalize completing-read "Julian calendar month name: " mapcar list append nil calendar-make-alist 1 29 [31 28 31 30 31 30 31 31 30 31 30 31] last format "Julian calendar day (%d-%d): " 3 (lambda (x) (and (< (if (and (= year 1) (= month 1)) 2 0) x) (<= x last)))] 13)]) #@66 Move cursor to Hebrew DATE; echo Hebrew date unless NOECHO is t. (defalias 'calendar-goto-hebrew-date #[(date &optional noecho) #@148 (" !!!\f0 " . [calendar-goto-date calendar-gregorian-from-absolute calendar-absolute-from-hebrew date noecho calendar-print-hebrew-date])(#$ . 69930) nil 4 (#$ . 69795) (byte-code "  AA@)S@) A@)\nAA@) \n S_\\  Vz  _\\ѥZ   ϦUq ӦU?q ԦU)z T  -_ϥӥ[ԥ\\\\\\\\*!AA@)!#  !\"\" U$!#\"A   \") U U++)#\"\n \n E.C" [calendar-current-date today calendar-read "Hebrew calendar year (>3760): " (lambda (x) (> x 3760)) int-to-string calendar-hebrew-from-absolute date prior-years month day year 31 day-of-year 2 4 23 10 0 100 400 365 hebrew-calendar-leap-year-p calendar-hebrew-month-name-array-leap-year calendar-hebrew-month-name-array-common-year month-array t completion-ignore-case assoc capitalize completing-read "Hebrew calendar month name: " mapcar list append nil 3761 (lambda (x) (let ((m (cdr (assoc (car x) (calendar-make-alist month-array))))) (< 0 (calendar-absolute-from-hebrew (list m (hebrew-calendar-last-day-of-month m year) year))))) calendar-make-alist 1 hebrew-calendar-last-day-of-month last 18 first format "Hebrew calendar day (%d-%d): " (lambda (x) (and (<= first x) (<= x last)))] 13)]) #@68 Move cursor to Islamic DATE; echo Islamic date unless NOECHO is t. (defalias 'calendar-goto-islamic-date #[(date &optional noecho) #@150 (" !!!\f0 " . [calendar-goto-date calendar-gregorian-from-absolute calendar-absolute-from-islamic date noecho calendar-print-islamic-date])(#$ . 71340) nil 4 (#$ . 71202) (byte-code "  AA@)S@) A@)\nAA@) \n S_\\  Vz  _\\ѥZ   ϦUq ӦU?q ԦU)z T  -_ϥӥ[ԥ\\\\\\\\*!AA@)!# \"\"$!#\"A   \"%%\"\"\n \n E.C" [calendar-current-date today calendar-read "Islamic calendar year (>0): " (lambda (x) (> x 0)) int-to-string calendar-islamic-from-absolute date prior-years month day year 31 day-of-year 2 4 23 10 0 100 400 365 calendar-islamic-month-name-array month-array t completion-ignore-case assoc capitalize completing-read "Islamic calendar month name: " mapcar list append nil calendar-make-alist 1 islamic-calendar-last-day-of-month last format "Islamic calendar day (1-%d): " (lambda (x) (and (< 0 x) (<= x last)))] 13)]) #@60 Move cursor to ISO DATE; echo ISO date unless NOECHO is t. (defalias 'calendar-goto-iso-date #[(date &optional noecho) #@142 (" !!!\f0 " . [calendar-goto-date calendar-gregorian-from-absolute calendar-absolute-from-iso date noecho calendar-print-iso-date])(#$ . 72420) nil 4 (#$ . 72294) (byte-code "  AA@)!#ʉTEAA@)S\f@) A@)AA@) S_\\ V _\\ӥZ˦UզU?֦U)T-\f_\f˥\fե[\f֥\\\\\\\\*\"S!@)\"\"\"E-C" [calendar-current-date today calendar-read "ISO calendar year (>0): " (lambda (x) (> x 0)) int-to-string date year calendar-iso-from-absolute calendar-dayname-on-or-before 1 4 prior-years month day 31 day-of-year 2 23 10 0 100 400 365 no-weeks format "ISO calendar week (1-%d): " (lambda (x) (and (> x 0) (<= x no-weeks))) week "ISO day (1-7): " (lambda (x) (and (<= 1 x) (<= x 7)))] 11)]) #@66 The number of months difference between MON1, YR1 and MON2, YR2. (defalias 'calendar-interval #[(mon1 yr1 mon2 yr2) #@43 (" Z_ \fZ\\" . [yr2 yr1 12 mon2 mon1])(#$ . 73341) nil 3 (#$ . 73219)]) #@64 Returns a string with the name of the day of the week of DATE. (defalias 'calendar-day-name #[(date) #@67 ("\n!H" . [calendar-day-name-array calendar-day-of-week date])(#$ . 73529) nil 3 (#$ . 73422)]) (byte-code "! B! B" [boundp calendar-day-name-array ["Sunday" "Monday" "Tuesday" "Wednesday" "Thursday" "Friday" "Saturday"] current-load-list calendar-month-name-array ["January" "February" "March" "April" "May" "June" "July" "August" "September" "October" "November" "December"]] 2) #@164 Make an assoc list corresponding to SEQUENCE. Start at index 1, unless optional START-INDEX is provided. If FILTER is provided, apply it to each item in the list. (defalias 'calendar-make-alist #[(sequence &optional start-index filter) #@133 (" 0S\n0\"\")" . [start-index 0 index mapcar #[(x) "T 0 \n!0\nB" [index filter x] 2] append sequence nil])(#$ . 74183) nil 5 (#$ . 73940)]) #@20 The name of MONTH. (defalias 'calendar-month-name #[(month) #@47 (" SH" . [calendar-month-name-array month])(#$ . 74420) nil 2 (#$ . 74354)]) #@77 Returns the day-of-the-week index of DATE, 0 for Sunday, 1 for Monday, etc. (defalias 'calendar-day-of-week #[(date) #@216 ("AA@)S@)A@)AA@) \nS_\\\nV]0\n_\\ʥZ\fȦUT0\f̦U?T0\fͦU)]0T- _ ȥ ̥[ ͥ\\\\\\\\*Ϧ" . [date prior-years month day year 31 day-of-year 2 4 23 10 0 100 400 365 7])(#$ . 74629) nil 8 (#$ . 74505)]) #@64 Delete all diary/holiday marks/highlighting from the calendar. (defalias 'calendar-unmark #[nil #@94 (" " . [nil mark-holidays-in-calendar mark-diary-entries-in-calendar redraw-calendar])(#$ . 74985) nil 1 (#$ . 74883) nil]) #@67 Returns t if DATE is legal and is visible in the calendar window. (defalias 'calendar-date-is-visible-p #[(date) #@137 (" \n @) AA@)$ ! 0\fV 0\fW)" . [calendar-interval displayed-month displayed-year date gap calendar-date-is-legal-p 2 -2])(#$ . 75241) nil 6 (#$ . 75121)]) #@36 Returns t if DATE is a legal date. (defalias 'calendar-date-is-legal-p #[(date) #@197 ("@)A@)AA@) X^0 X^0\nX^0\n UR0 ǦUJ0 ɦU?J0 ʦU)R0˂V0 SH*X^0 X+" . [date year day month 1 12 2 4 0 100 400 29 [31 28 31 30 31 30 31 31 30 31 30 31]])(#$ . 75503) nil 5 (#$ . 75416)]) #@48 Returns t if the DATE1 and DATE2 are the same. (defalias 'calendar-date-equal #[(date1 date2) #@78 ("@)\n@)U-0A@)\nA@)U-0AA@)\nAA@)U" . [date1 date date2])(#$ . 75838) nil 3 (#$ . 75738)]) #@134 Mark DATE in the calendar window with MARK. MARK is either a single-character string or a face. MARK defaults to diary-entry-marker. (defalias 'mark-visible-calendar-date #[(date &optional mark) #@245 (" !70\nq !\f0 ;,0u!\fcu)60`S`T\"\f#*" . [calendar-date-is-legal-p date calendar-buffer calendar-cursor-to-visible-date mark diary-entry-marker nil buffer-read-only 1 delete-char -2 overlay-put make-overlay face])(#$ . 76157) nil 5 (#$ . 75955)]) #@186 Replace the date under the cursor in the calendar window with asterisks. This function can be used with the today-visible-calendar-hook run after the calendar window has been prepared. (defalias 'calendar-star-date #[nil #@186 ("!u``Z{!!c!!)" . [nil buffer-read-only make-variable-buffer-local calendar-starred-day 1 string-to-int 2 delete-char -2 "**" backward-char set-buffer-modified-p])(#$ . 76669) nil 4 (#$ . 76441)]) #@216 Mark the date under the cursor in the calendar window. The date is marked with calendar-today-marker. This function can be used with the today-visible-calendar-hook run after the calendar window has been prepared. (defalias 'calendar-mark-today #[nil #@91 (" \n\"" . [mark-visible-calendar-date calendar-cursor-to-date calendar-today-marker])(#$ . 77152) nil 3 (#$ . 76894)]) #@104 Returns t if DATE1 is before DATE2, nil otherwise. The actual dates are in the car of DATE1 and DATE2. (defalias 'calendar-date-compare #[(date1 date2) #@356 ("@AA@)S @) A@) AA@)\f S_\\ V^0 _\\˥Z ɦUU0 ͦU?U0 ΦU)^0T-\n_\nɥ\nͥ[\nΥ\\\\\\\\*@AA@)S @) A@) AA@)\f S_\\ V0 _\\˥Z ɦU0 ͦU?0 ΦU)0T-\n_\nɥ\nͥ[\nΥ\\\\\\\\*W" . [date1 date prior-years month day year 31 day-of-year 2 4 23 10 0 100 400 365 date2])(#$ . 77441) nil 9 (#$ . 77282)]) #@270 A string form of DATE, driven by the variable `calendar-date-display-form'. An optional parameter ABBREVIATE, when t, causes the month and day names to be abbreviated to three characters. An optional parameter NODAYNAME, when t, omits the name of the day of the week. (defalias 'calendar-date-string #[(date &optional abbreviate nodayname) #@262 ("?0 0 !O0 ! @) ,0!O00! A@)! ! AA@)!\f#." . [nodayname abbreviate calendar-day-name date 0 3 dayname month calendar-month-name monthname int-to-string day year mapconcat eval calendar-date-display-form ""])(#$ . 78184) nil 5 (#$ . 77836)]) #@429 Returns the absolute date of the DAYNAME on or before absolute DATE. DAYNAME=0 means Sunday, DAYNAME=1 means Monday, and so on. Note: Applying this function to d+6 gives us the DAYNAME on or after an absolute day d. Similarly, applying it to d+3 gives the DAYNAME nearest to absolute date d, applying it to d-1 gives the DAYNAME previous to absolute date d, and applying it to d+7 gives the DAYNAME following absolute date d. (defalias 'calendar-dayname-on-or-before #[(dayname date) #@33 (" Z¦Z" . [date dayname 7])(#$ . 78977) nil 3 (#$ . 78485)]) #@343 The absolute date of Nth DAYNAME in MONTH, YEAR before/after optional DAY. A DAYNAME of 0 means Sunday, 1 means Monday, and so on. If N<0, return the Nth DAYNAME before MONTH DAY, YEAR (inclusive). If N>0, return the Nth DAYNAME after MONTH DAY, YEAR (inclusive). If DAY is omitted, it defaults to 1 if N>0, and MONTH's last day otherwise. (defalias 'calendar-nth-named-absday #[(n dayname month year &optional day) #@591 ("V0S_\f 0E  AA@)S\n   @)  A@)  AA@) S_\\\f V0\f _\\ХZ\fΦUz0ѦU?z0ҦU)0\fT\f\f-\n_\nΥ\nѥ[\nҥ\\\\\\\\*\\\"\\T_\f 0 U0ΦU0ѦU?0ҦU)0Ղ0 SH*E  AA@)S\n   @)  A@)  AA@) S_\\\f VR\f _\\ХZ\fΦUIѦU?IҦU)R\fT\f\f-\n_\nΥ\nѥ[\nҥ\\\\\\\\*\"\\" . [n 0 7 calendar-dayname-on-or-before dayname month day 1 year date prior-years 31 day-of-year 2 4 23 10 100 400 365 6 29 [31 28 31 30 31 30 31 31 30 31 30 31]])(#$ . 79474) nil 11 (#$ . 79049)]) #@334 The date of Nth DAYNAME in MONTH, YEAR before/after optional DAY. A DAYNAME of 0 means Sunday, 1 means Monday, and so on. If N<0, return the Nth DAYNAME before MONTH DAY, YEAR (inclusive). If N>0, return the Nth DAYNAME after MONTH DAY, YEAR (inclusive). If DAY is omitted, it defaults to 1 if N>0, and MONTH's last day otherwise. (defalias 'calendar-nth-named-day #[(n dayname month year &optional day) #@107 ("\n \f %!" . [calendar-gregorian-from-absolute calendar-nth-named-absday n dayname month year day])(#$ . 80518) nil 7 (#$ . 80105)]) #@96 String of day number of year of Gregorian DATE. Defaults to today's date if DATE is not given. (defalias 'calendar-day-of-year-string #[(&optional date) #@405 ("0 AA@)\n@)A@)AA@) \fS_\\\fVa0\f_\\˥Z ɦUX0 ͦU?X0 ΦU)a0T- E@)A@)AA@) \fS_\\\fV0\f_\\˥Z ɦU0 ͦU?0 ΦU)0T- Z U0Ԃ0%," . [date calendar-current-date d 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"])(#$ . 80823) nil 8 (#$ . 80663)]) #@75 Show day number in year/days remaining in year for date under the cursor. (defalias 'calendar-print-day-of-year #[nil #@80 ("!!!" . [message calendar-day-of-year-string calendar-cursor-to-date t])(#$ . 81390) nil 4 (#$ . 81266) nil]) #@503 The number of days elapsed between the Gregorian date 12/31/1 BC and DATE. The `ISO year' corresponds approximately to the Gregorian year, but weeks start on Monday and end on Sunday. The first week of the ISO year is the first such week in which at least 4 days are in a year. The ISO commercial DATE has the form (week day year) in which week is in the range 1..52 and day is in the range 0..6 (1 = Monday, 2 = Tuesday, ..., 0 = Sunday). The Gregorian date Sunday, December 31, 1 BC is imaginary. (defalias 'calendar-absolute-from-iso #[(date) #@315 ("@)A@)AA@)ʼn EAA@)S@)A@)AA@)\nS_\\ V|0 _\\ͥZ ˦Us0 ϦU?s0 ЦU)|0 T  -_˥ϥ[Х\\\\\\\\*\\\" S_\nU0Ԃ0\nS\\\\+" . [date week day year calendar-dayname-on-or-before 1 prior-years month 31 day-of-year 2 4 23 10 0 100 400 365 3 7 6])(#$ . 82069) nil 10 (#$ . 81513)]) #@549 Compute the `ISO commercial date' corresponding to the absolute DATE. The ISO year corresponds approximately to the Gregorian year, but weeks start on Monday and end on Sunday. The first week of the ISO year is the first such week in which at least 4 days are in a year. The ISO commercial date has the form (week day year) in which week is in the range 1..52 and day is in the range 0..6 (1 = Monday, 2 = Tuesday, ..., 0 = Sunday). The absolute date is the number of days elapsed since the (imaginary) Gregorian date Sunday, December 31, 1 BC. (defalias 'calendar-iso-from-absolute #[(date) #@173 (" Z!AA@) ȉTE!Y+0 \\T0 *\\ ȉ E!ZʥT ʦ E*" . [calendar-gregorian-from-absolute date 3 approx 0 sum y calendar-absolute-from-iso 1 year 7])(#$ . 83026) nil 7 (#$ . 82424)]) #@86 String of ISO date of Gregorian DATE. Defaults to today's date if DATE is not given. (defalias 'calendar-iso-date-string #[(&optional date) #@357 ("0 AA@)S@)A@)AA@)\f S_\\ Vb0 _\\˥Z ɦUY0 ͦU?Y0 ΦU)b0T-\n_\nɥ\nͥ[\nΥ\\\\\\\\*Ѧ!\fU0т0\f@)AA@)$+" . [date calendar-current-date prior-years month day year 31 day-of-year 2 4 23 10 0 100 400 365 d 7 calendar-iso-from-absolute iso-date format "Day %s of week %d of %d"])(#$ . 83384) nil 8 (#$ . 83237)]) #@57 Show equivalent ISO date for the date under the cursor. (defalias 'calendar-print-iso-date #[nil #@94 ("!!\"" . [message "ISO date: %s" calendar-iso-date-string calendar-cursor-to-date t])(#$ . 83882) nil 5 (#$ . 83779) nil]) #@185 Compute the Julian (month day year) corresponding to the absolute DATE. The absolute date is the number of days elapsed since the (imaginary) Gregorian date Sunday, December 31, 1 BC. (defalias 'calendar-julian-from-absolute #[(date) #@267 ("\\¥ȉTE!Y%0 \\T\f0 *\\ \n\nUF0 ˦UF0̂K0\nSH E!V_0 \\\nT\n/0 *T E!SZ E," . [date 2 366 approx 0 sum y calendar-absolute-from-julian 1 year m 4 29 [31 28 31 30 31 30 31 31 30 31 30 31] month day])(#$ . 84260) nil 7 (#$ . 84019)]) #@135 The number of days elapsed between the Gregorian date 12/31/1 BC and DATE. The Gregorian date Sunday, December 31, 1 BC is imaginary. (defalias 'calendar-absolute-from-julian #[(date) #@231 ("@)A@)AA@)@)A@)AA@)\n S_\\ Vb0 _\\ɥZ ǦU[0 ˦U?[0 ̦U)b0 T - ˦U~0 ̦U~0 V~0͂0 S_ Sǥ\\\\\\\\+" . [date year day month 31 day-of-year 2 4 23 10 0 100 400 1 365 -2])(#$ . 84757) nil 6 (#$ . 84566)]) #@142 String of Julian date of Gregorian DATE. Defaults to today's date if DATE is not given. Driven by the variable `calendar-date-display-form'. (defalias 'calendar-julian-date-string #[(&optional date) #@312 ("\n0 AA@)S\n@)\nA@)\nAA@) S_\\ Vk0 _\\ͥZ ˦Ub0ϦU?b0ЦU)k0 T  -\f_\f˥\fϥ[\fХ\\\\\\\\*!#" . [calendar-date-string calendar-julian-from-absolute date calendar-current-date prior-years month day year 31 day-of-year 2 4 23 10 0 100 400 365 nil t])(#$ . 85233) nil 10 (#$ . 85027)]) #@67 Show the Julian calendar equivalent of the date under the cursor. (defalias 'calendar-print-julian-date #[nil #@100 ("!!\"" . [message "Julian date: %s" calendar-julian-date-string calendar-cursor-to-date t])(#$ . 85701) nil 5 (#$ . 85584) nil]) #@59 Returns t if YEAR is a leap year on the Islamic calendar. (defalias 'islamic-calendar-leap-year-p #[(year) #@66 ("̯ >" . [year 30 2 5 7 10 13 16 18 21 24 26 29])(#$ . 85956) nil 12 (#$ . 85843)]) #@60 The last day in MONTH during YEAR on the Islamic calendar. (defalias 'islamic-calendar-last-day-of-month #[(month year) #@123 ("Ư>0LJ̯>0͇!&0LJ͇" . [month 1 3 5 7 9 11 30 2 4 6 8 10 29 islamic-calendar-leap-year-p year])(#$ . 86188) nil 7 (#$ . 86061)]) #@65 Return the day number within the year of the Islamic date DATE. (defalias 'islamic-calendar-day-number #[(date) #@65 ("@)A@) å_ Så_\n\\\\*" . [date month day 2 30 29])(#$ . 86467) nil 4 (#$ . 86349)]) #@144 Absolute date of Islamic DATE. The absolute date is the number of days elapsed since the (imaginary) Gregorian date Sunday, December 31, 1 BC. (defalias 'calendar-absolute-from-islamic #[(date) #@311 ("@)A@)AA@)ĦW#0ǂ~0 W-0ɂ~0 W70˂~0 WA0Ƃ~0 WK0΂~0 WU0Ђ~0 W_0Ȃ~0 Wi0ӂ~0 Ws0ʂ~0 W}0ւ~0! S_ ĥ_\\\\\\\\-" . [date month day year 30 y 3 0 6 1 8 2 11 14 4 17 5 19 22 7 25 27 9 10 leap-years-in-cycle islamic-calendar-day-number 354 227014])(#$ . 86772) nil 6 (#$ . 86571)]) #@187 Compute the Islamic date (month day year) corresponding to absolute DATE. The absolute date is the number of days elapsed since the (imaginary) Gregorian date Sunday, December 31, 1 BC. (defalias 'calendar-islamic-from-absolute #[(date) #@270 ("W 0‰EZĥɉTE!Y30\\T0*\\\n   \n\"\nE!V_0\\ T ?0*T  \nE!SZ \nE," . [date 227015 0 227014 355 approx sum y calendar-absolute-from-islamic 1 year m islamic-calendar-last-day-of-month month day])(#$ . 87366) nil 7 (#$ . 87122)]) (byte-code "! B" [boundp calendar-islamic-month-name-array ["Muharram" "Safar" "Rabi I" "Rabi II" "Jumada I" "Jumada II" "Rajab" "Sha'ban" "Ramadan" "Shawwal" "Dhu al-Qada" "Dhu al-Hijjah"] current-load-list] 2) #@206 String of Islamic date before sunset of Gregorian DATE. Returns the empty string if DATE is pre-Islamic. Defaults to today's date if DATE is not given. Driven by the variable `calendar-date-display-form'. (defalias 'calendar-islamic-date-string #[(&optional date) #@418 ("\n0 AA@)S\n@)\nA@)\nAA@) S_\\ Vk0 _\\ͥZ ˦Ub0ϦU?b0ЦU)k0 T  -\f_\f˥\fϥ[\fХ\\\\\\\\*!AA@)W0Ղ0#*" . [calendar-islamic-month-name-array calendar-islamic-from-absolute date calendar-current-date prior-years month day year 31 day-of-year 2 4 23 10 0 100 400 365 islamic-date calendar-month-name-array 1 "" calendar-date-string nil t])(#$ . 88169) nil 10 (#$ . 87898)]) #@68 Show the Islamic calendar equivalent of the date under the cursor. (defalias 'calendar-print-islamic-date #[nil #@161 ("!!Ę0!0 \")" . [calendar-islamic-date-string calendar-cursor-to-date t i "" message "Date is pre-Islamic" "Islamic date (until sunset): %s"])(#$ . 88745) nil 4 (#$ . 88626) nil]) #@186 Compute the Hebrew date (month day year) corresponding to absolute DATE. The absolute date is the number of days elapsed since the (imaginary) Gregorian date Sunday, December 31, 1 BC. (defalias 'calendar-hebrew-from-absolute #[(date) #@334 (" !\n@)SH\nAA@)\\ TE!Y00T0! \f\f\"E!VO0\f T60) \fE!ZT\fE," . [calendar-gregorian-from-absolute date greg-date [9 10 11 12 1 2 3 4 7 7 7 8] month nil day 3760 year calendar-absolute-from-hebrew 7 1 hebrew-calendar-last-month-of-year length hebrew-calendar-last-day-of-month])(#$ . 89191) nil 7 (#$ . 88949)]) #@43 t if YEAR is a Hebrew calendar leap year. (defalias 'hebrew-calendar-leap-year-p #[(year) #@29 ("_T¦W" . [year 7 19])(#$ . 89659) nil 2 (#$ . 89563)]) #@45 The last month of the Hebrew calendar YEAR. (defalias 'hebrew-calendar-last-month-of-year #[(year) #@60 (" !0‡Ç" . [hebrew-calendar-leap-year-p year 13 12])(#$ . 89831) nil 2 (#$ . 89726)]) #@32 The last day of MONTH in YEAR. (defalias 'hebrew-calendar-last-day-of-month #[(month year) #@198 ("ů>30U0!30U&0!30U50!50͇·" . [month 2 4 6 10 13 12 hebrew-calendar-leap-year-p year 8 hebrew-calendar-long-heshvan-p 9 hebrew-calendar-short-kislev-p 29 30])(#$ . 90027) nil 6 (#$ . 89929)]) #@96 Days from Sun. prior to start of Hebrew calendar to mean conjunction of Tishri of Hebrew YEAR. (defalias 'hebrew-calendar-elapsed-days #[(year) #@348 ("S_S_S_T\\\\Ʀ_\\ _ ƥ_ ƥ\\\\\\ ̦_ Ʀ\\ _ ̥\\\\ Y0ĦUh0 Yh0!0ĦU0 Y0S!0T0ĦE>0T0." . [year 19 235 12 7 months-elapsed 1080 793 204 parts-elapsed 5 hours-elapsed 24 parts 29 1 day 19440 2 9924 hebrew-calendar-leap-year-p 16789 alternative-day 0 3])(#$ . 90414) nil 5 (#$ . 90263)]) #@32 Number of days in Hebrew YEAR. (defalias 'hebrew-calendar-days-in-year #[(year) #@53 (" T! !Z" . [hebrew-calendar-elapsed-days year])(#$ . 90886) nil 3 (#$ . 90800)]) #@38 t if Heshvan is long in Hebrew YEAR. (defalias 'hebrew-calendar-long-heshvan-p #[(year) #@57 (" !¦U" . [hebrew-calendar-days-in-year year 10 5])(#$ . 91071) nil 2 (#$ . 90977)]) #@38 t if Kislev is short in Hebrew YEAR. (defalias 'hebrew-calendar-short-kislev-p #[(year) #@57 (" !¦U" . [hebrew-calendar-days-in-year year 10 3])(#$ . 91260) nil 2 (#$ . 91166)]) #@143 Absolute date of Hebrew DATE. The absolute date is the number of days elapsed since the (imaginary) Gregorian date Sunday, December 31, 1 BC. (defalias 'calendar-absolute-from-hebrew #[(date) #@313 ("@)A@)AA@)\n Wf0 !X=0 \"\\T#0* W_0 \"\\TG0*\\0 W0 \"\\Tm0* !\\\\\\+" . [date month day year 7 0 sum m hebrew-calendar-last-month-of-year hebrew-calendar-last-day-of-month 1 hebrew-calendar-elapsed-days -1373429])(#$ . 91555) nil 7 (#$ . 91356)]) (byte-code "! B! B" [boundp calendar-hebrew-month-name-array-common-year ["Nisan" "Iyar" "Sivan" "Tammuz" "Av" "Elul" "Tishri" "Heshvan" "Kislev" "Teveth" "Shevat" "Adar"] current-load-list calendar-hebrew-month-name-array-leap-year ["Nisan" "Iyar" "Sivan" "Tammuz" "Av" "Elul" "Tishri" "Heshvan" "Kislev" "Teveth" "Shevat" "Adar I" "Adar II"]] 2) #@156 String of Hebrew date before sunset of Gregorian DATE. Defaults to today's date if DATE is not given. Driven by the variable `calendar-date-display-form'. (defalias 'calendar-hebrew-date-string #[(&optional date) #@488 (" 0 AA@)S @) A@) AA@) \fS_\\\fVh0\f_\\̥ZʦU_0ΦU?_0ϦU)h0T- _ ʥ Υ[ ϥ\\\\\\\\*!AA@)!00#*" . [calendar-hebrew-from-absolute date calendar-current-date prior-years month day year 31 day-of-year 2 4 23 10 0 100 400 365 hebrew-date hebrew-calendar-leap-year-p calendar-hebrew-month-name-array-leap-year calendar-hebrew-month-name-array-common-year calendar-month-name-array calendar-date-string nil t])(#$ . 92495) nil 9 (#$ . 92275)]) #@67 Show the Hebrew calendar equivalent of the date under the cursor. (defalias 'calendar-print-hebrew-date #[nil #@115 ("!!\"" . [message "Hebrew date (until sunset): %s" calendar-hebrew-date-string calendar-cursor-to-date t])(#$ . 93138) nil 5 (#$ . 93021) nil]) #@71 Absolute date of the anniversary of Hebrew DEATH-DATE in Hebrew YEAR. (defalias 'hebrew-calendar-yahrzeit #[(death-date year) #@399 ("A@)@)AA@) U30\nU30\fT!30 E!S0 UQ0\nUQ0\fT!Q0 E!S0 Ud0 !\n E!0\nU0 U0 !0 E!0 \n E!+" . [death-date date death-day death-month death-year 8 30 hebrew-calendar-long-heshvan-p calendar-absolute-from-hebrew 9 1 year hebrew-calendar-short-kislev-p 10 13 hebrew-calendar-last-month-of-year 12 hebrew-calendar-leap-year-p 11])(#$ . 93428) nil 5 (#$ . 93295)]) #@55 Set mode line to STR, centered, surrounded by dashes. (defalias 'calendar-set-mode-line #[(str) #@79 (" C #" . [calendar-string-spread str 45 frame-width mode-line-format])(#$ . 93967) nil 4 (#$ . 93865)]) #@182 List Yahrzeit dates for *Gregorian* DEATH-DATE from START-YEAR to END-YEAR. When called interactively from the calendar window, the date of death is taken from the cursor position. (defalias 'list-yahrzeit-dates #[(death-date start-year end-year) #@1118 ("! AA@)S@)A@) AA@)\n S_\\\fVy0\f_\\ХZ\f\n\nΦUp0\nҦU?p0\nӦU)y0\fT\f\f-_Υҥ[ӥ\\\\\\\\*!@)A@)AA@) !q !!0!0\"##)#! eb&S'('T'Y'EAA@)S@)A@) AA@)\n S_\\\fVm\f_\\ХZ\f\n\nΦUd\nҦU?d\nӦU)m\fT\f\f-_Υҥ[ӥ\\\\\\\\*!AA@)\"!!0)eb! !!-" . [message "Computing yahrzeits..." "*Yahrzeits*" yahrzeit-buffer calendar-hebrew-from-absolute death-date 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 get-buffer-create nil buffer-read-only calendar-set-mode-line format "Yahrzeit dates for %s = %s" calendar-date-string hebrew-calendar-leap-year-p calendar-hebrew-month-name-array-leap-year calendar-hebrew-month-name-array-common-year calendar-month-name-array t erase-buffer start-year i end-year calendar-gregorian-from-absolute hebrew-calendar-yahrzeit 1 "\n" set-buffer-modified-p display-buffer "Computing yahrzeits...done"])(#$ . 94340) nil 13 (#$ . 94085) (byte-code "p ! \f AA@)!#\n \f\f\"\"$!\f#\"A\n\nUr\n\nۦUj\nݦU?j\nަU)r߂wSH*!!\"\"%%\nE.& AA@)''\"'T!#**\"\"-&*-E," [get-buffer calendar-buffer calendar-cursor-to-date calendar-current-date today calendar-read "Year of death (>0): " (lambda (x) (> x 0)) int-to-string date year calendar-month-name-array month-array t completion-ignore-case assoc capitalize completing-read "Month of death (name): " mapcar list append nil calendar-make-alist 1 month 2 4 0 100 400 29 [31 28 31 30 31 30 31 31 30 31 30 31] last format "Day of death (1-%d): " (lambda (x) (and (< 0 x) (<= x last))) day death-date death-year "Starting year of Yahrzeit table (>%d): " (lambda (x) (> x death-year)) start-year "Ending year of Yahrzeit table (>=%d): " (lambda (x) (>= x start-year)) end-year] 10)]) #@123 String of astronomical (Julian) day number of afternoon of Gregorian DATE. Defaults to today's date if DATE is not given. (defalias 'calendar-astro-date-string #[(&optional date) #@269 (" 0 AA@)S @) A@) AA@) \fS_\\\fVh0\f_\\̥ZʦU_0ΦU?_0ϦU)h0T- _ ʥ Υ[ ϥ\\\\\\\\*\\!" . [int-to-string date calendar-current-date prior-years month day year 31 day-of-year 2 4 23 10 0 100 400 365 1721425])(#$ . 96565) nil 9 (#$ . 96379)]) #@77 Show astronomical (Julian) day number of afternoon on date shown by cursor. (defalias 'calendar-print-astro-day-number #[nil #@135 ("!!\"" . [message "Astronomical (Julian) day number after noon UTC: %s" calendar-astro-date-string calendar-cursor-to-date t])(#$ . 97004) nil 5 (#$ . 96872) nil]) #@107 Move cursor to astronomical (Julian) DAYNUMBER. Echo astronomical (Julian) day number unless NOECHO is t. (defalias 'calendar-goto-astro-day-number #[(daynumber &optional noecho) #@137 ("\nZ!!\f0 " . [calendar-goto-date calendar-gregorian-from-absolute daynumber 1721425 noecho calendar-print-astro-day-number])(#$ . 97368) nil 4 (#$ . 97182) (list (calendar-read "Astronomical (Julian) day number (>1721425): " (quote (lambda (x) (> x 1721425)))))]) (byte-code "!!" [run-hooks calendar-load-hook provide calendar] 2)