all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas <n.goaziou@gmail.com>
To: Rainer Stengele <rainer.stengele@online.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Simple Indentation question: indentation behaviour changed some time ago.
Date: Wed, 02 Mar 2011 10:51:08 +0100	[thread overview]
Message-ID: <87oc5tg8ab.fsf@gmail.com> (raw)
In-Reply-To: <4D6E042F.3060104@online.de> (Rainer Stengele's message of "Wed, 02 Mar 2011 09:47:43 +0100")

Hello, 

Rainer Stengele <rainer.stengele@online.de> writes:

> I do not understand why when pressing TAB being at point ^:
>
>   - item
>
> ^
>
> results in
>
>   - item
>
>     ^
>
>
> but having
>
>
>   - item
> TEXT
> ^
>
> and pressing TAB results in
>
>   - item
>   TEXT
>   ^ 
>
> How can I get the indentation same as with empty lines?

You can't. Once TEXT is typed at column 0, by definition, the list
before is over, and indentation reflects that. And this makes sense: how
could an user end a list if all his text was eventually being inserted
inside the list?

On the other hand, if no text is typed yet, like in your first case, the
list isn't over, and TAB will indent line into the last item of the
list, as if you had typed C-j.

I hope it is clearer now.

Regards,


-- Nicolas

  reply	other threads:[~2011-03-02  9:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-01 21:50 Simple Indentation question: indentation behaviour changed some time ago Rainer Stengele
2011-03-01 23:45 ` Nicolas
2011-03-02  8:47   ` Rainer Stengele
2011-03-02  9:51     ` Nicolas [this message]
2011-03-02 10:12       ` Rainer Stengele
2011-03-02 10:50         ` Nicolas

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87oc5tg8ab.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rainer.stengele@online.de \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.