emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Re: Simple Indentation question: indentation behaviour changed some


From: Rainer Stengele
Subject: [O] Re: Simple Indentation question: indentation behaviour changed some time ago.
Date: Wed, 02 Mar 2011 11:12:35 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.17) Gecko/20080914 Lightning/0.8 Thunderbird/2.0.0.17 Mnenhy/0.7.5.666



Am 02.03.2011 10:51, schrieb Nicolas:
> Hello,
>
> Rainer Stengele <address@hidden> 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

Attachment: rainer_stengele.vcf
Description: Vcard


reply via email to

[Prev in Thread] Current Thread [Next in Thread]