From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-devel@gnu.org
Subject: Re: The with-slots macro shadows function names
Date: Fri, 31 Mar 2017 09:58:06 -0400 [thread overview]
Message-ID: <jwvinmptupw.fsf-monnier+gmane.emacs.devel@gnu.org> (raw)
In-Reply-To: 87fuhut1g1.fsf@bistromath
>>>>> "Steven" == Steven Allen <steven@stebalien.com> writes:
> The following fails to compile on emacs 26 but compiles on emacs 25:
> (lambda (obj) (with-slots (message) obj (message "")))
> It fails with:
> Eager macro-expansion failure: (invalid-function ((slot-value object (quote message))))
> It appears to be substituting the `message` function name with
> `(slot-value object 'message)`.
Please make it a bug report. It's caused by:
commit 0d112c00ba0ec14bd3014efcd3430b9ddcfe1fc1
Author: Paul Pogonyshev <pogonyshev@gmail.com>
Date: Sun Mar 12 09:51:23 2017 +0100
Fix bug in generator function with pcase (Bug#26068)
* lisp/emacs-lisp/cl-macs.el (cl--sm-macroexpand): Remove some calls
to symbol-name.
-- Stefan
prev parent reply other threads:[~2017-03-31 13:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-31 6:17 The with-slots macro shadows function names Steven Allen
2017-03-31 13:58 ` Stefan Monnier [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=jwvinmptupw.fsf-monnier+gmane.emacs.devel@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@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 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).