From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: custom agenda view Date: Thu, 24 Dec 2009 06:21:23 -0500 Message-ID: References: <20091224141015.4645b8b2@n13> 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 1NNll5-0002DG-NQ for emacs-orgmode@gnu.org; Thu, 24 Dec 2009 06:21:31 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NNll0-0002BY-Gu for Emacs-orgmode@gnu.org; Thu, 24 Dec 2009 06:21:30 -0500 Received: from [199.232.76.173] (port=48629 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NNll0-0002BT-CG for Emacs-orgmode@gnu.org; Thu, 24 Dec 2009 06:21:26 -0500 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:41925) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NNll0-0005Jb-9E for Emacs-orgmode@gnu.org; Thu, 24 Dec 2009 06:21:26 -0500 In-Reply-To: <20091224141015.4645b8b2@n13> (Yuri Goncharov's message of "Thu, 24 Dec 2009 14:10:15 +0300") 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: Yuri Goncharov Cc: Emacs-orgmode@gnu.org Yuri Goncharov writes: > I try to make custom agenda view with todo keyword STARTED and tag @HOME > I wrote this code > > (setq org-agenda-custom-commands > (quote > (("w" "work tasks" tags-todo > "+STARTED+@WORK" ((org-agenda-todo-ignore-with-date nil))) > ("h" "home tasks" tags-todo > "+STARTED+@HOME" ((org-agenda-todo-ignore-with-date nil))) > ("n" "Notes" tags "NOTE" nil)))) > > but it's not work. Does the following work? Since STARTED is a todo state, it needs to be specified with a different syntax. (setq org-agenda-custom-commands (quote (("w" "work tasks" tags-todo "@WORK/!STARTED" ((org-agenda-todo-ignore-with-date nil))) ("h" "home tasks" tags-todo "@HOME/!STARTED" ((org-agenda-todo-ignore-with-date nil))) ("n" "Notes" tags "NOTE" nil)))) Best, Matt