From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/65441 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: Warning: `mapcar' called for effect; use `mapc' or `dolist' Date: Mon, 22 Oct 2007 17:39:28 -0400 Message-ID: References: <200710200643.l9K6h9gk021348@oogie-boogie.ics.uci.edu> <200710222007.l9MK7fRZ022140@oogie-boogie.ics.uci.edu> <200710222104.l9ML4cah025247@oogie-boogie.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1193089183 30538 80.91.229.12 (22 Oct 2007 21:39:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Oct 2007 21:39:43 +0000 (UTC) Cc: ding@gnus.org, emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 22 23:39:44 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ik4zw-0002t4-18 for ged-emacs-devel@m.gmane.org; Mon, 22 Oct 2007 23:39:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ik4zo-0004Kf-5B for ged-emacs-devel@m.gmane.org; Mon, 22 Oct 2007 17:39:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ik4zk-0004HZ-Bz for emacs-devel@gnu.org; Mon, 22 Oct 2007 17:39:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ik4zh-0004BC-Jt for emacs-devel@gnu.org; Mon, 22 Oct 2007 17:39:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ik4zh-0004Ar-FX for emacs-devel@gnu.org; Mon, 22 Oct 2007 17:39:29 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ik4zh-0008PZ-CX for emacs-devel@gnu.org; Mon, 22 Oct 2007 17:39:29 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1Ik4zg-0005qt-2m; Mon, 22 Oct 2007 17:39:28 -0400 X-Spook: S Key counter intelligence Skipjack FBI red noise Serbian X-Ran: \/.3U,b03H>D\Veu/.@oK]v7?:yF!':+"eX8R2aR)^JZ"3^dU""3/{lq (Dan Nicolaescu's message of "Mon, 22 Oct 2007 14:04:38 -0700") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:81484 gmane.emacs.gnus.general:65441 Archived-At: Dan Nicolaescu wrote: > Reiner Steib writes: [...] > > Hm, I can't reproduce the warning using `emacs-lisp-byte-compile' with > > GNU Emacs 23.0.50.6 (i686-pc-linux-gnu, GTK+ Version 2.10.6) of 2007-10-20. > > Too old? > > I can't either. I see the warning only when bootstrapping (in an up-to-date CVS). If I repeat the same commands as used during bootstrapping, except using the dumped "emacs" instead of "bootstrap-emacs", I still don't see the warning: cd lisp rm gnus/gnus-group.elc EMACSLOADPATH=$PWD ../src/emacs \ -batch --no-site-file --multibyte -f batch-byte-compile-if-not-done \ gnus/gnus-group.el Something to do with custom perhaps? Anyway, regardless of this, from having replaced some mapcars in the non-gnus parts of the trunk, I can say that the replacement is not just something that can be done automatically, someone should look at the actual code in each case. It shouldn't take very long, and ought to eliminate ~ 100/370 of the current bootstrap warnings. (There's not much point if the gnus in the Emacs CVS will soon be replaced with gnus trunk though.)