On 04/06/09 16:26, Ken Bloom wrote:
>
> On Thu, 04 Jun 2009 05:26:57 +0800, Wu, Yue wrote:
>
>> vim has a feature, say you've moved to the end of a line, now if you
>> still hit
>> "l", then vim will "bing" or "flash the screen"(depends on your setting)
>> to warn
>> you that you're doing a null work. The question is, how can I produce
>> this side
>> effect in vimscript?
>
> :tcl vim::beep
>
> I'm not sure why other language bindings don't have it.
>

...and if compiled with -tcl (which I would bet is rather common), you 
would get an exception instead, and possibly abort your script. Also in 
the sandbox.


Best regards,
Tony.
-- 
"It's Like This"

Even the samurai
have teddy bears,
and even the teddy bears
get drunk.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to