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: Mattias Engdegård <mattias.engdegard <at> gmail.com>
To: Jostein Kjønigsen <jostein <at> secure.kjonigsen.net>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 77846 <at> debbugs.gnu.org
Subject: bug#77846: [PATCH ]31.0.50; C# dotnet compiler output incorrectly handled by compilation-mode 
Date: Fri, 18 Apr 2025 17:14:54 +0200
+          (optional (seq "{ESC}=")) ; escape sequence sometimes found on first line of output

Please keep lines within 80 columns, and don't put actual control chars in source code; use escape sequences. You don't need the `seq`.
Something like

+          (opt "\e=")  ; sequence sometimes found on first line of output

perhaps.

As Eli remarked we'd like to see an example in compilation.txt, and just as important is adding a test case in compile-tests.el.

It would also be useful to know precisely what that escape sequence is supposed to be doing. As far as I can tell, `ESC =` is the DECKPAM sequence that puts the keypad in application mode, which makes no sense at all in this context.

Perhaps it's compilation-filter-hook that really should be used to filter it out, and other sequences like it?





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.