Hirohito Higashi wrote:

> Hi ChrisBra, Lifepillar and list,
> 
> 2016-10-27(Thu) 5:19:43 UTC+9 Christian Brabandt:
> > If that is really the case, I wonder if we can't just get rid of those 
> > lines https://github.com/vim/vim/blob/master/src/popupmnu.c#L585-L593

That means we keep adding buffers, even when the current buffer could be
re-used.

> > I could prepare a patch.
> 
> How about an attached patch?

I think we should at least check if prepare_tagpreview() split the
window.  If it did then we should call do_ecmd().

For extra safety we can check if the buffer has only one window.


-- 
SECOND SOLDIER: It could be carried by an African swallow!
FIRST SOLDIER:  Oh  yes! An African swallow maybe ... but not a European
                swallow. that's my point.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

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