From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Burgess Subject: Re: electric-indent-mode in Emacs 25 not indenting in Org Date: Tue, 21 Oct 2014 16:11:17 +0100 Message-ID: <20141021151117.GI2437@embecosm.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xgb5s-0005QH-BF for emacs-orgmode@gnu.org; Tue, 21 Oct 2014 11:11:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xgb5m-0004yd-Sf for emacs-orgmode@gnu.org; Tue, 21 Oct 2014 11:11:28 -0400 Received: from mail-wg0-f50.google.com ([74.125.82.50]:40548) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xgb5m-0004yK-MR for emacs-orgmode@gnu.org; Tue, 21 Oct 2014 11:11:22 -0400 Received: by mail-wg0-f50.google.com with SMTP id a1so1609028wgh.21 for ; Tue, 21 Oct 2014 08:11:21 -0700 (PDT) Content-Disposition: inline In-Reply-To: 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: William Denton Cc: emacs-orgmode@gnu.org * William Denton [2014-10-15 22:13:16 -0400]: > I noticed something odd with electric-indent-mode, which I had enabled, and > which is on by default in 24.4. I think the problem is with the calls to `newline' within org-return. The code for `newline' was changed so that non-interactive calls don't run the post-self-insert-hook, the result is that the electric-indent-post-self-insert-function is not called. HTH Andrew