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 #56 received at 78263 <at> debbugs.gnu.org (full text, mbox):

From: Jared Finder <jared <at> finder.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Stéphane Zermatten <szermatt <at> gmail.com>, 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: Wed, 04 Jun 2025 22:49:07 -0700
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.