all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Helmut Eller <eller.helmut@gmail.com>
Cc: 64725@debbugs.gnu.org
Subject: bug#64725: 30.0.50; set-face-foreground shows background colors
Date: Wed, 19 Jul 2023 15:44:10 +0300	[thread overview]
Message-ID: <83351k5aw5.fsf@gnu.org> (raw)
In-Reply-To: <m2o7k8ml7s.fsf@gmail.com> (message from Helmut Eller on Wed, 19 Jul 2023 09:09:11 +0200)

> From: Helmut Eller <eller.helmut@gmail.com>
> Date: Wed, 19 Jul 2023 09:09:11 +0200
> 
> When I try to set the foreground color of a face, e.g. with:
> 
>   M-x set-face-foreground RET font-lock-string-face RET
> 
> and then press TAB to see the available colors, then Emacs displays the
> list of colors as background with text in the default foreground.
> 
> It would be more useful to see the text with the candidate color as
> foreground on the default background.

Why not use the actual foreground of the face being customized?  Then
the user could see whether the background color being selected will
have good contrast (or just look well) with the face's foreground.





  reply	other threads:[~2023-07-19 12:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-19  7:09 bug#64725: 30.0.50; set-face-foreground shows background colors Helmut Eller
2023-07-19 12:44 ` Eli Zaretskii [this message]
2023-07-19 15:45   ` Helmut Eller
2023-07-19 16:26     ` Eli Zaretskii
2023-07-20 14:34       ` Helmut Eller
2023-08-03  7:58         ` 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

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

  git send-email \
    --in-reply-to=83351k5aw5.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=64725@debbugs.gnu.org \
    --cc=eller.helmut@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.