GNU bug report logs - #78263
[PATCH 1/3] Ignore OSC sequences in term instead of printing them

Previous Next

Package: emacs;

Reported by: Stephane Zermatten <szermatt <at> gmail.com>

Date: Mon, 5 May 2025 15:21:02 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Full log


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

From: Stéphane Zermatten <szermatt <at> gmail.com>
To: Jared Finder <jared <at> finder.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, Per Bothner <per <at> bothner.com>,
 78263 <at> debbugs.gnu.org
Subject: Re: bug#78263: [PATCH 1/3] Ignore OSC sequences in term instead of
 printing them
Date: Fri, 6 Jun 2025 11:28:33 +0300
[Message part 1 (text/plain, inline)]
I just got confirmation that the copyright assignent paperwork is complete.

Here’s an updated version of the patch, with: 
 - 2 sentence formatting fixes
 - term-osc-handlers just a defvar instead of a defcustom


[0001-Handle-OSC-sequences-in-term-bug-78263.patch (application/octet-stream, attachment)]
[Message part 3 (text/plain, inline)]


> On 5 Jun 2025, at 08:49, Jared Finder <jared <at> finder.org> wrote:
> 
> On 2025-06-04 22:29, Eli Zaretskii wrote:
>> Please fix those nits, and then we should wait for your
>> copyright-assignment paperwork to be completed, and for Jared to
>> respond to your previous message.
> 
> I think Stéphane's latest patch addressed my question about using ansi-osc-handlers in term.  I saw this new code in it:
> 
> +                            (when-let* ((func (cdr (or (assoc-string
> +                                                        code term-osc-handlers)
> +                                                       (assoc-string
> +                                                        code ansi-osc-handlers)))))
> 
> Which looks right to me.  When we want to have different handlers for term vs *compilation* buffers, we can just add a different handler to each variable.
> 
>  -- MJF


This bug report was last modified 3 days ago.

Previous Next


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