Subject: bug#77846: [PATCH ]31.0.50; C# dotnet compiler output incorrectly handled by compilation-mode

From: Mattias Engdegård <[email-masked]>
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?