[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: color-complement for defface
From: |
Ted Zlatanov |
Subject: |
Re: color-complement for defface |
Date: |
Mon, 14 Feb 2011 12:11:37 -0600 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
On Fri, 04 Feb 2011 11:57:30 -0600 Ted Zlatanov <address@hidden> wrote:
TZ> On Fri, 04 Feb 2011 11:26:49 +0100 Julien Danjou <address@hidden> wrote:
JD> On Thu, Feb 03 2011, Drew Adams wrote:
>>> FWIW, for this I simply use the complements of the light-background default
>>> colors as the dark-background colors. That is not necessarily ideal, but
>>> it at
>>> least is reasonable and consistent. It is also very quick to do, given some
>>> code (e.g. hexrgb.el or palette.el) that quickly gives you color
>>> complements.
JD> color.el included in Emacs 24 as `color-complement' so you can even use
JD> it in your defface directly, I think.
TZ> It would be nice if an example of that usage was part of the manual.
TZ> Even better would be if defining a face could automatically use the
TZ> complement (e.g. by setting the background to 'complement).
TZ> Julien, do you want to propose a patch to the manual?
I'll take an example, at least, and write the rest.
TZ> Does anyone have comments on a defface modification to let
TZ> color-complement pick the background automatically if requested? I
TZ> don't know how hard that would be to write, but I want to know if it's
TZ> even acceptable.
Second try. I still think this is a worthy improvement to Emacs.
Ted
- RE: Eliminating a couple of independent face definitions, (continued)
- RE: Eliminating a couple of independent face definitions, Davis Herring, 2011/02/08
- Re: Eliminating a couple of independent face definitions, Tim Cross, 2011/02/06
- RE: Eliminating a couple of independent face definitions, Stephen J. Turnbull, 2011/02/03
- Re: Eliminating a couple of independent face definitions, John Yates, 2011/02/03
- Re: Eliminating a couple of independent face definitions, Stephen J. Turnbull, 2011/02/04
- Re: Eliminating a couple of independent face definitions, Jambunathan K, 2011/02/03
- RE: Eliminating a couple of independent face definitions, Drew Adams, 2011/02/05
- RE: Eliminating a couple of independent face definitions, Stephen J. Turnbull, 2011/02/06
- Re: Eliminating a couple of independent face definitions, Julien Danjou, 2011/02/04
- color-complement for defface (was: Eliminating a couple of independent face definitions), Ted Zlatanov, 2011/02/04
- Re: color-complement for defface,
Ted Zlatanov <=
- Re: color-complement for defface, Julien Danjou, 2011/02/21
- Re: Eliminating a couple of independent face definitions, Tim Cross, 2011/02/02
- Re: Eliminating a couple of independent face definitions, Dan Nicolaescu, 2011/02/03
- Re: Eliminating a couple of independent face definitions, Chong Yidong, 2011/02/02
- Re: Eliminating a couple of independent face definitions, Julien Danjou, 2011/02/02
- Re: Eliminating a couple of independent face definitions, Štěpán Němec, 2011/02/02
- FW: Eliminating a couple of independent face definitions, Drew Adams, 2011/02/02