"Brody, William (Buck)" <[email protected]> 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
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode