Re: vim 7 python completion

2006-12-14 Thread Andrea Spadaccini
Ciao Aaron, sys.excepthook( Allowing you to enter the parameters themselves. Hitting C-x,C-o at this point will complete the parameters as named in the original popup, leaving you with: sys.excepthook(exctype, value, traceback) Thanks a lot for your message and for your great script!

Re: vim 7 python completion

2006-12-13 Thread Andrea Spadaccini
Ciao Karl, Hello everybody, I can't get the python omni-completion to work, can anybody help me? Are there any special steps to make it work? Can you point me to a tutorial? To cover the basics, is your vim compiled with +python? vim --version | grep +python Yes, it is. Maybe my

Re: vim 7 python completion

2006-12-13 Thread Aaron Griffin
On 12/13/06, Andrea Spadaccini [EMAIL PROTECTED] wrote: It shows correctly all the members of os. But if I do self.win = gtk.Window(gtk.WINDOW_TOPLEVEL) self.win.C-XC-O It doesn't show anything. Is it meant to work in this way? I would recommend upgrading to the latest

Re: vim 7 python completion

2006-12-13 Thread Andrea Spadaccini
Ciao Aaron, I would recommend upgrading to the latest version from www.vim.org (here: http://vim.sourceforge.net/scripts/script.php?script_id=1542 ) The following code works fine: import gtk class Foo(object): def __init__(self): self.win = gtk.Window()

Re: vim 7 python completion

2006-12-13 Thread Aaron Griffin
On 12/13/06, Andrea Spadaccini [EMAIL PROTECTED] wrote: Thanks a lot, now it works, except for warnings from python: Errore/i eseguendo function pythoncomplete#Complete: linea 35: __main__:157: GtkDeprecationWarning: gtk.FALSE is deprecated, use False instead Errore/i eseguendo function

vim 7 python completion

2006-12-12 Thread Andrea Spadaccini
Hello everybody, I can't get the python omni-completion to work, can anybody help me? Are there any special steps to make it work? Can you point me to a tutorial? Thanks in advance, -- [ Andrea Spadaccini - a.k.a. Lupino - from Catania - ICQ #: 91528290 ] [ GPG ID: 5D41ABF0 - key on keyservers

Re: vim 7 python completion

2006-12-12 Thread Karl Guertin
On 12/12/06, Andrea Spadaccini [EMAIL PROTECTED] wrote: Hello everybody, I can't get the python omni-completion to work, can anybody help me? Are there any special steps to make it work? Can you point me to a tutorial? To cover the basics, is your vim compiled with +python? vim --version |