Emacs 24's python.el + ipython cannot complete module names -
i'm using emacs 24.4.1 on osx (installed homebrew), built in python.el
, , python 3 (also installed homebrew), along ipython 2.3.0. have in .emacs
:
(setq python-shell-interpreter "/usr/local/bin/ipython3" python-shell-prompt-regexp "in \\[[0-9]+\\]: " python-shell-prompt-output-regexp "out\\[[0-9]+\\]: " python-shell-completion-setup-code "from ipython.core.completerlib import module_completion" python-shell-completion-module-string-code "';'.join(module_completion('''%s'''))\n" python-shell-completion-string-code "';'.join(get_ipython().completer.all_completions('''%s'''))\n")
everything works correctly when invoke m-x run-python
, except 1 thing: <tab>
-completion of module names doesn't work in repl (it says "no match" in *messages*
buffer). i'm pretty sure working emacs 24.3, upgraded recently, i'm not 100% sure. has idea might cause this, or how try debug it?
you might try , remove of settings above, since emacs-24.4 should support ipython pretty out of box.
Comments
Post a Comment