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 18:45:11 +0000 Message-ID: References: <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> <8735vnpqho.fsf@gnus.org> <83fszntt1u.fsf@gnu.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="34524"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 1305@debbugs.gnu.org, mwd@md5i.com, jasonspiro4@gmail.com, monnier@iro.umontreal.ca, larsi@gnus.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 18 20:46:59 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 1lYCRf-0008s5-Kx for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Apr 2021 20:46:59 +0200 Original-Received: from localhost ([::1]:44654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYCRe-0007K4-6q for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Apr 2021 14:46:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60974) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYCQk-0007JX-VP for bug-gnu-emacs@gnu.org; Sun, 18 Apr 2021 14:46:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36232) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYCQk-0003x3-Mi for bug-gnu-emacs@gnu.org; Sun, 18 Apr 2021 14:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lYCQk-0006bt-Gj for bug-gnu-emacs@gnu.org; Sun, 18 Apr 2021 14:46:02 -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 18:46:02 +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.161877151925327 (code B ref 1305); Sun, 18 Apr 2021 18:46:02 +0000 Original-Received: (at 1305) by debbugs.gnu.org; 18 Apr 2021 18:45:19 +0000 Original-Received: from localhost ([127.0.0.1]:47772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYCQ2-0006aQ-QF for submit@debbugs.gnu.org; Sun, 18 Apr 2021 14:45:19 -0400 Original-Received: from heytings.org ([95.142.160.155]:43642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYCPw-0006a9-OB for 1305@debbugs.gnu.org; Sun, 18 Apr 2021 14:45:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1618771511; bh=cbZ2xH3nMPzkfRKZFLTjZNqutUDnem6hELY/v8Zeros=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=csyOHO1X3nrx7og2HwjbLS5fL9lfXqdJM5fbyeteaUpFdnijH+hf2Z8mB1jnvX57o /F5/O9hYn1Ovc5fXszDAAsgr+c21YRFw7gHGKI7jA9laGtphusma43C1XeG+Y//gcW ALlzr7vz//Wqkp2c7HynH3J1T8Be5ECLC+UJbnSqafzhKT1a0RVQGfWWguGUzv5ooK 6y1mG8qdQZGycoP5jqr4asKCTUK6GcdtaqBFJ+Ap/Yfd6PTdp1aXh2afz5GDIO1huq zbSW+sI5ajkBNkycJkOJjyLCBAqCL00c70fuI0U2yy3vsDVZVnVLmBo6LWqJiNPIZd J/l5xwon4coGg== 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:204392 Archived-At: > > Eli is correct, 0.25 is far too long. 0.1 is much better. > He said 0.5 is too long, I tried 0.1, and find it too short to be noticed, so I tried 0.25, which seems okay from my point of view. > > In comparison with the old GNU/Linux behavior, your patch is basically > as good or better. However, with your patch I have to wait until the > flashing is over to read the text at the bottom. This was not the case > previously. I think that would need to be fixed. > It's just a quick proof of concept, perhaps it's possible to do something better, I'll try to do that if there's an agreement that it's a good starting point. That being said, I'd be surprised if you can move your eye from point to the echo area in less than 0.25 seconds. What you describe is annoying only if you already look at the echo area to see the error. > > If we do eventually decide to go this way, perhaps we could include a > few variations, for example the idea of changing the mode-line text from > Doom could be added as optional behaviour. > FWIW, I'm not sure it's right to do that, it might interfere with packages which use the mode-line in exotic ways. Moreover what's the point of changing the color of the mode-line? It's distracting, what the user should be invited to look at at that moment is the echo area, where the error message is (about to be) displayed.