Weird extra line in messages after first leaving insert mode

2014-08-04 Thread David Barnett
I noticed a vim quirk where there's an extra blank line in the :messages output after first entering and leaving insert mode. The next :echomsg after that overwrites the blank line so there's no longer a blank line. For example: vim :messages Messages maintainer: Bram Moolenaar i :mes

Re: Weird extra line in messages after first leaving insert mode

2014-08-04 Thread David Barnett
Also discovered it only happens in nocompatible mode. David On Mon, Aug 4, 2014 at 11:07 PM, David Barnett wrote: > I noticed a vim quirk where there's an extra blank line in the :messages > output after first entering and leaving insert mode. The next :echomsg > after that overwrites the blan

Re: Weird extra line in messages after first leaving insert mode

2014-08-05 Thread David Barnett
On further experimentation, I've found that vim apparently always overwrites a blank message: :echomsg '' :echomsg 'Foo' :messages Foo So the overwriting is at least predictable even if it's surprising. But the issue of having a blank message written in the first place when you enter and l