From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#1305: All code that currently beeps should use visual bell instead Date: Wed, 21 Apr 2021 16:14:24 +0000 Message-ID: <192e82f20fc0afe2bccd@heytings.org> References: <87blabpy54.fsf@gnus.org> <87lf9eo3mq.fsf@gnus.org> <0d7924a2-d09f-e2d0-f0e7-6b5ee3a7a7f2@yandex.ru> <192e82f20f5deb690394@heytings.org> <4fdaf2ab-30c0-c171-d46c-d22e02579962@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1053"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Alan Third , 1305@debbugs.gnu.org, Michael Welsh Duggan , Stefan Kangas , jasonspiro4@gmail.com, Dmitry Gutov , Lars Ingebrigtsen To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 21 18:15:31 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 1lZFVi-0000Ai-RT for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Apr 2021 18:15:30 +0200 Original-Received: from localhost ([::1]:38580 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZFVh-000087-OV for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Apr 2021 12:15:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58596) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZFVH-00005n-AA for bug-gnu-emacs@gnu.org; Wed, 21 Apr 2021 12:15:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48058) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lZFVF-0006LO-Uz for bug-gnu-emacs@gnu.org; Wed, 21 Apr 2021 12:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lZFVF-0007z5-Qw for bug-gnu-emacs@gnu.org; Wed, 21 Apr 2021 12:15:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Apr 2021 16:15: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.161902167130633 (code B ref 1305); Wed, 21 Apr 2021 16:15:01 +0000 Original-Received: (at 1305) by debbugs.gnu.org; 21 Apr 2021 16:14:31 +0000 Original-Received: from localhost ([127.0.0.1]:59604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZFUl-0007y1-0R for submit@debbugs.gnu.org; Wed, 21 Apr 2021 12:14:31 -0400 Original-Received: from heytings.org ([95.142.160.155]:47636) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZFUf-0007xq-OB for 1305@debbugs.gnu.org; Wed, 21 Apr 2021 12:14:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1619021664; bh=hscnQzj2cngHH/ohnlfpbRzyy8CHn4qjYgjFQEIAsvk=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=XlW1wCwqYLa/3s7A4olTs+VN/fUAJ2VyHcweGtxix7DMCk6NLlBNtsb6wAd99b4Ht ykxGkj3HF2HPyttUJEkwO91ftr+z9wSMqRVFaQK2ivQ8xnaegzaw4ZonGAnrFPIn+R jaciiRPoTsOD/vwMhyg+ja7N4f/g5qWu6mGozQQZrU/kArGvFWabYS/7BxPyoffqQw /yN10+WE9XBc0c0AA5itytVNCy7HbZU0L/kB04tKuPgjhyg+bpt8smjkxeBlReDLih JxZtgjNhuwwUoXBexzp6x/4C7fI3AccUbqCAq5W59nuvhNnRevpTrMcdgzQjdIrmPE g7RfshanjfJog== 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:204639 Archived-At: >> But I do have similar reservations about flashing red so prominently >> (given that the pressing C-g does not usually indicate an error of any >> sort). > > Why not flashing the mode line with something like: > I don't understand why flashing the mode-line is among the possible options. Calling the attention of the user to the mode-line is not TRT, it's neither where the error happened (usually at point or around point) nor where the error that happened is explained (in the echo area). It's like flashing the fringes, there's no point in doing that when an error happens. Yes, there's an option in Doom to do this. But AFAIU Doom does that because it can't do better, namely, because there is no way to access the last error symbol in Emacs and do something with it. This (making the last error symbol and data accessible from Elisp) is included in my proposed patch.