all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alexander Baier <lexi.baier@gmail.com>
To: Xebar Saram <zeltakc@gmail.com>
Cc: org mode <emacs-orgmode@gnu.org>
Subject: Re: org-agenda-custom-command for property AND TODO state (for a cooking guide :) )
Date: Mon, 14 Apr 2014 22:03:16 +0200	[thread overview]
Message-ID: <874n1vel17.fsf@gmail.com> (raw)
In-Reply-To: <CAOQHXPqcqqsRQS=oijUR_eeVxmWVXDZHboEb0C2NKDqTmv4gZA@mail.gmail.com> (Xebar Saram's message of "Fri, 28 Mar 2014 16:45:37 +0300")

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

  reply	other threads:[~2014-04-14 20:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-28 13:45 org-agenda-custom-command for property AND TODO state (for a cooking guide :) ) Xebar Saram
2014-04-14 20:03 ` Alexander Baier [this message]
2014-04-15  4:12   ` Xebar Saram
2014-04-15  7:34     ` Alexander Baier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874n1vel17.fsf@gmail.com \
    --to=lexi.baier@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=zeltakc@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.