[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Secondary filtering and query editing within daily/weekly
From: |
Matthew Lundin |
Subject: |
[Orgmode] Re: Secondary filtering and query editing within daily/weekly agenda |
Date: |
Wed, 17 Feb 2010 07:23:27 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.92 (gnu/linux) |
"Brody, William (Buck)" <address@hidden> writes:
> I see that I can now filter by tag. Is it possible to filter by todo
> state? For instance, I would like to exclude all DONE items.
There is no way to filter by TODO state. One way to achieve the same
effect, however, is to set the variable org-todo-state-tags-triggers,
which causes tags to be added to (and removed from) an item
automatically when you switch to a particular todo state.
--8<---------------cut here---------------start------------->8---
(setq org-todo-state-tags-triggers
'(
("STARTED"
("NEXT" . t)
("WAITING" . nil)
)
("WAITING"
("WAITING" . t)
("NEXT" . nil)
)
))
--8<---------------cut here---------------end--------------->8---
The above setting adds a :NEXT: tag whenever the todo state is
switched to STARTED and a :WAITING: tag whenever the todo state is
switched to WAITING. These tags can then be filtered.
Best,
Matt
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Orgmode] Re: Secondary filtering and query editing within daily/weekly agenda,
Matthew Lundin <=