tab completion for py-shell

Bug #328836 reported by Lupan
2
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-output-filter-function
   (from revision: 4.62) is included with small
   modification. py-shell-hook needed to run it
inculded the module
   comment.

[http://sourceforge.net/tracker/index.php?func=detail&aid=1240446&group_id=86916&atid=581351]

Revision history for this message
Lupan (lupan) wrote :
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
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.