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: Is this a bug of Emacs-Lisp? Date: Fri, 17 Feb 2006 21:26:15 -0800 Message-ID: References: <20060217162137.GA12962@flame.pc> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1140279714 6637 80.91.229.2 (18 Feb 2006 16:21:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 18 Feb 2006 16:21:54 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 18 17:21:52 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FAUq6-0000uZ-LG for ged-emacs-devel@m.gmane.org; Sat, 18 Feb 2006 17:21:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FAUeC-0005Dq-Op for ged-emacs-devel@m.gmane.org; Sat, 18 Feb 2006 11:09:24 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FAKbw-0002EL-VT for emacs-devel@gnu.org; Sat, 18 Feb 2006 00:26:25 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FAKbs-000267-0E for emacs-devel@gnu.org; Sat, 18 Feb 2006 00:26:23 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FAKbr-000250-K3 for emacs-devel@gnu.org; Sat, 18 Feb 2006 00:26:19 -0500 Original-Received: from [148.87.113.118] (helo=rgminet01.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1FAKhN-0002dA-5Y for emacs-devel@gnu.org; Sat, 18 Feb 2006 00:32:01 -0500 Original-Received: from rgmsgw300.us.oracle.com (rgmsgw300.us.oracle.com [138.1.186.49]) by rgminet01.oracle.com (Switch-3.1.6/Switch-3.1.6) with ESMTP id k1I5QH34028571 for ; Fri, 17 Feb 2006 22:26:17 -0700 Original-Received: from rgmsgw300.us.oracle.com (localhost [127.0.0.1]) by rgmsgw300.us.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id k1I5QH2o009747 for ; Fri, 17 Feb 2006 22:26:17 -0700 Original-Received: from dradamslap (dhcp-amer-whq-csvpn-gw3-141-144-80-252.vpn.oracle.com [141.144.80.252]) by rgmsgw300.us.oracle.com (Switch-3.1.7/Switch-3.1.7) with SMTP id k1I5QG4D009736 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Fri, 17 Feb 2006 22:26:16 -0700 Original-To: X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 In-Reply-To: <20060217162137.GA12962@flame.pc> 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:50700 Archived-At: If you really want to create a new cons cell every time (dummy) runs, you'll have to explicitly do that in the function: (defun dummy () (copy-tree '(1 . 2))) Sure, but that's really doing things the hard way! If you want a new cons cell, then function `cons' is your man - no need to beat around the bush: (defun dummy () (cons 1 . 2))