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: Mon, 19 Apr 2021 08:26:53 -0500 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> <87tuo3ob5f.fsf@gnus.org> <87h7k2o3fx.fsf@gnus.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="16412"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Michael Welsh Duggan , Gregory Heytings , 1305@debbugs.gnu.org, jasonspiro4@gmail.com To: Lars Ingebrigtsen , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 19 15:28: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 1lYTwq-00048M-NV for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Apr 2021 15:28:20 +0200 Original-Received: from localhost ([::1]:38402 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYTwp-0001a4-Q8 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 19 Apr 2021 09:28:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYTwY-0001Mj-0L for bug-gnu-emacs@gnu.org; Mon, 19 Apr 2021 09:28:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37272) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYTwX-0003f0-Pa for bug-gnu-emacs@gnu.org; Mon, 19 Apr 2021 09:28:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lYTwX-0007mF-M9 for bug-gnu-emacs@gnu.org; Mon, 19 Apr 2021 09:28: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: Mon, 19 Apr 2021 13:28: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.161883882229782 (code B ref 1305); Mon, 19 Apr 2021 13:28:01 +0000 Original-Received: (at 1305) by debbugs.gnu.org; 19 Apr 2021 13:27:02 +0000 Original-Received: from localhost ([127.0.0.1]:48807 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYTvZ-0007kG-QL for submit@debbugs.gnu.org; Mon, 19 Apr 2021 09:27:02 -0400 Original-Received: from mail-pj1-f44.google.com ([209.85.216.44]:54910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYTvY-0007jw-1t for 1305@debbugs.gnu.org; Mon, 19 Apr 2021 09:27:00 -0400 Original-Received: by mail-pj1-f44.google.com with SMTP id cu16so15936281pjb.4 for <1305@debbugs.gnu.org>; Mon, 19 Apr 2021 06:27:00 -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=KljlbVyib6pvz7qdlgabwotZqwhz+EKuP9wunDykYk8=; b=Prutk/pHU2IRMtdZ7SD+Pfmz0KT8qahdxGvpBT+rkHgUzPZOcD0lXSEzHwJ0bVZ5nV rFLpo+2UDejF6Ol+rHWNpL4N6VkbaIs9iMalYhrT3RqEiwwy+Y0TfIA6ll+Gd8V3FiQD FT0YzMXA/8kVgySIrzGehrERmcW1rYLZkVEyaqrs9srrJDQrHRzsl8aZ+LbCMK0+dnaL tTSPtiYTOUwsFrMV/B619JfXVXjoDX6TsEiOPGE36bsFgdwUcjYWsOQ8Zu1kqPBKEtzN AzdMP6BVDyrnRo+vt8dFvkyYpZHVRV9uXgdKccWG/NgGIT3M5i8aycJPoQVbPWBirit5 w1FQ== X-Gm-Message-State: AOAM532fQU/CnpbDJI41XSC5MWH/kOyNL0BiGUSGGuw+KqUsUUDplUkU Gsbxa3ZBBQapsZ+dgLgDvhx0yMVwv7hTl740m6A= X-Google-Smtp-Source: ABdhPJyt4+sb35k9l1WURw+YO7RLRdG1QbY+T8DzltKT1xR3YReWyc53hl/9w2N5ZLyP1YjGsXS45ggRBVrD7B37s5s= X-Received: by 2002:a17:90b:f0b:: with SMTP id br11mr24584638pjb.179.1618838814276; Mon, 19 Apr 2021 06:26:54 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 19 Apr 2021 08:26:53 -0500 In-Reply-To: <87h7k2o3fx.fsf@gnus.org> 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:204449 Archived-At: Lars Ingebrigtsen writes: > Stefan Monnier writes: > >>> It's more intrusive than what many people are using -- which is neither >>> an audible nor a visible bell, but just the echo area saying "Quit" when >>> you hit `C-g' (etc). >> >> But those people won't be affected by a change in the default. > > Dmitry's useful overview of the various distributions (thanks) had this, > for instance: > > --- > Prelude and Spacemacs: > > (setq ring-bell-function 'ignore) > --- > > If I understand correctly, this doesn't set `visible-bell', but only > uses the default value (which is nil). So changing the default will > indeed affect these users (until the distributions update themselves to > set visible-bell to nil). Is this the scenario you have in mind? (setq visible-bell t) (setq ring-bell-function #'ignore) (defun foo () (interactive) (ding)) M-x foo RET This gives no visible bell here.