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 16:55:31 +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> 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="32022"; 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 18:59:47 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 1ltYtG-00088S-P2 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 16 Jun 2021 18:59:46 +0200 Original-Received: from localhost ([::1]:44434 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ltYtF-0008Pz-Nd for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 16 Jun 2021 12:59:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44954) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltYpK-0004dO-M8 for help-gnu-emacs@gnu.org; Wed, 16 Jun 2021 12:55:44 -0400 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:42888) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltYpG-0006oa-V3 for help-gnu-emacs@gnu.org; Wed, 16 Jun 2021 12:55:41 -0400 Original-Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 15GGpg8w017862; Wed, 16 Jun 2021 16:55:35 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=aQL6g5zho0DmitSIWmbe7U81rLXNYtkyQ0xouAPxvS8=; b=weBRPgYC82nHKKK0e3B00pozUpkoFiCo2TQoSalYVno9T29PLrR95mgpIh4HTWL+ejNb V8FxqCRt2j6Q3bcPS4jOPMjDQkagDLOayglk8fqd+dcV0p3ZpdFb94msLhynSAxpbWSK iTOBeVpSA8UVtJ+IA/1bgehYUKu7llJPq4XoCaC5S6fxFJL7YVVMLuCEqX378iDkjl2Q VwE+c/ndlQoZBlMfjtu7SWKuvaPKATl+16wcDU/qsfIWOOBJEN6xc1JwnuPs7l9r0PGw EcWSwTG6Qo2M1z7OZVujGWQpTQAOEmZt90F/ODrrRnS5ZbcfdECuxTeKQqj4F7iwpa+q VQ== Original-Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by mx0b-00069f02.pphosted.com with ESMTP id 397jnqrd08-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 16 Jun 2021 16:55:35 +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 15GGoqht099507; Wed, 16 Jun 2021 16:55:33 GMT Original-Received: from nam04-dm6-obe.outbound.protection.outlook.com (mail-dm6nam08lp2046.outbound.protection.outlook.com [104.47.73.46]) by userp3030.oracle.com with ESMTP id 396wap34p7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 16 Jun 2021 16:55:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nO9nUm5OLSbchoGf3BMQW6tJeF/l8la6hRv1HHZzXCwxtPRJTjCCTnyuS//5zU5ak3Uw1ZAqrXQHoxCux07L/855itf7iCtYJqU6gRVvtswj73tnLLB1r/am5RFBshLJnlCcpyQw4HqtiSZTmshOAzBEwR6UYngWTdZ+SLoLKqJEmmxcyA1s4NEn5rc69743BAAsxaLO8XyJ9i44GNHzlfbAXoNsNIRfNgfQjn6qPraKRjEidsrFT/RHmFc9Ak2/bXgKILYTfr1h1E3HNjIEaXeq9m8ztnCGrR9xT5wPmwI4QMbzoNv7GWhz206s2QYmZ1AbTz9LuVu2BfHor+1buA== 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=aQL6g5zho0DmitSIWmbe7U81rLXNYtkyQ0xouAPxvS8=; b=blpXRtJfDoVkGDefZr6AnPMyQEB4gl/jA6ZtSMHb0wJdtNA6C6+A8nrFKXGJJUgp0nEtVzPw4X05buLKZSUZqtG2wHstfZ0VcGU1R3VkBwsWwho9ivMX+YN8wcDVv6JvzIPsLVvHPq9cbpYmxlzUWBfS446jQtTAv2r7T4IxsumiyDhSON10zEo177xrJQuMuHphUVzB2KDt6hUbjgrjiEy+GYyeF0fJNaPevm5Rxs6mkCedmRg6aInHgfpSmd2joXAeyySBK0JtRWcg0AmVo2/bWzV0R5c77qfevGr2Lk9ndUougzpWiDqvhoRKqQfqJxDDnC7U1UztwwSbYiezfA== 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=aQL6g5zho0DmitSIWmbe7U81rLXNYtkyQ0xouAPxvS8=; b=ECGgqG/z2dY/OgAs5PyzTzWCmfS+hdISNLMcd9DP5hDZ+HSS9rXxUIcJyqHhJA731874cmbbGoYF+s+HsZsac+pPSEztd+edlG2ZJO8p3ev4QlQwD4p+m2C1yLhG2qs0Pv1qltEQPld3mCu9HJsRHqh+4Occry8BpKYdUcb8kSI= Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com (2603:10b6:806:11b::15) by SA2PR10MB4539.namprd10.prod.outlook.com (2603:10b6:806:117::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.18; Wed, 16 Jun 2021 16:55: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 16:55:31 +0000 Thread-Topic: [External] : Re: Appending lists Thread-Index: AQHXYs6OS4ASpUYpZ0uXPw6BYtV52KsW2ZYA In-Reply-To: <87r1h1vk0q.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: c4ce1369-9449-4994-d980-08d930e78d48 x-ms-traffictypediagnostic: SA2PR10MB4539: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Y9bHQYNSycNgencdwWNVDjKgqjxLJijfazQvcnW46NKv0fbzzNMTbEXB1sia6HKbGzjQaChROe+qejUzDbPyD+pF9RtQ3qF4QWVieEb5UvlSqzII14A1zqkspWDoqXcfEwhyowi64kMDsQNCd3WBvqkFlZ2hGynaNAexFFc6uDuyIqmV/ivHp2090vvftommTPk/j6ZQtrIQakKcxfDNHu1G1h/7Epg2SO5lJtDhWlz5V2Sl1r/x7f/e9hJkf+h1n4q8scW9QLVVOAIaxyiA0cn/IBxiNfOcNLeCTCAoJF9vKt5lSEcvwrwPlw/OYijFce5mK/dbCaBF+d610+gjlqgbA6zw7J5gUK+tjDQIvaHvzdl3NdzlNLfgiElgZADHMWITjjahuAfP5d1fIygfCO3UBqcKymHF+ILXPTCev4ScDTMWhIB3FuYn+V+5rZr86VxUddXGH3SVTOTErZjYn9YEEObeibxGYomoERZNHkw/64y2bjR6tVyLObU+vJ+03acYGoiYAvIs7f7TJNmYZpLNfsvcCbJitFB1DocSnM7fISfuzzNaeR4tMCqpCR0Bs86F0QYtQY1TxZ9adWNvNjdPMFJ0ziQFd+sbzE8OU+xlFJACBwYO2RDVWrJyUl/rMlmsBrgQX1p9K5IRGrwaOb0UwAZKkpZT8acACo0oLPU= 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:(376002)(39860400002)(346002)(396003)(366004)(136003)(6916009)(9686003)(52536014)(186003)(8676002)(33656002)(55016002)(86362001)(4744005)(38100700002)(6506007)(2906002)(5660300002)(7696005)(71200400001)(8936002)(26005)(478600001)(66446008)(316002)(66946007)(44832011)(76116006)(64756008)(66556008)(66476007)(122000001)(4326008)(180763001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?wHpJNHae7M3Kaqtl++lOmAw9ncB3r4wtP+JKSwUUCTCD/FHOllS7OEXLG8v0?= =?us-ascii?Q?v/qtf4JXf65PayuwZUjOHS5dzZkeAgEUvTJhaRsbRTAc0i4CaH9FSPlJTjYU?= =?us-ascii?Q?8XJSuTQEbKPHsM19gOGOWZQbwsQlI+gUAyy7mvEiLm27TzVVcbmccAuIt/sx?= =?us-ascii?Q?eS0OJB1CD1OQb7hMmUfwLl0551mouQkgsFjWL76rf+qlnotIAXfSP2l8WC9G?= =?us-ascii?Q?VGfIefvYRk510E/h027UoNVL8MxQdg7s97FTCT1RNogSfIZdELE2nZis3bsY?= =?us-ascii?Q?v4+bIMdUZ5owqOqEd5UadfQ85pgPyK02lHrFg/NnbjpMjCCSoicZCN/0+jvY?= =?us-ascii?Q?M/+AU1VrVe61BNkLT4DZsYguU0wDFx01hW9yiqtt/nis84z0IYj83FXVndJ3?= =?us-ascii?Q?2ZcCzNVUmBYeK9CsQlrS9jftMHxGa0VeFynOMEVxErtRGwb519Twbb2uBNx7?= =?us-ascii?Q?1JIeWEkAUVaDCR/pujcVxeSzEqY0P1R5LuzuDFsguXlt9aMnGlas32fME9D7?= =?us-ascii?Q?CSFQt+USuPtE6zdN8kCvUHRCpLgtts/Spu4C7WoLrbqEODY7iJaBwRkiY/Qa?= =?us-ascii?Q?J7Ci7ZQjCZdvVWVmRWJjUPJtq0YeGl8J9EgSkhVTebNp0LYEO+KM3SUc+MWg?= =?us-ascii?Q?bV 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: c4ce1369-9449-4994-d980-08d930e78d48 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jun 2021 16:55:31.4729 (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: wd204cHYyYuWI629+qmugIUJ2OfLYRs1Jf3KIb7S3llXiaOUp1ekGZXVuFxccv+OvKwO5kk++hzjpFKkKdZqOQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4539 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=579 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-2106160097 X-Proofpoint-GUID: qKZ-TrsSmVJbarP8r5u8ssVk63ESSOKX X-Proofpoint-ORIG-GUID: qKZ-TrsSmVJbarP8r5u8ssVk63ESSOKX 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:130912 Archived-At: > Maybe that still isn't a guarantee nreverse can't screw up > something else just the same, unsure how to "partition" or > isolate it if you will? Read your mail quickly. HTH. In general, you can use a "destructive" function such as `nreverse' on something that you've created, e.g. as a separate object from other existing objects. E.g., if you _copy_ a list then you can use `nreverse' on your copy without bothering the list you copied. Depending on the kind of "destructive" operation, you might need to make a deep copy. In all cases, if you use a destructive operation, you should know what it does - that's a prerequisite, unless you really enjoy surprises.