emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Marcelo de Moraes Serpa <celoserpa@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Sparse-tree at cursor point
Date: Mon, 09 Nov 2009 19:14:34 -0500	[thread overview]
Message-ID: <871vk78cd1.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <1e5bcefd0911091603p2a5905cfqcebcdbe7d1f76056@mail.gmail.com> (Marcelo de Moraes Serpa's message of "Mon\, 9 Nov 2009 18\:03\:58 -0600")

Marcelo de Moraes Serpa <celoserpa@gmail.com> writes:

> The sparse-tree feature is very useful when you want to follow tasks
> of a specific project, and want to filter the whole org file to show
> only the relevant project tree. However, I did not find a way to apply
> this function to a specific tree at the cursor point. Sometimes, I
> want to act by project, and I know exactly where it is in the file,
> and I want to apply the sparse tree at this item, instead of searching
> by regexp, todo, etc. Is it possible?

I'm not sure I understand exactly what it is you're looking for.  If you
want to limit the sparse tree function to a subtree you can narrow to
subtree first (C-x n s), run the spare tree function, and then widen
again (C-x n w).

You can hide the rest of your document with M-x hide-other.

Does any of that help?

-Bernt

  reply	other threads:[~2009-11-10  0:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-10  0:03 Sparse-tree at cursor point Marcelo de Moraes Serpa
2009-11-10  0:14 ` Bernt Hansen [this message]
2009-11-10  0:26 ` Andreas Burtzlaff
2009-11-10  4:36   ` Marcelo de Moraes Serpa
2009-11-10 20:03     ` Marcelo de Moraes Serpa

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=871vk78cd1.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=celoserpa@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public 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).