This error was reported upstream https://github.com/minad/vertico/discussions/501
A solution posted in that thread worked for me: Delete the eln-cache directory in the user-emacs-directory Cheers Jake On Sun, Sep 15, 2024 at 12:59 PM Jake <jforst.mail...@gmail.com> wrote: > Hello > > I'm getting an error with "emacs-vertico" when using "emacs-next", but it > only occurs when the packages are installed in the default user profile or > in an ordinary shell; it doesn't occur in a container. It also doesn't > occur with "emacs" (29.4). > > guix shell emacs-next emacs-vertico -- emacs -Q --eval "(progn (require > 'vertico) (vertico-mode 1) (call-interactively 'execute-extended-command))" > gives the error: > Error in post-command-hook (vertico--exhibit): (void-function > compat--completion-metadata-get) > > the same error does not happen in a container: > guix shell --container --network --preserve='^DISPLAY$' > --preserve='^XAUTHORITY$' --preserve='^LANG$' --expose=$XAUTHORITY --no-cwd > emacs-next emacs-vertico -- emacs --eval "(progn (require 'vertico) > (vertico-mode 1) (call-interactively 'execute-extended-command))" > > guix 258aab2 > > Any ideas? > > Thanks > Jake >