emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: Manuel Koell <man.koell@gmail.com>
Cc: Nick Dokos <ndokos@gmail.com>,
	org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: convert a simple list of lines each to a orgmode header
Date: Tue, 29 Sep 2015 09:13:40 -0400	[thread overview]
Message-ID: <CAFyQvY37s1HS5GejkmSSmpP3oNHRCEKP2sC8w-xnET-9X+EUKQ@mail.gmail.com> (raw)
In-Reply-To: <CAAAbm0pB0ikVUa20hdOM8jQ-t0GAWbt6my9z=DSf7+2TdvDC5w@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1012 bytes --]

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 <man.koell@gmail.com> 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 <ndokos@gmail.com>:
>
>> Xebar Saram <zeltakc@gmail.com> 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
>>
>>
>>
>

[-- Attachment #2: Type: text/html, Size: 2395 bytes --]

  reply	other threads:[~2015-09-29 13:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-28 16:52 convert a simple list of lines each to a orgmode header Xebar Saram
2015-09-29  3:30 ` Nick Dokos
2015-09-29  5:28   ` Xebar Saram
2015-09-29 10:46     ` Kaushal Modi
2015-09-30  1:27       ` Nick Dokos
2015-10-01  0:07         ` Kaushal Modi
2015-09-29  6:46   ` Christian Moe
2015-09-29  7:17   ` Manuel Koell
2015-09-29 13:13     ` Kaushal Modi [this message]
2015-09-30 17:30       ` Thierry Banel
2015-09-29  7:44 ` Eric S Fraga
2015-09-29  8:00 ` Michael Strey
2015-09-29 16:43   ` Xebar Saram

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=CAFyQvY37s1HS5GejkmSSmpP3oNHRCEKP2sC8w-xnET-9X+EUKQ@mail.gmail.com \
    --to=kaushal.modi@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=man.koell@gmail.com \
    --cc=ndokos@gmail.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).