Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> I usually use Mosh

Mosh as in "mobile shell"? https://mosh.org/

> Would you suggest I try slime-tramp?

I don't know yet, I've just started trying it out.

What made me want to try it was that I could use GUI Emacs to connect to emacs running on a different machine and still have full access to all the emacs keybindings.

So far, the downsides that I have encountered are that M-. and C-c C-k (slime-compile-and-load-file) don't quite work. The work-around would be to visit each file using the remote path and re-compile them so that the running Lisp image can map what's in the image to a path tramp recognizes. Then M-. and C-c C-k should work.

To recompile, select all then compile (X-c X-p C-c C-c) works, or I think C-c M-k also works. Not a great solution if there are a lot of files, though.

IIUC the problem boils down to M-. eventually calling (xref-find-definitions) which is an emacs built-in, and I think that's why the tramp paths aren't translating until a re-compile is done.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: