Hari Krishna Dara wrote: > > > I was just stuck by another serious bug in Vim7, again to do with insert > > > mode completion (i_Ctrl-P) and repeat, and it is easy to reproduce (I > > > apologize if this was already reported). Try this: > > > > > > - Start plain vim: gvim -u NONE > > > - :set nocp > > > - Add the below two lines: > > > a > > > b > > > - Now with cursor on a, press "s" and start typing (<C-P> is a literal > > > ^P): > > > SomeNone<C-P>ExisitngWord > > > - Press <Esc>, go to b and press . to repeat. You get > > > SomeNonExistingWordExistingWord > > > > > > Finally, you shoul have seen the two lines: > > > SomeNonExistingWord > > > SomeNonExistingWord > > > > > > but you see: > > > SomeNonExistingWord > > > SomeNonExistingWordExistingWord > > > > I can't reproduce this. > > I reproduced very easily by just following the above steps using the "-u > NONE" option (so no local configuration can be blamed for). I am using > this version: > > VIM - Vi IMproved 7.0 (2006 May 7, compiled May 7 2006 16:23:43) > MS-Windows 32 bit GUI version with OLE support > Compiled by [EMAIL PROTECTED] > Big version with GUI. Features included (+) or not (-): > > Please note that there is a typo in here: > > > SomeNone<C-P>ExisitngWord > it should have been: > > > SomeNone<C-P>ExistingWord > But this doesn't really make any difference to the reproducibility. > > Bram, can you please try again? Can anyone else please try to reproduce > this?
I was testing with a few patches included, that's why I didn't see this problem. I was working on a similar problem and this got fixed as a side effect. I hope to send out a patch for this soon. -- It's not hard to meet expenses, they're everywhere. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
