gabrielelanaro / emacs-for-python

Collection of emacs extensions specifically collected for python development, with workflow guidelines!
http://gabrielelanaro.github.com/emacs-for-python
GNU General Public License v3.0
810 stars 151 forks source link

ipython still not fulling working ... #98

Open shelper opened 12 years ago

shelper commented 12 years ago

thanks for the work, but i think the ipython still has some issues, and i 've been searching for a solution, but could not find one..

  1. there is no input prompt [xx]
  2. no autocompletion,
  3. some scripts does not output results, e.g., when input print ' helloworld', it just return a blank line.

could you please help to take a look?

thanks alot!

gabrielelanaro commented 12 years ago

Hi! I can confirm that Ipython is not currently working. It was basically a problem with the advancing versions of Ipython and fgallina python.el which I use.

The problem now is that the last python.el works only on emacs24 (and with it the Ipython configuration). Which emacs version are you using?

shelper commented 12 years ago

after struggling for a while, i decide to move to VIM....thanks for telling me the issue status

vijayvd commented 11 years ago

Hi Gabriel, I have been using your emacs for python settings for some time and it works great out of the box. Thanks for the awesome work. I had a few minor issues.

Just a quick question C-c ! doesn't fire ipython interpreter. How does one set it up?

Also, going to the shell (M-x shell) and then firing ipython interpreter doesn't have tab completion. Is there a fix for it?

gabrielelanaro commented 11 years ago

Hi! Thank you very much!

To access the ipython interpreter you should:

1) Add to your .emacs (preferably after the emacs-for-python initialization) the line (epy-setup-ipython) 2) M-x python-shell-switch-to-shell. This should prompt a couple of questions and run an ipython shell. 3) If you likie, you can setup this code that binds the command C-c !to this command by adding to your .emacs this line: (global-set-key (kbd "C-c !") 'python-shell-switch-to-shell)

Tell me if this is working for you

vijayvd commented 11 years ago

Yes, it works really well. Thanks. It asks the following questions: 1) Make dedicated process? (y or n) 2) Run Python: ipython

Is it possible to automate the response to these questions?

gabrielelanaro commented 11 years ago

I don't think it's possible (I did a little research on google..). The problem is that this function call other functions (that call other functions etc...) and the questions are asked by some of those. So it's not easy to dig in and prevent those to ask questions.

vijayvd commented 11 years ago

Thanks a lot for checking on it. It was very helpful.