unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Kip Coul <kipcoul@gmail.com>
Cc: 24158@debbugs.gnu.org
Subject: bug#24158: Problem in set-face-attribute for whitespace mode in terminal
Date: Tue, 13 Sep 2016 17:19:28 +0300	[thread overview]
Message-ID: <83sht3991r.fsf@gnu.org> (raw)
In-Reply-To: <CADwgZA+gnxn7PzYPD+WW-5rucekP4+r-jJEkaur30HrpJLYzFw@mail.gmail.com> (message from Kip Coul on Fri, 5 Aug 2016 13:34:47 +0200)

> From: Kip Coul <kipcoul@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@gnu.org> wrote:
> 
>  > From: Kip Coul <kipcoul@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.





  parent reply	other threads:[~2016-09-13 14:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-05  9:41 bug#24158: Problem in set-face-attribute for whitespace mode in terminal Kip Coul
2016-08-05 10:21 ` Eli Zaretskii
     [not found]   ` <CADwgZA+gnxn7PzYPD+WW-5rucekP4+r-jJEkaur30HrpJLYzFw@mail.gmail.com>
2016-09-13 14:19     ` Eli Zaretskii [this message]
2016-09-13 17:01       ` Kip Coul
2016-09-13 19:15         ` Eli Zaretskii
2016-09-14  8:04           ` Kip Coul
2016-09-14 17:11             ` Eli Zaretskii
2016-09-15 14:51               ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83sht3991r.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=24158@debbugs.gnu.org \
    --cc=kipcoul@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).