[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Specifying plist requirements in defcustom?
From: |
jrwats |
Subject: |
Re: Specifying plist requirements in defcustom? |
Date: |
Wed, 15 Oct 2008 07:32:41 -0700 (PDT) |
User-agent: |
G2/1.0 |
> IIUYC, you want a repetition of symbols, each of which must have non-nil
> properties `branch', `drive', and `path'.
yep
> (defcustom corext-enlistments nil
> "..."
> :type
> '(repeat
> (restricted-sexp
> :match-alternatives
> ((lambda (x) (and (symbolp x)
> (let ((pl (symbol-plist x)))
> (and (plist-get pl 'branch)
> (plist-get pl 'drive)
> (plist-get pl 'path)))))))))
>
>From what I could tell, this worked, but I was also to have a user-
friendly customization interface when a user, say, clicked customoize
corext-enlistments. I'd like a prompt for the symbol-name, and the
individual property list values: branch, drive, and path. It seems
that to acheive something like this, I'd need to just make them
alists....
- Specifying plist requirements in defcustom?, jrwats, 2008/10/12
- Re: Specifying plist requirements in defcustom?, Lennart Borgman (gmail), 2008/10/12
- RE: Specifying plist requirements in defcustom?, Drew Adams, 2008/10/12
- Message not available
- Re: Specifying plist requirements in defcustom?,
jrwats <=
- RE: Specifying plist requirements in defcustom?, Drew Adams, 2008/10/15
- Re: Specifying plist requirements in defcustom?, Lennart Borgman (gmail), 2008/10/15
- RE: Specifying plist requirements in defcustom?, Drew Adams, 2008/10/15
- Message not available
- Re: Specifying plist requirements in defcustom?, jrwats, 2008/10/15
- Re: Specifying plist requirements in defcustom?, jrwats, 2008/10/15
- Re: Specifying plist requirements in defcustom?, jrwats, 2008/10/15
- RE: Specifying plist requirements in defcustom?, Drew Adams, 2008/10/15
- Message not available
- Re: Specifying plist requirements in defcustom?, jrwats, 2008/10/15