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--clipboardsList various clipboards values.
org-capture--prompt-historyHistory list for prompt placeholders.
org-capture--prompt-history-tableHash table for all history lists per prompt.
org-capture-after-finalize-hookHook that is run right after a capture process is finalized.
org-capture-before-finalize-hookHook that is run right before a capture process is finalized.
org-capture-clock-keepLocal variable to store the value of the :clock-keep parameter.
org-capture-clock-was-startedInternal flag, keeping marker to the started clock.
org-capture-current-plistLocal variable holding the plist in a capture buffer.
org-capture-is-refilingNon-nil when capture process is refiling an entry.
org-capture-last-stored-markerMarker pointing to the entry most recently stored with ‘org-capture’.
org-capture-modeNon-nil if Org-Capture mode is enabled.
org-capture-mode-hookHook for the ‘org-capture-mode’ minor mode.
org-capture-mode-mapKeymap for ‘org-capture-mode’, a minor mode.
org-capture-plistPlist for the current capture process, global, to avoid having to pass it.
org-capture-prepare-finalize-hookHook that is run before the finalization starts.
org-capture-templatesTemplates for the creation of new entries.
org-capture-templates-contextsAlist of capture templates and valid contexts.
org-capture-use-agenda-dateNon-nil means use the date at point when capturing from agendas.

Defined functions (39)

org-capture(&optional GOTO KEYS)
org-capture--expand-keyword-in-embedded-elisp(ATTR)
org-capture--position-cursor(BEG END)
org-capture--run-template-functions(KEYWORD &optional LOCAL)
org-capture-empty-lines-after(&optional N)
org-capture-empty-lines-before(&optional N)
org-capture-escaped-%()
org-capture-expand-embedded-elisp(&optional MARK)
org-capture-expand-file(FILE)
org-capture-fill-template(&optional TEMPLATE INITIAL ANNOTATION)
org-capture-finalize(&optional STAY-WITH-CAPTURE)
org-capture-get(PROPERTY &optional LOCAL)
org-capture-get-indirect-buffer(&optional BUFFER PREFIX)
org-capture-get-template()
org-capture-goto-last-stored()
org-capture-goto-target(&optional TEMPLATE-KEY)
org-capture-import-remember-templates()
org-capture-inside-embedded-elisp-p()
org-capture-kill()
org-capture-mark-kill-region(BEG END)
org-capture-mode(&optional ARG)
org-capture-narrow(BEG END)
org-capture-place-entry()
org-capture-place-item()
org-capture-place-plain-text()
org-capture-place-table-line()
org-capture-place-template(&optional INHIBIT-WCONF-STORE)
org-capture-position-for-last-stored(POSITION)
org-capture-put(&rest ELEMENTS)
org-capture-put-target-region-and-position()
org-capture-refile()
org-capture-select-template(&optional KEYS)
org-capture-set-plist(ENTRY)
org-capture-set-target-location(&optional TARGET)
org-capture-store-last-position()
org-capture-string(STRING &optional KEYS)
org-capture-target-buffer(FILE)
org-capture-upgrade-templates(TEMPLATES)
org-capture-verify-tree(TREE)

Defined faces (0)