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 11:27:23 -0500 Message-ID: References: <00ad01c942a0$1f49ca60$0200a8c0@us.oracle.com> <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> 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="10108"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Michael Welsh Duggan , Gregory Heytings , 1305@debbugs.gnu.org, jasonspiro4@gmail.com, monnier@iro.umontreal.ca To: Dmitry Gutov , Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 18 18:28:35 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 1lYAHi-0002WB-5E for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Apr 2021 18:28:34 +0200 Original-Received: from localhost ([::1]:44632 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lYAHg-0001Ot-UT for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Apr 2021 12:28:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42588) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lYAHC-0001OY-PU for bug-gnu-emacs@gnu.org; Sun, 18 Apr 2021 12:28:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36019) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lYAHC-0002za-IA for bug-gnu-emacs@gnu.org; Sun, 18 Apr 2021 12:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lYAHC-000571-E7 for bug-gnu-emacs@gnu.org; Sun, 18 Apr 2021 12:28: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 16:28: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.161876325419603 (code B ref 1305); Sun, 18 Apr 2021 16:28:02 +0000 Original-Received: (at 1305) by debbugs.gnu.org; 18 Apr 2021 16:27:34 +0000 Original-Received: from localhost ([127.0.0.1]:47565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYAGk-000567-0g for submit@debbugs.gnu.org; Sun, 18 Apr 2021 12:27:34 -0400 Original-Received: from mail-pf1-f169.google.com ([209.85.210.169]:37589) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lYAGf-00055e-S2 for 1305@debbugs.gnu.org; Sun, 18 Apr 2021 12:27:30 -0400 Original-Received: by mail-pf1-f169.google.com with SMTP id o123so21588477pfb.4 for <1305@debbugs.gnu.org>; Sun, 18 Apr 2021 09:27:29 -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=uV3cJr3Ca9rClRbpVt3hTTItxWbrNJw4JKyTsM60aro=; b=OBNawU9gY8jwjkD4pyWGIQxZIfKAXPjnwR8zFcGZirysNeuYvDVOSsi47bV4awFivz rCVZu5Ft0BZUDbGTWFLYZoMiMt0zfrRClj3it1n2qimLy9Q29/VNTH99YjFymPxize1l peb1gB+G/iajPpge6H5Ry3Jp2VbIXnb8Ryp045Aeyjz+cCWxB76AkyBQ7PLp4+lGK41G 559dkP+z7GpmFHuIDhVUFUfWApz8j+HQ+zqpj+UkpRdTuf5jq8dXcD+/q0JYjHKdjpNe F0Dknwho3VYuoleFiJJ3qRq9QUs/Fth6t929mWiR8lgL36rUqG5qB0GEmplnn3thD97I qMiw== X-Gm-Message-State: AOAM532dlmPmnGtm09KakF3u31L5wXpYVT1VwAWOkiASCHjVlrSpvLet Go7ZRJVfhEM/+tH1VOTfFBCXH+alK/1Od18BzJl60piU X-Google-Smtp-Source: ABdhPJzzzgnJuCMdZh5U3Y/HJEOGcOaZW2kXpbCRRKTiNNBDiQTUf/eVpWhgctzwvY+CKHCx/LNwfdyQ/BRFB6dfXaY= X-Received: by 2002:a63:942:: with SMTP id 63mr8143364pgj.67.1618763244183; Sun, 18 Apr 2021 09:27:24 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 18 Apr 2021 11:27:23 -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:204368 Archived-At: Dmitry Gutov writes: > Doom: > > (setq ring-bell-function #'doom-themes-visual-bell-fn > visible-bell t) > > (defface doom-visual-bell '((t (:inherit error))) > "Face to use for the mode-line when `doom-themes-visual-bell-config' > is used." > :group 'doom-themes) > > ;;;###autoload > (defun doom-themes-visual-bell-fn () > "Blink the mode-line red briefly. Set `ring-bell-function' to this > to use it." The docstring isn't clear what "blinking" means, but they briefly set the *foreground* color to red (or whatever color `error' is configured to be). I think it's a neat idea. It would be interesting to know how well it works with third-party mode line (e.g. "powerline") packages.