From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Subject: Re: Simple Indentation question: indentation behaviour changed some time ago. Date: Wed, 02 Mar 2011 00:45:59 +0100 Message-ID: <87sjv6flqg.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=36310 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PuZGT-0006Jo-U4 for emacs-orgmode@gnu.org; Tue, 01 Mar 2011 18:46:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PuZGS-0002PM-Jw for emacs-orgmode@gnu.org; Tue, 01 Mar 2011 18:46:01 -0500 Received: from mail-wy0-f169.google.com ([74.125.82.169]:43318) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PuZGS-0002PI-Fx for emacs-orgmode@gnu.org; Tue, 01 Mar 2011 18:46:00 -0500 Received: by wyi11 with SMTP id 11so6222620wyi.0 for ; Tue, 01 Mar 2011 15:45:59 -0800 (PST) In-Reply-To: (Rainer Stengele's message of "Tue, 01 Mar 2011 22:50:57 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rainer Stengele Cc: emacs-orgmode@gnu.org Hello, Rainer Stengele writes: > * headline > - item > TEXT > ^ > > cursor on first "T" of "TEXT" and pressing "TAB" I got: > > * headline > - item > TEXT > > nowadays I get > > * headline > - item > TEXT > I checked the org-*indent* variables but could not find a matching variable. > How can I configure the old behaviour? You can set `org-list-ending-method' to 'regexp, meaning that you will need to provide two blank lines (that's configurable though, see `org-empty-line-terminates-plain-lists' and `org-list-end-regexp') to end a list. Otherwise, lists are determined by indentation, so, in your example, TEXT end the list as it is less indented than any of its items. Thus, when pressing TAB, Org indent the line accordingly, that is as a line belonging to the headline but not to the list. Also note that, if TEXT isn't already typed, you can use C-j after "item" to stay inside list and go on typing. Regards, -- Nicolas