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: Wed, 21 Apr 2021 04:16:02 +0300 Message-ID: <0d7924a2-d09f-e2d0-f0e7-6b5ee3a7a7f2@yandex.ru> References: <87blabpy54.fsf@gnus.org> <87lf9eo3mq.fsf@gnus.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="7560"; 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, monnier@iro.umontreal.ca, Lars Ingebrigtsen To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 21 03:17:39 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 1lZ1Up-0001ov-4z for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Apr 2021 03:17:39 +0200 Original-Received: from localhost ([::1]:44036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZ1Uo-000115-15 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Apr 2021 21:17:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZ1UE-0000ys-7k for bug-gnu-emacs@gnu.org; Tue, 20 Apr 2021 21:17:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44946) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lZ1UD-000834-Vw for bug-gnu-emacs@gnu.org; Tue, 20 Apr 2021 21:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lZ1UD-0000Eo-RP for bug-gnu-emacs@gnu.org; Tue, 20 Apr 2021 21:17: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: Wed, 21 Apr 2021 01:17: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.161896777431068 (code B ref 1305); Wed, 21 Apr 2021 01:17:01 +0000 Original-Received: (at 1305) by debbugs.gnu.org; 21 Apr 2021 01:16:14 +0000 Original-Received: from localhost ([127.0.0.1]:56492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZ1TR-00084k-Qa for submit@debbugs.gnu.org; Tue, 20 Apr 2021 21:16:14 -0400 Original-Received: from mail-wm1-f45.google.com ([209.85.128.45]:50801) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZ1TP-0007yB-Td for 1305@debbugs.gnu.org; Tue, 20 Apr 2021 21:16:12 -0400 Original-Received: by mail-wm1-f45.google.com with SMTP id u187so1736041wmb.0 for <1305@debbugs.gnu.org>; Tue, 20 Apr 2021 18:16:11 -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=0c9mMI1n9Y4KIds0aVGtXBct3sJqKaHaHOY/XuBstw0=; b=skvhXqTchp+XkG06s8Vl6C315g1UFvSqN4xcc7vA9XJ4elXHConYPjPj+yfcGOH+VD z+FF26tGMKG8NpzMPq4O3+d4Sj6r7mDPJ6OLVj96m7P1vDIczNLzCSJ2i49FjznK9C03 sLBrpWpLhLeVWc6JYGL2PrdPgnwcggQ6oXM1Wff6FLshqBesO9L5wkXT1qLMJ7pElPkF QN4RidXf6aWcrP5duc4QnoRVm5xL7TBtLAkhOCzxKSXrbzgrTDRH2GSHhlhAo/rMF9BN 1PyVdEWTs7JUncuUBQr3QfTSzhMnChVZUuyutBiv38OEi6925VIJWLVg6ESlFX7X8YQK eGGA== 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=0c9mMI1n9Y4KIds0aVGtXBct3sJqKaHaHOY/XuBstw0=; b=QFiaegLqOvIFSCeO6hvo+lqiHlr0Z7u2NRENKptYlt7A3RL4o2gJyag+ppjbV7dRZx AuAgdPHcpZy6alfCTY6NmfcAsob21ARauBOE2A8npYnBpNFjfsZacCmBSLiVfLepugOZ SkOTmtZJI+qHFZkrtthtHf1cuvi65odzAC0bA+z8g0KsErJZltHkpdDlzj2PMAy3C8eF F7RAVmq2QGyth4aBjMNfWk5mERX9jPkp5XzaJsc3Y6eubQSel5aulNkb9S1ByyuelfX0 xofEIl3U8YI+znn4B4fyj108K/tOvXRTMAXSYPTjeDRywgIMrKyBbpCmeEkwDICNSy82 wCOQ== X-Gm-Message-State: AOAM530S3nZ3pjZR5GJMTVBpehP6sN3Jw839FL+1LFmI1Fjimj76H7+f 7QP1NONfKC7Bf0tmUyUWFYQ= X-Google-Smtp-Source: ABdhPJz/OHtp5kySaaf2ZQpOkuSZvYiugdB8mi+6747KSk5Dsl21tZXpEmTVonnVm+yWO1Ea9MUHAA== X-Received: by 2002:a7b:c312:: with SMTP id k18mr7082058wmj.89.1618967765846; Tue, 20 Apr 2021 18:16:05 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id y11sm894832wro.37.2021.04.20.18.16.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Apr 2021 18:16:05 -0700 (PDT) In-Reply-To: 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:204562 Archived-At: On 20.04.2021 22:19, Gregory Heytings wrote: > >> >> In general, I like it >> > > Thank you :-) > >> >> (though the concerns about colors are still there; perhaps just use >> inverse-video in GUI as well?). >> > > You mean, do what (setq visual-bell t) does?  There's already an option > for that... Not on all platforms, though. >> And it turns the cursor red irreversibly in my config (but not in >> 'emacs -Q'). >> > > That's rather strange, color-bell--cursor-background is saved only once, > when visual-bell is called for the first time.  I'll try to reproduce > the issue, but some more detailed information (e.g. with > debug-on-variable-change) would be welcome. I'll try bisecting when I have the time. In any case, it's just an implementation bug, not a blocker. >> Is nobody bothered by having this kind of visual indication while >> 'visible-bell' is nil, though? >> > > It's easy to turn off, as indicated in NEWS: (setq ring-bell-function > nil). I mean, like, semantically: this new proposal is also visual/visible. But 'visible-bell' is nil. > And IMO this is way better than the current situation, in which > the default behavior depends on too many parameters that are outside the > control of Emacs, in which the available options are different depending > on the platform, and in which on certain platforms none of the available > options are good. My #1 preference would be to make it all behave like (setq visible-bell t) on GNU/Linux does. This way we both get a proven behavior with no significant complaints, as well as consistency across platforms. But your proposal is a close second.