emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] turn headline(s) into plain list?


From: Bernt Hansen
Subject: Re: [O] turn headline(s) into plain list?
Date: Fri, 06 May 2011 14:55:59 -0400
User-agent: Gnus/5.110017 (No Gnus v0.17) Emacs/23.2 (gnu/linux)

Gary Oberbrunner <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]