From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: How do I avoid purple-on-black and yellow-on-white? Date: Fri, 07 Feb 2014 21:54:39 +0200 Organization: JURTA Message-ID: <87bnyisnpc.fsf@mail.jurta.org> References: <87r47jybg2.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1391803078 2693 80.91.229.3 (7 Feb 2014 19:57:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Feb 2014 19:57:58 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 07 20:58:06 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WBrYq-0002oR-T7 for ged-emacs-devel@m.gmane.org; Fri, 07 Feb 2014 20:58:05 +0100 Original-Received: from localhost ([::1]:43228 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBrYq-0003qZ-6s for ged-emacs-devel@m.gmane.org; Fri, 07 Feb 2014 14:58:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40264) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBrYg-0003o5-UT for emacs-devel@gnu.org; Fri, 07 Feb 2014 14:58:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBrYa-0007C1-01 for emacs-devel@gnu.org; Fri, 07 Feb 2014 14:57:54 -0500 Original-Received: from [69.163.184.122] (port=53918 helo=ps18281.dreamhostps.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBrYZ-0007Bw-Rc for emacs-devel@gnu.org; Fri, 07 Feb 2014 14:57:47 -0500 Original-Received: from localhost.jurta.org (ps18281.dreamhostps.com [69.163.184.122]) by ps18281.dreamhostps.com (Postfix) with ESMTP id C906D32F8CCBE2 for ; Fri, 7 Feb 2014 11:57:46 -0800 (PST) In-Reply-To: (Bruce Korb's message of "Mon, 3 Feb 2014 16:41:44 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 69.163.184.122 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:169469 Archived-At: > 1. if the background is white, do not use yellow for anything On a graphical display, shell mode often displays illegible yellow-on-white output because the default value of `ansi-color-names-vector' contains "yellow". It would help to use the same color like is used on a text terminal that is "yellow3". Then other colors could be copied from `xterm-standard-colors' as well: === modified file 'lisp/ansi-color.el' --- lisp/ansi-color.el 2014-01-01 07:43:34 +0000 +++ lisp/ansi-color.el 2014-02-07 19:54:27 +0000 @@ -117,7 +117,7 @@ (defcustom ansi-color-faces-vector :group 'ansi-colors) (defcustom ansi-color-names-vector - ["black" "red" "green" "yellow" "blue" "magenta" "cyan" "white"] + ["black" "red3" "green3" "yellow3" "blue2" "magenta3" "cyan3" "gray90"] "Colors used for SGR control sequences determining a color. This vector holds the colors used for SGR control sequences parameters 30 to 37 (foreground colors) and 40 to 47 (background colors).