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: Thu, 29 Apr 2021 17:38:05 -0500 Message-ID: References: <87blabpy54.fsf@gnus.org> <0d7924a2-d09f-e2d0-f0e7-6b5ee3a7a7f2@yandex.ru> <192e82f20f5deb690394@heytings.org> <87zgxmjkr9.fsf@gnus.org> <874kfs3585.fsf@gnus.org> <87v987z53l.fsf@gnus.org> <8fba78a42ee78011f182@heytings.org> <80b9aa43-9924-ae07-df60-87dde8c17378@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31136"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Alan Third , 1305@debbugs.gnu.org, Michael Welsh Duggan , jasonspiro4@gmail.com, Stefan Monnier , Lars Ingebrigtsen To: Dmitry Gutov , Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 30 00:39:26 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 1lcFJe-00080q-5V for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Apr 2021 00:39:26 +0200 Original-Received: from localhost ([::1]:39056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcFJd-0003hv-AP for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Apr 2021 18:39:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41670) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcFJG-0003fx-4C for bug-gnu-emacs@gnu.org; Thu, 29 Apr 2021 18:39:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45478) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcFJF-0002T7-TR for bug-gnu-emacs@gnu.org; Thu, 29 Apr 2021 18:39:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcFJF-0003t7-RV for bug-gnu-emacs@gnu.org; Thu, 29 Apr 2021 18:39:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 Apr 2021 22:39: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.161973589314884 (code B ref 1305); Thu, 29 Apr 2021 22:39:01 +0000 Original-Received: (at 1305) by debbugs.gnu.org; 29 Apr 2021 22:38:13 +0000 Original-Received: from localhost ([127.0.0.1]:57024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcFIT-0003rz-6Y for submit@debbugs.gnu.org; Thu, 29 Apr 2021 18:38:13 -0400 Original-Received: from mail-pl1-f173.google.com ([209.85.214.173]:33763) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcFIR-0003rn-SV for 1305@debbugs.gnu.org; Thu, 29 Apr 2021 18:38:12 -0400 Original-Received: by mail-pl1-f173.google.com with SMTP id b21so7064984plz.0 for <1305@debbugs.gnu.org>; Thu, 29 Apr 2021 15:38:11 -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:content-transfer-encoding; bh=mb4xp4L/3vk+iHfehlDVG0Cc2msUjyiJnmu0Xe7qwmc=; b=IVgQDwexJQ5i+tt50AyZAnBrNDLcGCZ2F92SS9NgWotIXgJ8HodxcvdTudHeXRQj0B M+Wuxz8mBcmDRDG3W/TEioWjQB/RU/9LfEaFbBdd/O9XrtvZ4jay2EEK3bstB5ZzDoc3 uBuLplOcajgKR7vJp+BMvONm/RpgMDYWdyASpwGvw7DqvAFsnWUMiuqKNqdrS1uC35x1 NSbvyeCKHUud25QGs8aNjUY08dnJx/UrIGEQIUxnXlICMwETahdHmo3dV4MeCba8RXIz FsZFONrzIW1Ri2lorRkhHtprTbkVU3+hkPXWc8b7ai4AcjbivtYug69UX+B/pPtA7cc+ oQvw== X-Gm-Message-State: AOAM530Zg/66DD/yxIHAeV5IfonY8Shqk+IGJb+9/2fE2Xu1C1Bxv7WC dd/Vu01V0ihbGC4HNIpWXAotVVXaMPMww41BwIg= X-Google-Smtp-Source: ABdhPJz/kxwMUZxmlfKqY/WDNJPdID5fQ5MCpU4fgXe589DkqEEBl3uCIu+Lhv/3eWbInTm1VDnvtVpbMnGRrAGcQlg= X-Received: by 2002:a17:902:e788:b029:eb:2c5b:bce8 with SMTP id cp8-20020a170902e788b02900eb2c5bbce8mr2173161plb.41.1619735885992; Thu, 29 Apr 2021 15:38:05 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 29 Apr 2021 17:38:05 -0500 In-Reply-To: <80b9aa43-9924-ae07-df60-87dde8c17378@yandex.ru> 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:205209 Archived-At: Dmitry Gutov writes: > So from my POV, your proposal is not at that level of polish of VS > Code/Atom either. > > That's also why I asked whether somebody knows a corresponding UI > element/animation in either of these editors we could, uh, "get inspired > by". I installed VSCode to see what they do there. But I failed to make it flash or beep at me, or even present an error. Does anyone know any way to do that? BTW, VSCode reasonably does not beep just because you reach the beginning or end of the buffer, heh. (BTW#2, I tried "searching" the Emacs sources [i.e. grepping] which made the entire program freeze on me for half a minute. So we are not the only ones who sometimes fail to be asynchronous enough.) >> I can't really say whether it's better or worse, with visible-bell t on >> Windows the frame briefly flashes (with the FlashWindow function), a bit >> like a flash in a terminal.=C2=A0 Among the three visible-bell t behavio= rs, >> it's the best one IMO, in the sense that it's visible and not intrusive. > > Is it possible to replicate on other systems? It would be useful if someone could post a screenshot for those of us with no access to any Windows machines.