delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/06/17/13:54:27

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=Mx9+vPecXzBARYkC
z6x2+Yr9a2nz+CxjrU5KL9EwqVipuZvPNU7APPG2S3XXq7WTbYCdmX59wxEJkknD
JIupjS8f4YbFez3Qy4dmOmDb8s+tEPQR41rbt8W8nUCBAEN0n2qt4sPfWuL2i/2G
tDjoFjtA3MeAACIQRV53ptkJ/1I=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=NOmrCQ+Kqoe3Rhvvcjm/7B
xbZX4=; b=D9yxZpcin0Bc4xS7tqAJ8aypYfWASKh09XHSJHDRUzo88+UR0CT2W4
gXxk1TL9jnJKv0MmdLseo5G/8Ac8doqWFh3A7aMIUvmwQTx7LJq0QugQFuS8CJPm
xc82Gu4K0Bh9Sao8BvJMZ+MB+PspuPgN9VMM2Ncj0ZGZ9Fff0ZhHc=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=ffffff, Hx-languages-length:896, dark
X-HELO: limerock02.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Subject: Re: Latest Cygwin update and Emacs in Mintty
To: cygwin AT cygwin DOT com
References: <87wpciktid DOT fsf AT Rainer DOT invalid> <87o9tqs8c8 DOT fsf AT Rainer DOT invalid> <40991a4b-1e1c-4d03-f70f-8c77eb29bc7b AT cornell DOT edu> <840056d7-6365-97bb-96d0-cca35aaff925 AT cornell DOT edu> <87poe5m6rg DOT fsf AT Rainer DOT invalid> <e9c7af6c-19e6-04af-dd3d-db15291710e6 AT cornell DOT edu> <87y3srvld2 DOT fsf AT Rainer DOT invalid> <0367a274-06fb-90bb-0ac0-35c0c804c8af AT cornell DOT edu> <87d1a36n5n DOT fsf AT Rainer DOT invalid> <faff4ba2-728c-eb7c-682c-3ace57bc8dc7 AT cornell DOT edu> <878tkq7k7n DOT fsf AT Rainer DOT invalid>
From: Ken Brown <kbrown AT cornell DOT edu>
Message-ID: <0954cb04-9534-b058-fc0a-f0abf6dc3271@cornell.edu>
Date: Sat, 17 Jun 2017 13:54:11 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0
MIME-Version: 1.0
In-Reply-To: <878tkq7k7n.fsf@Rainer.invalid>
X-PMX-Cornell-Gauge: Gauge=XXXXX
X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none;
X-IsSubscribed: yes

On 6/17/2017 10:38 AM, Achim Gratz wrote:
> I don't know why I didn't think of that earlier, but I just fired up
> emacs-nox from my Linux box and did 'M-x set-background-color RET white
> RET' and guess what, the background turns a relatively dark shade of
> grey.  I've tried to dig through the call chain that would lead to that
> result and it seems that the result depends on whether brightwhite/15 or
> white/7 gets picked from tty-color-alist or a value gets generated from
> tty-color-standard-values (which uses the X definitions for the named
> colors).

OK, so it's not a Cygwin issue.  And I just learned about M-x 
list-colors-display.  If you try this in emacs-nox in Mintty with 
TERM=xterm-256color, you'll see that white is #e5e5e5 and brightwhite is 
#ffffff.  So I guess there's no bug here, just a surprising definition 
of "white".

Ken


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019