thx alot  Alexander!

this worked. any idea how to bind this to a key?
ie have  C-c / m   +TODO="TODO"+TYPE="main" bound to F1-c   etc..

best

Z


On Mon, Apr 14, 2014 at 11:03 PM, Alexander Baier <lexi.baier@gmail.com> wrote:
>
> On 2014-03-28 14:45 Xebar Saram wrote:
> > Hi all i was wondering if anyone knew how to set
> > a org-agenda-custom-command for property AND TODO state? that is create a
> > custom view that is similar to this sparse tree command:
> >
> > C-c /  M   type="main"/COOK
> >
> > where it would match on type=main and have a COOK todo keyword
> >
> > best
> >
> > Z
> >
> > P.S in case anyone wonders wth im using it for :) im trying to auto
> > generate a list of things to cook (todo word COOK) by type of meal so id
> > generate a list for main dishes, breakfast etc :)
>
> Does this work for you?
>
> C-c / m   +TODO="TODO"+TYPE="main"
>
> HTH,
> --
>  Alexander Baier