emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Filtering the global todo list in a custom agenda
@ 2009-09-30 12:07 PT
  2009-09-30 15:27 ` Carsten Dominik
  2009-09-30 16:26 ` Matt Lundin
  0 siblings, 2 replies; 6+ messages in thread
From: PT @ 2009-09-30 12:07 UTC (permalink / raw)
  To: emacs-orgmode

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?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Filtering the global todo list in a custom agenda
  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 16:26 ` Matt Lundin
  1 sibling, 1 reply; 6+ messages in thread
From: Carsten Dominik @ 2009-09-30 15:27 UTC (permalink / raw)
  To: PT; +Cc: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Filtering the global todo list in a custom agenda
  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 16:26 ` Matt Lundin
  1 sibling, 0 replies; 6+ messages in thread
From: Matt Lundin @ 2009-09-30 16:26 UTC (permalink / raw)
  To: PT; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Filtering the global todo list in a custom agenda
  2009-09-30 15:27 ` Carsten Dominik
@ 2009-09-30 18:20   ` PT
  2009-09-30 21:51     ` Carsten Dominik
  0 siblings, 1 reply; 6+ messages in thread
From: PT @ 2009-09-30 18:20 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik <carsten.dominik <at> gmail.com> writes:

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

The problem with tags-todo it also shows the TODO items with active 
timestamps, but I don't want them there (they show up in the agenda
block), that's why I have org-agenda-todo-ignore-with-date set to t.

And that's why I tried to filter alltodo, because tags-todo ignores 
this setting. :(

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Re: Filtering the global todo list in a custom agenda
  2009-09-30 18:20   ` PT
@ 2009-09-30 21:51     ` Carsten Dominik
  2009-10-01  5:07       ` PT
  0 siblings, 1 reply; 6+ messages in thread
From: Carsten Dominik @ 2009-09-30 21:51 UTC (permalink / raw)
  To: PT; +Cc: emacs-orgmode


On Sep 30, 2009, at 8:20 PM, PT wrote:

> Carsten Dominik <carsten.dominik <at> gmail.com> writes:
>
>>>
>>
>> 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")))))
>
> The problem with tags-todo it also shows the TODO items with active
> timestamps, but I don't want them there (they show up in the agenda
> block), that's why I have org-agenda-todo-ignore-with-date set to t.
>
> And that's why I tried to filter alltodo, because tags-todo ignores
> this setting. :(

No reason not to smile :-)

    (setq org-agenda-tags-todo-honor-ignore-options t)

HTH

- Carsten

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Filtering the global todo list in a custom agenda
  2009-09-30 21:51     ` Carsten Dominik
@ 2009-10-01  5:07       ` PT
  0 siblings, 0 replies; 6+ messages in thread
From: PT @ 2009-10-01  5:07 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik <carsten.dominik <at> gmail.com> writes:
> 
> No reason not to smile 
> 
>     (setq org-agenda-tags-todo-honor-ignore-options t)

Cool! :)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-10-01  5:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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