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: Diff mode faces Date: Sun, 19 Jun 2005 16:05:29 +0300 Organization: JURTA Message-ID: <87r7eyqzcy.fsf@jurta.org> References: <87oea5urwm.fsf@jurta.org> <87psujj0h0.fsf@jurta.org> <86hdfv1y9b.fsf@blue.stonehenge.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1119187701 6183 80.91.229.2 (19 Jun 2005 13:28:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 19 Jun 2005 13:28:21 +0000 (UTC) Cc: eliz@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 19 15:28:20 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DjzqW-00038Y-EZ for ged-emacs-devel@m.gmane.org; Sun, 19 Jun 2005 15:28:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DjzwX-0002B6-9w for ged-emacs-devel@m.gmane.org; Sun, 19 Jun 2005 09:34:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DjzuE-0001JE-5T for emacs-devel@gnu.org; Sun, 19 Jun 2005 09:32:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Djzu1-0001C3-Js for emacs-devel@gnu.org; Sun, 19 Jun 2005 09:32:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Djzty-00018D-0t for emacs-devel@gnu.org; Sun, 19 Jun 2005 09:31:54 -0400 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Djzkf-0003mA-LJ; Sun, 19 Jun 2005 09:22:17 -0400 Original-Received: from mail.neti.ee (80-235-34-231-dsl.mus.estpak.ee [80.235.34.231]) by Relayhost1.neti.ee (Postfix) with ESMTP id CCD593CAF; Sun, 19 Jun 2005 16:19:47 +0300 (EEST) Original-To: merlyn@stonehenge.com (Randal L. Schwartz) In-Reply-To: <86hdfv1y9b.fsf@blue.stonehenge.com> (Randal L. Schwartz's message of "18 Jun 2005 08:27:12 -0700") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee 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:39110 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39110 > Juri> Yellow foreground works well for context lines. > > Except when you normally read black on white. For quite a long time (most likely from the time when color translation was implemented for tty) colors of context lines in diff mode on tty were yellow for light backgrounds. There are also other faces with yellow foreground for light backgrounds, like font-lock-variable-name-face. Nobody complained about them so far. So maybe yellow is the acceptable color for context lines. > Is there no way to switch automatically to a proper set of darker > colors when the main text is black instead of white? By default on terminals Emacs background mode is `light', regardless of actual terminal background color, so you don't need to change the background mode when the main text is black on white. -- Juri Linkov http://www.jurta.org/emacs/