GNU bug report logs - #10792
24.0.93; emacs goes comatose opening C header

Previous Next

Packages: cc-mode, emacs;

Reported by: John Yates <john <at> yates-sheets.org>

Date: Sat, 11 Feb 2012 19:40:05 UTC

Severity: normal

Merged with 10716, 10750

Found in version 24.0.93

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Alan Mackenzie <acm <at> muc.de>
To: John Yates <john <at> yates-sheets.org>
Cc: bug-gnu-emacs <at> gnu.org
Subject: Re: 24.0.93; emacs goes comatose opening C header
Date: Sat, 11 Feb 2012 20:05:07 +0000
Hello, John

On Sat, Feb 11, 2012 at 12:26:36PM -0500, John Yates wrote:
> When I attemt to visit the following header emacs locks up.  If
> I make the contents of the macro significantly shorted emacs is
> able to open and fontlock it successfully.  To me this suggests
> some form of n-squared processing.

For once, this problem has nothing to do with font locking.  It happens
when the buffer length exceeds 3000 bytes.  :-)

> -----------------------------------

> #define PARSE_TYPE_LIST \
> _EMIT_(PT_ZERO,            "*ZERO*"            ) _DELIM_ \
> _EMIT_(PT_CHAR1,           "CHAR"              ) _DELIM_ \
> _EMIT_(PTN_CHAR1,          "CHAR"              ) _DELIM_ \

..... ..... ..... ..... ..... ..... ..... ..... ..... .....

> _EMIT_(PT_SYNTH2,          "SYNTH2"            ) _DELIM_ \
> _EMIT_(PT_SYNTH4,          "SYNTH4"            ) _DELIM_ \
> _EMIT_(PT_END,             "*END*"             )
 
-- 
Alan Mackenzie (Nuremberg, Germany).




This bug report was last modified 13 years and 160 days ago.

Previous Next


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