[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New function safe-copy-tree.
From: |
Alan Mackenzie |
Subject: |
Re: New function safe-copy-tree. |
Date: |
Tue, 7 Mar 2023 15:52:45 +0000 |
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).