emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Manually/programmatically adding a state transition message


From: Trevoke
Subject: Re: Manually/programmatically adding a state transition message
Date: Sun, 3 Oct 2021 10:30:45 -0400



On Sat, Oct 2, 2021 at 5:18 AM Ihor Radchenko <yantar92@gmail.com> wrote:
It may be fragile, but you can try let-binding

(org-inhibit-logging 'note)

around elisp org-todo call

Hi Ihor,

If I understand correctly, this will prevent the addition of a note; I have already found a way to do this. Please let me know if I am mistaken.
What I am looking for is a way to programmatically, without user input, change the state and add an automatic note.

If I understand correctly, org-mode implements the addition of the note through the function `org-add-log-note` and `org-store-log-note`, and I was really hoping I wouldn't have to sift through these two functions to figure out and possibly reimplement all the logic of how it finds the place where to add the note so I can insert the string there myself.

Sincerely,
-Aldric

reply via email to

[Prev in Thread] Current Thread [Next in Thread]