emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: comint fix for shell colors


From: Wolfgang Jenkner
Subject: Re: comint fix for shell colors
Date: Fri, 18 Nov 2016 15:25:41 +0100
User-agent: Heirloom mailx 12.4 7/29/08

Eli Zaretskii <address@hidden> wrote:

> > From: Erik Selberg <address@hidden>
> > Date: Mon, 14 Nov 2016 23:14:25 -0800
> > 
> > I've been trying to use shell (vs term / mult-term) with bash / zsh and my 
> > color prompts. In comint,
> > comint-highlight-prompt clobbers the colors. I made the following patch 
> > against 24.5 but I see comint has
> > been updated in 25. What's the right process for adding this for 25? This 
> > is solved for me locally, but seems
> > something that could be added for all.
>
> Please rebase the patch on the current master branch and resubmit.

In emacs-25 and master comint-highlight-prompt is prepended to
ansi-color faces used for highlighting prompts.  The user has just
to customize the comint-highlight-prompt face so that it doesn't
inherit from minibuffer-prompt and it won't clobber anything.  See

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20084

commit 792d44b3c31d2a682607ab8b79ae7d26b7402f41

So I think there's nothing to do here execept perhaps for documenting
something.

Wolfgang





reply via email to

[Prev in Thread] Current Thread [Next in Thread]