From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Glenn Morris <rgm@gnu.org>
Cc: 12548@debbugs.gnu.org
Subject: bug#12548: 24.2.50; Eager macro-expansion skipped due to cycle
Date: Tue, 02 Oct 2012 21:41:54 -0400 [thread overview]
Message-ID: <jwva9w4gwx4.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <mvpq50hhng.fsf@fencepost.gnu.org> (Glenn Morris's message of "Tue, 02 Oct 2012 14:07:31 -0400")
> Compiling emacs-lisp/ert-x.el
> Warning: Eager macro-expansion skipped due to cycle:
> => (load "gv.el") => (macroexpand-all (defun gv--defun-declaration
> )) => (macroexpand (pcase )) => (load "pcase.el") =>
> (macroexpand-all (defmacro pcase-let )) => (macroexpand (dolist ))
> => (load "gv.el")
I think this is the problem due to "loading cl.el causes pcase's use of
dolist to load cl-macs, which loads gv, which loads pcase, ...".
The occurrence of this problem depends on when pcase gets byte-compiled
(since pcase.elc does not require macroexpansion of dolist).
The best fix I can think of is to ban cl.el's dolist, but I have the
strange feeling this suggestion is not going to fly.
> PPS does using the ellipsis character add anything?
As compared to using "..."? It's more concise.
As compared to not writing it at all, the advantage is that it preserves
the Elisp syntax, making the result more clear.
Stefan
next prev parent reply other threads:[~2012-10-03 1:41 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-01 12:53 bug#12548: 24.2.50; Eager macro-expansion skipped due to cycle Eli Zaretskii
2012-10-01 15:13 ` Stefan Monnier
2012-10-01 15:30 ` Eli Zaretskii
2012-10-01 15:31 ` Drew Adams
2012-10-01 16:42 ` Stefan Monnier
2012-10-01 17:00 ` Drew Adams
2012-10-02 6:47 ` Glenn Morris
2012-10-02 16:45 ` Eli Zaretskii
2012-10-02 16:53 ` Glenn Morris
2012-10-02 18:07 ` Glenn Morris
2012-10-03 1:41 ` Stefan Monnier [this message]
2012-10-03 7:06 ` Glenn Morris
2012-10-03 13:04 ` Stefan Monnier
2012-10-03 16:19 ` Glenn Morris
2012-10-03 17:46 ` Stefan Monnier
2012-10-04 1:39 ` Michael Olson
2012-10-05 20:21 ` Glenn Morris
2012-10-05 22:24 ` Michael Olson
2012-10-03 1:42 ` Stefan Monnier
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=jwva9w4gwx4.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=12548@debbugs.gnu.org \
--cc=rgm@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).