Latest Cygwin update and Emacs in Mintty

Ken Brown kbrown@cornell.edu
Thu Jun 15 10:47:00 GMT 2017


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.

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



More information about the Cygwin mailing list