From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: face at point Date: Tue, 19 Nov 2002 08:56:30 +0200 (IST) Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <1mlm3qdql1.fsf@Tempo.Update.UU.SE> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1037689370 22959 80.91.224.249 (19 Nov 2002 07:02:50 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 19 Nov 2002 07:02:50 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18E2PI-0005y9-00 for ; Tue, 19 Nov 2002 08:02:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 18E2Jw-0006IT-00; Tue, 19 Nov 2002 01:57:16 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 18E2JK-00067C-00 for help-gnu-emacs@gnu.org; Tue, 19 Nov 2002 01:56:38 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 18E2JG-00066m-00 for help-gnu-emacs@gnu.org; Tue, 19 Nov 2002 01:56:37 -0500 Original-Received: from is.elta.co.il ([199.203.121.2]) by monty-python.gnu.org with esmtp (Exim 4.10) id 18E2JE-00063t-00 for help-gnu-emacs@gnu.org; Tue, 19 Nov 2002 01:56:33 -0500 Original-Received: from is (is [199.203.121.2]) by is.elta.co.il (8.9.3/8.8.8) with SMTP id IAA10983 for ; Tue, 19 Nov 2002 08:56:30 +0200 (IST) X-Sender: eliz@is Original-To: help-gnu-emacs@gnu.org In-Reply-To: <1mlm3qdql1.fsf@Tempo.Update.UU.SE> Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3750 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3750 On 19 Nov 2002, Fredrik Staxeng wrote: > Miles Bader writes: > > >As Eli said in an earlier message, there is an informal policy to try > >to keep the light-background and dark-background variants of a face at > >least `similar,' which sometimes complicates things. > ^^^^^^^ > > This is neither possible or desirable. I think it's desirable whenever it's possible ;-) That is, if we can come up with similar foreground colors that look well on both light and dark backgrounds, there's nothing wrong with using them. When it's impossible to have similar colors on both types of background, Emacs defines different colors. The rationale for using similar colors is so that users won't need to relearn the meaning of each color when they switch background modes. For example, if a face for comments is always reddish, it helps the users to find comments quickly in any mode on any display. By contrast, if a comment is sometimes reddish and sometimes greenish, users might get confused, and documentation is hard to write. > A black background needs > a light foreground color, and vice versa. Sure, but they could be dark and light shades of the same or similar colors. > Yellow work against > black background, but there is no yellowish color that works > against white. Really? Aren't dark goldenrod or similar look good enough on light background? Are you saying that there's _no_ color in what `list-colors-display' produces that's yellowish and is reasonably readable on light background? > Cyan and magenta work a _tiny_ bit better, you > can read the text, but they still don't make good foregrounds > on white. I find that several shades of magenta are readable on the default light background Emacs presents on X.