Comment #3 on issue 319 by dhah...@gmail.com: New option to not beep with 'showmatch'
https://code.google.com/p/vim/issues/detail?id=319

The bell serves its purpose in general and disabling it altogether because of
this seems to be overkill.

I have it disabled in my terminal (but mostly because it does not work with
pulseaudio-module-x11 there), and got confused when gvim rang it on a smiley.

For my local setup it's ok to just comment it, but it appears to be a common issue.

For reference, here's a patch to disable it:

    diff --git i/src/search.c w/src/search.c
    index 3276a77..881382c 100644
    --- i/src/search.c
    +++ w/src/search.c
    @@ -2454,7 +2454,7 @@ showmatch(c)
         }

if ((lpos = findmatch(NULL, NUL)) == NULL) /* no match, so beep */
    -       vim_beep();
    +       /* vim_beep(); */ ;
else if (lpos->lnum >= curwin->w_topline && lpos->lnum < curwin->w_botline)
         {
            if (!curwin->w_p_wrap)


There's a setting 'errorbells' already, maybe the new setting should be named
'showmatchbells' then?


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to