3 ms·
If you have a remote file open with Tramp, you can also get a shell open there with M-x shell. Try doing that, running python in that shell and renaming the she
by tikhonj 14y ago
If you have a remote file open with Tramp, you can also get a shell open there with M-x shell. Try doing that, running python in that shell and renaming the shell buffer to Python. It might work :P.
If that doesn't work, you might have to find the variable which specifies which buffer has the current running Python process. You should then be able to just change that to a remote shell as above.
You can also automate all of this with a bit of elisp. After you've played around with it a bit, ask around on #emacs--I'm sure there are people there both willing and able to help you out.
- parennoob 14y agoNice trick to hoodwink emacs :) It didn't work though. I understand what you're saying in the rest of your comment though -- basically I will have to learn some elisp. Thanks for the help.