Hirohito Higashi wrote:

> Hi Bram and developers,
> 
> How to reproduce:
> - Change directory to your local vim/src directory.
>   $ cd /path-to-your-vim-clone-dir/vim/src
> - Start vanilla Vim.
>   $ ./vim -Nu NONE
> - Do tagjump and display in the preview window. (In fact, it becomes selected 
> wait because candidates are two)
>   :ptjump cmdmod
> - Cancel the selection.
>   <Esc>
> - Display the help.
>   :help
> 
> Expected behavior:
> - Open the help window and display the help document.
> 
> Actual behavior:
> - Two windows opened.
>   Top window is preview window, and displayed the help document.
>   Next one is empty window.
> 
> 
> An attached patch fix this.

Thanks.

> Sorry for without a test.
> Tell me if there is an easy way to test in the Vim script.

Well, figuring out how to write a test for this means writing the test.
While writing a test I noticed it got stuck in the test runner.  So I
fixed that as well.

-- 
hundred-and-one symptoms of being an internet addict:
60. As your car crashes through the guardrail on a mountain road, your first
    instinct is to search for the "back" button.

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