From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Another bug in CC Mode's state cache. Date: Sat, 21 Apr 2012 07:19:43 +0000 Message-ID: <20120421071943.GA3476@acm.acm> References: <20120420200450.GA3541@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1334992906 7223 80.91.229.3 (21 Apr 2012 07:21:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 21 Apr 2012 07:21:46 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 21 09:21:45 2012 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 1SLUdb-0008Pd-9n for ged-emacs-devel@m.gmane.org; Sat, 21 Apr 2012 09:21:43 +0200 Original-Received: from localhost ([::1]:45799 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLUda-0003TY-5G for ged-emacs-devel@m.gmane.org; Sat, 21 Apr 2012 03:21:42 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLUdX-0003TN-69 for emacs-devel@gnu.org; Sat, 21 Apr 2012 03:21:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SLUdS-0004XO-Sx for emacs-devel@gnu.org; Sat, 21 Apr 2012 03:21:38 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:45621 helo=mail.muc.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SLUdS-0004Vd-Ij for emacs-devel@gnu.org; Sat, 21 Apr 2012 03:21:34 -0400 Original-Received: (qmail 53350 invoked by uid 3782); 21 Apr 2012 07:21:32 -0000 Original-Received: from acm.muc.de (pD951A6E3.dip.t-dialin.net [217.81.166.227]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 21 Apr 2012 09:21:30 +0200 Original-Received: (qmail 3483 invoked by uid 1000); 21 Apr 2012 07:19:43 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 193.149.48.1 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:149891 Archived-At: Hi, Stefan, On Fri, Apr 20, 2012 at 10:30:14PM -0400, Stefan Monnier wrote: > > This clearly isn't a "regression". Would it nevertheless be OK to > > install this fix in the Emacs 24 branch? > Since it's not a regression, I'd rather not put it on the > `emacs-24' branch. OK. I'll put it into the trunk. > Stefan "who found your explanation scary" Hmm. The code for that cache _is_ somewhat scary. I thought my explanation was quite clear. Funnily enough, the bug only shows itself very rarely. I could only reproduce it in the CC Mode branch I was working on. A corrupt state cache makes its presence felt very quickly. -- Alan Mackenzie (Nuremberg, Germany).