From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Electric-indent-mode and lists Date: Sun, 26 Jan 2014 13:33:06 +0100 Message-ID: <874n4qzzwd.fsf@gmail.com> References: <2341210.4HDX6LpNPH@horus> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44311) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7OtO-0000Zh-0B for emacs-orgmode@gnu.org; Sun, 26 Jan 2014 07:32:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7OtJ-0003Rz-2Q for emacs-orgmode@gnu.org; Sun, 26 Jan 2014 07:32:49 -0500 Received: from mail-we0-x22f.google.com ([2a00:1450:400c:c03::22f]:59909) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7OtI-0003Rm-Rk for emacs-orgmode@gnu.org; Sun, 26 Jan 2014 07:32:44 -0500 Received: by mail-we0-f175.google.com with SMTP id p61so4192847wes.6 for ; Sun, 26 Jan 2014 04:32:44 -0800 (PST) In-Reply-To: <2341210.4HDX6LpNPH@horus> (Florian Lindner's message of "Sat, 25 Jan 2014 19:11:58 +0100") 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: Florian Lindner Cc: emacs-orgmode@gnu.org Hello, Florian Lindner writes: > emacs -Q > M-x electric-indent-mode > C-x C-f some/nonexistent/file.org > > Now entering > > * abc > + a > + b > + c > > Each list entry is idented furthermore. I doesn't happen if I use M-Ret to enter a list item. > > Or is this behavior intended? I cannot reproduce the problem with latest Org. In any case, you can tweak `electric-indent-functions' so a function returns `no-indent' when (org-at-item-p) is non-nil. Regards, -- Nicolas Goaziou