Joachim Niehus wrote:

> When the current window is greater than one and another tab page
> exists with only one window, loading the session causes an error. The
> variable tracking the current window number in 'makeopens' is not
> reset for each tab page.
> 
> To reproduce (tested in 7.4.692):
> 
> vim -u NONE -i NONE -N ~/.vimrc -c 'wincmd s' -c 'wincmd v' -c 'wincmd
> T' -c 'normal 1gt' -c '2wincmd w' -c 'mks! ~/test.vis' -c 'qa'; vim -u
> NONE -i NONE -N -S ~/test.vis
> 
> Patch to fix the problem:

Good catch, and thanks for the fix.

-- 
FATAL ERROR! SYSTEM HALTED! - Press any key to continue doing nothing.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui