unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Gregory Heytings <gregory@heytings.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Question about customising faces
Date: Tue, 30 Aug 2022 18:48:47 +0000	[thread overview]
Message-ID: <dacea928880ac31f0de4@heytings.org> (raw)
In-Reply-To: <83edwxtwbj.fsf@gnu.org>


>> emacs -Q
>> C-x 5 2
>> M-: (set-face-attribute 'isearch nil :background 'unspecified :foreground "#d33682") RET
>> C-s buffer
>> C-x 5 2
>> C-s buffer
>>
>> I see exactly the exact same colors with the two isearch commands.
>
> Joost used nil, not 'unspecified, for the background attribute.
>

Which is why I asked why he did not use 'unspecified instead of nil 😉

What does nil do that 'unspecified doesn't?

(And after using nil, describe-face displays 'unspecified.)


  reply	other threads:[~2022-08-30 18:48 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-29 11:30 Question about customising faces Joost Kremers
2022-08-29 13:08 ` Eli Zaretskii
2022-08-29 20:07   ` Joost Kremers
2022-08-29 20:47     ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-08-30  6:58       ` Joost Kremers
2022-08-30 13:00         ` Stefan Monnier
2022-08-30 20:57           ` Joost Kremers
2022-08-30 21:23             ` Stefan Monnier
2022-09-03 15:18           ` Joost Kremers
2022-08-30  2:30     ` Eli Zaretskii
2022-08-30  6:44       ` Joost Kremers
2022-08-30 11:49         ` Eli Zaretskii
2022-08-30 20:48           ` Joost Kremers
2022-08-30 15:52         ` Gregory Heytings
2022-08-30 16:54           ` Eli Zaretskii
2022-08-30 17:50             ` Gregory Heytings
2022-08-30 18:19               ` Eli Zaretskii
2022-08-30 18:31                 ` Gregory Heytings
2022-08-30 18:34                   ` Eli Zaretskii
2022-08-30 18:48                     ` Gregory Heytings [this message]
2022-08-30 18:56                       ` Eli Zaretskii
2022-08-30 19:15                         ` Gregory Heytings
2022-08-30 20:36                           ` Joost Kremers
2022-08-31  2:25                           ` Eli Zaretskii
2022-08-31  8:18                             ` Gregory Heytings
2022-08-30 21:46                         ` [External] : " Drew Adams

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=dacea928880ac31f0de4@heytings.org \
    --to=gregory@heytings.org \
    --cc=eliz@gnu.org \
    --cc=help-gnu-emacs@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.
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).