emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (org-element-parse-buffer) and (org-with-wide-buffer)


From: Michael Dauer
Subject: Re: (org-element-parse-buffer) and (org-with-wide-buffer)
Date: Wed, 11 Jan 2023 12:19:30 +0100

But within (org-with-wide-buffer) the collapsed branches should be visible. 

Ihor Radchenko <yantar92@posteo.net> schrieb am Mi., 11. Jän. 2023, 11:02:
Michael Dauer <mick.dauer@gmail.com> writes:

> I would expect both output rows to be identical. But it seems
> that (org-with-wide-buffer) has no effect on (org-element-parse-buffer)
> with VISIBLE-ONLY argument.

> While I believe this is a bug, I would also appreciate hearing about
> possible work-arounds.

This behaviour is documented in the docstring of
`org-element-parse-buffer':

    If narrowing is in effect, only parse the visible part of the
    buffer.

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

[Prev in Thread] Current Thread [Next in Thread]