GNU bug report logs - #75580
30.0.93; statements inside string interpolation for csharp modes are fontified incorrectly

Previous Next

Package: emacs;

Reported by: Sami Batuhan Basmaz Ölmez <sb.basmazolmez <at> gmail.com>

Date: Wed, 15 Jan 2025 14:37:01 UTC

Severity: minor

Found in version 30.0.93

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Jostein Kjønigsen <jostein <at> secure.kjonigsen.net>
To: Jostein Kjønigsen <jostein <at> fastmail.fm>,
 Eli Zaretskii <eliz <at> gnu.org>
Cc: jostein <at> kjonigsen.net, Yuan Fu <casouri <at> gmail.com>,
 sb.basmazolmez <at> gmail.com, theo <at> thornhill.no, 75580 <at> debbugs.gnu.org
Subject: Re: bug#75580: 30.0.93; statements inside string interpolation for
 csharp modes are fontified incorrectly
Date: Sat, 1 Feb 2025 22:20:54 +0100
[Message part 1 (text/plain, inline)]
On 2/1/25 13:06, Jostein Kjønigsen wrote:
> I don’t remember exactly why things ended up the way they did to be honest.
>
> I tried tweaking around with the rules to see if I could get better results, but ended up with different kinds of regressions.

I had time for a little effort. :)

Attached is a pretty minimal patch which seems to work for me. I've 
guarded the changes behind a grammar-check, but I must admit I'm not 
sure if that is needed or not.

Basically I remove the override, and add more specific rules for the 
parts which goes "missing" without it.

Anyone have any opinions on the form of patch? Anyone want to do any 
additional testing?

Let me know! If not, I guess Eli you can install this at your own leisure.

--
Jostein
[0001-lisp-progmodes-csharp-mode.el-Improve-string-interpo.patch (text/x-patch, attachment)]

This bug report was last modified 160 days ago.

Previous Next


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