From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2879 invoked by alias); 15 Jun 2017 18:43:24 -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 2784 invoked by uid 89); 15 Jun 2017 18:43:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=rgb, RGB, sk:customi, associates X-HELO: vsmx009.vodafonemail.xion.oxcs.net Received: from vsmx009.vodafonemail.xion.oxcs.net (HELO vsmx009.vodafonemail.xion.oxcs.net) (153.92.174.87) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 15 Jun 2017 18:43:20 +0000 Received: from vsmx001.vodafonemail.xion.oxcs.net (unknown [192.168.75.191]) by mta-5-out.mta.xion.oxcs.net (Postfix) with ESMTP id D47C0C03BF for ; Thu, 15 Jun 2017 18:43:22 +0000 (UTC) Received: from Gertrud (unknown [91.47.58.237]) by mta-5-out.mta.xion.oxcs.net (Postfix) with ESMTPA id 350E93002C5 for ; Thu, 15 Jun 2017 18:43:20 +0000 (UTC) From: Achim Gratz To: cygwin@cygwin.com Subject: Re: Latest Cygwin update and Emacs in Mintty References: <87wpciktid.fsf@Rainer.invalid> <87o9tqs8c8.fsf@Rainer.invalid> <40991a4b-1e1c-4d03-f70f-8c77eb29bc7b@cornell.edu> <840056d7-6365-97bb-96d0-cca35aaff925@cornell.edu> Date: Thu, 15 Jun 2017 18:43:00 -0000 In-Reply-To: <840056d7-6365-97bb-96d0-cca35aaff925@cornell.edu> (Ken Brown's message of "Thu, 15 Jun 2017 09:35:01 -0400") Message-ID: <87poe5m6rg.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-VADE-STATUS: LEGIT X-SW-Source: 2017-06/txt/msg00165.txt.bz2 Ken Brown writes: > 1. I edited .minttyrc to set > BackgroundColour=#F8F8F8. (ForegroundColour is 0,0,0, which I guess is > the default.) OK. > 2. I ran 'emacs-nox -Q'. The background color didn't visibly change; > it's still off-white. The mode line and menu line appear to be > reversed (black background, off-white foreground, though I can't > really be sure that the foreground is off-white rather than white). I think the background gets set to "white" by my .emacs (or rather the part that customize-options saved). > 3. I evaluated (set-background-color "white"). This caused the > background to turn gray. The mode line and menu bar didn't visibly > change. That's the main problem and I can't figure out why it associates white with anything that doesn't have all the bits set in the RGB colorspec. > 4. I evaluated (set-background-color "#F8F8F8"). The background > stayed gray. That's most likely a result of your terminal not being recognized as being able to use 256 colors. > I need to investigate 3 and 4, but first I'd like to understand why > you and I are seeing different things. One difference is the value of > TERM. You say "mintty reports itself as xterm-256color". Do you mean > it does this by default, or do you have something in your startup > files that causes this? When I start mintty, I get the following: That's an option you can set in mintty or just change the TERM variable before you start emacs. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf rackAttack: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds -- 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