From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer Stengele Subject: Re: Simple Indentation question: indentation behaviour changed some time ago. Date: Wed, 02 Mar 2011 11:12:35 +0100 Message-ID: <4D6E1813.10407@online.de> References: <87sjv6flqg.fsf@gmail.com> <4D6E042F.3060104@online.de> <87oc5tg8ab.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050104080804060103090909" Return-path: Received: from [140.186.70.92] (port=52192 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Puj2s-0000dj-PH for emacs-orgmode@gnu.org; Wed, 02 Mar 2011 05:12:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Puj2r-0005kV-9A for emacs-orgmode@gnu.org; Wed, 02 Mar 2011 05:12:38 -0500 Received: from ns.diplan.de ([212.34.188.4]:48772 helo=mail.diplan.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Puj2q-0005kL-QR for emacs-orgmode@gnu.org; Wed, 02 Mar 2011 05:12:37 -0500 Received: from [192.168.99.164] (stengelepc.diplan.de [192.168.99.164]) by mail.diplan.de (Postfix outbound) with ESMTP id 58E8545864A for ; Wed, 2 Mar 2011 11:12:35 +0100 (CET) In-Reply-To: <87oc5tg8ab.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org This is a multi-part message in MIME format. --------------050104080804060103090909 Content-Type: multipart/alternative; boundary="------------020807000000030109000209" --------------020807000000030109000209 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Am 02.03.2011 10:51, schrieb Nicolas: > Hello, > > Rainer Stengele 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 Nicolas, thank you for explaining. Well, it still bugs me. Many times I start with something like **** headline item1 Text belonging to item1 Text belonging to item1 Text belonging to item1 item2 Text belonging to item2 Text belonging to item2 Text belonging to item2 and then later want to bring in more structure, making item1 and item2 a list item. I would then expect to get the "Text belonging to" lines being indented as in **** headline - item1 Text belonging to item1 Text belonging to item1 Text belonging to item1 - item2 Text belonging to item2 Text belonging to item2 Text belonging to item2 but I get this: **** headline - item1 Text belonging to item1 Text belonging to item1 Text belonging to item1 - item2 Text belonging to item2 Text belonging to item2 Text belonging to item2 of course I can indent via macros or manually, I just don't find the behaviour ok. Regards, -- Rainer --------------020807000000030109000209 Content-Type: text/html; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable

Am 02.03.2011 10:51, schrieb Nicolas:
> Hello,
>
> Rainer Stengele <rainer.stengele@online.de> wr= ites:
>
>> 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?<= br> >
> 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


Nicolas, thank you for explaining.
Well, it still bugs me.


Many times I start with something like


**** headline
=A0=A0=A0=A0 item1
=A0=A0=A0=A0 Text belonging to item1
=A0=A0=A0=A0 Text belonging to item1
=A0=A0=A0=A0 Text belonging to item1
=A0=A0=A0=A0 item2
=A0=A0=A0=A0 Text belonging to item2
=A0=A0=A0=A0 Text belonging to item2
=A0=A0=A0=A0 Text belonging to item2


and then later want to bring in more structure,
making item1 and item2 a list item.
I would then expect to get the "Text belonging to" lines being indented as in


**** headline
=A0=A0=A0=A0 - item1
=A0=A0=A0=A0=A0=A0 Text belonging to item1
=A0=A0=A0=A0=A0=A0 Text belonging to item1
=A0=A0=A0=A0=A0=A0 Text belonging to item1
=A0=A0=A0=A0 - item2
=A0=A0=A0=A0=A0=A0 Text belonging to item2
=A0=A0=A0=A0=A0=A0 Text belonging to item2
=A0=A0=A0=A0=A0=A0 Text belonging to item2


but I get this:


**** headline
=A0=A0=A0=A0 - item1
=A0=A0=A0=A0 Text belonging to item1
=A0=A0=A0=A0 Text belonging to item1
=A0=A0=A0=A0 Text belonging to item1
=A0=A0=A0=A0 - item2
=A0=A0=A0=A0 Text belonging to item2
=A0=A0=A0=A0 Text belonging to item2
=A0=A0=A0=A0 Text belonging to item2


of course I can indent via macros or manually, I just don't find the behaviour ok.

Regards,


-- Rainer

--------------020807000000030109000209-- --------------050104080804060103090909 Content-Type: text/x-vcard; charset=utf-8; name="rainer_stengele.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="rainer_stengele.vcf" 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 --------------050104080804060103090909 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --------------050104080804060103090909--