GNU bug report logs - #7595
Infinite loop in cc-mode, or the coming of autumn

Previous Next

Packages: emacs, cc-mode;

Reported by: Daniel Colascione <dan.colascione <at> gmail.com>

Date: Wed, 8 Dec 2010 23:03:02 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #49 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: bug-cc-mode <at> gnu.org, bug-gnu-emacs <at> gnu.org,
	Daniel Colascione <dan.colascione <at> gmail.com>,
	Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#7595: Infinite loop in cc-mode, or the coming of autumn
Date: Mon, 7 Mar 2011 21:02:25 +0000
Hi, Yidong,

On Mon, Mar 07, 2011 at 03:09:21PM -0500, Chong Yidong wrote:
> Alan Mackenzie <acm <at> muc.de> 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).




This bug report was last modified 14 years and 140 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.