From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#6952: jit-lock with default, small chunk-size causing incorrect fontification in cc-mode Date: Thu, 26 Sep 2019 13:11:39 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000015780d059372d6ad" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="365"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 6952-done@debbugs.gnu.org, Daniel Colascione To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 26 13:13:26 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iDRi6-00187t-L3 for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Sep 2019 13:13:22 +0200 Original-Received: from localhost ([::1]:34028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDRi5-0007NT-5c for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Sep 2019 07:13:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51333) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDRhn-0007M2-3i for bug-gnu-emacs@gnu.org; Thu, 26 Sep 2019 07:13:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDRhm-00076f-4E for bug-gnu-emacs@gnu.org; Thu, 26 Sep 2019 07:13:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33945) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iDRhl-00076M-V5; Thu, 26 Sep 2019 07:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iDRhl-0002c7-Pq; Thu, 26 Sep 2019 07:13:01 -0400 In-Reply-To: Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Thu, 26 Sep 2019 11:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 6952 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: unreproducible Mail-Followup-To: 6952@debbugs.gnu.org, stefan@marxist.se, dan.colascione@gmail.com Original-Received: via spool by 6952-done@debbugs.gnu.org id=D6952.15694963229975 (code D ref 6952); Thu, 26 Sep 2019 11:13:01 +0000 Original-Received: (at 6952-done) by debbugs.gnu.org; 26 Sep 2019 11:12:02 +0000 Original-Received: from localhost ([127.0.0.1]:42766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDRgn-0002ak-LB for submit@debbugs.gnu.org; Thu, 26 Sep 2019 07:12:01 -0400 Original-Received: from mail-pg1-f181.google.com ([209.85.215.181]:36879) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDRgk-0002aG-Ox for 6952-done@debbugs.gnu.org; Thu, 26 Sep 2019 07:11:59 -0400 Original-Received: by mail-pg1-f181.google.com with SMTP id c17so1403226pgg.4 for <6952-done@debbugs.gnu.org>; Thu, 26 Sep 2019 04:11:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=pK/ldW8s8jcj1S10TikVv/QdhYBYZElHMyeRsITWJDM=; b=J2LgN4zngTBDcppN6StpsaQCtTb5ZGgGrZh2EzCZtsqOFtLEnK+xxqboejL9dnbWfA 0yS8GOSOw3FKQZOfxghpgWTRV6L2pCbI1fYZ00DX9nogwuuamff2We6m6srbPn9NVi8o ECBqPxCQ30gjlQkDtqz6z8GQotmXbg4iN+fmDbnZFwgMBeTrHxv2pi/2zYo/Po/ipuv0 QY+vIfKcBmZqc/Pi1f5DIxJ2oIfFMaesHoni6wrtrl9+0+vU03Lc7gfOv2kt9sctJTI1 LSxGvLfeUfmvPxVRmX2gv7oqTbO+cKcOULBwnDF43dPqIlaB9x5hmNL/uR1MzuIjK5sg i2+Q== X-Gm-Message-State: APjAAAU3xM/K1JbjztQt1M/PerjoSIw305S1frb2a0Q7Y8DMtJC5d5vn xRgBKaxx05XNpjbNSF8PxWdfDriEUaP38Bay4sM= X-Google-Smtp-Source: APXvYqya3SrRnvMM2f94tYsG+PcZJnK6td2koWYanktzpRSKuG4dnGdhJF8BLJZFh2YXuBlYTFkwdCw76gn5qao5xN4= X-Received: by 2002:a17:90a:1150:: with SMTP id d16mr3096853pje.2.1569496310837; Thu, 26 Sep 2019 04:11:50 -0700 (PDT) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:167223 Archived-At: --00000000000015780d059372d6ad Content-Type: text/plain; charset="UTF-8" Noam Postavsky writes: > tags 6952 + unreproducible > quit > > Daniel Colascione 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 --00000000000015780d059372d6ad Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Noam Postavsky <n= postavs@gmail.com> writes:

> tags 6952 + unreproducible> quit
>
> Daniel Colascione <dan.colascione@gmail.com> writes:
>
>&= gt; 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 visit= ed with
>> jit-lock-chunk-size equal to its default 512.
>> I can't reproduce this, neither by setting jit-lock-chunk-size t= o 512,
> nor with the default of 500.=C2=A0 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.= =C2=A0 If anyone is still seeing this on a modern Emacs, please re-open.
Best regards,
Stefan Kangas
--00000000000015780d059372d6ad--