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:48:31 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <006f01c92ed5$5b49e150$0200a8c0@us.oracle.com> <48F6041E.5050707@gmail.com> <0bc2b0ca-cb2d-4d77-a748-c0afed563f43@64g2000hsu.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1224092441 14851 80.91.229.12 (15 Oct 2008 17:40:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Oct 2008 17:40:41 +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 19:41:40 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 1KqANQ-0006iA-Lu for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Oct 2008 19:41:40 +0200 Original-Received: from localhost ([127.0.0.1]:38494 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KqAML-0000sp-T6 for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Oct 2008 13:40:33 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!g61g2000hsf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-NNTP-Posting-Host: 70.190.125.119 Original-X-Trace: posting.google.com 1224089311 12840 127.0.0.1 (15 Oct 2008 16:48:31 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 15 Oct 2008 16:48:31 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: g61g2000hsf.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:163469 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:58813 Archived-At: On Oct 15, 9:33=A0am, jrwats wrote: > ;; some of the worst lisp i've written... > ;;(defun path (cadddr list)) > (defun path (a-list) (cadddr a-list)) I shoud also mention I'm willing to get rid of the symbol, and just have a plist (where what was the symbol is now a string accessed by 'name key) So corext-enlistments would look like ((name "enlistment name" branch "a.branch.we.are.in" drive "drive:" path "drive:/path/to/files") (name "another name" branch "another.branch" drive "b:" path "b:/ another/path"))