feat(doom): stamp :ID: (org-id-new) on captured Todo/Event templates
New items get a live org ID at capture so they're linkable as org-roam nodes and horizon properties without a separate stamp step. Event template also gains the TODO keyword.
This commit is contained in:
@@ -731,7 +731,7 @@ Each line jumps to the file (org-hd-marker on the first headline)."
|
||||
("ti" "Idea" entry (file+olp +org-capture-todo-file "Tasks")
|
||||
"* IDEA %? \n:PROPERTIES:\n:CREATED: %U\n:END:\n%a\n%i" :prepend t)
|
||||
("tt" "Todo" entry (file+olp +org-capture-todo-file "Tasks")
|
||||
"* TODO %? \n:PROPERTIES:\n:CREATED: %U\n:END:\n%a\n%i" :prepend t)
|
||||
"* TODO %? \n:PROPERTIES:\n:CREATED: %U\n:ID: %(org-id-new)\n:END:\n%a\n%i" :prepend t)
|
||||
("tw" "Wait" entry (file+olp +org-capture-todo-file "Tasks")
|
||||
"* WAIT %? \n:PROPERTIES:\n:CREATED: %U\n:END:\n%a\n%i" :prepend t)
|
||||
("tp" "Task at point" entry (file+olp +org-capture-todo-file "Tasks")
|
||||
@@ -746,7 +746,7 @@ Each line jumps to the file (org-hd-marker on the first headline)."
|
||||
("w" "Question" entry (file+olp +org-capture-notes-file "Questions")
|
||||
"* [?] %? \n:PROPERTIES:\n:CREATED: %U\n:END:\n%a\n%i")
|
||||
("e" "Event" entry (file+olp +org-capture-todo-file "Events")
|
||||
"* %? %^t\n:PROPERTIES:\n:CREATED: %U\n:END:\n%a\n%i")
|
||||
"* TODO %? %^t\n:PROPERTIES:\n:CREATED: %U\n:ID: %(org-id-new)\n:END:\n%a\n%i")
|
||||
;; Calendar event capture for gnus-icalendar (its insinuate appends a
|
||||
;; "#" template; we declare it here so it survives independent of load order
|
||||
;; and its name dedup-guard skips appending a duplicate).
|
||||
|
||||
@@ -576,7 +576,7 @@ Each line jumps to the file (org-hd-marker on the first headline)."
|
||||
("ti" "Idea" entry (file+olp +org-capture-todo-file "Tasks")
|
||||
"* IDEA %? \n:PROPERTIES:\n:CREATED: %U\n:END:\n%a\n%i" :prepend t)
|
||||
("tt" "Todo" entry (file+olp +org-capture-todo-file "Tasks")
|
||||
"* TODO %? \n:PROPERTIES:\n:CREATED: %U\n:END:\n%a\n%i" :prepend t)
|
||||
"* TODO %? \n:PROPERTIES:\n:CREATED: %U\n:ID: %(org-id-new)\n:END:\n%a\n%i" :prepend t)
|
||||
("tw" "Wait" entry (file+olp +org-capture-todo-file "Tasks")
|
||||
"* WAIT %? \n:PROPERTIES:\n:CREATED: %U\n:END:\n%a\n%i" :prepend t)
|
||||
("tp" "Task at point" entry (file+olp +org-capture-todo-file "Tasks")
|
||||
@@ -591,7 +591,7 @@ Each line jumps to the file (org-hd-marker on the first headline)."
|
||||
("w" "Question" entry (file+olp +org-capture-notes-file "Questions")
|
||||
"* [?] %? \n:PROPERTIES:\n:CREATED: %U\n:END:\n%a\n%i")
|
||||
("e" "Event" entry (file+olp +org-capture-todo-file "Events")
|
||||
"* %? %^t\n:PROPERTIES:\n:CREATED: %U\n:END:\n%a\n%i")
|
||||
"* TODO %? %^t\n:PROPERTIES:\n:CREATED: %U\n:ID: %(org-id-new)\n:END:\n%a\n%i")
|
||||
;; Calendar event capture for gnus-icalendar (its insinuate appends a
|
||||
;; "#" template; we declare it here so it survives independent of load order
|
||||
;; and its name dedup-guard skips appending a duplicate).
|
||||
|
||||
Reference in New Issue
Block a user