From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.devel Subject: Re: New function safe-copy-tree. Date: Tue, 7 Mar 2023 14:37:09 +0100 Message-ID: <8ACCC822-32D0-40D5-A68E-43E3A7EE7926@gmail.com> References: Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.14\)) 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="26565"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Mar 07 16:29:36 2023 Return-path: Envelope-to: ged-emacs-devel@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 1pZZFv-0006df-FT for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Mar 2023 16:29:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pZZFN-0003JG-RP; Tue, 07 Mar 2023 10:29:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pZXVC-0000ZV-Ms for emacs-devel@gnu.org; Tue, 07 Mar 2023 08:37:14 -0500 Original-Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pZXVB-0005Nh-74 for emacs-devel@gnu.org; Tue, 07 Mar 2023 08:37:14 -0500 Original-Received: by mail-lf1-x132.google.com with SMTP id s20so17060754lfb.11 for ; Tue, 07 Mar 2023 05:37:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678196231; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:from:to:cc:subject :date:message-id:reply-to; bh=JUz/lzR19P+7yX+7y1zbTKVMzxTV1Rplc4zEBLNaoZE=; b=SJbsKm9vzFzDgw6X5rbunfdFoDNdcDt99m+pBjM9skP39FZ6JJIIljJu9kh08+X1Ev KgClblupwXAWitHi5nMFnTiSpYyipiP/d7yki7/tg8fLl8fnQUKsIGHbzFClpialUNM7 0X9bFyS4SPFu+nOSy/6RCw3ozMUUVmN4xHs5vs3Pf8B+DT8tE/W8k7p0QbES+F07E3I9 hh4ob/hxkGRhTiYeHWcd0cPT9/5NVO+zfGD8Wo1xwnk5BjUSvOS4DnEghPy+PC19yQzC BFnAROlKJgKkJVvKf/js4IZibwgskLRAzhLn8EM6mot5W5CKLkl0zitk5sp+b+paOahR NjFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678196231; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:sender:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=JUz/lzR19P+7yX+7y1zbTKVMzxTV1Rplc4zEBLNaoZE=; b=vc5Os4pNOuHETCIN0oBcw3euQFLxHz3kevFzNFN+ab8d4QH8fdzLA33PLWUAowTlsC MVDxMB4CLLt89dYIPH8G13N3jCTzw85SFe5Lr7aJEOKPtBQvV8X41q7mTR1nNIolzY9D iwHK9mBHx8sm0wvHnlDFkF/Ls5oMVel55IlwAffkS6HOFNtR7+PnElGf9XOKSj6CSzr7 VA3vqkrGM+Hy2pYoWNjEY6ySmOqmjLSjrYlMYMoqI1Y+ANlW2mQry0jirqIZ8aJoGZkQ H9Fc/B703dAsophCfIVrGF6vk3Wyp6MgGpAacba08SLSAdP1QxExzSA8hgBAe+d081jQ R3kg== X-Gm-Message-State: AO0yUKUXpr8DgwCCCMPFIyeu23mTWhRoE18PE7JfHSql98J8ljK7JyAe 8SELkG+DHSEybugsWn+rxac= X-Google-Smtp-Source: AK7set8OhWCnK+PxdYNSymLxJVz/0p8L+dGoAEK7czmmefLmqxQUZkuzh1MF+v2MHcNbu2tuLOdgrg== X-Received: by 2002:ac2:5448:0:b0:4dc:4c1e:13ba with SMTP id d8-20020ac25448000000b004dc4c1e13bamr4104245lfn.23.1678196230515; Tue, 07 Mar 2023 05:37:10 -0800 (PST) Original-Received: from smtpclient.apple (c188-150-171-209.bredband.tele2.se. [188.150.171.209]) by smtp.gmail.com with ESMTPSA id z16-20020a05651c11d000b002983bdf7d71sm1644090ljo.106.2023.03.07.05.37.09 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Mar 2023 05:37:10 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.3654.120.0.1.14) Received-SPF: pass client-ip=2a00:1450:4864:20::132; envelope-from=mattias.engdegard@gmail.com; helo=mail-lf1-x132.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 07 Mar 2023 10:29:01 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:304089 Archived-At: 6 mars 2023 kl. 22.14 skrev Alan Mackenzie : > In order to fix bug #61962, I'm intending to introduce a new function > safe-copy-tree in subr.el. It is like copy-tree, except it works with > circular lists as well as normal ones. Seems more than a little heavy-handed to me, and the implementation = isn't without problems. I'll take a closer look at your patch a bit = later on but right now I'm short of time. Please attach the patch to = bug#61962 meanwhile and let's continue the discussion there.