> I still have to find a way to make this work inside mode-compile
patching this in mode-compile.el seems to work
(defun mc--compile (compile-command) ;; Call compile with the compile command ;; but append the remote-command before (if (null mc--remote-command) ;; local compile (mc--compile-sav compile-command t) ; <-- +-- "t" added to list ;; remote compile (let ((thisdir (expand-file-name (or default-directory "~")))) (mc--compile-sav (concat ;; The command to lauch remote commands mc--remote-command ;; Change to this buffer directory ... "'( cd " thisdir " ; " ;; then run the compile command compile-command " )'")))))
But I'm not too sure, only using emacs for 30 years now...
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery