From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-list-indent-offset only works partially Date: Wed, 19 Oct 2011 13:08:30 +0200 Message-ID: <87wrc1utld.fsf@gmail.com> References: <20111018105046.286@usenet.piggo.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:41850) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGU1m-0002ky-5r for emacs-orgmode@gnu.org; Wed, 19 Oct 2011 07:09:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGU1k-0007xV-MH for emacs-orgmode@gnu.org; Wed, 19 Oct 2011 07:09:42 -0400 Received: from mail-yw0-f41.google.com ([209.85.213.41]:52505) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGU1k-0007xP-Dr for emacs-orgmode@gnu.org; Wed, 19 Oct 2011 07:09:40 -0400 Received: by ywb3 with SMTP id 3so1859005ywb.0 for ; Wed, 19 Oct 2011 04:09:39 -0700 (PDT) In-Reply-To: (Michael Brand's message of "Wed, 19 Oct 2011 08:57:02 +0200") 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: Michael Brand Cc: emacs-orgmode@gnu.org Michael Brand writes: > 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 "-")? C-c C-c changes indentation by side-effect. Its purpose is to repair the current list, which is broken if you use "[TAB]-". Also don't forget M-RET to insert an new item. I strongly suggest that binding which does a lot more than simply adding one bullet (renumbering if necessary, updating of checkboxes, etc.). I usually do M-RET and possibly TAB until the item has the correct indentation. Knowing that, I don't see any necessity for an "electric indentation". Though, to answer your question, I don't think this has ever been discussed. > So, for what I want to do I have to use > > - 1 :: item 1 > -[TAB]item 2 "M-RET TAB" will be enough. > Is the following also doing what is expected? > > - 1 :: item 1 > [TAB]-[TAB][TAB]item 2 I don't know what is expected here. Again, since you press "[TAB]-" you're creating a broken list. First use C-c C-c to repair it, then you can expect something out of it. Regards, -- Nicolas Goaziou