GNU bug report logs - #7722
24.0.50; Finding this C++ header file drops emacs into a infinite loop

Previous Next

Packages: emacs, cc-mode;

Reported by: Tassilo Horn <tassilo <at> member.fsf.org>

Date: Fri, 24 Dec 2010 08:23:01 UTC

Severity: serious

Found in version 24.0.50

Fixed in version 24.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Tassilo Horn <tassilo <at> member.fsf.org>
To: Alan Mackenzie <acm <at> muc.de>
Cc: 7722 <at> debbugs.gnu.org, Chong Yidong <cyd <at> stupidchicken.com>
Subject: bug#7722: 24.0.50; Finding this C++ header file drops emacs into a infinite loop
Date: Sun, 06 Feb 2011 20:20:30 +0100
Alan Mackenzie <acm <at> muc.de> writes:

Hi Alan,

> Here's a putative patch for the problem.  I've refactored the
> offending function by replacing obscenely nested `if'-forms with a
> simple `cond'.  I've also removed some narrowing (to the 500n limit)
> which should help jit-lock, hopefully without hurting too much
> elsewhere.
>
> Tassilo, would you try out the patch, please, and let me know how it
> goes.  Thanks!

Seems to work fine.  I had no problems visiting that bad header file.

Bye,
Tassilo




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

Previous Next


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