From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54966 Path: main.gmane.org!not-for-mail From: sigurd@12move.de (Karl =?iso-8859-1?q?Pfl=E4sterer?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Using CL in Gnus Date: Wed, 26 Nov 2003 20:46:27 +0100 Organization: Lemis World Sender: ding-owner@lists.math.uh.edu Message-ID: References: <87oev1uyzw.fsf@zip.com.au> <87k75oktn7.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 1069876190 18242 80.91.224.253 (26 Nov 2003 19:49:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Nov 2003 19:49:50 +0000 (UTC) Original-X-From: ding-owner+M3506@lists.math.uh.edu Wed Nov 26 20:49:47 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 1AP5fX-0002nS-00 for ; Wed, 26 Nov 2003 20:49:47 +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 1AP5ep-0002dX-00; Wed, 26 Nov 2003 13:49:03 -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 1AP5eh-0002dR-00 for ding@lists.math.uh.edu; Wed, 26 Nov 2003 13:48:55 -0600 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by justine.libertine.org (Postfix) with ESMTP id B17FE3A0043 for ; Wed, 26 Nov 2003 13:48:54 -0600 (CST) Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1AP5eg-0004EJ-00 for ; Wed, 26 Nov 2003 20:48:54 +0100 Original-To: ding@gnus.org Original-Path: wintendo.pflaesterer.de!not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 30 Original-NNTP-Posting-Host: p62.246.41.97.tisdip.tiscali.de Original-X-Trace: quimby.gnus.org 1069876134 16262 62.246.41.97 (26 Nov 2003 19:48:54 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Wed, 26 Nov 2003 19:48:54 +0000 (UTC) X-Face: #iIcL\6>Qj/G*F@AL9T*v/R$j@7Q`6#FU&Flg6u6aVsLdWf(H$U5>:;&*>oy>jOIWgA%8w* A!V7X`\fEGoQ[@D'@i^*p3FCC6&Rg~JT/H_*MOX;"o~flADb8^ Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Hamster/2.0.4.0 Cancel-Lock: sha1:tr/1y2l3+sU2c8DBWbhaT10qRNs= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:54966 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54966 On 26 Nov 2003, Reiner Steib <- 4.uce.03.r.s@nurfuerspam.de wrote: > Do I understand the docs correctly, that mapc and mapcar _only_ differ > in the result they give, but not in the side effects? Did anyone No they differ more. `mapc' can take an arbitrary number of sequences as arguments `mapcar' only one. Furthermore IMO if you read `mapc' you know a function is used only for the side effects it has; on the other hand `mapcar' shouldn't be used for side effects IMO. > check if we could use mapcar instead of mapc in gnus.el and > gnus-agent? IMHO we should replace them, if there's no disadvantage. Better check for the Emacs version and provide a macro. People have to read code and the meaning of mapc is different from the one of mapcar. [...] > To make clear that the code in Gnus 5.10 _should_ not use mapc (beside I don't understand your point here. KP -- And has thou slain the Jabberwock? Come to my arms, my beamish boy! O frabjous day! Callooh! Callay!' He chortled in his joy. "Lewis Carroll" "Jabberwocky"