GNU bug report logs - #76684
31.0.50; c-ts-mode no longer provides fontification

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Eli Zaretskii <eliz@HIDDEN>; Done: Yuan Fu <casouri@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 76684-done <at> debbugs.gnu.org:


Received: (at 76684-done) by debbugs.gnu.org; 4 Mar 2025 23:26:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 04 18:26:35 2025
Received: from localhost ([127.0.0.1]:33512 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tpbel-0001hZ-DB
	for submit <at> debbugs.gnu.org; Tue, 04 Mar 2025 18:26:35 -0500
Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]:53754)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <casouri@HIDDEN>) id 1tpbej-0001hG-8K
 for 76684-done <at> debbugs.gnu.org; Tue, 04 Mar 2025 18:26:34 -0500
Received: by mail-pl1-x632.google.com with SMTP id
 d9443c01a7336-2238e884f72so60893365ad.3
 for <76684-done <at> debbugs.gnu.org>; Tue, 04 Mar 2025 15:26:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1741130787; x=1741735587; darn=debbugs.gnu.org;
 h=to:references:message-id:content-transfer-encoding:cc:date
 :in-reply-to:from:subject:mime-version:from:to:cc:subject:date
 :message-id:reply-to;
 bh=yrSmhU3InWrMksNGda6Ua8H3GOIVr1u7Pv6txJO5Fj4=;
 b=ekH/FPvfjvom71ApKYOxPTAAVwuvyQkI3z9KKqusY1coPaAr5Eal42Qj1oqQ8stF8O
 Qx0HtCZSgWTGfmsQymyzln3cAVI/ZMO7W8ajGSOzmHcyvejVCtPsIN/PAoVVmsYsoekA
 wPN7LuUE9S6/qgHxED4mq85Qt5vcvnEUAN2iwYx4I8zjHJDhmbvLUt8/zVKGreGwtzLv
 bWXl4GIMgXf/csJ1hP1MoqklmEYxbbKXaNLIpkT9JgMgBc5hSqsexF3F/ZMc4S1kjebT
 52bPromViN2f3YQaX/RIa4wE+gBaBEoAp9PEbd6Wce81szyB3x6oMh9HywMDTehH7QKI
 IhEg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1741130787; x=1741735587;
 h=to:references:message-id:content-transfer-encoding:cc:date
 :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=yrSmhU3InWrMksNGda6Ua8H3GOIVr1u7Pv6txJO5Fj4=;
 b=HCg6GGlX55Lne5DpV86BjfN8z8nE1OkZ/Xiu6RyxMZ7aZ4vppu1I5aXT9m+mJI+27j
 ZP1tpbBMiIcJue48ab6IuhueG7/6Wn5i+eD3tfT+7/KmdsBLWmABPyoMMyj8ExpVvA23
 gMDxA33SzUGWO5xKMwfCodV7BsINRSgoCjweszkMQgRadvDcl1Ezsop6VT9Gg4WFd3Po
 83KCIR3g/FCtTQPBhdhO+3FjIdQrz0LXqq7lL65Eo+j0H1+JubWa9xfn/SRk65pbYyuP
 zxHYCqzdRkHMaOZ4fOSCxBs/6g7JPMdd1tZays/y4/XCViBla8tgeKmcS6VfZ3lX3Wmr
 ec0A==
X-Gm-Message-State: AOJu0YyKMyYMOWZwi+3cIoLyQDGreQf/igTaRBJCp1NoqERz+VrvHJQD
 +CZsSMtLT9eHi1tQIliQXOn2BkrDG1FEFpJA1fr/GnzP7yjyhWG6
X-Gm-Gg: ASbGncsXX2N88cfJT5jKcAJt4jDkREuxbacdi7pa3enP0Ivv84APeDFenZ4v94WufWU
 UG8g5UQ+hKxfln3tepCHPXM1+J3j98/KX84zFEj4lK3XkPPVR5+ikaX7dsa89MizjOQzlfhTtTZ
 qrzCmPUJ8Vsa3pHJJuLbPkhQLwzwioV6cJYNBkqtAHvUaPBbxTtGLFwUKYaAptys7Gxvge2dhFh
 viSynU1rOLOzrPpqwh4lH2G+zCMPNZRI1/IE+RDFEtcK9TV09UPaZv7dHvZRTpP0Eiy8UUk00g/
 ZD56bQf3i+x9vTIGsqFkJXQPMiG9sMkoA+PEMEcQm4bIMzkhHxj698Vpcslf5tIGmYmL
X-Google-Smtp-Source: AGHT+IG0zhfgCLwDLyazKfQmejz3198waUXV41/GOu5f4lo70c/zGW8HI0sGIIlHshMSjtGW0AAI/w==
X-Received: by 2002:a17:902:f683:b0:223:5de7:6c81 with SMTP id
 d9443c01a7336-223f1c9a74amr15753555ad.27.1741130787156; 
 Tue, 04 Mar 2025 15:26:27 -0800 (PST)
Received: from smtpclient.apple ([2601:646:8f81:6120:c004:4d68:8d79:7ea8])
 by smtp.gmail.com with ESMTPSA id
 d9443c01a7336-2235050d7c1sm101492605ad.198.2025.03.04.15.26.26
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Tue, 04 Mar 2025 15:26:26 -0800 (PST)
Content-Type: text/plain;
	charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\))
Subject: Re: bug#76684: 31.0.50; c-ts-mode no longer provides fontification
From: Yuan Fu <casouri@HIDDEN>
In-Reply-To: <861pvfo80j.fsf@HIDDEN>
Date: Tue, 4 Mar 2025 15:26:13 -0800
Content-Transfer-Encoding: quoted-printable
Message-Id: <52C474E1-E250-4077-9F9D-6C707D277C15@HIDDEN>
References: <861pvfo80j.fsf@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
X-Mailer: Apple Mail (2.3776.700.51)
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 76684-done
Cc: 76684-done <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


