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


Message #11 received at 24158 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Kip Coul <kipcoul <at> gmail.com>
Cc: 24158 <at> debbugs.gnu.org
Subject: Re: bug#24158: Problem in set-face-attribute for whitespace mode in
 terminal
Date: Tue, 13 Sep 2016 17:19:28 +0300
> From: Kip Coul <kipcoul <at> gmail.com>
> Date: Fri, 5 Aug 2016 13:34:47 +0200
> 
> You have to put it into your .emacs file
> 
> On Fri, Aug 5, 2016 at 12:21 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> 
>  > From: Kip Coul <kipcoul <at> gmail.com>
>  > Date: Fri, 5 Aug 2016 11:41:20 +0200
>  >
>  > 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.
> 
>  If it does work with eval-region, then how to reproduce the situation
>  where it doesn't work?

Sorry for the long delay.

I tried your recipe, and I couldn't reproduce the problem: both
variants worked for me the same when I put them in my ~/.emacs.

What is your Emacs version?  (I tried in the latest development
sources.)

Also, if you put in your .emacs only those settings, does it still not
work?  If it works then, you probably have something else in your
.emacs or the site-wide init files that interferes with these face
settings.




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.