When using a mapping such as <C->g from cscope_maps.vim, vim sometimes makes a spurious bell sound. Specifically, this occurs when there is only one result. It does not occur when there are multiple results and the result picker interface is shown.
The problem occurs because there are stray tab characters at the end of some 'nmap' lines in cscope_maps.vim. vim interprets them as part of the mapping.
I tested that removing the stray tab characters at the end of the nmap lines fixes the problem.
Reproduced using vim 9.0.1672 and cscope_maps.vim linked from https://cscope.sourceforge.net/cscope_vim_tutorial.html (sha1 hash: 710a0510f63e04eb23e25974fea226d0e71c60f6)
Hmmm... that's very strange. That file has not been modified at all for 21 years. I find it extremely surprising that nobody would have ever noticed this in all that time.
But then again, most people would have turned off the bell in their terminal emulators long ago, I think. :-)
But for now I'll have to take your word for it. A modified version is now on the page.
I tried the updated version (sha1 hash: 208d7f6fe2839d65089fa7cc3c16112a37e0d120
) and it fixes the issue I reported. Thank you.
BTW, the mapping that I wrote in the description came out differently due to formatting. It should've been
<C-\>g
(ie. ctrl-backslash, g)