unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: every release of emacs, i have to fix comint
Date: Sat, 04 May 2019 13:14:42 +0300	[thread overview]
Message-ID: <83sgtule5p.fsf@gnu.org> (raw)
In-Reply-To: <CAJcAo8vkfwVwxTzyor6=z+kGLQWvWGMcM=PFC4jUdtxkm3XRrA@mail.gmail.com> (message from Samuel Wales on Wed, 1 May 2019 15:03:22 -0700)

> 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.



      parent reply	other threads:[~2019-05-04 10:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-01 22:03 every release of emacs, i have to fix comint Samuel Wales
2019-05-03  5:56 ` Andreas Seltenreich
2019-05-03 23:40 ` Samuel Wales
2019-05-06  7:03   ` Tadeus Prastowo
2019-05-04 10:14 ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83sgtule5p.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).