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: RFC: comint.el - comint-highlight-prompt and unreadable colors Date: 25 Mar 2007 12:53:28 +0200 Organization: Private Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1174820042 8407 80.91.229.12 (25 Mar 2007 10:54:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 25 Mar 2007 10:54:02 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 25 12:53:56 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 1HVQMF-0004g5-VO for ged-emacs-devel@m.gmane.org; Sun, 25 Mar 2007 12:53:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVQON-0006Jq-3k for ged-emacs-devel@m.gmane.org; Sun, 25 Mar 2007 05:56:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HVQOK-0006Hb-J0 for emacs-devel@gnu.org; Sun, 25 Mar 2007 06:56:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HVQOH-00066E-3M for emacs-devel@gnu.org; Sun, 25 Mar 2007 06:56:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVQOG-00065o-Vb for emacs-devel@gnu.org; Sun, 25 Mar 2007 05:56:00 -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 1HVQM8-0007lv-UF for emacs-devel@gnu.org; Sun, 25 Mar 2007 06:53:49 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HVQLx-0007w2-4y for emacs-devel@gnu.org; Sun, 25 Mar 2007 12:53:37 +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 12:53:37 +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 12:53:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 26 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:68525 Archived-At: The color control is turned on by default in 21.3 (which I use in Windows) comint-highlight-prompt This is causing unreadable terminal output when terminal's background is dark. Using xterm/rxvt with custom dark backgound setting makes the Emacs M-x shell buffer quite problematic. Similarly in Windows, the popular Putty terminal by default uses black background. There are two possiblilities 1) comint-highlight-prompt is set to nil by default 2) comint-highlight-prompt face is modified. The current "cyan" is not optimal. Unofrtunately any color could possibly be unreadable in user's selected terminal and background I don't see variable `comint-highlight-prompt' (1) in latest CVS comint.el. I think it should be reintroduced, because sometimes colors are not working correctly and one wants to work in "plain" mode (just like without font-lock). The best solution would be not to turn on any colors by default. Jari