I finally managed to get to this. I think the problem with winner mode
was a side-effect. The actual problem appears when you set to log
changes to TODO states and you attempt to make the changes from the
agenda. (Changing from the org buffer works fine)
On Mon, 4 Apr 2011 10:00:50 -0700
Samuel Wales wrote:
> IIRC org-add-note works in a way that is unexpected. I think it makes
> its actions happen after the command itself. I got bitten by that for
> something else; maybe it is related here.
From my observations it seems the above statement might be related to
the issue. I see that setting to record notes or TODO state changes like
this: "DONE(d@/!)", "DONE(d!)" or "DONE(d@)" triggers the problem. After
changing the TODO state from the agenda, org doesn't prompt me (in case
of @) or doesn't insert the time stamp (in case of !). However it does
write an empty LOGBOOK drawer. When I visit the headline subsequently by
hitting TAB from the agenda, I get prompted for the note or the
timestamp gets recorded as the case maybe for the particular keyword.
I have attached the minimal org setup I used to replicate this along
with an example org file. If I change more than one TODO states from the
agenda before visiting the org file, only the last TODO state change is
logged. For all the preceding changes, I only get an empty drawer.
As the last time, I don't see the problem when I am using Emacs 23.2. I
hope I have been able to explain the problem clearly this time.
Open source is the future. It sets us free.