unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Eli Zaretskii <eliz@gnu.org>,
	acm@muc.de, Theodor Thornhill <theo@thornhill.no>,
	Yuan Fu <casouri@gmail.com>
Cc: 61275-done@debbugs.gnu.org
Subject: bug#61275: c-ts-mode: (eq treesit-font-lock-level 2) doesn't fontify parameter names.
Date: Sat, 4 Feb 2023 22:54:04 +0200	[thread overview]
Message-ID: <1879994d-43cb-87a2-6316-cc6c2805a82c@yandex.ru> (raw)
In-Reply-To: <83edr5tkji.fsf@gnu.org>

Version: 29.1

On 04/02/2023 19:20, Eli Zaretskii wrote:
>> Cc:61275@debbugs.gnu.org
>> Date: Sat, 04 Feb 2023 19:13:43 +0200
>> From: Eli Zaretskii<eliz@gnu.org>
>>
>>> Date: Sat, 4 Feb 2023 17:00:45 +0000
>>> Cc:61275@debbugs.gnu.org
>>> From: Alan Mackenzie<acm@muc.de>
>>>
>>>> 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.

I've installed the patch previously posted to emacs-devel. It should 
take care of c-ts-mode and c++-ts-mode.





  reply	other threads:[~2023-02-04 20:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-04 16:27 bug#61275: c-ts-mode: (eq treesit-font-lock-level 2) doesn't fontify parameter names Alan Mackenzie
2023-02-04 16:57 ` Eli Zaretskii
2023-02-04 17:00   ` Alan Mackenzie
2023-02-04 17:13     ` Eli Zaretskii
2023-02-04 17:20       ` Eli Zaretskii
2023-02-04 20:54         ` Dmitry Gutov [this message]
2023-02-04 20:59           ` Alan Mackenzie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1879994d-43cb-87a2-6316-cc6c2805a82c@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=61275-done@debbugs.gnu.org \
    --cc=acm@muc.de \
    --cc=casouri@gmail.com \
    --cc=eliz@gnu.org \
    --cc=theo@thornhill.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).