Closed altmoket closed 1 year ago
Hmm, that sounds weird to me, because ~/common-lisp
is the default load path of ASDF, which resolves where to load libraries.
https://asdf.common-lisp.dev/asdf.html#Configuring-ASDF-to-find-your-systems
Yes, I see, thanks.
Do you know if when roswell
is installed, roswell adds the common-lisp
directory to the asdf:*central-registry*
. I'm on a new machine, I didn't install sbcl
, just roswell
and right now when I run the next commands:
$ ros run
* asdf:*central-registry*
the output is (#P"/Users/lnunez/.roswell/lisp/quicklisp/quicklisp/")
It's not different whether it runs via Roswell or not. asdf:*central-registry*
is a variable to add a directory programmatically.
My ASDF configurations are here.
$ ros run
* (asdf/source-registry:default-user-source-registry)
(:SOURCE-REGISTRY (:TREE (:HOME "common-lisp/"))
(:DIRECTORY (:HOME ".sbcl/systems/"))
(:DIRECTORY #P"/home/fukamachi/.local/share/common-lisp/systems/")
(:TREE #P"/home/fukamachi/.local/share/common-lisp/source/")
:INHERIT-CONFIGURATION)
* (ql:where-is-system :lem-vi-sexp)
#P"/home/fukamachi/common-lisp/lem-vi-sexp/"
@altmoket
I encountered the same issue, and it found out that Lem's core uses the cached ASDF system registries, which were initialized when the core was created.
You can clear it by asdf:clear-source-registry
manually, or it will be resolved by creating the new image core by ros update lem
.
It works!!! Thank you. :)
Hi Eitaro I think that the common-lisp directory needs to be searchable by quicklisp before loading lem-vi-sexp. For example, on my system I get this error when I try to open lem:
I solve this problem on my machine by adding the following lines to ~/.lem/init.lisp:
I'm happy with the vi mode. Thank you :-)