tab completion for py-shell
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mode.el |
Fix Released
|
Medium
|
Andreas Roehler |
Bug Description
I always used py-shell for its Emacs editing
capabilities and Python
in the Linux shell for its support for completion with
readline. Finally I sit down to have both in one
(polished recently).
What are the chances to include this (modified as
needed, names for sure are not perfect)?
Here are the features/issues:
0. Works for both GNU Emacs (21.4 in Debian Sid) and
XEmacs (21.4 in
Debian Sid). For XEmacs with some emulation of GNU
Emacs comint
functions.
1. It can complete in multiline input -- it collects
the input send
interactively to Python in case of completion,
injects the
completion code after C-c and resends the the saved
lines.
2. The python completion code may omit some wizard-only
knowledge (if
any).
3. completion function inserts tab if nothing to
complete -- good
candidate for tab key.
4. I send it as separate module so
py-comint-
(from revision: 4.62) is included with small
modification. py-shell-hook needed to run it
inculded the module
comment.
[http://
Changed in python-mode: | |
assignee: | nobody → Andreas Roehler (a-roehler) |
Changed in python-mode: | |
status: | New → In Progress |
Changed in python-mode: | |
milestone: | none → 6.1 |
Changed in python-mode: | |
status: | In Progress → Fix Committed |
Changed in python-mode: | |
status: | Fix Committed → Fix Released |