From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#1305: All code that currently beeps should use visual bell instead Date: Sun, 18 Apr 2021 18:23:57 +0300 Message-ID: <83lf9fty42.fsf@gnu.org> References: <00ad01c942a0$1f49ca60$0200a8c0@us.oracle.com> <87eef9qg81.fsf@gnus.org> <1869622e162377be79e9@heytings.org> <83bladw0dh.fsf@gnu.org> <87a6pxqdeg.fsf@gnus.org> <875z0lqcj4.fsf@gnus.org> <1869622e1602a39e56a6@heytings.org> <87a6pwvcrv.fsf@md5i.com> <1869622e165c625e097b@heytings.org> <874kg4vast.fsf@md5i.com> <1869622e166ad3c37a69@heytings.org> <87k0ozq3n8.fsf@gnus.org> <87blabpy54.fsf@gnus.org> <83mttvtyx4.fsf@gnu.org> <877dkzpqzq.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18915"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 1305@debbugs.gnu.org, mwd@md5i.com, stefan@marxist.se, gregory@heytings.org, jasonspiro4@gmail.com, monnier@iro.umontreal.ca To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 18 17:25:09 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lY9IK-0004nW-Qt for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Apr 2021 17:25:08 +0200 Original-Received: from localhost ([::1]:40086 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lY9IJ-0006t8-UH for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Apr 2021 11:25:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34440) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lY9IE-0006t1-57 for bug-gnu-emacs@gnu.org; Sun, 18 Apr 2021 11:25:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35903) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lY9ID-0004Hu-UQ for bug-gnu-emacs@gnu.org; Sun, 18 Apr 2021 11:25:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lY9ID-0003Vk-RK for bug-gnu-emacs@gnu.org; Sun, 18 Apr 2021 11:25:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 18 Apr 2021 15:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 1305 X-GNU-PR-Package: emacs Original-Received: via spool by 1305-submit@debbugs.gnu.org id=B1305.161875946913450 (code B ref 1305); Sun, 18 Apr 2021 15:25:01 +0000 Original-Received: (at 1305) by debbugs.gnu.org; 18 Apr 2021 15:24:29 +0000 Original-Received: from localhost ([127.0.0.1]:47449 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lY9Hc-0003Uh-9G for submit@debbugs.gnu.org; Sun, 18 Apr 2021 11:24:29 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lY9Ha-0003UV-M6 for 1305@debbugs.gnu.org; Sun, 18 Apr 2021 11:24:23 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52117) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lY9HV-00043o-6v; Sun, 18 Apr 2021 11:24:17 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1756 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lY9HU-0002bT-Ai; Sun, 18 Apr 2021 11:24:16 -0400 In-Reply-To: <877dkzpqzq.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 18 Apr 2021 17:11:21 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:204349 Archived-At: > From: Lars Ingebrigtsen > Cc: stefan@marxist.se, mwd@md5i.com, gregory@heytings.org, > 1305@debbugs.gnu.org, jasonspiro4@gmail.com, monnier@iro.umontreal.ca > Date: Sun, 18 Apr 2021 17:11:21 +0200 > > Eli Zaretskii 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?