GNU bug report logs - #73560
[PATCH] fix term color reset handling

Previous Next

Package: emacs;

Reported by: Daniel Colascione <dancol <at> dancol.org>

Date: Mon, 30 Sep 2024 03:31:02 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


Message #10 received at 73560-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Daniel Colascione <dancol <at> dancol.org>
Cc: 73560-done <at> debbugs.gnu.org
Subject: Re: bug#73560: [PATCH] fix term color reset handling
Date: Sat, 05 Oct 2024 13:38:25 +0300
> From: Daniel Colascione <dancol <at> dancol.org>
> Date: Sun, 29 Sep 2024 22:45:22 -0400
> 
> 
> term responds to SGR0 by resetting term-current-face face to the
> foreground and background of the current face instead of omitting these
> attributes entirely.  Consequently, text inserted by term becomes
> "opinionated" about what the foreground and background colors are and if
> the default face changes, already-inserted-by-term text doesn't change
> to match, since it has hardcoded hex color face text properties.
> 
> The patch below makes term behave more like other terminal emulators and
> distinguish the absence of a foreground or background color from
> specifying some specific foreground or background color.

Since this patch was installed on the master branhc, I'm now closing
this bug.

Thanks.




This bug report was last modified 286 days ago.

Previous Next


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