emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] add defined-colors-with-face-attributes to faces.el


From: Chong Yidong
Subject: Re: [PATCH] add defined-colors-with-face-attributes to faces.el
Date: Fri, 01 Jan 2010 15:13:10 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux)

Jan Moringen <address@hidden> writes:

> in an application I wrote, the user is prompted for a color using
> `read-color'. The completion table used there presents color names.
> However, based on color names alone, I often found it hard to choose a
> color. Therefore I wrote `defined-colors-with-face-attributes' which is
> like `defined-colors' but adds text properties to the color names that
> make them render with the color they name as background. I also changed
> `read-color' to call the new function when a color display is available.
>
> I have tested the new behavior on X displays and TTYs and it seems to
> work. However, I could not test windows or other terminal types and/or
> other color depths.
>
> If this change is considered useful, I would like to contribute it. I
> have done the copyright assignment for Emacs.

We're in feature freeze at the moment, so come back after Emacs 23.2 is
released.  In the meantime, you can send this to bug-gnu-emacs so that
the message is not lost.




reply via email to

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