"Mark S" <throa...@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

Reply via email to