From 9107b0f5133622bda6ead263ba13473e426064b2 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Thu, 14 Nov 2019 14:32:44 +0100 Subject: [PATCH] Fix the value of org-capture-templates A `(quote)` call was missing, which resulted in an empty template list. --- configuration.org | 64 +++++++++++++++++++++++------------------------ 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/configuration.org b/configuration.org index ab53388..5fed926 100644 --- a/configuration.org +++ b/configuration.org @@ -2834,38 +2834,38 @@ This is a big one; I use a lot of customisation here. (org-agenda-overriding-header "ALL normal priority tasks")))) ((org-agenda-compact-blocks t))))) (org-log-note-clock-out t) - (org-capture-templates (("L" "Org-protocol capture" entry - (file+headline - (lambda () - (expand-file-name "index.org" org-directory)) - "Captures") - "** %:description\n:PROPERTIES:\n:SOURCE: %:link\n:END:\n\n%:initial" - :empty-lines 1) - ("R" "Region to Current Clocked Task" plain - (clock) - "%i" - :immediate-finish t - :empty-lines 1) - ("K" "Kill-ring to Current Clocked Task" plain - (clock) - "%c" - :immediate-finish t - :empty-lines 1) - ("c" "Item to current Clocked Task" item - (clock) - "%i%?" - :empty-lines 1) - ("g" "GT2 note" entry - (file+headline - (lambda () - (expand-file-name "gt2-notes.org" org-directory)) - "Captures") - "** %^{Title}\n:PROPERTIES:\n:CREATED: %T\n:END:\n\n%a\n\n%i%?") - ("p" "Blog post" entry - (file+olp+datetree - (lambda () - (expand-file-name "blog.org" org-directory))) - "* %^{Title} :blog:\n:PROPERTIES:\n:CREATED: %T\n:END:\n\n%i%?"))) + (org-capture-templates '(("L" "Org-protocol capture" entry + (file+headline + (lambda () + (expand-file-name "index.org" org-directory)) + "Captures") + "** %:description\n:PROPERTIES:\n:SOURCE: %:link\n:END:\n\n%:initial" + :empty-lines 1) + ("R" "Region to Current Clocked Task" plain + (clock) + "%i" + :immediate-finish t + :empty-lines 1) + ("K" "Kill-ring to Current Clocked Task" plain + (clock) + "%c" + :immediate-finish t + :empty-lines 1) + ("c" "Item to current Clocked Task" item + (clock) + "%i%?" + :empty-lines 1) + ("g" "GT2 note" entry + (file+headline + (lambda () + (expand-file-name "gt2-notes.org" org-directory)) + "Captures") + "** %^{Title}\n:PROPERTIES:\n:CREATED: %T\n:END:\n\n%a\n\n%i%?") + ("p" "Blog post" entry + (file+olp+datetree + (lambda () + (expand-file-name "blog.org" org-directory))) + "* %^{Title} :blog:\n:PROPERTIES:\n:CREATED: %T\n:END:\n\n%i%?"))) :hook (ediff-select . f-ediff-org-unfold-tree-element) (ediff-unselect . f-ediff-org-fold-tree)