unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Kip Coul <kipcoul@gmail.com>
To: 24158@debbugs.gnu.org
Subject: bug#24158: Problem in set-face-attribute for whitespace mode in terminal
Date: Fri, 5 Aug 2016 11:41:20 +0200	[thread overview]
Message-ID: <CADwgZAKrd4MGc-mAHccZuxqm84A9uTeK4C=fgcF=_d7Lt0_jhQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 544 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 972 bytes --]

             reply	other threads:[~2016-08-05  9:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-05  9:41 Kip Coul [this message]
2016-08-05 10:21 ` bug#24158: Problem in set-face-attribute for whitespace mode in terminal Eli Zaretskii
     [not found]   ` <CADwgZA+gnxn7PzYPD+WW-5rucekP4+r-jJEkaur30HrpJLYzFw@mail.gmail.com>
2016-09-13 14:19     ` Eli Zaretskii
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='CADwgZAKrd4MGc-mAHccZuxqm84A9uTeK4C=fgcF=_d7Lt0_jhQ@mail.gmail.com' \
    --to=kipcoul@gmail.com \
    --cc=24158@debbugs.gnu.org \
    /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).