Re: Invalid buf->b_nwindows causing unexpected BufWinLeave events

2015-02-27 Fir de Conversatie Bram Moolenaar
Xavier de Gaye wrote: > On 02/20/2015 12:29 PM, Xavier de Gaye wrote: > > Run the following script named nwindows.vim and call Nwindows() with an > argument of 0 or 1: > > gvim -u NONE -S nwindows.vim > >:call Nwindows(1) ---> BufWinLeave events (there should be no > BufWinLe

Re: Invalid buf->b_nwindows causing unexpected BufWinLeave events

2015-02-23 Fir de Conversatie Xavier de Gaye
On 02/20/2015 12:29 PM, Xavier de Gaye wrote: > Run the following script named nwindows.vim and call Nwindows() with an argument of 0 or 1: > gvim -u NONE -S nwindows.vim >:call Nwindows(1) ---> BufWinLeave events (there should be no BufWinLeave event): 1 >:call Nwindows(

Invalid buf->b_nwindows causing unexpected BufWinLeave events

2015-02-20 Fir de Conversatie Xavier de Gaye
Run the following script named nwindows.vim and call Nwindows() with an argument of 0 or 1: gvim -u NONE -S nwindows.vim :call Nwindows(1) ---> BufWinLeave events (there should be no BufWinLeave event): 1 :call Nwindows(0) ---> BufWinLeave events (there should be no BufWin