From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: Filtering the global todo list in a custom agenda Date: Wed, 30 Sep 2009 12:26:24 -0400 Message-ID: References: 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 1Mt20g-0001as-4x for emacs-orgmode@gnu.org; Wed, 30 Sep 2009 12:26:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mt20b-0001Z9-3J for emacs-orgmode@gnu.org; Wed, 30 Sep 2009 12:26:33 -0400 Received: from [199.232.76.173] (port=37675 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mt20a-0001Z2-Tg for emacs-orgmode@gnu.org; Wed, 30 Sep 2009 12:26:28 -0400 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:51697) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mt20a-0006pY-KQ for emacs-orgmode@gnu.org; Wed, 30 Sep 2009 12:26:28 -0400 In-Reply-To: (PT's message of "Wed, 30 Sep 2009 12:07:02 +0000 (UTC)") 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: PT Cc: emacs-orgmode@gnu.org PT writes: > I'm trying to filter the global todo list, so that items with certain > tags don't appear in it, but this solution doesn't seem to work: > > (setq org-agenda-custom-commands > '(("h" "Agenda and todo" > ((agenda "") > (alltodo "-test"))))) > > > Items with "test" tag are shown nevertheless. How could I filter them? (setq org-agenda-custom-commands '(("h" "Agenda and todo" ((agenda "") (tags-todo "-test"))))) - Matt