From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Converting lists to todo items and back Date: Tue, 20 May 2008 13:48:11 -0400 Message-ID: <87ve187tpg.fsf@gollum.intra.norang.ca> 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 1JyVwm-0002wU-Nk for emacs-orgmode@gnu.org; Tue, 20 May 2008 13:48:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JyVwl-0002wG-MN for emacs-orgmode@gnu.org; Tue, 20 May 2008 13:48:24 -0400 Received: from [199.232.76.173] (port=33836 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JyVwl-0002wD-I3 for emacs-orgmode@gnu.org; Tue, 20 May 2008 13:48:23 -0400 Received: from mho-02-bos.mailhop.org ([63.208.196.179]:51032) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JyVwl-0000L7-FO for emacs-orgmode@gnu.org; Tue, 20 May 2008 13:48:23 -0400 Received: from cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com ([99.239.148.180] helo=mail.norang.ca) by mho-02-bos.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1JyVwc-000KW0-Av for emacs-orgmode@gnu.org; Tue, 20 May 2008 17:48:14 +0000 Received: from gollum.intra.norang.ca (gollum.intra.norang.ca [192.168.1.5]) by mail.norang.ca (8.13.8/8.13.8/Debian-3) with ESMTP id m4KHmBXe000377 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 20 May 2008 13:48:12 -0400 Received: from gollum.intra.norang.ca (localhost [127.0.0.1]) by gollum.intra.norang.ca (8.14.2/8.14.2/Debian-1) with ESMTP id m4KHmBWd005697 for ; Tue, 20 May 2008 13:48:11 -0400 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: emacs-orgmode@gnu.org Hi Carsten and list! I'm finding I outline new tasks quickly with lists like this ,---- | * New Task | - [ ] item 1 | - [ ] item 2 | - [ ] item 3 `---- and then I want to convert it to TODO items like this: ,---- | * New Task | ** TODO item 1 | ** TODO item 2 | ** TODO item 3 `---- Is there a function to do that? If there is any extra context after the list it should just become part of the subheading (like this) ,----[ from this ] | * New Task | - [ ] item 1 | detail goes here | - more detail | - blah | - [ ] item 2 | More detail here | | end of detail | - [ ] item 3 `---- ,----[ to this ] | * New Task | ** TODO item 1 | detail goes here | - more detail | - blah | ** TODO item 2 | More detail here | | end of detail | ** TODO item 3 `---- I don't really care about the indentation on conversion since normally my lists have little or no detail other than the list item which I want to turn into a TODO subheading ,----[ and back again ] | * New Task | - [ ] item 1 | detail goes here | - more detail | - blah | - [ ] item 2 | More detail here | | end of detail | - [ ] item 3 `---- Would something like that be useful? The use case I had for this was I need to test some new functionality I'm building and I created the list of things to test as the items were identified. This was a simple checkbox list. Later when actually testing I needed to add more detail (SQL output with test results) which I wanted to archive to hide the gory details so I converted the checkboxes to TODO subheadings and added the extra detail as testing continued. Regards, Bernt