5 ms·
> I usually use remote servers anyway Sorry for the OT question - do you use slime-tramp? And if so, do you have a way to use M-. (slime-edit-definition) witho
by kagevf 3y ago
> I usually use remote servers anyway
Sorry for the OT question - do you use slime-tramp? And if so, do you have a way to use M-. (slime-edit-definition) without having to re-compile files using the remote paths?
- mark_l_watson 3y agoI usually use Mosh (instead of SSH) and have a nice Emacs setup on remote servers. If I am using an iPad Pro instead of a laptop, I have Emacs on remote servers configured with Mosh to accept virtual mouse clicks (by tapping the iPad screen) to jump around source files and scrolling with screen gestures. This might seem awkward, but it is not. For Common Lisp, running Emacs on a remote server instead of slime-tramp has always been good enough. Would you suggest I try slime-tramp?
- kagevf 3y ago> I usually use Mosh Mosh as in "mobile shell"? https://mosh.org/ 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.