GNU bug report logs - #47368
28.0.50; map-elt returns nil without "deprecated" TESTFN

Previous Next

Package: emacs;

Reported by: dalanicolai <dalanicolai <at> gmail.com>

Date: Wed, 24 Mar 2021 22:54:02 UTC

Severity: normal

Tags: patch

Found in versions 28.0.50, 27.1

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 #58 received at 47368 <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: "Basil L.
 Contovounesios" <contovob <at> tcd.ie>, dalanicolai <dalanicolai <at> gmail.com>,
 47368 <at> debbugs.gnu.org
Subject: Re: bug#47368: 28.0.50; map-elt returns nil without "deprecated"
 TESTFN
Date: Sat, 27 Mar 2021 00:23:38 +0100
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> How 'bout always using `equal`?

I think it would be an improvement.

But are alists the only exception - are we sure there are no useful
implementations of map types were the TESTFN is not constant?  Like a
dictionary where we sometimes want to look up a word case-sensitively,
and if none found, case-insensitively?

Michael.




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

Previous Next


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