GNU bug report logs - #24158
Problem in set-face-attribute for whitespace mode in terminal

Previous Next

Package: emacs;

Reported by: Kip Coul <kipcoul <at> gmail.com>

Date: Fri, 5 Aug 2016 09:42:01 UTC

Severity: minor

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#24158: closed (Problem in set-face-attribute for whitespace
 mode in terminal)
Date: Thu, 15 Sep 2016 14:52:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 15 Sep 2016 17:51:03 +0300
with message-id <83bmzp6wtk.fsf <at> gnu.org>
and subject line Re: bug#24158: Problem in set-face-attribute for whitespace mode in terminal
has caused the debbugs.gnu.org bug report #24158,
regarding Problem in set-face-attribute for whitespace mode in terminal
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
24158: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24158
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Kip Coul <kipcoul <at> gmail.com>
To: bug-emacs <at> gnu.org
Subject: Problem in set-face-attribute for whitespace mode in terminal
Date: Fri, 5 Aug 2016 11:41:20 +0200
[Message part 3 (text/plain, inline)]
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
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: kipcoul <at> gmail.com
Cc: 24158-done <at> debbugs.gnu.org
Subject: Re: bug#24158: Problem in set-face-attribute for whitespace mode in
 terminal
Date: Thu, 15 Sep 2016 17:51:03 +0300
> Date: Wed, 14 Sep 2016 20:11:26 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 24158 <at> debbugs.gnu.org
> 
> > From: Kip Coul <kipcoul <at> gmail.com>
> > Date: Wed, 14 Sep 2016 10:04:53 +0200
> > Cc: 24158 <at> debbugs.gnu.org
> > 
> > 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.


This bug report was last modified 8 years and 301 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.