From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54934 Path: main.gmane.org!not-for-mail From: Kevin Greiner Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-agentize versus emacs 20 mapc Date: Mon, 24 Nov 2003 21:45:55 -0600 Sender: ding-owner@lists.math.uh.edu Message-ID: References: <87oev1uyzw.fsf@zip.com.au> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1069731997 23576 80.91.224.253 (25 Nov 2003 03:46:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 Nov 2003 03:46:37 +0000 (UTC) Original-X-From: ding-owner+M3474@lists.math.uh.edu Tue Nov 25 04:46:34 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AOU9q-0001aC-00 for ; Tue, 25 Nov 2003 04:46:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1AOU9R-0006Ko-00; Mon, 24 Nov 2003 21:46:09 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AOU9J-0006Ki-00 for ding@lists.math.uh.edu; Mon, 24 Nov 2003 21:46:01 -0600 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by justine.libertine.org (Postfix) with ESMTP id F25593A0027 for ; Mon, 24 Nov 2003 21:46:00 -0600 (CST) Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1AOU9I-0003Qd-00 for ; Tue, 25 Nov 2003 04:46:00 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 37 Original-NNTP-Posting-Host: dialup-216-12-206-254.ev1.net Original-X-Trace: quimby.gnus.org 1069731960 13182 216.12.206.254 (25 Nov 2003 03:46:00 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Tue, 25 Nov 2003 03:46:00 +0000 (UTC) User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:23ZYkAoyot7sdRoKOOSou2wQArQ= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:54934 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54934 Katsumi Yamaoka writes: >>>>>> In <87oev1uyzw.fsf@zip.com.au> >>>>>> Kevin Ryde wrote: > >> I tried to startup today's cvs under emacs 20 but it died in >> gnus-agentize, apparently missing mapc > >> Signaling: (void-function mapc) > > [...] > >> Does one have to require 'cl to use mapc, not just eval-when-compile? >> I'm not up with the way that stuff is supposed to work. Macros can be evaluated during compilation as they get expanded by the compiler. However, functions such as mapc must be evaluated at runtime. >> If gnus-agentize is only iterating over a few methods then perhaps >> just mapcar would be enough. > > I have the same opinion with you. Developers, if you think Gnus > still supports Emacs 20, please do so. Or should I add the > compiler macro to dgnushack.el for `mapc'? The mapc function currently appears in gnus-agent.el gnus-registry.el gnus.el spam-stat.el spam.el so it would appear that multiple authors have made the same mistake. Rather than perpetuate the issue, I'd vote for the compiler macro in dgnushack.el. Can someone who uses Emacs 20 write and test it? Kevin