From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: suggestion: agenda commands restricted to the current region/subtree Date: Mon, 28 Aug 2006 17:34:37 +0200 Message-ID: <699463cccd0200d8fef4bab0321b54ed@science.uva.nl> References: <3c12eb8d0608280806m7c08d405r293bb5ee46160455@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GHj8L-0001wL-F4 for emacs-orgmode@gnu.org; Mon, 28 Aug 2006 11:34:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GHj8J-0001vh-Ja for emacs-orgmode@gnu.org; Mon, 28 Aug 2006 11:34:41 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GHj8J-0001ve-B3 for emacs-orgmode@gnu.org; Mon, 28 Aug 2006 11:34:39 -0400 Received: from [194.134.35.175] (helo=smtp04.wanadoo.nl) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GHjHH-0004g2-Sv for emacs-orgmode@gnu.org; Mon, 28 Aug 2006 11:43:56 -0400 In-Reply-To: <3c12eb8d0608280806m7c08d405r293bb5ee46160455@mail.gmail.com> 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: Piotr Zielinski Cc: emacs-orgmode@gnu.org On Aug 28, 2006, at 17:06, Piotr Zielinski wrote: > Carsten, > > By default, the org-agenda command looks at all files in > org-agenda-files. Is it possible to restrict its input to the current > file/region/subtree (for one invocation)? Restricting the input to > the current project subtree would give me an easy way of listing all > TODO items associated with that project. You can already restrict to the current file by using (for example) C-c 1 a instead of C-c a. Restriction to the subtree is not possible so far, I'll see if I can find a way to do this. Narrowing does not work as currently, org-mode widens each buffer before scanning. - Carsten -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477