From mboxrd@z Thu Jan  1 00:00:00 1970
From: Manish <mailtomanish.sharma@gmail.com>
Subject: Re: how to do this org-agenda command?
Date: Sat, 7 Feb 2009 15:18:22 +0530
Message-ID: <e7cdbe30902070148i37112e3dm6359c3bfd9ff7a57@mail.gmail.com>
References: <87fxir55ud.fsf@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org>
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1LVjnW-0003WV-4y
	for emacs-orgmode@gnu.org; Sat, 07 Feb 2009 04:48:26 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1LVjnV-0003Vf-JN
	for emacs-orgmode@gnu.org; Sat, 07 Feb 2009 04:48:25 -0500
Received: from [199.232.76.173] (port=33754 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1LVjnV-0003VQ-3U
	for emacs-orgmode@gnu.org; Sat, 07 Feb 2009 04:48:25 -0500
Received: from ti-out-0910.google.com ([209.85.142.187]:19667)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <mailtomanish.sharma@gmail.com>) id 1LVjnU-0003XL-J7
	for emacs-orgmode@gnu.org; Sat, 07 Feb 2009 04:48:24 -0500
Received: by ti-out-0910.google.com with SMTP id j3so1165475tid.10
	for <emacs-orgmode@gnu.org>; Sat, 07 Feb 2009 01:48:22 -0800 (PST)
In-Reply-To: <87fxir55ud.fsf@gmail.com>
List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
	<mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
To: Richard KLINDA <rklinda@gmail.com>
Cc: emacs-orgmode@gnu.org

On Sat, Feb 7, 2009 at 8:08 AM, Richard KLINDA wrote:
> Hi, I need an org-agenda-custom-commands section for the following: list
> all TODO entries, that are either scheduled for that day OR have #A
> priority. Is it possible? Thanks in advance!

--8<---------------cut here---------------start------------->8---
(setq org-agenda-custom-commands
      (quote (("r" "Richard's Daily Agenda"
               ((tags-todo "PRIORITY=\"A\"" nil)
                (agenda "" nil)) nil nil))))
--8<---------------cut here---------------end--------------->8---

It lists an "A" priority task twice if it is scheduled for today. May be
a skip condition can be added..

-- 
Manish