[Top][All Lists]

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

Re: custom type `color' is not enforced

From: Lennart Borgman (gmail)
Subject: Re: custom type `color' is not enforced
Date: Thu, 20 Dec 2007 02:27:05 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20071031 Thunderbird/ Mnenhy/

Richard Stallman wrote:
I agree that these changes would be improvements.  However, I don't
think we have any way to test the validity of a regexp without
matching it, and matching it (even against a null string) could
cause an infinite loop.

The widget library already validates

  :type 'regexp

with the function (defun widget-regexp-validate (widget) ... ) which does (string-match regexp "").

reply via email to

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