bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10792: 24.0.93; emacs goes comatose opening C header


From: Alan Mackenzie
Subject: bug#10792: 24.0.93; emacs goes comatose opening C header
Date: Sat, 11 Feb 2012 20:05:07 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

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).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]