all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Converting lists to todo items and back
@ 2008-05-20 17:48 Bernt Hansen
  2008-05-20 18:04 ` Paul R
  2008-05-21 12:03 ` Carsten Dominik
  0 siblings, 2 replies; 5+ messages in thread
From: Bernt Hansen @ 2008-05-20 17:48 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-05-21 13:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-20 17:48 Converting lists to todo items and back Bernt Hansen
2008-05-20 18:04 ` Paul R
2008-05-21 12:03 ` Carsten Dominik
2008-05-21 12:54   ` Bernt Hansen
2008-05-21 13:06     ` Carsten Dominik

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.