[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: every release of emacs, i have to fix comint
From: |
Eli Zaretskii |
Subject: |
Re: every release of emacs, i have to fix comint |
Date: |
Sat, 04 May 2019 13:14:42 +0300 |
> From: Samuel Wales <samologist@gmail.com>
> Date: Wed, 1 May 2019 15:03:22 -0700
>
> a few releases ago, like 23 or 24, shell mode prompts stopped showing
> the beautiful colors set up in .bashrc or .profile or wherever they
> are set.
>
> instead, the prompt was set to a new face, in a single color.
>
> to fix it, i have to copy comint.el and quote out a couple of lines,
> which i do haphazardly but works.
>
> for example:
>
> ;; alpha
> '(add-text-properties prompt-start (point) '(rear-nonsticky t)))
>
> is there a variable someplace that says "please don't chnge my bash prompt"?
It seems the prompt highlighting was originally controlled by a user
option, but then was made unconditional 17 years ago.
I suggest to file a feature request bug report to make the
highlighting conditional again.