On Fri, Aug 24, 2012 at 9:58 PM, Christian Brabandt <[email protected]>wrote:

> Hi Richard!



Hmm, works for me using vim 7.3.638 and starting it using -u NONE -U
> NONE -N -i NONE /tmp/vim_segfault.vim (where /tmp/vim_segfault contains
> the lines mentioned earlier:
>
> autocmd BufWinLeave * if empty(&bt) | lclose |endif
> call setloclist(1, [{'bufnr': 1, 'lnum': 1, 'text': 'testing'}])
> lopen
> wincmd k
> q
>
> and when started doing :so %
>

Hi Christian, if I open the commands in a vim file and source them I get no
segfault.

Error detected while processing BufWinLeave Auto commands for "*":
E444: Cannot close last window
Press ENTER or type command to continue

If I open vim with an empty buffer and then source the script it will still
segafult as above.

Regards,
-- 
Richard Brown

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