From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: dolist? - same result on 21.3 Date: Sat, 2 Jul 2005 14:46:24 -0700 Message-ID: References: <42C6FC03.7030102@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1120341489 19011 80.91.229.2 (2 Jul 2005 21:58:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 2 Jul 2005 21:58:09 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 02 23:58:07 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DopzX-00055N-W7 for ged-emacs-devel@m.gmane.org; Sat, 02 Jul 2005 23:57:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Doq0e-00048i-FH for ged-emacs-devel@m.gmane.org; Sat, 02 Jul 2005 17:58:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dopxx-0003Eg-9r for emacs-devel@gnu.org; Sat, 02 Jul 2005 17:56:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dopxk-00036I-3N for emacs-devel@gnu.org; Sat, 02 Jul 2005 17:55:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dopxi-00032k-Ud for emacs-devel@gnu.org; Sat, 02 Jul 2005 17:55:46 -0400 Original-Received: from [148.87.122.33] (helo=rgminet04.oracle.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dopu9-0001pv-Vt for emacs-devel@gnu.org; Sat, 02 Jul 2005 17:52:06 -0400 Original-Received: from rgminet04.oracle.com (localhost [127.0.0.1]) by rgminet04.oracle.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id j62LkSZk015763 for ; Sat, 2 Jul 2005 15:46:29 -0600 Original-Received: from rgmsgw300.us.oracle.com (rgmsgw300.us.oracle.com [138.1.186.49]) by rgminet04.oracle.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id j62LkR5V015740 for ; Sat, 2 Jul 2005 15:46:27 -0600 Original-Received: from rgmsgw300.us.oracle.com (localhost [127.0.0.1]) by rgmsgw300.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j62LkRbO013390 for ; Sat, 2 Jul 2005 15:46:27 -0600 Original-Received: from dradamslap (dhcp-amer-csvpn-gw1-141-144-64-169.vpn.oracle.com [141.144.64.169]) by rgmsgw300.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with SMTP id j62LkQE7013384 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Sat, 2 Jul 2005 15:46:26 -0600 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-reply-to: <42C6FC03.7030102@student.lu.se> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Importance: Normal X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE 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:40148 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:40148 Likewise, in Emacs 20.7 ("..." doesn't work, even though ".." does), so this is old behavior. And mapcar has the same behavior (the resulting list is correct, however). This is true in both Emacs 22 (from CVS April) and Emacs 20.7. mapc is implemented in C source in more recent Emacs versions, but in Emacs 20.7 it is defined in terms of mapcar (in cl-extra.el). It seems odd that the behavior would be the same across versions, but in Emacs 22, the C code for mapc and mapcar look similar, as do the mapcar C implementations for Emacs 20 and 22 (different alloc methods). Looks like a nice bug, to me.