On 23/09/13 10:48 AM, Gary Johnson wrote:
I use

     normal \<Esc>

but I don't know how cross-platform it is.  It's documented at

     :help :echoerr

You don't have to use :exe.  I surround it with a test for
'errorbells', e.g.,

     if &errorbells
         normal \<Esc> " Generate a bell
     endif
     echohl ErrorMsg
     echomsg "Oops!"
     echohl None

Thanks.

-ernie


Regards,
Gary


--
--
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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/8b62bb86-31db-038f-5598-7d17775b6469%40raelity.com.

Raspunde prin e-mail lui