From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: Re: org-agenda-custom-command for property AND TODO state (for a cooking guide :) ) Date: Tue, 15 Apr 2014 07:12:34 +0300 Message-ID: References: <874n1vel17.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c2fdf66b37a204f70d02c3 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WZujc-0006eE-1w for emacs-orgmode@gnu.org; Tue, 15 Apr 2014 00:12:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WZujb-0006CA-32 for emacs-orgmode@gnu.org; Tue, 15 Apr 2014 00:12:35 -0400 Received: from mail-ob0-x235.google.com ([2607:f8b0:4003:c01::235]:64759) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WZuja-0006C4-UL for emacs-orgmode@gnu.org; Tue, 15 Apr 2014 00:12:35 -0400 Received: by mail-ob0-f181.google.com with SMTP id gq1so275019obb.26 for ; Mon, 14 Apr 2014 21:12:34 -0700 (PDT) In-Reply-To: <874n1vel17.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org mode , lexi.baier@gmail.com --001a11c2fdf66b37a204f70d02c3 Content-Type: text/plain; charset=UTF-8 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 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 --001a11c2fdf66b37a204f70d02c3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
thx alot =C2=A0Alexander!

this worked. any idea how= to bind this to a key?
ie have =C2=A0C-c / m =C2=A0 +TODO=3D"TODO&= quot;+TYPE=3D"main" bound to F1-c =C2=A0 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 w= as wondering if anyone knew how to set
> > a org-agenda-custom-com= mand for property AND TODO state? that is create a
> > custom view= that is similar to this sparse tree command:
> >
> > C-c / =C2=A0M =C2=A0 type=3D"main"/COOK> >
> > where it would match on type=3Dmain and have a COOK= todo keyword
> >
> > best
> >
> > Z> >
> > P.S in case anyone wonders wth im using it for :) im trying to au= to
> > 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 =C2=A0 +TODO= =3D"TODO"+TYPE=3D"main"
>
> HTH,
> --=
> =C2=A0Alexander Baier
--001a11c2fdf66b37a204f70d02c3--