|
From: | Lennart Borgman (gmail) |
Subject: | Re: custom type `color' is not enforced |
Date: | Sun, 23 Dec 2007 13:46:02 +0100 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 |
Per Abrahamsen wrote:
From my unreliable memory:The :validate function exist to check that the value the user has entered in the widget actually match the "type" of the widget. If the
..
The :match function exist to choose when "branch" to take for a choice widget, and a few similar situations: E.g. if you instantiate a
...Thanks Per, maybe I understand a little bit now. Are you saying that simple types should not have a match function?
On 12/22/07, Lennart Borgman (gmail) <address@hidden> wrote:Richard Stallman wrote:You have the right idea.I have tried to finish the code too now ;-)
And I failed again ;-)
(defun custom-type-symbol-p (symbol custom-type)
Drew kindly told me this only works for simple types. I have to rethink this.
[Prev in Thread] | Current Thread | [Next in Thread] |