Subject: bug#6952: jit-lock with default, small chunk-size causing incorrect fontification in cc-mode

From: Noam Postavsky <[email-masked]>
Date: Fri, 29 Jun 2018 19:05:38 -0400

tags 6952 + unreproducible
quit

Daniel Colascione <[email-masked]> writes:

> I've attached a file that demonstrates incorrect fontification with
> cc-mode and jit-lock used together -- the last function in the file is
> not fontified as a function when a file is first visited with
> jit-lock-chunk-size equal to its default 512.

I can't reproduce this, neither by setting jit-lock-chunk-size to 512,
nor with the default of 500.  The fontification of that file looks fine.
Tested from 24.3 to current master (27.0.50).