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: (insert ?\n) spuriously calls before-change-functions twice. Help! Date: Tue, 05 Jan 2010 10:22:26 -0500 Message-ID: References: <20100105110954.GA2639@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1262705035 3416 80.91.229.12 (5 Jan 2010 15:23:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Jan 2010 15:23:55 +0000 (UTC) Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 05 16:23:48 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from terminus-est.gnu.org ([66.92.78.210] helo=lists.gnu.org) by lo.gmane.org with esmtp (Exim 4.50) id 1NSBFC-0002fa-Ro for ged-emacs-devel@m.gmane.org; Tue, 05 Jan 2010 16:22:52 +0100 Original-Received: from localhost ([127.0.0.1]:40097 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSBF9-0003JR-CN for ged-emacs-devel@m.gmane.org; Tue, 05 Jan 2010 10:22:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSBF1-0003IO-Hv for emacs-devel@gnu.org; Tue, 05 Jan 2010 10:22:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSBEw-0003Fl-UO for emacs-devel@gnu.org; Tue, 05 Jan 2010 10:22:39 -0500 Original-Received: from [199.232.76.173] (port=35759 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSBEw-0003Fa-Ms for emacs-devel@gnu.org; Tue, 05 Jan 2010 10:22:34 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:46780 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NSBEu-0006b5-QH for emacs-devel@gnu.org; Tue, 05 Jan 2010 10:22:33 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjwFAOfnQkvO+KPG/2dsb2JhbACBRdIehDAEiik X-IronPort-AV: E=Sophos;i="4.47,506,1257138000"; d="scan'208";a="53000761" Original-Received: from 206-248-163-198.dsl.teksavvy.com (HELO ceviche.home) ([206.248.163.198]) by ironport2-out.pppoe.ca with ESMTP; 05 Jan 2010 10:22:26 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id A5813B4077; Tue, 5 Jan 2010 10:22:26 -0500 (EST) In-Reply-To: <20100105110954.GA2639@muc.de> (Alan Mackenzie's message of "Tue, 5 Jan 2010 11:09:54 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:119437 Archived-At: > In emacs -Q, in an AWK buffer, do M-: (insert ?\n). The following [...] > However, M-: (insert "\n") just does the Right Thing. That's curious indeed. > This second invocation of before-change-functions is surely a bug. I > can make this happen in a Fundamental Mode buffer in my normal Emacs > session, but not in Emacs -Q. Can you try to figure out which diference between "emacs -Q" and your "normal Emacs session" triggers the problem? Stefan