Subject: bug#39484: 26.3; try-completion bug

From: Lars Ingebrigtsen <[email-masked]>
Date: Wed, 28 Oct 2020 10:50:23 +0100

Andreas Schwab <[email-masked]> writes:

>> It does, but it's weird.  I mean, this pair of return values don't make
>> sense on any level:
>>
>> (let ((completion-ignore-case t))
>>   (try-completion "xyz" '("XyzaD" "XyZabc")))
>> => "Xyza"
>>
>> (let ((completion-ignore-case t))
>>   (try-completion "xyz" '("XyZbD" "XyZabc")))
>> => "xyz"  
>
> It makes a whole lot sense.  If the candidate is not modified, it
> should not receive any case changes either.

But the case change in the modified case is essentially arbitrary, while
the unmodified case has a unique, non-arbitrary match.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no