[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
New note not included in org-element-parse-buffer result
From: |
bvchgvbt |
Subject: |
New note not included in org-element-parse-buffer result |
Date: |
Tue, 9 May 2023 11:19:37 +0200 |
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?
- New note not included in org-element-parse-buffer result,
bvchgvbt <=