Hi

asking for confirmation of flaky :echo behaviour in autocommands.

In a nutshell: Echoing more than one line from within an autocommand is
unreliable. The message may be shown in its entirety or partly,
depending on what type of event it is attached to.

I tried the following command with a number of autocommand events:

command! Echo redraw | echomsg 'First line' | echomsg 'Second line'

ColorScheme               OK
FileType                  OK
WinEnter (:sp, :vsp)      OK
WinEnter (CTRL-W ...)     truncated
CursorHold                truncated
InsertLeave               truncated
FocusGained               truncated
QuickFixCmdPost           truncated

I would be glad if somebody could confirm what I am seeing, so I can set
this aside as a Vim-problem and not a me-problem.

Thanks, glts

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

Raspunde prin e-mail lui