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