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: Tim X
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 Wed, 21 Jul 2010 08:10:03 +1000 Tim X <timx@nospam.dev.null> wrote: 
>
> TX> Elena <egarrulo@gmail.com> writes:
>>> Hello,
>>> 
>>> is there a way to name new GUI colors in Emacs, and get them listed in
>>> `list-color-display'? Something like this:
>>> 
>>> (set-named-color "army green" "#4B5320")
>>> 
>>> ELisp reference only talks about tty.
>>> 
>
> TX> I don't believe so. The colour names are derived from the rgb.txt file
> TX> (normally in the /etc/X11 directory on most Linux systems. You could
> TX> possibly add your own colour names to this file, but it is prtty
> TX> extensive already. 
>
> 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.
>
I don't believe this is an emacs limitation, but rather a limitation of
how X defines colour names. 

Tim

-- 
tcross (at) rapttech dot com dot au


reply via email to

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