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: Sun, 18 Apr 2021 13:32:48 +0000 Message-ID: References: <009901c9421f$5bd0a6b0$0200a8c0@us.oracle.com> <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> <871rb9qbd3.fsf@gnus.org> <87fsznq3ia.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="25486"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jasonspiro4@gmail.com, Lars Ingebrigtsen , 1305@debbugs.gnu.org, monnier@iro.umontreal.ca To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 18 15:33:08 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 1lY7Xw-0006WW-Eb for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Apr 2021 15:33:08 +0200 Original-Received: from localhost ([::1]:34012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lY7Xv-0007fI-IO for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Apr 2021 09:33:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47040) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lY7Xq-0007fC-6W for bug-gnu-emacs@gnu.org; Sun, 18 Apr 2021 09:33:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34164) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lY7Xp-0006pq-UP for bug-gnu-emacs@gnu.org; Sun, 18 Apr 2021 09:33:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lY7Xp-0000M8-R0 for bug-gnu-emacs@gnu.org; Sun, 18 Apr 2021 09:33: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: Sun, 18 Apr 2021 13:33: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.16187527721353 (code B ref 1305); Sun, 18 Apr 2021 13:33:01 +0000 Original-Received: (at 1305) by debbugs.gnu.org; 18 Apr 2021 13:32:52 +0000 Original-Received: from localhost ([127.0.0.1]:45710 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lY7Xg-0000Ll-Eh for submit@debbugs.gnu.org; Sun, 18 Apr 2021 09:32:52 -0400 Original-Received: from heytings.org ([95.142.160.155]:43158) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lY7Xe-0000La-57 for 1305@debbugs.gnu.org; Sun, 18 Apr 2021 09:32:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1618752768; bh=tA+ov+giTpcC4KMst2cnZ/x0ejcdRyC6uu2mAaZUX3A=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=fNOIdgq0ZVCsll7vTr6uYyUhG+krYtSsQ4SA90g3HWdeTzF7j+NnpAd9iZRipwhDz 3Zz4u0COhkx484gbVhzNjuH1eydr8vqJa1dFxOjlC92c6EKwbptvmvSz0trg1SqxhM Y4QP4ZC/v3aBYfq2kPC6spVE0V8V8gZ9ojLbrfaCzaM9fCyOtrmNMxeLcaDe8o3WGi vhhvGxAOBF6ylcmHZUJsRNh8DwWaZFNk1SaqwSMOEBhJCMj6g6pLnS0gZjvTflaHa5 S2pEa01FapJpozvr1RmY5ayXarqEvG5+vKi5wi20mXmupLCQfQDsxVpbjRWLoZbWAr 5g1KoppO1zSBQ== 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:204333 Archived-At: > > Or do we need a complete rethinking of this? Perhaps there is some > other software that we can steal some good ideas from? > FWIW, what I would do for the default is to leave visible-bell to nil, and to use ring-bell-function to temporarily turn the cursor color to red and to put the message in the echo area on a yellow background. Of course these colors would be configurable. This would work on all platforms, and isn't too intrusive; at least it's less intrusive than the current defaults with visible-bell nil or t on GNU/Linux and macOS.