evaluating buffer in emacs python-mode on remote host
        Posted  
        
            by 
                Adrian
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Adrian
        
        
        
        Published on 2010-12-16T21:39:03Z
        Indexed on 
            2011/01/03
            21:54 UTC
        
        
        Read the original article
        Hit count: 380
        
Hello,
I'm using emacs23 with tramp to modify python scripts on a remote host. I found that when I start the python shell within emacs it starts up python on the remote host.
My problem is that when I then try to call python-send-buffer via C-c C-c it comes up with the error
Traceback (most recent call last): File "", line 1, in ? ImportError: No module named emacs
Traceback (most recent call last): File "", line 1, in ? NameError: name 'emacs' is not defined
Now, I must admit that I don't really know what's going on here. Is there a way for me to configure emacs so that I can evaluate the buffer on the remote host?
Many thanks.
© Stack Overflow or respective owner