From d6737a7b73e2b77ca83ad4ff4975f55feb2d0a21 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Tue, 15 Jun 2021 21:54:54 +0200 Subject: Prepend captures --- gui/conf/email.el | 3 ++- gui/conf/init.el | 38 +++++++++++++++----------------------- 2 files changed, 17 insertions(+), 24 deletions(-) (limited to 'gui') diff --git a/gui/conf/email.el b/gui/conf/email.el index bcce8fe..68c1b09 100644 --- a/gui/conf/email.el +++ b/gui/conf/email.el @@ -59,4 +59,5 @@ (add-to-list 'org-capture-templates '("m" "eMail note" entry (file org-default-notes-file) - "* TODO /%:subject/\n See %a\n\n%?")) + "* TODO /%:subject/\n See %a\n\n%?" + :prepend t)) diff --git a/gui/conf/init.el b/gui/conf/init.el index 04b62b9..11b307b 100644 --- a/gui/conf/init.el +++ b/gui/conf/init.el @@ -208,34 +208,26 @@ (sequence "IDEA(i)" "TODO(t)" "|" "DONE(d)"))) (setq org-capture-templates - '(("t" - "Todo item" - entry + '(("t" "Todo item" entry (file org-default-notes-file) - "* TODO %?\n%a") - ("c" - "Calendar entry" - entry + "* TODO %?\n%a" + :prepend t) + ("c" "Calendar entry" entry (file org-default-notes-file) - "* TODO %?\nSCHEDULED: %t") - ("j" - "Journal entry" - entry + "* TODO %?\nSCHEDULED: %t" + :prepend t) + ("j" "Journal entry" entry (file org-default-notes-file) - "* %U %^{Title}\n%?") - ("s" - "Quote selection" - entry - (file org-default-notes-file) - "* %^{Description}\n%U\n#+BEGIN_QUOTE\n%i#+END_QUOTE") - ("wq" - "Website (Quote)" - entry + "* %U %^{Title}\n%?" + :prepend t) + ("s" "Quote selection" entry (file org-default-notes-file) + "* %^{Description}\n%U\n#+BEGIN_QUOTE\n%i#+END_QUOTE" + :prepend t) + ("wq" "Website (Quote)" + entry (file org-default-notes-file) "* %:description\n%:link %U\n#+BEGIN_QUOTE\n%:initial\n#+END_QUOTE") - ("w" - "Website" - entry + ("w" "Website" entry (file org-default-notes-file) "* %:description\n%:link %U" :immediate-finish t))) -- cgit v1.2.3