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: 23.0.60; Bug in BUF_SET_PT Date: Sun, 23 Mar 2008 21:18:26 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1206321521 16999 80.91.229.12 (24 Mar 2008 01:18:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Mar 2008 01:18:41 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 24 02:19:11 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JdbLC-0004UK-OG for ged-emacs-devel@m.gmane.org; Mon, 24 Mar 2008 02:19:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JdbKb-000098-PG for ged-emacs-devel@m.gmane.org; Sun, 23 Mar 2008 21:18:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JdbKX-00008h-T3 for emacs-devel@gnu.org; Sun, 23 Mar 2008 21:18:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JdbKV-00007Q-PZ for emacs-devel@gnu.org; Sun, 23 Mar 2008 21:18:28 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JdbKV-00007N-Mx for emacs-devel@gnu.org; Sun, 23 Mar 2008 21:18:27 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JdbKV-0003xV-GL for emacs-devel@gnu.org; Sun, 23 Mar 2008 21:18:27 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhUHAGKe5kdMCrTo/2dsb2JhbACBW6Q3 X-IronPort-AV: E=Sophos;i="4.25,544,1199682000"; d="scan'208";a="16444713" Original-Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 23 Mar 2008 21:18:27 -0400 Original-Received: from pastel.home ([76.10.180.232]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id EEQ04627; Sun, 23 Mar 2008 21:18:27 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id B12637F18; Sun, 23 Mar 2008 21:18:26 -0400 (EDT) In-Reply-To: ("Johan =?iso-8859-1?Q?Bockg=1FFFFFFFrd=22's?= message of "Sun, 23 Mar 2008 12:32:58 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: 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:93281 Archived-At: >>>> [Trunk and branch] >> >>> Stefan has checked in a fix on the trunk, but the problem exists on the >>> Emacs 22 branch as well. >> >> Like lots of other problems. >> Do you have a real case where it introduces real breakage? > Yes, I have run into args-out-of-range errors in revert-buffer (that's > how I found the problem). It's very rare though. > Debugger entered--Lisp error: (args-out-of-range 720381) > insert-file-contents("[...]" t nil nil t) > revert-buffer(nil t) I expect this to be very rare indeed, since the problem has been around for ages. > (If you want to be conservative on the branch, just make the BUF_SET_PT > --> BUF_TEMP_SET_PT change.) Of course, that's the only part I'd commit. But even this will have to wait for after-22.2. Stefan