[Top][All Lists]

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

Re: Using setq to obtain a symbol from a list, so that I can assign a f

From: Pascal Bourguignon
Subject: Re: Using setq to obtain a symbol from a list, so that I can assign a function to it
Date: Tue, 22 Apr 2008 20:36:44 +0200
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.1 (gnu/linux)

Ted Zlatanov <address@hidden> writes:

> On Mon, 21 Apr 2008 19:28:03 -0700 (PDT) address@hidden wrote: 
> s> So, I am trying to write a tool that will enable me to write specific
> s> XML files by prompting me to enter values. Here is how I am trying to
> s> do it.
> You may want to look at the various templating packages available, in
> case one of them does what you want.  Check out skeleton.el in
> particular ( for some
> examples) since any element of the template can itself be a template.
> That will probably save you a lot of time.
> Anytime you find yourself auto-generating functions you should wonder if
> your data structure could be better (sometimes the answer is 'no' :)

Well, I wouldn't be so categoric.  You could start by writting an
"interpreter" of your data, but generating lisp is like implementing
the "compiler", so I don't see much difference.  It's so easy to do it
in lisp, that you can go directly to the "compiler".

__Pascal Bourguignon__           

THIS IS A 100% MATTER PRODUCT: In the unlikely event that this
merchandise should contact antimatter in any form, a catastrophic
explosion will result.

reply via email to

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