From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#1305: [External] : bug#1305: All code that currently beeps should use visual bell instead Date: Wed, 21 Apr 2021 22:03:43 +0000 Message-ID: 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> <192e82f20fc0afe2bccd@heytings.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23710"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Alan Third , "1305@debbugs.gnu.org" <1305@debbugs.gnu.org>, Michael Welsh Duggan , Stefan Kangas , "jasonspiro4@gmail.com" , Dmitry Gutov , Lars Ingebrigtsen To: Stefan Monnier , Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 22 00:04:49 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 1lZKxl-00062J-5p for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Apr 2021 00:04:49 +0200 Original-Received: from localhost ([::1]:45572 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lZKxk-0001cr-7v for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 21 Apr 2021 18:04:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lZKx2-00015B-8Z for bug-gnu-emacs@gnu.org; Wed, 21 Apr 2021 18:04:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48451) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lZKx0-0006Sx-GT for bug-gnu-emacs@gnu.org; Wed, 21 Apr 2021 18:04:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lZKx0-0008FA-8M for bug-gnu-emacs@gnu.org; Wed, 21 Apr 2021 18:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Apr 2021 22:04: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.161904263031670 (code B ref 1305); Wed, 21 Apr 2021 22:04:02 +0000 Original-Received: (at 1305) by debbugs.gnu.org; 21 Apr 2021 22:03:50 +0000 Original-Received: from localhost ([127.0.0.1]:59997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZKwo-0008Ek-Ap for submit@debbugs.gnu.org; Wed, 21 Apr 2021 18:03:50 -0400 Original-Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:27756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lZKwk-0008Ea-VN for 1305@debbugs.gnu.org; Wed, 21 Apr 2021 18:03:49 -0400 Original-Received: from pps.filterd (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 13LLv5rm023014; Wed, 21 Apr 2021 22:03:46 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2020-01-29; bh=DhllvMjEaglGZKB4q2dVYciypB/pHgTKNbY94SJG0y0=; b=W94Y2DR3NNKT8P5rkMljHASVfwqpFFJwvPP23lUR3Z7A9VkA2AHNNH2vGoAaL3PKnTEH dGFi3sX2/3y3acLzgV+dLHh9jY4ktKRJ835e0gEvMXqNRvffAJCM11/2Gbf1vOZ9aoDG NNX33y9fTR9eTzyVRjHho3HZHP1iw7oP/MjTmBcsO0TiZDMkchfl6p9nWxM9e5IIFHdF OHBcaNybZOqHtX0ET4P34b3JuaCxO9UBcTqlSUcJINsnRJvWJk6TnVCm7cpZb25ovC+t VAnfS+K9mJiuJ/3VSOJKNXMZL49fPQFzjy1EXqWJOx78lw9SIMuntzZ+0O2tGPlzJXri PQ== Original-Received: from oracle.com (aserp3030.oracle.com [141.146.126.71]) by mx0b-00069f02.pphosted.com with ESMTP id 381bjn8vt8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 21 Apr 2021 22:03:45 +0000 Original-Received: from aserp3030.oracle.com (aserp3030.oracle.com [127.0.0.1]) by pps.podrdrct (8.16.0.36/8.16.0.36) with SMTP id 13LM3jo6161245; Wed, 21 Apr 2021 22:03:45 GMT Original-Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2102.outbound.protection.outlook.com [104.47.58.102]) by aserp3030.oracle.com with ESMTP id 38098sakbj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 21 Apr 2021 22:03:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J1SfCsJtN2RgtTqUU+mvo57hOEZ1x81uDNIRbUf9sHT69UGko7ldiildFa1QheI3rDe6oZm8AhI4OGDxiUUFWHJvkjB6IY+yDcwE3uOH7kly0kSe3VB0w1NPSoeipaM+nUye5il91CW8j92JAQvgpMd9WplGPh3KlGArr7nG+aUbjQqDLiO/sKH0u53yBembxuJSXeBOMGnQbqKQ370M/rMCO0SOfy7TSKo0ZJQRnTZANlbGqUMNjEpux+iScpwEAcdQZ3gL4/bdIfTFbyLxoE0Dw80xXJagEP+JgNJfaPkqSwOmb9S0JpmUFbpdtZ9m3+duUbFsx28Rw8lhA9iWzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DhllvMjEaglGZKB4q2dVYciypB/pHgTKNbY94SJG0y0=; b=OCTx6pibcVZX/Q3n77rLb8OZq8CsON40N4G6j242apg1ALKvbCm6NNJ4CqntrnzvWPR7VIcjTdC2TZlCLDmIqQEg+Ws7E3vsqRzDlPv93MZAWV1Hh8hTKBjo0XU/7iUJAXCR5lv36S9NRm3wYLkO1gkMY2hvxO9kWZ0ED1xLRvSssgpNsUKBTba80+snzhrVFtbW6TLp3aTpPudTcmWxrvUNU96cqcma0zLmgSEQ7BCpUbSVPg8dKfLypNRYI+udlzcw6ZLYUiwkMjrdFL2a4f40U/cZ9/ah3gClVfqktipOyjTZGUBbwK097gx4/elbwNSUN/KzeGG0wdjhWfxQ0w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DhllvMjEaglGZKB4q2dVYciypB/pHgTKNbY94SJG0y0=; b=rNe5ortvq+8KAPkI0zjAIrovy7kOyVaYIQHu9vDzwfV3HJvPhbYSjaK1jXVgxrXll/oGL+RzW20AwtSc8Dy+qVzXMjWG4PuRAhVuDlg9CH7q/1FKTdSgvXnanlKvUMz2edXBO7opgu4LDL/euc+8crnS/Wi5g0hpNZxz5S3zv5Y= Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com (2603:10b6:806:11b::15) by SA2PR10MB4444.namprd10.prod.outlook.com (2603:10b6:806:11f::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.16; Wed, 21 Apr 2021 22:03:43 +0000 Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::2109:9725:fd4a:6494]) by SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::2109:9725:fd4a:6494%6]) with mapi id 15.20.4065.021; Wed, 21 Apr 2021 22:03:43 +0000 Thread-Topic: [External] : bug#1305: All code that currently beeps should use visual bell instead Thread-Index: AQHXNtOYU8gXuQXOIUm0DU5ELK4Wj6q/eEiw In-Reply-To: Accept-Language: en-US Content-Language: en-US authentication-results: iro.umontreal.ca; dkim=none (message not signed) header.d=none;iro.umontreal.ca; dmarc=none action=none header.from=oracle.com; x-originating-ip: [73.170.83.28] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 33600618-81f8-4576-30da-08d905115425 x-ms-traffictypediagnostic: SA2PR10MB4444: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: EDG26asT+omDscTi00VbzSBC4Mp7K5j3daKLuZ3vvE8khXZ89kjX1eXKiqYct4Mi76xlFKmqssXfUGTUFQvbUSP973x2+RXqFAuMBqc9zM2RMVaSRWOcNnbJ1H9bl/V0I+MEcbomSFbNFnq1JEWMUd9fWxAIiexZ4wmz4emA6hqui51Rq3EKh/w/qC0w+nJ8biDa/s+MMSnf8b2z5MJr06igS23Ij54Kje9y2B0DlFstajHsLqUF+1wTuKCuVvTWC8ypqBn9TxBXOTDx6qxIiuB+TDLID5G2QpIe4gVE/TrWqSyEEOuPw6EjxdQWB+W5IMGHw3RdAq2eEM7lRBQOdHPX2jcR+xRrfiZE7DmouyCp7AD/ZfiMjOLexq+TXMjm5vcwII2E7eoTmb3IDpR6f/wrSoO8fn0d33UAj+glquWdE5wsIiqh4788bGJimLGH0zY6MURtj+fekKesOpEPdpoAcv8j4eTQyNLbFJlx7knZkT9zlACSfs/wFHw/EMk18sZ6dKnn1gfViDI6GiK7/EBt0rHMhzTXvfdQjKAjj1NlrxZTGSrHgwgDlF0mwa/mOL/cFZsEly4dglIjIeOqj50sBn1XkelGjFKYorGPB74= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA2PR10MB4474.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(346002)(366004)(136003)(396003)(39860400002)(376002)(7696005)(9686003)(33656002)(44832011)(71200400001)(86362001)(52536014)(66476007)(478600001)(8676002)(186003)(54906003)(110136005)(26005)(66556008)(38100700002)(64756008)(66446008)(296002)(6506007)(8936002)(76116006)(83380400001)(66946007)(316002)(4326008)(55016002)(2906002)(122000001)(5660300002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: XrSLE7N7jMP/AtsE5yd0GlCbIJ6oIcIy4y3KGbLeUWQQof+P8aPTE7xlb+3bsBIC1H+p1k0TSsJwF5XBxK3S690YvDr6UwwRDaFmdYmkwQqI22X5GZaS/NoyD9oCB2x17ggJLFag13vewdelyV2eMpiWXwQbUgEeAJP9FpDQpNQpmcy4aLmBIrUsy1HBJRRP4itqZbt8dkHyu+8hzFb1wiEXKoIcOxOOWlTG+oAq+woC+yzBawmRfPbupKjgswgCNqWV7Y0z4NV5KjLtCmGqEeA7XIYcZqhNjh6qKaaDEiM93WZLXXMAfuiyyEhKpQTOyNeFZT1CySCEiOPMipnndj1GgGhikPhyN0NEdig3YZZrbqefdf//YhtwB7c9Mk9UZR2ljFPkBoPD0nCjDbCMYCtyBwUomAOciGZxEllT76msWumzU5dh7gxFIB4GWDmCHhWWfumYMn3d2KcpFnvXrGYK5XxTNTP/REuarFRHhtSRvjOFuoDviGdR6Vyggj4nmQuBm8+lwAwNyo/gupz5Y0CXVslfiYDmx1G4Yu+OILBsdIn5ollyDs4eKuTy35SHPr4VAWE1BxPNNQIejfgqyLMjzRDGn6eyxhNR76IcWwhUad61mOpnZ8mcH1Cjyw6G2/Cb1kPmO0KUFg08P2bAG7BDPWbah8I3PLvdwAl3SyeB3b/oDpj5nRlRDvI2P2VVstW21PDX5Tyw2XE0AMXgJdJaKjxaXFGfvJSuqWO126V6ZEQ4xQlOUYjEatSW gSls85fO+lzlToHLDQB3qH31zUmAImSVBnqmfIOxTtEkWllqC/EzGuMSTplg1nxvW0Dq6VKK8/G0mj43ppXLs69l+b3ZdGCEsT x-ms-exchange-transport-forked: True X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA2PR10MB4474.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 33600618-81f8-4576-30da-08d905115425 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Apr 2021 22:03:43.2628 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: JX6x4YUROFum3ITIvXPIILgYTVb2bGmnC8tEqC6yXwB81XGq8S2UKy9HhwcL/4KROqJx0xaZr8qhYA4zGMhJRA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4444 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9961 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 spamscore=0 phishscore=0 mlxlogscore=894 malwarescore=0 bulkscore=0 mlxscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104060000 definitions=main-2104210144 X-Proofpoint-GUID: Lqp9SxAHodPe09ulEUhNP9irrGDuV797 X-Proofpoint-ORIG-GUID: Lqp9SxAHodPe09ulEUhNP9irrGDuV797 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:204664 Archived-At: > I proposed the mode-line as an alternative for those who don't like the > current GNU/Linux flash, because it's one of the very few elements > which are displayed in almost 100% of the cases. We could flash the echo= area > instead, but I think it's a bit more delicate to implement and it could > get in the way of reading the actual error message. As mentioned, I use `echo-bell.el'. It flashes a message at the far right of the echo area. By default the message is " =1B$B"v"v"v"v"v"v"v"v"v=1B(B", it's shown for 0.2 sec, and the echo-area background is highlighted with "Aquamarine" for that time period. That flash is as perceptible or imperceptible as a user wants it to be. Far from hiding error messages, it makes them more visible (IMO), by briefly drawing attention to the echo area. This is very simple. Just uses `ring-bell-function'. Remove the highlighting, and that right-edge message might not even be very noticeable. But it's there, and you can find it in `*Messages*', which is more than can be said for mode-line fiddles -- IMO, presence in `*Messages*' is a feature. And for those modernistas who remove the mode-line everywhere... It sounds to me like the proposals discussed so far complicate things for users, rather than simplifying them. But maybe it's just the discussion that's overly complicated, not the actual proposals? Is there really something that needs "fixing" here?