From: Xue Fuqiao <xfq.free@gmail.com>
To: Filipp Gunbin <fgunbin@fastmail.fm>
Cc: help-gnu-emacs@gnu.org
Subject: Re: About `macroexpand'
Date: Sun, 30 Dec 2012 15:40:27 +0800 [thread overview]
Message-ID: <20121230154027.f5adcb18be3f5e0959042817@gmail.com> (raw)
In-Reply-To: <86licg81dl.fsf@w2139spb.ru.yotateam.com>
On Sun, 30 Dec 2012 11:06:46 +0400
Filipp Gunbin <fgunbin@fastmail.fm> wrote:
> This version is correct because it returns a form which can be
> evaluated.
>
> The difference between your first and second version is that the first
> does the (incorrect) computation itself (so macroexpand doesn't return
> anything) and the second returns the form (and macroexpand shows it)
> which can be in turn evaluated - and that is a correct macro.
>
> The backquote in my example is just a special syntax which helps to
> avoid complex `(list ...)' constructs with lots of quoting like those
> you used.
I see, thanks.
--
Best regards.
prev parent reply other threads:[~2012-12-30 7:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-30 2:39 About `macroexpand' Xue Fuqiao
2012-12-30 3:50 ` Filipp Gunbin
2012-12-30 5:35 ` Xue Fuqiao
2012-12-30 7:06 ` Filipp Gunbin
2012-12-30 7:40 ` Xue Fuqiao [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121230154027.f5adcb18be3f5e0959042817@gmail.com \
--to=xfq.free@gmail.com \
--cc=fgunbin@fastmail.fm \
--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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.