Morgan Smith <morgan.j.sm...@outlook.com> writes: > I may or may not have been trying to rewrite `org-clock-sum' for like > the 5th time. > > Anyways I was wanting to parse a file using `org-element-cache-map' that > looked roughly like this: > > ======== > * clock > :LOGBOOK: > CLOCK: [2024-03-24 Sun 15:18]--[2024-03-24 Sun 15:39] => 0:21 > :END: > ======= > > However I couldn't get the clock element this way. After much trail and > error I found that simply adding another heading on the end allowed me > to get the clock element! > > I've attached a test so you can reproduce the problem. In the test it > is a paragraph element that is not showing up.
Thanks for reporting! Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=942a7320d -- 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>