emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rainer Stengele <rainer.stengele@diplan.de>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: struggling with simple indentation
Date: Tue, 26 Oct 2010 12:09:18 +0200	[thread overview]
Message-ID: <4CC6A8CE.2080804@diplan.de> (raw)
In-Reply-To: <87tyk9qq5i.wl%n.goaziou@gmail.com>

Am 26.10.2010 11:06, schrieb Nicolas Goaziou:
> Hello,
> 
>>>>>> Rainer Stengele writes:
> 
>> One thing that is annoying me still:
> 
>> Having
> 
>> ** headline
>>    - indent
>> text
>> ^
> 
>> and pressing "TAB" I end up with
> 
>> ** headline
>>    - indent
>>    text
>>    ^
> 
>> but would like to have
> 
>> ** headline
>>    - indent
>>      text
>>      ^
> 
>> Is this configurable?
> 
> Yes. The less intrusive way of obtaining this is to use C-j instead of
> RET after the "indent" line.
> 
> If you do not want lists to rely on indentation ever, you can set
> `org-list-ending-method' to `regexp'. In this case, only blank lines
> can end a list (see variable doc-string for more information), so
> "text" will get back into the item after pressing TAB.
> 
> Regards,
> 
> -- Nicolas
> 

Thanks! C-j is best. I still struggle with indentation:

Sometime I do save some an email body text under an org item.
Pasting the text under "item" leads to

* heading
  - item
E-Mail body text line1
E-Mail body text line2
...

Now I cannot use C-j of course. How do I easily get

* heading
  - item
    E-Mail body text line1
    E-Mail body text line2
    ...

TAB as explained does not what I want.
Do you have an idea? "indent-region" does also the "wrong" thing.

Regards,

-- Rainer

  reply	other threads:[~2010-10-26 10:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-25 12:35 struggling with simple indentation Rainer Stengele
2010-10-25 17:06 ` Nicolas Goaziou
2010-10-26  8:45   ` Rainer Stengele
2010-10-26  9:05     ` Nicolas Goaziou
2010-10-26  9:06     ` Nicolas Goaziou
2010-10-26 10:09       ` Rainer Stengele [this message]
2010-10-26 10:58         ` Nicolas Goaziou
2010-10-26 12:25           ` Carsten Dominik
2010-10-26 13:12             ` Nicolas Goaziou
2010-10-26 15:10           ` Re: struggling with simple indentation (possible bug) Anthony Lander
2010-10-26 21:43             ` [patch] struggling with simple indentation Nicolas Goaziou

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=4CC6A8CE.2080804@diplan.de \
    --to=rainer.stengele@diplan.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@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).