From: Daniel Clemente <n142857@gmail.com> To: org-mode mailing list <emacs-orgmode@gnu.org> Subject: org-map-entries narrows to subtree Date: Sun, 11 Jan 2009 19:26:54 +0100 [thread overview] Message-ID: <871vv9og0h.fsf@gmail.com> (raw) 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) ? -- Daniel
next reply other threads:[~2009-01-11 18:26 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-01-11 18:26 Daniel Clemente [this message] 2009-01-11 18:36 ` Daniel Clemente 2009-01-11 20:59 ` Eric Schulte 2009-01-17 7:58 ` Carsten Dominik
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style List information: https://www.orgmode.org/ * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=871vv9og0h.fsf@gmail.com \ --to=n142857@gmail.com \ --cc=emacs-orgmode@gnu.org \ --subject='Re: org-map-entries narrows to subtree' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Code repositories for project(s) associated with this inbox: https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).