emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: Re: Yank "normal" text as item in list
Date: Fri, 24 Oct 2014 11:53:56 +0800	[thread overview]
Message-ID: <874muui0mj.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 87h9yv85oq.fsf@pedroche.home

Igor Sosa Mayor <joseleopoldo1792@gmail.com> writes:

> Hi,
>
> often I have to yank 'normal' text, that means, text which is not
> indented into a item of a list. In other words, maybe, to convert it
> into a list item.
>
> I have always the problem that, when the text over one line goes, it
> does not get the correct indentation.
>
> Is there maybe a magical function to get this?
>
> Many thanks in advance!

I don't know what situation in particular you've got, but what often
works for me is going to the line of the yanked text that I want to be
the first line of a new list item, and using "C-c -" to explicitly
convert it to an item. That command includes some indentation heuristics
that, for me anyway, often creates the result I was looking for.

  parent reply	other threads:[~2014-10-24  3:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-23 10:02 Yank "normal" text as item in list Igor Sosa Mayor
2014-10-23 15:18 ` Rasmus
2014-10-23 15:26   ` Igor Sosa Mayor
2014-10-23 15:29 ` Alexander Baier
2014-10-23 16:01   ` Igor Sosa Mayor
2014-10-24  3:53 ` Eric Abrahamsen [this message]
2014-10-24 20:08   ` Igor Sosa Mayor
2014-10-25  1:05 ` Teika Kazura
2014-10-29 14:53   ` Igor Sosa Mayor

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=874muui0mj.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=emacs-orgmode@gnu.org \
    /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).