From: Tino Calancha <tino.calancha@gmail.com>
To: Wilfred Hughes <me@wilfred.me.uk>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: Proposal: make prog2 a macro
Date: Fri, 7 Oct 2016 14:04:22 +0900 (JST) [thread overview]
Message-ID: <alpine.DEB.2.20.1610071403380.3520@calancha-pc> (raw)
In-Reply-To: <CAFXAjY55qb4Eit+skAOb7+8bKDCsCc2ftfkKJD8L2QH7p1fohg@mail.gmail.com>
On Fri, 7 Oct 2016, Wilfred Hughes wrote:
> I was looking at a list of Emacs' special forms, and noticed that
> prog2 is implemented in C. Is there any interest in moving this to a
> simple macro?
I don't have opinion about if this is worth or not, but i think is
safer to avoid the use of backquote: prog2 could be used in an
early stage of the bootstrap.
Instead of:
> + `(prog1
> + (progn ,form1 ,form2)
> + ,@body))
Better use:
(cons 'prog1
(cons (list 'progn form1 form2)
body)))
next prev parent reply other threads:[~2016-10-07 5:04 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-07 4:16 Proposal: make prog2 a macro Wilfred Hughes
2016-10-07 5:04 ` Tino Calancha [this message]
2016-10-07 7:46 ` John Wiegley
2016-10-07 20:34 ` Richard Stallman
2016-10-07 8:08 ` Tino Calancha
2016-10-08 2:12 ` Wilfred Hughes
2016-10-08 2:35 ` Noam Postavsky
2016-10-08 6:11 ` Eli Zaretskii
2016-10-08 3:40 ` Tino Calancha
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=alpine.DEB.2.20.1610071403380.3520@calancha-pc \
--to=tino.calancha@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=me@wilfred.me.uk \
/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.