From: Drew Adams <drew.adams@oracle.com>
To: 37450@debbugs.gnu.org
Subject: bug#37450: 26.3; `all-completions' PREDICATE for a hash table COLLECTION
Date: Wed, 18 Sep 2019 11:26:05 -0700 (PDT) [thread overview]
Message-ID: <7d0182de-dba2-4850-b3c5-6ae6b336c44b@default> (raw)
In-Reply-To: <140d4456-6455-4e48-b3a4-db9b13d6787a@default>
> (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?
next prev parent reply other threads:[~2019-09-18 18:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-18 18:02 bug#37450: 26.3; `all-completions' PREDICATE for a hash table COLLECTION Drew Adams
2019-09-18 18:26 ` Drew Adams [this message]
2021-01-30 7:23 ` Lars Ingebrigtsen
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=7d0182de-dba2-4850-b3c5-6ae6b336c44b@default \
--to=drew.adams@oracle.com \
--cc=37450@debbugs.gnu.org \
/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.