From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jari Aalto Newsgroups: gmane.emacs.devel Subject: Re: RFC: comint.el - comint-highlight-prompt and unreadable colors Date: 25 Mar 2007 17:18:51 +0200 Organization: Private Message-ID: References: <87y7llxxdu.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1174845693 26291 80.91.229.12 (25 Mar 2007 18:01:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 25 Mar 2007 18:01:33 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 25 20:01:27 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HVX1m-00086X-69 for ged-emacs-devel@m.gmane.org; Sun, 25 Mar 2007 20:01:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVX3t-0001ex-Ip for ged-emacs-devel@m.gmane.org; Sun, 25 Mar 2007 13:03:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HVUY9-0006GI-K4 for emacs-devel@gnu.org; Sun, 25 Mar 2007 11:22:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HVUY1-0006F0-Vs for emacs-devel@gnu.org; Sun, 25 Mar 2007 11:22:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVUY1-0006Ev-QV for emacs-devel@gnu.org; Sun, 25 Mar 2007 10:22:21 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HVUVc-0005Uq-8c for emacs-devel@gnu.org; Sun, 25 Mar 2007 11:20:08 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HVUUj-00006m-7X for emacs-devel@gnu.org; Sun, 25 Mar 2007 17:18:57 +0200 Original-Received: from a81-197-175-198.elisa-laajakaista.fi ([81.197.175.198]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 25 Mar 2007 17:18:57 +0200 Original-Received: from jari.aalto by a81-197-175-198.elisa-laajakaista.fi with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 25 Mar 2007 17:18:57 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 32 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: a81-197-175-198.elisa-laajakaista.fi User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:68532 Archived-At: Miles Bader writes: > Jari Aalto writes: > > > I don't see variable `comint-highlight-prompt' (1) in latest CVS > > comint.el. I think it should be reintroduced > > Comint highlighting now respects font-lock-mode like other modes, so no > special variable should be necessary. Ok. > > The best solution would be not to turn on any colors by default. > > No. If you have a wacky environment, it's your problem. The default color selected is still a problem for completely black background. Would there be better alternative to currently used "cyan"? Like using "dark green"? The current definition reads: (defface comint-highlight-prompt '((((background dark)) (:foreground "cyan")) (t (:foreground "dark blue"))) "Face to use to highlight prompt when `comint-highlight-prompt' is non-nil." :group 'comint) Jari