emacs-orgmode
[Top][All Lists]
Advanced

[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: Ihor Radchenko
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 08:20:50 +0000

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>



reply via email to

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