<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 29: Proposed improvement for pycomplete</title><link href="https://sourceforge.net/p/python-mode/bugs/29/" rel="alternate"/><link href="https://sourceforge.net/p/python-mode/bugs/29/feed.atom" rel="self"/><id>https://sourceforge.net/p/python-mode/bugs/29/</id><updated>2005-04-10T12:33:16Z</updated><subtitle>Recent changes to 29: Proposed improvement for pycomplete</subtitle><entry><title>Proposed improvement for pycomplete</title><link href="https://sourceforge.net/p/python-mode/bugs/29/" rel="alternate"/><published>2005-04-10T12:33:16Z</published><updated>2005-04-10T12:33:16Z</updated><author><name>Hugo Haas</name><uri>https://sourceforge.net/u/hugoh/</uri></author><id>https://sourceforge.net8af792f0e99550306ead41414c75b30daf8e6974</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I really like the idea of pycomplete a lot.&lt;/p&gt;
&lt;p&gt;However, it only completes simple cases: "sys.cl"&lt;br /&gt;
becomes "sys.clock" once completed.&lt;/p&gt;
&lt;p&gt;What would be interesting would be to get a list of&lt;br /&gt;
completions for "sys.".&lt;/p&gt;
&lt;p&gt;I believe that what needs to be changed is the following:&lt;br /&gt;
- have pycomplete.py return a list of all possibilities&lt;br /&gt;
- in py-complete() in pycomplete.el, use the output of&lt;br /&gt;
pycomplete.py to call try-completion; if it works, use&lt;br /&gt;
it, if not and there are several possibilities, display&lt;br /&gt;
all the possibilities given by all-completions and&lt;br /&gt;
allow to chose between them.&lt;/p&gt;
&lt;p&gt;The former is trivial (patch attached).&lt;/p&gt;
&lt;p&gt;I tried to do the latter, but my lack of knowledge in&lt;br /&gt;
elisp put a rapid stop to it, so in case somebody knows&lt;br /&gt;
elisp and is interested by this (I think it would be a&lt;br /&gt;
cool feature), I thought I'd record the idea here.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Hugo&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>