%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/calendar/ |
Current File : //usr/local/share/emacs/27.2/lisp/calendar/icalendar.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; #@33 Version number of icalendar.el. (defconst icalendar-version "0.19" (#$ . 408)) (byte-code "\300\301\302\303\304\305\306\307&\210\310\311\312\313\314DD\315\316\317\306\301&\210\310\320\312\313\321DD\322\316\323\306\301&\210\310\324\312\313\325DD\326\316\323\306\301&\210\310\327\312\313\330DD\331\316\323\306\301&\210\310\332\312\313\333DD\334\316\323\306\301&\210\310\335\312\313\336DD\337\316\323\306\301&\210\310\340\312\313\341DD\342\316\323\343\344\306\301& \210\310\345\312\313\346DD\347\316\323\306\301&\210\310\350\312\313\351DD\352\316\323\306\301&\210\310\353\312\313\354DD\355\316\356\306\301&\210\310\357\312\313\360DD\361\316\362\306\301&\210\310\363\312\313\364DD\365\316\323\306\301&\210\310\366\312\313\367DD\370\343\371\316\356\306\301& \210\310\372\312\313\373DD\374\343\371\316\362\306\301& \210\310\375\312\313\376DD\377\343\371\316\201@ \306\301& \207" [custom-declare-group icalendar nil "iCalendar support." :prefix "icalendar-" :group calendar custom-declare-variable icalendar-import-format funcall function #[0 "\300\207" [#1="%s%d%l%o"] 1 #1#] "Format for importing events from iCalendar into Emacs diary.\nIt defines how iCalendar events are inserted into diary file.\nThis may either be a string or a function.\n\nIn case of a formatting STRING the following specifiers can be used:\n%c Class, see `icalendar-import-format-class'\n%d Description, see `icalendar-import-format-description'\n%l Location, see `icalendar-import-format-location'\n%o Organizer, see `icalendar-import-format-organizer'\n%s Summary, see `icalendar-import-format-summary'\n%t Status, see `icalendar-import-format-status'\n%u URL, see `icalendar-import-format-url'\n%U UID, see `icalendar-import-format-uid'\n\nA formatting FUNCTION will be called with a VEVENT as its only\nargument. It must return a string. See\n`icalendar-import-format-sample' for an example." :type (choice (string :tag "String") (function :tag "Function")) icalendar-import-format-summary #[0 "\300\207" [#2="%s"] 1 #2#] "Format string defining how the summary element is formatted.\nThis applies only if the summary is not empty! `%s' is replaced\nby the summary." string icalendar-import-format-description #[0 "\300\207" [#3="\n Desc: %s"] 1 #3#] "Format string defining how the description element is formatted.\nThis applies only if the description is not empty! `%s' is\nreplaced by the description." icalendar-import-format-location #[0 "\300\207" [#4="\n Location: %s"] 1 #4#] "Format string defining how the location element is formatted.\nThis applies only if the location is not empty! `%s' is replaced\nby the location." icalendar-import-format-organizer #[0 "\300\207" [#5="\n Organizer: %s"] 1 #5#] "Format string defining how the organizer element is formatted.\nThis applies only if the organizer is not empty! `%s' is\nreplaced by the organizer." icalendar-import-format-url #[0 "\300\207" [#6="\n URL: %s"] 1 #6#] "Format string defining how the URL element is formatted.\nThis applies only if the URL is not empty! `%s' is replaced by\nthe URL." icalendar-import-format-uid #[0 "\300\207" [#7="\n UID: %s"] 1 #7#] "Format string defining how the UID element is formatted.\nThis applies only if the UID is not empty! `%s' is replaced by\nthe UID." :version "24.3" icalendar-import-format-status #[0 "\300\207" [#8="\n Status: %s"] 1 #8#] "Format string defining how the status element is formatted.\nThis applies only if the status is not empty! `%s' is replaced by\nthe status." icalendar-import-format-class #[0 "\300\207" [#9="\n Class: %s"] 1 #9#] "Format string defining how the class element is formatted.\nThis applies only if the class is not empty! `%s' is replaced by\nthe class." icalendar-recurring-start-year #[0 "\300\207" [2005] 1] "Start year for recurring events.\nSome calendar browsers only propagate recurring events for\nseveral years beyond the start time. Set this string to a year\njust before the start of your personal calendar." integer icalendar-export-hidden-diary-entries #[0 "\300\207" [t] 1] "Determines whether hidden diary entries are exported.\nIf non-nil hidden diary entries (starting with `&') get exported,\nif nil they are ignored." boolean icalendar-uid-format #[0 "\300\207" [#10="emacs%t%c"] 1 #10#] "Format of unique ID code (UID) for each iCalendar object.\nThe following specifiers are available:\n%c COUNTER, an integer value that is increased each time a uid is\n generated. This may be necessary for systems which do not\n provide time-resolution finer than a second.\n%h HASH, a hash value of the diary entry,\n%s DTSTART, the start date (excluding time) of the diary entry,\n%t TIMESTAMP, a unique creation timestamp,\n%u USERNAME, the variable `user-login-name'.\n\nFor example, a value of \"%s_%h@mydomain.com\" will generate a\nUID code for each entry composed of the time of the event, a hash\ncode for the event, and your personal domain name." icalendar-export-sexp-enumeration-days #[0 "\300\207" [14] 1] "Number of days over which a sexp diary entry is enumerated.\nIn general sexp entries cannot be translated to icalendar format.\nThey are therefore enumerated, i.e. explicitly evaluated for a\ncertain number of days, and then exported. The enumeration starts\non the current day and continues for the number of days given here.\n\nSee `icalendar-export-sexp-enumerate-all' for a list of sexp\nentries which by default are NOT enumerated." "25.1" icalendar-export-sexp-enumerate-all #[0 "\300\207" [nil] 1] "Determines whether ALL sexp diary entries are enumerated.\nIf non-nil all sexp diary entries are enumerated for\n`icalendar-export-sexp-enumeration-days' days instead of\ntranslating into an icalendar equivalent. This affects the\nfollowing sexp diary entries: `diary-anniversary',\n`diary-cyclic', `diary-date', `diary-float', `diary-block'. All\nother sexp entries are enumerated in any case." icalendar-export-alarms #[0 "\300\207" [nil] 1] "Determine if and how alarms are included in exported diary events." (choice (const :tag "Do not include alarms in export" nil) (list :tag "Create alarms in exported diary entries" (integer :tag "Advance time (minutes)" :value 10) (set :tag "Alarm type" (list :tag "Audio" (const audio :tag "Audio")) (list :tag "Display" (const display :tag "Display")) (list :tag "Email" (const email) (repeat :tag "Attendees" (string :tag "Email"))))))] 10) #@34 Enable icalendar debug messages. (defvar icalendar-debug nil (#$ . 6789)) (defconst icalendar--weekday-array ["SU" "MO" "TU" "WE" "TH" "FR" "SA"]) (byte-code "\300\301!\210\300\302!\207" [require calendar diary-lib] 2) #@70 Print message ARGS if `icalendar-debug' is non-nil. (fn &rest ARGS) (defalias 'icalendar--dmsg #[128 "\205 \301\302\"\207" [icalendar-debug apply message] 4 (#$ . 7014)]) #@290 Return a new buffer containing the unfolded contents of a buffer. Folding is the iCalendar way of wrapping long lines. In the created buffer all occurrences of CR LF BLANK are replaced by the empty string. Argument FOLDED-ICAL-BUFFER is the folded input buffer. (fn FOLDED-ICAL-BUFFER) (defalias 'icalendar--get-unfolded-buffer #[257 "\300\301!r\211q\210\302 \210\303!\210\304 \210eb\210\305\306\307\310#\203% \311\312\307\211#\210\202 )\211\207" [get-buffer-create " *icalendar-work*" erase-buffer insert-buffer-substring icalendar--clean-up-line-endings re-search-forward " ?\n[ ]" nil t replace-match ""] 6 (#$ . 7196)]) #@224 Replace DOS- and MAC-like line endings with unix line endings. All occurrences of (CR LF) and (LF CF) are replaced with LF in the current buffer. This is necessary in buffers which contain a mix of different line endings. (defalias 'icalendar--clean-up-line-endings #[0 "\212eb\210\300\301\302\303#\205 \304\305\302\211#\210\202 )\207" [re-search-forward " \n\\|\n " nil t replace-match "\n"] 4 (#$ . 7833)]) (byte-code "\300\301\302\303#\210\304\301\302\305#\207" [defalias icalendar--rris replace-regexp-in-string nil make-obsolete "27.1"] 4) #@376 Recursively read the next iCalendar element in the current buffer. INVALUE gives the current iCalendar element we are reading. INPARAMS gives the current parameters..... This function calls itself recursively for each nested calendar element it finds. The current buffer should be an unfolded buffer as returned from `icalendar--get-unfolded-buffer'. (fn INVALUE INPARAMS) (defalias 'icalendar--read-element #[514 "\300\211\211\211\211\211\211\211\211\301\300\262 \211\203\321 \302\303\300\301#\203\321 \304\305\306!!\262\307u\210\300\262\300\262\310\311!\203\210 \302\312\300\211#\210\304\305\306!!\262\302\313\300\301#\210\307u\210\305\314!\206N \305\315!\262D\262\310\316!\203} \302\317\300\301#\210\305\314!\203o \305\314!\262\202t \305\315!\262\320\"\262\202U \320\"\262\202) \310\321!\204\222 \322\323!\210\306u\210`\300\210\211`{\262\210E\262\324\267\202\305 \320 \325\304! \"C\"\262 \202 \300\262\202 \320\n C\"\262\n\202 \203\342 F\202\344 \207" [nil t re-search-forward "^\\([A-Za-z0-9-]+\\)[;:]" intern match-string 1 -1 looking-at ";" ";\\([A-Za-z0-9-]+\\)=" "\\(\\([^;,:\"]+\\)\\|\"\\([^\"]+\\)\"\\)[;:]" 2 3 "," "\\(\\([^;,:]+\\)\\|\"\\([^\"]+\\)\"\\)" append ":" error "Oops" #s(hash-table size 2 test eq rehash-size 1.5 rehash-threshold 0.8125 purecopy t data (BEGIN 174 END 191)) icalendar--read-element] 17 (#$ . 8388)]) #@88 For the given EVENT return the value of the first occurrence of PROP. (fn EVENT PROP) (defalias 'icalendar--get-event-property #[514 "\3002+ AA@\301\203' @\262\211@=\203 \302\300AA@\"\210A\262\202 \266\3010\207" [found nil throw] 7 (#$ . 9784)]) #@89 For the given EVENT return attributes of the first occurrence of PROP. (fn EVENT PROP) (defalias 'icalendar--get-event-property-attributes #[514 "\3002* AA@\301\203&