From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Lundin Subject: Re: Re: how to do this org-agenda command? Date: Sat, 07 Feb 2009 08:13:14 -0600 Message-ID: References: <87fxir55ud.fsf@gmail.com> <87zlgyqwra.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LVnvu-0002SG-AZ for emacs-orgmode@gnu.org; Sat, 07 Feb 2009 09:13:22 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LVnvs-0002Qz-8H for emacs-orgmode@gnu.org; Sat, 07 Feb 2009 09:13:21 -0500 Received: from [199.232.76.173] (port=51955 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVnvr-0002Qj-Mr for emacs-orgmode@gnu.org; Sat, 07 Feb 2009 09:13:19 -0500 Received: from out5.smtp.messagingengine.com ([66.111.4.29]:49123) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LVnvr-0004sc-Fy for emacs-orgmode@gnu.org; Sat, 07 Feb 2009 09:13:19 -0500 In-Reply-To: <87zlgyqwra.fsf@gmail.com> (Richard KLINDA's message of "Sat\, 07 Feb 2009 13\:03\:53 +0100") 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 Hi Richard, > 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: As Manish said, I would recommend automatically changing to a todo state when you clock in an item. --8<---------------cut here---------------start------------->8--- (setq org-clock-in-switch-to-state "STARTED") --8<---------------cut here---------------end--------------->8--- Then you could create a custom agenda command like the following: --8<---------------cut here---------------start------------->8--- (setq org-agenda-custom-commands '(("n" "Now" tags-todo "PRIORITY=\"A\"|SCHEDULED=\"\"|TODO=\"STARTED\""))) --8<---------------cut here---------------end--------------->8--- Hope this helps. Matt