On 20-Oct-2010 Xavier Deguillard <[email protected]> wrote:
> On Wed, Oct 20, 2010 at 09:04:22PM +0200, Lech Lorens wrote:
> > On 20-Oct-2010 Lech Lorens <[email protected]> wrote:
> > > OK, I can reproduce the crash. Do the following (vim-crash.vim
> > > attached):
> > > 
> > > $ vim -u NONE -S vim-crash.vim
> > 
> > Here's a patch fixing the problem and adding a proper test.
> > 
> 
> Thanks a lot!
> 
> I was trying to debug it when I saw your patch, and indeed, it's
> working as excepted now :)

I was too fast. We still have a problem (I get a segmentation fault):
- if the completion function opens a new tab,
- if the completion function closes the current window.

Fixing the former problem seems trivial, but I'm not sure how the latter
should be dealt with. Should we prevent the buffer from being closed?
Should we discard the completion data if the buffer for which the
completion was done becomes unavailable?

-- 
Cheers,
Lech

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui