I am editing a python file on my local machine and executing it on a server. I would like to use
python-shell-send-buffer, etc but these functions use
/tmp on my local computer instead of the server. How do I configure emacs to use the server
/tmp when my process is on a server?
(This is very closely related to https://emacs.stackexchange.com/a/21003/34588. However, this modified python sends to use local
/tmp when editing on a server. I would like the opposite: use server
/tmp while editing local)