bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#39484: 26.3; try-completion bug


From: Wanrong Lin
Subject: bug#39484: 26.3; try-completion bug
Date: Fri, 7 Feb 2020 10:44:57 -0500
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2

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








reply via email to

[Prev in Thread] Current Thread [Next in Thread]