From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#61275: c-ts-mode: (eq treesit-font-lock-level 2) doesn't fontify parameter names. Date: Sat, 04 Feb 2023 19:20:01 +0200 Message-ID: <83edr5tkji.fsf@gnu.org> References: <83leldtllg.fsf@gnu.org> <83h6w1tku0.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11134"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61275@debbugs.gnu.org To: acm@muc.de, Theodor Thornhill , Yuan Fu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 04 18:21:33 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pOMEH-0002hk-Ph for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Feb 2023 18:21:33 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pOME6-000428-KG; Sat, 04 Feb 2023 12:21:22 -0500 Original-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 ) id 1pOMDm-0003zu-Hn for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2023 12:21:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pOMDl-0002D2-SS for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2023 12:21:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pOMDl-0000Zo-OC for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2023 12:21:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Feb 2023 17:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61275 X-GNU-PR-Package: emacs Original-Received: via spool by 61275-submit@debbugs.gnu.org id=B61275.16755312052113 (code B ref 61275); Sat, 04 Feb 2023 17:21:01 +0000 Original-Received: (at 61275) by debbugs.gnu.org; 4 Feb 2023 17:20:05 +0000 Original-Received: from localhost ([127.0.0.1]:43357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOMCq-0000Y1-K1 for submit@debbugs.gnu.org; Sat, 04 Feb 2023 12:20:04 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:36800) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOMCm-0000XO-27 for 61275@debbugs.gnu.org; Sat, 04 Feb 2023 12:20:02 -0500 Original-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 ) id 1pOMCf-0001p0-Sd; Sat, 04 Feb 2023 12:19:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=xRtWFCDf4LbIWFj16YykwAYzo2QZDjkTvOqyYAXoJrQ=; b=qTvOmBZbpYCo 1Cht/TjVUqOJRDiDpyIHuAMF2jAwgZFde64sqFM6qCfP5MFV/vkLwjOZOBtnFhAd9RJEg9pPl3pl9 l405DbcBW3q951JMMkZxLk32x8fje+ijGSlQ0MM3r2un7FD9+MGP9PT58TlrApKnHG0vTroFXDJC5 8UifgZxKqVGle+C8WakWJj9Do25YIdCTv50ElykfSydyoAJa5vGWieOSpJLhcVxqxZt0EtaKhX3Zu L6Fd07ivycoDwXjYDNwy0TVl7cD/DUTKdO1h+gYqbUS9EMxRunfNMDjEfnGOzIwMJjLkVdZ24KeFJ XXql/v4lNtGN8s5S51VAAQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pOMCe-0006ot-Ok; Sat, 04 Feb 2023 12:19:53 -0500 In-Reply-To: <83h6w1tku0.fsf@gnu.org> (message from Eli Zaretskii on Sat, 04 Feb 2023 19:13:43 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:254785 Archived-At: > Cc: 61275@debbugs.gnu.org > Date: Sat, 04 Feb 2023 19:13:43 +0200 > From: Eli Zaretskii > > > Date: Sat, 4 Feb 2023 17:00:45 +0000 > > Cc: 61275@debbugs.gnu.org > > From: Alan Mackenzie > > > > > By "the definition of bar", do you mean this: > > > > > int foo (int bar) > > > ^^^ > > > > Yes, that's precisely what I meant. > > I believe this is known as "parameter declaration". More accurately, you want the parameter identifiers which are part of parameter declarations to be fontified using the font-lock-variable-name-face. I hope Yuan or Theo could look into this soon.