emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dependent colours


From: Eli Zaretskii
Subject: Re: Dependent colours
Date: Thu, 14 Apr 2022 19:10:13 +0300

> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]