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:from:to:subject:references:date:in-reply-to :message-id:mime-version:content-type; q=dns; s=default; b=EsFkf 5fA5qOvEEiS6JQJpN7klpVlL0CeC/R4B/EBmN1Cc3BiEm/8w4fnr8NMrKGZ4rIXu FVpIbfLviIsTbgr56gNCNAXMxNHkvsCbGXUmOVQb5t/TzM5ZRhUbQBvaGhJqqJF/ 9V8AYmsMeUPWyUcJEn0FOo9EyrPPnY04LHgZzc= 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:from:to:subject:references:date:in-reply-to :message-id:mime-version:content-type; s=default; bh=P4NiTO4rw+q cbXb9q9OcMCOeD2c=; b=Bk8MuNIE9fPm58AH0VAiKdrYYNPOYEh1L8dhQv7eSCP 4cTpsPEZTDb6GQKLf1ZLYkM53GhwPqcLO1Ty+daXLhwRd8UEV+awVEIo+mjc0TbF A3dYSKC+v8GurIy/FwpmCCcaa4rN2L58/gmosYphwevAEt0wU1XL3C95SuQMECSU = Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=rgb, RGB, sk:customi, associates X-HELO: vsmx009.vodafonemail.xion.oxcs.net From: Achim Gratz To: cygwin AT cygwin DOT com Subject: Re: Latest Cygwin update and Emacs in Mintty 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> Date: Thu, 15 Jun 2017 20:43:15 +0200 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 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