> On Mar 2, 2025, at 5:51=E2=80=AFAM, Eli Zaretskii <eliz@HIDDEN> =
wrote:
>=20
> From: eliz@HIDDEN
> --text follows this line--
> To reproduce:
>=20
>  emacs -Q
>  C-x C-f src/dispnew.c RET
>  M-x c-ts-mode RET
>=20
> and watch in disbelief how the fontifications are gone...
>=20
> This is a (recent, I think) regression on master: it still works okay
> on the release branch.
>=20
> Can this be fixed ASAP, please?

Oops, I think it=E2=80=99s due to my recent change to local parsers. I =
for some reason have c-ts-mode-emacs-sources-support turned off in my =
local config and missed the regression.

It should be fixed now.

Yuan




Notification sent to Eli Zaretskii <eliz@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Yuan Fu <casouri@HIDDEN>:
You have taken responsibility. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 2 Mar 2025 13:51:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 02 08:51:51 2025
Received: from localhost ([127.0.0.1]:56164 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tojjT-0006nI-H1
	for submit <at> debbugs.gnu.org; Sun, 02 Mar 2025 08:51:51 -0500
Received: from lists.gnu.org ([2001:470:142::17]:39574)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1tojjQ-0006mR-L0
 for submit <at> debbugs.gnu.org; Sun, 02 Mar 2025 08:51:49 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1tojjJ-0000bN-D3
 for bug-gnu-emacs@HIDDEN; Sun, 02 Mar 2025 08:51:41 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1tojjJ-0007P3-55
 for bug-gnu-emacs@HIDDEN; Sun, 02 Mar 2025 08:51:41 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=Subject:To:From:Date:mime-version:in-reply-to:
 references; bh=3O7nwoTTboIsgv0leIZKyrQuD53aoNxtxNbqV9fMZOI=; b=WL6TcNHxd2dLOl
 SSMdtWuct99jfXiZbXgfDBvjlukZcBR1pPooxiWhg3uQCXwWOxEGpACsV287X/tFdH9L7E+DKZLr2
 hmhDUQkyQQk3c81H1O18Vrh1INi0+6UGWN2ERaDYmEdZkNVJel4Bbl8+ngj7oYi8a7Mpp+ZknCMvx
 5FeA5KHttFaT1192hZnwxmffGt3GbzUiLcrvDuq1LltpZSA4IjQRZ9so4pAbKHaFJprnzr+3jcSq+
 7IbvFj/HuieIIs7mnmw2XSydD59fThAwt7eNyLXY9IoOFmUBa1LNmOOgqdbAwkntbr5RKiWR6msTU
 xTkeIyjrT8W8uVczDK0A==;
Date: Sun, 02 Mar 2025 15:51:40 +0200
Message-Id: <861pvfo80j.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 31.0.50; c-ts-mode no longer provides fontification
X-Debbugs-Cc: Yuan Fu <casouri@HIDDEN>
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

From: eliz@HIDDEN
--text follows this line--
To reproduce:

  emacs -Q
  C-x C-f src/dispnew.c RET
  M-x c-ts-mode RET

and watch in disbelief how the fontifications are gone...

This is a (recent, I think) regression on master: it still works okay
on the release branch.

Can this be fixed ASAP, please?


In GNU Emacs 31.0.50 (build 684, i686-pc-mingw32) of 2025-03-02 built on
 ELIZ-PC
Repository revision: c73003ade161a50728aa15cc10967ad04fe90b05
Repository branch: master
Windowing system distributor 'Microsoft Corp.', version 10.0.26100
System Description: Microsoft Windows 10 Enterprise (v10.0.2009.26100.3194)

Configured using:
 'configure -C --prefix=/d/usr --with-wide-int
 --without-native-compilation --enable-checking=yes,glyphs 'CFLAGS=-O0
 -gdwarf-4 -g3''

Configured features:
ACL GIF GMP GNUTLS HARFBUZZ JPEG LCMS2 LIBXML2 MODULES NOTIFY W32NOTIFY
PDUMPER PNG RSVG SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS
TREE_SITTER WEBP XPM ZLIB

Important settings:
  value of $LANG: ENU
  locale-coding-system: cp1252

Major mode: C/*

Minor modes in effect:
  bug-reference-prog-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-regexp-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug lisp-mnt message mailcap yank-media puny
dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg
rfc6068 epg-config gnus-util text-property-search time-date subr-x
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr
mail-utils cl-seq c++-ts-mode c-ts-mode c-ts-common treesit vc-git
diff-mode track-changes easy-mmode files-x vc vc-dispatcher
bug-reference byte-opt gv bytecomp byte-compile thingatpt cc-mode
cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars
cc-defs cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren
electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
touch-screen dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars
term/common-win tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode lisp-mode prog-mode register
page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer nadvice seq simple cl-generic indonesian philippine
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp
files window text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget keymap hashtable-print-readable backquote
threads w32notify w32 lcms2 multi-tty move-toolbar make-network-process
tty-child-frames emacs)

Memory information:
((conses 16 87910 17850) (symbols 48 10402 0) (strings 16 29222 2845)
 (string-bytes 1 835511) (vectors 16 16397)
 (vector-slots 8 171715 8837) (floats 8 28 3) (intervals 40 1002 102)
 (buffers 896 11))




Acknowledgement sent to Eli Zaretskii <eliz@HIDDEN>:
New bug report received and forwarded. Copy sent to casouri@HIDDEN, bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to casouri@HIDDEN, bug-gnu-emacs@HIDDEN:
bug#76684; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 4 Mar 2025 23:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.