emacs python mode completion

Fernando Pérez fperez528 at yahoo.com
Fri Apr 12 16:33:47 EDT 2002


Mark McEahern wrote:

> [Stephen J. Turnbull]
>> Although it's not exactly what you what, something that works in all
>> modes is dabbrev (bound to M-/ in XEmacs by default).  This completes
>> words according to context.  So if I type M c M-/ here I get "McEahern."
> 

Yes, dabbrev is absolutely fantastic. I wish still that there were true 
namespace-based completion, but that would require some serious python-lisp 
hacking, as emacs would have to import your objects and parse your python 
code to know which attributes to complete.

Sounds like a nice project for a serious lisp hacker. Any takers :)

f.



More information about the Python-list mailing list