all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: emacs-devel@gnu.org
Subject: Re: Dependent colours
Date: Thu, 14 Apr 2022 19:10:13 +0300	[thread overview]
Message-ID: <83v8vb3au2.fsf@gnu.org> (raw)
In-Reply-To: <87sfqflqe2.fsf@gnus.org> (message from Lars Ingebrigtsen on Thu,  14 Apr 2022 15:56:53 +0200)

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Thu, 14 Apr 2022 15:56:53 +0200
> Cc: emacs-devel@gnu.org
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > I'm not sure I understand: we already have anonymous faces one can get
> > by specifying just the colors, as in
> >
> >   '(:foreground "red" :background "blue")
> >
> > Why is that not enough?
> 
> It's not about foreground or background colours, it's about choosing a
> colour based on features of the current frame, like defface.

But the result should be a face, right?  So you want an easy-to-use
facility to create a face that depends on the background-mode?  Or am
I misunderstanding again?  And if I am misunderstanding, can you
please describe the use case in more detail?



  reply	other threads:[~2022-04-14 16:10 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-14 13:00 Dependent colours Lars Ingebrigtsen
2022-04-14 13:36 ` Lars Ingebrigtsen
2022-04-14 14:11   ` Stefan Monnier
2022-04-14 14:14     ` Lars Ingebrigtsen
2022-04-14 14:57       ` [External] : " Drew Adams
2022-04-14 15:26       ` Lars Ingebrigtsen
2022-04-14 13:48 ` Eli Zaretskii
2022-04-14 13:56   ` Lars Ingebrigtsen
2022-04-14 16:10     ` Eli Zaretskii [this message]
2022-04-14 16:13       ` Lars Ingebrigtsen
2022-04-14 16:23         ` Eli Zaretskii
2022-04-15  8:46           ` Lars Ingebrigtsen
2022-04-15  9:32             ` Eli Zaretskii
2022-04-15  9:48               ` Lars Ingebrigtsen
2022-04-15 10:32                 ` Po Lu
2022-04-15 10:37                   ` Lars Ingebrigtsen
2022-04-15 11:12                     ` Po Lu
2022-04-15 10:38                 ` 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=83v8vb3au2.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.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.