diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2018-04-14 16:22:29 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2018-04-14 16:22:29 -0700 |
commit | 1c65d4935e2dc29f6223280baee6262a732a3f3a (patch) | |
tree | fffa3f83bc030d74e1b0b6ac4533f19bd0a047b3 | |
parent | 4177a46ff4bd5c33b6da7b1c5979c44666431be2 (diff) | |
download | dotfiles-1c65d4935e2dc29f6223280baee6262a732a3f3a.tar.gz |
replace blank lines in org-capture-templates
-rw-r--r-- | .emacs.d/init-org.el | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/.emacs.d/init-org.el b/.emacs.d/init-org.el index 52e35817..86224816 100644 --- a/.emacs.d/init-org.el +++ b/.emacs.d/init-org.el @@ -547,19 +547,15 @@ different occasions." ("m" ((in-mode . "notmuch-show-mode")))) org-capture-templates '(("t" "Task to be refiled" entry (file org-default-notes-file) - "* TODO %^{Title} -%?") + "* TODO %^{Title}\n%?") ("T" "Task to be refiled" entry (file org-default-notes-file) - "* TODO %^{Title} -%?") + "* TODO %^{Title}\n%?") ("n" "Information to be refiled" entry (file org-default-notes-file) - "* %^{Title} -%?") + "* %^{Title}\n%?") ("m" "Task from mail to be refiled" entry (file org-default-notes-file) ;; lisp is to filter square brackets out of the subject as these ;; mean that the Org-mode link does not properly form - "* TODO [[notmuch:id:%:message-id][%^{Title|\"%(replace-regexp-in-string \"\\\\\\[\\\\\\|\\\\\\]\" \"\" \"%:subject\")\" from %:fromname}]] -%?") + "* TODO [[notmuch:id:%:message-id][%^{Title|\"%(replace-regexp-in-string \"\\\\\\[\\\\\\|\\\\\\]\" \"\" \"%:subject\")\" from %:fromname}]]\n%?") ;; ("a" "Appointment" entry (file+datetree "~/doc/org/diary.org") ;; "* %^{Time} %^{Title & location} ;; %^t" :immediate-finish t) @@ -567,13 +563,9 @@ different occasions." ;; "* %^{Title & location} ;; %^t" :immediate-finish t) ("s" "Task for the future to be refiled" entry (file org-default-notes-file) - "* SOMEDAY %^{Title} -%?") + "* SOMEDAY %^{Title}\n%?") ("d" "Diary entry" entry (file+datetree "~/.labbook.gpg") - "* %^{Title} -%U - -%?") + "* %^{Title}\n%U\n\n%?") ("u" "URI on clipboard" entry (file org-default-notes-file) "* SOMEDAY [[%^{URI|%x}][%^{Title}]]" :immediate-finish t))) |