Hello,

bbb ee <blasf...@gmail.com> writes:

> Thanks, the problem is solved.
>
> ## Possible cause
> Initially, I have emacs installed and ~/.guix-profile/etc/profile sourced.
>
> but when I type "guix package -I | grep emacs". I don't see emacs package
> (strange).
>
> So I reinstall emacs : guix install emacs. Then I can see 2 emacs-27.1
> installation
> ```
> $ which -a emacs
> /home/dev_1/.guix-profile/bin/emacs
> /home/dev_1/.guix-profile/bin/emacs
> /run/current-system/profile/bin/emacs
>
> $ ls -l /home/dev_1/.guix-profile/bin/emacs
> lrwxrwxrwx 8 root root 64 Jan  1  1970 /home/dev_1/.guix-profile/bin/emacs
> -> /gnu/store/6mw831p6pccqwr3k3qanr6pmhcq0qym6-emacs-27.1/bin/emacs
>
> $ ls -l /run/current-system/profile/bin/emacs
> lrwxrwxrwx 2 root root 64 Jan  1  1970
> /run/current-system/profile/bin/emacs ->
> /gnu/store/yy66pbp3h5mw5sv7hrl1778skapszq7k-emacs-27.1/bin/emacs
> ```
>
> Now $EMACSLOADPATH contains 6 paths with
> "$GUIX_PROFILE/share/emacs/site-lisp" in it:
> ```
> $ echo $EMACSLOADPATH
> /home/dev_1/.guix-profile/share/emacs/site-lisp:/home/dev_1/.guix-profile/share/emacs/27.1/lisp:/home/dev_1/.guix-profile/share/emacs/site-lisp:/home/dev_1/.guix-profile/share/emacs/27.1/lisp:/run/current-system/profile/share/emacs/site-lisp:/run/current-system/profile/share/emacs/27.1/lisp
> ```
> Before $EMACSLOADPATH contains only 2 paths without
> "$GUIX_PROFILE/share/emacs/site-lisp" in it.
>
> I think my first emacs installation should has something break,so
> $EMACSLOADPATH isn't correctly set.
>
> Thanks again

Alright, glad you got it sorted!

Closing.

Maxim



Reply via email to