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?

For the latter, you could use org-map-entries:

--8<---------------cut here---------------start------------->8---
(defun org-convert-low-levels-to-list (level)
  "Convert headings in file equal or greater than LEVEL to lists.
A numeric prefix argument can be used to set the level. The
default level is three"
  (interactive "P")
  (let ((level (number-to-string (or level 3))))
    (org-map-entries 'org-ctrl-c-minus
                     (concat "+LEVEL>=" level) 'file)))
--8<---------------cut here---------------end--------------->8---

There is also an FAQ that covers what the other replies have said.

http://orgmode.org/worg/org-faq.html#convert-plain-lists-to-headlines

Best,
Matt

Reply via email to