emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] convert a simple list of lines each to a orgmode header


From: Nick Dokos
Subject: Re: [O] convert a simple list of lines each to a orgmode header
Date: Tue, 29 Sep 2015 21:27:29 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Kaushal Modi <address@hidden> writes:

> I realized that the default binding `C-c *` works only on the current line, 
> not the whole selection (and the same applies to the opposite `C-c -`).
>
> It would be great to have those commands work over a region too.
>

I don't think that's right - at least, when I tried it with a region, it
worked. I just didn't know about it (or, more likely, didn't remember it)
before Christian mentioned it.

The docstring for the function says:

,----
| org-toggle-heading is an interactive Lisp function in
| ‘../org-mode/lisp/org.el’.
| 
| (org-toggle-heading &optional NSTARS)
| 
| Convert headings to normal text, or items or text to headings.
| If there is no active region, only convert the current line.
`----

Is transient mark mode enabled? I think it's enabled by default
nowadays, but maybe you turned it off?

Nick






reply via email to

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