From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: PT Newsgroups: gmane.emacs.help Subject: Re: Structured data in Emacs Lisp Date: Tue, 26 Apr 2005 17:57:45 +0200 Organization: Aioe.org NNTP Server Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 Content-Transfer-Encoding: Quoted-Printable X-Trace: sea.gmane.org 1114531062 10654 80.91.229.2 (26 Apr 2005 15:57:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 26 Apr 2005 15:57:42 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 26 17:57:40 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DQSPh-0005Q6-4g for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Apr 2005 17:55:53 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DQSVR-0003I1-LA for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Apr 2005 12:01:49 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.multikabel.nl!news2.euro.net!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!feeder.xsnews.nl!aioe.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 24 Original-NNTP-Posting-Host: Ro95BftT46NzjJz3WaSlRQ.domitilla.aioe.org Original-X-Complaints-To: abuse@aioe.org Original-NNTP-Posting-Date: Tue, 26 Apr 2005 15:57:05 +0000 (UTC) User-Agent: Opera M2/8.0 (Win32, build 7561) Original-Xref: shelby.stanford.edu gnu.emacs.help:130487 Original-To: help-gnu-emacs@gnu.org 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:26055 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:26055 On Tue, 26 Apr 2005 17:28:48 +0200, Denis Bueno wrote= : > > You could use a plist: > > (:key1 1 :key2 2) > > Then to get a particular value: > > (getf '(:key1 1 :key2 2) :key1) > =3D> 1 > Nice! I like it better than association lists. Thanks! > So you might need to do (require 'cl) before using it.... I already require 'cl, so it's no problem. I checked Info and getf was = listed under the Symbols node, that's why I didn't know about it. -- = Using Opera's revolutionary e-mail client: http://www.opera.com/m2/