From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#1305: All code that currently beeps should use visual bell instead Date: Thu, 29 Apr 2021 23:17:58 +0300 Message-ID: <80b9aa43-9924-ae07-df60-87dde8c17378@yandex.ru> References: <87blabpy54.fsf@gnus.org> <87lf9eo3mq.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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14434"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 Cc: Alan Third , 1305@debbugs.gnu.org, Michael Welsh Duggan , Stefan Kangas , jasonspiro4@gmail.com, Stefan Monnier , Lars Ingebrigtsen To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 29 22:19: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 1lcD7v-0003fR-4M for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Apr 2021 22:19:11 +0200 Original-Received: from localhost ([::1]:55444 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcD7u-000384-6K for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Apr 2021 16:19:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46884) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcD7m-00035v-6P for bug-gnu-emacs@gnu.org; Thu, 29 Apr 2021 16:19:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45325) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcD7l-0003aE-VL for bug-gnu-emacs@gnu.org; Thu, 29 Apr 2021 16:19:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcD7l-0000dG-Rj for bug-gnu-emacs@gnu.org; Thu, 29 Apr 2021 16:19:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 Apr 2021 20:19: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.16197274892368 (code B ref 1305); Thu, 29 Apr 2021 20:19:01 +0000 Original-Received: (at 1305) by debbugs.gnu.org; 29 Apr 2021 20:18:09 +0000 Original-Received: from localhost ([127.0.0.1]:56871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcD6v-0000c7-64 for submit@debbugs.gnu.org; Thu, 29 Apr 2021 16:18:09 -0400 Original-Received: from mail-wr1-f52.google.com ([209.85.221.52]:44701) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcD6s-0000bj-TS for 1305@debbugs.gnu.org; Thu, 29 Apr 2021 16:18:07 -0400 Original-Received: by mail-wr1-f52.google.com with SMTP id h15so15932234wre.11 for <1305@debbugs.gnu.org>; Thu, 29 Apr 2021 13:18:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=vBkZVeIdVTw3d3Cq4QN+AjMcMoOP45kgBpgt6BT80dE=; b=Lp99WDM+SrqBljqQ78p4gPreCEeo9kD2aEmXmd+Jt665sCCcq9fOom1rlNFmq/7vyC CXC0EsT7bOmRIMZO9SQqVvCtqE++idLf8SDnGyPs/g2nUwxiHQQqnukq2t4CZIEHQyRQ i/lLZLqet+21+RWWQok8+PXBATQPdV2SWig6W2IlGKcoI2qYyDKOVfdVA5K1XDplNIEA AeO0e1c7Uk0dw35BL5USru71I54ClcXJJjRtqKQg3bAj/TUQafurAaYInswbDJTLq1z0 kR+M85Gd7o3al/A+76/w7BCCl5jVz8TfJx2aMEh3UMhX3Ho8Nqi1/XdD9sAGN1yM/piS uKhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=vBkZVeIdVTw3d3Cq4QN+AjMcMoOP45kgBpgt6BT80dE=; b=QZzUx/Su80TV6EHXr7B2tazKbQPKWAdeW+8f4cmgdG9lKoBIPVxdMGzJWbNQZU4WKx 6ht1GpyDvVTEkS5uTL787QD+vPDVd5NHbAfILHlYJ3WG0fVnnGRJNIL5KjaJgMKwfJt8 6UDgRz8XSBIkXzdabcnIPPosNYq3bAWTGwFe+myZO/kJtIoJPAl3zcq7jadunUF7+qI/ Yn6yyHCK/fBiyuk8G+zFiWCgfiuZ1Cmysm2e3hSXXCEJgiFxnXGOn2EqKoPfTUud++iQ xT9VIcsHJKUmoIr/uSZcIYtkGedhMFxtJ7a2o7o4AN9el0Awa5qNL+qstvVtHsus/d4q /O/A== X-Gm-Message-State: AOAM530l0D0bbA91BbuOQNvAvVA2SgoYA8I3NCqT9XWwjTYQP4eqXCqk NDMCdEZ0ZIDeZj867cKzbs0= X-Google-Smtp-Source: ABdhPJxZBA3o/hNbbkvKYvcBDjcZqYVIHz+5MbpJU6dfOm3sUhtbMdmoOe5OzxstV/ZBHuQwvlDwTw== X-Received: by 2002:adf:fbc8:: with SMTP id d8mr1809963wrs.94.1619727481095; Thu, 29 Apr 2021 13:18:01 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id y8sm6457655wru.27.2021.04.29.13.17.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 29 Apr 2021 13:18:00 -0700 (PDT) In-Reply-To: <8fba78a42ee78011f182@heytings.org> Content-Language: en-US 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:205203 Archived-At: On 29.04.2021 22:48, Gregory Heytings wrote: > >>> and a new prettier bell function, which would be the default >> >> Another option would be to use your newer bell on MacOS (which has >> universally negative feedback), but keep the current one on GNU/Linux >> and Windows >> > > IMO a default that gives the same result across platforms would be much > better. In theory, yes. In practice, I like the current GNU/Linux's default better than your proposal. We could work on converging on some version that satisfies all, of course. But only replacing MacOS's bell would let us get around that. > I'm not sure what you mean by "the current one on GNU/Linux and > Windows": the current default is an audible bell.  If you mean "make the > current visible-bell the default", That one, yes, sorry. > Would you imagine such a behavior in Visual > Studio, Sublime or Atom? Briefly flashing some UI elements in a neutral fashion, without extra colors that may look out of place? Perhaps the implementation is a little old-fashioned, but the idea is solid, IMHO. 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". >> >> Windows (maybe? very little has been said here about whether it's >> better or worse). >> > > 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.  Among the three visible-bell t behaviors, > it's the best one IMO, in the sense that it's visible and not intrusive. Is it possible to replicate on other systems? > Not sure this is relevant to the current discussion, but: 99% GNU/Linux > (Debian), 0.95% macOS, 0.05% Windows. Of course it is relevant. If you were indeed a predominantly MacOS user, we could agree to split the difference. Apparently not, though.