title: Is it possible to use Ropemacs with TRAMP in Emacs?
body: <p>I recently installed the hg tip version of Ropemacs and I'd like to use it when editing remote files using TRAMP. Has anyone done this? When I try to use <code>M-/</code> to complete a variable name, I am asked to enter the <code>Rope project root folder</code> and I enter: <code>/ssh:myhost:/path/to/myproject/</code> and it gives me the following error:</p>
  
  <pre><code>Opening [/ssh:myhost:/path/to/myproject/] project ... 
  pymacs-report-error: Python: Traceback (most recent call last):
    File "/home/saltycrane/lib/python-environments/default/lib/python2.6/site-packages/Pymacs/pymacs.py", line 147, in loop
      value = eval(text)
    File "&lt;string&gt;", line 1, in &lt;module&gt;
    File "/home/saltycrane/lib/python-environments/default/lib/python2.6/site-packages/ropemode/decorators.py", line 53, in newfunc
      return func(*args, **kwds)
    File "/home/saltycrane/lib/python-environments/default/lib/python2.6/site-packages/ropemode/interface.py", line 254, in code_assist
      _CodeAssist(self, self.env).code_assist(prefix)
    File "/home/saltycrane/lib/python-environments/default/lib/python2.6/site-packages/ropemode/interface.py", line 538, in code_assist
      proposals = self._calculate_proposals()
    File "/home/saltycrane/lib/python-environments/default/lib/python2.6/site-packages/ropemode/interface.py", line 597, in _calculate_proposals
      self.interface._check_project()
    File "/home/saltycrane/lib/python-environments/default/lib/python2.6/site-packages/ropemode/interface.py", line 448, in _check_project
      self.open_project()
    File "/home/saltycrane/lib/python-environments/default/lib/python2.6/site-packages/ropemode/decorators.py", line 53, in newfunc
      return func(*args, **kwds)
    File "/home/saltycrane/lib/python-environments/default/lib/python2.6/site-packages/ropemode/interface.py", line 88, in open_project
      self.project = rope.base.project.Project(root)
    File "/home/saltycrane/lib/python-environments/default/lib/python2.6/site-packages/rope/base/project.py", line 134, in __init__
      os.mkdir(self._address)
  OSError: [Errno 2] No such file or directory: '/ssh:myhost:/path/to/myproject'
  </code></pre>
  
  <p>I imagine ropemacs doesn't support remote files with TRAMP. Just wondering if anyone has found a workaround. Maybe some custom elisp? Or maybe I should use sshfs and mount the remote filesystem locally...</p>
  
  <p>I installed ropemacs in a virtualenv located at <code>/home/saltycrane/lib/python-environments/default</code>. I am using GNU Emacs 23.1.50.1 on Ubuntu Lucid.</p>
  
  <p>I should mention that completion with <code>M-/</code> works fine when I'm not using TRAMP.</p>