From: Leo Liu <sdl.web@gmail.com>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: 25280-done@debbugs.gnu.org
Subject: bug#25280: 25.1; define-inline doesn't support &rest
Date: Thu, 29 Dec 2016 13:54:05 +0800 [thread overview]
Message-ID: <m1tw9nwa9u.fsf@gmail.com> (raw)
In-Reply-To: <jwvy3yz79lb.fsf-monnier+emacsbugs@gnu.org> (Stefan Monnier's message of "Wed, 28 Dec 2016 22:25:40 -0500")
version: 25.2
On 2016-12-28 22:25 -0500, Stefan Monnier wrote:
>> I misunderstood no support for `,@' implied `. ,'.
>
> No: I can turn
>
> (a b c . ,d)
>
> into
>
> (apply #'a b c d)
>
> but doing that for
>
> (a b ,@c d)
>
> is more cumbersome.
Thanks.
>> Good to know it is not the case. My experiment seems to suggest that
>> inline-letevals is only needed for variables that are eval'd more than
>> once.
>
> There are cases where inline-letevals can be skipped, indeed, but
> "eval'd only once" is not quite sufficient: you also have to make sure
> it's eval'd at least once, and that the various arguments are evaluated
> in the right order and before anything else happens (to stay true to
> the behavior of a function call).
Understood.
>> In rest:
>> t2.el:4:38:Warning: reference to free variable ‘vector’
> I assume this is with an Emacs build that doesn't yet have my recent
> patch, right?
Exactly.
Leo
prev parent reply other threads:[~2016-12-29 5:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-27 2:42 bug#25280: 25.1; define-inline doesn't support &rest Leo Liu
2016-12-27 3:21 ` Stefan Monnier
2016-12-27 4:25 ` Leo Liu
2016-12-27 15:25 ` Stefan Monnier
2016-12-27 17:42 ` Stefan Monnier
2016-12-29 2:00 ` Leo Liu
2016-12-29 2:41 ` Leo Liu
2016-12-29 3:25 ` Stefan Monnier
2016-12-29 5:54 ` Leo Liu [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
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=m1tw9nwa9u.fsf@gmail.com \
--to=sdl.web@gmail.com \
--cc=25280-done@debbugs.gnu.org \
--cc=monnier@IRO.UMontreal.CA \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).