From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Parameterized custom agenda views Date: Mon, 28 Sep 2009 09:52:32 -0400 Message-ID: <87y6nzdvmn.fsf@gollum.intra.norang.ca> References: <87fxa8q6nw.fsf@zinc.branchcut.ath.cx> 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 1MsGed-00031l-UK for emacs-orgmode@gnu.org; Mon, 28 Sep 2009 09:52:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MsGea-00030d-8G for emacs-orgmode@gnu.org; Mon, 28 Sep 2009 09:52:39 -0400 Received: from [199.232.76.173] (port=40082 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MsGea-00030a-5Z for emacs-orgmode@gnu.org; Mon, 28 Sep 2009 09:52:36 -0400 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:55239) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MsGeZ-0004zd-QK for emacs-orgmode@gnu.org; Mon, 28 Sep 2009 09:52:35 -0400 In-Reply-To: <87fxa8q6nw.fsf@zinc.branchcut.ath.cx> (Desmond Rivet's message of "Sun\, 27 Sep 2009 20\:01\:07 -0400") 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: Desmond Rivet Cc: emacs-orgmode@gnu.org Desmond Rivet writes: > Is it possible to write a custom agenda view where part of the query is > written, but the user has to supply the rest? Not that I'm aware of. > For example, I have a piece in my org-agenda-custom-commands variable > that looks like this: > > ("p" "All Projects" tags-todo "+project") > > This means I want to see all TODO items with the project tag. What if I > wanted to supply an additional tag (over and above the project tag), but > I didn't know it ahead of time? Is there a way to get orgmode to prompt > me for the tag? I would use agenda tag filtering for this. Do you C-c a p display and then limit the result to some other tag with / TAB or / -Bernt