help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Naming new GUI colors?


From: despen
Subject: Re: Naming new GUI colors?
Date: Wed, 08 Dec 2010 15:20:34 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Ted Zlatanov <tzz@lifelogs.com> writes:

> On Fri, 23 Jul 2010 12:55:54 -0400 despen@verizon.net wrote: 
>
> d> Ted Zlatanov <tzz@lifelogs.com> writes:
>>> That seems like a pretty bad limitation, especially where English is not
>>> spoken.  Emacs should at least allow naming colors (as opposed to faces)
>>> IMHO.
>
> d> I think it would be ridiculous for Emacs to go on a color naming spree.
>
> This is a user facility (like defface).  Emacs only has to provide a
> get/set/list API.  Emacs will not define new colors (or if it does,
> that's a separate discussion).

Still not convinced Emacs has a "bad" limitation.
User defined colors (if actually useful) should be defined outside
Emacs.  Emacs is not the only application using colors.

> d> There is already a number of lists of standard color names.
> d> There's one for X11, there's one for html, I'm sure there are lots more.
>
> Yes, but none of them have "my favorite red for alerts" which is what a
> user would define (in their native language).

The purpose of the color should not be confused with the name of the
color.

(set-face-foreground 'alert-face "PaleVioletRed")


reply via email to

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