Skip to content
Discussion options

You must be logged in to vote

No, this is out of scope, since I want to keep a unified UI across all completions, and Vertico can handle many thousands of candidates (~50k - 100k). Vertico is interruptible so it is possible to continue typing while the candidates are computed. The problem here is that the prompt is not yet displayed, but this can be worked around with a redisplay before the computation:

(completing-read
 "Prompt: "
 (completion-table-dynamic
  (let (initialized)
    (lambda (input)
      ;; Force displaying the prompt early on
      (unless initialized
        (redisplay)
        (setq initialized t))
      (sleep-for 1) ;; Simulate extremely slow completion table
      (list "foo" "bar" "baz")))))

Un…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dabeibao
Comment options

Answer selected by dabeibao
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants