Hello,
I try to configure my org mode (Org mode version ( @ /lhome/lindnfl/.emacs.d/elpa/org-9.4.4/)) to ask for a note and also for a specific property when moving a state to WAIT. For that I use
(setq
org-todo-keywords '((sequence "NEXT" "TODO" "WAIT(w@)" "|" "DONE(d!)" "NODO(n@)"))
org-log-into-drawer t
)
(defun flo/org-state-change()
(when (string= org-state "WAIT")
(org-set-property "DELEGATED_TO" (read-string "Delegate To: "))))
(setq org-after-todo-state-change-hook 'flo/org-state-change)
However, I suspect the state-change-hook and the note when leaving WAIT state conflict:
Error in post-command-hook (org-add-log-note): (error "Can’t expand minibuffer to full frame")
resulting in that I am only asked to set the property, note the note.
What can i do about it? I don't really care in which order I enter the two note / property.
Thanks,
Florian