Paul Jolly wrote:

> > > I think the simplest thing for now is to follow Bram's suggestion of
> > > using user_data.
> >
> > Hmm, would there be any harm in triggering CompleteDone before resetting
> > the complete info?  I don't think so.  Would anyone using the
> > autocommand event depend on the completion already being cleared?
> > If yes, then we would need to introduce another event.  I rather keep it
> > simple and have just one event.
> 
> I'm using this function for the first time so I'm not best placed to
> comment. But my gut would say no, there should be no harm because you
> can still use v:completed_item to determine whether you are
> cancelling/accepting; but complete_info() would still give useful
> information like mode.
> 
> Prabir? Others?

I suppose it's going to be hard to reach the people affected.
Let me make the change and see if someone complains :-).

-- 
Computers make very fast, very accurate, mistakes.

 /// Bram Moolenaar -- b...@moolenaar.net -- 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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/202001171759.00HHxgRn032667%40masaka.moolenaar.net.

Raspunde prin e-mail lui