From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-list-indent-offset only works partially Date: Tue, 18 Oct 2011 23:00:12 +0200 Message-ID: <8762jmvwv7.fsf@gmail.com> References: <20111018105046.286@usenet.piggo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:53243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGGms-0001bY-8T for emacs-orgmode@gnu.org; Tue, 18 Oct 2011 17:01:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGGmp-000189-Ch for emacs-orgmode@gnu.org; Tue, 18 Oct 2011 17:01:26 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:45143) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGGmo-00017w-TT for emacs-orgmode@gnu.org; Tue, 18 Oct 2011 17:01:23 -0400 Received: by wyg34 with SMTP id 34so1258580wyg.0 for ; Tue, 18 Oct 2011 14:01:21 -0700 (PDT) In-Reply-To: <20111018105046.286@usenet.piggo.com> (=?utf-8?Q?=22S=C3=A9ba?= =?utf-8?Q?stien?= Delafond"'s message of "Tue, 18 Oct 2011 08:53:50 +0000 (UTC)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?utf-8?Q?S=C3=A9bastien?= Delafond Cc: emacs-orgmode@gnu.org Hello, S=C3=A9bastien Delafond 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=20 > 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=20 > 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.=20 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, --=20 Nicolas Goaziou