Ihor Radchenko <yanta...@gmail.com> writes: >> It seems to always work properly from the org buffer itself, so I assume >> it's something happening in the agenda, but I'm not sure where to look. >> I've tried debugging `org-agenda-todo`, but I can't see anything in >> askance there. Any advice as to what I should be looking for? > > I had similar issue. As I recall, the problem was with some custom > function in org-trigger-hook that threw an error because it did not > expect to be ran with point in agenda buffer. Do you have any > customisation related to todo triggers?
Hm, it looks like org-trigger-hook and the various other org-trigger-*-hook variables are nil in org-agenda buffers, but that seems like a good place to look. I'll try to see if I have any other org hooks that might be interferring with this.