emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: PT <spamfilteraccount@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Filtering the global todo list in a custom agenda
Date: Wed, 30 Sep 2009 12:26:24 -0400	[thread overview]
Message-ID: <m2d458jt5b.fsf@fastmail.fm> (raw)
In-Reply-To: <loom.20090930T140131-152@post.gmane.org> (PT's message of "Wed, 30 Sep 2009 12:07:02 +0000 (UTC)")

PT <spamfilteraccount@gmail.com> 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

      parent reply	other threads:[~2009-09-30 16:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-30 12:07 Filtering the global todo list in a custom agenda PT
2009-09-30 15:27 ` Carsten Dominik
2009-09-30 18:20   ` PT
2009-09-30 21:51     ` Carsten Dominik
2009-10-01  5:07       ` PT
2009-09-30 16:26 ` Matt Lundin [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=m2d458jt5b.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=spamfilteraccount@gmail.com \
    /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).