From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: [External] : Re: Appending lists Date: Wed, 16 Jun 2021 17:54:30 +0000 Message-ID: References: <4tl1yvylvg1fxx5eefjs9mnk.1623688568572@email.android.com> <87o8c8l32h.fsf@posteo.net> <87zgvs2bup.fsf@zoho.eu> <87y2bby1kr.fsf@zoho.eu> <20210615091834.GB24886@tuxteam.de> <87im2ewr3k.fsf@zoho.eu> <20210616072819.GB17919@tuxteam.de> <87r1h1vk0q.fsf@zoho.eu> <87tulxu4bc.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30977"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "Help-Gnu-Emacs \(help-gnu-emacs@gnu.org\)" To: Emanuel Berg Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 16 19:55:17 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ltZkz-0007p7-82 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 16 Jun 2021 19:55:17 +0200 Original-Received: from localhost ([::1]:47042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ltZkx-0000rm-Az for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 16 Jun 2021 13:55:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59392) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltZkN-0000qP-1m for help-gnu-emacs@gnu.org; Wed, 16 Jun 2021 13:54:39 -0400 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:17638) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltZkL-0004NB-0U for help-gnu-emacs@gnu.org; Wed, 16 Jun 2021 13:54:38 -0400 Original-Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 15GHovSh031688; Wed, 16 Jun 2021 17:54:34 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2020-01-29; bh=cTFwyxo1VyNTn5M5e2gdUF6Yf6bjovaxsSV8Tx22Em4=; b=w6dss31C03gadWESvj0NDQLoElXiVzBDvmK2gQ0dN+zwTHzLANUwlJn1e5PF6i9kNjb6 iAg7J5g9ZtbDSduQqgm3jG07+ms6fkR3xAtzwoYsshIirWioGk9dcgez7u9duLxx62CR zX5GaObdGoEDhSClcX70dLwz0J8zl+xYX7OPlvPm5EM70KdXN+oKu5S30vRlRohSwTMP s3IUMz1cJWvVkKwkhr1GMwz3Lg3zNWrP085S29iJaACDhvaHwHADqP9ZdJ8pH1qB8tg2 A7Jy+XsHuGfOxA7QhXXwP/Bb9DG0yCG77eAde8IUw5XdOJjA2IS+YTkmZK5audNMjhYv rg== Original-Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by mx0b-00069f02.pphosted.com with ESMTP id 397h4bgqdw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 16 Jun 2021 17:54:34 +0000 Original-Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 15GHor1P060029; Wed, 16 Jun 2021 17:54:33 GMT Original-Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2170.outbound.protection.outlook.com [104.47.58.170]) by userp3030.oracle.com with ESMTP id 396wap4suc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 16 Jun 2021 17:54:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M/MIliLfuv0E5+8irCWJMeCNhY+EbKWq20FeJkuFxPKECtOnxMbsu1FG/iXYTlNVky3mZ/KeMaLUV4kHsO8ltxD1gvH67lEkUQMVFSb4LqP7Q3FqymSFtnlOb4tFnkGhuxbSOL7zaZgrP5z1/4depBgkuDs7L3b+dN3GAVBiGYOB6BjgKrr0IsOFlhJFcL0LCHZPfvAPzBgGBIM8TPjx+Dt0n6RwYB4X1K7x6rSpAAfLS1Cb4OMoDloi0Pcx3RR7QctUFCYtC3TuYCfCZYfrbLa6+EU5uGRx9ss/GBtXPISPwsELIjvdZMJXEQa8ZIflgGkGcK9cl3LJoEV5E+/XRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cTFwyxo1VyNTn5M5e2gdUF6Yf6bjovaxsSV8Tx22Em4=; b=ZiYz8u3MZx76OjiJi4tvVwqkPrY5OqeRM6NneCq7fVeq3SJc3AIbeqJqMUsGDVj/WkIXq4rV3sIN3QXZ6q/5GTxn5Ygg7N8IjjEupPAKsGqtkGJZNW0vsrkwTG+GWlVWEpej8r6prbsM6z6JdQ4HdHBgCHbjYlXSLjpo9kVTXRdft6HPhCgMmu3E3KZN8fbOGk/HTE4wTm8Q5S8YcJMZNRTB5DZ7l7b1WVj07aItyzT1yUEkfs3ifGMBtfd7vtB/xyfDn5J4YhsW0+6H+86NO1CY1Qz1Vd51THh5d+4Cw3hxDRhTBdH7jU0VmT+hgR8GeFbt06PW8WVZssgp0sZ6Ng== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cTFwyxo1VyNTn5M5e2gdUF6Yf6bjovaxsSV8Tx22Em4=; b=J7keCASEt3DJNCs0YtsyXQ1jDXwbPj2G25PLFA5S0OSGg4qfrClBJOMePuhIhNBv5NSBiY/McYcWCJiAb98rXLifMHD7MkjZT2vrwJ9ZSrSEUlFhDXxIY0t+wSrTygbcvJEQ23OHngoaPjISGGrJwB3+HcEP3w5iQpzn7zHTYRs= Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com (2603:10b6:806:11b::15) by SA2PR10MB4810.namprd10.prod.outlook.com (2603:10b6:806:11c::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.15; Wed, 16 Jun 2021 17:54:31 +0000 Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::1c0e:6d54:3781:bd5c]) by SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::1c0e:6d54:3781:bd5c%6]) with mapi id 15.20.4242.019; Wed, 16 Jun 2021 17:54:31 +0000 Thread-Topic: [External] : Re: Appending lists Thread-Index: AQHXYtH9S4ASpUYpZ0uXPw6BYtV52KsW6PAQ In-Reply-To: <87tulxu4bc.fsf@zoho.eu> Accept-Language: en-US Content-Language: en-US authentication-results: zoho.eu; dkim=none (message not signed) header.d=none;zoho.eu; dmarc=none action=none header.from=oracle.com; x-originating-ip: [73.170.83.28] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a8c7ccd1-aa85-4d93-9196-08d930efcb05 x-ms-traffictypediagnostic: SA2PR10MB4810: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: VXV0tsSWuPIyUeVPhTyupnaxVylSqPVHXETaXl9ECjCzietAG8coY2iIuz6QUjvFoqw0Ms9p90/kJXoeQJ2yyV1Xraaz9GuG64kh562pT6530f7SASCnyZAFjCspoed3t0XM9BtqEgYhuXm/wME43NLuHUlGx7OVak6H2sx1NpzJjNtAwGBpVtKuQYgDvgG+8ASdxOK+S2dYkrqByc5j/Jz5cMv6Gtl5OcRFXlsTSRuC+wudfJjP4VlnM0++S0P5F2zVtzjcJGGOvqonn4Rws1yktFV91DzC6OIs5A/HGzvABu2sO8VxexlcpRiZO6sHtUedRL4hmrAPsZeYpImDaExncB0PECYDqMG5lpCGUyWTbdjEJ4/qbw8r9QMRtxNyNozFMDmwY5b8Sp/4B6fZY6Bdz+51ZdIoP30QuokRvSVuv771uwi9VL3MXjD8c0r3GvtXoJ/unBfpT5qrvWPuKx8aYsm96g0jhXxUts2DZ37vFimy2Mfo+OIweteDSAsNLO5jMbIeaXxURgx4gkUPoBqSi9mMbH5Sd1GVRvzlhT/aUI0aktmaKwmi4hgSecaf7H34c3S/rRwnN7KMziXT0OBKbH7KDutc2w57xl9OJry92oHQiBl0HaQ4pAlg93Xg+d7uMcUIQCuBKdGkv3YJBQobjhaRG+WCGWjsaR11V68= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA2PR10MB4474.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(39860400002)(346002)(396003)(366004)(376002)(136003)(316002)(8676002)(38100700002)(44832011)(5660300002)(2906002)(6506007)(122000001)(6916009)(86362001)(26005)(4326008)(4744005)(64756008)(76116006)(71200400001)(8936002)(186003)(66946007)(55016002)(66446008)(7696005)(66556008)(478600001)(33656002)(52536014)(66476007)(9686003)(180763001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?HZ2mGlvWX0kldWo/h8VrWSt51/mhCbRL+1WVXHQApRU4LLHegmt4NfYJnuQH?= =?us-ascii?Q?EnNka+usrMrA5Et7kl105VPmg2PSIgRNfHVQz0mP+k1ricA9PjNjDDikV286?= =?us-ascii?Q?OQn2AVUK8S21qbDR84A/4gk8HPRVtSAmE6fEEi50vxXcLYDFBzj2JO0PjRFb?= =?us-ascii?Q?EAklpvVJHvtfC2DMXwWNW3UbiOyk+3g35vYn1xqCLWRgHjem5RuNcZ/p8/K6?= =?us-ascii?Q?WTokK7zT0PPuQ9sNwgRzng6Kq+OWnZQ/lGxtF1Xxnnw+LXpX5AQC2mxQEBHy?= =?us-ascii?Q?GPDDuWu3eoE6kjq3jn+E1hZYG7BXbT47uFByBe8qr8rUyetTfs6fYGoVgZk5?= =?us-ascii?Q?HKFh5Y6jKepFXDLJeHQ/1ySEwEzEwkGlq7zhiUKXjyXhgeBqGSrUt3uWZC9E?= =?us-ascii?Q?zx18+TagUnUIfZr2miQo8UnelPHuHl3BVcHSloyGOKqwWMCaC0cnZ3HIxice?= =?us-ascii?Q?4uTRn7pkElPmMLywFcOddpOE3p/mQPJiOQapS2CeZQJeEPRsyDofe6VMgqEW?= =?us-ascii?Q?blfaRSIamp9rFBq+73aQS5x2Y7R/t/Odh8ZI8otnJML5ctn1TbrSicTxWmLk?= =?us-ascii?Q?ocvU5AZudEa4PcM2KAni925JQCzKVb7GJLrU06HiSv01rj2/yN3XhwPWO6Aj?= =?us-ascii?Q?CT x-ms-exchange-transport-forked: True X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA2PR10MB4474.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a8c7ccd1-aa85-4d93-9196-08d930efcb05 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jun 2021 17:54:30.9937 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: XPU5hKKogpDy0eT1GAiLxs2ur/8jJ4J/eGTEflf2fqcOU4rdv3GNXUTuh4+UZqCKHCYBNQ2lHapNxvPPlj9lWw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4810 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=10016 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 suspectscore=0 mlxlogscore=641 spamscore=0 adultscore=0 bulkscore=0 mlxscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2106160103 X-Proofpoint-ORIG-GUID: YjqciF3-ikTTzAwldYiqHlm1H89lJNwD X-Proofpoint-GUID: YjqciF3-ikTTzAwldYiqHlm1H89lJNwD Received-SPF: pass client-ip=205.220.165.32; envelope-from=drew.adams@oracle.com; helo=mx0a-00069f02.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:130920 Archived-At: > "Copy", you mean to send the value as an argument? I mean create a separate object. `copy-sequence' does that, for example. > What's a "deep copy"? It's a copy where every part of the object is separate, not `eq' to the corresponding parts of the object that you copied. For a cons, which is a tree, it would mean that neither car nor cdr are shared between the original and the copy, and that the same is true for any cars and cdrs that are, themselves, conses. IOW, the tree is separate/independent from its copy. When that's the case you can change any parts of either without affecting the other. `C-h f copy-tree' describes the difference between what it does (a deep copy) and what `copy-sequence' does (shallow copy - doesn't copy cars.