GNU bug report logs - #27407
25.2; SGR reset is ignored if it terminates Eshell's output

Previous Next

Package: emacs;

Reported by: Pierre Neidhardt <ambrevar <at> gmail.com>

Date: Sat, 17 Jun 2017 11:32:02 UTC

Severity: minor

Tags: fixed, patch

Found in version 25.2

Fixed in version 26.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Pierre Neidhardt <ambrevar <at> gmail.com>
To: npostavs <at> users.sourceforge.net
Cc: 27407 <at> debbugs.gnu.org
Subject: bug#27407: 25.2; SGR reset is ignored if it terminates Eshell's output
Date: Sun, 18 Jun 2017 07:49:17 +0100
On 17-06-17 14:19:54, npostavs <at> users.sourceforge.net wrote:
> You meant enter the text produced with (insert "echo \"\e[33mhello\e[0m\"").

Yes.

I haven't tried your patch, but in the general case Eshell should not extend the
ANSI coloring to the prompt, SGR reset or not. I.e. the following should not
color the prompt:

	(insert "echo \"\e[33mhello")

--
Pierre Neidhardt




This bug report was last modified 8 years and 52 days ago.

Previous Next


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