Subject: Re: bug#1305: All code that currently beeps should use visual bell instead

From: Eli Zaretskii <[email-masked]>
Date: Sun, 18 Apr 2021 18:23:57 +0300

> From: Lars Ingebrigtsen <[email-masked]>
> Cc: [email-masked],  [email-masked],  [email-masked],
>   [email-masked],  [email-masked],  [email-masked]
> Date: Sun, 18 Apr 2021 17:11:21 +0200
> 
> Eli Zaretskii <[email-masked]> writes:
> 
> > Is that really true?  I see in the code that we do support
> > visible-bell on TTY frames if terminfo says the terminal is capable of
> > doing that, see term.c:tty_ring_bell.
> 
> I tried in both Console and xterm on this Debian/bullseye system, and
> `C-g' doesn't do anything visible to me with `visible-bell' switched
> on...

If you put a breakpoint inside tty_ring_bell, do you see that
tty->TS_visible_bell is non-NULL or not?  If it's non-NULL, perhaps
the terminal emulator has that disabled somehow?