I have been trying to use emacs as a python IDE, I have tried many step-by-step examples to do it. But I have some trouble for function completion. Now I have auto complete (with tab completion) for local variables and snippets from yasnippets, but for some reason it is not working for modules or built in function. E.g. it is not working for string functions or os.path as shown here; http://www.youtube.com/watch?v=tDTwuOVbAFc
note; I'm opening new rope project before trying.
I am running emacs 24.0.91 on ubuntu 11.10 and I have downloaded rope and ropemacs from ubuntu repository
sudo apt-get install python-rope
sudo apt-get install python-ropemacs
(I have also tried to download and install rope as suggested on Ryan's blog.)
My .init file is here; http://pastebin.com/hfS5yTXC
And when I use this tutorial, things get even worse, and auto complete stops running for yasnippets and local variables too.
any help will be appreciated.
Okay, I have forked the emacs-for-python
package which lives here;
https://github.com/gabrielelanaro/emacs-for-python
although, there is still no tab completion with auto-complete
, i can use rope-code-assist to complete module functions. I will update my answer if i could get it working with tab-completion.