commit | author | age
|
76bbd0
|
1 |
;ELC |
C |
2 |
;;; Compiled |
|
3 |
;;; in Emacs version 26.1 |
|
4 |
;;; with all optimizations. |
|
5 |
|
|
6 |
;;; This file contains utf-8 non-ASCII characters, |
|
7 |
;;; and so cannot be loaded into Emacs 22 or earlier. |
|
8 |
(and (boundp 'emacs-version) |
|
9 |
(< (aref emacs-version (1- (length emacs-version))) ?A) |
|
10 |
(string-lessp emacs-version "23") |
|
11 |
(error "`%s' was compiled for Emacs 23 or later" #$)) |
|
12 |
|
|
13 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
|
14 |
|
|
15 |
|
|
16 |
(byte-code "\300\301!\210\300\302!\207" [require cl-lib org] 2) |
|
17 |
(defvar org-frame-title-format-backup frame-title-format) |
|
18 |
(byte-code "\300\301\302\303\304\305\306\307&\210\310\311\312\313\314DD\315\306\316\306\301\317\320\321\322\323\324&
\207" [custom-declare-group org-clock nil "Options concerning clocking working time in Org mode." :tag "Org Clock" :group org-progress custom-declare-variable org-clock-into-drawer funcall function #[0 "\300\207" [t] 1] "Non-nil when clocking info should be wrapped into a drawer.\n\nWhen non-nil, clocking info will be inserted into the same drawer\nas log notes (see variable `org-log-into-drawer'), if it exists,\nor \"LOGBOOK\" otherwise. If necessary, the drawer will be\ncreated.\n\nWhen an integer, the drawer is created only when the number of\nclocking entries in an item reaches or exceeds this value.\n\nWhen a string, it becomes the name of the drawer, ignoring the\nlog notes drawer altogether.\n\nDo not check directly this variable in a Lisp program. Call\nfunction `org-clock-into-drawer' instead." org-todo :version "26.1" :package-version (Org . "8.3") :type (choice (const :tag "Always" t) (const :tag "Only when drawer exists" nil) (integer :tag "When at least N clock entries") (const :tag "Into LOGBOOK drawer" "LOGBOOK") (string :tag "Into Drawer named..."))] 14) |
|
19 |
#@232 Value of `org-clock-into-drawer'. but let properties overrule. |
|
20 |
|
|
21 |
If the current entry has or inherits a CLOCK_INTO_DRAWER |
|
22 |
property, it will be used instead of the default value. |
|
23 |
|
|
24 |
Return value is either a string, an integer, or nil. |
|
25 |
(defalias 'org-clock-into-drawer #[0 "\302\303\304\305\306$\211\307\232\203 \303\202\\ \211\310\232\203 \311 \206\\ \312\202\\ \313!\203? \314\303\306\315#)\266\203\203; \316!\202\\ \211\202\\ \313 !\206\\ \250\203N \202\\ \204V \303\202\\ \311 \206\\ \312\207" [inhibit-changing-match-data org-clock-into-drawer org-entry-get nil "CLOCK_INTO_DRAWER" inherit t "nil" "t" org-log-into-drawer "LOGBOOK" org-string-nw-p "\\`[0-9]+\\'" string-match string-to-number] 8 (#$ . 1738)]) |
|
26 |
(byte-code "\300\301\302\303\304DD\305\306\307\310\311&\210\300\312\302\303\313DD\314\306\307\315\316\317\320\310\321&\210\300\322\302\303\323DD\324\306\307\310\325&\210\300\326\302\303\327DD\330\306\307\306\331\310\332& \210\300\333\302\303\334DD\335\306\307\306\331\310\336& \210\300\337\302\303\340DD\341\306\307\310\342&\210\300\343\302\303\344DD\345\306\307\310\325&\210\300\346\302\303\347DD\350\306\307\310\351&\210\300\352\302\303\353DD\354\306\307\310\342&\210\300\355\302\303\356DD\357\306\307\310\325&\210\300\360\302\303\361DD\362\306\307\310\363&\210\300\364\302\303\365DD\366\306\307\310\367&\210\300\370\302\303\371DD\372\306\307\310\325&\210\300\373\302\303\374DD\375\306\307\310\325&\210\300\376\302\303\377DD\201@ \306\307\310\201A &\210\300\201B \302\303\201C DD\201D \306\307\310\201E &\210\201F \201G \201H \"\210\300\201H \302\303\201I DD\201J \306\307\315\201K \310\201L & \210\300\201M \302\303\201N DD\201O \306\307\310\201P &\210\201Q \201R \201S \201T \201U \201V \306\307&\210\300\201W \302\303\201X DD\201Y \306\307\315\201K \310\201Z & \210\300\201[ \302\303\201\\ DD\201] \306\201R \315\201K \310\303& \210\300\201^ \302\303\201_ DD\201` \306\201R \315\201K \310\201a & \210\300\201b \302\303\201c DD\201d \306\201R \310\201Z &\210\300\201e \302\303\201f DD\201g \306\307\310\201h &\210\300\201i \302\303\201j DD\201k \306\307\310\201l &\210\300\201m \302\303\201n DD\201o \306\307\315\201K \310\325& \210\300\201p \302\303\201q DD\201r \306\307\315\201K \310\325& \210\300\201s \302\303\201t DD\201u \310\325\315\201K \306\307& \210\300\201v \302\303\201w DD\201x \306\307\315\201K \310\367& \210\300\201y \302\303\201z DD\201{ \306\307\315\201K \310\367& \210\300\201| \302\303\201} DD\201~ \306\307\310\201 &\210\300\201\200 \302\303\201\201 DD\201\202 \315\201K \306\307\310\201\203 & \210\300\201\204 \302\303\201\205 DD\201\206 \306\307\315\316\317\201\207 \310\367&\210\300\201\210 \302\303\201\211 DD\201\212 \306\307\310\342&\210\300\201\213 \302\303\201\214 DD\201\215 \306\307\310\201\216 \201\217 \201\220 & \207" [custom-declare-variable org-clock-out-when-done funcall function #[0 "\300\207" [t] 1] "When non-nil, clock will be stopped when the clocked entry is marked DONE.\n\\<org-mode-map>DONE here means any DONE-like state.\nA nil value means clock will keep running until stopped explicitly with\n`\\[org-clock-out]', or until the clock is started in a different item.\nInstead of t, this can also be a list of TODO states that should trigger\nclocking out." :group org-clock :type (choice (const :tag "No" nil) (const :tag "Yes, when done" t) (repeat :tag "State list" (string :tag "TODO keyword"))) org-clock-rounding-minutes #[0 "\300\207" [0] 1] "Rounding minutes when clocking in or out.\nThe default value is 0 so that no rounding is done.\nWhen set to a non-integer value, use the car of\n`org-time-stamp-rounding-minutes', like for setting a time-stamp.\n\nE.g. if `org-clock-rounding-minutes' is set to 5, time is 14:47\nand you clock in: then the clock starts at 14:45. If you clock\nout within the next 5 minutes, the clock line will be removed;\nif you clock out 8 minutes after your clocked in, the clock\nout time will be 14:50." :version "24.4" :package-version (Org . "8.0") (choice (integer :tag "Minutes (0 for no rounding)") (symbol :tag "Use `org-time-stamp-rounding-minutes'" 'same-as-time-stamp)) org-clock-out-remove-zero-time-clocks #[0 "\300\207" [nil] 1] "Non-nil means remove the clock line when the resulting time is zero." boolean org-clock-in-switch-to-state #[0 "\300\207" [nil] 1] "Set task to a special todo state while clocking it.\nThe value should be the state to which the entry should be\nswitched. If the value is a function, it must take one\nparameter (the current TODO state of the item) and return the\nstate to switch it to." org-todo (choice (const :tag "Don't force a state" nil) (string :tag "State") (symbol :tag "Function")) org-clock-out-switch-to-state #[0 "\300\207" [nil] 1] "Set task to a special todo state after clocking out.\nThe value should be the state to which the entry should be\nswitched. If the value is a function, it must take one\nparameter (the current TODO state of the item) and return the\nstate to switch it to." (choice (const :tag "Don't force a state" nil) (string :tag "State") (symbol :tag "Function")) org-clock-history-length #[0 "\300\207" [5] 1] "Number of clock tasks to remember in history." integer org-clock-goto-may-find-recent-task #[0 "\300\207" [t] 1] "Non-nil means `org-clock-goto' can go to recent task if no active clock." org-clock-heading-function #[0 "\300\207" [nil] 1] "When non-nil, should be a function to create `org-clock-heading'.\nThis is the string shown in the mode line when a clock is running.\nThe function is called with point at the beginning of the headline." (choice (const nil) (function)) org-clock-string-limit #[0 "\300\207" [0] 1] "Maximum length of clock strings in the mode line. 0 means no limit." org-clock-in-resume #[0 "\300\207" [nil] 1] "If non-nil, resume clock when clocking into task with open clock.\nWhen clocking into a task with a clock entry which has not been closed,\nthe clock can be resumed from that point." org-clock-persist #[0 "\300\207" [nil] 1] "When non-nil, save the running clock when Emacs is closed.\nThe clock is resumed when Emacs restarts.\nWhen this is t, both the running clock, and the entire clock\nhistory are saved. When this is the symbol `clock', only the\nrunning clock is saved. When this is the symbol `history', only\nthe clock history is saved.\n\nWhen Emacs restarts with saved clock information, the file containing\nthe running clock as well as all files mentioned in the clock history\nwill be visited.\n\nAll this depends on running `org-clock-persistence-insinuate' in your\nEmacs initialization file." (choice (const :tag "Just the running clock" clock) (const :tag "Just the history" history) (const :tag "Clock and history" t) (const :tag "No persistence" nil)) org-clock-persist-file #[0 "\301\302P!\207" [user-emacs-directory convert-standard-filename "org-clock-save.el"] 3] "File to save clock data to." string org-clock-persist-query-save #[0 "\300\207" [nil] 1] "When non-nil, ask before saving the current clock on exit." org-clock-persist-query-resume #[0 "\300\207" [t] 1] "When non-nil, ask before resuming any stored clock during load." org-clock-sound #[0 "\300\207" [nil] 1] "Sound to use for notifications.\nPossible values are:\n\nnil No sound played\nt Standard Emacs beep\nfile name Play this sound file, fall back to beep" (choice (const :tag "No sound" nil) (const :tag "Standard beep" t) (file :tag "Play sound file")) org-clock-mode-line-total #[0 "\300\207" [auto] 1] "Default setting for the time included for the mode line clock.\nThis can be overruled locally using the CLOCK_MODELINE_TOTAL property.\nAllowed values are:\n\ncurrent Only the time in the current instance of the clock\ntoday All time clocked into this task today\nrepeat All time clocked into this task since last repeat\nall All time ever recorded for this task\nauto Automatically, either `all', or `repeat' for repeating tasks" (choice (const :tag "Current clock" current) (const :tag "Today's task time" today) (const :tag "Since last repeat" repeat) (const :tag "All task time" all) (const :tag "Automatically, `all' or since `repeat'" auto)) defvaralias org-task-overrun-text org-clock-task-overrun-text #[0 "\300\207" [nil] 1] "Extra mode line text to indicate that the clock is overrun.\nThe can be nil to indicate that instead of adding text, the clock time\nshould get a different face (`org-mode-line-clock-overrun').\nWhen this is a string, it is prepended to the clock string as an indication,\nalso using the face `org-mode-line-clock-overrun'." "24.1" (choice (const :tag "Just mark the time string" nil) (string :tag "Text to prepend")) org-show-notification-handler #[0 "\300\207" [nil] 1] "Function or program to send notification with.\nThe function or program will be called with the notification\nstring as argument." (choice (const nil) (string :tag "Program") (function :tag "Function")) custom-declare-group org-clocktable nil "Options concerning the clock table in Org mode." :tag "Org Clock Table" org-clocktable-defaults #[0 "\301\302\303\304\300!\203
\206 \305\306\307\310\311\312\313\314\313\315\311\316\311\317\311\320\311\321\311\322\311\323\311\324\311\325\326\327\330\331\311\332\311\333\311\334\311\335\311\257*\207" [org-export-default-language :maxlevel 2 :lang boundp "en" :scope file :block nil :wstart 1 :mstart :tstart :tend :step :stepskip0 :fileskip0 :tags :emphasize :link :narrow 40! :indent t :formula :timestamp :level :tcolumns :formatter] 42] "Default properties for clock tables." plist org-clock-clocktable-formatter #[0 "\300\207" [org-clocktable-write-default] 1] "Function to turn clocking data into a table.\nFor more information, see `org-clocktable-write-default'." org-clock-clocktable-language-setup #[0 "\300\207" [(("en" "File" "L" "Timestamp" "Headline" "Time" "ALL" "Total time" "File time" "Clock summary at") ("es" "Archivo" "N" "Fecha y hora" "Tarea" "Tiempo" "TODO" "Tiempo total" "Tiempo archivo" "Clock summary at") ("fr" "Fichier" "N" "Horodatage" "En-tête" "Durée" "TOUT" "Durée totale" "Durée fichier" "Horodatage sommaire à") ("nl" "Bestand" "N" "Tijdstip" "Hoofding" "Duur" "ALLES" "Totale duur" "Bestandstijd" "Clock summary at") ("de" "Datei" "E" "Zeitstempel" "Kopfzeile" "Dauer" "GESAMT" "Gesamtdauer" "Dateizeit" "Erstellt am"))] 1] "Terms used in clocktable, translated to different languages." alist org-clock-clocktable-default-properties #[0 "\300\207" [(:maxlevel 2 :scope file)] 1] "Default properties for new clocktables.\nThese will be inserted into the BEGIN line, to make it easy for users to\nplay with them." org-clock-idle-time #[0 "\300\207" [nil] 1] "When non-nil, resolve open clocks if the user is idle more than X minutes." (choice (const :tag "Never" nil) (integer :tag "After N minutes")) org-clock-auto-clock-resolution #[0 "\300\207" [when-no-clock-is-running] 1] "When to automatically resolve open clocks found in Org buffers." (choice (const :tag "Never" nil) (const :tag "Always" t) (const :tag "When no clock is running" when-no-clock-is-running)) org-clock-report-include-clocking-task #[0 "\300\207" [nil] 1] "When non-nil, include the current clocking task time in clock reports." org-clock-resolve-expert #[0 "\300\207" [nil] 1] "Non-nil means do not show the splash buffer with the clock resolver." org-clock-continuously #[0 "\300\207" [nil] 1] "Non-nil means to start clocking from the last clock-out time, if any." org-clock-total-time-cell-format #[0 "\300\207" [#1="*%s*"] 1 #1#] "Format string for the total time cells." org-clock-file-time-cell-format #[0 "\300\207" [#2="*%s*"] 1 #2#] "Format string for the file time cells." org-clock-clocked-in-display #[0 "\300\207" [mode-line] 1] "When clocked in for a task, Org can display the current\ntask and accumulated time in the mode line and/or frame title.\nAllowed values are:\n\nboth displays in both mode line and frame title\nmode-line displays only in mode line (default)\nframe-title displays only in frame title\nnil current clock is not displayed" (choice (const :tag "Mode line" mode-line) (const :tag "Frame title" frame-title) (const :tag "Both" both) (const :tag "None" nil)) org-clock-frame-title-format #[0 "\300\207" [(t org-mode-line-string)] 1] "The value for `frame-title-format' when clocking in.\n\nWhen `org-clock-clocked-in-display' is set to `frame-title'\nor `both', clocking in will replace `frame-title-format' with\nthis value. Clocking out will restore `frame-title-format'.\n\n`org-frame-title-string' is a format string using the same\nspecifications than `frame-title-format', which see." sexp org-clock-x11idle-program-name #[0 "\300\207" [#3="x11idle"] 1 #3#] "Name of the program which prints X11 idle time in milliseconds.\n\nYou can find x11idle.c in the contrib/scripts directory of the\nOrg git distribution. Or, you can do:\n\n sudo apt-get install xprintidle\n\nif you are using Debian." (Org . "8.0") org-clock-goto-before-context #[0 "\300\207" [2] 1] "Number of lines of context to display before currently clocked-in entry.\nThis applies when using `org-clock-goto'." org-clock-display-default-range #[0 "\300\207" [thisyear] 1] "Default range when displaying clocks with `org-clock-display'.\nValid values are: `today', `yesterday', `thisweek', `lastweek',\n`thismonth', `lastmonth', `thisyear', `lastyear' and `untilnow'." (choice (const today) (const yesterday) (const thisweek) (const lastweek) (const thismonth) (const lastmonth) (const thisyear) (const lastyear) (const untilnow) (const :tag "Select range interactively" interactive)) :safe symbolp] 12) |
|
27 |
#@179 Hook run when preparing the clock. |
|
28 |
This hook is run before anything happens to the task that |
|
29 |
you want to clock in. For example, you can use this hook |
|
30 |
to add an effort property. |
|
31 |
(defvar org-clock-in-prepare-hook nil (#$ . 15351)) |
|
32 |
#@35 Hook run when starting the clock. |
|
33 |
(defvar org-clock-in-hook nil (#$ . 15587)) |
|
34 |
#@43 Hook run when stopping the current clock. |
|
35 |
(defvar org-clock-out-hook nil (#$ . 15671)) |
|
36 |
#@44 Hook run when canceling the current clock. |
|
37 |
(defvar org-clock-cancel-hook nil (#$ . 15764)) |
|
38 |
#@57 Hook run when selecting the currently clocked-in entry. |
|
39 |
(defvar org-clock-goto-hook nil (#$ . 15861)) |
|
40 |
#@59 Has the clock been used during the current Emacs session? |
|
41 |
(defvar org-clock-has-been-used nil (#$ . 15969)) |
|
42 |
#@46 Clock history, populated by `org-clock-load' |
|
43 |
(defvar org-clock-stored-history nil (#$ . 16083)) |
|
44 |
#@44 Clock to resume, saved by `org-clock-load' |
|
45 |
(defvar org-clock-stored-resume-clock nil (#$ . 16185)) |
|
46 |
(defvar org-mode-line-string "") |
|
47 |
(put 'org-mode-line-string 'risky-local-variable t) |
|
48 |
(defvar org-clock-mode-line-timer nil) |
|
49 |
(defvar org-clock-idle-timer nil) |
|
50 |
(defvar org-clock-start-time "") |
|
51 |
#@72 If non-nil, user canceled a clock; this is when leftover time started. |
|
52 |
(defvar org-clock-leftover-time nil (#$ . 16481)) |
|
53 |
#@49 Effort estimate of the currently clocking task. |
|
54 |
(defvar org-clock-effort "" (#$ . 16608)) |
|
55 |
#@126 Holds total time, spent previously on currently clocked item. |
|
56 |
This does not include the time in the currently running clock. |
|
57 |
(defvar org-clock-total-time nil (#$ . 16705)) |
|
58 |
#@50 List of marker pointing to recent clocked tasks. |
|
59 |
(defvar org-clock-history nil (#$ . 16883)) |
|
60 |
#@146 Marker pointing to the default task that should clock time. |
|
61 |
The clock can be made to switch to this task after clocking out |
|
62 |
of a different task. |
|
63 |
(defvar org-clock-default-task (make-marker) (#$ . 16983)) |
|
64 |
#@77 Marker pointing to the task that has been interrupted by the current clock. |
|
65 |
(defvar org-clock-interrupted-task (make-marker) (#$ . 17193)) |
|
66 |
(defvar org-clock-mode-line-map (make-sparse-keymap)) |
|
67 |
(byte-code "\301\302\303#\210\301\304\305#\207" [org-clock-mode-line-map define-key [mode-line mouse-2] org-clock-goto [mode-line mouse-1] org-clock-menu] 4) |
|
68 |
#@152 Translate string S into using string LANGUAGE. |
|
69 |
Assume S in the English term to translate. Return S as-is if it |
|
70 |
cannot be translated. |
|
71 |
|
|
72 |
(fn S LANGUAGE) |
|
73 |
(defalias 'org-clock--translate #[514 "\301\267\202* \302\202+ \303\202+ \304\202+ \305\202+ \306\202+ \307\202+ \310\202+ \311\202+ \312\202+ \313\314\315#8\2065 \207" [org-clock-clocktable-language-setup #s(hash-table size 9 test equal rehash-size 1.5 rehash-threshold 0.8125 purecopy t data ("File" 6 "L" 10 "Timestamp" 14 "Headline" 18 "Time" 22 "ALL" 26 "Total time" 30 "File time" 34 "Clock summary at" 38)) 1 2 3 4 5 6 7 8 9 nil assoc-string t] 7 (#$ . 17553)]) |
|
74 |
#@60 Return currently clocked heading, formatted for mode line. |
|
75 |
(defalias 'org-clock--mode-line-heading #[0 "\303!\203 |