Re: Bug in insert mode completion when completeopts has 'menu,longest'

2006-08-09 Thread Georg Dahn

Hi!


Sometimes the completed text gets erased after hitting enter.

To reproduce:

1. vim -u NONE +'set nocp cot=menu,longest'
2. ifoobar;CRfoC-P;
3. the two lines should be the same now.  press CR and the second
line then becomes fo.


I can reproduce this with gVim 7.0.50.

Best wishes,
Georg




___ 
Try the all-new Yahoo! Mail. The New Version is radically easier to use – The Wall Street Journal 
http://uk.docs.yahoo.com/nowyoucan.html


Re: Bug in insert mode completion when completeopts has 'menu,longest'

2006-08-09 Thread Bram Moolenaar

Justin Constantino wrote:

 Sometimes the completed text gets erased after hitting enter.
 
 To reproduce:
 
 1. vim -u NONE +'set nocp cot=menu,longest'
 2. ifoobar;CRfoC-P;
 3. the two lines should be the same now.  press CR and the second
 line then becomes fo.

I can see the problem (when also setting 'complete' to .).  One more
for the todo list...

-- 
hundred-and-one symptoms of being an internet addict:
93. New mail alarm on your palmtop annoys other churchgoers.

 /// 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///