On Sun, Dec 11, 2011 at 11:02:01PM -0800, lith wrote:
> After recompiling vim from the current sources, I noticed the following 
> bug: A :redraw command that is called during startup, causes gvim to print 
> its screen view on the terminal -- as if vim were called. This happens when 
> I run gvim from gnome-terminal.

I was going to do a bisect to see when this got introduced, thinking it may
have been related to 7.3.315.  However, in trying to find an old state where
that behavior didn't exist, I didn't have much luck.  I went all the way back
to the v7-1-001 tag, saw that the behavior still existed there and gave up
searching.

> Unfortunately, I cannot tell which patch causes this but this bug must have 
> been introduced after 340, I'd say.

Or it's existed for > 4.75 years and hadn't been noticed.  I'd have to agree
with Bram that calling :redraw in ~/.vimrc is rather odd (there's no UI yet)
and that would be better served with VimEnter/GuiEnter depending on why you're
using it at all.

-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <[email protected]>

Attachment: signature.asc
Description: Digital signature

Raspunde prin e-mail lui