From: Doug Lewan <dougl@shubertticketing.com>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: RE: Meta-code confusion
Date: Mon, 13 Aug 2012 14:04:52 +0000 [thread overview]
Message-ID: <155DEC68569B714B86C2C7075F5EDA98268CCDA0@DAKIYA1.pegasus.local> (raw)
In-Reply-To: <barmar-1E534F.18025910082012@news.eternal-september.org>
> -----Original Message-----
> From: help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org
> [mailto:help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org] On
> Behalf Of Barry Margolin
> Sent: Friday, 2012 August 10 18:03
> To: help-gnu-emacs@gnu.org
> Subject: Re: Meta-code confusion
>
> In article <mailman.6744.1344634688.855.help-gnu-emacs@gnu.org>,
> Doug Lewan <dougl@shubertticketing.com> wrote:
>
> > The current work-around is to build a string that looks right and
> then (eval
> > (read THAT-STRING)) and let the results of that be the return value.
>
> That's almost always the wrong thing. Rather than that, you should
> build a list (probably using backquote to fill in a template) and then
> (eval THAT-LIST).
I suspected that. It's certainly not a satisfying solution
>
> But more likely, you probably need to define your own macro rather than
> a function.
And I do suppose that this would be more correct (and satisfying). I'm not fluent in macros and try to avoid them, but maybe the time has come....
Thanks for the advice.
,Doug
next prev parent reply other threads:[~2012-08-13 14:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-10 19:12 Meta-code confusion Doug Lewan
2012-08-10 21:38 ` Doug Lewan
[not found] ` <mailman.6744.1344634688.855.help-gnu-emacs@gnu.org>
2012-08-10 22:02 ` Barry Margolin
2012-08-13 14:04 ` Doug Lewan [this message]
2012-08-13 16:44 ` Aurélien Aptel
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=155DEC68569B714B86C2C7075F5EDA98268CCDA0@DAKIYA1.pegasus.local \
--to=dougl@shubertticketing.com \
--cc=help-gnu-emacs@gnu.org \
/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).