GNU bug report logs -
#37450
26.3; `all-completions' PREDICATE for a hash table COLLECTION
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Wed, 18 Sep 2019 18:03:01 UTC
Severity: minor
Tags: wontfix
Found in version 26.3
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> (all-completions orig
> THE-BBDB-ALIST
> (lambda (sym)
> (when (bbdb-completion-predicate sym)
> (push sym all-comps))))
>
> I had to change that to this, adding an (unused?) arg for the PREDICATE:
>
> (all-completions orig
> bbdb-hashtable'
> (lambda (sym __)
> (when (bbdb-completion-predicate sym)
> (push sym all-comps))))
I shouldn't have been so definitive about that "fix".
It apparently didn't work - the user now reports a
different error message, saying "Something like two
arguments but expected one." I don't use BBDB, so
I'm flying a bit blind on this.
Hope my bug report makes some sense in any case.
My question seems reasonable, at least in my relative
ignorance: why must the PREDICATE take also a VALUE
arg when COLLECTION is a hash table? Why isn't KEY
lookup sufficient?
This bug report was last modified 4 years and 117 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.