• Join/Login
  • Business Software
  • Open Source Software
  • For Vendors
  • Blog
  • About
  • More
    • Articles
    • Create
    • SourceForge Podcast
    • Site Documentation
    • Subscribe to our Newsletter
    • Support Request
SourceForge logo
For Vendors Help Create Join Login
SourceForge logo
SourceForge logo
Business Software
Open Source Software
SourceForge Podcast
Resources
  • Articles
  • Case Studies
  • Blog
Menu
  • Help
  • Create
  • Join
  • Login
  • Home
  • Browse
  • python-mode.el for Emacs and XEmacs
  • Patches

tab completion for py-shell

Brought to you by: bwarsaw, klm, montanaro
This project can now be found here.
  • Summary
  • Files
  • Reviews
  • Support
  • Tickets ▾
    • Patches
    • Bugs
    • Feature Requests
  • Donate
  • CVS
Menu ▾ ▴
  • Create Ticket
  • View Stats

Group

Searches

  • Changes
  • Closed Tickets
  • Open Tickets

Help

  • Formatting Help

#21 tab completion for py-shell

open
nobody
None
5
2005-07-18
2005-07-18
Łukasz Pankowski
No

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.

Discussion

  • Łukasz Pankowski

    Łukasz Pankowski - 2005-07-18
     
    py-shell-complete.el
    If you would like to refer to this comment somewhere else in this project, copy and paste the following link:

Log in to post a comment.

SourceForge
  • Create a Project
  • Open Source Software
  • Business Software
  • Top Downloaded Projects
Company
  • About
  • Team
  • SourceForge Headquarters
    225 Broadway Suite 1600
    San Diego, CA 92101
    +1 (858) 422-6466
Resources
  • Support
  • Site Documentation
  • Site Status
  • SourceForge Reviews
SourceForge logo
© 2025 Slashdot Media. All Rights Reserved.
Terms Privacy Opt Out Advertise
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.