On 5/14/2006 8:44 AM, Yukihiro Nakadaira wrote:
> I think that your 'cmdheight' is 1 and 'showcmd' or 'ruler' is on and
> perhaps 'laststatus' is 0 or 1.
> How about this
> 
> let ru_save = &ruler
> let sc_save = &showcmd
> set noruler noshowcmd
> echo "]s to skip to word, zg to add word, z= to suggest word"
> let &showcmd = sc_save
> let &ruler = ru_save

I think it was the ruler option that was causing the problem.  I still can't
figure out why echo would behave differently depending on whether it's
called interactively or as part of a function, but by adding the three ruler
lines you suggested above I was able to make it work correctly.

Thanks!

--
Jared

Reply via email to