Questions tagged [ropemacs]

Ropemacs is a plugin for performing python refactorings in emacs. It uses rope library and pymacs.

33 questions
3
votes
1 answer

Emacs Pymacs Ropemacs return to previous file after goto definition

I use Emacs + pymacs + ropemacs.I can use C-c g to go to the definition of objects,as mentioned in this answer https://stackoverflow.com/a/2855895/4018217 ,but after I go the definition ,how do I return to the file or the position from where I…
user4018217
3
votes
1 answer

Emacs: Pymacs not loading ropemacs with Carbon Emacs

I'm attempting to use Pymacs with rope/ropemacs for flymake syntax checking as described here: http://www.enigmacurry.com/2009/01/21/autocompleteel-python-code-completion-in-emacs/ When I start Carbon Emacs "normally" it throws the error: error:…
moorej
  • 517
  • 3
  • 17
3
votes
2 answers

Pymacs helper did not start after 30 seconds

I've seen other questions on this, but none of them were actually answered, and none of them are quite my issue. I have a new system, emacs 23.1, Centos 6.2 (I think). I downloaded the newest pymacs and installed it. However, I'm getting: error:…
Brian Postow
  • 11,709
  • 17
  • 81
  • 125
3
votes
1 answer

Using ropemacs for autocompletion with python.el in Emacs

How do I set up auto-complete to use ropemacs with python.el in Emacs 24? I have the following in my .emacs file ; Auto-complete: ; -------------------------- (add-to-list 'load-path "~/.emacs.d/auto-complete/auto-complete-1.3.1") (require…
Amelio Vazquez-Reina
  • 91,494
  • 132
  • 359
  • 564
3
votes
1 answer

How do I do cross-project refactorings with ropemacs?

I have a file structure that looks something like this: project1_root/ tests/ ... src/ .ropeproject/ project1/ ... (project1 source code) project2_root/ tests/ ... src/ …
Jason Baker
  • 192,085
  • 135
  • 376
  • 510
1
vote
1 answer

numpy 1.6.1 and python 2.7 along with ropemacs crash code completion

so now that I updated python from 2.7 to 2.7.2 i can no longer invoke rope-code assist in emacs. import numpy as np x = np.arange(0, 5, 0.1) I have the typical rope 0.9.3, ropemode-0.1-rc2, pymacs 0.24-beta2, ropemacs 0.6 when doing M-/ or M-x…
octi
  • 1,470
  • 1
  • 17
  • 28
1
vote
0 answers

Ropemacs does not work under windows environment

I am trying to use Emacs as my Python IDE under win32. I referred to several posts on the Internet and I had yasinppet, auto-complete, pymacs, ropemacs installed on my Emacs. It shows that Emacs will load python mode, rope mode, yas mode and…
kunimi
  • 61
  • 1
  • 4
1
vote
3 answers

Pymacs lisp version rarities

I am running Ubuntu Natty and install Emacs and pymacs and ropemacs all from the repos. So when I add to my .emacs file the script to load ropemacs and pymacs I get the following error: File mode specification error: (error "Pymacs Lisp version is…
actionAxolot
  • 485
  • 5
  • 16
1
vote
1 answer

A rather naff limitation of ropemacs encountered with multiple name bindings

I am getting some disappointing completion and go-to-definition results with ropemacs in places where I use multiple name-bindings to the same object. Considering my contrived and stylistically challenged example code below, does anyone know why…
codeasone
  • 1,953
  • 2
  • 23
  • 30
1
vote
0 answers

Emacs hangs when using rope-goto-definition and rope-show-doc

I have installed ropemacs as part of the emacs-for-python collection of python development packages. When I use the rope-goto-definition and rope-show-doc functions to goto/show library symbols I can more or less consistently get emacs to hang. To…
Robert Kajic
  • 8,689
  • 4
  • 44
  • 43
1
vote
2 answers

the command name 'hg' cannot be found with 'executable find'

I am a new emacs user, and am trying to install ropemacs as I program in python mostly. So i used the command : M-x el-get-install ropemacs. But it gave me the following error: "'the command name 'hg' cannot be found with 'executable find' " I don't…
user2239690
  • 81
  • 1
  • 10
1
vote
2 answers

disable ropemacs in emacs

I would like to get pep8 formating in emacs and so I added to my .emacs file: (when (load "flymake" t) (defun flymake-pylint-init () (let* ((temp-file (flymake-init-create-temp-buffer-copy 'flymake-create-temp-inplace)) …
Frank Breitling
  • 942
  • 1
  • 10
  • 27
1
vote
1 answer

rope-auto-import did not work

virtualenv env pip install -e git+https://github.com/pinard/Pymacs.git@v0.24-beta2#egg=Pymacs-dev pip install -e hg+https://bitbucket.org/agr/rope#egg=rope-dev pip install -e hg+https://bitbucket.org/agr/ropemacs#egg=ropemacs-trunk pip install -e…
luthur
  • 403
  • 4
  • 13
1
vote
0 answers

Emacs to autocomplete all imported module functions

I have been using rope, ropemacs and pymacs for my autocompletion. It does pretty well, but I noticed that there is some limitation to the amount of completion it aids in. It only seems to complete the classes for the modules imported not all of the…
Randolph
  • 951
  • 2
  • 11
  • 24
0
votes
2 answers

How can I insert new modules in PYTHONPATH?

I'm installing http://bitbucket.org/agr/ropemacs for my emacs. In README.txt it say: Note that rope and ropemacs should be in your PYTHONPATH for this to work. I check my sys.path python, but there is't any ropemacs there! but I have installed…
Milad Khajavi
  • 2,769
  • 9
  • 41
  • 66