From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54958 Path: main.gmane.org!not-for-mail From: Reiner Steib <4.uce.03.r.s@nurfuerspam.de> Newsgroups: gmane.emacs.gnus.general Subject: Using CL in Gnus (was: gnus-agentize versus emacs 20 mapc) Date: Wed, 26 Nov 2003 12:34:21 +0100 Organization: Dept. of Theoretical Physics, University of Ulm Sender: ding-owner@lists.math.uh.edu Message-ID: References: <87oev1uyzw.fsf@zip.com.au> <87k75oktn7.fsf@zip.com.au> Reply-To: reiner.steib@gmx.de NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1069847174 20313 80.91.224.253 (26 Nov 2003 11:46:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Nov 2003 11:46:14 +0000 (UTC) Original-X-From: ding-owner+M3498@lists.math.uh.edu Wed Nov 26 12:46:12 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 1AOy7Y-0003yW-00 for ; Wed, 26 Nov 2003 12:46:12 +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 1AOy73-0001ji-00; Wed, 26 Nov 2003 05:45:41 -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 1AOy6s-0001ja-00 for ding@lists.math.uh.edu; Wed, 26 Nov 2003 05:45:31 -0600 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id 42EAC3A004C for ; Wed, 26 Nov 2003 05:45:30 -0600 (CST) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AOy6r-0007Mq-00 for ; Wed, 26 Nov 2003 12:45:29 +0100 Mail-Followup-To: ding@gnus.org X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AOy6q-0007Mh-00 for ; Wed, 26 Nov 2003 12:45:28 +0100 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AOy6q-0005Fa-00 for ; Wed, 26 Nov 2003 12:45:28 +0100 Original-Lines: 37 Original-X-Complaints-To: usenet@sea.gmane.org X-Face: .*T0'iU(sujq_j9\J>-d4fg;N/1++U#U$_5ii6k.=|"-n'?5O:Hyz&wi'-!I~,}7~GgT=0S /&-R5sbkNy5+Xo1y{Tw2KKxi@Xh"g@]Qc|.U<*]WDd)qvGowFDvfU1F]{EDho:7P0@|oOD=Bc{K4?> WP68K[Mx:}=`ZT'6g4'f+g?;`vri2!)xGy}3:=l'(/Cea0l4lo^H5#@/Z3ev Mail-Copies-To: nobody User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:2HeCXMYjy9tWsw2skaD26sSSmhQ= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:54958 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54958 On Wed, Nov 26 2003, Katsumi Yamaoka wrote: >>>>>> Kevin Ryde wrote: [ spam-stat.el ] >> Looks like this one has its own trickery to drag in 'cl when required. >> With dgnushack doing it perhaps that's no longer wanted. > > That is only for smap-stat and Emacs 20 users. However, mapc > you wrote about is in gnus-agent.el and gnus.el which may be > used by most of Gnus and Emacs 20 users. IMHO, the point isn't how many users are affected by loading cl, but that all GNU Emacs packages (thus Gnus) should not load it at run time at all: ,----[ (info "(cl)Overview") in Emacs CVS HEAD ] | *Please note:* the "CL" functions are not standard parts of the | Emacs Lisp name space, so it is legitimate for users to define them | with other, conflicting meanings. To avoid conflicting with those user | activities, we have a policy that packages installed in Emacs must not | load "CL" at run time. (It is ok for them to load "CL" at compile time | only, with `eval-when-compile', and use the macros it provides.) If | you are writing packages that you plan to distribute and invite | widespread use for, you might want to observe the same rule. `---- OTOH, Gnus 5.10.x (labeled Gnus 5.11) will be included in Emacs 21.y where the relevant functions for `spam-stat.el' (gethash hash-table-count make-hash-table mapc puthash) are built-in functions already. So I'm not sure how relevant it is to avoid mapc and friends in Gnus 5.10. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/