[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#39484: 26.3; try-completion bug
From: |
Andreas Schwab |
Subject: |
bug#39484: 26.3; try-completion bug |
Date: |
Wed, 28 Oct 2020 10:42:51 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
On Okt 28 2020, Lars Ingebrigtsen wrote:
> Andreas Schwab <schwab@linux-m68k.org> writes:
>
>> On Okt 27 2020, Wanrong Lin wrote:
>>
>>> The answer is not bad, matching at least one of the candidates. That makes
>>> the answer to my original example even more odd:
>>> (let ((completion-ignore-case t))
>>> (try-completion "xyz" '("XyzD" "XyzAbc"))
>>> )
>>> ==> "xyz"
>>
>> That also matches one of the candidates (since case doesn't matter).
>
> 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.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
- bug#39484: 26.3; try-completion bug, (continued)
- bug#39484: 26.3; try-completion bug, Lars Ingebrigtsen, 2020/10/27
- bug#39484: 26.3; try-completion bug, Wanrong Lin, 2020/10/27
- bug#39484: 26.3; try-completion bug, Andreas Schwab, 2020/10/27
- bug#39484: 26.3; try-completion bug, Wanrong Lin, 2020/10/27
- bug#39484: 26.3; try-completion bug, Andreas Schwab, 2020/10/27
- bug#39484: 26.3; try-completion bug, Wanrong Lin, 2020/10/27
- bug#39484: 26.3; try-completion bug, Wanrong Lin, 2020/10/27
- bug#39484: 26.3; try-completion bug, Wanrong Lin, 2020/10/27
- bug#39484: 26.3; try-completion bug, Andreas Schwab, 2020/10/28
- bug#39484: 26.3; try-completion bug, Lars Ingebrigtsen, 2020/10/28
- bug#39484: 26.3; try-completion bug,
Andreas Schwab <=
- bug#39484: 26.3; try-completion bug, Lars Ingebrigtsen, 2020/10/28
- bug#39484: 26.3; try-completion bug, Andreas Schwab, 2020/10/28
- bug#39484: 26.3; try-completion bug, Lars Ingebrigtsen, 2020/10/28
- bug#39484: 26.3; try-completion bug, Andreas Schwab, 2020/10/28
- bug#39484: 26.3; try-completion bug, Wanrong Lin, 2020/10/28
- bug#39484: 26.3; try-completion bug, Stefan Monnier, 2020/10/28
- bug#39484: 26.3; try-completion bug, Wanrong Lin, 2020/10/28
- bug#39484: 26.3; try-completion bug, Stefan Monnier, 2020/10/28