[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ntemacs hangs when openning the attached file
From: |
Stefan Monnier |
Subject: |
Re: ntemacs hangs when openning the attached file |
Date: |
Thu, 22 May 2008 00:42:12 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
>> This seems not to be related to fontification, but rather to something
>> that c-neutralize-syntax-in-CPP does during C Mode initialization.
> It's just that c-neutralize-syntax-in-CPP takes a long time in such a
> large buffer. However, it would take just as long if it were split into
> several smaller buffers.
> c-neutralize-syntax-in-CPP is a newish function which counteracts
> problems cause by things like:
> #define RBRACE }
> . The answer would seem to be calling the function lazily or in the
> background, a bit like jit-lock does for font locking.
> Stefan, I think you mentioned a long time ago that jit could be used for
> things other than font locking, but I can't find the thread. Any clues?
Not sure what you want to know. You can use jit-lock-register, tho it's
not clear whether it does what you want.
Stefan
Re: ntemacs hangs when openning the attached file, Richard M Stallman, 2008/05/07