From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: custom agenda view with tags-todo not work Date: Tue, 22 Feb 2011 09:42:11 -0500 Message-ID: <87wrkscerg.fsf@norang.ca> References: <20110208223852.GG5353@merlot.osiux.com.ar> <87lj1oq6im.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=42424 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PrxkS-0004XD-GQ for emacs-orgmode@gnu.org; Tue, 22 Feb 2011 14:18:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PrxkR-0005Xw-97 for emacs-orgmode@gnu.org; Tue, 22 Feb 2011 14:18:12 -0500 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:36382) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PrxkR-0005Wx-7R for emacs-orgmode@gnu.org; Tue, 22 Feb 2011 14:18:11 -0500 In-Reply-To: <87lj1oq6im.fsf@gnu.org> (Bastien's message of "Thu, 10 Feb 2011 16:00:17 +0100") 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: Bastien Cc: OSiRiS , emacs-orgmode@gnu.org Bastien writes: > Hi Osiris, > > OSiRiS writes: > >> I tried to set the custom view in the calendar, but does not work. >> >> #+BEGIN_SRC elisp >> >> (setq org-agenda-custom-commands >> '( >> ("f" "FIXED" tags-todo "+bug+TODO=\"DONE\"+STATUS=\"FIXED\"+CLOSED>=\"\"") >> ) >> ) >> >> #+END_SRC >> >> No error occurs when run: > > Looks good so far... > >> Can someone tell me where is the error? thanks! > > I don't understand what is the error. Can you be more specific? > Also, don't forget to tell us what version of Org and Emacs you > are using. The problem is tags-todo will not match closed states. I ran into the same problem trying to make an agenda view for tasks to archive. My solution was to change to a tags match not a tags-todo match. HTH, Bernt