Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipython still not fulling working ... #98

Open
shelper opened this issue Jul 19, 2012 · 7 comments
Open

ipython still not fulling working ... #98

shelper opened this issue Jul 19, 2012 · 7 comments

Comments

@shelper
Copy link

shelper commented Jul 19, 2012

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
Copy link
Owner

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
Copy link
Author

shelper commented Jul 24, 2012

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

@vijayvd
Copy link

vijayvd commented Mar 27, 2013

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
Copy link
Owner

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
Copy link

vijayvd commented Mar 27, 2013

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
Copy link
Owner

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
Copy link

vijayvd commented Mar 28, 2013

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants