emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Bastien <bastien.guerry@wikimedia.fr>
Cc: OSiRiS <osiux@osiux.com.ar>, emacs-orgmode@gnu.org
Subject: Re: custom agenda view with tags-todo not work
Date: Tue, 22 Feb 2011 09:42:11 -0500	[thread overview]
Message-ID: <87wrkscerg.fsf@norang.ca> (raw)
In-Reply-To: <87lj1oq6im.fsf@gnu.org> (Bastien's message of "Thu, 10 Feb 2011 16:00:17 +0100")

Bastien <bastien.guerry@wikimedia.fr> writes:

> Hi Osiris,
>
> OSiRiS <osiux@osiux.com.ar> 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>=\"<today>\"")
>>     )
>>   )
>>
>> #+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

      parent reply	other threads:[~2011-02-22 19:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-08 22:38 custom agenda view with tags-todo not work OSiRiS
2011-02-10 15:00 ` Bastien
2011-02-11  0:17   ` OSiRiS
2011-02-12 22:47     ` Bastien
2011-02-22 14:42   ` Bernt Hansen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wrkscerg.fsf@norang.ca \
    --to=bernt@norang.ca \
    --cc=bastien.guerry@wikimedia.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=osiux@osiux.com.ar \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).