Subject: Re: 23.0.60; problems with `color' custom type

From: Chong Yidong <[email-masked]>
Date: Sat, 25 Oct 2008 14:36:45 -0400

> emacs -Q
> Eval this: (defcustom foo "Red" "..." :type 'color)
> 
> M-x set-variable foo RET Blue RET
> 
> gives error "Value `Blue' does not match type color of foo".

You want to do

  M-x set-variable foo RET "Blue" RET

because set-variable reads entries in Lisp form, and foo needs to be a
string.

> Empty the value field and hit M-TAB. The colors are displayed in a
> crazy order, not alphabetically.

They are listed in the same order of list-colors-display.  I've changed
that to make it alphabetical.