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: Nicolas Goaziou
Subject: Re: [O] org-list-indent-offset only works partially
Date: Tue, 18 Oct 2011 23:00:12 +0200

Hello,

Sébastien Delafond <address@hidden> writes:

> 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 is no bug here. 

The important thing to notice is that you are using TAB before inserting
the second bullet. Org understands that you want to indent the current
empty line into the current item (how could it tell you're going to add
an item?).

If you want to trigger `org-list-indent-offset' correctly, first insert
the bullet, then tabulate.

Regards,

-- 
Nicolas Goaziou



reply via email to

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