[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: font-lock bug in cc-mode
From: |
Stefan Monnier |
Subject: |
Re: font-lock bug in cc-mode |
Date: |
Fri, 30 Mar 2007 01:17:03 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) |
>> emacs -Q +132 .../emacs/src/lisp.h
>> Inserting space + undoing will sort it out, so it might be triggered
>> by the chunking done by jit-lock.
> Increasing jit-lock-chunk-size to 2000 makes this fontification glitch
> go away.
You mean it solves this instance of the glitch. It will still occur in
different circumstances.
> From looking at the cc-fonts:1478, it appears that
> identifiers in enum lists are only fontified up to the limit supplied
> by jit-lock. Therefore, very long enum lists don't get fontified.
It can happen with short lists as well, since all that matters is that the
limit is somewhere inside the enum.
Stefan