emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] org-list-indent-offset only works partially


From: Michael Brand
Subject: Re: [O] org-list-indent-offset only works partially
Date: Wed, 19 Oct 2011 08:57:02 +0200

Hi Nicolas

Now I understand that

- 1 :: item 1
[TAB]- item 2

works as expected, when assuming that you don't want the space after
the "-" to change the indentation similar to Emacs Electric C but want
to keep only TAB, C-c and the modified cursor keys to change the
indentation. BTW, were there considerations or discussions about
"electric indentation" for lists (space after the "-")?

So, for what I want to do I have to use

- 1 :: item 1
-[TAB]item 2

Is the following also doing what is expected?

- 1 :: item 1
[TAB]-[TAB][TAB]item 2

Michael

On Tue, Oct 18, 2011 at 11:33, Michael Brand <address@hidden> wrote:
> Hi all
>
> I would like to suggest to treat this together with a similar issue:
>
> 1- Run "emacs -q"
> 2- M-x org-mode
> 3- open /tmp/t.org
> 4- Write the following
> - 1 :: item 1
> [TAB]- item 2
>
> When you press [TAB], "- item 2" is indented 7 spaces right. But I
> would expect it to be indented the same 2 spaces as if over the item 2
> line you do
>
> 5- M-left
> 6- M-right
>
> Michael
>
> On Tue, Oct 18, 2011 at 10:53, Sébastien Delafond <address@hidden> wrote:
>> Hello,
>>
>> from Debian bug #645214 (http://bugs.debian.org/645214):
>>
>>  org-mode doesn't seems to honour correctly the org-list-indent-offset
>>  variable (a recent addition). See the following steps:
>>
>>  1- Run "emacs -q"
>>  2- M-x org-mode
>>  3- M-x set-variable org-list-indent-offset 8
>>  4- open /tmp/t.org
>>  5- Write the following
>>  - item 1
>>  [TAB]- item 2
>>
>>  When you press [TAB], "- item 2" is indented only two spaces right,
>>  not 8 as org-list-indent-offset describes, thats seems to be a
>>  bug. But now, if over the item 2 line you do
>>
>>  6- M-left
>>  7- M-right
>>
>>  The "- item 2" will be correctly indented 8 spaces to the right. So
>>  org-list-indent-offset is correctly working in this case.
>>
>> There wasn't any patch provided by the submitter.



reply via email to

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