GNU bug report logs - #21644
24.4; completing-read acts differently on functional collection

Previous Next

Package: emacs;

Reported by: "Ryan C. Thompson" <rct <at> thompsonclan.org>

Date: Wed, 7 Oct 2015 22:57:01 UTC

Severity: normal

Found in version 24.4

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


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

From: Oleh Krehel <ohwoeowho <at> gmail.com>
To: "Ryan C. Thompson" <rct <at> thompsonclan.org>
Cc: 21644 <at> debbugs.gnu.org
Subject: Re: bug#21644: 24.4;
 completing-read acts differently on functional collection
Date: Thu, 08 Oct 2015 12:13:22 +0200
[Message part 1 (text/plain, inline)]
> Try typing "g" followed by RET for both of the above. In the first
> case (collection is a list), it returns "green". In the second case
> (collection is a function), it returns just "g". This is reproducible
> in emacs -Q.

I can reproduce this as well, although "TAB RET" works where "RET"
doesn't. I attach a patch with a fix. If someone can check it I can push
it. The patch doesn't solve all the intricacies of
`completion-ignore-case' that were mentioned in that function's
comments, just this specific use case.

    Oleh

[0001-lisp-minibuffer.el-completion-complete-and-exit-Fix-.patch (text/x-diff, attachment)]

This bug report was last modified 9 years and 220 days ago.

Previous Next


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