[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (org-element-parse-buffer) and (org-with-wide-buffer)
From: |
Ihor Radchenko |
Subject: |
Re: (org-element-parse-buffer) and (org-with-wide-buffer) |
Date: |
Wed, 11 Jan 2023 10:03:15 +0000 |
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>