all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs-vertico not working with emacs-next outside of a container
@ 2024-09-15 12:59 Jake
  2024-09-29  6:02 ` Jake
  0 siblings, 1 reply; 2+ messages in thread
From: Jake @ 2024-09-15 12:59 UTC (permalink / raw)
  To: help-guix

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: emacs-vertico not working with emacs-next outside of a container
  2024-09-15 12:59 emacs-vertico not working with emacs-next outside of a container Jake
@ 2024-09-29  6:02 ` Jake
  0 siblings, 0 replies; 2+ messages in thread
From: Jake @ 2024-09-29  6:02 UTC (permalink / raw)
  To: help-guix

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.mailman@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
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-09-29  6:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-15 12:59 emacs-vertico not working with emacs-next outside of a container Jake
2024-09-29  6:02 ` Jake

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.