From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Sparse-tree at cursor point Date: Mon, 09 Nov 2009 19:14:34 -0500 Message-ID: <871vk78cd1.fsf@gollum.intra.norang.ca> References: <1e5bcefd0911091603p2a5905cfqcebcdbe7d1f76056@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N7eNc-00078q-Vf for emacs-orgmode@gnu.org; Mon, 09 Nov 2009 19:14:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N7eNZ-00076M-NB for emacs-orgmode@gnu.org; Mon, 09 Nov 2009 19:14:40 -0500 Received: from [199.232.76.173] (port=56862 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7eNZ-000764-GP for emacs-orgmode@gnu.org; Mon, 09 Nov 2009 19:14:37 -0500 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:63451) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N7eNZ-0006OH-91 for emacs-orgmode@gnu.org; Mon, 09 Nov 2009 19:14:37 -0500 In-Reply-To: <1e5bcefd0911091603p2a5905cfqcebcdbe7d1f76056@mail.gmail.com> (Marcelo de Moraes Serpa's message of "Mon\, 9 Nov 2009 18\:03\:58 -0600") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Marcelo de Moraes Serpa Cc: Org Mode Marcelo de Moraes Serpa 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