From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manish Subject: Re: Re: how to do this org-agenda command? Date: Sat, 7 Feb 2009 17:52:16 +0530 Message-ID: References: <87fxir55ud.fsf@gmail.com> <87zlgyqwra.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LVmCT-0001Sp-7l for emacs-orgmode@gnu.org; Sat, 07 Feb 2009 07:22:21 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LVmCR-0001Pv-1L for emacs-orgmode@gnu.org; Sat, 07 Feb 2009 07:22:20 -0500 Received: from [199.232.76.173] (port=36506 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVmCQ-0001Pp-Qa for emacs-orgmode@gnu.org; Sat, 07 Feb 2009 07:22:18 -0500 Received: from ti-out-0910.google.com ([209.85.142.185]:43778) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LVmCQ-0001h8-6f for emacs-orgmode@gnu.org; Sat, 07 Feb 2009 07:22:18 -0500 Received: by ti-out-0910.google.com with SMTP id j3so1190493tid.10 for ; Sat, 07 Feb 2009 04:22:16 -0800 (PST) In-Reply-To: <87zlgyqwra.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 Cc: emacs-orgmode@gnu.org On Sat, Feb 7, 2009 at 5:33 PM, Richard KLINDA wrote: >>>>>> Regarding 'Re: how to do this org-agenda command?'; Manish adds: > > > > --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.. > > Thanks Manish, would it be possible to have this as a single tags-todo > section? Ideally I would like to have something like this, so the most > important tasks can stay visually together at the top of my daily agenda > stuff: How about blanking out the header between the two blocks. Does this appeal to you? --8<---------------cut here---------------start------------->8--- (setq org-agenda-custom-commands (quote (("r" "Richard's Daily Agenda" ((agenda "" nil) (tags-todo "PRIORITY=\"A\"" ((org-agenda-overriding-header "")))) nil nil)))) --8<---------------cut here---------------end--------------->8--- > (tags-todo "PRIORITY=\"A\"|SCHEDULED=t|CLOCKED=t" nil) Obviously this is not a valid syntax (as of now) but what do you mean by CLOCKED=t? -- Manish