rope

pymacs: General question and Installation problem

Hi, all, I am trying to setup emacs for python development. From what I read, it is recommended to use python-mode.el rather than the default python.el from Emacs 22.3. So I embark on the new adventure. From what I understand, python-mode has the several dependencies, so I need to install rope, ropemode and ropemacs. Then on top of t...

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/ .ropeproject/ project2/ ... (project2 source) I'm frequently switching back an...

How can I replace a class with another class from another module in a lot of files without a lot of manual editing?

Basically, I have a lot of Python classes (representing our database schema) that look something like this: from foo import xyz, b, c class bar(object): x = xyz() y = b() z = c() ...and I want to change it to this: from foo import b, c from baz import foobar class bar(object): x = foobar() y = b() z = c() ...

STL Rope - when and where to use

I was wondering under what circumstances you would use a rope over another STL container? ...

How can I use meta-dot (M-.) in python with emacs?

Is there an equivalent of slime for python? For example, if I position the cursor on foo() and do M-. (jump to definition) I would like to see the source definition of the function foo This should work regardless of whether foo is in 1) the local project directory 2) in some ~/.virtualenvs/bar/lib/site-packages 3) in some other p...