Web lists-archives.com

Latest Cygwin update and Emacs in Mintty




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...


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada

--
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