From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#7083: bug#7088: `copy-tree' of a vector copy sharing structure.with original Date: Thu, 23 Sep 2010 10:47:36 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1285233105 23510 80.91.229.12 (23 Sep 2010 09:11:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Sep 2010 09:11:45 +0000 (UTC) Cc: 7083@debbugs.gnu.org, 7088-done@debbugs.gnu.org To: MON KEY Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 23 11:11:44 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Oyhq7-0007Iy-QQ for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Sep 2010 11:11:40 +0200 Original-Received: from localhost ([127.0.0.1]:52013 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oyhq7-0005T9-5A for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Sep 2010 05:11:39 -0400 Original-Received: from [140.186.70.92] (port=37796 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oyhpv-0005St-Vi for bug-gnu-emacs@gnu.org; Thu, 23 Sep 2010 05:11:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oyhpu-0001Zu-Rn for bug-gnu-emacs@gnu.org; Thu, 23 Sep 2010 05:11:27 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41449) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oyhpu-0001Zq-O6 for bug-gnu-emacs@gnu.org; Thu, 23 Sep 2010 05:11:26 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OyhRK-00016m-HM; Thu, 23 Sep 2010 04:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Sep 2010 08:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7083 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7083-submit@debbugs.gnu.org id=B7083.12852315054240 (code B ref 7083); Thu, 23 Sep 2010 08:46:02 +0000 Original-Received: (at 7083) by debbugs.gnu.org; 23 Sep 2010 08:45:05 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OyhQN-00016K-RD for submit@debbugs.gnu.org; Thu, 23 Sep 2010 04:45:04 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OyhQL-00015j-0S; Thu, 23 Sep 2010 04:45:01 -0400 Original-Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 4E3881C159E1; Thu, 23 Sep 2010 10:47:37 +0200 (CEST) Original-Received: from hase.home (ppp-88-217-115-11.dynamic.mnet-online.de [88.217.115.11]) by mail.mnet-online.de (Postfix) with ESMTP id CA8521C00314; Thu, 23 Sep 2010 10:47:36 +0200 (CEST) X-Yow: Go on, EMOTE! I was RAISED on thought balloons!! In-Reply-To: (MON KEY's message of "Thu, 23 Sep 2010 01:28:33 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 23 Sep 2010 04:46:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:40372 Archived-At: MON KEY writes: > When copy-tree copies vectors the copy shares structure with the original. Works as documented. A vector is not a cons cell. If TREE is a cons cell, this recursively copies both its car and its cdr. ^^^^^^^^^ Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."