emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] org-map-entries narrows to subtree


From: Carsten Dominik
Subject: Re: [Orgmode] org-map-entries narrows to subtree
Date: Sat, 17 Jan 2009 08:58:45 +0100


On Jan 11, 2009, at 7:26 PM, Daniel Clemente wrote:


Hi. After you eval this (for instance to count the number of headlines under a tree):

(org-map-entries 'ignore t 'tree)

you end up with a different view of the buffer because (org-narrow-to-subtree) was called. This seems an unwanted side effect since narrowing is not org-map-entries' job.

Should (save-excursion) be used inside (org-map-entries ... 'tree) ?

Yes, I have made this change, thanks.

- Carsten


reply via email to

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