From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: electric-indent-mode: abolition of `newline' function is not the Right Thing. Date: Mon, 14 Oct 2013 12:46:11 -0400 Message-ID: References: <20131013101325.GA2621@acm.acm> <878uxxlz5q.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1381769189 13558 80.91.229.3 (14 Oct 2013 16:46:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Oct 2013 16:46:29 +0000 (UTC) Cc: Alan Mackenzie , emacs-devel@gnu.org To: Matthias Meulien Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 14 18:46:32 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VVlHs-0004Wd-Av for ged-emacs-devel@m.gmane.org; Mon, 14 Oct 2013 18:46:32 +0200 Original-Received: from localhost ([::1]:37966 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVlHr-0006Vc-TP for ged-emacs-devel@m.gmane.org; Mon, 14 Oct 2013 12:46:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49213) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVlHg-0006EG-AH for emacs-devel@gnu.org; Mon, 14 Oct 2013 12:46:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVlHZ-0008Lq-16 for emacs-devel@gnu.org; Mon, 14 Oct 2013 12:46:20 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:45703) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVlHY-0008Li-T6 for emacs-devel@gnu.org; Mon, 14 Oct 2013 12:46:12 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFpZkh/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJC2HcQbBLZEKA6R6gV6DEw X-IPAS-Result: Av4EABK/CFFFpZkh/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYSFBgNJC2HcQbBLZEKA6R6gV6DEw X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="35457365" Original-Received: from 69-165-153-33.dsl.teksavvy.com (HELO pastel.home) ([69.165.153.33]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 14 Oct 2013 12:42:09 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id A08AE60C0D; Mon, 14 Oct 2013 12:46:11 -0400 (EDT) In-Reply-To: (Matthias Meulien's message of "Mon, 14 Oct 2013 15:31:43 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:164206 Archived-At: >> (...) I can't reproduce it on trunk, probably thanks to the new >> electric-indent-inhibit, which is set in python-mode. > Good news! I encounter the problem I described with 24.3.1. Note that my > comment was misleading: It has nothing to do with > `python-skeleton-autoinsert'... And my post was badly formatted (I don't > know why): The `pass' keyword must be on its own indented line, like this: > class base(object): >> pass >> Hmm, then I don't know if it happens in trunk or not, because I don't really know how to reproduce it or what result would be correct or not (I don't know/use Python). Stefan