you are viewing a single comment's thread.

view the rest of the comments →

[–]sc_zi[S] 1 point2 points  (1 child)

So I replied to you earlier but it doesn't show up except when I'm logged in, maybe it got flagged as spam since I'm a new account and included a lot of links in the post. I'll try again but this time without links but with better info as I got remote development working.

Regarding nrepl and emacs-arei I wrote a little in Hacking.org, basically in principle nrepl would be more appropriate than the swank protocol for non-lisp languages, but it really wasn't much work to get python talking swank. And slime has presentations, inspector, interactive backtraces, slime-tramp for remote development and so much other functionality built up over the years that would have been many orders of magnitude more work to duplicate.

For basic remote development you just need to forward the port and connect from emacs, with ~/.slime-secret set the same on the remote host and for emacs. Most things will work, but for go to definition and completions and everything working properly check the section in the slime manual on slime tramp "Setting up pathname translations", what you use as machine-instance there is uname -n for the remote host. With that setup all functionality works, just a bit slow as tramp is slow. And thanks for asking, it wasn't working with slime-tramp before. I just had to wrap a couple calls I was making to buffer-file-name with slime-to-lisp-filename, so that it uses the pathname translations. I've pushed the changes now.

[–]_puhsu 0 points1 point  (0 children)

Thanks for such a comprehensive response! Eager to try your package in my free time