From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#14831: cl-member warnings during bootstrap Date: Mon, 15 Jul 2013 21:37:44 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1373938686 21647 80.91.229.3 (16 Jul 2013 01:38:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Jul 2013 01:38:06 +0000 (UTC) Cc: Juanma Barranquero , 14831@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 16 03:38:06 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UyuDO-0004Wg-92 for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Jul 2013 03:38:06 +0200 Original-Received: from localhost ([::1]:41731 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UyuDN-0002cL-Rm for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Jul 2013 21:38:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48542) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UyuDK-0002cF-Q6 for bug-gnu-emacs@gnu.org; Mon, 15 Jul 2013 21:38:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UyuDK-00074w-1e for bug-gnu-emacs@gnu.org; Mon, 15 Jul 2013 21:38:02 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34495) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UyuDJ-00074n-UA for bug-gnu-emacs@gnu.org; Mon, 15 Jul 2013 21:38:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UyuDJ-0007wP-KE for bug-gnu-emacs@gnu.org; Mon, 15 Jul 2013 21:38:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Jul 2013 01:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14831 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14831-submit@debbugs.gnu.org id=B14831.137393866730497 (code B ref 14831); Tue, 16 Jul 2013 01:38:01 +0000 Original-Received: (at 14831) by debbugs.gnu.org; 16 Jul 2013 01:37:47 +0000 Original-Received: from localhost ([127.0.0.1]:57044 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UyuD4-0007vo-QX for submit@debbugs.gnu.org; Mon, 15 Jul 2013 21:37:47 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:36963 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UyuD3-0007vf-Cf for 14831@debbugs.gnu.org; Mon, 15 Jul 2013 21:37:45 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1UyuD2-00083Y-K5; Mon, 15 Jul 2013 21:37:44 -0400 X-Spook: MIT-LL defense information warfare militia MD4 lynch Ft. X-Ran: R,j,i{o^L#Jipa758D46:`h8H0eh\XA].ZR@"v@!I[+dnZ,g;Z4Y{!^&16 $t\/|4W'L X-Hue: red X-Attribution: GM In-Reply-To: (Stefan Monnier's message of "Mon, 15 Jul 2013 20:19:34 -0400") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:76384 Archived-At: Stefan Monnier wrote: > I'd like to understand exactly where those `cl-member's come from. > I suspect the missing part is the (put 'cl-member 'compiler-macro > #'cl--compiler-macro-member) which is normally in cl-loaddefs.el. > > Those residual cl-member calls may actually be a real problem, so maybe > this is not just a minor cosmetic fix. Deleting cl-loadefs.el and batch byte-compiling a file with sole contents: (defvar foo-bar nil) (add-to-list 'foo-bar 1) produces byte-code containing cl-member. Makes no sense to me... You are correct that adding (eval-and-compile (put 'cl-member 'compiler-macro#'cl--compiler-macro-member)) to the start of the file seems to fix it.