Stefan Monnier <[EMAIL PROTECTED]> writes:

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

I don't know if there's a good way to fix this.  Maybe the relevant
font-lock matcher function should reset the limit to the end of the
enum block, but that might cause problems when editing unterminated
enum blocks.  Maybe this should be left for post-22.



_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to