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

On Wed, Jul 19 2023, Eli Zaretskii wrote:

>> 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.

I don't understand what you mean with "actual foreground". 

The problem I have, is that some color combinations are hard to read,
like yellow on white.  Then I usually want to change the foreground
color and not the background.

Assume that we have white as default background, black as default
foreground, font-lock-string-face has foreground yellow and we want to
change the foreground from yellow to brown.

In this situation I would like to see how brown on white would look and
not so much black on brown (or white on brown).

Even better then displaying the candidate color on the default
background would be to show the candidate color on the current
background color of the face.  But I guess that's harder to implement.

Helmut





  reply	other threads:[~2023-07-19 15:45 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
2023-07-19 15:45   ` Helmut Eller [this message]
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=m2bkg7j46q.fsf@gmail.com \
    --to=eller.helmut@gmail.com \
    --cc=64725@debbugs.gnu.org \
    --cc=eliz@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 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.