GNU bug report logs - #20084
comint-highlight-prompt overrides ANSI colors in 24.4

Previous Next

Package: emacs;

Reported by: Charles Tam <me <at> charlest.net>

Date: Wed, 11 Mar 2015 16:14:02 UTC

Severity: normal

Tags: confirmed, patch

Merged with 19843, 20658

Found in version 24.4

Fixed in version 25.1

Done: Wolfgang Jenkner <wjenkner <at> inode.at>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Charles Tam <me <at> charlest.net>
Subject: bug#20084: closed (Re: bug#20084: comint-highlight-prompt
 overrides ANSI colors in 24.4)
Date: Tue, 31 Mar 2015 15:54:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#20084: comint-highlight-prompt overrides ANSI colors in 24.4

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 20084 <at> debbugs.gnu.org.

-- 
20084: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20084
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Wolfgang Jenkner <wjenkner <at> inode.at>
Cc: 20084-done <at> debbugs.gnu.org
Subject: Re: bug#20084: comint-highlight-prompt overrides ANSI colors in 24.4
Date: Tue, 31 Mar 2015 17:01:22 +0200
After 792d44b, things should work as described by the OP.  If this is
not the case, please re-open.  This change is only in the master branch
and has not been back-ported to emacs-24.  So, presumably, 25.1 will be
the first release where this works.

[Message part 3 (message/rfc822, inline)]
From: Charles Tam <me <at> charlest.net>
To: bug-gnu-emacs <at> gnu.org
Subject: comint-highlight-prompt overrides ANSI colors in 24.4
Date: Wed, 11 Mar 2015 12:01:38 -0400
[Message part 4 (text/plain, inline)]
In Emacs 24.3, comint-highlight-prompt allows ANSI colors to show through
if it does not specify any colors itself. In Emacs 24.4, it does not, even
if comint-highlight-prompt is the "empty face".

To reproduce, set PS1 to something containing ANSI color codes. M-x shell
(and M-x ansi-color-for-comint-mode-on if necessary). Then use ls --color.
In my case the color in the prompt is ignored, but the output of ls --color
has the expected hues.
[Message part 5 (text/html, inline)]

This bug report was last modified 10 years and 3 days ago.

Previous Next


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