I wrote:

> The first problem is that this scratch buffer is list.  It should have
> 'buflisted' set to false.
> 
> The buffer is kept around because the popup is kept around.  This allows
> for reusing a few things while completion is going through different
> alternatives.  We can most likely delete the popup when leaving Insert
> mode.

That actually goes against what is documented: use popup_findinfo() to
change its properties.  It also mentions using popup_close() to get rid
of it, thus I don't think we should make a change here.


-- 
It is illegal to take more than three sips of beer at a time while standing.
                [real standing law in Texas, United States of America]

 /// 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202012091705.0B9H5v7f1971057%40masaka.moolenaar.net.

Raspunde prin e-mail lui