You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to connect to a remote slynk server on a linux box from my Mac laptop I get this error from slynk:
Required module slynk-macrostep but no source file slynk-macrostep found in (/Users/rpg/.emacs.d/lisp/sly/contrib/
/Users/rpg/.emacs.d/lisp/sly-asdf/
/Users/rpg/.emacs.d/lisp/sly-macrostep/
/home/rpg/.emacs.d/lisp/sly/slynk/)
This list of directories is the value of slynk-loader::*load-path*.
Looking at the above, you can see that the list of directories contains three directories for the sly contribs that come from the Mac filesystem (they start with /Users) and one from loading slynk proper (the one that starts with /home).
I believe that the *load-path* is populated as a side-effect of define-sly-contrib and then the invocation of sly-setup, which in turn invokes sly--setup-contribs.
I conjecture that while emacs knows how to translate filenames, using tramp, common lisp (the slynk server) has no corresponding magic applying to its `load-path.
It is possible that it would be easiest to fix this by using ASDF instead of the slynk-loader, but I'm not sure how to do this.
This almost works, but gives an unknown package error in slynk-macrostep.lisp (no "SLYNK-MACROSTEP" package).
I believe that this goes wrong because the slynk-loader tries to compile only slynk-macrostep instead of ASDF-loading the slynk-macrostep system, which would have first compiled and loaded slynk-macrostep/package.lisp.
I will see about using ASDF as the loading method; maybe that will fix things. I will report back.
Note that I have been using sly-macrostep and sly-asdf from GitHub rather than installing them using Emacs packages. I don't know if that would change anything.
The text was updated successfully, but these errors were encountered:
Trying to connect to a remote slynk server on a linux box from my Mac laptop I get this error from slynk:
This list of directories is the value of
slynk-loader::*load-path*
.Looking at the above, you can see that the list of directories contains three directories for the sly contribs that come from the Mac filesystem (they start with
/Users
) and one from loading slynk proper (the one that starts with/home
).I believe that the
*load-path*
is populated as a side-effect ofdefine-sly-contrib
and then the invocation ofsly-setup
, which in turn invokessly--setup-contribs
.I conjecture that while emacs knows how to translate filenames, using tramp, common lisp (the slynk server) has no corresponding magic applying to its `load-path.
It is possible that it would be easiest to fix this by using ASDF instead of the slynk-loader, but I'm not sure how to do this.
What I did in the debugger was:
This almost works, but gives an unknown package error in slynk-macrostep.lisp (no "SLYNK-MACROSTEP" package).
I believe that this goes wrong because the
slynk-loader
tries to compile onlyslynk-macrostep
instead of ASDF-loading theslynk-macrostep
system, which would have first compiled and loadedslynk-macrostep/package.lisp
.I will see about using ASDF as the loading method; maybe that will fix things. I will report back.
Note that I have been using sly-macrostep and sly-asdf from GitHub rather than installing them using Emacs packages. I don't know if that would change anything.
The text was updated successfully, but these errors were encountered: