File: org-capture.el.html
This file contains an alternative implementation of the functionality that used to be provided by org-remember.el. The implementation is more streamlined, can produce more target types (e.g. plain list items or table lines). Also, it does not use a temporary buffer for editing the captured entry - instead it uses an indirect buffer that visits the new entry already in the target buffer (this was an idea by Samuel Wales). John Wiegley's excellent remember.el is not needed anymore for this implementation, even though we borrow heavily from its ideas.
This implementation heavily draws on ideas by James TD Smith and Samuel Wales, and, of cause, uses John Wiegley's remember.el as inspiration.
; TODO
- find a clever way to not always insert an annotation maybe a
predicate function that can check for conditions for %a to be
used. This could be one of the properties.
- Should there be plist members that arrange for properties to be
asked for, like James proposed in his RFC?
Defined variables (18)
org-capture--clipboards | List various clipboards values. |
org-capture--prompt-history | History list for prompt placeholders. |
org-capture--prompt-history-table | Hash table for all history lists per prompt. |
org-capture-after-finalize-hook | Hook that is run right after a capture process is finalized. |
org-capture-before-finalize-hook | Hook that is run right before a capture process is finalized. |
org-capture-clock-keep | Local variable to store the value of the :clock-keep parameter. |
org-capture-clock-was-started | Internal flag, keeping marker to the started clock. |
org-capture-current-plist | Local variable holding the plist in a capture buffer. |
org-capture-is-refiling | Non-nil when capture process is refiling an entry. |
org-capture-last-stored-marker | Marker pointing to the entry most recently stored with ‘org-capture’. |
org-capture-mode | Non-nil if Org-Capture mode is enabled. |
org-capture-mode-hook | Hook for the ‘org-capture-mode’ minor mode. |
org-capture-mode-map | Keymap for ‘org-capture-mode’, a minor mode. |
org-capture-plist | Plist for the current capture process, global, to avoid having to pass it. |
org-capture-prepare-finalize-hook | Hook that is run before the finalization starts. |
org-capture-templates | Templates for the creation of new entries. |
org-capture-templates-contexts | Alist of capture templates and valid contexts. |
org-capture-use-agenda-date | Non-nil means use the date at point when capturing from agendas. |