Yes. I can reproduce it as well. I'm using the same version as Hari. :)
$ gvim --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] -- Ed On 6/20/06, Hari Krishna Dara <[EMAIL PROTECTED]> wrote:
On Sun, 18 Jun 2006 at 11:26pm, Bram Moolenaar wrote: > > 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? -- Thanks, Hari __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
