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
Emacs completion bugfix #204
Conversation
…leter.all_completions() helper method
This works for me; I modified my .emacs to have, (setq ipython-completion-command-string "print(';'.join(get_ipython().Completer.complete('%s')[1])) #PYTHON-MODE SILENT\n") |
This removes all_completions from Completer, but it is also used in IPython.core.debugger.Pdb. That should presumably be changed as well. |
just make it a very thin wrapper around the IPython.completer.Completer.complete method so that pydb will still work correctly.
IPython.completer.Completer.all_completions docstring
I'm sorry that I missed that. It looks like there isn't a clean fix for the IPython.core.debugger.Pdb thing, since that is bound up in the interface to pydb. The debugger code replaces the completer.all_completions with pydb's all_completions method and emacs will need to call that one without the indexing business. Anyway, I pushed a new commit that just makes all_completions a very thin wrapper around the complete method; that should work for everyone. |
Fix emacs tab-completion with simpler implementation. Add pydb to the list of beneficiaries in the Closed by ef40b1c. |
Add pydb to the list of beneficiaries in the IPython.completer.Completer.all_completions docstring Closes ipythongh-204.
Hi all. |
Add pydb to the list of beneficiaries in the IPython.completer.Completer.all_completions docstring Closes ipythongh-204.
Tab completion in ipython.el seems to have stopped working because it calls completer.IPCompleter.all_completions(), which is broken. IPCompleter.complete() now returns a list of all possible completions so it can be used instead of all_completions().