Subject: Problem in set-face-attribute for whitespace mode in terminal
From: Kip Coul <[email-masked]>
To: [email-masked]
Date: Fri, 5 Aug 2016 11:41:20 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

I have the following problem with Emacs *in a terminal* (emacs -nw)

This configuration *does* works (red over transparent background)

(global-whitespace-mode t)
(set-face-background 'whitespace-space nil)
(set-face-foreground 'whitespace-space "red")

This one *does not* work (the background is grey):
(global-whitespace-mode t)
(set-face-attribute 'whitespace-space nil :background nil :foreground "red")

However, it should be the same, right?

Interestingly, it works with eval-region though.
Thanks for your help!

Regards,
Kip