GNU bug report logs - #77846
[PATCH ]31.0.50; C# dotnet compiler output incorrectly handled by compilation-mode

Previous Next

Package: emacs;

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

Date: Wed, 16 Apr 2025 18:26:03 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jostein Kjønigsen <jostein <at> secure.kjonigsen.net>
Cc: 77846 <at> debbugs.gnu.org
Subject: bug#77846: [PATCH ]31.0.50; C# dotnet compiler output incorrectly handled by compilation-mode
Date: Thu, 17 Apr 2025 08:52:42 +0300
> From: Jostein Kjønigsen <jostein <at> secure.kjonigsen.net>
> Date: Wed, 16 Apr 2025 20:24:44 +0200
> 
> When using Emacs to compile a modern C# project, one uses the dotnet CLI to do so (dotnet build).
> 
> The output from recent dotnet CLI versions are (unfortunately) optmized for "fancyness" these days, which means it contains various escape sequences.
> 
> The current regexp in compilation-mode incorrectly includes this escape sequence for the first error reported, making navigation to the first error found fail.
> 
> Attached is a patch which excludes this escape sequence from the captured value, fixing navigation again.

Thanks, but please also update etc/compilation.txt accordingly.




This bug report was last modified 19 days ago.

Previous Next


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