[Orgmode] Re: Secondary filtering and query editing within daily/weekly agenda

2010-02-17 Thread Matthew Lundin
Brody, William (Buck) brody...@darden.virginia.edu 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.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] RE: Secondary filtering and query editing within daily/weekly agenda

2010-01-24 Thread Brody, William (Buck)
That was the problem.  Thanks, Matt.

-Original Message-
From: Matt Lundin [mailto:m...@imapmail.org] 
Sent: Saturday, January 23, 2010 9:51 AM
To: Brody, William (Buck)
Cc: emacs-orgmode@gnu.org
Subject: Re: Secondary filtering and query editing within daily/weekly agenda

Brody, William (Buck) brody...@darden.virginia.edu writes:

 I want to filter my daily/weekly agenda to only show certain tags.  The
 manual says “/” will prompt for secondary filtering.  When I try it,
 however, I get a “buffer is read only” message.  Any ideas? 


Is it possible that you are running an older version of org-mode? You
can type M-x org-version to find out. The current version is 6.34, and I
believe that filtering was introduced in 6.06b. 

- Matt

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Secondary filtering and query editing within daily/weekly agenda

2010-01-23 Thread Matt Lundin
Brody, William (Buck) brody...@darden.virginia.edu writes:

 I want to filter my daily/weekly agenda to only show certain tags.  The
 manual says “/” will prompt for secondary filtering.  When I try it,
 however, I get a “buffer is read only” message.  Any ideas? 


Is it possible that you are running an older version of org-mode? You
can type M-x org-version to find out. The current version is 6.34, and I
believe that filtering was introduced in 6.06b. 

- Matt


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode