Server IP : 111.118.215.189 / Your IP : 18.188.23.45 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/diary-lib.el ;;; in Emacs version 24.3.1 ;;; with all optimizations. ;;; This file contains utf-8 non-ASCII characters, ;;; and so cannot be loaded into Emacs 22 or earlier. (and (boundp 'emacs-version) (< (aref emacs-version (1- (length emacs-version))) ?A) (string-lessp emacs-version "23") (error "`%s' was compiled for Emacs 23 or later" #$)) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\302\303!\210\304\305\306\307#\210\310\311\306\312\313\314\315\303&\210\316\317\320\321\322\323\315\311&\210\316\324\306\325\322\326\315\311&\210\316\327\330\331\322\332\315\333&\210\334\327\335\336#\210\337\340\341\342\343\344\315\333&\210\337\345\346\347\343\344\315\333&\210\337\350\351\352\343\344\315\333&\210\353\354\355\350#\210\353\354\356\357\344!\206m \307#\210\316\360\361\362\322\363\315\311&\210\316\364\365\366\322\367\315\311&\210\316\370\306\371\322\326\315\311&\210\316\372\373\374\322\375\315\311&\210\376\377\201@ \306#\210\201A \306\211\203\317 @\377N\203\310 \201@ N\204\310 \353\201@ \377N#\210 A\211\204\255 *\334\377\201@ \336#\210\316\201@ \201B \201C \322\323\315\311&\210\316\201D \306\201E \343\201F \322\201G \315\311& \210\316\201H \201I \201J \343\201F \322\323\315\311& \210\316\201K \306\201L \322\201M \315\311&\210\376\201N \201O \306#\210\201A \306\211\203^ @\201N N\203W\201O N\204W\353\201O \201N N#\210 A\211\2048*\334\201N \201O \336#\210\316\201O \201P \201Q \322\201R \201S \201T \201U \201V \343\201W \315\311& \210\376\201X \201Y \306#\210\201A \306\211\203\306 @\201X N\203\277\201Y N\204\277\353\201Y \201X N#\210 A\211\204\240*\334\201X \201Y \336#\210\316\201Y \306\201Z \322\201M \201[ \201\\ \315\311& \210\376\201] \201^ \306#\210\201A \306\211\203\" @\201] N\203\201^ N\204\353\201^ \201] N#\210 A\211\204\374*\334\201] \201^ \336#\210\316\201^ \306\201_ \322\201M \201[ \201` \315\311& \210\376\201a \201b \306#\210\201A \306\211\203~ @\201a N\203w\201b N\204w\353\201b \201a N#\210 A\211\204X*\334\201a \201b \336#\210\316\201b \306\201c \322\201M \201[ \201d \315\311& \210\376\201e \201f \306#\210\201A \306\211\203\332 @\201e N\203\323\201f N\204\323\353\201f \201e N#\210 A\211\204\264*\334\201e \201f \336#\210\316\201f \306\201g \322\201M \201[ \201h \315\311& \210\376\201i \201j \306#\210\201A \306\211\2036 @\201i N\203/\201j N\204/\353\201j \201i N#\210 A\211\204*\334\201i \201j \336#\210\316\201j \201k \201l \322\201M \315\311&\210\316\201m \201n \201o \322\201p \315\311\343\201q & \210\316\201r \201s \201t \315\311\322\323\343\201q & \210\316\201u \201v \201w \315\311\322\201p \343\201q & \210\316\201x \201y \201z \322\201{ \315\311&\210\376\201| \201} \306#\210\201A \306\211\203\344 @\201| N\203\335\201} N\204\335\353\201} \201| N#\210 A\211\204\276*\334\201| \201} \336#\210\316\201} \307\201~ \322\326\315\311&\207" [prop --dolist-tail-- require calendar load "diary-loaddefs" nil t custom-declare-group diary "Emacs diary." :prefix "diary-" :group custom-declare-variable diary-include-string "#include" "The string indicating inclusion of another file of diary entries.\nSee the documentation for the function `diary-include-other-diary-files'." :type string diary-list-include-blanks "If nil, do not include days with no diary entry in the list of diary entries.\nSuch days will then not be shown in the fancy diary buffer, even if they\nare holidays." boolean diary-face 'diary "Face name to use for diary entries." face calendar-faces make-obsolete-variable "customize the face `diary' instead." "23.1" custom-declare-face diary-anniversary ((t :inherit font-lock-keyword-face)) "Face used for anniversaries in the fancy diary display." :version "22.1" diary-time ((t :inherit font-lock-variable-name-face)) "Face used for times of day in the fancy diary display." diary-button ((((type pc) (class color)) (:foreground "lightblue"))) "Face used for buttons in the fancy diary display." put diary-button-face face-alias obsolete-face purecopy diary-face-attrs '((" *\\[foreground:\\([-a-z]+\\)\\]$" 1 :foreground string) (" *\\[background:\\([-a-z]+\\)\\]$" 1 :background string) (" *\\[width:\\([-a-z]+\\)\\]$" 1 :width symbol) (" *\\[height:\\([.0-9]+\\)\\]$" 1 :height int) (" *\\[weight:\\([-a-z]+\\)\\]$" 1 :weight symbol) (" *\\[slant:\\([-a-z]+\\)\\]$" 1 :slant symbol) (" *\\[underline:\\([-a-z]+\\)\\]$" 1 :underline stringtnil) (" *\\[overline:\\([-a-z]+\\)\\]$" 1 :overline stringtnil) (" *\\[strike-through:\\([-a-z]+\\)\\]$" 1 :strike-through stringtnil) (" *\\[inverse-video:\\([-a-z]+\\)\\]$" 1 :inverse-video tnil) (" *\\[face:\\([-0-9a-z]+\\)\\]$" 1 :face string) (" *\\[font:\\([-a-z0-9]+\\)\\]$" 1 :font string)) "Alist of (REGEXP SUBEXP ATTRIBUTE TYPE) elements.\nThis is used by `diary-pull-attrs' to fontify certain diary\nelements. REGEXP is a regular expression to for, and SUBEXP is\nthe numbered sub-expression to extract. `diary-glob-file-regexp-prefix'\nis pre-pended to REGEXP for file-wide specifiers. ATTRIBUTE\nspecifies which face attribute (e.g. `:foreground') to modify, or\nthat this is a face (`:face') to apply. TYPE is the type of\nattribute being applied. Available TYPES (see `diary-attrtype-convert')\nare: `string', `symbol', `int', `tnil', `stringtnil.'" (repeat (list (string :tag "Regular expression") (integer :tag "Sub-expression") (symbol :tag "Attribute (e.g. :foreground)") (choice (const string :tag "A string") (const symbol :tag "A symbol") (const int :tag "An integer") (const tnil :tag "`t' or `nil'") (const stringtnil :tag "A string, `t', or `nil'")))) diary-glob-file-regexp-prefix "^\\#" "Regular expression pre-pended to `diary-face-attrs' for file-wide specifiers." regexp diary-file-name-prefix "Non-nil means prefix each diary entry with the name of the file defining it." diary-file-name-prefix-function 'identity "The function that will take a diary file name and return the desired prefix." function defvaralias sexp-diary-entry-symbol diary-sexp-entry-symbol (saved-value saved-variable-comment) "%%" "The string used to indicate a sexp diary entry in `diary-file'.\nSee the documentation for the function `diary-list-sexp-entries'." diary-comment-start "String marking the start of a comment in the diary, or nil.\nNil means there are no comments. The diary does not display\nparts of entries that are inside comments. You can use comments\nfor whatever you like, e.g. for meta-data that packages such as\n`appt.el' can use. Comments may not span multiple lines, and there\ncan be only one comment on any line.\nSee also `diary-comment-end'." "24.1" (choice (const :tag "No comment" nil) string) diary-comment-end #1="" "String marking the end of a comment in the diary.\nThe empty string means comments finish at the end of a line.\nSee also `diary-comment-start'." diary-hook "List of functions called after the display of the diary.\nUsed for example by the appointment package - see `appt-activate'." hook diary-display-hook diary-display-function 'diary-fancy-display "Function used to display the diary.\nThe two standard options are `diary-fancy-display' and `diary-simple-display'.\n\nFor historical reasons, `nil' is the same as `diary-simple-display'\n(so you must use `ignore' for no display). Also for historical\nreasons, this variable can be a list of functions to run. These\nuses are not recommended and may be removed at some point.\n\nWhen this function is called, the variable `diary-entries-list'\nis a list, in order by date, of all relevant diary entries in the\nform of ((MONTH DAY YEAR) STRING), where string is the diary\nentry for the given date. This can be used, for example, to\nproduce a different buffer for display (perhaps combined with\nholidays), or hard copy output." (choice (const diary-fancy-display :tag "Fancy display") (const diary-simple-display :tag "Basic display") (const ignore :tag "No display") (const nil :tag "Obsolete way to choose basic display") (hook :tag "Obsolete form with list of display functions")) :initialize custom-initialize-default :set diary-set-maybe-redraw "23.2" list-diary-entries-hook diary-list-entries-hook "Hook run after diary file is culled for relevant entries.\n\nIf you add `diary-include-other-diary-files' to this hook, you\nwill probably also want to add `diary-mark-included-diary-files'\nto `diary-mark-entries-hook'. For example, to cause the fancy\ndiary buffer to be displayed with diary entries from various\nincluded files, each day's entries sorted into lexicographic\norder, add the following to your init file:\n\n (setq diary-display-function 'diary-fancy-display)\n (add-hook 'diary-list-entries-hook 'diary-include-other-diary-files)\n (add-hook 'diary-list-entries-hook 'diary-sort-entries t)\n\nNote how the sort function is placed last, so that it can sort\nthe entries included from other files.\n\nThis hook runs after `diary-nongregorian-listing-hook'. These two hooks\ndiffer only if you are using included diary files. In that case,\n`diary-nongregorian-listing-hook' runs for each file, whereas\n`diary-list-entries-hook' only runs once, for the main diary file.\nSo for example, to sort the complete list of diary entries you would\nuse the list-entries hook, whereas to process e.g. Islamic entries in\nthe main file and all included files, you would use the nongregorian hook." :options (diary-include-other-diary-files diary-sort-entries) mark-diary-entries-hook diary-mark-entries-hook "List of functions called after marking diary entries in the calendar.\nYou might wish to add `diary-mark-included-diary-files', in which case\nyou will probably also want to add `diary-include-other-diary-files' to\n`diary-list-entries-hook'.\n\nThis hook runs after `diary-nongregorian-marking-hook'. These two hooks\ndiffer only if you are using included diary files. In that case,\n`diary-nongregorian-marking-hook' runs for each file, whereas\n`diary-mark-entries-hook' only runs once, for the main diary file." (diary-mark-included-diary-files) nongregorian-diary-listing-hook diary-nongregorian-listing-hook "List of functions called for listing diary file and included files.\nAs the files are processed for diary entries, these functions are used\nto cull relevant entries. You can use any or all of\n`diary-bahai-list-entries', `diary-hebrew-list-entries', and\n`diary-islamic-list-entries'. The documentation for these functions\ndescribes the style of such diary entries.\n\nYou can use this hook for other functions as well, if you want them to\nbe run on the main diary file and any included diary files. Otherwise,\nuse `diary-list-entries-hook', which runs only for the main diary file." (diary-bahai-list-entries diary-hebrew-list-entries diary-islamic-list-entries) nongregorian-diary-marking-hook diary-nongregorian-marking-hook "List of functions called for marking diary file and included files.\nAs the files are processed for diary entries, these functions are used\nto cull relevant entries. You can use any or all of\n`diary-bahai-mark-entries', `diary-hebrew-mark-entries' and\n`diary-islamic-mark-entries'. The documentation for these functions\ndescribes the style of such diary entries.\n\nYou can use this hook for other functions as well, if you want them to\nbe run on the main diary file and any included diary files. Otherwise,\nuse `diary-mark-entries-hook', which runs only for the main diary file." (diary-bahai-mark-entries diary-hebrew-mark-entries diary-islamic-mark-entries) print-diary-entries-hook diary-print-entries-hook 'lpr-buffer "Run by `diary-print-entries' after preparing a temporary diary buffer.\nThe buffer shows only the diary entries currently visible in the\ndiary buffer. The default just does the printing. Other uses\nmight include, for example, rearranging the lines into order by\nday and time, saving the buffer instead of deleting it, or\nchanging the function used to do the printing." diary-unknown-time -9999 "Value returned by `diary-entry-time' when no time is found.\nThe default value -9999 causes entries with no recognizable time\nto be placed before those with times; 9999 would place entries\nwith no recognizable time after those with times." integer "20.3" diary-mail-addr (or (bound-and-true-p user-mail-address) #1#) "Email address that `diary-mail-entries' will send email to." diary-mail-days 7 "Default number of days for `diary-mail-entries' to check." diary-remind-message '("Reminder: Only " (if (zerop (% days 7)) (format "%d week%s" (/ days 7) (if (= 7 days) #1# "s")) (format "%d day%s" days (if (= 1 days) #1# "s"))) " until " diary-entry) "Pseudo-pattern giving form of reminder messages in the fancy diary display.\n\nUsed by the function `diary-remind', a pseudo-pattern is a list of\nexpressions that can involve the keywords `days' (a number), `date'\n(a list of month, day, year), and `diary-entry' (a string)." sexp abbreviated-calendar-year diary-abbreviated-year-flag "Interpret a two-digit year DD in a diary entry as either 19DD or 20DD.\nThis applies to the Gregorian, Hebrew, Islamic, and Bahá'í calendars.\nWhen the current century is added to a two-digit year, if the result\nis more than 50 years in the future, the previous century is assumed.\nIf the result is more than 50 years in the past, the next century is assumed.\nIf this variable is nil, years must be written in full."] 15) #@268 Return a replace-match template for an element of `diary-outlook-formats'. Returns a string using match elements 1-5, where: 1 = month name, 2 = day, 3 = year, 4 = time, 5 = location; also uses %s = message subject. BODY is the string from which the matches derive. (defalias 'diary-outlook-format-1 #[(body) "\306\307\"\306\310\"\306\311\"\312\313\215\211\203$ \314\f\315\n!\315!E!\2029 \316=\203. \317\2029 \320=\2038 \321\2029 \322\323P,\207" [body monthname day year month calendar-date-style match-string 1 2 3 found (byte-code "G\304 \nW\203 H\230\203 \305\306 T\"\210 T\211\202 *\307\207" [calendar-month-name-array i --dotimes-limit-- monthname 0 throw found nil] 4) calendar-date-string string-to-number iso "\\3 \\1 \\2" european "\\2 \\1 \\3" "\\1 \\2 \\3" "\n \\4 %s, \\5"] 6 (#$ . 13563)]) #@809 Alist of regexps matching message text and replacement text. The regexp must match the start of the message text containing an appointment, but need not include a leading `^'. If it matches the current message, a diary entry is made from the corresponding template. If the template is a string, it should be suitable for passing to `replace-match', and so will have occurrences of `\D' to substitute the match for the Dth subexpression. It must also contain a single `%s' which will be replaced with the text of the message's Subject field. Any other `%' characters must be doubled, so that the template can be passed to `format'. If the template is actually a function, it is called with the message body text as argument, and may use `match-string' etc. to make a template following the rules above. (custom-declare-variable 'diary-outlook-formats ''(("[ \n]*When: [[:alpha:]]+, \\([[:alpha:]]+\\) \\([0-9][0-9]*\\), \\([0-9]\\{4\\}\\),? \\(.+\\)\n\\(?:Where: \\(.+\n\\)\\)?" . diary-outlook-format-1)) '(#$ . 14394) :type '(alist :key-type (regexp :tag "Regexp matching time/place") :value-type (choice (string :tag "Template for entry") (function :tag "Unary function providing template"))) :version "22.1" :group 'diary) #@72 Set SYMBOL's value to VALUE, and redraw the diary header if necessary. (defalias 'diary-set-header #[(symbol value) "J \205 \306 !\307\f\"\210\n\2050 \f\232?\2050 r\nq\210 \310=\205/ \205, \n\211)*\207" [symbol diary-file dbuff oldvalue value major-mode find-buffer-visiting custom-set-default diary-mode diary-header-line-flag diary-header-line-format header-line-format] 3 (#$ . 15633)]) #@132 Non-nil means `diary-simple-display' will show a header line. The format of the header is specified by `diary-header-line-format'. (custom-declare-variable 'diary-header-line-flag t '(#$ . 16041) :group 'diary :type 'boolean :initialize 'custom-initialize-default :set 'diary-set-header :version "22.1") #@64 Internal diary variable; non-nil if some diary text is hidden. (defvar diary-selective-display nil (#$ . 16351)) #@114 Format of the header line displayed by `diary-simple-display'. Only used if `diary-header-line-flag' is non-nil. (custom-declare-variable 'diary-header-line-format ''(:eval (calendar-string-spread (list (if diary-selective-display "Some text is hidden - press \"C-c C-s\" before edit/copy" "Diary")) 32 (window-width))) '(#$ . 16471) :group 'diary :type 'sexp :initialize 'custom-initialize-default :set 'diary-set-header :version "23.3") #@49 Return non-nil if the diary is being displayed. (defalias 'diary-live-p #[nil "\302!\206 \205 \303 !\207" [diary-fancy-buffer diary-file get-buffer find-buffer-visiting] 2 (#$ . 16916)]) #@208 Set SYMBOL's value to VALUE, and redraw the diary if necessary. Redraws the diary if it is being displayed (note this is not the same as just visiting the `diary-file'), and SYMBOL's value is to be changed. (defalias 'diary-set-maybe-redraw #[(symbol value) "J\303\n\"\210\n \232?\205 \304 \205 \305 )\207" [symbol oldvalue value custom-set-default diary-live-p diary] 3 (#$ . 17114)]) (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#\210\312\304\313\314\315\316\317\320\321\322\323\324&\207" [prop --dolist-tail-- defvaralias number-of-diary-entries diary-number-of-entries nil (saved-value saved-variable-comment) put make-obsolete-variable "23.1" custom-declare-variable 1 "Specifies how many days of diary entries are to be displayed initially.\nThis variable affects the diary display when the command \\[diary] is\nused, or if the value of the variable `calendar-view-diary-initially-flag'\nis non-nil. For example, if the default value 1 is used, then only the\ncurrent day's diary entries will be displayed. If the value 2 is used,\nthen both the current day's and the next day's entries will be displayed.\n\nThe value can also be a vector such as [0 2 2 2 2 4 1]; this value says\nto display no diary entries on Sunday, the entries for the current date\nand the day after on Monday through Thursday, Friday through Monday's\nentries on Friday, and only Saturday's entries on Saturday.\n\nThis variable does not affect the diary display with the `d' command\nfrom the calendar; in that case, the prefix argument controls the number\nof days of diary entries displayed." :type (choice (integer :tag "Entries") (vector :value [0 0 0 0 0 0 0] (integer :tag "Sunday") (integer :tag "Monday") (integer :tag "Tuesday") (integer :tag "Wednesday") (integer :tag "Thursday") (integer :tag "Friday") (integer :tag "Saturday"))) :initialize custom-initialize-default :set diary-set-maybe-redraw :group diary] 13) #@136 Check that the file specified by `diary-file' exists and is readable. If so, return the expanded file name, otherwise signal an error. (defalias 'diary-check-diary-file #[nil "\203 \301!\203 \302!\203 \207\303\304\"\207\303\305\"\207" [diary-file file-exists-p file-readable-p error "Diary file `%s' is not readable" "Diary file `%s' does not exist"] 3 (#$ . 19123)]) #@291 Generate the diary window for ARG days starting with the current date. If no argument is provided, the number of days of diary entries is governed by the variable `diary-number-of-entries'. A value of ARG less than 1 does nothing. This function is suitable for execution in an init file. (defalias 'diary #[(&optional arg) "\301 \210\302\303 \205 \304!\"\207" [arg diary-check-diary-file diary-list-entries calendar-current-date prefix-numeric-value] 4 (#$ . 19507) "P"]) #@217 Prepare and display a buffer with diary entries. Searches the file named in `diary-file' for entries that match ARG days starting with the date indicated by the cursor position in the displayed three-month calendar. (defalias 'diary-view-entries #[(&optional arg) "\301 \210\302\303\304!\"\207" [arg diary-check-diary-file diary-list-entries calendar-cursor-to-date t] 3 (#$ . 19991) "p"]) #@265 Prepare and display buffer of diary entries from an alternative diary file. Searches for entries that match ARG days, starting with the date indicated by the cursor position in the displayed three-month calendar. DFILE specifies the file to use as the diary file. (defalias 'diary-view-other-diary-entries #[(arg dfile) "\303\n!)\207" [dfile diary-file arg diary-view-entries] 2 (#$ . 20389) (list (prefix-numeric-value current-prefix-arg) (read-file-name "Enter diary file name: " default-directory nil t))]) (byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias view-other-diary-entries diary-view-other-diary-entries nil make-obsolete "23.1"] 4) #@187 The syntax table used when parsing dates in the diary file. It is the standard syntax table used in Fundamental mode, but with the syntax of `*' and `:' changed to be word constituents. (defvar diary-syntax-table (byte-code "\301\302 !\303\304\305#\210\303\306\305#\210)\207" [st copy-syntax-table standard-syntax-table modify-syntax-entry 42 "w" 58] 4) (#$ . 21059)) #@126 Convert string ATTRVALUE to TYPE appropriate for a face description. Valid TYPEs are: string, symbol, int, stringtnil, tnil. (defalias 'diary-attrtype-convert #[(attrvalue type) "\302=\203 \207\303=\203 \304 !\207\305=\203 \306 !\207\307=\2034 \310\230\203* \311\207 \312\230\2032 \313\207 \207\314=\205= \310\230\207" [type attrvalue string symbol intern-soft int string-to-number stringtnil "t" t "nil" nil tnil] 2 (#$ . 21438)]) #@404 Search for matches for regexps from `diary-face-attrs'. If ENTRY is nil, searches from the start of the current buffer, and prepends all regexps with `diary-glob-file-regexp-prefix'. If ENTRY is a string, search for matches in that string, and remove them. Returns a list of ENTRY followed by (ATTRIBUTE VALUE) pairs. When ENTRY is non-nil, FILEGLOBATTRS forms the start of the (ATTRIBUTE VALUE) pairs. (defalias 'diary-pull-attrs #[(entry fileglobattrs) "\306\211\211\211\211\211\211\204n \212\306\211\203j @eb\210@P\211A@)\3078\3108\311 \306\312#\205L \313\f!\211\203a \314\n \"\211\203a \315\nD\"A\211\204 +\202\321 \306\211\203\320 @\211@\211A@)\3078\3108\306\316 \"\203\263 \313\f\"\317\320\312\211$\202\231 \n\203\307 \314\n \"\211\203\307 \315\nD\"A\211\204| *.D\207" [ret-attr type attrvalue attrname regnum regexp nil 2 3 re-search-forward t match-string-no-properties diary-attrtype-convert append string-match replace-match "" entry diary-face-attrs attr --dolist-tail-- diary-glob-file-regexp-prefix x fileglobattrs] 8 (#$ . 21888)]) #@281 Function applied to entry string before putting it into the entries list. Can be used by programs integrating a diary list into other buffers (e.g. org.el and planner.el) to modify the string or add properties to it. The function takes a string argument and must return a string. (defvar diary-modify-entry-list-string-function nil (#$ . 23033)) #@828 Add an entry to `diary-entries-list'. Do nothing if DATE or STRING are nil. DATE is the (MONTH DAY YEAR) for which the entry applies; STRING is the text of the entry as it will appear in the diary (i.e. with any format strings such as "%d" expanded); SPECIFIER is the date part of the entry as it appears in the diary-file; LITERAL is the entry as it appears in the diary-file (i.e. before expansion). If LITERAL is nil, it is taken to be the same as STRING. The entry is added to the list as (DATE STRING SPECIFIER LOCATOR GLOBCOLOR), where LOCATOR has the form (MARKER FILENAME LITERAL), FILENAME being the file containing the diary entry. Modifies STRING using `diary-modify-entry-list-string-function', if non-nil. Also removes the region between `diary-comment-start' and `diary-comment-end', if the former is non-nil. (defalias 'diary-add-to-list #[(date string specifier &optional marker globcolor literal) "\205p \205p \306 \206 \n\307 \203) \f!\211\310\230\204( \311\312 #)\2033 !\203Y \313\314!\211 \"\203Y \204L \315\311\316\314!#\310 #\317 \fE\257C\"\211*\207" [date string diary-file cstart dfile diary-file-name-prefix buffer-file-name nil "" format "[%s] %s" string-match regexp-quote replace-regexp-in-string "%s.*%s" append diary-file-name-prefix-function prefix diary-modify-entry-list-string-function diary-comment-start literal diary-comment-end diary-entries-list specifier marker globcolor] 9 (#$ . 23386)]) (byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias add-to-diary-list diary-add-to-list nil make-obsolete "23.1"] 4) #@618 Internal subroutine of `diary-list-entries'. Find diary entries applying to DATE, by searching from point-min for each element of `diary-date-forms'. MARK indicates an entry is non-marking. GLOBATTR is the list of global file attributes. If LIST-ONLY is non-nil, don't change the buffer, only return a list of entries. Optional array MONTHS replaces `calendar-month-name-array', and means months cannot be abbreviated. Optional string SYMBOL marks diary entries of the desired type. If DATE is not Gregorian, then the Gregorian equivalent should be provided via GDATE. Returns non-nil if any entries were found. (defalias 'diary-list-entries-2 #[(date mark globattr list-only &optional months symbol gdate) "\211@)\211\211A@*\3068)\307\310\311!\311\312\"#,\206( --\307\313\314 !,\2038 \315\202? \307\316\314 \312\"\"#.\307\317 \"\307\317\"\307\320\f/\203] \307\321\f\322\246\"\202^ \315#\3230\32412\3243\2114\203C4@\2113@\325=\205\203 3A3\323\307\326\3275!6\203\225 \3276!\202\226 \315\330\3313\332#$\324\211\211789:eb\210\333:\324\323#\2039\203\301 \334\335\324\323#\210n\203\321 \336\337!\204\321 \340u\210\202\255 \341\342!8\336\343!\203\337 \344y\210\3231`9\344y\210\336\337!\203\364 \344y\210\202\350 m\203\374 n\203\377 \340u\210;\204\f\3458`\346\347$\210\350\3519`\"<\"7\352=\2067@\3518T9S\"\3539!7\211A@)%\210\202\255 -4A\2114\204q *1.\207" [date month x day year dayname 2 format "%s\\|%s\\.?" calendar-day-name abbrev "\\*\\|%s%s" calendar-month-name "" "\\|%s\\.?" "\\*\\|0*%d" "\\*\\|0*%d%s" "\\|%02d" 100 t nil backup "^%s?%s\\(%s\\)" regexp-quote mapconcat eval "\\)\\(?:" re-search-forward re-search-backward "\\<" looking-at "[ ]" -1 line-end-position 0 "[ ]*\n[ ]" 1 remove-overlays invisible diary diary-pull-attrs buffer-substring-no-properties diary-add-to-list copy-marker months calendar-month-name-array monthname diary-abbreviated-year-flag case-fold-search entry-found diary-date-forms date-form --dolist-tail-- mark symbol temp date-start entry-start regexp list-only globattr gdate] 10 (#$ . 25003)]) #@213 List diary entries of a certain type. MONTHS is an array of month names. SYMBOL marks diary entries of the type in question. ABSFUNC is a function that converts absolute dates to dates of the appropriate type. (defalias 'diary-list-entries-1 #[(months symbol absfunc) "\n\306\fW\203\254\307 \211\3108)\311\312!\203+ \313\314!\202\317\306V\203\305 S\315\211\211@)\211\211A@*\3108)S\316_\\\310V\203\255 \317\320_\\\321\245Z\211\306W\203\213 \322!S\312\320\246!\205\244 \312\323\246!?\206\244 \312\324\246!)\203\255 T-\325_\320\245\323\245[\324\245%\202\317\322T!\326\211\211@)\211\211A@*\3108)S\316_\\\310V\203B\317\320_\\\321\245Z\211\306W\203 \322!S\312\320\246!\2059\312\323\246!?\2069\312\324\246!)\203BT-\325_\320\245\323\245[\324\245\327\211\211@)\211\211A@*\3108)S\316_\\\310V\203\312\317\320_\\\321\245Z\211\306W\203\250\322!S\312\320\246!\205\301\312\323\246!?\206\301\312\324\246!)\203\312T-&+! !\"#$ &\210\330 \211\3108)\311\312!\203\375\313\314!\202\241\306V\203\227S\315\211\211@)\211\211A@*\3108)S\316_\\\310V\203\317\320_\\\321\245Z\211\306W\203]\322!S\312\320\246!\205v\312\323\246!?\206v\312\324\246!)\203T-\325_\320\245\323\245[\324\245%\202\241\322T!\326\211\211@)\211\211A@*\3108)S\316_\\\310V\203\317\320_\\\321\245Z\211\306W\203\362\322!S\312\320\246!\205\312\323\246!?\206\312\324\246!)\203T-\325_\320\245\323\245[\324\245\327\211\211@)\211\211A@*\3108)S\316_\\\310V\203\234\317\320_\\\321\245Z\211\306W\203z\322!S\312\320\246!\205\223\312\323\246!?\206\223\312\324\246!)\203\234T-&+T!T\211\202 +eb\207" [original-date gdate number _idummy --dotimes-limit-- absfunc 0 diary-list-entries-2 2 nil zerop error "There was no year zero" + 31 23 4 10 abs 100 400 365 - (12 31 -1) calendar-gregorian-from-absolute date offset-years year month x day day-of-year diary-nonmarking-symbol file-glob-attrs list-only months symbol] 13 (#$ . 27117)]) #@104 List of any diary files included in the last call to `diary-list-entries'. Or to `diary-mark-entries'. (defvar diary-included-files nil (#$ . 29460)) #@2309 Create and display a buffer containing the relevant lines in `diary-file'. Selects entries for NUMBER days starting with date DATE. Hides any other entries using overlays. If NUMBER is less than 1, this function does nothing. Returns a list of all relevant diary entries found. The list entries have the form ((MONTH DAY YEAR) STRING SPECIFIER) where (MONTH DAY YEAR) is the date of the entry, STRING is the entry text, and SPECIFIER is the applicability. If the variable `diary-list-include-blanks' is non-nil, this list includes a dummy diary entry consisting of the empty string for a date with no diary entries. If producing entries for multiple dates (i.e., NUMBER > 1), then this function normally returns the entries from any given diary file in date order. The entries for any given day are in the order in which they were found in the file, not necessarily in time-of-day order. Note that any functions present on the hooks (see below) may add entries, or change the order. For example, `diary-include-other-diary-files' adds entries from any include files that it finds to the end of the original list. The entries from each file will be in date order, but the overall list will not be. If you want the entire list to be in time order, add `diary-sort-entries' to the end of `diary-list-entries-hook'. After preparing the initial list, hooks run in this order: `diary-nongregorian-listing-hook' runs for the main diary file, and each included file. For example, this is the appropriate hook to process Islamic entries in all diary files. `diary-list-entries-hook' runs once only, for the main diary file. For example, this is appropriate for sorting all the entries. If not using include files, there is no difference from the previous hook. `diary-hook' runs last, after the diary is displayed. This is used e.g. by `appt-check'. Functions called by these hooks may use the variables ORIGINAL-DATE and NUMBER, which are the arguments with which this function was called. Note that hook functions should _not_ use DATE, but ORIGINAL-DATE. (Sexp diary entries may use DATE - see `diary-list-sexp-entries'.) This function displays the list using `diary-display-function', unless LIST-ONLY is non-nil, in which case it just returns the list. (defalias 'diary-list-entries #[(date number &optional list-only) "\204 \306 !\203 \307\n!H\202 \310V\205\n\311\n!\312 !@\313\314!\205- \fA\315\211BC\315DA\204D \315E\316\317!\210\320\216r@\206^ F\203Z \321\322!\211D\202^ \323 \324\"q\210@\203q \325@!\204q \326\324\211\"\210D\203} \327 !\210\202\234 \330\331!=\203\214 \332 \210\202\234 \332=\203\234 G\205\232 HI`J\212\214~\210\333\315\334\"\211KA@)C\335 pLM\336\216\337N!\210eb\210F\204\344 \340ed\315\324\315%O\341\342!\210\324\"\343O\344\345#\210\343O\346\324#\210)\310PQPQW\203\317\347\n!\350\nRCF$STU\203T\204S\204\351\n\334\211\211\211%\210\352\n\211\353\n8)\315VW\354W!\2034\355\356!\202\301W\310V\203\306WSV\357\n\211\211@)X\n\211\211KA@*Y\n\353\n8)WYXS\360_\\ZX\353V\203\256Z\361X\362_\\\363\245ZZW\211W\310W\203\214\364W!SW\354W\362\246!\205\245\354W\365\246!?\206\245\354W\366\246!)\203\256ZTZZ-V\367_V\362\245V\365\245[V\366\245%\202\301\364WT!V\370\n\211\211@)X\n\211\211KA@*Y\n\353\n8)WYXS\360_\\ZX\353V\203;Z\361X\362_\\\363\245ZZW\211W\310W\203\364W!SW\354W\362\246!\2052\354W\365\246!?\2062\354W\366\246!)\203;ZTZZ-V\367_V\362\245V\365\245[V\366\245\371\211\211@)X\n\211\211KA@*Y\n\353\n8)WYXS\360_\\ZX\353V\203\274Z\361X\362_\\\363\245ZZW\211W\310W\203\232\364W!SW\354W\362\246!\205\263\354W\365\246!?\206\263\354W\366\246!)\203\274ZTZZ-&+T!*PT\211P\202\354 -eb\210\372\373\374\"\210F\204\367=\203\357=<\203\357\372\375!\210\202\367=\206\365\376 \210\372\377!\210-A\204\316\201[ !\210B.\207" [number diary-number-of-entries date original-date date-string diary-file vectorp calendar-day-of-week 0 calendar-date-string find-buffer-visiting boundp diary-including nil message "Preparing diary..." ((byte-code "\203 \301!\203 \302!\210\301\207" [temp-buff buffer-name kill-buffer] 2)) generate-new-buffer " *diary-temp*" find-file-noselect t verify-visited-file-modtime revert-buffer insert-file-contents default-value major-mode diary-mode diary-pull-attrs "" syntax-table ((byte-code "rq\210\302 !\210)\302\207" [#1=#:buffer #2=#:table set-syntax-table] 2)) set-syntax-table make-overlay make-local-variable diary-selective-display overlay-put invisible diary evaporate diary-list-sexp-entries diary-list-entries-2 diary-add-to-list calendar-gregorian-from-absolute 2 zerop error "There was no year zero" + 31 23 4 10 abs 100 400 365 - (12 31 -1) run-hooks diary-nongregorian-listing-hook diary-list-entries-hook diary-display-function diary-simple-display diary-hook diary-buffer d-incp diary-entries-list file-glob-attrs temp-buff diary-included-files list-only diary-header-line-flag diary-header-line-format header-line-format diary-saved-point x #1# #2# diary-syntax-table ol _idummy --dotimes-limit-- diary-nonmarking-symbol entry-found sexp-found diary-list-include-blanks offset-years year month day day-of-year "Preparing diary...done"] 12 (#$ . 29618)]) #@39 Show all invisible text in the diary. (defalias 'diary-unhide-everything #[nil "\300\301!\210\214~\210\302ed\303\304$\210)\300\305!\207" [kill-local-variable diary-selective-display remove-overlays invisible diary mode-line-format] 5 (#$ . 34966)]) #@373 Process diary entries from included diary files. By default, lists included entries, but if optional argument MARK is non-nil marks entries instead. For example, this enables you to share common diary files. Specify include files using lines matching `diary-include-string', e.g. #include "filename" This is recursive; that is, included files may include other files. (defalias 'diary-include-files #[(&optional mark) "eb\210\306\307\310\311!\"\312\313#\203\202 \314\315!\316\317\313\312\211\211\320!\203t \321!\203h \322!\211\235\203E \323\324\"\210\202} \325 C\"\203X \326 \210\202} \325 \327!\"\313#\" \202} \330\331\307\332\"\"\210\202} \330\331\307\333\"\"\210.\202 eb\207" [diary-include-string efile diary-list-include-blanks diary-hook diary-including diary-list-entries-hook re-search-forward format "^%s \"\\([^\"]*\\)\"" regexp-quote nil t match-string-no-properties 1 diary-mark-included-diary-files diary-include-other-diary-files file-exists-p file-readable-p expand-file-name error "Recursive diary include for %s" append diary-mark-entries diary-list-entries display-warning :error "Can't read included diary file %s\n" "Can't find included diary file %s\n" diary-mark-entries-hook diary-file diary-included-files mark diary-entries-list original-date number] 7 (#$ . 35222)]) #@210 Add diary entries from included diary files to `diary-entries-list'. To use, add this function to `diary-list-entries-hook'. For details, see `diary-include-files'. See also `diary-mark-included-diary-files'. (defalias 'diary-include-other-diary-files #[nil "\300 \207" [diary-include-files] 1 (#$ . 36563)]) (byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias include-other-diary-files diary-include-other-diary-files nil make-obsolete "23.1"] 4) #@168 Common subroutine of `diary-simple-display' and `diary-fancy-display'. Handles the case where there are no diary entries. Returns a cons (NOENTRIES . HOLIDAY-STRING). (defalias 'diary-display-no-entries #[nil "\205 \306 !\307\310\n\203 \311\202 \312\313\314\n\315#$\307\316\f\"?\2068 A?\2058 @\211A@)\312\230\211\203\214 G\317 W\204J \n\204R \320\321 \"\210\202\214 \322 !q\210\323\324!\204a \324 \210\325!\326\"\327 \210\330\307\331\"!\210\313\314\n\332#c\210eb\210\333\325!\210\326!\334 !\210\320\316\"\210\f,B\207" [diary-show-holidays-flag original-date holiday-list date-string hol-string msg calendar-check-holidays format "%s%s%s" ": " "" mapconcat identity "; " "No diary entries for %s" frame-width message "%s" get-buffer-create derived-mode-p special-mode nil t erase-buffer calendar-set-mode-line "Holidays for %s" "\n" set-buffer-modified-p display-buffer diary-entries-list x noentries holiday-buffer buffer-read-only buffer-undo-list] 9 (#$ . 37032)]) #@206 Display the diary buffer if there are any relevant entries or holidays. Entries that do not apply are made invisible. Holidays are shown in the mode line. This is an option for `diary-display-function'. (defalias 'diary-simple-display #[nil "\206 \306\307 !\310 !\311 r\nq\210\312\313\314A\"!\210)@?\2055 r\nq\210\315p!\316\f \"\210\317\fe\"*+\207" [pop-up-frames diary-file dbuff empty window diary-saved-point window-dedicated-p selected-window find-buffer-visiting diary-display-no-entries calendar-set-mode-line format "Diary for %s" display-buffer set-window-point set-window-start] 4 (#$ . 38034)]) (byte-code "\300\301\302\303#\210\304\301\302\305#\210\306\307\310\311\312\313\314\315\316\317& \207" [defalias simple-diary-display diary-simple-display nil make-obsolete "23.1" define-button-type diary-entry action diary-goto-entry face diary-button help-echo "Find this diary entry" follow-link t] 10) #@50 Jump to the diary entry for the BUTTON at point. (defalias 'diary-goto-entry #[(button) "\306\301\"\211@\307\211\n\203# \310\n!\211\203# \311!\210\312\n!b\202f \211A@)\211\203c \313\f!\203c \314\f!\203c \315\316!=\203F \317 \210eb\210\320\321\322\323\324 8!\323\325 8!#\307\326#\203c \327\224b\206f \330\331!,\207" [button locator marker markbuf file x button-get nil marker-buffer pop-to-buffer marker-position file-exists-p find-file-other-window default-value major-mode diary-mode re-search-forward format "%s.*\\(%s\\)" regexp-quote 2 3 t 1 message "Unable to locate this diary entry"] 8 (#$ . 38960)]) #@307 Prepare a diary buffer with relevant entries in a fancy, noneditable form. Holidays are shown unless `diary-show-holidays-flag' is nil. Days with no diary entries are not shown (even if that day is a holiday), unless `diary-list-include-blanks' is non-nil. This is an option for `diary-display-function'. (defalias 'diary-fancy-display #[nil "r\306!q\210\307 \210)\310 @?\205y\311 !q\210\312\313!\204 \313 \210\314\315\316 \210\317\320!\210\321\211\322\211\211E\314<=>\314?\211@\203U@@?\323 ?@\"\204\326?@A\203l\324=\211<B\211C\325U\203\233 B\211B\322W\203z \326B!SB\327B\330\246!\205\223 \327B\331\246!?\206\223 \327B\332\246!)\203\233 \333\202\240 \334CSH*<EC C\"\203l \211@)= \325 8)\211<\203l\335\314DE<\322W\203\320 <T<\336<E_=\337\321$D\340DE\"T=DE\245<D\322W\203 =\321V\203 <S<<\321W\203\f<S<*=<FG\341 *\211\203l\335\314DE<\322W\203/<T<\336<E_=\337\321$D\340DE\"T=DE\245<D\322W\203_=\321V\203_<S<<\321W\203k<S<*\322\314\211HIJ\f\314K\211@\203\237@@K\323 K@\"\203\226\342IKA\"I@A\211@\204*o\203\250\343\202\251\344\345 !\261\210I\203\267\346c\210iH\347\350I\351\352H\353\"P#c\210\344\352HJ\\\354\"\344\261\210+?\211LA@)\314\211\211MNOP\327PG!\204K\355?8\211O\203!\356P\357O@O\211LA@)\325?8\325O8\206?A@F\360\361%\210\202%Pc\210\344c\210\330?8\211N\203K\212\362N!M\363P!\210\364\365\322\224\322\225\"\366M#\210),@A\211@\204B .Q\367=\203e\370\371!\210\202h\367 \210\317R!\210eb\210\372\314!\210\315\373 !\207" [diary-file diary-fancy-buffer buffer-read-only buffer-undo-list holiday-list date find-buffer-visiting diary-unhide-everything diary-display-no-entries get-buffer-create derived-mode-p special-mode nil t erase-buffer calendar-set-mode-line "Diary Entries" 1 0 calendar-date-equal calendar-date-compare 2 abs zerop 4 100 400 29 [31 28 31 30 31 30 31 31 30 31 30 31] 12 + -1 mod calendar-holiday-list append "" 10 calendar-date-string ": " mapconcat #[(x) " G] \207" [longest x] 2] "\n" make-string 32 61 3 insert-button locator :type diary-entry calendar-make-temp-face search-backward overlay-put make-overlay face diary-fancy-display-mode run-hooks diary-fancy-display-mode-hook set-buffer-modified-p display-buffer holiday-list-last-year holiday-list-last-month diary-entries-list entry --dolist-tail-- diary-show-holidays-flag year month macro-y nmonths displayed-year displayed-month cc date-holiday-list longest h x temp-face marks this-loc this-entry major-mode date-string] 9 (#$ . 39587)]) (byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias fancy-diary-display diary-fancy-display nil make-obsolete "23.1"] 4) #@402 Print a hard copy of the diary display. If the simple diary display is being used, prepare a temp buffer with the visible lines of the diary buffer, add a heading line composed from the mode line, print the temp buffer, and destroy it. If the fancy diary display is being used, just print the buffer. The hooks given by the variable `diary-print-entries-hook' are called to do the actual printing. (defalias 'diary-print-entries #[nil "\306!\307\211\211\211\211\203 r q\210\310\311!)\202\204 \312!\211\204( \313\314!\210\315\316!r q\210;\204: \317\202E \320\321\"\210\322\323\"e\324\n\325\"\326\n\325\"\204_ r\fq\210\327 \n #\210) \203k dW\204H )\fq\210eb\210\330\331G\332\"\330\261\210\310\311!\210\333\f!-\207" [diary-fancy-buffer end start heading temp-buffer diary-buffer get-buffer nil run-hooks diary-print-entries-hook find-buffer-visiting error "You don't have a diary buffer!" get-buffer-create " *Printable Diary Entries*" "All Diary Entries" string-match "^-*\\([^-].*[^-]\\)-*$" match-string 1 next-single-char-property-change invisible get-char-property insert-buffer-substring "\n" make-string 61 kill-buffer diary-file mode-line-format] 6 (#$ . 42308) nil]) (byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias print-diary-entries diary-print-entries nil make-obsolete "23.1"] 4) #@211 Show all of the diary entries in the diary file. This function gets rid of the selective display of the diary file so that all entries, not just some, are visible. If there is no diary buffer, one is created. (defalias 'diary-show-all-entries #[nil "\305 \206 \306\307 !\307 \310 r\311!\206 \312\313\"q\210\f\314\304!=\203* \315 \210\316 \210\317p!\210\310\n!U?\205J r\320\n!q\210\321\322!)\205J \323\n!-\207" [d-file pop-up-frames win height major-mode diary-check-diary-file window-dedicated-p selected-window window-height find-buffer-visiting find-file-noselect t default-value diary-mode diary-unhide-everything display-buffer window-buffer derived-mode-p calendar-mode fit-window-to-buffer] 3 (#$ . 43652) nil]) #@685 Send a mail message showing diary entries for next NDAYS days. If no prefix argument is given, NDAYS is set to `diary-mail-days'. Mail is sent to the address specified by `diary-mail-addr'. Here is an example of a script to call `diary-mail-entries', suitable for regular scheduling using cron (or at). Note that since `emacs -script' does not load your init file, you should ensure that all relevant variables are set. #!/usr/bin/emacs -script ;; diary-rem.el - run the Emacs diary-reminder (setq diary-mail-days 3 diary-file "/path/to/diary.file" calendar-date-style 'european diary-mail-addr "user@host.name") (diary-mail-entries) # diary-rem.el ends here (defalias 'diary-mail-entries #[(&optional ndays) "\306\230\203\n \307\310!\207\311\312\313 \n\206 \"\210)\314\315\316\313 !P\"\210\317\f!\2031 r\fq\210\320 )\2022 \321c\210\322 \323N!\207" [diary-mail-addr diary-display-function ndays diary-mail-days diary-fancy-buffer mail-user-agent "" error "You must set `diary-mail-addr' to use this command" diary-fancy-display diary-list-entries calendar-current-date compose-mail "Diary entries generated " calendar-date-string get-buffer buffer-string "No entries found" call-interactively sendfunc] 5 (#$ . 44388) "P"]) #@288 Return a regexp matching the strings in the array STRING-ARRAY. If the optional argument ABBREV-ARRAY is present, the regexp also matches the supplied abbreviations, with or without final `.' characters. If the optional argument PAREN is non-nil, surrounds the regexp with parentheses. (defalias 'diary-name-pattern #[(string-array &optional abbrev-array paren) "\303\304 \211\205\f \305\306 \"\307$\n\"\207" [string-array abbrev-array paren regexp-opt append mapcar #[(e) "\301\302\"\207" [e format "%s."] 3] nil] 7 (#$ . 45649)]) #@58 True during the marking of diary entries, nil otherwise. (defvar diary-marking-entries-flag nil (#$ . 46190)) #@72 True during the marking of diary entries, if current entry is marking. (defvar diary-marking-entry-flag nil (#$ . 46306)) #@312 Mark diary entries of a certain type. MARKFUNC is a function that marks entries of the appropriate type matching a given date pattern. MONTHS is an array of month names. SYMBOL marks diary entries of the type in question. ABSFUNC is a function that converts absolute dates to dates of the appropriate type. (defalias 'diary-mark-entries-1 #[(markfunc &optional months symbol absfunc) "\306 \"\307\310\n\203 \306\n!\202 \306\f\"\"\311\211\211\312\3139 :\313;\211<\205\321<@\211;@\314=\203C ;A;;G\211=\315;>GZ>=>U?\205] >T>=\316;>GZ?=?U?\205u ?T?=\317;>GZ@=@U?\205\215 @T@=\320;>GZA=AU?\205\245 ATA=\321;>GZB=BU?\205\275 BTB\307\322C\203\315 \323C!\202\316 \324\325\326;\327##Deb\210\330D\313\312#\203\305>\205\354 \331>!E?\205\367 \331?!F\332A\203\331A!\202\324!G\332@\203\331@!\202\324!HB\205$\331B!\211I\204.\333\202LIG\334U\203HJ\203HK\203 K\335 \211LL\334L8)\313M\336!\203`\337\340!\202\333V\203\372SM\341L\211L\211L@)L\211L\211NA@*LL\334L8)S\342_\\O\334V\203\342O\343\344_\\\345\245ZO\211\333W\203\300\346!S\336\344\246!\205\331\336\347\246!?\206\331\336\350\246!)\203\342OTOO-M\351_M\344\245M\347\245[M\350\245%\202\346T!M\352L\211L\211L@)L\211L\211NA@*LL\334L8)S\342_\\O\334V\203wO\343\344_\\\345\245ZO\211\333W\203U\346!S\336\344\246!\205n\336\347\246!?\206n\336\350\246!)\203wOTOO-M\351_M\344\245M\347\245[M\350\245\353\211L\211L@)L\211L\211NA@*LL\334L8)S\342_\\O\334V\203\377O\343\344_\\\345\245ZO\211\333W\203\335\346!S\336\344\246!\205\366\336\347\246!?\206\366\336\350\246!)\203\377OTOO-&+!\202\335 L\334L8)P\332I!P\347\245\347_\\\211QPZ\211R\354V\2034Q\347Z\202DR\355W\203BQ\347\\\202DQ+\202L\332I!S\356\357`\360 \"T\"\211NA@)E\203\211@\204\211A\204\211B\204\211\361\362E\363\333\313 \364\365 \"%\312#A \"\210\202\300F\203\265F\366\230\203\231\333\202\263\362F\n\203\246\363\n!\202\260\363\367\313\f\364\370\f\"%\312#AGUGHS $\210.\202\332 .\f<A\211<\2042 \313. \207" [calendar-day-name-array calendar-day-abbrev-array months calendar-month-name-array calendar-month-abbrev-array marks diary-name-pattern format "%s\\|\\*" "[0-9]+\\|\\*" t nil backup dayname monthname day month year "^%s\\(%s\\)" regexp-quote "" mapconcat eval "\\)\\(" re-search-forward match-string-no-properties string-to-number 0 2 calendar-current-date zerop error "There was no year zero" + 31 23 4 10 abs 100 400 365 - (12 31 -1) 50 -50 diary-pull-attrs buffer-substring-no-properties line-end-position calendar-mark-days-named assoc-string calendar-make-alist mapcar #[(e) "\301\302\"\207" [e format "%s."] 3] "*" 1 #[(e) "\301\302\"\207" [e format "%s."] 3] case-fold-search diary-date-forms date-form --dolist-tail-- l d-name-pos m-name-pos d-pos m-pos y-pos symbol regexp dd-name mm-name mm dd y-str diary-abbreviated-year-flag absfunc date offset-years x day-of-year current-y y offset yy file-glob-attrs markfunc] 12 (#$ . 46435)]) #@675 Mark days in the calendar window that have diary entries. Marks each entry in the diary that is visible in the calendar window. After marking the entries, runs `diary-nongregorian-marking-hook' for the main diary file, and each included file. For example, this is the appropriate hook to process Islamic entries in all diary files. Next `diary-mark-entries-hook' runs, for the main diary file only. If not using include files, there is no difference between these two hooks. If the optional argument REDRAW is non-nil (which is the case interactively, for example) then this first removes any existing diary marks. This is intended to deal with deleted diary entries. (defalias 'diary-mark-entries #[(&optional redraw) "\203 \203 \306\307 \210\310\311\n!\312\303!\205 \306\211!\"#!\204. \306$\313\314!\210\315\216r\"\206H !\203C \316\317!\211\202H \320\321 \310\"q\210\f\203U \322\n!\210\202a \323\324!=\203a \325 \210\310\326\306\211\"A@\327 p%&\330\216\331'!\210\212\332\333!\210\334 \210\335\336\337\"\210.!\206\217 \313\340!-\207" [redraw calendar-mark-diary-entries-flag diary-file diary-including temp-buff file-glob-attrs nil calendar-redraw t find-buffer-visiting boundp message "Marking diary entries..." ((byte-code "\203 \301!\203 \302!\210\301\207" [temp-buff buffer-name kill-buffer] 2)) generate-new-buffer " *diary-temp*" find-file-noselect diary-check-diary-file insert-file-contents default-value major-mode diary-mode diary-pull-attrs syntax-table ((byte-code "rq\210\302 !\210)\302\207" [#1=#:buffer #2=#:table set-syntax-table] 2)) set-syntax-table diary-mark-entries-1 calendar-mark-date-pattern diary-mark-sexp-entries run-hooks diary-nongregorian-marking-hook diary-mark-entries-hook "Marking diary entries...done" d-incp diary-buffer diary-marking-entries-flag diary-included-files #1# #2# diary-syntax-table] 5 (#$ . 49597) "p"]) (byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias mark-diary-entries diary-mark-entries nil make-obsolete "23.1"] 4) #@38 Process a SEXP diary ENTRY for DATE. (defalias 'diary-sexp-entry #[(sexp entry date) "\203 \306\307\310\n!@!)\202 \311\303\312\313\217)\211;\203! \f\2029 \f:\2030 \fA;\2030 \f\2029 \f\2038 \2029 \311)\207" [calendar-debug-sexp debug-on-error sexp err result entry t eval read-from-string nil (byte-code "\301\302!@!\207" [sexp eval read-from-string] 3) ((error (byte-code "\303\304\305\306\307e`\" \n%\"\210\310\207" [diary-file sexp err display-warning :error format "Bad diary sexp at line %d in %s:\n%s\nError: %s\n" count-lines nil] 8)))] 4 (#$ . 51629)]) #@222 Mark days in the calendar window that have sexp diary entries. Each entry in the diary file (or included files) visible in the calendar window is marked. See the documentation for the function `diary-list-sexp-entries'. (defalias 'diary-mark-sexp-entries #[nil "\306!\307\310 \306\n! $\311\312\211\"A@\312\211/\312\21101\312\21123\312\2114\312\21156\3127r8q\2109:/)\313\312;</\314W\203R /T/\315/<_ \316\211$;\317;<\"T;<\245/;\314W\203 \320V\203 /S//\320W\203\213 /S/* \320/E\21122\32128)\312=>\322>!\203\255 \323\324!\202Q>\314V\203G>S=\3152\2112\2112@)?2\2112\211@A@*A22\32128)>A?S\325_\\B?\321V\203/B\326?\327_\\\330\245ZB>\211>\314W\203 \331>!S>\322>\327\246!\205&\322>\332\246!?\206&\322>\333\246!)\203/BTBB-=\334_=\327\245=\332\245[=\333\245%\202Q\331>T!=\3352\2112\2112@)?2\2112\211@A@*A22\32128)>A?S\325_\\B?\321V\203\304B\326?\327_\\\330\245ZB>\211>\314W\203\242\331>!S>\322>\327\246!\205\273\322>\332\246!?\206\273\322>\333\246!)\203\304BTBB-=\334_=\327\245=\332\245[=\333\245\336\2112\2112@)?2\2112\211@A@*A22\32128)>A?S\325_\\B?\321V\203LB\326?\327_\\\330\245ZB>\211>\314W\203*\331>!S>\322>\327\246!\205C\322>\332\246!?\206C\322>\333\246!)\203LBTBB-&+0\313\312;</\314W\203f/T/\315/<_ \316\321$;\317;<\"T;<\245/;\314W\203\223 \320V\203\223/S//\320W\203\237/S/* \211/>\211?\321U\203\340>\211>\314W\203\277\331>!S>\322>\327\246!\205\330\322>\332\246!?\206\330\322>\333\246!)\203\340\337\202\345\340?SH*/E\21122\32128)\312=>\322>!\203\323\324!\202\251>\314V\203\237>S=\3152\2112\2112@)?2\2112\211@A@*A22\32128)>A?S\325_\\B?\321V\203\207B\326?\327_\\\330\245ZB>\211>\314W\203e\331>!S>\322>\327\246!\205~\322>\332\246!?\206~\322>\333\246!)\203\207BTBB-=\334_=\327\245=\332\245[=\333\245%\202\251\331>T!=\3352\2112\2112@)?2\2112\211@A@*A22\32128)>A?S\325_\\B?\321V\203B\326?\327_\\\330\245ZB>\211>\314W\203\372\331>!S>\322>\327\246!\205\322>\332\246!?\206\322>\333\246!)\203BTBB-=\334_=\327\245=\332\245[=\333\245\336\2112\2112@)?2\2112\211@A@*A22\32128)>A?S\325_\\B?\321V\203\244B\326?\327_\\\330\245ZB>\211>\314W\203\202\331>!S>\322>\327\246!\205\233\322>\332\246!?\206\233\322>\333\246!)\203\244BTBB-&+1eb\210\341\312\342#\205F\343h\344\"C\345\346!\210`4\347 \210\3504`\"5\320u\210n\203\344\351\352!\204\344\316u\210\3536\202`7\320y\210\351\352!\203\366\320y\210\202\352n\203\375\316u\210\3507`\"60S22T\21121X\203\257\35456\3552!#\2113\203 \356\3552!\3116\f\"\211@A@)\206A3:\205A3@\"\210\202 .\207" [diary-sexp-entry-symbol sexp-mark diary-nonmarking-symbol s-entry file-glob-attrs m regexp-quote format "^\\(%s(\\)\\|\\(%s%s(diary-remind\\)" diary-pull-attrs nil 12 0 + -1 mod 1 2 zerop error "There was no year zero" 31 23 4 10 abs 100 400 365 - (12 31 -1) 29 [31 28 31 30 31 30 31 31 30 31 30 31] re-search-forward t char-equal 40 re-search-backward "(" forward-sexp buffer-substring-no-properties looking-at "[ ]" "" diary-sexp-entry calendar-gregorian-from-absolute calendar-mark-visible-date y first-date last-date date mark sexp-start sexp entry entry-start calendar-buffer displayed-month displayed-year macro-y nmonths offset-years year month x day day-of-year diary-marking-entry-flag] 11 (#$ . 52205)]) (byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias mark-sexp-diary-entries diary-mark-sexp-entries nil make-obsolete "23.1"] 4) #@187 Mark diary entries from included diary files. To use, add this function to `diary-mark-entries-hook'. For details, see `diary-include-files'. See also `diary-include-other-diary-files'. (defalias 'diary-mark-included-diary-files #[nil "\300\301!\207" [diary-include-files t] 2 (#$ . 55857)]) (byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias mark-included-diary-files diary-mark-included-diary-files nil make-obsolete "23.1"] 4) #@201 Mark all dates in the calendar window that are day DAYNAME of the week. 0 means all Sundays, 1 means all Mondays, and so on. Optional argument COLOR is passed to `calendar-mark-visible-date' as MARK. (defalias 'calendar-mark-days-named #[(dayname &optional color) "rq\210 \n \n\306\211 !\307\306\"# \310W\203\"