From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#1305: All code that currently beeps should use visual bell instead Date: Tue, 20 Apr 2021 19:19:40 +0000 Message-ID: References: <87blabpy54.fsf@gnus.org> <87lf9eo3mq.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29033"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Alan Third , 1305@debbugs.gnu.org, Michael Welsh Duggan , Stefan Kangas , jasonspiro4@gmail.com, monnier@iro.umontreal.ca, Lars Ingebrigtsen To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 20 21:20:12 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 1lYvut-0007RN-7R for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Apr 2021 21:20:11 +0200 Original-Received: from localhost ([::1]:39012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYvus-000804-A9 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Apr 2021 15:20:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47894) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYvuk-0007zj-5z for bug-gnu-emacs@gnu.org; Tue, 20 Apr 2021 15:20:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44492) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYvuj-00018x-Uv for bug-gnu-emacs@gnu.org; Tue, 20 Apr 2021 15:20:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lYvuj-0006G2-Qb for bug-gnu-emacs@gnu.org; Tue, 20 Apr 2021 15:20:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Apr 2021 19:20: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.161894638424023 (code B ref 1305); Tue, 20 Apr 2021 19:20:01 +0000 Original-Received: (at 1305) by debbugs.gnu.org; 20 Apr 2021 19:19:44 +0000 Original-Received: from localhost ([127.0.0.1]:56038 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYvuR-0006FO-Of for submit@debbugs.gnu.org; Tue, 20 Apr 2021 15:19:44 -0400 Original-Received: from heytings.org ([95.142.160.155]:46316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYvuP-0006FG-VP for 1305@debbugs.gnu.org; Tue, 20 Apr 2021 15:19:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1618946380; bh=fD29d9oPnYGhW47mWeJbvsAiHQdaUbWHPVvwQd8f+6Q=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=RERe2mGq7RRIG2C8FP6TOdbPTuU30noP9ejBjFToGXeQa+LlEXu0fRqlfmWqUzcwT 2HuFQqfSu88ezCfq4slHplOlviTv49AHq7xQg0YLR13qL6efROqk3Zv5EF9SUi/K3C mqC2XL/hQyXp5H1YyWDL74wJxN0LeaA/gXJscwFTUI0xLdqZgubLXJlSs/h+rPBI5n 4OrrB14nN5VrpfGKqdxRFxZtaQ5tDbk5DtIT5837qc3NypJV1YEMKHBXWt0eFrJSGx /hEE5tnxWurrFqgD7A51tH2XPmJ+mxpnaQLkUEWJH+KLMSqvYkNUAb0LjTNxRBz6Y9 imgggC57t5KrQ== In-Reply-To: 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:204544 Archived-At: > > In general, I like it > Thank you :-) > > (though the concerns about colors are still there; perhaps just use > inverse-video in GUI as well?). > You mean, do what (setq visual-bell t) does? There's already an option for that... > > And it turns the cursor red irreversibly in my config (but not in 'emacs > -Q'). > That's rather strange, color-bell--cursor-background is saved only once, when visual-bell is called for the first time. I'll try to reproduce the issue, but some more detailed information (e.g. with debug-on-variable-change) would be welcome. > > Is nobody bothered by having this kind of visual indication while > 'visible-bell' is nil, though? > It's easy to turn off, as indicated in NEWS: (setq ring-bell-function nil). And IMO this is way better than the current situation, in which the default behavior depends on too many parameters that are outside the control of Emacs, in which the available options are different depending on the platform, and in which on certain platforms none of the available options are good.