I am blessed with a lot of different architectures. I don’t really care which OS type I use as long as I can find the keys on the keyboard.
Sometimes, I have Clojure running for weeks on a remote unix host, connecting to it from emacs via slime-connect or nrepl.
I’ve noticed that M-. (slime-edit-definition or nrepl-jump) doesn’t work in the remote connection setup.
During my debugging, I found the reason for this and fixed it. The fix is not complete and will demand a “HOME” environment variable definition on windows (which I have anyway, because it is used by emacs).
The root of the problem is simply, that clojure delivers a local path to emacs. That is ok, if the two ends of the setup has the same host-type, but HOME on MacOS, Linux and Windows windows is not the same. Emacs tries to open the local path and even if the path is modified with the correct tramp information, we end with either the wrong path locally or externally.
The current fix is not entirely bullet-proof for windows, because “HOME” might not be defined on this platform.
test setup and the current fix.