emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#6952: closed (jit-lock with default, small chunk-s


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#6952: closed (jit-lock with default, small chunk-size causing incorrect fontification in cc-mode)
Date: Thu, 26 Sep 2019 11:13:01 +0000

Your message dated Thu, 26 Sep 2019 13:11:39 +0200
with message-id <CADwFkmk7pvwXzwZ=R6Xz9BSkqQzBddf1buK1N_FXzc=address@hidden>
and subject line Re: bug#6952: jit-lock with default, small chunk-size causing 
incorrect fontification in cc-mode
has caused the debbugs.gnu.org bug report #6952,
regarding jit-lock with default, small chunk-size causing incorrect 
fontification in cc-mode
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
6952: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6952
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: jit-lock with default, small chunk-size causing incorrect fontification in cc-mode Date: Mon, 30 Aug 2010 16:52:45 -0700
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. If I change that to
32768 or change some of the whitespace in the fiile, fontification is
correct again. I've attached the file because the testcase is
whitespace-sensitive.

Presumably, the underlying cause is jit-lock asking cc-mode to start
or stop fontification in an unexpected place.

Attachment: foo.c
Description: Binary data


--- End Message ---
--- Begin Message --- Subject: Re: bug#6952: jit-lock with default, small chunk-size causing incorrect fontification in cc-mode Date: Thu, 26 Sep 2019 13:11:39 +0200
Noam Postavsky <address@hidden> writes:

> tags 6952 + unreproducible
> quit
>
> Daniel Colascione <address@hidden> 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).

I can't reproduce this either, so I'm closing this bug report.  If anyone is still seeing this on a modern Emacs, please re-open.

Best regards,
Stefan Kangas

--- End Message ---

reply via email to

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