all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* custom type `color' is not enforced
@ 2007-12-02  8:55 Drew Adams
  2007-12-02  8:59 ` Drew Adams
  0 siblings, 1 reply; 20+ messages in thread
From: Drew Adams @ 2007-12-02  8:55 UTC (permalink / raw)
  To: Bug-Gnu-Emacs

emacs -Q

(defcustom foo "White" "xxxxxxx" :type (quote color))

M-x customize-variable foo

In Customize, change the value to "any-non-color-string". You are able
to set the new value and even save it. There is no check done that the
value is actually a color - any string will do. The value should be
checked to ensure that it matches either a defined color name or "#"
followed by a multiple of three hex digits (for RGB).


In GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600)
 of 2007-06-02 on RELEASE
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -Ic:/gnuwin32/include'






^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2007-12-25 13:52 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-02  8:55 custom type `color' is not enforced Drew Adams
2007-12-02  8:59 ` Drew Adams
2007-12-18 23:00   ` Drew Adams
2007-12-20  0:53     ` Richard Stallman
2007-12-20  1:27       ` Lennart Borgman (gmail)
2007-12-21  3:04         ` Richard Stallman
2007-12-20 19:11       ` Drew Adams
2007-12-20 19:27         ` Drew Adams
2007-12-21  3:59         ` Richard Stallman
2007-12-21  6:47           ` Drew Adams
2007-12-21  3:59         ` Richard Stallman
2007-12-21  6:48           ` Drew Adams
2007-12-21  9:36           ` Lennart Borgman (gmail)
2007-12-21 18:20             ` Drew Adams
2007-12-21 22:03               ` Drew Adams
2007-12-22  6:29             ` Richard Stallman
2007-12-22 20:58               ` Lennart Borgman (gmail)
2007-12-23 10:54                 ` Per Abrahamsen
2007-12-23 12:46                   ` Lennart Borgman (gmail)
2007-12-25 13:52                     ` Per Abrahamsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.