emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
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 17:27:24 +0200	[thread overview]
Message-ID: <4EFF2D9E-7DAF-4F64-9391-BFF48F3D890C@gmail.com> (raw)
In-Reply-To: <loom.20090930T140131-152@post.gmane.org>


On Sep 30, 2009, at 2:07 PM, PT wrote:

> 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")))))
>


The todo agenda is not very good in matching.  Better to use the tags- 
todo view, but specify no tags, onlt a todo match after the slash:


(setq org-agenda-custom-commands
      '(("h" "Agenda and todo"
         ((agenda "")
          (tags-todo "/-test")))))

- Carsten


>
> Items with "test" tag are shown nevertheless. How could I filter them?
>
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2009-09-30 15:27 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 [this message]
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

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=4EFF2D9E-7DAF-4F64-9391-BFF48F3D890C@gmail.com \
    --to=carsten.dominik@gmail.com \
    --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).