From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo de Moraes Serpa Subject: Re: Sparse-tree at cursor point Date: Mon, 9 Nov 2009 22:36:26 -0600 Message-ID: <1e5bcefd0911092036x3366764ao28eacdc60811902e@mail.gmail.com> References: <1e5bcefd0911091603p2a5905cfqcebcdbe7d1f76056@mail.gmail.com> <20091110012647.0d73a636.andy13@gmx.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0244131207==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N7iT3-0002Uk-Kd for emacs-orgmode@gnu.org; Mon, 09 Nov 2009 23:36:33 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N7iSy-0002Sq-7M for emacs-orgmode@gnu.org; Mon, 09 Nov 2009 23:36:32 -0500 Received: from [199.232.76.173] (port=52305 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7iSy-0002Sm-2B for emacs-orgmode@gnu.org; Mon, 09 Nov 2009 23:36:28 -0500 Received: from mail-pw0-f47.google.com ([209.85.160.47]:33786) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N7iSx-0006UZ-NV for emacs-orgmode@gnu.org; Mon, 09 Nov 2009 23:36:27 -0500 Received: by pwi9 with SMTP id 9so711496pwi.26 for ; Mon, 09 Nov 2009 20:36:26 -0800 (PST) In-Reply-To: <20091110012647.0d73a636.andy13@gmx.net> 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: Org Mode --===============0244131207== Content-Type: multipart/alternative; boundary=00504502e1286288e20477fcda2d --00504502e1286288e20477fcda2d Content-Type: text/plain; charset=ISO-8859-1 Thanks. On Mon, Nov 9, 2009 at 6:26 PM, Andreas Burtzlaff wrote: > Hello Marcelo, > > On Mon, 9 Nov 2009 18:03:58 -0600 > Marcelo de Moraes Serpa wrote: > > > Hello list, > > > > 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? > > Yes, that is possible by narrowing to the subtree. > While on the heading for the subtree you want to apply the sparse tree > function on press: > C-x n s (to narrow to the subtree) > C-c / > C-x n w (to widen the view to the whole file) > > HTH > > Andreas > --00504502e1286288e20477fcda2d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks.

On Mon, Nov 9, 2009 at 6:26 PM, A= ndreas Burtzlaff <an= dy13@gmx.net> wrote:
Hello Marcelo,

On Mon, 9 Nov 2009 18:03:58 -0600
Marcelo de Moraes Serpa <celoserp= a@gmail.com> wrote:

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

Yes, that is possible by narrowing to the subtree.
While on the heading for the subtree you want to apply the sparse tree
function on press:
C-x n s =A0 =A0 (to narrow to the subtree)
C-c /
C-x n w =A0 =A0 (to widen the view to the whole file)

HTH

Andreas

--00504502e1286288e20477fcda2d-- --===============0244131207== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0244131207==--