Hi, I am exploring python-mode on emacs. When I open foo.py in emacs and hit C-!, it starts the python interpreter in another window. Next, I execute -
import rlcompleter, readline readline.parse_and_bind('tab: complete') Now I will test the completion by trying to complete sys.v (which could be sys.version or sys.version_info). It works find when I run the python interpreter from a terminal, by in python-mode, I get - import sys sys.v [tab][enter] '2.3.4 (#2, Jan 5 2005, 08:24:51) \n[GCC 3.3.5 (Debian 1:3.3.5-5)]' sys.v [tab][tab][enter] '2.3.4 (#2, Jan 5 2005, 08:24:51) \n[GCC 3.3.5 (Debian 1:3.3.5-5)]' sys.v [tab][tab][[tab][enter] sys.version sys.version_info '2.3.4 (#2, Jan 5 2005, 08:24:51) \n[GCC 3.3.5 (Debian 1:3.3.5-5)]' I see that it is doing the completion, but it doesn't show me the choices before I hit enter, instead it moves the cursor one tab stop to the right. Any ideas? Thanks in advance -- http://mail.python.org/mailman/listinfo/python-list