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 19:26:21 +0300	[thread overview]
Message-ID: <83lefb50lu.fsf@gnu.org> (raw)
In-Reply-To: <m2bkg7j46q.fsf@gmail.com> (message from Helmut Eller on Wed, 19 Jul 2023 17:45:17 +0200)

> From: Helmut Eller <eller.helmut@gmail.com>
> Cc: 64725@debbugs.gnu.org
> Date: Wed, 19 Jul 2023 17:45:17 +0200
> 
> 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". 
> [...]
> 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.

That's exactly what I meant: when you customize the foreground color
of a face, show the candidates as text in that color on the background
of the face's background color, and when you customize the background
of a face, show the candidates as background with the text in the
foreground color of the face.  IOW, show the face with its both colors
as it will look if this candidate is chosen.





  reply	other threads:[~2023-07-19 16:26 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
2023-07-19 16:26     ` Eli Zaretskii [this message]
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=83lefb50lu.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.