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
require-match and empty input #909
Comments
I came across this post while looking for a way to tell ivy to complete the null string "" for filename completion in the minibuffer. If I understand correctly from here, |
This is allowed with C-M-j ( |
@Bad-ptr I added a check for the null collection. Should be enough, I think. Thanks. |
When using filename or directory completion, it seems impossible to even get to a null string; when I delete everything in the minibuffer, the null string is not in the candidates, so I see either the tramp methods or some directory |
@spluque that's how it's supposed to work; you can still use C-M-j. |
Sorry to insist @abo-abo , but when I do that ( |
@spluque Please open a new issue describing specifically what you want to achieve in general (like create a file), not just the small detail of getting an empty string. |
Testcase:
With ivy enabled I can only abort with
C-g
, orC-u C-j
. (more precisely I can not exit from minibuffer withexit-minibuffer
and empty input)With ivy disabled I can press
RET
and get""
result.The emacs manual says:
Well I'm understand that this is a very rare case, but I'd like if ivy will be as much consistent with the standard
completing-read
as it is possible.I have a code where I bind a key to the
mb-local-map
which allows me to exit(it callsexit-minibuffer
) and restartcompleting-read
with a different collection. Initially it may be empty collection. This works with standard completing-read, but not with ivy.The text was updated successfully, but these errors were encountered: