Subject: bug#57821: 29.0.50; ANSI sequence not filtered in compilation buffer

From: Matthias Meulien <[email-masked]>
Date: Sun, 18 Sep 2022 15:42:35 +0200

Lars Ingebrigtsen <[email-masked]> writes:

> Matthias Meulien <[email-masked]> writes:
>
>> 😁 Sure.  Here are updated patches.  I also fixed the aliases: One was
>> missing (comint-osc-handlers) and one name was wrong
>> (comint-osc-hyperlink).
>
> Thanks; pushed to Emacs 29.

Sorry for the warning... I forgot to check `make' output...

>> Note that I've not written any News entry.  Should I? For each patch?
>
> I think one NEWS entry would be enough...

Here it is:

diff --git a/etc/NEWS b/etc/NEWS
index ae3f84c1b9..a8101da229 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2440,6 +2440,18 @@ The old name is still available as an obsolete function alias.
 
 * New Modes and Packages in Emacs 29.1
 
+*** New package 'osc'.
+Support for OSC ("Operating System Command") espace sequences has been
+extracted from 'comint.el' in order to provide interpretation of OSC
+escape sequences in compilation buffers.
+
+Adding the new function 'osc-compilation-filter' to
+'compilation-filter-hook' enables interpretation of OSC ("Operating
+System Command") escape sequences in compilation buffers. By default,
+all sequences are filtered out.
+
+A handler for OSC 2, the command to set a window title, is provided.
+
 +++
 ** New commands 'image-crop' and 'image-elide'.
 These commands allow interactively cropping/eliding the image at
 
-- 
Matthias