help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to populate a property list?


From: Kai Grossjohann
Subject: Re: How to populate a property list?
Date: Sun, 31 Oct 2004 15:36:28 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]