aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-04-14 13:45:58 -0700
committerGravatar Tom Willemse2019-04-14 13:45:58 -0700
commitd72c62d8338826e2734f8d12717cd77330cfc8bd (patch)
tree74823918a8744fb0fa9674c17f790fc97d2dbf6e
parent720c3a84ac5e90cec1b4eb2130565268ce506a8c (diff)
downloademacs-config-d72c62d8338826e2734f8d12717cd77330cfc8bd.tar.gz
emacs-config-d72c62d8338826e2734f8d12717cd77330cfc8bd.zip
Bring TODO items in capture inline with orgzly ones
When Orgzly adds a TODO item in a buffer it also adds a CREATED property along with it. Now this also happens when something is captured through Emacs.
-rw-r--r--oni-org.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/oni-org.el b/oni-org.el
index 504a5e9..dd2bc9a 100644
--- a/oni-org.el
+++ b/oni-org.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 20190306233437
+;; Version: 20190414134522
;; Package-Requires: (org-plus-contrib org-bullets hydra)
;; This program is free software; you can redistribute it and/or modify
@@ -120,7 +120,7 @@ ones that have a predecessor."
(setq org-capture-templates
`(("t" "Note" entry
(file ,(oni-org-expand-to-home "documents/gtd/inbox.org"))
- "* TODO %i%?")
+ "* TODO %i%?\n :PROPERTIES:\n :CREATED: %U\n :END:")
("a" "Appointment" entry
(file ,(oni-org-expand-to-home "documents/gtd/appointments.org"))
"* %i%?\n %U")