I have noticed that, using vertico, some files are not displayed in the minibuffer by default when executing find-file, and I'm not sure to understand why.
Say that I have three files in a given directory:
.
├── landmarks2.tps
├── landmarks.tps
└── script.R
- I launch Emacs in this folder with
emacs -Q. - I load vertico.
- I do
M-x vertico-mode RET. - I do
C-x C-fand type nothing in the minibuffer. vertico proposes only one candidate in the minibuffer: script.R, and says that it displays all files corresponding to the pattern it searches (*/1). But since I gave no pattern at all, why is script.R a match, whereas landmarks.tps and landmarks2.tps are not?
I tried to customize several variables (either vertico-sort-function, or other variables related to completion styles), but I found nothing to fix this behaviour.