Hi all,

I'm attempting my first non-trivial elisp and seem to be falling at the
first hurdle.

Specifically, I am using (org-trigger-hook) to inspect a TODO->DONE state
change, and am finding that the note that I insert when the state change
is logged is not present in the result of a call to
(org-element-parse-buffer).

I wondered if this was due to the buffer having not been saved so in the
code I call (org-save-all-org-buffers) before trying to inspect the buffer
with -parse-buffer. Since the code is working on current-buffer, I don't
*think* this should be the case, but please see my first sentence.

As possibly related issue, despite the call to (org-save-all-org-buffers)
I find that the Org buffer containing my new note remains unsaved.

Can anyone give me a clue as to what's going on, please?

Reply via email to