Gary Oberbrunner <ga...@oberbrunner.com> writes:

> Is there any way to turn a headline (and its subtree) into a plain
> list (and nested list items)?  Or better yet, turn all level N and
> below headlines into plain lists at the corresponding level?

Hi Gary,

Just select the subtree of headings you want to convert and hit C-c -

In the example below I select lines 2-17 (Subheading 1 to the line
before All done)

--8<---------------cut here---------------start------------->8---
* Lists
** This is a heading
*** Subheading 1
*** Subheading 2
[2011-05-06 Fri 14:50]
*** Subheading3
[2011-05-06 Fri 14:51]
**** Three.1
[2011-05-06 Fri 14:51]
**** Three.2
[2011-05-06 Fri 14:51]
*** Four
[2011-05-06 Fri 14:51]
**** Five
[2011-05-06 Fri 14:51]
***** Six
[2011-05-06 Fri 14:51]
* All done
[2011-05-06 Fri 14:51]
--8<---------------cut here---------------end--------------->8---

and then C-c - gives me this:

--8<---------------cut here---------------start------------->8---
* Lists
** This is a heading
    - Subheading 1
    - Subheading 2
      [2011-05-06 Fri 14:50]
    - Subheading3
      [2011-05-06 Fri 14:51]
      - Three.1
        [2011-05-06 Fri 14:51]
      - Three.2
        [2011-05-06 Fri 14:51]
    - Four
      [2011-05-06 Fri 14:51]
      - Five
        [2011-05-06 Fri 14:51]
        - Six
          [2011-05-06 Fri 14:51]
* All done
[2011-05-06 Fri 14:51]
--8<---------------cut here---------------end--------------->8---

Regards,
Bernt

Reply via email to