GNU bug report logs - #77872
[PATCH 1/2] ansi-term: ignore CSI commands with subparams

Previous Next

Package: emacs;

Reported by: Johannes Altmanninger <aclopte <at> gmail.com>

Date: Thu, 17 Apr 2025 18:50:05 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Jared Finder <jared <at> finder.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 77872 <at> debbugs.gnu.org, Johannes Altmanninger <aclopte <at> gmail.com>
Subject: bug#77872: [PATCH 1/2] ansi-term: ignore CSI commands with subparams
Date: Sat, 19 Apr 2025 08:15:20 -0700
On 2025-04-18 04:40, Eli Zaretskii wrote:
>> Date: Fri, 18 Apr 2025 11:00:37 +0200
>> From: Johannes Altmanninger <aclopte <at> gmail.com>
>> Cc: Jared Finder <jared <at> finder.org>, 77872 <at> debbugs.gnu.org
>> 
>> If it's not acceptable to ignore curly underline sequences, I can
>> probably also implement them in term.el (i.e. actually recognize
>> \e[4:3m).
> 
> That might be better, but won't it slow down ansi-term?

I wouldn't be worried about this. The affected code 
(term-handle-ansi-escape) is only called for \e[ escape sequences and 
already parses the entire escape sequence string.

  -- MJF




This bug report was last modified 120 days ago.

Previous Next


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