From: Glenn Morris <rgm@gnu.org>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: Juanma Barranquero <lekktu@gmail.com>, 14831@debbugs.gnu.org
Subject: bug#14831: cl-member warnings during bootstrap
Date: Tue, 16 Jul 2013 13:12:56 -0400 [thread overview]
Message-ID: <wgvc4abf8n.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <jwvoba2dgu7.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue, 16 Jul 2013 04:57:42 -0400")
Stefan Monnier wrote:
> Aha! So it's the compiler-macro of add-to-list which turns an
> add-to-list call into a cl-pushnew call, which is then macro-expanded to
> something that uses cl-member, which should be turned into a plain
> `member' by `cl--compiler-macro-member'. So it can be fixed by changing
> the compiler-macro of add-to-list not to use cl-pushnew.
Or move the
(put 'cl-member 'compiler-macro #'cl--compiler-macro-member)
from cl-seq to cl-macs (and probably the same for cl-assoc).
That seems fine to me, since that is where cl--compiler-macro-member is
defined, but I guess you might want to keep that statement where
cl-member is defined instead.
next prev parent reply other threads:[~2013-07-16 17:12 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-09 14:42 bug#14831: cl-member warnings during bootstrap Juanma Barranquero
2013-07-09 15:54 ` Glenn Morris
2013-07-09 15:56 ` Juanma Barranquero
2013-07-15 11:36 ` Juanma Barranquero
2013-07-15 16:10 ` Glenn Morris
2013-07-15 16:23 ` Juanma Barranquero
2013-07-15 19:48 ` Glenn Morris
2013-07-15 19:50 ` Juanma Barranquero
2013-07-16 0:19 ` Stefan Monnier
2013-07-16 1:37 ` Glenn Morris
2013-07-16 8:57 ` Stefan Monnier
2013-07-16 17:12 ` Glenn Morris [this message]
2013-07-22 20:40 ` 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=wgvc4abf8n.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=14831@debbugs.gnu.org \
--cc=lekktu@gmail.com \
--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).