Skip to content
This repository

emacs freezes when ipython-complete is called #1010

Closed
paykroyd opened this Issue November 18, 2011 · 8 comments

3 participants

Pete Aykroyd Fernando Perez Thomas Kluyver
Pete Aykroyd

I have the latest ipython.el, ipython 11, and python-mode 6.0.3. I've tested in aquamacs 2.4 (emacs 23.2) and in eamcs 24.0.90.1. I can reproduce this every time. I start an ipython shell, start a completion and it will freeze each time. This for example:

l = []
l.app  # then I hit tab

I don't see anything in the Messages buffer and the CPU isn't doing anything. Please let me know what I can do to help debug.

Thomas Kluyver
Collaborator

We know ipython.el is out of date - unfortunately, none of the core developers know emacs lisp. One or two people have done bits of work on IPython/Emacs integration (search the issues list to see), but I don't think there's anything finished we can point you to. If you do know emacs lisp, you're welcome to work on it.

Pete Aykroyd
Thomas Kluyver
Collaborator

It's probably best to post questions to the ipython-dev mailing list, so more people see it. We only get emails from these comments once we've joined the conversation.

Fernando Perez
Owner

@paykroyd; just to second what Thomas said, we'd love to have some help with the emacs support. It's been languishing for a long time in a semi-broken state, which is a shame. For example, it used to correctly follow the debug source file hints, so that if you did %debug inside emacs it would nicely track your files in another buffer as you moved in the stack. At some point that functionality broke too. It's probably a small fix, but none of us has the expertise to do it and we're too swamped with the core code to have the bandwidth for this. So it would be fantastic if you could pitch in on this front.

Pete Aykroyd

@fperez, I'm happy to help; ipython is a great tool. I can't make any promises about writing brilliant elisp, but I'll start looking around and see what I can do.

Pete Aykroyd

I submitted a pull request that solves this problem for me. I wasn't sure how to link them. This is linked in the pull request comments.

Fernando Perez
Owner

@paykroyd, thanks! reviewing now. You can mention one in the other by number: an explicit #1015 will auto-link to PR #1015. And if a commit in #1015 mentions explicitly this bug, it will auto-link as well. See their blog post for more details on the auto-linking and closing features.

Fernando Perez
Owner

Closed by the merge of #1015.

Fernando Perez fperez closed this November 24, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.