<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 29: Proposed improvement for pycomplete</title><link>https://sourceforge.net/p/python-mode/bugs/29/</link><description>Recent changes to 29: Proposed improvement for pycomplete</description><atom:link href="https://sourceforge.net/p/python-mode/bugs/29/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sun, 10 Apr 2005 12:33:16 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/python-mode/bugs/29/feed.rss" rel="self" type="application/rss+xml"/><item><title>Proposed improvement for pycomplete</title><link>https://sourceforge.net/p/python-mode/bugs/29/</link><description>&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;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Hugo Haas</dc:creator><pubDate>Sun, 10 Apr 2005 12:33:16 -0000</pubDate><guid>https://sourceforge.net8af792f0e99550306ead41414c75b30daf8e6974</guid></item></channel></rss>