GNU bug report logs - #79406
[PATCH] 31.0.50; csharp-ts-mode does not fontify variable-use consistently

Previous Next

Package: emacs;

Reported by: Jostein Kjønigsen <jostein <at> secure.kjonigsen.net>

Date: Mon, 8 Sep 2025 08:36:02 UTC

Severity: normal

Tags: patch

Full log


Message #26 received at 79406 <at> debbugs.gnu.org (full text, mbox):

From: Jostein Kjønigsen <jostein <at> secure.kjonigsen.net>
To: Yuan Fu <casouri <at> gmail.com>
Cc: 79406 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#79406: [PATCH] 31.0.50; csharp-ts-mode does not fontify
 variable-use consistently
Date: Thu, 11 Sep 2025 09:53:55 +0200
[Message part 1 (text/plain, inline)]
> On 10 Sep 2025, at 09:07, Yuan Fu <casouri <at> gmail.com> wrote:
> 
> 
>>>> 
>>>> Can you correlate the syntactic elements with the guidelines in the
>>>> doc string of treesit-font-lock-level?
>> 
>> I'll get back to this once, we're me and Yuan has reached an agreement on the things below.
>> 

I think this should be good now. I've moved the lambda-declaration down into the "function" section, making features semantically contained. 

You OK with this, Eli?

> 
> If you mention it in NEWS I think we’re good.

Done

> 
> If that’s a common practice and you think it looks good, let’s do it.

Done

> Yeah adding a csharp-ts-mode-attribute-face (with inherits variable-use-face) would be good. We don’t need to bother with csharp-ts-mode-attribute-bracket-face, that feels too much customization to me ;-)
> 
> Yuan

Done.

Attached is a patch which I think should address all of the above concerns. Let me know what you think!



—
Kind Regards
Jostein Kjønigsen


[Message part 2 (text/html, inline)]
[0001-csharp-ts-mode-fontification-fixes.patch (application/octet-stream, attachment)]
[Message part 4 (text/html, inline)]

This bug report was last modified 2 days ago.

Previous Next


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