From: Bernt Hansen <bernt@norang.ca>
To: Gary Oberbrunner <garyo@oberbrunner.com>
Cc: Orgmode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: turn headline(s) into plain list?
Date: Fri, 06 May 2011 14:55:59 -0400 [thread overview]
Message-ID: <87r58bhd4w.fsf@norang.ca> (raw)
In-Reply-To: <BANLkTin-w6+rP2zvbWic3aLSyhrpT_rLJg@mail.gmail.com> (Gary Oberbrunner's message of "Fri, 6 May 2011 14:39:27 -0400")
Gary Oberbrunner <garyo@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
next prev parent reply other threads:[~2011-05-06 18:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-06 18:39 turn headline(s) into plain list? Gary Oberbrunner
2011-05-06 18:55 ` Bernt Hansen [this message]
2011-05-06 18:57 ` Juan Pechiar
2011-05-06 19:14 ` Bernt Hansen
2011-05-07 14:17 ` Matt Lundin
2011-05-07 14:20 ` Matt Lundin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r58bhd4w.fsf@norang.ca \
--to=bernt@norang.ca \
--cc=emacs-orgmode@gnu.org \
--cc=garyo@oberbrunner.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).