From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: org-mode & multiple TODO sequences within a file. Date: Sun, 18 Mar 2007 21:11:40 +0100 Message-ID: <1b5202b10a64cf5f04b443c331014035@science.uva.nl> References: <45F9783C.8050801@calicojack.co.uk> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HT1kg-0005C6-1a for emacs-orgmode@gnu.org; Sun, 18 Mar 2007 16:13:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HT1ke-0005Bu-8j for emacs-orgmode@gnu.org; Sun, 18 Mar 2007 16:13:12 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HT1ke-0005Br-2H for emacs-orgmode@gnu.org; Sun, 18 Mar 2007 15:13:12 -0500 Received: from korteweg.uva.nl ([146.50.98.70]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HT1jG-0003A7-A6 for emacs-orgmode@gnu.org; Sun, 18 Mar 2007 16:11:46 -0400 In-Reply-To: <45F9783C.8050801@calicojack.co.uk> 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: Rick Moynihan Cc: emacs-orgmode@gnu.org Hi Rick, On Mar 15, 2007, at 17:45, Rick Moynihan wrote: > Hi, > > I've been using org-mode happily for nearly 6 months and think it's a > fantastic tool!! I've always quite liked Emacs, but org-mode has led > to me really seeing Emacs's potential. > > I was however wondering if there was anyway for org-mode to support > multiple TODO sequences within a single file. I tried specifying > sections of the file as operating under particular sequences, but this > doesn't seem to work (in 4.52) e.g.: > > #+SEQ_TODO: REPORT BUG KNOWNCAUSE RESOLVED > > * BUG there is a bug in foo... > * RESOLVED fixed bug. > > #+SEQ_TODO: TODO DONE No, this does not work. Could be done, of course, but adds complexity, and I am sure once it is there, people will want to switch TODO keywords constantly, filling the entire file with new #+TODO statements. Does not feel right. How about the following alternative: Just make a long sequence containing all the subsequences, like #+SEQ_TODO: REPORT BUG KNOWNCAUSE RESOLVED TODO WAITING VERIFY DONE You can then use command like `M-5 C-c C-t' (or `5 t' in the agenda) to jump to TODO in this sequence. Basically, you need to remember where in your list the different sequences start, put items onto the right starting point, and then work through your states. Hmmm, looking at this it might actually be useful to allow additional DONE states in the middle of the sequence, but this will at least currently lead to problems, both when cycling from DONE to nothing to TODO, and also in the highlighting of TODO keywords in the agenda. I'll check if I can fix these small issues. - Carsten -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477