Server IP : 111.118.215.189 / Your IP : 3.18.102.38 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 ] |
---|
;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/calendar.el ;;; in Emacs version 24.3.1 ;;; with all optimizations. ;;; Function definitions are lazy-loaded. ;;; 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\304\305#\210\306\307!\210\310\311!\210\312\307\304\313\314\315\316\317&\210\312\320\304\321\314\315\316\307&\210\312\322\304\323\314\315\316\307&\210\324\325\326\327\330\331\316\307&\210\324\332\304\333\330\334\316\307&\210\324\335\336\337\330\331\340\341\316\307& \210\324\342\304\343\330\344\340\345\316\307& \210\324\346\326\347\330\331\350\351\352\353\316\307&\210\354\355\356\304#\210\357\304\211\203\232 @\355N\203\223 \356N\204\223 \360\356\355N#\210 A\211\204| *\361\355\356\362#\210\324\356\304\363\330\364\316\365&\210\354\366\367\304#\210\357\304\211\203\330 @\366N\203\321 \367N\204\321 \360\367\366N#\210 A\211\204\272 *\361\366\367\362#\210\324\367\304\370\330\364\316\365&\210\324\371\305\372\330\364\340\362\316\373\316\307&\210\374\375\376\377\316\322%\210\360\201@ \201A \375#\210\360\201@ \201B \201C \341!\206\305#\210\374\365\201D \201E \316\322%\210\360\201F \201A \365#\210\360\201F \201B \201C \341!\206C\305#\210\374\201G \201H \201I \316\322%\210\360\201J \201A \201G #\210\360\201J \201B \201C \341!\206o\305#\210\324\201K \201L \201M \330\201N \316\365\340\362& \210\324\201O \201P \201Q \330\201R \316\307\340\362& \210\324\201S \201T \201U \330\201V \316\201W \340\362& \210\354\201X \201Y \304#\210\357\304\211\203\352 @\201X N\203\343\201Y N\204\343\360\201Y \201X N#\210 A\211\204\304*\361\201X \201Y \362#\210\324\201Y \304\201Z \330\364\316\201W &\210\354\201[ \201\\ \304#\210\357\304\211\203> @\201[ N\2037\201\\ N\2047\360\201\\ \201[ N#\210 A\211\204*\361\201[ \201\\ \362#\210\324\201\\ \304\201] \330\364\316\201W &\210\324\201^ \304\201_ \330\201` \316\320&\210\324\201a \304\201b \330\201` \316\320&\210\354\201c \201d \304#\210\357\304\211\203\264 @\201c N\203\255\201d N\204\255\360\201d \201c N#\210 A\211\204\216*\361\201c \201d \362#\210\324\201d \304\201e \330\201` \316\320&\210\354\201f \201g \304#\210\357\304\211\203 @\201f N\203\201g N\204\360\201g \201f N#\210 A\211\204\342*\361\201f \201g \362#\210\324\201g \304\201h \330\201` \201i \201j \316\320& \210\354\201k \201l \304#\210\357\304\211\203b @\201k N\203[\201l N\204[\360\201l \201k N#\210 A\211\204<*\361\201k \201l \362#\210\324\201l \304\201m \330\201` \316\320&\210\324\201n \304\201o \330\201` \201i \201p \316\320& \210\324\201q \201r \201s \316\307\350\351\201t \305\352\201u \330\201v \340\362&\207" [prop --dolist-tail-- load "cal-loaddefs" nil t provide calendar require cal-menu custom-declare-group "Calendar and time management support." :prefix "calendar-" :group applications calendar-hooks "Calendar hooks." calendar-faces "Calendar faces." custom-declare-variable calendar-offset 0 "The offset of the principal month from the center of the calendar window.\n0 means the principal month is in the center (default), -1 means on the left,\n+1 means on the right. Larger (or smaller) values push the principal month off\nthe screen." :type integer calendar-setup "The frame setup of the calendar.\nThe choices are: `one-frame' (calendar and diary together in one separate,\ndedicated frame); `two-frames' (calendar and diary in separate, dedicated\nframes); `calendar-only' (calendar in a separate, dedicated frame); with\nany other value the current frame is used. Using any of the first\nthree options overrides the value of `calendar-view-diary-initially-flag'." (choice (const :tag "calendar and diary in separate frame" one-frame) (const :tag "calendar and diary each in own frame" two-frames) (const :tag "calendar in separate frame" calendar-only) (const :tag "use current frame" nil)) calendar-minimum-window-height 8 "Minimum height `calendar-generate-window' should use for calendar window." :version "22.1" calendar-split-width-threshold "Value to use for `split-width-threshold' when creating a calendar.\nThis only affects frames wider than the default value of\n`split-width-threshold'." (choice (const nil) (integer)) "23.2" calendar-week-start-day "The day of the week on which a week in the calendar begins.\n0 means Sunday (default), 1 means Monday, and so on.\n\nIf you change this variable directly (without using customize)\nafter starting `calendar', you should call `calendar-redraw' to\nupdate the calendar display to reflect the change, otherwise\nmovement commands will not work correctly." :initialize custom-initialize-default :set #[(sym val) " L\210\302 \207" [sym val calendar-redraw] 2] defvaralias view-diary-entries-initially calendar-view-diary-initially-flag (saved-value saved-variable-comment) put make-obsolete-variable "23.1" "Non-nil means display current date's diary entries on entry to calendar.\nThe diary is displayed in another window when the calendar is first displayed,\nif the current date is visible. The number of days of diary entries displayed\nis governed by the variable `diary-number-of-entries'. This variable can\nbe overridden by the value of `calendar-setup'." boolean diary mark-diary-entries-in-calendar calendar-mark-diary-entries-flag "Non-nil means mark dates with diary entries, in the calendar window.\nThe marking symbol is specified by the variable `diary-entry-marker'." calendar-remove-frame-by-deleting "Determine how the calendar mode removes a frame no longer needed.\nIf nil, make an icon of the frame. If non-nil, delete the frame." view custom-declare-face calendar-today ((t (:underline t))) "Face for indicating today's date in the calendar.\nSee the variable `calendar-today-marker'." calendar-today-face face-alias obsolete-face purecopy ((((min-colors 88) (class color) (background light)) :foreground "red1") (((class color) (background light)) :foreground "red") (((min-colors 88) (class color) (background dark)) :foreground "yellow1") (((class color) (background dark)) :foreground "yellow") (t :weight bold)) "Face for highlighting diary entries.\nUsed to mark diary entries in the calendar (see `diary-entry-marker'),\nand to highlight the date header in the fancy diary." diary-face holiday ((((class color) (background light)) :background "pink") (((class color) (background dark)) :background "chocolate4") (t :inverse-video t)) "Face for indicating in the calendar dates that have holidays.\nSee `calendar-holiday-marker'." holiday-face diary-entry-marker 'diary "How to mark dates that have diary entries.\nThe value can be either a single-character string (e.g. \"+\") or a face." (choice (string :tag "Single character string") face) calendar-today-marker 'calendar-today "How to mark today's date in the calendar.\nThe value can be either a single-character string (e.g. \"=\") or a face.\nUsed by `calendar-mark-today'." (choice (string :tag "Single character string") face) calendar-holiday-marker 'holiday "How to mark notable dates in the calendar.\nThe value can be either a single-character string (e.g. \"*\") or a face." (choice (string :tag "Single character string") face) holidays view-calendar-holidays-initially calendar-view-holidays-initially-flag "Non-nil means display holidays for current three month period on entry.\nThe holidays are displayed in another window when the calendar is first\ndisplayed." mark-holidays-in-calendar calendar-mark-holidays-flag "Non-nil means mark dates of holidays in the calendar window.\nThe marking symbol is specified by the variable `calendar-holiday-marker'." calendar-mode-hook "Hook run when entering `calendar-mode'." hook calendar-load-hook "List of functions to be called after the calendar is first loaded.\nThis is the place to add key bindings to `calendar-mode-map'." initial-calendar-window-hook calendar-initial-window-hook "List of functions to be called when the calendar window is created.\nQuitting the calendar and re-entering it will cause these functions\nto be called again." today-visible-calendar-hook calendar-today-visible-hook "List of functions called whenever the current date is visible.\nTo mark today's date, add the function `calendar-mark-today'.\nTo replace the date with asterisks, add the function `calendar-star-date'.\nSee also `calendar-today-invisible-hook'.\n\nIn general, be careful about changing characters in the calendar buffer,\nsince it may cause the movement commands to fail." :options (calendar-mark-today calendar-star-date) today-invisible-calendar-hook calendar-today-invisible-hook "List of functions called whenever the current date is not visible.\nSee also `calendar-today-visible-hook'." calendar-move-hook "List of functions called whenever the cursor moves in the calendar.\nFor example,\n\n (add-hook 'calendar-move-hook (lambda () (diary-view-entries 1)))\n\nredisplays the diary for whatever date the cursor is moved to." (calendar-update-mode-line) calendar-date-echo-text "mouse-2: general menu\nmouse-3: menu for this date" "String displayed when the cursor is over a date in the calendar.\nCan be either a fixed string, or a lisp expression that returns one.\nWhen this expression is evaluated, DAY, MONTH, and YEAR are\nintegers appropriate to the relevant date. For example, to\ndisplay the ISO date:\n\n (setq calendar-date-echo-text '(format \"ISO date: %s\"\n (calendar-iso-date-string\n (list month day year))))\nChanging this variable without using customize has no effect on\npre-existing calendar windows." :risky #[(sym val) " L\210\302 \207" [sym val calendar-redraw] 2] (choice (string :tag "Fixed string") (sexp :value (format "ISO date: %s" (calendar-iso-date-string (list month day year)))))] 17) #@65 Width of the region with numbers in each month in the calendar. (defvar calendar-month-digit-width nil (#$ . 10172)) #@43 Full width of each month in the calendar. (defvar calendar-month-width nil (#$ . 10295)) #@31 Right margin of the calendar. (defvar calendar-right-margin nil (#$ . 10390)) #@250 Alist of month edge columns. Each element has the form (N LEFT FIRST LAST RIGHT), where LEFT is the leftmost column associated with month segment N, FIRST and LAST are the first and last columns with day digits in, and LAST is the rightmost column. (defvar calendar-month-edges nil (#$ . 10475)) #@250 Compute the month edge columns for month SEGMENT. Returns a list (LEFT FIRST LAST RIGHT), where LEFT is the leftmost column associated with a month, FIRST and LAST are the first and last columns with day digits in, and LAST is the rightmost column. (defalias 'calendar-month-edges #[(segment) #@246 (" \n_\\\211\fS\\ \306=\2030\306\202 0\307 \n_ \310\245[#\n\307 T\n_ \310\245[#\n F,\207" . [calendar-left-margin segment calendar-month-width first calendar-month-digit-width last 0 + 2 calendar-intermonth-spacing left right])(#$ . 11078) nil 6 (#$ . 10778)]) #@53 Recompute some layout-related calendar "constants". (defalias 'calendar-recompute-layout-variables #[nil #@365 ("\306_ \\\307_\\\310 \307_\311_\312_#\313 \311\314W\203?0\315!B B T\211\202$0*\316 !\211 \207" . [calendar-column-width calendar-day-digit-width calendar-month-digit-width calendar-intermonth-spacing calendar-month-width calendar-left-margin 6 7 + 3 2 nil 0 calendar-month-edges reverse calendar-right-margin i --dotimes-limit--])(#$ . 11474) nil 6 (#$ . 11362)]) #@143 Set SYMBOL's value to VALUE, an integer. A positive/negative MINMAX enforces a minimum/maximum value. Then redraw the calendar, if necessary. (defalias 'calendar-set-layout-variable #[(symbol value &optional minmax) #@206 ("J\304\n\2030\n\305W\2030\n[^\2020\n]\2020\"\210 \232?\205+0\306 \210\307 )\207" . [symbol oldvalue minmax value custom-set-default 0 calendar-recompute-layout-variables calendar-redraw])(#$ . 12101) nil 4 (#$ . 11878)]) (byte-code "\302\303\304\305\306\307\310\311\312\313\314\315\316\317& \210\302\320\321\322\306\307\310\311\312\323\314\315\316\317& \210\302\324\325\326\310\311\312\327\314\315\316\317&\210\302\330\331\332\306\307\310\311\312\333\314\315\316\317& \210\302\334\331\335\306\307\310\311\312\336\314\315\316\317& \210\302\337\340\341\306\307\310\311\342\343\312\344\314\345\316\317&\210\302\346\340\347\306\307\310\311\342\343\312\350\314\351\316\317&\210\302\352\353\354\314\355\306\356&\210\302\357\360\361\314\362\306\356&\210\363\364\365\340#\210\366\340\211\203\273 @\364N\203\264 \365N\204\264 \367\365\364N#\210 A\211\204\235 *\370\364\365\317#\210\302\365\371\372\314\362\306\356&\210\363\373\374\340#\210\366\340\211\203\371 @\373N\203\362 \374N\204\362 \367\374\373N#\210 A\211\204\333 *\370\373\374\317#\210\302\374\375\376\314\362\306\356&\210\363\377\201@ \340#\210\366\340\211\203= @\377N\2036\201@ N\2046\367\201@ \377N#\210 A\211\204*\370\377\201@ \317#\210\302\201@ \201A \201B \314\362\306\356&\210\302\201C \340\201D \314\201E \310\311\312\201F \306\307&\210\370\201C \201G \317#\210\302\201G \201H \201I \316\317\314\201J \310\311\312\201K \306\307& \210\302\201L \201M \201N \316\201O \314\201P \306\356& \210\363\201Q \201R \340#\210\366\340\211\203\342 @\201Q N\203\333\201R N\204\333\367\201R \201Q N#\210 A\211\204\274*\370\201Q \201R \317#\210\302\201R \201S \201T \314\201U \306\356&\210\363\201V \201W \340#\210\366\340\211\2038 @\201V N\2031\201W N\2041\367\201W \201V N#\210 A\211\204*\370\201V \201W \317#\210\302\201W \201X \201Y \314\201Z \306\356&\210\302\201[ \201\\ \201] \314\201^ \201_ \201` \310\311\312\201a \306\356& \210\302\201b \201c \201d \314\201e \316\317\306\307& \210\363\201f \201g \340#\210\366\340\211\203\302 @\201f N\203\273\201g N\204\273\367\201g \201f N#\210 A\211\204\234*\370\201f \201g \317#\210\302\201g \201h \201i \314\201e \306\307&\210\363\201j \201k \340#\210\366\340\211\203 @\201j N\203\201k N\204\367\201k \201j N#\210 A\211\204\362*\370\201j \201k \317#\210\302\201k \201l \201m \314\201e \306\307&\210\302\201n \201o \201p \314\201e \201_ \201q \306\307& \210\302\201r \201s \201t \306\307\342\343\314\201e \316\201u &\210\302\201v \201w \201x \306\307\342\343\314\201e \316\201u &\210\302\201y \201z \201{ \306\307\342\343\314\201e \316\201u &\210\302\201| \201} \201~ \306\307\310\311\342\343\312\201 \201_ \201\200 \314\201e \316\201u &\207" [prop --dolist-tail-- custom-declare-variable calendar-left-margin 5 "Empty space to the left of the first month in the calendar." :group calendar :initialize custom-initialize-default :set calendar-set-layout-variable :type integer :version "23.1" calendar-intermonth-spacing 4 "Space between months in the calendar. Minimum value is 1." #[(sym val) "\302 \303#\207" [sym val calendar-set-layout-variable 1] 4] calendar-column-width 3 "Width of each day column in the calendar. Minimum value is 3." #[(sym val) "\302 \303#\207" [sym val calendar-set-layout-variable 3] 4] calendar-day-header-width 2 "Width of the day column headers in the calendar.\nMust be at least one less than `calendar-column-width'." #[(sym val) "\303 \304\nZ#\207" [sym val calendar-column-width calendar-set-layout-variable 1] 5] calendar-day-digit-width "Width of the day digits in the calendar. Minimum value is 2." #[(sym val) "\302 \303#\207" [sym val calendar-set-layout-variable 2] 4] calendar-intermonth-header nil "Header text to display in the space to the left of each calendar month.\nSee `calendar-intermonth-text'." :risky t #[(sym val) " L\210\302 \207" [sym val calendar-redraw] 2] (choice (const nil :tag "Nothing") (string :tag "Fixed string") (sexp :value (propertize "WK" 'font-lock-face 'font-lock-function-name-face))) calendar-intermonth-text "Text to display in the space to the left of each calendar month.\nCan be nil, a fixed string, or a lisp expression that returns a string.\nWhen the expression is evaluated, the variables DAY, MONTH and YEAR\nare integers appropriate for the first day in each week.\nWill be truncated to the smaller of `calendar-left-margin' and\n`calendar-intermonth-spacing'. The last character is forced to be a space.\nFor example, to display the ISO week numbers:\n\n (setq calendar-week-start-day 1\n calendar-intermonth-text\n '(propertize\n (format \"%2d\"\n (car\n (calendar-iso-from-absolute\n (calendar-absolute-from-gregorian (list month day year)))))\n 'font-lock-face 'font-lock-function-name-face))\n\nSee also `calendar-intermonth-header'." #[(sym val) " L\210\302 \207" [sym val calendar-redraw] 2] (choice (const nil :tag "Nothing") (string :tag "Fixed string") (sexp :value (propertize (format "%2d" (car (calendar-iso-from-absolute (calendar-absolute-from-gregorian (list month day year))))) 'font-lock-face 'font-lock-function-name-face))) diary-file "~/diary" "Name of the file in which one's personal diary of dates is kept.\n\nThe file's entries are lines beginning with any of the forms\nspecified by the variable `diary-date-forms', which by default\nuses the forms of `diary-american-date-forms':\n\n MONTH/DAY\n MONTH/DAY/YEAR\n MONTHNAME DAY\n MONTHNAME DAY, YEAR\n DAYNAME\n\nwith the remainder of the line being the diary entry string for\nthat date. MONTH and DAY are one or two digit numbers, YEAR is a\nnumber and may be written in full or abbreviated to the final two\ndigits (if `diary-abbreviated-year-flag' is non-nil). MONTHNAME\nand DAYNAME can be spelled in full (as specified by the variables\n`calendar-month-name-array' and `calendar-day-name-array'), or\nabbreviated (as specified by `calendar-month-abbrev-array' and\n`calendar-day-abbrev-array') with or without a period. Case is\nignored. Any of DAY, MONTH, or MONTHNAME, YEAR can be `*' which\nmatches any day, month, or year, respectively. If the date does\nnot contain a year, it is generic and applies to any year. A\nDAYNAME entry applies to the appropriate day of the week in every week.\n\nYou can customize `diary-date-forms' to your preferred format.\nThree default styles are provided: `diary-american-date-forms',\n`diary-european-date-forms', and `diary-iso-date-forms'.\nYou can choose between these by setting `calendar-date-style' in your\ninit file, or by using `calendar-set-date-style' when in the calendar.\n\nA diary entry can be preceded by the character `diary-nonmarking-symbol'\n(ordinarily `&') to make that entry nonmarking--that is, it will not be\nmarked on dates in the calendar window but will appear in a diary window.\n\nMultiline diary entries are made by indenting lines after the first with\neither a TAB or one or more spaces.\n\nLines not in one the above formats are ignored. Here are some sample diary\nentries (in the default American style):\n\n 12/22/1988 Twentieth wedding anniversary!!\n &1/1. Happy New Year!\n 10/22 Ruth's birthday.\n 21: Payday\n Tuesday--weekly meeting with grad students at 10am\n Supowit, Shen, Bitner, and Kapoor to attend.\n 1/13/89 Friday the thirteenth!!\n &thu 4pm squash game with Lloyd.\n mar 16 Dad's birthday\n April 15, 1989 Income tax due.\n &* 15 time cards due.\n\nIf the first line of a diary entry consists only of the date or day name with\nno trailing blanks or punctuation, then that line is not displayed in the\ndiary window; only the continuation lines is shown. For example, the\nsingle diary entry\n\n 02/11/1989\n Bill Blattner visits Princeton today\n 2pm Cognitive Studies Committee meeting\n 2:30-5:30 Lizzie at Lawrenceville for `Group Initiative'\n 4:00pm Jamie Tappenden\n 7:30pm Dinner at George and Ed's for Alan Ryan\n 7:30-10:00pm dance at Stewart Country Day School\n\nwill appear in the diary window without the date line at the beginning. This\nfacility allows the diary window to look neater, but can cause confusion if\nused with more than one day's entries displayed.\n\nDiary entries can be based on Lisp sexps. For example, the diary entry\n\n %%(diary-block 11 1 1990 11 10 1990) Vacation\n\ncauses the diary entry \"Vacation\" to appear from November 1 through\nNovember 10, 1990. See the documentation for the function\n`diary-list-sexp-entries' for more details.\n\nDiary entries based on the Hebrew, the Islamic and/or the Bahá'í\ncalendar are also possible, but because these are somewhat slow, they\nare ignored unless you set the `diary-nongregorian-listing-hook' and\nthe `diary-nongregorian-marking-hook' appropriately. See the\ndocumentation of these hooks for details.\n\nDiary files can contain directives to include the contents of other files; for\ndetails, see the documentation for the variable `diary-list-entries-hook'." file diary diary-nonmarking-symbol "&" "Symbol indicating that a diary entry is not to be marked in the calendar." string defvaralias hebrew-diary-entry-symbol diary-hebrew-entry-symbol (saved-value saved-variable-comment) put make-obsolete-variable "H" "Symbol indicating a diary entry according to the Hebrew calendar." islamic-diary-entry-symbol diary-islamic-entry-symbol "I" "Symbol indicating a diary entry according to the Islamic calendar." bahai-diary-entry-symbol diary-bahai-entry-symbol "B" "Symbol indicating a diary entry according to the Bahá'í calendar." european-calendar-style "Non-nil means use the European style of dates in the diary and display.\nIn this case, a date like 1/2/1990 would be interpreted as\nFebruary 1, 1990. See `diary-european-date-forms' for the\ndefault European diary date styles.\n\nSetting this variable directly does not take effect (if the\ncalendar package is already loaded). Rather, use either\n\\[customize] or the function `calendar-set-date-style'." boolean #[(symbol value) "\203 \301\302!\207\301\303!\207" [value calendar-set-date-style european american] 2] calendar-date-style (if european-calendar-style 'european 'american) "Your preferred style for writing dates.\nThe options are:\n`american' - month/day/year\n`european' - day/month/year\n`iso' - year/month/day\nThis affects how dates written in your diary are interpreted.\nIt also affects date display, as well as those calendar and diary\nfunctions that take a date as an argument, e.g. `diary-date', by\nchanging the order in which the arguments are interpreted.\n\nSetting this variable directly does not take effect (if the\ncalendar package is already loaded). Rather, use either\n\\[customize] or the function `calendar-set-date-style'." (choice (const american :tag "Month/Day/Year") (const european :tag "Day/Month/Year") (const iso :tag "Year/Month/Day")) #[(symbol value) "\301!\207" [value calendar-set-date-style] 2] diary-iso-date-forms '((month "[-/]" day "[^-/0-9]") (year "[-/]" month "[-/]" day "[^0-9]") (monthname " *" day "[^-0-9]") (year " *" monthname " *" day "[^0-9]") (dayname "\\W")) "List of pseudo-patterns describing the ISO style of dates.\nThe defaults are: MONTH[-/]DAY; YEAR[-/]MONTH[-/]DAY; MONTHNAME DAY;\nYEAR MONTHNAME DAY; DAYNAME. Normally you should not customize this,\nbut `diary-date-forms' (which see)." "23.3" (repeat (choice (cons :tag "Backup" :value (backup) (const backup) (repeat (list :inline t :format "%v" (symbol :tag "Keyword") (choice symbol regexp)))) (repeat (list :inline t :format "%v" (symbol :tag "Keyword") (choice symbol regexp))))) american-date-diary-pattern diary-american-date-forms '((month "/" day "[^/0-9]") (month "/" day "/" year "[^0-9]") (monthname " *" day "[^,0-9]") (monthname " *" day ", *" year "[^0-9]") (dayname "\\W")) "List of pseudo-patterns describing the American style of dates.\nThe defaults are: MONTH/DAY; MONTH/DAY/YEAR; MONTHNAME DAY;\nMONTHNAME DAY, YEAR; DAYNAME. Normally you should not customize this,\nbut `diary-date-forms' (which see)." (repeat (choice (cons :tag "Backup" :value (backup) (const backup) (repeat (list :inline t :format "%v" (symbol :tag "Keyword") (choice symbol regexp)))) (repeat (list :inline t :format "%v" (symbol :tag "Keyword") (choice symbol regexp))))) european-date-diary-pattern diary-european-date-forms '((day "/" month "[^/0-9]") (day "/" month "/" year "[^0-9]") (backup day " *" monthname "\\W+\\<\\([^*0-9]\\|\\([0-9]+[:aApP]\\)\\)") (day " *" monthname " *" year "[^0-9]") (dayname "\\W")) "List of pseudo-patterns describing the European style of dates.\nThe defaults are: DAY/MONTH; DAY/MONTH/YEAR; DAY MONTHNAME;\nDAY MONTHNAME YEAR; DAYNAME. Normally you should not customize this, but\n`diary-date-forms' (which see)." (repeat (choice (cons :tag "Backup" :value (backup) (const backup) (repeat (list :inline t :format "%v" (symbol :tag "Keyword") (choice symbol regexp)))) (repeat (list :inline t :format "%v" (symbol :tag "Keyword") (choice symbol regexp))))) diary-date-forms (cond ((eq calendar-date-style 'iso) diary-iso-date-forms) ((eq calendar-date-style 'european) diary-european-date-forms) (t diary-american-date-forms)) "List of pseudo-patterns describing the forms of date used in the diary.\nThe patterns on the list must be MUTUALLY EXCLUSIVE and should not match\nany portion of the diary entry itself, just the date component.\n\nA pseudo-pattern is a list of regular expressions and the keywords `month',\n`day', `year', `monthname', and `dayname'. The keyword `monthname' will\nmatch the name of the month (see `calendar-month-name-array'), capitalized\nor not, or its user-specified abbreviation (see `calendar-month-abbrev-array'),\nfollowed by a period or not; it will also match `*'. Similarly, `dayname'\nwill match the name of the day (see `calendar-day-name-array'), capitalized or\nnot, or its user-specified abbreviation (see `calendar-day-abbrev-array'),\nfollowed by a period or not. The keywords `month', `day', and `year' will\nmatch those numerical values, preceded by arbitrarily many zeros; they will\nalso match `*'.\n\nThe matching of the diary entries with the date forms is done with the\nstandard syntax table from Fundamental mode, but with the `*' changed so\nthat it is a word constituent.\n\nIf, to be mutually exclusive, a pseudo-pattern must match a portion of the\ndiary entry itself, the first element of the pattern MUST be `backup'. This\ndirective causes the date recognizer to back up to the beginning of the\ncurrent word of the diary entry, so in no case can the pattern match more than\na portion of the first word of the diary entry.\n\nFor examples of three common styles, see `diary-american-date-forms',\n`diary-european-date-forms', and `diary-iso-date-forms'." (repeat (choice (cons :tag "Backup" :value (backup) (const backup) (repeat (list :inline t :format "%v" (symbol :tag "Keyword") (choice symbol regexp)))) (repeat (list :inline t :format "%v" (symbol :tag "Keyword") (choice symbol regexp))))) :set-after (calendar-date-style diary-iso-date-forms diary-european-date-forms diary-american-date-forms) #[(symbol value) "\303 !\232?\205 \304 \"\210\302 \305 \205 \306 \207" [value symbol diary-font-lock-keywords eval custom-set-default diary-live-p diary] 3] calendar-iso-date-display-form '((format "%s-%.2d-%.2d" year (string-to-number month) (string-to-number day))) "Pseudo-pattern governing the way a date appears in the ISO style.\nNormally you should not customize this, but `calendar-date-display-form'\n(which see)." sexp european-calendar-display-form calendar-european-date-display-form '((if dayname (concat dayname ", ")) day " " monthname " " year) "Pseudo-pattern governing the way a date appears in the European style.\nNormally you should not customize this, but `calendar-date-display-form'\n(which see)." american-calendar-display-form calendar-american-date-display-form '((if dayname (concat dayname ", ")) monthname " " day ", " year) "Pseudo-pattern governing the way a date appears in the American style.\nNormally you should not customize this, but `calendar-date-display-form'\n(which see)." calendar-date-display-form (cond ((eq calendar-date-style 'iso) calendar-iso-date-display-form) ((eq calendar-date-style 'european) calendar-european-date-display-form) (t calendar-american-date-display-form)) "Pseudo-pattern governing the way a calendar date appears.\nUsed by the function `calendar-date-string' (which see), a pseudo-pattern\nis a list of expressions that can involve the keywords `month', `day',\nand `year' (all numbers in string form), and `monthname' and `dayname'\n(both alphabetic strings). For example, a typical American form would be\n\n '(month \"/\" day \"/\" (substring year -2))\n\nwhereas\n\n '((format \"%9s, %9s %2s, %4s\" dayname monthname day year))\n\nwould give the usual American style in fixed-length fields. The variables\n`calendar-iso-date-display-form', `calendar-european-date-display-form', and\n`calendar-american-date-display-form' provide some defaults for three common\nstyles." (calendar-date-style calendar-iso-date-display-form calendar-european-date-display-form calendar-american-date-display-form) calendar-american-month-header '(propertize (format "%s %d" (calendar-month-name month) year) 'font-lock-face 'font-lock-function-name-face) "Default format for calendar month headings with the American date style.\nNormally you should not customize this, but `calender-month-header'." "24.3" calendar-european-month-header '(propertize (format "%s %d" (calendar-month-name month) year) 'font-lock-face 'font-lock-function-name-face) "Default format for calendar month headings with the European date style.\nNormally you should not customize this, but `calender-month-header'." calendar-iso-month-header '(propertize (format "%d %s" year (calendar-month-name month)) 'font-lock-face 'font-lock-function-name-face) "Default format for calendar month headings with the ISO date style.\nNormally you should not customize this, but `calender-month-header'." calendar-month-header (cond ((eq calendar-date-style 'iso) calendar-iso-month-header) ((eq calendar-date-style 'european) calendar-european-month-header) (t calendar-american-month-header)) "Expression to evaluate to return the calendar month headings.\nWhen this expression is evaluated, the variables MONTH and YEAR are\nintegers appropriate to the relevant month. The result is padded\nto the width of `calendar-month-digit-width'.\n\nFor examples of three common styles, see `calendar-american-month-header',\n`calendar-european-month-header', and `calendar-iso-month-header'.\n\nChanging this variable without using customize has no effect on\npre-existing calendar windows." #[(sym val) " L\210\302 \207" [sym val calendar-redraw] 2] (calendar-date-style calendar-american-month-header calendar-european-month-header calendar-iso-month-header)] 19) #@142 Set the style of calendar and diary dates to STYLE (a symbol). The valid styles are described in the documentation of `calendar-date-style'. (defalias 'calendar-set-date-style #[(style) #@369 ("\305>\2040\306\307\310\311\"!J\307\310\312\"!J\307\310\313\"!J\314 \210\315 \207" . [style calendar-date-style calendar-date-display-form calendar-month-header diary-date-forms (american european iso) american intern-soft format "calendar-%s-date-display-form" "calendar-%s-month-header" "diary-%s-date-forms" calendar-redraw calendar-update-mode-line])(#$ . 31430) nil 4 (#$ . 31237) (list (intern (completing-read "Date style: " '("american" "european" "iso") nil t nil nil "american")))]) #@68 Set the interpretation and display of dates to the European style. (defalias 'european-calendar #[nil #@56 ("\300\301!\207" . [calendar-set-date-style european])(#$ . 32050) nil 2 (#$ . 31942) nil]) (make-obsolete 'european-calendar 'calendar-set-date-style "23.1") #@68 Set the interpretation and display of dates to the American style. (defalias 'american-calendar #[nil #@56 ("\300\301!\207" . [calendar-set-date-style american])(#$ . 32323) nil 2 (#$ . 32215) nil]) (byte-code "\302\303\304\305#\210\306\307\310\311#\210\312\311\211\2032 @\307N\203+ \310N\204+ \313\310\307N#\210 A\211\204 *\314\307\310\305#\210\315\310\316\317\320\321\322\323&\210\315\324\311\325\320\321\322\326&\210\306\327\330\311#\210\312\311\211\203{ @\327N\203t \330N\204t \313\330\327N#\210 A\211\204] *\314\327\330\305#\210\315\330\311\331\320\321\322\323&\210\306\332\333\311#\210\312\311\211\203\271 @\332N\203\262 \333N\204\262 \313\333\332N#\210 A\211\204\233 *\314\332\333\305#\210\315\333\311\334\320\321\322\323&\210\306\335\336\311#\210\312\311\211\203\367 @\335N\203\360 \336N\204\360 \313\336\335N#\210 A\211\204\331 *\314\335\336\305#\210\315\336\311\337\320\321\322\323&\210\306\340\341\311#\210\312\311\211\2035 @\340N\203.\341N\204.\313\341\340N#\210 A\211\204*\314\340\341\305#\210\315\341\311\342\320\321\322\323&\210\315\343\311\344\345\305\320\321\322\323& \210\346 \207" [prop --dolist-tail-- make-obsolete american-calendar calendar-set-date-style "23.1" defvaralias holidays-in-diary-buffer diary-show-holidays-flag nil (saved-value saved-variable-comment) put make-obsolete-variable custom-declare-variable t "Non-nil means include holidays in the diary display.\nThe holidays appear in the mode line of the diary buffer, or in the\nfancy diary buffer next to the date. This slows down the diary functions\nsomewhat; setting it to nil makes the diary display faster." :type boolean :group holidays calendar-debug-sexp "Turn debugging on when evaluating a sexp in the diary or holiday list." calendar all-hebrew-calendar-holidays calendar-hebrew-all-holidays-flag "If nil, show only major holidays from the Hebrew calendar.\nThis means only those Jewish holidays that appear on secular calendars.\nOtherwise, show all the holidays that would appear in a complete Hebrew\ncalendar." all-christian-calendar-holidays calendar-christian-all-holidays-flag "If nil, show only major holidays from the Christian calendar.\nThis means only those Christian holidays that appear on secular calendars.\nOtherwise, show all the holidays that would appear in a complete Christian\ncalendar." all-islamic-calendar-holidays calendar-islamic-all-holidays-flag "If nil, show only major holidays from the Islamic calendar.\nThis means only those Islamic holidays that appear on secular calendars.\nOtherwise, show all the holidays that would appear in a complete Islamic\ncalendar." all-bahai-calendar-holidays calendar-bahai-all-holidays-flag "If nil, show only major holidays from the Bahá'í calendar.\nThese are the days on which work and school must be suspended.\nOtherwise, show all the holidays that would appear in a complete Bahá'í\ncalendar." calendar-chinese-all-holidays-flag "If nil, show only the major holidays from the Chinese calendar." :version calendar-recompute-layout-variables] 11) #@46 First row in the calendar with actual dates. (defconst calendar-first-date-row 3 (#$ . 35299)) #@43 Name of the buffer used for the calendar. (defconst calendar-buffer "*Calendar*" (#$ . 35400)) #@58 Name of the buffer used for the displaying the holidays. (defconst holiday-buffer "*Holidays*" (#$ . 35501)) #@70 Name of the buffer used for the optional fancy display of the diary. (defconst diary-fancy-buffer "*Fancy Diary Entries*" (#$ . 35616)) (byte-code "\302\303\304\305#\210\306\305\211\203, @\303N\203% \304N\204% \307\304\303N#\210 A\211\204 *\310\303\304\311#\207" [prop --dolist-tail-- defvaralias fancy-diary-buffer diary-fancy-buffer nil (saved-value saved-variable-comment) put make-obsolete-variable "23.1"] 6) #@69 Name of the buffer used for the display of date on other calendars. (defconst calendar-other-calendars-buffer "*Other Calendars*" (#$ . 36046)) #@47 Name of the buffer used for the lunar phases. (defconst lunar-phases-buffer "*Phases of Moon*" (#$ . 36196)) #@47 Name of buffer used for sunrise/sunset times. (defconst solar-sunrises-buffer "*Sunrise/Sunset Times*" (#$ . 36311)) #@51 Name of the buffer used by `list-yahrzeit-dates'. (defconst calendar-hebrew-yahrzeit-buffer "*Yahrzeits*" (#$ . 36434)) #@230 Increment the variables MON and YR by N months. Forward if N is positive or backward if N is negative. A negative YR is interpreted as BC; -1 being 1 BC, and so on. Optional NMONTHS is the number of months per year (default 12). (defalias 'calendar-increment-month '(macro . #[(mon yr n &optional nmonths) #@346 ("\304\300\305\306BBD\307B\310\311 \312BB\313 \314 DEE\313\315\316\317 \320BB\n\321\257\n\322 \323BBBBBB\324\325\326\n\327BB\313 \330 DEF\310\311 \331BB\313 \330 DEE\257\207" . [nmonths yr mon n let or (12) (macro-y) if < (0) setq 1+ macro-y + * (nmonths) -1 (1+ (mod macro-y nmonths)) ((/ macro-y nmonths)) and (< macro-y 0) > (1) 1- (1)])(#$ . 36874) nil 11 (#$ . 36561)])) (byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias increment-calendar-month calendar-increment-month nil make-obsolete "23.1"] 4) #@148 Return the Nth month after MON/YR. The return value is a pair (MONTH . YEAR). MON defaults to `displayed-month'. YR defaults to `displayed-year'. (defalias 'calendar-increment-month-cons #[(n &optional mon yr) #@230 ("\2040 \n\204\f0\306\307\n\310W\2030\nT\311\n _\312 $\313\f \"T\f \245\f\310W\203<0\314V\203<0\nS\n\314W\203E0\nS*\nB\207" . [mon displayed-month yr displayed-year macro-y nmonths 12 nil 0 + -1 mod 1 n])(#$ . 37624) nil 5 (#$ . 37406)]) #@163 Execute a for loop. Evaluate BODY with VAR bound to successive integers from INIT to FINAL, inclusive. The standard macro `dotimes' is preferable in most cases. (defalias 'calendar-for-loop '(macro . #[(var from init to final do &rest body) #@98 ("\304\305 DDC\306\307\n\310\311DEEBBE\207" . [var init final body let 1- while >= setq 1+])(#$ . 38141) nil 9 (#$ . 37893)])) (byte-code "\300\301\302\303#\210\304\301\305\306#\210\304\301\307\310#\207" [make-obsolete calendar-for-loop "use `dotimes' or `while' instead." "23.1" put edebug-form-spec (symbolp "from" form "to" form "do" body) lisp-indent-function defun] 4) #@76 For INDEX = INITIAL, +1, ... (as long as CONDITION holds), sum EXPRESSION. (defalias 'calendar-sum '(macro . #[(index initial condition expression) #@145 ("\304 D\305B\306\n\307\310\311\310E\312D\257E\313BBB\207" . [index initial condition expression let ((sum 0)) while setq sum + 1+ (sum)])(#$ . 38680) nil 10 (#$ . 38525)])) (put 'calendar-sum 'edebug-form-spec '(symbolp form form form)) #@182 Switch to BUFFER and execute the forms in BODY. First creates or erases BUFFER as needed. Leaves BUFFER read-only, with disabled undo. Leaves point at point-min, displays BUFFER. (defalias 'calendar-in-read-only-buffer '(macro . #[(buffer &rest body) #@332 ("\302\303\304DD\305\306\307\310 \311\312\313\314DF\"BBBBB\207" . [buffer body progn set-buffer get-buffer-create (or (derived-mode-p 'special-mode) (special-mode)) (setq buffer-read-only nil buffer-undo-list t) (erase-buffer) append (goto-char (point-min)) (set-buffer-modified-p nil) (setq buffer-read-only t) display-buffer])(#$ . 39190) nil 12 (#$ . 38930)])) (byte-code "\300\301\302\303#\210\300\301\304\305#\207" [put calendar-in-read-only-buffer lisp-indent-function 1 edebug-form-spec t] 4) #@69 Extract the month part of DATE which has the form (month day year). (defalias 'calendar-extract-month #[(date) #@21 ("@\207" . [date])(#$ . 39815) nil 1 (#$ . 39698)]) (byte-code "\300\301\302\303#\210\304\305\301\306#\210\307\305\301\310#\207" [put calendar-extract-month byte-optimizer byte-compile-inline-expand defalias extract-calendar-month nil make-obsolete "23.1"] 4) #@67 Extract the day part of DATE which has the form (month day year). (defalias 'calendar-extract-day #[(date) #@30 ("\211A@)\207" . [date x])(#$ . 40195) nil 2 (#$ . 40082)]) (byte-code "\300\301\302\303#\210\304\305\301\306#\210\307\305\301\310#\207" [put calendar-extract-day byte-optimizer byte-compile-inline-expand defalias extract-calendar-day nil make-obsolete "23.1"] 4) #@68 Extract the year part of DATE which has the form (month day year). (defalias 'calendar-extract-year #[(date) #@27 ("\3018\207" . [date 2])(#$ . 40582) nil 2 (#$ . 40467)]) (byte-code "\300\301\302\303#\210\304\305\301\306#\210\307\305\301\310#\207" [put calendar-extract-year byte-optimizer byte-compile-inline-expand defalias extract-calendar-year nil make-obsolete "23.1"] 4) #@108 Return t if YEAR is a Gregorian leap year. A negative year is interpreted as BC; -1 being 1 BC, and so on. (defalias 'calendar-leap-year-p #[(year) #@119 ("\301W\2030\302!S\303\304\246!\205!0\303\305\246!?\206!0\303\306\246!\207" . [year 0 abs zerop 4 100 400])(#$ . 41009) nil 3 (#$ . 40854)]) (put 'calendar-leap-year-p 'byte-optimizer 'byte-compile-inline-expand) #@36 The last day in MONTH during YEAR. (defalias 'calendar-last-day-of-month #[(month year) #@209 ("\302U\203/0 \211\303W\2030\304 !S\305 \306\246!\205)0\305 \307\246!?\206)0\305 \310\246!)\203/0\311\207\312SH\207" . [month year 2 0 abs zerop 4 100 400 29 [31 28 31 30 31 30 31 31 30 31 30 31]])(#$ . 41333) nil 4 (#$ . 41238)]) (put 'calendar-last-day-of-month 'byte-optimizer '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) #@263 ("\211@)\211\211A@*\3068) S\307_\\ \306V\203W0 \310 \311_\\\312\245Z\f\211\313W\203:0\314\f!S\315\f\311\246!\205P0\315\f\316\246!?\206P0\315\f\317\246!)\203W0 T ,\207" . [date month x day year day-of-year 2 31 23 4 10 0 abs zerop 100 400])(#$ . 41885) nil 5 (#$ . 41659)]) (put 'calendar-day-number 'byte-optimizer 'byte-compile-inline-expand) #@295 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. DATE is a list of the form (month day year). A negative year is interpreted as BC; -1 being 1 BC, and so on. Dates before 12/31/1 BC return negative results. (defalias 'calendar-absolute-from-gregorian #[(date) #@907 ("\3068)\307\310\n!\2030\311\312!\202h\n\313V\203\2210\nS\314\211\211@)\211\211A@*\3068) S\315_\\\306V\203}0\316\317_\\\320\245Z\n\211\313W\203^0\321\n!S\310\n\317\246!\205t0\310\n\322\246!?\206t0\310\n\323\246!)\203}0T- \324_ \317\245 \322\245[ \323\245%\202h\321\nT!\325\211\211@)\211\211A@*\3068) S\315_\\\306V\203\3650\316\317_\\\320\245Z\n\211\313W\203\3260\321\n!S\310\n\317\246!\205\3540\310\n\322\246!?\206\3540\310\n\323\246!)\203\3650T- \324_ \317\245 \322\245[ \323\245\326\211\211@)\211\211A@*\3068) S\315_\\\306V\203c\316\317_\\\320\245Z\n\211\313W\203D\321\n!S\310\n\317\246!\205Z\310\n\322\246!?\206Z\310\n\323\246!)\203cT-&*\207" . [date offset-years year month x day 2 nil zerop error "There was no year zero" 0 + 31 23 4 10 abs 100 400 365 - (12 31 -1) day-of-year])(#$ . 42612) nil 11 (#$ . 42258)]) (put 'calendar-absolute-from-gregorian 'byte-optimizer 'byte-compile-inline-expand) #@1614 Display a three-month Gregorian calendar. 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 optional prefix argument ARG is non-nil, prompts for the central month and year. 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. Use \[describe-mode] for details of the key bindings in the calendar window. Displays the calendar in a separate window, or optionally in a separate frame, depending on the value of `calendar-setup'. If `calendar-view-diary-initially-flag' is non-nil, also displays the diary entries for the current date (or however many days `diary-number-of-entries' specifies). This variable can be overridden by `calendar-setup'. As well as being displayed, diary entries can also be marked on the calendar (see `calendar-mark-diary-entries-flag'). Runs the following hooks: `calendar-load-hook' - after loading calendar.el `calendar-today-visible-hook', `calendar-today-invisible-hook' - after generating a calendar, if today's date is visible or not, respectively `calendar-initial-window-hook' - after first creating a calendar This function is suitable for execution in an init file. (defalias 'calendar #[(&optional arg) #@177 ("\302>\2030\303 \2030\304 \"\207\305 !\207" . [calendar-setup arg (one-frame two-frames calendar-only) display-multi-frame-p calendar-frame-setup calendar-basic-setup])(#$ . 45302) nil 3 (#$ . 43644) "P"]) #@200 Create a three-month calendar. If optional prefix argument ARG is non-nil, prompts for the month and year, else uses the current date. If NODISPLAY is non-nil, don't display the generated calendar. (defalias 'calendar-basic-setup #[(&optional arg nodisplay) #@1199 ("p\306 !q\210\307 \210\310\311\f$\2030\312\310!\2020\313 \211%\211%@)&%%\314%8)'\315\316()'\317W\203D0'T'\320')_&\321*[$(\322()\"T&()\245'(\317W\203v0&\323V\203v0'S''\323W\203\2020'S'*+\204\2550\324\310!\203\2210\325 \210\326 !\210\327 \204\2550\330 \203\2550\331 ,\332!\210\333,!\210)\334&'\"\210-\203\3030\335%!\203\3030\336 \210..\203\3500\337/!\2110\205\3300\3400!\2111\203\3420\314\202\3430\311\341 \210+\342\343!\207" . [buff calendar-buffer pop-up-windows split-height-threshold calendar-split-width-threshold split-width-threshold get-buffer-create calendar-mode t 1000 calendar-read-date calendar-current-date 2 12 nil 0 + -1 mod 1 window-splittable-p split-window-right pop-to-buffer window-dedicated-p window-full-height-p split-window-below switch-to-buffer select-window calendar-generate-window calendar-date-is-visible-p diary-view-entries get-file-buffer get-buffer-window calendar-list-holidays run-hooks calendar-initial-window-hook arg date month year macro-y nmonths calendar-offset nodisplay win calendar-view-diary-initially-flag calendar-view-holidays-initially-flag diary-file diary-buffer diary-window])(#$ . 45789) nil 6 (#$ . 45522) "P"]) #@115 Generate the calendar window for the current date. Optional integers MON and YR are used instead of today's date. (defalias 'calendar-generate-window #[(&optional mon yr) #@1138 ("\306\307 \211\211@) \211\211A@* \310\n8)_ ?\206/0\311\312 !_$!\313X\"\314\315 !\316#!=$\317 \206C0!\206J0_\"\210\320 \210\321\"\203Y0 \202_0%\313&E!\210\322\323!\210$\203\2020\324 \203y0\325\323\211'#\210\202~0\326\323\327\"\210\330\327!\210\331\332!\203\2200\203\2200\333 \210(\203\2430\334 \203\2430$\203\2430\330\327!\210\335\216)\205\2540\336 .\207" . [inhibit-read-only today date month x day t calendar-current-date 2 abs calendar-interval 1 window-buffer selected-window get-buffer calendar-generate calendar-update-mode-line calendar-cursor-to-visible-date set-buffer-modified-p nil window-combined-p fit-window-to-buffer set-window-vscroll 0 sit-for boundp font-lock-mode font-lock-fontify-buffer calendar-mark-holidays ((byte-code "\2030\301\302!\210\2020\301\303!\210\301\207" [today-visible run-hooks calendar-today-visible-hook calendar-today-invisible-hook] 2)) diary-mark-entries year mon yr today-visible calendar-buffer in-calendar-window displayed-month displayed-year calendar-minimum-window-height calendar-mark-holidays-flag calendar-mark-diary-entries-flag])(#$ . 47210) nil 7 (#$ . 47031)]) #@72 Generate a three-month Gregorian calendar centered around MONTH, YEAR. (defalias 'calendar-generate #[(month year) #@592 (" S\306_\\\307W\2030\310\311!\210 \312 \210\306\313 \314W\203#0 T\315 _\316\211$\317\f \"T\f \245\f\314W\203E0\320V\203E0 S \320W\203N0 S*\321\314W\205\2540\322 _\\#\210\306\313 \314W\203w0 T\315 _\316\320$\317\f \"T\f \245\f\314W\203\2310\320V\203\2310 S \320W\203\2420 S*T\211\202W0*\207" . [month year displayed-month displayed-year macro-y nmonths 12 2 error "Months before January, 1 AD cannot be displayed" erase-buffer nil 0 + -1 mod 1 3 calendar-generate-month i --dotimes-limit-- calendar-left-margin calendar-month-width])(#$ . 48508) nil 7 (#$ . 48386)]) #@62 Like `move-to-column', but indents if the line is too short. (defalias 'calendar-move-to-column #[(indent) #@54 ("\301!W\205\n0j\207" . [indent move-to-column])(#$ . 49251) nil 2 (#$ . 49138)]) #@55 Move to the next line, adding a newline if necessary. (defalias 'calendar-ensure-newline #[nil #@49 ("\300\301y!\206 0\302c\207" . [zerop 1 "\n"])(#$ . 49444) nil 2 (#$ . 49343)]) #@233 Move to column INDENT, adding spaces as needed. Inserts STRING so that it ends at INDENT. STRING is either a literal string, or a sexp to evaluate to return such. Truncates STRING to length TRUNCATE, and ensures a trailing space. (defalias 'calendar-insert-at-column #[(indent string truncate) #@404 ("\303\304\305\217\2040\306!\207\307 !\nV\2030\310 \n\"\311\312 \"\204F0\307 !\nU\203.0 \313\314O\202/0 \307 ! GU\203<0\315\202D0\316\315\317\320\321E#P\306\307 !Z!\210 c\207" . [indent string truncate nil (byte-code "\301!\211;\207" [string eval] 2) ((error)) calendar-move-to-column string-width truncate-string-to-width string-match " $" 0 -1 " " propertize display space :align-to])(#$ . 49835) nil 7 (#$ . 49532)]) #@302 Produce a calendar for MONTH, YEAR on the Gregorian calendar. The calendar is inserted at the top of the buffer in 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 'calendar-generate-month #[(month year indent) #@1340 ("\306\307\310 E!\nZ\311\" \211\312U\203@0 \211\313W\203\"0\314 !S\315 \316\246!\20580\315 \317\246!?\20680\315 \320\246!)\203@0\321\202D0\322SH*\fS^\310\323%&'(eb\210\324)!\210\325*C\326+#c\210\327 \210\330),&#\210\311\313-.-.W\203\2620\331\306\n-\\\311\"\323\332#/\203\2310\333 0\"\202\2360 \3130O\33410Z\326\"\261\210-T\211-\202z0*\327 \210\330)2&#\210\334(1_\326\"c\210'\313-.-.W\2055-T%\335\211\3363\"%\33413Z\326\"#c\210\337`3TZ`S\340\341\342\3434!\344BBBB#\210\315\306%(\\\311\"!\203,%'U\204,\327 \210%T%\330)2&#\210-T\211-\202\3220.\207" . [month year calendar-week-start-day calendar-intermonth-spacing calendar-left-margin string mod calendar-day-of-week 1 7 2 0 abs zerop 4 100 400 29 [31 28 31 30 31 30 31 31 30 31 30 31] nil calendar-move-to-column calendar-string-spread 32 calendar-ensure-newline calendar-insert-at-column calendar-day-name t truncate-string-to-width make-string format "%%%dd%%s" set-text-properties mouse-face highlight help-echo eval (date t) day trunc last blank-days indent calendar-month-header calendar-month-digit-width calendar-intermonth-header i --dotimes-limit-- enable-multibyte-characters calendar-day-header-width calendar-column-width calendar-intermonth-text calendar-day-digit-width calendar-date-echo-text])(#$ . 50644) nil 9 (#$ . 50278)]) #@60 Redraw the calendar display, if `calendar-buffer' is live. (defalias 'calendar-redraw #[nil #@219 ("\304!\2050rq\210\305 \306\n\"\210\307 !*\207" . [calendar-buffer cursor-date displayed-month displayed-year get-buffer calendar-cursor-to-nearest-date calendar-generate-window calendar-cursor-to-visible-date])(#$ . 52121) nil 3 (#$ . 52022) nil]) #@29 Keymap for `calendar-mode'. (defvar calendar-mode-map (byte-code "\306 \307!\210\310\311\211\203\"