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

[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: Ted Zlatanov
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 10:22:45 -0500
User-agent: Gnus/5.110009 (No Gnus v0.9) Emacs/23.0.60 (gnu/linux)

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 (http://www.emacswiki.org/cgi-bin/wiki/SkeletonMode 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' :)

Ted


reply via email to

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