From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#1305: All code that currently beeps should use visual bell instead Date: Sun, 18 Apr 2021 14:04:04 -0500 Message-ID: References: <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; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35054"; 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: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 18 21:05:21 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 1lYCjR-00091B-NW for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Apr 2021 21:05:21 +0200 Original-Received: from localhost ([::1]:41352 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYCjQ-0001Us-OS for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Apr 2021 15:05:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYCj8-0001Rv-TW for bug-gnu-emacs@gnu.org; Sun, 18 Apr 2021 15:05:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36284) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYCj8-0005xs-B3 for bug-gnu-emacs@gnu.org; Sun, 18 Apr 2021 15:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lYCj8-0000oH-4y for bug-gnu-emacs@gnu.org; Sun, 18 Apr 2021 15:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 18 Apr 2021 19:05: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.16187726533038 (code B ref 1305); Sun, 18 Apr 2021 19:05:02 +0000 Original-Received: (at 1305) by debbugs.gnu.org; 18 Apr 2021 19:04:13 +0000 Original-Received: from localhost ([127.0.0.1]:47828 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYCiK-0000mv-TH for submit@debbugs.gnu.org; Sun, 18 Apr 2021 15:04:13 -0400 Original-Received: from mail-pl1-f177.google.com ([209.85.214.177]:40708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYCiI-0000mh-L9 for 1305@debbugs.gnu.org; Sun, 18 Apr 2021 15:04:11 -0400 Original-Received: by mail-pl1-f177.google.com with SMTP id 20so12608767pll.7 for <1305@debbugs.gnu.org>; Sun, 18 Apr 2021 12:04:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=R+2WNGGhMQT8E+5lLMVZZ06w2yVM+QdFY1SWu/yTq7k=; b=D/XzTUOeChfoWADbHr6eZ/hzKSv/W98jJFOLfCc0lje6KxiXJg7cookmuVEHC416AJ EQN5MlPgvpFqgy9kmu+Q9GZGaSKrIM54ISFLAiriijVCMWtO08wiserOjzZ6zVPUHclE /mFsiqfpCbOIykZHx53zpP9QnWmCjl1Rjspg8ES9RaLPlgX/UogL8D7t4uKqRTH0ADqf HmZo2zh6dpdA/EZnJ52nwukJip0lV6TYKryddJwVuVvQmgcXpMLYnTM45mmQryQeRHzO kSohnJfzWSA9P/uhe5YWdR7KiMAo7TonU1nY5umk1kVRx2UaMzTanmfYzm3kyLnVwpvY reYA== X-Gm-Message-State: AOAM531EiccZY+5WcUMgwJBOPkmvpz44rwsvV2RfthPlBu0u3F3MF1VS gZWEHEDsFaUz7/OkNYn1TKfY+pjgPIhfm1XG30o= X-Google-Smtp-Source: ABdhPJxQzhqGVywufe1ltnwMZSalFaJ+hHGqPAiCgd7NXfWVat40aDnhpEZn4B9hZ0H7onbe0dqCuLm+vGPwD2yyTkY= X-Received: by 2002:a17:90b:19ca:: with SMTP id nm10mr21256256pjb.175.1618772644994; Sun, 18 Apr 2021 12:04:04 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 18 Apr 2021 14:04:04 -0500 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:204396 Archived-At: Gregory Heytings writes: >> 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. Hmm, I find the flashing effect to be noticeable even with 0.03 or 0.05, but I did also change the colour to red which is more visible to my eyes. But yes, we can't go too low. I suggest just using the same value as with the old visible bell, whatever that may be. >> 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. Sounds good, thanks for your work here. > 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. I don't know which if any eye-movement was or wasn't involved as I didn't carry out this experiment with any scientific rigor. ;-) So I can only tell you my experiences. With your patch I found myself having to wait to see the text at the bottom, which was frustrating when I expected to see it immediately. This was the case also with a 0.1 second delay: I saw first a block of red text before the text popped up.