emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to filter by tag/todo in agenda view
@ 2011-06-15 18:07 Mark S
  2011-06-15 19:35 ` Michael Brand
  0 siblings, 1 reply; 4+ messages in thread
From: Mark S @ 2011-06-15 18:07 UTC (permalink / raw)
  To: emacs-orgmode

Hello!

I know how to filter inside the TODO list, but I can't seem to find how  
your filter inside of the agenda view. Is there a way?

Thanks!
Mark

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

* Re: How to filter by tag/todo in agenda view
  2011-06-15 18:07 How to filter by tag/todo in agenda view Mark S
@ 2011-06-15 19:35 ` Michael Brand
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Brand @ 2011-06-15 19:35 UTC (permalink / raw)
  To: throaway; +Cc: emacs-orgmode

Hi Mark

Yes, there are several filters for the block of type agenda. These are
the notes that I made to remember me of them:
- org-agenda-entry-types
- org-agenda-skip-function
  - "match" can be implemented with 'regexp/'notregexp
- org-agenda-skip-*
- org-agenda-todo-ignore-scheduled
  see also org-agenda-skip-function 'scheduled/'timestamp
- org-agenda-todo-ignore-deadlines
  see also org-agenda-skip-function 'deadline/'timestamp

Michael

On Wed, Jun 15, 2011 at 20:07, Mark S <throaway@yahoo.com> wrote:
> Hello!
>
> I know how to filter inside the TODO list, but I can't seem to find how your
> filter inside of the agenda view. Is there a way?
>
> Thanks!
> Mark

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

* Re: How to filter by tag/todo in AGENDA VIEW
  2011-06-16 17:54 How to filter by tag/todo in AGENDA VIEW Mark S
@ 2011-07-26  2:34 ` Matt Lundin
  0 siblings, 0 replies; 4+ messages in thread
From: Matt Lundin @ 2011-07-26  2:34 UTC (permalink / raw)
  To: throaway; +Cc: emacs-orgmode

"Mark S" <throaway@yahoo.com> writes:

> Yes, I know you can make customized views, but I could find nothing in
> the documentation showing how to customize the AGENDA view. In the
> documentation, there are example of how to use the various type
> functions, but none for the agenda type function. There must be some
> options that go with it, or some way to tell it what TODOs you want to
> see.
>
> The closest thing to an example is this:
>
>  (agenda "")
>
> Hmm. What goes inside of ""?

Nothing. The "" corresponds to the match slot within a custom agenda
command. With todo and tags searches will search for a match, the agenda
does not.  

> I know how to filter inside the TODO list, but I can't seem to find
> how your filter inside of the agenda view. Is there a way? In
> particular, I want to filter out all the TODO keyword items so I can
> see just the non-todo schedules and deadlines.

You can use org-agenda-skip-function. See:

(info "(org) Special agenda views")

For the scenario above, you could use:

--8<---------------cut here---------------start------------->8---
(org-add-agenda-custom-command
 '("x" "Agenda without todos" agenda ""
   ((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'todo)))))
--8<---------------cut here---------------end--------------->8---

Best,
Matt

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

* How to filter by tag/todo in AGENDA VIEW
@ 2011-06-16 17:54 Mark S
  2011-07-26  2:34 ` Matt Lundin
  0 siblings, 1 reply; 4+ messages in thread
From: Mark S @ 2011-06-16 17:54 UTC (permalink / raw)
  To: emacs-orgmode

Hello!

Yes, I know you can make customized views, but I could find nothing in the  
documentation showing how to customize the AGENDA view. In the  
documentation, there are example of how to use the various type functions,  
but none for the agenda type function. There must be some options that go  
with it, or some way to tell it what TODOs you want to see.

The closest thing to an example is this:

  (agenda "")

Hmm. What goes inside of ""?

I know how to filter inside the TODO list, but I can't seem to find how  
your filter inside of the agenda view. Is there a way? In particular, I  
want to filter out all the TODO keyword items so I can see just the  
non-todo schedules and deadlines.


Thanks!
Mark

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

end of thread, other threads:[~2011-07-26  2:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-15 18:07 How to filter by tag/todo in agenda view Mark S
2011-06-15 19:35 ` Michael Brand
2011-06-16 17:54 How to filter by tag/todo in AGENDA VIEW Mark S
2011-07-26  2:34 ` Matt Lundin

Code repositories for project(s) associated with this 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).