commit | author | age
|
76bbd0
|
1 |
;ELC |
C |
2 |
;;; Compiled |
|
3 |
;;; in Emacs version 26.1 |
|
4 |
;;; with all optimizations. |
|
5 |
|
|
6 |
;;; This file uses dynamic docstrings, first added in Emacs 19.29. |
|
7 |
|
|
8 |
;;; This file does not contain utf-8 non-ASCII characters, |
|
9 |
;;; and so can be loaded in Emacs versions earlier than 23. |
|
10 |
|
|
11 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
12 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
13 |
|
|
14 |
|
|
15 |
(byte-code "\300\301!\210\300\302!\210\303\304\305\306\307\310\311\312&\210\313\314\315\316\317DD\320\311\304\321\322&\210\313\323\315\316\324DD\325\311\304\326\327\321\330& \210\313\331\315\316\332DD\333\311\304\321\334&\210\313\335\315\316\336DD\337\311\304\321\334&\210\313\340\315\316\341DD\342\311\304\321\343&\210\313\344\315\316\345DD\346\311\304\321\347&\210\313\350\315\316\351DD\352\311\304\321\353&\210\313\354\315\316\355DD\356\311\304\321\357&\210\313\360\315\316\361DD\362\311\304\321\363&\210\313\364\315\316\365DD\366\311\304\321\367&\210\313\370\315\316\371DD\372\311\304\321\373&\210\313\374\315\316\375DD\376\311\304\321\373&\210\313\377\315\316\201@ DD\201A \311\304\321\201B &\210\313\201C \315\316\201D DD\201E \311\304\321\373&\210\313\201F \315\316\201G DD\201H \311\304\321\201I &\210\313\201J \315\316\201K DD\201L \311\304\326\327\321\201M & \207" [require cl-lib ox-ascii custom-declare-group org-export-icalendar nil "Options specific for iCalendar export back-end." :tag "Org Export iCalendar" :group org-export custom-declare-variable org-icalendar-combined-agenda-file funcall function #[0 "\300\207" [#1="~/org.ics"] 1 #1#] "The file name for the iCalendar file covering all agenda files.\nThis file is created with the command `\\[org-icalendar-combine-agenda-files]'.\nThe file name should be absolute. It will be overwritten without warning." :type file org-icalendar-alarm-time #[0 "\300\207" [0] 1] "Number of minutes for triggering an alarm for exported timed events.\n\nA zero value (the default) turns off the definition of an alarm trigger\nfor timed events. If non-zero, alarms are created.\n\n- a single alarm per entry is defined\n- The alarm will go off N minutes before the event\n- only a DISPLAY action is defined." :version "24.1" integer org-icalendar-combined-name #[0 "\300\207" [#2="OrgMode"] 1 #2#] "Calendar name for the combined iCalendar representing all agenda files." string org-icalendar-combined-description #[0 "\300\207" [#3=""] 1 #3#] "Calendar description for the combined iCalendar (all agenda files)." org-icalendar-exclude-tags #[0 "\300\207" [nil] 1] "Tags that exclude a tree from export.\nThis variable allows specifying different exclude tags from other\nback-ends. It can also be set with the ICALENDAR_EXCLUDE_TAGS\nkeyword." (repeat (string :tag "Tag")) org-icalendar-use-deadline #[0 "\300\207" [(event-if-not-todo todo-due)] 1] "Contexts where iCalendar export should use a deadline time stamp.\n\nThis is a list with possibly several symbols in it. Valid symbols are:\n\n`event-if-todo' Deadlines in TODO entries become calendar events.\n`event-if-not-todo' Deadlines in non-TODO entries become calendar events.\n`todo-due' Use deadlines in TODO entries as due-dates." (set :greedy t (const :tag "Deadlines in non-TODO entries become events" event-if-not-todo) (const :tag "Deadline in TODO entries become events" event-if-todo) (const :tag "Deadlines in TODO entries become due-dates" todo-due)) org-icalendar-use-scheduled #[0 "\300\207" [(todo-start)] 1] "Contexts where iCalendar export should use a scheduling time stamp.\n\nThis is a list with possibly several symbols in it. Valid symbols are:\n\n`event-if-todo' Scheduling time stamps in TODO entries become an event.\n`event-if-not-todo' Scheduling time stamps in non-TODO entries become an event.\n`todo-start' Scheduling time stamps in TODO entries become start date.\n Some calendar applications show TODO entries only after\n that date." (set :greedy t (const :tag "SCHEDULED timestamps in non-TODO entries become events" event-if-not-todo) (const :tag "SCHEDULED timestamps in TODO entries become events" event-if-todo) (const :tag "SCHEDULED in TODO entries become start date" todo-start)) org-icalendar-categories #[0 "\300\207" [(local-tags category)] 1] "Items that should be entered into the \"categories\" field.\n\nThis is a list of symbols, the following are valid:\n`category' The Org mode category of the current file or tree\n`todo-state' The todo state, if any\n`local-tags' The tags, defined in the current line\n`all-tags' All tags, including inherited ones." (repeat (choice (const :tag "The file or tree category" category) (const :tag "The TODO state" todo-state) (const :tag "Tags defined in current line" local-tags) (const :tag "All tags, including inherited ones" all-tags))) org-icalendar-with-timestamps #[0 "\300\207" [active] 1] "Non-nil means make an event from plain time stamps.\n\nIt can be set to `active', `inactive', t or nil, in order to make\nan event from, respectively, only active timestamps, only\ninactive ones, all of them or none.\n\nThis variable has precedence over `org-export-with-timestamps'.\nIt can also be set with the #+OPTIONS line, e.g. \"<:t\"." (choice (const :tag "All timestamps" t) (const :tag "Only active timestamps" active) (const :tag "Only inactive timestamps" inactive) (const :tag "No timestamp" nil)) org-icalendar-include-todo #[0 "\300\207" [nil] 1] "Non-nil means create VTODO components from TODO items.\n\nValid values are:\nnil don't include any task.\nt include tasks that are not in DONE state.\n`unblocked' include all TODO items that are not blocked.\n`all' include both done and not done items." (choice (const :tag "None" nil) (const :tag "Unfinished" t) (const :tag "Unblocked" unblocked) (const :tag "All" all) (repeat :tag "Specific TODO keywords" (string :tag "Keyword"))) org-icalendar-include-bbdb-anniversaries #[0 "\300\207" [nil] 1] "Non-nil means a combined iCalendar file should include anniversaries.\nThe anniversaries are defined in the BBDB database." boolean org-icalendar-include-sexps #[0 "\300\207" [t] 1] "Non-nil means export to iCalendar files should also cover sexp entries.\nThese are entries like in the diary, but directly in an Org file." org-icalendar-include-body #[0 "\300\207" [t] 1] "Amount of text below headline to be included in iCalendar export.\nThis is a number of characters that should maximally be included.\nProperties, scheduling and clocking lines will always be removed.\nThe text will be inserted into the DESCRIPTION field." (choice (const :tag "Nothing" nil) (const :tag "Everything" t) (integer :tag "Max characters")) org-icalendar-store-UID #[0 "\300\207" [nil] 1] "Non-nil means store any created UIDs in properties.\n\nThe iCalendar standard requires that all entries have a unique identifier.\nOrg will create these identifiers as needed. When this variable is non-nil,\nthe created UIDs will be stored in the ID property of the entry. Then the\nnext time this entry is exported, it will be exported with the same UID,\nsuperseding the previous form of it. This is essential for\nsynchronization services.\n\nThis variable is not turned on by default because we want to avoid creating\na property drawer in every entry if people are only playing with this feature,\nor if they are only using it locally." org-icalendar-timezone #[0 "\300\301!\207" [getenv "TZ"] 2] "The time zone string for iCalendar export.\nWhen nil or the empty string, use output\nfrom (current-time-zone)." (choice (const :tag "Unspecified" nil) (string :tag "Time zone")) org-icalendar-date-time-format #[0 "\300\207" [#4=":%Y%m%dT%H%M%S"] 1 #4#] "Format-string for exporting icalendar DATE-TIME.\n\nSee `format-time-string' for a full documentation. The only\ndifference is that `org-icalendar-timezone' is used for %Z.\n\nInteresting value are:\n - \":%Y%m%dT%H%M%S\" for local time\n - \";TZID=%Z:%Y%m%dT%H%M%S\" for local time with explicit timezone\n - \":%Y%m%dT%H%M%SZ\" for time expressed in Universal Time" (choice (const :tag "Local time" ":%Y%m%dT%H%M%S") (const :tag "Explicit local time" ";TZID=%Z:%Y%m%dT%H%M%S") (const :tag "Universal time" ":%Y%m%dT%H%M%SZ") (string :tag "Explicit format"))] 10) |
|
16 |
#@203 Hook run after an iCalendar file has been saved. |
|
17 |
This hook is run with the name of the file as argument. A good |
|
18 |
way to use this is to tell a desktop calendar application to |
|
19 |
re-read the iCalendar file. |
|
20 |
(defvar org-icalendar-after-save-hook nil (#$ . 8339)) |
|
21 |
(org-export-define-derived-backend 'icalendar 'ascii :translate-alist '((clock . ignore) (footnote-definition . ignore) (footnote-reference . ignore) (headline . org-icalendar-entry) (inlinetask . ignore) (planning . ignore) (section . ignore) (inner-template lambda (c i) c) (template . org-icalendar-template)) :options-alist '((:exclude-tags "ICALENDAR_EXCLUDE_TAGS" nil org-icalendar-exclude-tags split) (:with-timestamps nil "<" org-icalendar-with-timestamps) (:icalendar-alarm-time nil nil org-icalendar-alarm-time) (:icalendar-categories nil nil org-icalendar-categories) (:icalendar-date-time-format nil nil org-icalendar-date-time-format) (:icalendar-include-bbdb-anniversaries nil nil org-icalendar-include-bbdb-anniversaries) (:icalendar-include-body nil nil org-icalendar-include-body) (:icalendar-include-sexps nil nil org-icalendar-include-sexps) (:icalendar-include-todo nil nil org-icalendar-include-todo) (:icalendar-store-UID nil nil org-icalendar-store-UID) (:icalendar-timezone nil nil org-icalendar-timezone) (:icalendar-use-deadline nil nil org-icalendar-use-deadline) (:icalendar-use-scheduled nil nil org-icalendar-use-scheduled)) :filters-alist '((:filter-headline . org-icalendar-clear-blank-lines)) :menu-entry '(99 "Export to iCalendar" ((102 "Current file" org-icalendar-export-to-ics) (97 "All agenda files" (lambda (a s v b) (org-icalendar-export-agenda-files a))) (99 "Combine all agenda files" (lambda (a s v b) (org-icalendar-combine-agenda-files a)))))) |
|
22 |
#@173 Set ID property on headlines missing it in FILE. |
|
23 |
When optional argument BELL is non-nil, inform the user with |
|
24 |
a message if the file was modified. |
|
25 |
|
|
26 |
(fn FILE &optional BELL) |
|
27 |
(defalias 'org-icalendar-create-uid #[513 "\300C\301\302\303\304\305\306!\307\"\310$\300\211\311$\210\205% \211\242\205% \312\313\"\210\314\315!\207" [nil org-map-entries make-byte-code 0 "\301 \302\211;\203 \303\304#\202 \305A@\"\266\202?\205& |