Cover the basics of nREPL sessions and sesman.el.
7 comments
@mbcladwell guile-next has it, I use it. The problem can be in some other place. How do you run ares? You don't need to specify #:port if you use recent emacs-arei, it automatically picks the port from .nrepl-port file. I use 7888 in ares local checkout only because I need a quick connect capabilites from other places, where .nrepl-port is not present (for test.scm from arei project for example). For all other projects I use a random port. @mbcladwell One of the reasons we don't release Arei 1.0 is because guile is not yet updated in guix, so it requires some hussle to setup correctly: rebuilding guix and other packages with guile-next to work with ares, carefully setting apropriate load paths and so on. @mbcladwell I mean guile version inside `guix shell`, they must be different from what you have in you default profile. No problem. Wait a bit for Arei 1.0, there are so much quality of life improvements in it :) |
@abcdw
Unfortunately I did not copy my original error message but it was something like "...variable 'make-custom-textual-input-port' is not defined....". This error appears when I try to Mx arei-evaluate-last-sexp.
make-custom-textual-input-port should be in ice-9/textual-ports.scm but is not in the guile-next that is available today (8/7/2024) from guix.
I had to git clone https://git.sv.gnu.org/git/guile.git and guix package --install-from-file to get the guile-3.0.10 currently available that does have make-custom-textual-input-port.
With that done it seems to be working.
Your instructions at https://git.sr.ht/~abcdw/emacs-arei forget to mention you need to specify #:port 7888 when starting the server, otherwise you get a random port. That modification is visible though in the video.
Thanks Andrew
@abcdw
Unfortunately I did not copy my original error message but it was something like "...variable 'make-custom-textual-input-port' is not defined....". This error appears when I try to Mx arei-evaluate-last-sexp.
make-custom-textual-input-port should be in ice-9/textual-ports.scm but is not in the guile-next that is available today (8/7/2024) from guix.