From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Matthias Meulien Newsgroups: gmane.emacs.devel Subject: Re: electric-indent-mode: abolition of `newline' function is not the Right Thing. Date: Sun, 13 Oct 2013 22:00:01 +0200 Message-ID: <878uxxlz5q.fsf@gmail.com> References: <20131013101325.GA2621@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: ger.gmane.org 1381694437 2146 80.91.229.3 (13 Oct 2013 20:00:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Oct 2013 20:00:37 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 13 22:00:36 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 1VVRq6-0006Pf-4C for ged-emacs-devel@m.gmane.org; Sun, 13 Oct 2013 22:00:34 +0200 Original-Received: from localhost ([::1]:34416 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVRq5-0001Eu-OY for ged-emacs-devel@m.gmane.org; Sun, 13 Oct 2013 16:00:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56738) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVRps-0001Ct-Ch for emacs-devel@gnu.org; Sun, 13 Oct 2013 16:00:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVRpf-0002OU-Iy for emacs-devel@gnu.org; Sun, 13 Oct 2013 16:00:20 -0400 Original-Received: from mail-we0-x235.google.com ([2a00:1450:400c:c03::235]:48108) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVRpf-0002Ng-CN for emacs-devel@gnu.org; Sun, 13 Oct 2013 16:00:07 -0400 Original-Received: by mail-we0-f181.google.com with SMTP id t60so6336571wes.12 for ; Sun, 13 Oct 2013 13:00:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=6bUu5JSbUojFwKPRoWatX8fV0jET0fqGjyCrkNnHveY=; b=cAVbPWUTDaUNQVK+VYdbk/Fq+CIdY0Jw/uM/dWC31EjEbSzn9k56AxfhFiCQ0sWfom FwrSFARVXvHU4R28Z546zOkpPXvniFWLrW6t4F8l6d3C2Q6oOW4N7ADxa3JqU69KJ9un Z7MbUoGdiOWptGsYGeH4Pg363322ohDUx0NhE88SbFhaFDAii0VlcwWN6VTzSuBbuHYz ukJhcLC6jaQKLCZsbBZ62PfFyn+C8zG07YFTjdS5tz+cHSSzsov6zM4fD7OgYaxu2qmb RHrFxHdIYETQSshPG+4yB9iTlO2zcyorqSvHRpzLeJTfBDre9n3FgzhawCB1vgm0v2uw OoUg== X-Received: by 10.180.187.175 with SMTP id ft15mr11869212wic.20.1381694406006; Sun, 13 Oct 2013 13:00:06 -0700 (PDT) Original-Received: from choubidou.localdomain ([82.239.20.84]) by mx.google.com with ESMTPSA id i8sm27264441wiy.6.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 13 Oct 2013 13:00:05 -0700 (PDT) In-Reply-To: <20131013101325.GA2621@acm.acm> (Alan Mackenzie's message of "Sun, 13 Oct 2013 10:13:25 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c03::235 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:164182 Archived-At: > (...) I discovered this whilst trying `electric-indent-mode' in > Text Mode. For the same reason it is impossible to write Python code with both `python-skeleton-autoinsert' set to t and Electric Indent mode enabled... Say a buffer contains the following three lines: class base(object): pass -!- Now you hit c l a s s SPC d e r i v e d RET b a s e RET RET which results in: class base(object): pass class derived(base): """-!-""" Unexpected isn't it? -- Matthias Meulien