Subject: bug#21301: 25.0.50; Emacs Trunk: Fringe bitmaps confuse foreground/background colors.

From: Eli Zaretskii <[email-masked]>
Date: Fri, 21 Aug 2015 16:47:41 +0300

> Date: Wed, 19 Aug 2015 13:31:49 -0700
> From: Keith David Bershatsky <[email-masked]>
> 
> The fringe bitmaps in Emacs Trunk seem to confuse the foreground/background colors -- the foreground is the 'default color no matter what, and the background takes on the color of what should have been the foreground.
> 
> For example, a particular fringe bitmap should have a yellow foreground and nothing set for the background -- the result is a yellow background and a 'default foreground (which in my case is white).

I cannot reproduce this with today's master (but I'm not on Darwin).
E.g., evaluating the following in the *scratch* buffer

  (add-text-properties 141 142 '(display (left-fringe left-arrow warning)))

puts a light-red left-arrow on the left fringe near the beginning of
the 3rd line; light-red is the _foreground_ color of the 'warning'
face.  The background color of the fringe stays the same as the
default.

Do you see something different in the above recipe from "emacs -Q"?

If you see the problem in some different recipe, please show it.

Thanks.