This is the mail archive of the
mailing list for the Cygwin project.
Re: Latest Cygwin update and Emacs in Mintty
- From: Ken Brown <kbrown at cornell dot edu>
- To: cygwin at cygwin dot com
- Date: Thu, 15 Jun 2017 06:47:47 -0400
- Subject: Re: Latest Cygwin update and Emacs in Mintty
- Authentication-results: sourceware.org; auth=none
- References: <87wpciktid.fsf@Rainer.invalid> <87o9tqs8c8.fsf@Rainer.invalid>
On 6/14/2017 3:00 PM, Achim Gratz wrote:
Achim Gratz writes:
After the latest Cygwin update I'm hitting an interesting problem with
emacs-nox running in a mintty: when Emacs starts, it decides that the
background color is gray instead of the usual white (for all but the
rightmost character in the status line, interestingly enough). I have
the normal mintty background set slightly off-white (to #F8F8F8) and
mintty reports itself as xterm-256color (the same happens in when TERM
is set to screen-256color). Emacs starts up with the correct background
color, draws the status bar and the menu bar and only then switches the
background to gray. The gray it choses is very slightly lighter than
the status bar (so lightly in fact that I can make out the difference on
only one of my three monitors). Emacs really thinks it is using a white
background, as evidenced by the fact that (set-background-color "white")
will produce exactly the same result. I get my usual background back
with (set-background-color "#F8F8F8"), but I have no idea where the
wrong setting for the named color "white" comes from.
I'm just trying this at home remotely logging in from a konsole terminal
on my Linux box: Here the background chosen is slightly darker than the
status bar, the status bar seems to be #B8B8B8 and the background for
"white seems to be #B4B4B4. Curious and curiouser...
Ken, did you have a chance to look into this?
Sorry, I must have missed this when you first sent it. I'll take a look.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple