Can others reproduce this? Is it somehow expected behavior?

$ uname -s -r -v -m -p -i -o
Linux 3.13.0-35-generic #62~precise1-Ubuntu SMP Mon Aug 18 14:52:04 UTC
2014 x86_64 x86_64 x86_64 GNU/Linux

$ vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Sep 11 2014 01:40:51)
Included patches: 1-442
Normal version without GUI...
...

$ VIM= VIMRUNTIME= VIMINIT= vim -u /dev/null -c "set formatoptions=r | set
comments=s1:/*,mb:*,ex:*/,n://"

Now press these keys in sequence: / * <CR> a b c <CR>

At this point, I expect the screen to show (underscore represents cursor):

/*
 * abc
 * _

But it shows:

/*
 * abc
 * a _

Doesn't matter what text you type in instead of "abc", the first letter of
the comment text seems to consistently pollute the middle-comment leader.

I am continuing to debug, but wanted to send this message just in case
there's a valid reason for this behavior, some option I'm not aware of, etc.

Kartik
http://akkartik.name/about

-- 
-- 
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/d/optout.

Raspunde prin e-mail lui