Hirohito Higashi wrote:
> Hi Bram and Vimmers,
>
> I have received reports of problems related to :split and laststatus=0.
>
> I was confirmed by CUI Vim 7.4.1832 on fedora 23 via PuTTY (80x24)
>
> Issue 1:
> - Start pure Vim with some options.
> $ vim -Nu NONE -c "set ls=0 splitbelow"
> - Check window height.
> :echo winheight(0)
> 23
> - split and quit window.
> :sp | q
> - Recheck window height.
> :echo winheight(0)
>
> Expected value: 23
> Actual value: 22 and command-line line has moved up by one line.
>
>
> Issue 2:
> - Start pure Vim with some options.
> $ vim -Nu NONE -c "set ls=0"
> - Split window.
> :botright sp
> - Type `:`.
> Expected behavior:
> - Cursor move to last line. Because 'cmdheight' is 1 (default).
> Actual behavior:
> - Cursor has moved to the second from the bottom. It's wrong.
>
>
> Issue 3:
> - Start pure Vim with some options.
> $ vim -Nu NONE -c "set ls=0"
> - Vertical split window.
> :vsp
> - Open command-line window.
> q:
> Expected behavior:
> - Command line window is opened.
> Actual behavior:
> - Likewise opened, but obviously the second line from the bottom strange.
>
>
> REMARKS:
> The issue 3 is related to the following patch and thread.
>
> patch 7.4.706
> https://github.com/vim/vim/commit/5b14f89164fa2f40f52283226c98005887568317
>
> Re: [bug] cmdline-window given laststatus=0 and vertical split
> https://groups.google.com/forum/#!searchin/vim_dev/Yclept$20Nemo/vim_dev/fNq8tHTcKfA/7yg4GZ1h8agJ
>
> I think patch 7.4.706 is no good solution.
> This patch is updating the window information after updating the frame
> information.
> It generates a Inconsistencies between the frame information and the window
> information, and It cause abnormal window drawing.
>
> I wrote a patch to fix above all issues. Of course, the test was also added.
> Please check an attached patch.
Thanks!
--
It doesn't really matter what you are able to do if you don't do it.
(Bram Moolenaar)
/// 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.