From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: Warning: `mapcar' called for effect; use `mapc' or `dolist' Date: Thu, 01 Nov 2007 11:35:50 +0900 Organization: Emacsen advocacy group Message-ID: References: <200710200643.l9K6h9gk021348@oogie-boogie.ics.uci.edu> <200710222007.l9MK7fRZ022140@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 1193884584 31789 80.91.229.12 (1 Nov 2007 02:36:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Nov 2007 02:36:24 +0000 (UTC) Cc: dann@ics.uci.edu, ding@gnus.org, Reiner Steib , emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 01 03:36:27 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 1InPuy-0000fb-CJ for ged-emacs-devel@m.gmane.org; Thu, 01 Nov 2007 03:36:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1InPuo-0005ro-Ox for ged-emacs-devel@m.gmane.org; Wed, 31 Oct 2007 22:36:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1InPul-0005rP-DC for emacs-devel@gnu.org; Wed, 31 Oct 2007 22:36:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1InPuj-0005rB-Ko for emacs-devel@gnu.org; Wed, 31 Oct 2007 22:36:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1InPuj-0005r8-Du for emacs-devel@gnu.org; Wed, 31 Oct 2007 22:36:09 -0400 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1InPuf-0003GU-JH; Wed, 31 Oct 2007 22:36:05 -0400 Original-Received: from [66.225.201.151] (port=42347 helo=mail.jpl.org) by orlando.hostforweb.net with esmtpa (Exim 4.68) (envelope-from ) id 1InPub-0006ga-Bd; Wed, 31 Oct 2007 21:36:01 -0500 X-Hashcash: 1:20:071101:rms@gnu.org::nijLfANYOrWWNRGY:0000000j0B X-Hashcash: 1:20:071101:reiner.steib@gmx.de::uyPR1PDXEFUrJ/Ll:0000000000000000000000000000000000000000001iJW X-Hashcash: 1:20:071101:dann@ics.uci.edu::fgP8DPoGSVn2SZGP:07Qdc X-Hashcash: 1:20:071101:ding@gnus.org::hDVUe+v5axmAxCmt:0000ABKz X-Hashcash: 1:20:071101:emacs-devel@gnu.org::Pgs8yG51HuFZqJ6r:0000000000000000000000000000000000000000000y6I X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) Cancel-Lock: sha1:P4W+wGqLAP+/qggkp6MiR4m7B8c= X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:82278 gmane.emacs.gnus.general:65513 Archived-At: >>>>> In http://article.gmane.org/gmane.emacs.gnus.general/65434 >>>>> I wrote: > For instance, `mapcar' used in `gnus-group-highlight-line' > cannot be replaced with `mapc' even if the compiler warns it. >>>>> In http://article.gmane.org/gmane.emacs.gnus.general/65439 >>>>> Reiner Steib wrote: > `mailp' is used implicitly through the variable `gnus-group-highlight' > which is let-bound to `list'. `list' is used in the body of the > let-form. >>>>> Richard Stallman wrote: > So if this warning really happens, it is a bug. > Can it be reproduced? When I wrote the first message I saw that the byte compiler warned about the usage of mapcar in `gnus-group-highlight-line', but it has gone after I rebuilt Emacs after I wrote that message. I also tried Emacs built with the source of two weeks ago, but it didn't happen. That's a mystery, but I don't intend to inquire into it further. Regards,