importmagic.el
importmagic.el copied to clipboard
Use a remote python environment for tramp files?
It would be much appreciated if this support use a remote python environment for tramp files
Thanks for the request @tshu-w! This brings up interesting questions, for example, how do we discover whether the remote tramp host has python and the importmagic dependencies installed? Do you know how any other packages handle this?
For discovering whether a remote tramp host has python, we can just use (executable-find "python" t)
(t for remote). However, I don't know how to start a server on remote and communicate with epc. lsp-mode can do that but its code is too complicated for me.