Subject: bug#15974: 24.3.50; emacs -Q -nw: awful color for input fields: BRIGHT YELLOW

From: Lars Ingebrigtsen <[email-masked]>
Date: Sun, 09 Feb 2014 19:06:30 -0800

Drew Adams <[email-masked]> writes:

> Be sure to start with emacs -Q -nw.  Use `C-u C-x =' on the yellow
> fields and you will see they use face `widget-field'.  That is the
> face that needs fixing, IMO.

Now that's a good bug report.  >"?

;; TTY gets special definitions here and in the next defface, because
;; the gray colors defined for other displays cause black text on a black
;; background, at least on light-background TTYs.
(defface widget-field '((((type tty))
			 :background "yellow3"
			 :foreground "black")
			(((class grayscale color)
			  (background light))
			 :background "gray85")
			(((class grayscale color)
			  (background dark))
			 :background "dim gray")
			(t
			 :slant italic))

So that's the explanation for the black on yellow.  Surely there are
other colours that could work on a tty.

Drew, could you try experimenting to find a pleasing colour combination?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/