emacs-devel
[Top][All Lists]
Advanced

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

Re: master 7362554: Widen around c-font-lock-fontify-region. This fixes


From: Eli Zaretskii
Subject: Re: master 7362554: Widen around c-font-lock-fontify-region. This fixes bug #38049.
Date: Thu, 14 Nov 2019 21:56:30 +0200

> Cc: address@hidden, address@hidden
> From: Dmitry Gutov <address@hidden>
> Date: Thu, 14 Nov 2019 21:48:24 +0200
> 
> > So you are saying that we should enlarge jit-lock-chunk-size to
> > most-positive-fixnum?  I don't think so.
> 
> No, it's more about the number of calls to font-lock functions. I.e. 
> fontifying line-by-line vs. doing it in a larger block. The size of that 
> block is not so important, as long as it's much bigger than a line.

I agree, of course, and the default value of jit-lock-chunk-size
agrees as well.

But calling jit-lock-ensure as shown might try to fontify much more,
right?



reply via email to

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