Update org-mode capture templates

Move back to separated inbox style for different types of notes

Add calendar capture template that prompts for datetime

Remove automatic datetime from email workflow, prompt at capture
This commit is contained in:
Evie Litherland-Smith 2024-03-01 10:54:07 +00:00
parent dc8c492e02
commit bae0553bbb

View file

@ -46,20 +46,27 @@ For reference information, see [[https://orgmode.com][Org-mode website]]
#+begin_src emacs-lisp :results output silent
(setq org-capture-templates
'(("n" "Note" entry
(file+headline "inbox.org" "Note")
"* %?")
(file+datetree "inbox.org")
"* %?"
:tree-type month)
("t" "Task" entry
(file+headline "inbox.org" "Task")
(file+headline "tasks.org" "Inbox")
"* TODO %?"
:prepend t)
("c" "Calendar Event" entry
(file+headline "calendar.org" "Inbox")
"* %?\n%^t\n\n%i"
:prepend t)
("r" "Reading List" entry
(file+headline "inbox.org" "Reading List")
(file+headline "reading.org" "Inbox")
"* %?")
("m" "Email Workflow")
("mf" "Follow Up" entry (file+olp "mail.org" "Follow Up")
"* TODO Follow up with %:fromname on %a\nSCHEDULED:%t\nDEADLINE: %(org-insert-time-stamp (org-read-date nil t \"+2d\"))\n\n%i")
("mr" "Read Later" entry (file+olp "mail.org" "Read Later")
"* TODO Read %:subject\nSCHEDULED:%t\nDEADLINE: %(org-insert-time-stamp (org-read-date nil t \"+2d\"))\n\n%a\n\n%i")
("mf" "Follow Up" entry
(file+olp "mail.org" "Follow Up")
"* TODO Follow up with %:fromname on %a\nDEADLINE: %^{deadline}t\n\n%i")
("mr" "Read Later" entry
(file+olp "mail.org" "Read Later")
"* TODO Read %:subject\nSCHEDULED: %^{scheduled}t\n\n%i")
))
#+end_src