Re: Latest Cygwin update and Emacs in Mintty

2017-06-27 Thread Achim Gratz
Achim Gratz writes: > Yes. I'll have to figure out just why it tries to set the background to > the named color "white" on startup, then. That must have got saved as > an option somewhere, maybe I can still find an old enough backup to > compare the startup files to. Indeed on the same day that

Re: Latest Cygwin update and Emacs in Mintty

2017-06-17 Thread Achim Gratz
Ken Brown writes: > OK, so it's not a Cygwin issue. And I just learned about M-x > list-colors-display. If you try this in emacs-nox in Mintty with > TERM=xterm-256color, you'll see that white is #e5e5e5 and brightwhite > is #ff. So I guess there's no bug here, just a surprising >

Re: Latest Cygwin update and Emacs in Mintty

2017-06-17 Thread Ken Brown
On 6/17/2017 10:38 AM, Achim Gratz wrote: I don't know why I didn't think of that earlier, but I just fired up emacs-nox from my Linux box and did 'M-x set-background-color RET white RET' and guess what, the background turns a relatively dark shade of grey. I've tried to dig through the call

Re: Latest Cygwin update and Emacs in Mintty

2017-06-17 Thread Achim Gratz
Ken Brown writes: > Even with no .minttrc, 'emacs-nox -Q' followed by 'M-x > set-background-color RET white RET' turns the background gray. I can't rule out that there was a change to the configuration of Emacs on that day that effectively added the set-background operation on that day. > I can

Re: Latest Cygwin update and Emacs in Mintty

2017-06-17 Thread Ken Brown
On 6/17/2017 4:20 AM, Achim Gratz wrote: Ken Brown writes: No, it really was a Cygwin update (to 2.7.0-1). The Emacs update was before that and it had worked right up to that update. Sorry, I misunderstood what you meant by "Cygwin update". I understand now. I'll try to do a bisection of

Re: Latest Cygwin update and Emacs in Mintty

2017-06-17 Thread Achim Gratz
Ken Brown writes: >> No, it really was a Cygwin update (to 2.7.0-1). The Emacs update was >> before that and it had worked right up to that update. > > Sorry, I misunderstood what you meant by "Cygwin update". I > understand now. I'll try to do a bisection of the Cygwin sources. It > may be a

Re: Latest Cygwin update and Emacs in Mintty

2017-06-16 Thread Ken Brown
On 6/16/2017 2:27 PM, Achim Gratz wrote: Ken Brown writes: Your original report, written on February 22, said that the problem started after the latest Cygwin update. That means you would have installed emacs-25.1, if Emacs was updated at all. No, it really was a Cygwin update (to 2.7.0-1).

Re: Latest Cygwin update and Emacs in Mintty

2017-06-16 Thread Achim Gratz
Ken Brown writes: > Your original report, written on February 22, said that the problem > started after the latest Cygwin update. That means you would have > installed emacs-25.1, if Emacs was updated at all. No, it really was a Cygwin update (to 2.7.0-1). The Emacs update was before that and

Re: Latest Cygwin update and Emacs in Mintty

2017-06-15 Thread Ken Brown
On 6/15/2017 2:43 PM, Achim Gratz wrote: Ken Brown writes: 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

Re: Latest Cygwin update and Emacs in Mintty

2017-06-15 Thread Achim Gratz
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

Re: Latest Cygwin update and Emacs in Mintty

2017-06-15 Thread Brian Inglis
On 2017-06-15 07:35, Ken Brown wrote: > On 6/15/2017 6:47 AM, Ken Brown wrote: >> 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

Re: Latest Cygwin update and Emacs in Mintty

2017-06-15 Thread Ken Brown
On 6/15/2017 6:47 AM, Ken Brown wrote: 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

Re: Latest Cygwin update and Emacs in Mintty

2017-06-15 Thread Ken Brown
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

Re: Latest Cygwin update and Emacs in Mintty

2017-06-14 Thread Achim Gratz
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