From 85136b14df8f2bd921abae0173321ccf1e600ed6 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 12 May 2019 12:51:02 -0700 Subject: [emacs] Fix some org-mode templates --- emacs.d/custom/fcuny-org.el | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'emacs.d/custom') diff --git a/emacs.d/custom/fcuny-org.el b/emacs.d/custom/fcuny-org.el index 389a095..8a351dc 100644 --- a/emacs.d/custom/fcuny-org.el +++ b/emacs.d/custom/fcuny-org.el @@ -80,14 +80,27 @@ `(;; templates for general references, links, etc. They can be relevant for both work and personal learning. ("r" "Reference" entry (file+headline ,(concat org-directory "/notes.org") "Reference") - "* %^{TITLE}\n%?") + "* %^{TITLE} %^G\n%?") ("e" "Event" entry (file+headline ,(concat org-directory "/notes.org") "Event") - "* %^{EVENT}\n%?") + "* %^{EVENT}\n +:PROPERTIES: +:CREATED: %U +:Location: %^{prompt} +:END: +%?") + + ("b" "Bookmark" entry + (file+headline ,(concat org-directory "/notes.org") "Bookmarks") + "* %(fcuny/get-page-title (current-kill 0)) %^g +:PROPERTIES: +:ReadLater: %^{read later|Yes|No} +:Effort: %^{effort|1:00|0:05|0:15|0:30|2:00|4:00|5:00} +:END:\n") ;; templates for personal things only. ("t" "Personal Todo" entry - (file+headline ,(concat org-directory "/personal/tasks.org") "New") + (file+headline ,(concat org-directory "/personal/tasks.org") "Personal tasks") "* TODO [#4] %?\n") ("j" "Personal Journal" entry (file+olp+datetree ,(concat org-directory "/personal/journal.org")) @@ -102,7 +115,7 @@ ;; templates for work related things only. ("T" "Work Todo" entry - (file+headline ,(concat org-directory "/twitter/tasks.org") "New") + (file+headline ,(concat org-directory "/twitter/tasks.org") "Twitter related tasks") "* TODO [#4] %?\n") ("J" "Work Journal" entry (file+olp+datetree ,(concat org-directory "/twitter/journal.org")) -- cgit 1.4.1