-
-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect completion case when read-file-name-completion-ignore-case is on #341
Comments
Thanks for the detailed report. This is an upstream bug, since invalid candidates are generated. Can you please report it? These are the steps needed:
Note that the problem is not pronounced in Vertico if you delete shadowed paths: (add-hook 'rfn-eshadow-update-overlay-hook #'vertico-directory-tidy) Generally, before reporting an issue for Vertico, please check if default completion is affected too. |
Like I mentioned, if I don't have Vertico enabled, the candidate is correctly completed with its case corrected. |
Yes, but that's irrelevant (To be fair, you did test without Vertico, but your test wasn't precise enough to also expose the bug). If you press TAB in default completion, Iirc this issue got reported before in some slightly different scenario. Maybe search through the issue tracker. |
Related issue #307 and https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60264 |
Oh, you're absolutely right, when I use I think I actually prefer the behavior with the shadowed paths being deleted, thank you. I see it now that it's mentioned in the readme too. |
Yes, |
When
read-file-name-completion-ignore-case
is set tot
and~/
is used to anchor the path at the home from some other directory, accepting a completion candidate from among the~/*
files doesn't correct the case before returning it.I've prepared a minimal example, with what I've found so far in the comments:
The text was updated successfully, but these errors were encountered: