From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: convert a simple list of lines each to a orgmode header Date: Tue, 29 Sep 2015 21:27:29 -0400 Message-ID: <87bnckg0hq.fsf@alphaville.usersys.redhat.com> References: <87r3lhhpgc.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36855) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zh6BJ-0006iL-PU for emacs-orgmode@gnu.org; Tue, 29 Sep 2015 21:27:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zh6BG-00005Q-JC for emacs-orgmode@gnu.org; Tue, 29 Sep 2015 21:27:41 -0400 Received: from plane.gmane.org ([80.91.229.3]:37666) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zh6BG-0008W3-Bh for emacs-orgmode@gnu.org; Tue, 29 Sep 2015 21:27:38 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Zh6BE-0006E3-Nj for emacs-orgmode@gnu.org; Wed, 30 Sep 2015 03:27:36 +0200 Received: from pool-108-20-41-232.bstnma.fios.verizon.net ([108.20.41.232]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Sep 2015 03:27:36 +0200 Received: from ndokos by pool-108-20-41-232.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Sep 2015 03:27:36 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Kaushal Modi 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