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

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

bug#14175: 24.3.50; Bad completion behavior with read-file-name-completi


From: Stefan Monnier
Subject: bug#14175: 24.3.50; Bad completion behavior with read-file-name-completion-ignore-case t
Date: Fri, 12 Apr 2013 13:40:13 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> When you hit TAB the second time, this call in
> `completion--nth-completion' changes the result from ("download/"
> "Downloads/") to ("Download/" "Downloads/"):

>    (if requote
>         (funcall requote result n)
>       result)

Hmmm........

Indeed we have a problem.  Usually "completion-ignore-case" as you
expect means "feel free to change my input's case to match the
completions".  But the "quote/requote" thingy generally tries to
preserve the user's input (e.g. so as to keep $HOME rather than replace
it with /home/monnier), which is why here it also preserves the
user's case.

Not sure yet how best to fix this bug.


        Stefan





reply via email to

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