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 09:27:16 -0700 (PDT) Organization: http://groups.google.com Message-ID: 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 1224088893 32491 80.91.229.12 (15 Oct 2008 16:41:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Oct 2008 16:41:33 +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 18:42:33 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 1Kq9SC-000630-7P for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Oct 2008 18:42:32 +0200 Original-Received: from localhost ([127.0.0.1]:53572 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kq9R7-0006HS-La for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Oct 2008 12:41:25 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!2g2000hsn.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: 70.190.125.119 Original-X-Trace: posting.google.com 1224088036 7000 127.0.0.1 (15 Oct 2008 16:27:16 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 15 Oct 2008 16:27:16 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 2g2000hsn.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:163467 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:58810 Archived-At: > ~All you have to do is write...~ means that it's not there already. Playing with > widgets is, in my book, extending Customize. And it's not necessarily a > clear-cut exercise. I ostensibly agree. Despite all the searching I did, I could not find a solid example of creating a new widget. And they all seemed graphics related... The default customization prompt that occurs with something like this: (defcustom rep-list '(("wcdc" "working.client.deskcomm" "e:" "e: \wcdeskomm")) "test this!" :type '(repeat (list (string :tag "name") (string :tag "branch") (string :tag "drive") (string :tag "path")))) is EXACTLY what I want - I just want a plist with keys: name, branch, drive, and path rather than a list, so I don't have to write silly things like: (defun path (cadddr list)) ...I might just give in to silly application code for the sake of user- friendly client experience.