On 19-Oct-2010 Xavier Deguillard <[email protected]> wrote:
> Hi,
> 
> Here is a simple script which will cause the E315 error:
> 
> function DummyComplete(findstart, base)
>     if a:findstart
>         return 1
>     else
>         call setqflist([])
>         copen
>         return []
>     endif
> endfunction
> 
> setlocal completefunc=DummyComplete
> 
> Trying to autocomplete something will cause an E315 or worse a SIGSEGV...
> 
> For information I'm using vim 7.3 with patches 1-3 compiled in.

Sorry, can't reproduce with Vim 7.3.29 (although I get a strange result:
the cursor ends up in the quickfix window in insert mode and I am able
to edit the contents of the window, despite the fact that 'modifiable'
is unset).

Can you prepare a minimal test case in which you can reproduce the
problem (i.e. a minimal .vimrc file and a set of commands that are
required to make the problem appear)?

Thanks!

-- 
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