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: Default behaviour of RET. Date: Sat, 19 Oct 2013 18:20:24 -0400 Message-ID: References: <525D8946.4070406@gmx.at> <20131016171240.GA3125@acm.acm> <525EDC50.8010401@gmx.at> <20131016192642.GD3125@acm.acm> <87mwm8g61e.fsf@uwakimon.sk.tsukuba.ac.jp> <20131018170320.GC2569@acm.acm> <20131018204551.GC3012@acm.acm> <20131019105836.GA2991@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1382221241 23132 80.91.229.3 (19 Oct 2013 22:20:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Oct 2013 22:20:41 +0000 (UTC) Cc: martin rudalics , "Stephen J. Turnbull" , emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 20 00:20:44 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 1VXet2-0004AK-9v for ged-emacs-devel@m.gmane.org; Sun, 20 Oct 2013 00:20:44 +0200 Original-Received: from localhost ([::1]:34571 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXet1-0000AN-PQ for ged-emacs-devel@m.gmane.org; Sat, 19 Oct 2013 18:20:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37657) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXesq-0000AG-RU for emacs-devel@gnu.org; Sat, 19 Oct 2013 18:20:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VXesj-0003FL-Hr for emacs-devel@gnu.org; Sat, 19 Oct 2013 18:20:32 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:20829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VXesj-0003FH-DZ for emacs-devel@gnu.org; Sat, 19 Oct 2013 18:20:25 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFsr+kq/2dsb2JhbABEvw4Xc4IeAQEEAVYjEAsOJhIUGA0kiB4GwS2RCgOkeoFegxM X-IPAS-Result: Av4EABK/CFFsr+kq/2dsb2JhbABEvw4Xc4IeAQEEAVYjEAsOJhIUGA0kiB4GwS2RCgOkeoFegxM X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="35891086" Original-Received: from 108-175-233-42.dsl.teksavvy.com (HELO pastel.home) ([108.175.233.42]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 19 Oct 2013 18:20:24 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 816F56071C; Sat, 19 Oct 2013 18:20:24 -0400 (EDT) In-Reply-To: <20131019105836.GA2991@acm.acm> (Alan Mackenzie's message of "Sat, 19 Oct 2013 10:58:36 +0000") 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:164384 Archived-At: >> but also possibly quite low. > Just how low does it have to be before we can ignore it? That was not the question. Anyway, it does look like there are indeed many incorrect uses of newline (most of those (or (bolp) (newline)) will break sooner or later because of unexpected filling and/or abbrev/skeleton expansion). So I installed a patch which makes `newline' only run post-self-insert-hook when called interactively, so as to try and preserve compatibility with those dubious uses. Stefan