bvchg...@mail.com writes:

> 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).

The note might indeed not yet be inside the Org buffer.
`org-add-log-setup' arranges the note to be written _after_ current
command finishes (`post-command-hook').

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to