all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: "Mattias Engdegård" <mattias.engdegard@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: New function safe-copy-tree.
Date: Tue, 7 Mar 2023 15:52:45 +0000	[thread overview]
Message-ID: <ZAddzSx3DPnZGVLQ@ACM> (raw)
In-Reply-To: <8ACCC822-32D0-40D5-A68E-43E3A7EE7926@gmail.com>

Hello, Mattias.

On Tue, Mar 07, 2023 at 14:37:09 +0100, Mattias Engdegård wrote:
> 6 mars 2023 kl. 22.14 skrev Alan Mackenzie <acm@muc.de>:

> > 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.

Yes.  Help making it more elegant would be appreciated.

> 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.

OK, but safe-copy-tree isn't really part of bug #61962, it's more a
general function which the bug fix happened to need, but wasn't there.

-- 
Alan Mackenzie (Nuremberg, Germany).



      reply	other threads:[~2023-03-07 15:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-06 21:14 New function safe-copy-tree Alan Mackenzie
2023-03-07 12:12 ` Eli Zaretskii
2023-03-07 13:37 ` Mattias Engdegård
2023-03-07 15:52   ` Alan Mackenzie [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZAddzSx3DPnZGVLQ@ACM \
    --to=acm@muc.de \
    --cc=emacs-devel@gnu.org \
    --cc=mattias.engdegard@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.