Replies: 1 comment 5 replies
-
Can you help me convince that this is actually a bug? ;) Similar problems where Vertico hasn't shown up have been occured before, but not on more recent Emacs versions. The problem is usually that an input event is lost such that Vertico isn't updated: Oddly this works on TTY: emacs -nw -Q --eval '(progn (package-initialize) (vertico-mode) (completing-read "Prompt: " (list "foo" "bar")))' But I can confirm that it does not work on GUI: emacs -Q --eval '(progn (package-initialize) (vertico-mode) (completing-read "Prompt: " (list "foo" "bar")))' But why should it? There is no input event, so Vertico not showing up seems expected. I am not sure if this counts as a bug given that calling completing read from the command line is a special use case. While I make up my mind about this you can work around it by calling emacs -Q --eval '(progn (package-initialize) (vertico-mode) (run-at-time 0.2 nil (intern "vertico--exhibit")) (completing-read "Prompt: " (list "foo" "bar")))' |
Beta Was this translation helpful? Give feedback.
-
When running
from a command line with vertico configured, the minibuffer correctly shows up and asks for options.
The initial options are, however, not shown. This can temporarily be "fixed" by typing something in the prompt and then deleting the query.
So it seems that some initialization is skipped when directly launching a completing read.
I have tried multiple completion styles and also a consulting read, so I believe the issue is with vertico.
My vertico configuration is simply
PS: very impressed by the bug squashing and 0 open issues :) sorry to open one now
Beta Was this translation helpful? Give feedback.
All reactions