TAB completion not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mode.el |
Fix Released
|
Medium
|
Andreas Roehler |
Bug Description
TAB completion does not work for me in the IPython shell.
My system details are:
GNU Emacs 24.3.1
IPython 1.0.0
python-mode-6.1.3
Python 2.7.6
I've boiled down my init.el to this torso
;;;;;;;;;;;;;;;;;
(require 'package)
(package-
(require 'python-mode)
(setq-default py-shell-name "ipython")
;;;;;;;;;;;;;;;;;
With that, I do
M-x ipython RET
to start an IPython shell. At the IPython shell's prompt I type
In[x]: pr
TAB
and ... nothing happens ... ?! ... except that in the command buffer
End of buffer
pops up
I have also tried ESC-TAB and C-M-i instead of TAB only.
In that case I get (instead of 'End of buffer')
'ipython-complete: Wrong type argument: stringp, nil'
in the command buffer.
When I run an IPython shell from a terminal session TAB completion on my system leads to
In[x]: pr
TAB
%%prun %precision %profile %prun print property
Additionally, I have exchanged the python-mode-6.1.3 version of
python-mode.elc with that obtained from 'bzr branch lp:python-mode'.
Also with that TAB completion remains non-functional. The only difference is, that the use of ESC-TAB and C-M-i instead of TAB now returns
'ipython-complete: Symbol's function definition is void: position'
in the command buffer.
Any help on how to get TAB completion to work would be most welcome.
Thank you.
Mark
Changed in python-mode: | |
status: | New → Fix Committed |
milestone: | none → 6.2.0 |
Changed in python-mode: | |
status: | Fix Committed → Fix Released |
What do you get from M-TAB, where completion in Python-shell is set to?
TAB just indents. BTW may change that, as many users seems to expect TAB to complete.