From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jrwats Newsgroups: gmane.emacs.help Subject: Re: Specifying plist requirements in defcustom? Date: Wed, 15 Oct 2008 10:43:11 -0700 (PDT) Organization: http://groups.google.com Message-ID: <558517ef-7001-469e-898c-3f1580f22fea@j68g2000hsf.googlegroups.com> References: <006f01c92ed5$5b49e150$0200a8c0@us.oracle.com><48F6041E.5050707@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1224096050 29359 80.91.229.12 (15 Oct 2008 18:40:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Oct 2008 18:40:50 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 15 20:41:49 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KqBJX-0006md-1H for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Oct 2008 20:41:43 +0200 Original-Received: from localhost ([127.0.0.1]:57393 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KqBIS-0008Ek-5r for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Oct 2008 14:40:36 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!j68g2000hsf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-NNTP-Posting-Host: 70.190.125.119 Original-X-Trace: posting.google.com 1224092592 22534 127.0.0.1 (15 Oct 2008 17:43:12 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 15 Oct 2008 17:43:12 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: j68g2000hsf.googlegroups.com; posting-host=70.190.125.119; posting-account=bFjqRgoAAAA1g2eFs8HouoaeO5EHoWR2 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:163471 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:58814 Archived-At: > I'm no expert on Customize. The code in wid-edit+.el might help > (http://www.emacswiki.org/emacs/wid-edit%2b.el), or it might not - dunno. > > If not, I believe that Lennart has some widget code that might help. And of > course you can look in the Lisp sources that come with Emacs. And there's the > widget Info manual, FWIW. > > If you do write some useful widget/Customize code, please share it (e.g. > gnu-emacs-sour...@gnu.org or Emacs Wiki).- Hide quoted text - > Thanks for all the help guys. I'll definitely look into it, but will likely cave and use the list type :) What would be magically cool is if a repeat type could have the options tag in it (which specifies keys in alists/plists). (defcustom plist-opts3 nil "uh" :type '(repeat plist :options '((name string) (branch string) (drive string) (path string)))) Alas the options tag only works w/ defcustom...