Compare commits

...

2 Commits

2 changed files with 4 additions and 1 deletions

View File

@ -1366,7 +1366,9 @@ accordingly."
("d" "Date" ("d" "Date"
entry entry
(file db/org-default-refile-file) (file db/org-default-refile-file)
"* GOTO [#B] %^{What} :DATE:\n%^{When}t\n%a%?" ,(concat "* GOTO [#B] %^{What} :DATE:\n%^{When}t\n"
"\nVia %(with-temp-buffer (db/org-add-link-to-current-clock) (string-trim (buffer-string))).\n"
"%?")
:empty-lines-before 1 :empty-lines-before 1
:empty-lines-after 1) :empty-lines-after 1)
("i" "Interruptions" ("i" "Interruptions"

View File

@ -1258,6 +1258,7 @@ cache if that's in use."
(let ((old-headline (org-entry-get (point) "ITEM"))) (let ((old-headline (org-entry-get (point) "ITEM")))
;; Update headline ;; Update headline
(org-edit-headline new-headline) (org-edit-headline new-headline)
(org-align-tags)
;; Code to add note interactively taken from ;; Code to add note interactively taken from
;; https://sachachua.com/blog/2022/11/logging-sent-messages-to-org-mode-with-message-sent-hook/ ;; https://sachachua.com/blog/2022/11/logging-sent-messages-to-org-mode-with-message-sent-hook/