Proposed improvement for pycomplete
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mode.el |
Fix Released
|
Medium
|
Andreas Roehler |
Bug Description
Hi.
I really like the idea of pycomplete a lot.
However, it only completes simple cases: "sys.cl"
becomes "sys.clock" once completed.
What would be interesting would be to get a list of
completions for "sys.".
I believe that what needs to be changed is the following:
- have pycomplete.py return a list of all possibilities
- in py-complete() in pycomplete.el, use the output of
pycomplete.py to call try-completion; if it works, use
it, if not and there are several possibilities, display
all the possibilities given by all-completions and
allow to chose between them.
The former is trivial (patch attached).
I tried to do the latter, but my lack of knowledge in
elisp put a rapid stop to it, so in case somebody knows
elisp and is interested by this (I think it would be a
cool feature), I thought I'd record the idea here.
Regards,
Hugo
[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.2 |
Changed in python-mode: | |
status: | In Progress → Fix Committed |
Changed in python-mode: | |
status: | Fix Committed → Fix Released |
status: | Fix Released → New |
Changed in python-mode: | |
status: | New → Fix Committed |
Changed in python-mode: | |
status: | Fix Committed → Fix Released |
I've implemented these suggestions and put the resulting isnomore. net/prog/ pycomplete/ . Please take
files at http://
a look and let me know what you (all) think.