Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Nice 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: