emacs-devel
[Top][All Lists]
Advanced

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

RE: customization type `vector'


From: Drew Adams
Subject: RE: customization type `vector'
Date: Sun, 1 Jul 2007 08:33:41 -0700

Resending, since the release is now out.

> From: Drew Adams Sent: Tuesday, December 12, 2006 1:14 PM
> IIUC, customization type `vector', like type `list', can only be 
> used for a fixed number of elements. For lists, you can use
> `repeat' for a list with an arbitrary number of elements, but I
> see no way to do this for vectors.
> 
> Is there some way, for instance, to specify that a value must be 
> a vector of characters? If not, is the only alternative to use
> `sexp' or `restricted-sexp'?
> 
> If so, can this be remedied after the release? If not, what's the 
> best that could be done with, say, `restricted-sexp'? Would it be 
> (restricted-sexp :match-alternatives (vectorp))?
> 
> I'm thinking, for instance, of a :type that would fit a display-table
> element, which must be either nil or a vector of characters.
> 
> Perhaps we could let `repeat' specify `list' or `vector'?
 




reply via email to

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