Subject: bug#24158: closed (Re: bug#24158: Problem in set-face-attribute for whitespace mode in terminal)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 15 Sep 2016 14:52:03 +0000

Your bug report

#24158: Problem in set-face-attribute for whitespace mode in terminal

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
24158: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24158
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#24158: Problem in set-face-attribute for whitespace mode in terminal
From: Eli Zaretskii <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Thu, 15 Sep 2016 17:51:03 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

> Date: Wed, 14 Sep 2016 20:11:26 +0300
> From: Eli Zaretskii <[email-masked]>
> Cc: [email-masked]
> 
> > From: Kip Coul <[email-masked]>
> > Date: Wed, 14 Sep 2016 10:04:53 +0200
> > Cc: [email-masked]
> > 
> > Just tried, it does not work. Here's a print screen of editing the .emacs file:
> > 
> > 1. this works:
> > Inline image 1
> > 
> > 2. This does not work, at first load
> > Inline image 2
> > 
> > 3. After eval region:
> > Inline image 3
> 
> Strange, it works for me even in Emacs 24.4.
> 
> However, I see that your default face background is dark (black or
> similar), which is not the Emacs default.  How is that background get
> set?  Do you have a site-lisp file or do you do it in .Xresources or
> something?  It could be that the reason is in whatever makes the
> background dark.

Closed as this doesn't look like an Emacs problem.

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