emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Secondary filtering and query editing within daily/weekly agenda
@ 2010-01-23  0:38 Brody, William (Buck)
  2010-01-23 14:51 ` Matt Lundin
  0 siblings, 1 reply; 4+ messages in thread
From: Brody, William (Buck) @ 2010-01-23  0:38 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org


[-- Attachment #1.1: Type: text/plain, Size: 221 bytes --]

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?

Thanks,

Buck

[-- Attachment #1.2: Type: text/html, Size: 4665 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

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

* Re: Secondary filtering and query editing within daily/weekly agenda
  2010-01-23  0:38 Secondary filtering and query editing within daily/weekly agenda Brody, William (Buck)
@ 2010-01-23 14:51 ` Matt Lundin
  2010-01-23 22:23   ` Brody, William (Buck)
       [not found]   ` <46FF04F1BA077D4586212E7E31C57D2A01DBC958DE@MAIL.darden.virginia.edu>
  0 siblings, 2 replies; 4+ messages in thread
From: Matt Lundin @ 2010-01-23 14:51 UTC (permalink / raw)
  To: Brody, William (Buck); +Cc: emacs-orgmode@gnu.org

"Brody, William (Buck)" <BrodyW11@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

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

* RE: Secondary filtering and query editing within daily/weekly agenda
  2010-01-23 14:51 ` Matt Lundin
@ 2010-01-23 22:23   ` Brody, William (Buck)
       [not found]   ` <46FF04F1BA077D4586212E7E31C57D2A01DBC958DE@MAIL.darden.virginia.edu>
  1 sibling, 0 replies; 4+ messages in thread
From: Brody, William (Buck) @ 2010-01-23 22:23 UTC (permalink / raw)
  To: Matt Lundin; +Cc: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 788 bytes --]

That was the problem.  Thanks, Matt.

-----Original Message-----
From: Matt Lundin [mailto:mdl@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)" <BrodyW11@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


[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

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

* Re: Secondary filtering and query editing within daily/weekly agenda
       [not found]   ` <46FF04F1BA077D4586212E7E31C57D2A01DBC958DE@MAIL.darden.virginia.edu>
@ 2010-02-17 12:23     ` Matthew Lundin
  0 siblings, 0 replies; 4+ messages in thread
From: Matthew Lundin @ 2010-02-17 12:23 UTC (permalink / raw)
  To: Brody, William (Buck); +Cc: Matt Lundin, emacs-orgmode@gnu.org

"Brody, William (Buck)" <BrodyW11@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

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

end of thread, other threads:[~2010-02-17 12:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-23  0:38 Secondary filtering and query editing within daily/weekly agenda Brody, William (Buck)
2010-01-23 14:51 ` Matt Lundin
2010-01-23 22:23   ` Brody, William (Buck)
     [not found]   ` <46FF04F1BA077D4586212E7E31C57D2A01DBC958DE@MAIL.darden.virginia.edu>
2010-02-17 12:23     ` Matthew 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).