|
@@ -142,8 +142,8 @@ specifies the maximum number of lines that will be added for each entry
|
|
|
that is listed in the agenda view.
|
|
|
|
|
|
Note that this variable is not used during display, only when exporting
|
|
|
-the agenda. For agenda display, see org-agenda-entry-text-mode and the
|
|
|
-variable `org-agenda-entry-text-maxlines'."
|
|
|
+the agenda. For agenda display, see the variables `org-agenda-entry-text-mode'
|
|
|
+and `org-agenda-entry-text-maxlines'."
|
|
|
:group 'org-agenda
|
|
|
:type 'integer)
|
|
|
|
|
@@ -595,7 +595,7 @@ to make his option also apply to the tags-todo list."
|
|
|
There are different motivations for using different values, please think
|
|
|
carefully when configuring this variable.
|
|
|
|
|
|
-This applie when creating the global todo list.
|
|
|
+This applies when creating the global todo list.
|
|
|
Valid values are:
|
|
|
|
|
|
near Don't show near deadline entries. A deadline is near when it is
|
|
@@ -762,7 +762,7 @@ Needs to be set before org.el is loaded."
|
|
|
:type 'boolean)
|
|
|
|
|
|
(defcustom org-agenda-start-with-follow-mode nil
|
|
|
- "The initial value of follow-mode in a newly created agenda window."
|
|
|
+ "The initial value of follow mode in a newly created agenda window."
|
|
|
:group 'org-agenda-startup
|
|
|
:type 'boolean)
|
|
|
|
|
@@ -1008,7 +1008,7 @@ When this is non-nil, the string will be split on whitespace, and each
|
|
|
snippet will be searched individually, and all must match in order to
|
|
|
select an entry. A snippet is then a single string of non-white
|
|
|
characters, or a string in double quotes, or a regexp in {} braces.
|
|
|
-If a snippet is preceeded by \"-\", the snippet must *not* match.
|
|
|
+If a snippet is preceded by \"-\", the snippet must *not* match.
|
|
|
\"+\" is syntactic sugar for positive selection. Each snippet may
|
|
|
be found as a full word or a partial word, but see the variable
|
|
|
`org-agenda-search-view-force-full-words'.
|
|
@@ -1018,7 +1018,7 @@ with each space character matching any amount of whitespace, including
|
|
|
line breaks.
|
|
|
|
|
|
Even when this is nil, you can still switch to Boolean search dynamically
|
|
|
-by preceeding the first snippet with \"+\" or \"-\". If the first snippet
|
|
|
+by preceding the first snippet with \"+\" or \"-\". If the first snippet
|
|
|
is a regexp marked with braces like \"{abc}\", this will also switch to
|
|
|
boolean search."
|
|
|
:group 'org-agenda-search-view
|
|
@@ -1029,8 +1029,7 @@ boolean search."
|
|
|
'org-agenda-search-view-always-boolean))
|
|
|
|
|
|
(defcustom org-agenda-search-view-force-full-words nil
|
|
|
- "Non-nil me
|
|
|
-ans, search words must be matches as complete words.
|
|
|
+ "Non-nil means, search words must be matches as complete words.
|
|
|
When nil, they may also match part of a word."
|
|
|
:group 'org-agenda-search-view
|
|
|
:type 'boolean)
|
|
@@ -1286,7 +1285,7 @@ range, respectively."
|
|
|
(function))))
|
|
|
|
|
|
(defcustom org-agenda-scheduled-leaders '("Scheduled: " "Sched.%2dx: ")
|
|
|
- "Text preceeding scheduled items in the agenda view.
|
|
|
+ "Text preceding scheduled items in the agenda view.
|
|
|
This is a list with two strings. The first applies when the item is
|
|
|
scheduled on the current day. The second applies when it has been scheduled
|
|
|
previously, it may contain a %d indicating that this is the nth time that
|
|
@@ -1299,7 +1298,7 @@ that passed since this item was scheduled first."
|
|
|
(string :tag "Scheduled previously")))
|
|
|
|
|
|
(defcustom org-agenda-inactive-leader "["
|
|
|
- "Text preceeding item pulled into the agenda by inactive time stamps.
|
|
|
+ "Text preceding item pulled into the agenda by inactive time stamps.
|
|
|
These entries are added to the agenda when pressing \"[\"."
|
|
|
:group 'org-agenda-line-format
|
|
|
:type '(list
|
|
@@ -1307,7 +1306,7 @@ These entries are added to the agenda when pressing \"[\"."
|
|
|
(string :tag "Scheduled previously")))
|
|
|
|
|
|
(defcustom org-agenda-deadline-leaders '("Deadline: " "In %3d d.: ")
|
|
|
- "Text preceeding deadline items in the agenda view.
|
|
|
+ "Text preceding deadline items in the agenda view.
|
|
|
This is a list with two strings. The first applies when the item has its
|
|
|
deadline on the current day. The second applies when it is in the past or
|
|
|
in the future, it may contain %d to capture how many days away the deadline
|
|
@@ -1354,7 +1353,7 @@ When non-nil, this must be the number of minutes, e.g. 60 for one hour."
|
|
|
(defcustom org-agenda-hide-tags-regexp nil
|
|
|
"Regular expression used to filter away specific tags in agenda views.
|
|
|
This means that these tags will be present, but not be shown in the agenda
|
|
|
-line. Secondayt filltering will still work on the hidden tags.
|
|
|
+line. Secondary filtering will still work on the hidden tags.
|
|
|
Nil means don't hide any tags."
|
|
|
:group 'org-agenda-line-format
|
|
|
:type '(choice
|
|
@@ -1389,7 +1388,7 @@ it means that the tags should be flushright to that column. For example,
|
|
|
(defcustom org-agenda-fontify-priorities 'cookies
|
|
|
"Non-nil means highlight low and high priorities in agenda.
|
|
|
When t, the highest priority entries are bold, lowest priority italic.
|
|
|
-However, settings in org-priority-faces will overrule these faces.
|
|
|
+However, settings in `org-priority-faces' will overrule these faces.
|
|
|
When this variable is the symbol `cookies', only fontify the
|
|
|
cookies, not the entire task.
|
|
|
This may also be an association list of priority faces, whose
|
|
@@ -1492,7 +1491,7 @@ works you probably want to add it to `org-agenda-custom-commands' for good."
|
|
|
(defvar org-agenda-redo-command nil)
|
|
|
(defvar org-agenda-query-string nil)
|
|
|
(defvar org-agenda-mode-hook nil
|
|
|
- "Hook for org-agenda-mode, run after the mode is turned on.")
|
|
|
+ "Hook for `org-agenda-mode', run after the mode is turned on.")
|
|
|
(defvar org-agenda-type nil)
|
|
|
(defvar org-agenda-force-single-file nil)
|
|
|
(defvar org-agenda-bulk-marked-entries) ;; Defined further down in this file
|
|
@@ -2260,7 +2259,7 @@ s Search for keywords C Configure custom agenda commands
|
|
|
If CMD-KEY is a string of length 1, it is used as a key in
|
|
|
`org-agenda-custom-commands' and triggers this command. If it is a
|
|
|
longer string it is used as a tags/todo match string.
|
|
|
-Paramters are alternating variable names and values that will be bound
|
|
|
+Parameters are alternating variable names and values that will be bound
|
|
|
before running the agenda command."
|
|
|
(let (pars)
|
|
|
(while parameters
|
|
@@ -2288,7 +2287,7 @@ before running the agenda command."
|
|
|
If CMD-KEY is a string of length 1, it is used as a key in
|
|
|
`org-agenda-custom-commands' and triggers this command. If it is a
|
|
|
longer string it is used as a tags/todo match string.
|
|
|
-Paramters are alternating variable names and values that will be bound
|
|
|
+Parameters are alternating variable names and values that will be bound
|
|
|
before running the agenda command.
|
|
|
|
|
|
The output gives a line for each selected agenda item. Each
|
|
@@ -2343,8 +2342,8 @@ agenda-day The day in the agenda where this is listed"
|
|
|
(princ "\n"))))))
|
|
|
|
|
|
(defun org-fix-agenda-info (props)
|
|
|
- "Make sure all properties on an agenda item have a canonical form,
|
|
|
-so the export commands can easily use it."
|
|
|
+ "Make sure all properties on an agenda item have a canonical form.
|
|
|
+This ensures the export commands can easily use it."
|
|
|
(let (tmp re)
|
|
|
(when (setq tmp (plist-get props 'tags))
|
|
|
(setq props (plist-put props 'tags (mapconcat 'identity tmp ":"))))
|
|
@@ -2710,7 +2709,7 @@ removed from the entry content. Currently only `planning' is allowed here."
|
|
|
(defvar org-agenda-filter nil)
|
|
|
(defvar org-agenda-filter-preset nil
|
|
|
"A preset of the tags filter used for secondary agenda filtering.
|
|
|
-This must be a list of strings, each string must be a single tag preceeded
|
|
|
+This must be a list of strings, each string must be a single tag preceded
|
|
|
by \"+\" or \"-\".
|
|
|
This variable should not be set directly, but agenda custom commands can
|
|
|
bind it in the options section.")
|
|
@@ -2901,7 +2900,7 @@ This may also be a Lisp form, it will be evaluated.
|
|
|
Never set this variable using `setq' or so, because then it will apply
|
|
|
to all future agenda commands. Instead, bind it with `let' to scope
|
|
|
it dynamically into the agenda-constructing command. A good way to set
|
|
|
-it is through options in org-agenda-custom-commands.")
|
|
|
+it is through options in `org-agenda-custom-commands'.")
|
|
|
|
|
|
(defun org-agenda-skip ()
|
|
|
"Throw to `:skip' in places that should be skipped.
|
|
@@ -3131,7 +3130,7 @@ When EMPTY is non-nil, also include days without any entries."
|
|
|
(defvar org-agenda-start-day nil ; dynamically scoped parameter
|
|
|
"Custom commands can set this variable in the options section.")
|
|
|
(defvar org-agenda-last-arguments nil
|
|
|
- "The arguments of the previous call to org-agenda")
|
|
|
+ "The arguments of the previous call to `org-agenda'.")
|
|
|
(defvar org-starting-day nil) ; local variable in the agenda buffer
|
|
|
(defvar org-agenda-span nil) ; local variable in the agenda buffer
|
|
|
(defvar org-include-all-loc nil) ; local variable
|
|
@@ -3403,7 +3402,7 @@ is, or it can be broken into a number of snippets, each of which must match
|
|
|
in a Boolean way to select an entry. The default depends on the variable
|
|
|
`org-agenda-search-view-always-boolean'.
|
|
|
Even if this is turned off (the default) you can always switch to
|
|
|
-Boolean search dynamically by preceeding the first word with \"+\" or \"-\".
|
|
|
+Boolean search dynamically by preceding the first word with \"+\" or \"-\".
|
|
|
|
|
|
The default is a direct search of the whole phrase, where each space in
|
|
|
the search string can expand to an arbitrary amount of whitespace,
|
|
@@ -3418,9 +3417,9 @@ match whole words, not parts of a word) if
|
|
|
`org-agenda-search-view-force-full-words' is set (default is nil).
|
|
|
|
|
|
Boolean search snippets enclosed by curly braces are interpreted as
|
|
|
-regular expressions that must or (when preceeded with \"-\") must not
|
|
|
+regular expressions that must or (when preceded with \"-\") must not
|
|
|
match in the entry. Snippets enclosed into double quotes will be taken
|
|
|
-as a whole, to incude whitespace.
|
|
|
+as a whole, to include whitespace.
|
|
|
|
|
|
- If the search string starts with an asterisk, search only in headlines.
|
|
|
- If (possibly after the leading star) the search string starts with an
|
|
@@ -3774,7 +3773,7 @@ This variable should not be set directly, but custom commands can bind it
|
|
|
in the options section.")
|
|
|
|
|
|
(defun org-agenda-skip-entry-when-regexp-matches ()
|
|
|
- "Checks if the current entry contains match for `org-agenda-skip-regexp'.
|
|
|
+ "Check if the current entry contains match for `org-agenda-skip-regexp'.
|
|
|
If yes, it returns the end position of this entry, causing agenda commands
|
|
|
to skip the entry but continuing the search in the subtree. This is a
|
|
|
function that can be put into `org-agenda-skip-function' for the duration
|
|
@@ -3786,7 +3785,7 @@ of a command."
|
|
|
(and skip end)))
|
|
|
|
|
|
(defun org-agenda-skip-subtree-when-regexp-matches ()
|
|
|
- "Checks if the current subtree contains match for `org-agenda-skip-regexp'.
|
|
|
+ "Check if the current subtree contains match for `org-agenda-skip-regexp'.
|
|
|
If yes, it returns the end position of this tree, causing agenda commands
|
|
|
to skip this subtree. This is a function that can be put into
|
|
|
`org-agenda-skip-function' for the duration of a command."
|
|
@@ -3797,7 +3796,7 @@ to skip this subtree. This is a function that can be put into
|
|
|
(and skip end)))
|
|
|
|
|
|
(defun org-agenda-skip-entry-when-regexp-matches-in-subtree ()
|
|
|
- "Checks if the current subtree contains match for `org-agenda-skip-regexp'.
|
|
|
+ "Check if the current subtree contains match for `org-agenda-skip-regexp'.
|
|
|
If yes, it returns the end position of the current entry (NOT the tree),
|
|
|
causing agenda commands to skip the entry but continuing the search in
|
|
|
the subtree. This is a function that can be put into
|
|
@@ -4426,7 +4425,7 @@ the documentation of `org-diary'."
|
|
|
"Entry applies if date is between dates on DAYNAME, but skips SKIP-WEEKS.
|
|
|
The order of the first 2 times 3 arguments depends on the variable
|
|
|
`calendar-date-style' or, if that is not defined, on `european-calendar-style'.
|
|
|
-So for american calendars, give this as MONTH DAY YEAR, for european as
|
|
|
+So for American calendars, give this as MONTH DAY YEAR, for European as
|
|
|
DAY MONTH YEAR, and for ISO as YEAR MONTH DAY.
|
|
|
DAYNAME is a number between 0 (Sunday) and 6 (Saturday). SKIP-WEEKS
|
|
|
is any number of ISO weeks in the block period for which the item should
|
|
@@ -4820,9 +4819,9 @@ The flag is set if the currently compiled format contains a `%T'.")
|
|
|
"A flag, set by `org-compile-prefix-format'.
|
|
|
The flag is set if the currently compiled format contains a `%e'.")
|
|
|
(defvar org-prefix-category-length nil
|
|
|
- "Used by `org-compile-prefix-format' to remember the category field widh.")
|
|
|
+ "Used by `org-compile-prefix-format' to remember the category field width.")
|
|
|
(defvar org-prefix-category-max-length nil
|
|
|
- "Used by `org-compile-prefix-format' to remember the category field widh.")
|
|
|
+ "Used by `org-compile-prefix-format' to remember the category field width.")
|
|
|
|
|
|
(defun org-format-agenda-item (extra txt &optional category tags dotime
|
|
|
noprefix remove-re habitp)
|
|
@@ -5430,8 +5429,9 @@ Org-mode buffers visited directly by the user will not be touched."
|
|
|
(org-agenda-quit))
|
|
|
|
|
|
(defun org-agenda-execute (arg)
|
|
|
- "Execute another agenda command, keeping same window.\\<global-map>
|
|
|
-So this is just a shortcut for `\\[org-agenda]', available in the agenda."
|
|
|
+ "Execute another agenda command, keeping same window.
|
|
|
+So this is just a shortcut for \\<global-map>`\\[org-agenda]', available
|
|
|
+in the agenda."
|
|
|
(interactive "P")
|
|
|
(let ((org-agenda-window-setup 'current-window))
|
|
|
(org-agenda arg)))
|
|
@@ -5588,7 +5588,7 @@ to switch to narrowing."
|
|
|
|
|
|
(defun org-agenda-filter-effort-form (e)
|
|
|
"Return the form to compare the effort of the current line with what E says.
|
|
|
-E looks line \"+<2:25\"."
|
|
|
+E looks like \"+<2:25\"."
|
|
|
(let (op)
|
|
|
(setq e (substring e 1))
|
|
|
(setq op (string-to-char e) e (substring e 1))
|
|
@@ -6081,7 +6081,7 @@ When called with a prefix argument, include all archive files as well."
|
|
|
'org-agenda-type))))
|
|
|
|
|
|
(defun org-agenda-next-line ()
|
|
|
- "Move cursor to the next line, and show if follow-mode is active."
|
|
|
+ "Move cursor to the next line, and show if follow mode is active."
|
|
|
(interactive)
|
|
|
(call-interactively 'next-line)
|
|
|
(org-agenda-do-context-action))
|
|
@@ -6094,7 +6094,7 @@ When called with a prefix argument, include all archive files as well."
|
|
|
(org-agenda-do-context-action))
|
|
|
|
|
|
(defun org-agenda-do-context-action ()
|
|
|
- "Show outline path and, maybe, follow-mode window."
|
|
|
+ "Show outline path and, maybe, follow mode window."
|
|
|
(let ((m (org-get-at-bol 'org-marker)))
|
|
|
(if (and org-agenda-follow-mode m)
|
|
|
(org-agenda-show))
|
|
@@ -6475,8 +6475,8 @@ docstring of `org-agenda-show-1'."
|
|
|
This calls the command `org-tree-to-indirect-buffer' from the original
|
|
|
Org-mode buffer.
|
|
|
With numerical prefix arg ARG, go up to this level and then take that tree.
|
|
|
-With a C-u prefix, make a separate frame for this tree (i.e. don't use the
|
|
|
-dedicated frame)."
|
|
|
+With a \\[universal-argument] prefix, make a separate frame for this tree (i.e. don't
|
|
|
+use the dedicated frame)."
|
|
|
(interactive)
|
|
|
(org-agenda-check-no-diary)
|
|
|
(let* ((marker (or (org-get-at-bol 'org-marker)
|