consult-dir
consult-dir copied to clipboard
Using `consult-dir` in minibuffer requires `enable-recursive-minibuffers` non-nil
As mentioned in the title, using consult-dir
from the minibuffer, requires the variable of enable-recursive-minibuffers
set to t.
I could not find this being documented. Otherwise, it probably would be nice if consult-dir
sets this automatically.
@dalanicolai To use consult-dir, the user is not required to set, or even be aware of the variable enable-recursive-minibuffers
. consult-dir
enables recursive minibuffers if needed, and restores the prior state when exiting.
Does consult-dir
not work for you from the minibuffer if you (setq enable-recursive-minibuffers nil)
?
Indeed, I simply wanted to test the package, but when trying to invoke consult-dir
from the minibuffer, a message appeared that I was 'trying to invoke a command from the minibuffer'. After setting enable-recursive-minibuffers
to t things worked fine.
Indeed, I simply wanted to test the package, but when trying to invoke
consult-dir
from the minibuffer, a message appeared that I was 'trying to invoke a command from the minibuffer'.
This shouldn't happen, it's a bug with consult-dir. I'm not able to reproduce it with emacs -q + a fresh installation of consult-dir though.
@dalanicolai Could you test it again, by first setting enable-recursive-minibuffers
to nil
? consult-dir
automatically sets it to t
when invoked from the minibuffer, so this shouldn't be happening.