unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Kai Grossjohann <kai@emptydomain.de>
Subject: Re: How to populate a property list?
Date: Sun, 31 Oct 2004 15:36:28 +0100	[thread overview]
Message-ID: <86vfcrkl8z.fsf@ketchup.de.uu.net> (raw)
In-Reply-To: RLmdnRJOLMFUv-PcRVn-qQ@speakeasy.net

Hattuari <susudata@setidava.kushan.aa> writes:

> I want to put them in a property list.  I can do this:
>
> (setq type-map '(char c short s int i long l))
>
> Which works for this short list.  I don't find it particularly
> expressive.

Well, it is not pretty, but it works.  And it is concise, too.

If it is only the indentation that's wrong, then perhaps a trick such
as the following could be useful:

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

I'm not convinced of the merits of this approach, though.

Kai

      parent reply	other threads:[~2004-10-31 14:36 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
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 [this message]

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=86vfcrkl8z.fsf@ketchup.de.uu.net \
    --to=kai@emptydomain.de \
    /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).