[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG][org-map-entries] Using (widen) in FUNC when SCOPE is equal to
From: |
Rodrigo Morales |
Subject: |
Re: [BUG][org-map-entries] Using (widen) in FUNC when SCOPE is equal to 'tree iterates through headlines outside the tree |
Date: |
Tue, 29 Aug 2023 13:29:34 +0000 |
I cannot reproduce on the latest main either. Next time, before
reporting a bug, I'll make sure that it hasn't been fixed on the
latest main. Thanks for reviewing it.
On Tue, 29 Aug 2023 at 08:20, Ihor Radchenko <yantar92@posteo.net> wrote:
>
> Rodrigo Morales <moralesrodrigo1100@gmail.com> writes:
>
> > (with-temp-buffer
> > (org-mode)
> > (insert
> > "* 1
> > ,** 1.1
> > ,** 1.2
> > ,** 1.3
> > ,* 2
> > ,** 2.1
> > ,** 2.2
> > ,** 2.3
> > ")
> > (goto-char (point-min))
> > (org-map-entries
> > (lambda ()
> > (widen)
> > (org-entry-get nil "ITEM"))
> > nil
> > 'tree))
> > #+end_src
> >
> > #+RESULTS:
> > #+begin_example
> > ("1" "1.1" "1.2" "1.3" "2" "2.1" "2.2" "2.3")
> > #+end_example
>
> I cannot reproduce on the latest main (Org 9.7-pre)
>
> Canceled.
>
> --
> 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>