2016-08-24 4:45 GMT+09:00 Tony Mechelynck <[email protected]>:
> With the following settings: > > :verbose set eb? vb? bo? t_vb? > errorbells > Last set from ~/.vimrc > visualbell > Last set from ~/.vimrc > belloff= > t_vb=^[|1000f > Last set from ~/.vimrc > > (the latter is set in a GUIEnter autocommand, the rest in the .vimrc > mainline code) > > when I hit <Esc> repeatedly, I hear no sound and I see no visual bell. > This is for gvim 7.4.2243 with GTK3 GUI. > > With the visual bell time set at a full second, it ought not to be too > fast for me to see it, don't you think? I have tested other values, > including the default, with the same result, or lack of one; and I > know about |option-backslash| to enter the vertical bar into the > option value. > Hi Tony, As noted in gui_gtk_x11.c:6246--6249, that's not implemented yet. (Actually, it was once implemented in an early stage of the development.) Needless to say, the purpose of visual bell is to notify the user that something goes wrong with the editor, urging him to do something about that (I mean this in a broad sense, including 'stop doing something'). Its effect is, however, to keep flashing the whole editor screen until the problem causing visual bell is fixed, which prevents what he is typing to the editor from being legible on the screen. That deteriorates its purpose; while urging the user to do something, visual bell interferes with what he does. Arguably, visual bell might be still useful for some simple use cases where a problem causing annoying flash is gone once the user stops doing what he's trying to do. But now that Vim supports asynchronous jobs. We need to take into consideration that visual bell may interfere with smooth interaction between the user, Vim and a single or more external processes because visual bell exclusively occupies CPU cycles for drawing flash if we naively port the GTK+ 2 implementation to GTK+ 3. Best regards, Kazunobu > > Best regards, > Tony. > > -- > -- > 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 [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
