Re: Manually/programmatically adding a state transition message

2021-10-03 Thread Ihor Radchenko
Trevoke writes: > 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. No.

Re: Manually/programmatically adding a state transition message

2021-10-03 Thread Trevoke
On Sat, Oct 2, 2021 at 5:18 AM Ihor Radchenko 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

Re: Manually/programmatically adding a state transition message

2021-10-02 Thread Ihor Radchenko
Trevoke writes: > I've looked at the code around adding a log-note and it looks like it might > be automatable but there's a lot of pieces I don't know in there, so if > there's a way to add just a state transition with a programmatically > provided note, I'll take that, please :) It may be

Manually/programmatically adding a state transition message

2021-09-18 Thread Trevoke
I am writing some code to change the state of an org headline. I have figured out that an error will pop up if I am automatically transitioning to a state that requires a note logged. How can I automatically add a state transition note? I know I can write this: (universal-argument)