GNU bug report logs - #57821
29.0.50; ANSI sequence not filtered in compilation buffer

Previous Next

Package: emacs;

Reported by: Matthias Meulien <orontee <at> gmail.com>

Date: Thu, 15 Sep 2022 08:25:01 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Matthias Meulien <orontee <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 57821 <at> debbugs.gnu.org
Subject: Re: bug#57821: 29.0.50; ANSI sequence not filtered in compilation
 buffer
Date: Sat, 17 Sep 2022 19:21:10 +0200
[Message part 1 (text/plain, inline)]
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Matthias Meulien <orontee <at> gmail.com> writes:
>
>> The OSC sequences sent by flatpak-builder are meant to update the window
>> title (See https://terminalguide.namepad.de/seq/osc-2/).  I plan to
>> provide an osc-compilation-filter (modelled on
>> ansi-color-compilation-filter) to be added to compilation-filter-hook.
>>
>> One possible mode is to filter out all osc sequences.  An other mode
>> would be to call per command handlers as done by
>> comint-osc-process-output.
>>
>> Any thought?
>
> The default could be to filter out all unknown OSC sequences?

Here are three patchs that:
- Extract current support of OSC escape sequences from comint.el
- Handle OSC command to set window title
- Provide an OSC escape sequences filter for compilation buffer

[0001-Extract-support-of-OSC-escape-sequences-from-comint.patch (text/x-diff, attachment)]
[0002-Handle-OSC-command-to-set-window-title.patch (text/x-diff, attachment)]
[0003-OSC-escape-sequences-filter-for-compilation-buffer.patch (text/x-diff, attachment)]
[Message part 5 (text/plain, inline)]
The second patch obsolete the one provided in bug#57866.

Matthias

This bug report was last modified 2 years and 246 days ago.

Previous Next


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