Matti Niemenmaa wrote: > With the '$' flag set in cpoptions, completion popups that are drawn > while line redisplay is off (due to the effect of the flag) are also not > redisplayed, being left on screen even after the completion is > performed, or aborted with <C-E>. This doesn't seem intentional and can > be quite distracting. > > The issue can be reproduced with the default vim settings e.g. as > follows. Start with the command: > > $ vim -u NONE -c 'exe "norm iaaa iabbbbbb acc" | norm yyp' > > Type 'C' to enter insert mode at the start of the second line, with the > effect of cpo-$ active. Then the problem can be seen e.g. with > 'a<C-X><C-N> a<C-X><C-N>': the first word completes to 'aaa' and the > second word is completing to 'aaa'. The issue can now be seen: the > completion popup from the first completion is still visible (partially: > the second popup overwrote part of it). > > The screen at this point looks like the following, with the cursor's > position marked with >< signs and the last three lines consisting of the > completion popups: > > aaa abbbbbb acc > aaa aaa>b<bbb ac$ > aaa aaa > abb abbbbbb > acc acc > > $ vim --version | head -2 > VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Sep 3 2013 19:58:40) > Included patches: 1-16
I suppose that when the popup is used the "$" flag should be (temporarily) disabled. The savings in not redrawing don't match with using a popup anyway, pehraps you just want to remove the "$" flag from 'cpoptions'. -- Living in Hollywood is like living in a bowl of granola. What ain't fruits and nuts is flakes. /// 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/groups/opt_out.
