From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/51927 Path: main.gmane.org!not-for-mail From: Jesper Harder Newsgroups: gmane.emacs.gnus.general Subject: Re: Oort Gnus v0.19 is released Date: Tue, 29 Apr 2003 00:30:51 +0200 Organization: http://purl.org/harder/ Sender: ding-owner@lists.math.uh.edu Message-ID: References: <87brys6r9t.fsf@orebokech.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1051569166 3710 80.91.224.249 (28 Apr 2003 22:32:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 28 Apr 2003 22:32:46 +0000 (UTC) Original-X-From: ding-owner+M470@lists.math.uh.edu Tue Apr 29 00:32:44 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19AHAy-0000xX-00 for ; Tue, 29 Apr 2003 00:32:44 +0200 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 19AHB4-0003In-00; Mon, 28 Apr 2003 17:32:50 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19AHAz-0003Ii-00 for ding@lists.math.uh.edu; Mon, 28 Apr 2003 17:32:45 -0500 Original-Received: (qmail 54570 invoked by alias); 28 Apr 2003 22:32:45 -0000 Original-Received: (qmail 54565 invoked from network); 28 Apr 2003 22:32:45 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by sclp3.sclp.com with SMTP; 28 Apr 2003 22:32:45 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 19AHIE-00017o-00 for ; Tue, 29 Apr 2003 00:40:14 +0200 Original-To: ding@gnus.org Original-Path: localhost.localdomain!nobody Original-Newsgroups: gnus.ding Original-Lines: 26 Original-NNTP-Posting-Host: 0xc3f9528a.esnxr1.ras.tele.dk Original-X-Trace: quimby.gnus.org 1051569614 4327 195.249.82.138 (28 Apr 2003 22:40:14 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 28 Apr 2003 22:40:14 GMT In-Reply-To: (Simon Josefsson's message of "Mon, 28 Apr 2003 21:10:15 +0200") X-Face: ^RrvqCr7c,P$zTR:QED"@h9+BTm-"fjZJJ-3=OU7.)i/K]<.J88}s>'Z_$r; writes: > Jesper Harder writes: > >> There is a grain of truth in the warnings, i.e. that pop is a tiny bit >> less efficient when we don't use the return value -- not that I think >> anyone would notice the difference. > > The warning has been removed, but I'm not sure I agree it had even a > tiny grain of truth in it -- the docstring for `pop' says "Remove and > return the head of the list stored in PLACE.", and I assume this is > what CL `pop' is supposed to do. Using it in that way in elisp should > never generate a warning IMHO. I agree that the warning is too pedantic. But it's still true, though. The part to notice in the docstring is and return the head of the list If we don't use the return value from pop, then (setq x (cdr x)) is obviously more efficient than (pop x) == (car (prog1 x (setq x (cdr x))))