unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: How to populate a property list?
Date: Tue, 26 Oct 2004 09:24:05 -0600	[thread overview]
Message-ID: <2u78gpF279dr3U1@uni-berlin.de> (raw)
In-Reply-To: <RLmdnRJOLMFUv-PcRVn-qQ@speakeasy.net>

Hattuari wrote:
 > Suppose I have a collection of key values pairs as follows:
 >
 > char  c
 > short s
 > int   i
 > long  l
 >
 > I want to put them in a property list.  I can do this:

Why a property list instead of an association list?

(setq type-map
       '((char . c)
         (short . s)
         (int . i)
         (long . l)))

-- 
Kevin Rodgers

  parent reply	other threads:[~2004-10-26 15:24 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-26 10:09 How to populate a property list? Hattuari
2004-10-26 12:28 ` Thien-Thi Nguyen
2004-10-27 20:38   ` Hattuari
2004-10-31 14:39     ` Kai Grossjohann
2004-10-26 15:24 ` Kevin Rodgers [this message]
2004-10-30 12:05   ` Hattuari
2004-10-30 17:12     ` Thien-Thi Nguyen
2004-10-30 17:54       ` Hattuari
2004-10-30 20:17         ` Thien-Thi Nguyen
2004-10-31  8:32           ` Hattuari
2004-10-31  8:57             ` Thien-Thi Nguyen
2004-10-31 15:23             ` Hattuari
2004-11-01 16:44         ` Kevin Rodgers
2004-10-31 14:36 ` Kai Grossjohann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2u78gpF279dr3U1@uni-berlin.de \
    --to=ihs_4664@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).