GNU bug report logs - #49848
27.2.50; map-merge plist return alist

Previous Next

Package: emacs;

Reported by: Rajeev N <rajeev.jnk <at> sivalik.com>

Date: Tue, 3 Aug 2021 19:40:02 UTC

Severity: normal

Tags: patch

Found in version 27.2.50

Fixed in version 28.1

Done: "Basil L. Contovounesios" <contovob <at> tcd.ie>

Bug is archived. No further changes may be made.

Full log


Message #31 received at 49848 <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: "Basil L. Contovounesios" <contovob <at> tcd.ie>
Cc: rajeev.jnk <at> sivalik.com, 49848 <at> debbugs.gnu.org
Subject: Re: bug#49848: 27.2.50; map-merge plist return alist
Date: Thu, 05 Aug 2021 04:47:16 +0200
"Basil L. Contovounesios" <contovob <at> tcd.ie> writes:

> In the specific case of merging maps into a desired type, we can simply
> be more careful in such ambiguous cases.  The attached patch does that,
> while also avoiding the quadratic lookup behaviour for lists.

Looks good and appropriate to me (I could not read very carefully,
though, I'm tired today and can have a second look tomorrow).

Should we handle the corner case when zero maps get merged?

> I think the latter option may facilitate the equal-ity consistency
> being discussed in https://bug.gnu.org/47368.
>
> WDYT?

Seems a good idea to me, too.


Thanks,

Michael.




This bug report was last modified 3 years and 282 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.