From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.cc-mode.general,gmane.emacs.bugs Subject: Re: bug#7595: Infinite loop in cc-mode, or the coming of autumn Date: Mon, 7 Mar 2011 21:02:25 +0000 Message-ID: <20110307210225.GC2488@muc.de> References: <4D000FF1.10307@gmail.com> <20101216213915.GA3442__49696.8405823738$1292537376$gmane$org@muc.de> <4D45F34F.8030601@gmail.com> <87tygo3c4q.fsf__35531.9466595121$1296517007$gmane$org@stupidchicken.com> <4D741A35.9030501@gmail.com> <20110307195441.GA2488@muc.de> <87hbben15a.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1299530779 27926 80.91.229.12 (7 Mar 2011 20:46:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 Mar 2011 20:46:19 +0000 (UTC) Cc: bug-cc-mode@gnu.org, bug-gnu-emacs@gnu.org, Daniel Colascione , Stefan Monnier To: Chong Yidong Original-X-From: cc-mode-help-bounces@lists.sourceforge.net Mon Mar 07 21:46:15 2011 Return-path: Envelope-to: sf-cc-mode-help@m.gmane.org Original-Received: from lists.sourceforge.net ([216.34.181.88]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PwhJm-0001f3-CK for sf-cc-mode-help@m.gmane.org; Mon, 07 Mar 2011 21:46:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=sfs-ml-3.v29.ch3.sourceforge.com) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.74) (envelope-from ) id 1PwhJj-0007hy-Dz; Mon, 07 Mar 2011 20:46:11 +0000 Original-Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.74) (envelope-from ) id 1PwhJi-0007ht-2Q for cc-mode-help@lists.sourceforge.net; Mon, 07 Mar 2011 20:46:10 +0000 Received-SPF: neutral (sog-mx-4.v43.ch3.sourceforge.com: 140.186.70.10 is neither permitted nor denied by domain of muc.de) client-ip=140.186.70.10; envelope-from=acm@muc.de; helo=fencepost.gnu.org; Original-Received: from fencepost.gnu.org ([140.186.70.10]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.74) id 1PwhJg-0005qE-Nu for cc-mode-help@lists.sourceforge.net; Mon, 07 Mar 2011 20:46:10 +0000 Original-Received: from eggs.gnu.org ([140.186.70.92]:54591) by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1PwhJa-0002Fm-Sa for bug-cc-mode@gnu.org; Mon, 07 Mar 2011 15:46:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PwhJa-0005V8-43 for bug-cc-mode@gnu.org; Mon, 07 Mar 2011 15:46:03 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=ham version=3.3.1 Original-Received: from colin.muc.de ([193.149.48.1]:4694 helo=mail.muc.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PwhJZ-0005Uv-PC for bug-cc-mode@gnu.org; Mon, 07 Mar 2011 15:46:02 -0500 Original-Received: (qmail 9441 invoked by uid 3782); 7 Mar 2011 20:46:00 -0000 Original-Received: from acm.muc.de (pD9E513F9.dip.t-dialin.net [217.229.19.249]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Mon, 07 Mar 2011 21:45:57 +0100 Original-Received: (qmail 3952 invoked by uid 1000); 7 Mar 2011 21:02:25 -0000 Content-Disposition: inline In-Reply-To: <87hbben15a.fsf@stupidchicken.com> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 4.6-4.9 X-Received-From: 193.149.48.1 X-Spam-Score: 0.5 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. 0.7 SPF_NEUTRAL SPF: sender does not match SPF record (neutral) -0.2 AWL AWL: From: address is in the auto white-list X-Headers-End: 1PwhJg-0005qE-Nu X-BeenThere: cc-mode-help@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: "Bug reports, feature requests, and general talk about CC Mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: cc-mode-help-bounces@lists.sourceforge.net Xref: news.gmane.org gmane.emacs.cc-mode.general:5473 gmane.emacs.bugs:44765 Archived-At: Hi, Yidong, On Mon, Mar 07, 2011 at 03:09:21PM -0500, Chong Yidong wrote: > Alan Mackenzie writes: > > First thing about Daniel's bug: it doesn't occur in the stand-alone CC > > Mode running on Emacs 23.2; this version of CC Mode contains my original > > patch from a couple of months ago. > > Before applying a fix to the current bug (Daniel, are you sure the > > current bug is the "same" (whatever that means) as the original bug?), > > I'd like to work out what the difference is between stand-alone CC Mode > > and the one in Emacs-23.3/..../lisp/progmodes. > OK, I see the problem. The patch you supplied in the email was not > applied correctly to the branch. The second hunk ended up in > c-beginning-of-statement. I think the problem is in the Emacs 24 trunk, too. > So, it looks like my fault, and I'm not sure how it happened (maybe due > to the line number mismatch). Sorry. > With this corrected in the branch, the new problem goes away. I will > make a second release candidate with this fix. Excellent! Thanks for finding it. -- Alan Mackenzie (Nuremberg, Germany). ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d