GNU bug report logs - #39484
26.3; try-completion bug

Previous Next

Package: emacs;

Reported by: Wanrong Lin <wrglin <at> gmail.com>

Date: Fri, 7 Feb 2020 15:46:02 UTC

Severity: normal

Found in version 26.3

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Wanrong Lin <wrglin <at> gmail.com>
To: 39484 <at> debbugs.gnu.org
Subject: bug#39484: 26.3; try-completion bug
Date: Fri, 7 Feb 2020 10:44:57 -0500
try-completion does not work as expected when completion-ignore-case is t.

Examples:

(let ((completion-ignore-case t))
       (try-completion "xy" '("XyzD" "XyzAbc"))
       )
==> "Xyz"

Expected. The return value has uppercase "X", since the return value 
should be the maximum substring among all the *candidates*.

(let ((completion-ignore-case t))
       (try-completion "xyz" '("XyzD" "XyzAbc"))
       )
==> "xyz"

*Unexpected*. Should be "Xyz".

Thanks for looking into this.

Wanrong







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

Previous Next


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