Insert current clock when capturing simple tasks
This is more reasonable than inserting a link to the current location of point, which can be quite arbitrary (at least in my workflow). When a link to the item at point is needed, it should be inserted manually.
This commit is contained in:
parent
5d28ab04a6
commit
028dc91f28
2
init.el
2
init.el
@ -1125,7 +1125,7 @@ quickly loose their meaning."
|
|||||||
(file db/org-default-refile-file)
|
(file db/org-default-refile-file)
|
||||||
,(concat "* TODO [#B] %^{What}\n"
|
,(concat "* TODO [#B] %^{What}\n"
|
||||||
":PROPERTIES:\n:CREATED: %U\n:END:\n"
|
":PROPERTIES:\n:CREATED: %U\n:END:\n"
|
||||||
"\nVia %a."
|
"\nVia %(with-temp-buffer (db/org-add-link-to-current-clock) (string-trim (buffer-string)))."
|
||||||
"%?")
|
"%?")
|
||||||
:empty-lines-before 1
|
:empty-lines-before 1
|
||||||
:empty-lines-after 0)
|
:empty-lines-after 0)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user