GNU bug report logs - #24966
26.0.50; test-completion with alist COLLECTION calls PREDICATE incorrectly

Previous Next

Package: emacs;

Reported by: Mark Oteiza <mvoteiza <at> udel.edu>

Date: Sat, 19 Nov 2016 10:27:01 UTC

Severity: normal

Tags: confirmed, fixed, patch

Found in version 26.0.50

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: npostavs <at> users.sourceforge.net
To: Mark Oteiza <mvoteiza <at> udel.edu>
Cc: 24966 <at> debbugs.gnu.org
Subject: bug#24966: 26.0.50; test-completion with alist COLLECTION calls PREDICATE incorrectly
Date: Sun, 27 Nov 2016 15:24:27 -0500
[Message part 1 (text/plain, inline)]
tags 24966 patch
quit

npostavs <at> users.sourceforge.net writes:
>
> I tentatively suggest the patch below, but I want to add some tests
> before commiting anything.

While adding tests, I found another inconsistency: when given a
hashtable with symbol keys, test-completion passes the symbol-name to
PREDICATE, while all-completions and try-completion pass the original
symbol key.  Here are two patches, the first for this bug, and the
second for the other inconsistency.

[v1-0001-Give-test-completion-s-PREDICATE-full-alist-entry.patch (text/plain, attachment)]
[v1-0002-Give-test-completion-s-PREDICATE-the-hashtable-ke.patch (text/plain, attachment)]

This bug report was last modified 8 years and 169 days ago.

Previous Next


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