{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/f8d3b4213f6ac612d8d14f097defcbc3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"f8d3b4213f6ac612d8d14f097defcbc3","url":"https://api.github.com/users/xolox","login":"xolox","id":100832},"labels":[],"assignee":null,"updated_at":"2011-11-15T18:09:13Z","comments":5,"closed_at":null,"url":"https://api.github.com/repos/xolox/vim-notes/issues/10","body":"I've now had two reports of users that Vim rings a bell or flashes the screen *with every keystroke* when editing a note in insert mode. The first report was in July and judging by the e-mail headers the user was running Vim on Windows. The second report I got a few days ago from @bioe007 who's running Linux and Vim 7.3.266 (I'm running the same version of Vim).\r\n\r\nSo far I have failed to reproduce the problem. When I got the first report I was actually worried that the notes plug-in was beeping at every user and I had never noticed because I've [disabled my system speaker](http://ubuntuguide.net/disable-the-annoying-beep-when-you-shutdown) :-), however even when I enable Vim's [errorbells](http://vimdoc.sourceforge.net/htmldoc/options.html#'errorbells') and [visualbell](http://vimdoc.sourceforge.net/htmldoc/options.html#'visualbell') options I cannot get Vim to flash the screen using my notes plug-in (I did confirm that the screen flashes when I pressed Escape in normal mode).\r\n\r\nI have tried running the notes plug-in in isolation (outside of my Vim profile) hoping the problem was being obscured by my vimrc or another one of my plug-ins, however this also doesn't help me reproduce the problem. I used the following shell commands to execute the notes plug-in isolation (and confirmed that no scripts from my Vim profile were being loaded by using the [:scriptnames](http://vimdoc.sourceforge.net/htmldoc/repeat.html#:scriptnames) command):\r\n\r\n```bash\r\ncd vim-notes\r\nPROFILE=/tmp/vim-test-$RANDOM\r\nmkdir $PROFILE\r\necho set nocompatible > $PROFILE/.vimrc\r\nln -s $PWD $PROFILE/.vim\r\nHOME=$PROFILE gvim\r\n```\r\n\r\nI now think the problem only manifests using a certain combination of settings and/or plug-ins, so my next step will be to try to find out what those settings and/or plug-ins are.","html_url":"https://github.com/xolox/vim-notes/issues/10","title":"Bell sounds / screen flashes with every keystroke","number":10,"id":1778783,"created_at":"2011-09-29T18:15:17Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/f8d3b4213f6ac612d8d14f097defcbc3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"f8d3b4213f6ac612d8d14f097defcbc3","url":"https://api.github.com/users/xolox","login":"xolox","id":100832},"updated_at":"2011-11-15T18:09:13Z","url":"https://api.github.com/repos/xolox/vim-notes/issues/comments/2748560","body":"Hi @bioe007 and @peplin,\r\n\r\nThanks to both of you for your input regarding the (visual) bell bug in vim-notes. I sincerely hope the suggestion by Peplin resolves this issue. I'm fine with the change itself although I suspect that if this change resolves the issue, we've actually uncovered a bug in Vim regarding the handling of the [matchpairs](http://vimdoc.sourceforge.net/htmldoc/options.html#%27matchpairs%27) option. If the issue is not resolved, feel free to get back to me of course!\r\n\r\n \\- Peter","id":2748560,"created_at":"2011-11-15T18:09:13Z"}}