From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manish Subject: Re: Sorting agenda items Date: Sat, 19 Apr 2008 14:13:28 +0530 Message-ID: References: <1AB9803A-7FDC-47C9-B907-86DE238BA1EB@science.uva.nl> 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 1Jn8fY-00073H-Cy for emacs-orgmode@gnu.org; Sat, 19 Apr 2008 04:43:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jn8fW-00071r-Fo for emacs-orgmode@gnu.org; Sat, 19 Apr 2008 04:43:35 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jn8fW-00071d-8T for emacs-orgmode@gnu.org; Sat, 19 Apr 2008 04:43:34 -0400 Received: from ti-out-0910.google.com ([209.85.142.185]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jn8fV-00035e-Ok for emacs-orgmode@gnu.org; Sat, 19 Apr 2008 04:43:34 -0400 Received: by ti-out-0910.google.com with SMTP id a20so141449tia.10 for ; Sat, 19 Apr 2008 01:43:28 -0700 (PDT) In-Reply-To: <1AB9803A-7FDC-47C9-B907-86DE238BA1EB@science.uva.nl> Content-Disposition: inline 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: Carsten Dominik Cc: org-mode On Fri, Apr 18, 2008 at 9:32 PM, Carsten Dominik wrote: > > On Apr 17, 2008, at 10:29 PM, Manish wrote: > > > > Hello All, > > > > I would like to set up a daily agenda view with todos sorted in the > > following order: > > > > 1. Timed TODOs > > 2. DEADLINES > > 3. TODO type - STARTED > > 4. TODO type - NEXT > > 5. TODO type - TODO > > > > I could find/figure out how to do #1 and #2 but #3-5 escape me. I > > hope I did not miss it in the manual. > > > > > You cannot sort tasks in an agenda view according to TODO type, > but you can make a block agenda that extracts the different task > types one by one. > > For example > > (setq org-agenda-custom-commands > '(("A" "Task types" > ((agenda "" nil) > (todo "STARTED" nil) > (todo "NEXT" nil) > (todo "TODO" nil)) > nil nil))) > > sets up a view that contains > > 1. The agenda, which includes scheduled and deadline stuff. > 2. All STARTED entries > 3. All NEXT entries > 4. All TODO entries > > > The other posiility, if you want to reduce the amount of stuff you look at, > is to make > separate commands for each of these > > (setq org-agenda-custom-commands > '(("A" . "Tasks") > ("Aa" "My agenda" agenda "" nil) > ("As" "STARTED Stuff" todo "STARTED" nil) > ("An" "NEXT Actions" todo "NEXT" nil) > ("At" "TODO Items" todo "TODO" nil))) > > HTH > Sure does. Thanks. How do I build an agenda for items scheduled for today (only for today, optionally also the ones not scheduled for any day as well) matching a certain tag? I have tried various combinations with little success. I am using tag inheritance, have the tag added to the list of inherited tags and also have org-tags-match-list-sublevels set to t. Any help will be gratefully appreciated. -- Manish