From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaushal Modi Subject: Re: convert a simple list of lines each to a orgmode header Date: Tue, 29 Sep 2015 09:13:40 -0400 Message-ID: References: <87r3lhhpgc.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d044304d285f7fe0520e297e4 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43345) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zguje-00059p-DO for emacs-orgmode@gnu.org; Tue, 29 Sep 2015 09:14:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zgujd-0002qX-D8 for emacs-orgmode@gnu.org; Tue, 29 Sep 2015 09:14:22 -0400 Received: from mail-wi0-x232.google.com ([2a00:1450:400c:c05::232]:35268) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zgujd-0002qD-7t for emacs-orgmode@gnu.org; Tue, 29 Sep 2015 09:14:21 -0400 Received: by wicge5 with SMTP id ge5so150099786wic.0 for ; Tue, 29 Sep 2015 06:14:20 -0700 (PDT) In-Reply-To: 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: Manuel Koell Cc: Nick Dokos , org-mode mailing list --f46d044304d285f7fe0520e297e4 Content-Type: text/plain; charset=UTF-8 Christian is correct. Selecting a region and doing `C-c *` *does* work. Please ignore my earlier email. I mixed up some command in org that did not work over region with `C-c *` :) -- Kaushal Modi On Tue, Sep 29, 2015 at 3:17 AM, Manuel Koell wrote: > I know how to do in vim. Select all text and hit I (uppercase i), then > start type. > There is also a way in emacs, but I never tried before: > > https://www.gnu.org/software/emacs/manual/html%5Fnode/emacs/Rectangles.html > > 2015-09-29 5:30 GMT+02:00 Nick Dokos : > >> Xebar Saram writes: >> >> > Hi all >> > >> > im looking for a simple way to convert a simple list of lines (i can >> > mark it first if needed) each to a orgmode header anyone has such a >> > way? >> > >> >> Maybe I'm missing something, but can't you just add asterisks in front >> of each line? Maybe with a keyboard macro? Or even a sed script? >> >> There's a reason that org files are plain text. >> >> Nick >> >> >> > --f46d044304d285f7fe0520e297e4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Christian is correct.

Selecting a region and doing `C-c *` *does* work= . Please ignore my earlier email. I mixed up some command in org that did n= ot work over region with `C-c *` :)



--
Kaushal Modi

On Tue, Sep 29, 2015 at 3:17 AM, Manuel Koel= l <man.koell@gmail.com> wrote:
I know how to do in vim. Select all text and h= it I (uppercase i), then start type.
There is also a way in emacs,= but I never tried before:

https://w= ww.gnu.org/software/emacs/manual/html%5Fnode/emacs/Rectangles.html
<= /div>

20= 15-09-29 5:30 GMT+02:00 Nick Dokos <ndokos@gmail.com>:
Xebar Saram <zeltakc@gmail.com> writes:

> Hi all
>
> im looking for a simple way to=C2=A0convert a simple list of lines (i = can
> mark it first if needed) each to a orgmode header anyone has such a > way?
>

Maybe I'm missing something, but can't you just add asterisk= s in front
of each line? Maybe with a keyboard macro? Or even a sed script?

There's a reason that org files are plain text.

Nick




--f46d044304d285f7fe0520e297e4--