emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rainer Stengele <rainer.stengele@online.de>
To: emacs-orgmode@gnu.org
Subject: Re: Simple Indentation question: indentation behaviour changed some time ago.
Date: Wed, 02 Mar 2011 09:47:43 +0100	[thread overview]
Message-ID: <4D6E042F.3060104@online.de> (raw)
In-Reply-To: <87sjv6flqg.fsf@gmail.com>

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

Am 02.03.2011 00:45, schrieb Nicolas:
> Hello,
>
> Rainer Stengele <rainer.stengele@online.de> writes:
>
>> * headline
>>   - item
>> TEXT
>> ^
>>
>> cursor on first "T" of "TEXT" and pressing "TAB" I got:
>>
>> * headline
>>   - item
>>     TEXT
>>
>> nowadays I get
>>
>> * headline
>>   - item
>>   TEXT
>> I checked the org-*indent* variables but could not find a matching variable.
>> How can I configure the old behaviour?
> You can set `org-list-ending-method' to 'regexp, meaning that you will
> need to provide two blank lines (that's configurable though, see
> `org-empty-line-terminates-plain-lists' and `org-list-end-regexp') to end
> a list.
>
> Otherwise, lists are determined by indentation, so, in your example,
> TEXT end the list as it is less indented than any of its items. Thus,
> when pressing TAB, Org indent the line accordingly, that is as a line
> belonging to the headline but not to the list.
>
> Also note that, if TEXT isn't already typed, you can use C-j after
> "item" to stay inside list and go on typing.
>
> Regards,
>
Hello Nicolas,

ok, thanks, I checked all that but could not find a setting that makes sense for me.

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?

-- Rainer

[-- Attachment #2: rainer_stengele.vcf --]
[-- Type: text/x-vcard, Size: 187 bytes --]

begin:vcard
fn:Rainer Stengele
n:Stengele;Rainer
email;internet:rainer.stengele@online.de
tel;work:+49(0)9131777885
tel;cell:+49(0)17612777885
x-mozilla-html:FALSE
version:2.1
end:vcard


[-- Attachment #3: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2011-03-02  8:48 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 [this message]
2011-03-02  9:51     ` Nicolas
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

  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=4D6E042F.3060104@online.de \
    --to=rainer.stengele@online.de \
    --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).