From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 84685 invoked by alias); 17 Jun 2017 17:54:09 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 84666 invoked by uid 89); 17 Jun 2017 17:54:08 -0000 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 Received: from limerock02.mail.cornell.edu (HELO limerock02.mail.cornell.edu) (128.84.13.242) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 17 Jun 2017 17:54:07 +0000 X-CornellRouted: This message has been Routed already. Received: from authusersmtp.mail.cornell.edu (granite4.serverfarm.cornell.edu [10.16.197.9]) by limerock02.mail.cornell.edu (8.14.4/8.14.4_cu) with ESMTP id v5HHsAVi024998 for ; Sat, 17 Jun 2017 13:54:10 -0400 Received: from [192.168.1.148] (c-73-69-84-56.hsd1.ct.comcast.net [73.69.84.56]) (authenticated bits=0) by authusersmtp.mail.cornell.edu (8.14.4/8.12.10) with ESMTP id v5HHs8Hb030653 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for ; Sat, 17 Jun 2017 13:54:09 -0400 Subject: Re: Latest Cygwin update and Emacs in Mintty To: cygwin@cygwin.com References: <87wpciktid.fsf@Rainer.invalid> <87o9tqs8c8.fsf@Rainer.invalid> <40991a4b-1e1c-4d03-f70f-8c77eb29bc7b@cornell.edu> <840056d7-6365-97bb-96d0-cca35aaff925@cornell.edu> <87poe5m6rg.fsf@Rainer.invalid> <87y3srvld2.fsf@Rainer.invalid> <0367a274-06fb-90bb-0ac0-35c0c804c8af@cornell.edu> <87d1a36n5n.fsf@Rainer.invalid> <878tkq7k7n.fsf@Rainer.invalid> From: Ken Brown Message-ID: <0954cb04-9534-b058-fc0a-f0abf6dc3271@cornell.edu> Date: Sat, 17 Jun 2017 17:54:00 -0000 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> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Cornell-Gauge: Gauge=XXXXX X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none; X-IsSubscribed: yes X-SW-Source: 2017-06/txt/msg00185.txt.bz2 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