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: Sat, 17 Apr 2021 13:16:25 +0000 Message-ID: References: <009901c9421f$5bd0a6b0$0200a8c0@us.oracle.com> <00ad01c942a0$1f49ca60$0200a8c0@us.oracle.com> <87eef9qg81.fsf@gnus.org> <1869622e162377be79e9@heytings.org> <83bladw0dh.fsf@gnu.org> <87a6pxqdeg.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10907"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Gregory Heytings , "1305@debbugs.gnu.org" <1305@debbugs.gnu.org>, "stefan@marxist.se" , "jasonspiro4@gmail.com" , "monnier@iro.umontreal.ca" To: Lars Ingebrigtsen , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 17 15:17:11 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 1lXkow-0002i6-RA for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Apr 2021 15:17:11 +0200 Original-Received: from localhost ([::1]:42172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lXkov-00049U-UQ for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Apr 2021 09:17:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lXkoo-00049O-IO for bug-gnu-emacs@gnu.org; Sat, 17 Apr 2021 09:17:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59159) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lXkoo-0002XV-BG for bug-gnu-emacs@gnu.org; Sat, 17 Apr 2021 09:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lXkoo-0007yb-7P for bug-gnu-emacs@gnu.org; Sat, 17 Apr 2021 09:17: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: Sat, 17 Apr 2021 13:17: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.161866539230619 (code B ref 1305); Sat, 17 Apr 2021 13:17:02 +0000 Original-Received: (at 1305) by debbugs.gnu.org; 17 Apr 2021 13:16:32 +0000 Original-Received: from localhost ([127.0.0.1]:42472 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXkoJ-0007xn-J3 for submit@debbugs.gnu.org; Sat, 17 Apr 2021 09:16:31 -0400 Original-Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:24940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXkoH-0007xe-Qy for 1305@debbugs.gnu.org; Sat, 17 Apr 2021 09:16:30 -0400 Original-Received: from pps.filterd (m0246631.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 13HDEt7k002494; Sat, 17 Apr 2021 13:16:29 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=tknw/iDQymUtTbzyFcf1X1+Sd9s6SzJt2IpHePzT8w0=; b=WmU0/U0xOnp6NxvluRuHz2FGbl9EWq66fF7R0DQbjzKWWnu0o101sRPkkFMK8FK1bDF6 XW/iox6ZrQvQEy3yIubj2lCFluwx/5/PJ3Cl7kURw+VDEfYk/TFL+/rWNo02LzXi/sp8 /5c1scEZFSAyx3tTq2mc8yRr89PaukU6qyNm3iN16ETKbBhtj7vBIW/dnth1qNd7gUTz 4G+ufgAqqzbmCnIT2vxUv0hXMbnufYwhLW/bg2KWFWji2bJ/Zxci6pIWOi4jqE+2e4Hk Qsayg5o78uh1q8CiTARmiAl4BnC43Yx2uDks8WB6XuFfN/xREnA+3BbIQlIFxz17fJNM /Q== Original-Received: from oracle.com (userp3030.oracle.com [156.151.31.80]) by mx0b-00069f02.pphosted.com with ESMTP id 37ypf203vj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 17 Apr 2021 13:16:29 +0000 Original-Received: from userp3030.oracle.com (userp3030.oracle.com [127.0.0.1]) by pps.podrdrct (8.16.0.36/8.16.0.36) with SMTP id 13HDGSc0025201; Sat, 17 Apr 2021 13:16:28 GMT Original-Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2172.outbound.protection.outlook.com [104.47.57.172]) by userp3030.oracle.com with ESMTP id 37ymst3j0y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 17 Apr 2021 13:16:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NiTH+Fef9JVe/D6hQ6U1fGCRmZaWu+J90WGTPZikPAQPg1rJSUdXEyWR8fbjqyP6P77ujSKiUsEzFvTj8Zqh3yJup+UaEXtHjTuYPMIANd37GFK3MLbhwosgx+jdmSsbYMYBIZjN6b+UMQHYQGJhkaipMJQggTvWEyEXJZFKLfilrgPurxK2k9sAyJlCJLiizlT2jE5D7K4ShZtzRq2/RcRWPaOpBPQDrPFRWPLSPXTtmMD0i5QDxDqZexG4LXo/OuLjEDaRmp9lXaycHtWCRRnJzT+kqKKqQYVS2qgqJyq1cMGQ2OlDfU5t3nTQTXEVqZ9UofYYbTsnsBvxOtQ4ow== 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=tknw/iDQymUtTbzyFcf1X1+Sd9s6SzJt2IpHePzT8w0=; b=RYqFX89BhI86RM7BemHROqPlwSxUU2Cma4E0MVg/N80bKXsT2r2IKG/QQrn7p+Dgp2v3JTcbkvUoLi6PMvxp+ddyW2aEx3lthNvSGhCEPJAIDTYuLGdiH/sRUHPIxs+M8Zx3DH0VvhRwlLMoP/VDDnraMIuGy1i0jbUUzw2Hh/A7RHPX0nED1ClSGqH7GaIkhqyEo//FW6OVB54RiKzSfGgGXW195xO2py5n3HhXzOmMPEwHmllx7rZ9yIi9u4PQSEAtGdi6zsgeSomvkDZRYa7X5MlK/JhLxk5pesKPF5gpYC+k98XFrpb7haK+ygXirGy0UON+ce6To8A/l05cUQ== 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=tknw/iDQymUtTbzyFcf1X1+Sd9s6SzJt2IpHePzT8w0=; b=mNfpDdOYVRzYhc50L6Suko+O9ba9pzScfRXHvDwaL1U1nE8zq76MNoC4Uk8B1KtiK7hYnL4AW9N4hN7cXEzUV/eru10kp2jd7ne28b9ptFA1Y4WhKnMcArnhkhys5tuu2UWphZuSZP/sOQalp51RTHPgIChbtsEJc4GE7HpRWng= Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com (2603:10b6:806:11b::15) by SA2PR10MB4763.namprd10.prod.outlook.com (2603:10b6:806:117::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.19; Sat, 17 Apr 2021 13:16:25 +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.4042.019; Sat, 17 Apr 2021 13:16:25 +0000 Thread-Topic: [External] : bug#1305: All code that currently beeps should use visual bell instead Thread-Index: AQHXM4pxBjEn0B0HCEKLSGtx+BQpS6q4ru/A In-Reply-To: <87a6pxqdeg.fsf@gnus.org> Accept-Language: en-US Content-Language: en-US authentication-results: gnus.org; dkim=none (message not signed) header.d=none;gnus.org; 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: 72e9d023-6134-4bbe-3e61-08d901a300f2 x-ms-traffictypediagnostic: SA2PR10MB4763: 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: t8VX5O/LGBsbIbWuF9G34l4cuzIsubcudvIm9Yq/Rn5vfuqKZV1UxKGrwiJ7HA4zaZoTPxKxAHyhGPD2cpg6tAHQu20q1PDht+2bretc1znGqJFkRsL5rn+Dcad+IxxW4tV0c8Z0zyqLztvT9jdQNeSBdejv3h+xP/BPiLIgizJAMVZqXHlxaPBLnAe6Sz1CMXrYykDWVMehHbRE3Om9/FGWbPngCS/pC3swa2V9TgV2CuP47bXHRLaDFqrV1hBeHQnvoCMhPcNB/PlSQoKCWYg4F2Bdxy7IWIUpb3gUn/vrU2q+QxAS0N5Dw5cYyUw6JHhpo9BvtR4JOKFBElJRuTVeFbeR1tEl1G75k6OLQWv4ezwM3h0von+xCaHrhhl8XPCmAFAmDBV/B5GW7vsDjOaVvbCEeMn/i5ZyBqoZGkvoikiZjaoS7DDZwh2BsA2mX8VWIxVwjGjAG93lCgmiIFTbZKDHJ4U9XQOtWMm+M+wYygdtPo//psOCm3zIVFHId7UrS65qRukj8PJ0wqbi3ejH4S9a39btl9CcZmY11vjlJBgW1EaQ02BPHklevKyax20WOu6jN2v+XBCrvJFujOQ8GJ92PQfwsBWotZ0g8ogPMTvP3XuFzSkUn8PE0Ko9XzXXyWsz2nZbz/xi9kwHSfs5I9XRunsljuouAItlrqWaNv7SUtbtBLYq15Eg+6we 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:(376002)(396003)(136003)(346002)(366004)(39860400002)(122000001)(38100700002)(2906002)(76116006)(66556008)(6506007)(8936002)(66476007)(64756008)(55016002)(9686003)(66446008)(66946007)(4326008)(86362001)(8676002)(5660300002)(110136005)(54906003)(966005)(52536014)(478600001)(26005)(316002)(44832011)(7696005)(33656002)(186003)(71200400001)(83380400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: 9QCAFH+q/qrBAwdOjI7uLHSYpxDkuUCIWJ0KFP72yKRcs+1VEpOMR/Z8koGwhCGfBL3sCTBvAZ+OO9E/ktp5mu1N/sjwEkcRYZiwEBcrH47+2wplP500o0ADCFg5auqnnjCzeDAj1kSXG/kKKoJ7hOvhuyCIZ59jM81Rp4K6YOya+yJzh3qo0DOdri7+JlLHsc3Cr2ZzOC3VCtKTNrgXJrzMFouZJNDuatEhKMNmE0LSu++cUVOKf0FJ9EmpG2nM/8l+yhwicgJ7jNk6FC5puiDLO06iPJyq/egYtkE1n44Gdqg2mM6h6eXHDCd83K2uXRnrCBegZBwsouNARi0AUSkPi//fkLbD0mFaNeHfm/O3LsKATbYeLTLufY+2FrsWuMBNl1a+euFm+UIEofD16pjZhlh5Ew94fPNC3agdUHexRPlPAohweoCiTxE0IYVrLelfVxJETLw569SGV1Muj39JOWPobmo+Kyu1x+6IkU57S8X1IzXjhBt7i8Fcp3wQaYxu4jQ8xnlECxReVEXc1tvf40stha301pNO1SarhOZo6RBxFm5veu9s0LiS9yf1LMBuIGXn/vV24bm/M2ChPh+Kbt/AsV8xbK48QtDDFr0ZTP39QMdgGVwYRa/WjEX8ZcezPXpkwp7QjhdX3WWCYRLnq/pdWPXDbpR9sorqJsDgOqdY6xPcPGfGpZzYQOt84coc00I0ekQcUYltScbCG48rvBix4cghgSy1UOVegqzzA/K+vWLzVOmOI9xU 38nNxcXjk57WK4rqm6ZlCngHn92TR1kbdHmWNpVqNZL+wZ4D+kd2AHUVrfNiwnW2cfFKZPozihvc9x7boIJD8WAxVfR7uaWP0Y 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: 72e9d023-6134-4bbe-3e61-08d901a300f2 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Apr 2021 13:16:25.5862 (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: R0yAIJ3q3VJ2LAAWloi9hxCfdEXeF6wTJUGtYoWHR4AIq7pYX2d9oeJ/LkIvntHZS7NGGueNZbRwgTIFITr04w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4763 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9956 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 suspectscore=0 bulkscore=0 mlxlogscore=999 adultscore=0 mlxscore=0 phishscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104060000 definitions=main-2104170093 X-Proofpoint-GUID: oPRZrUtzPRsOY6ysSKhZuw3kcC2MQTut X-Proofpoint-ORIG-GUID: oPRZrUtzPRsOY6ysSKhZuw3kcC2MQTut 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:204201 Archived-At: > >> IMO, the default behavior on GNU/Linux (inverting video on the first a= nd > >> last line of the frame) is horrible (but perhaps less so than an actua= l > >> bell), >=20 > Hm... when I try this on Debian/bullseye, it inverts the video on the > two first lines in the frame. But I seem to recall it working the way > you describe, so perhaps there's differences between various > toolkits/libraries used by Emacs in this area? >=20 > >> and the default behavior on macOS is too intrusive (but again > >> perhaps less so than an actual bell). > > > > On MS-Windows, we use a system API that flashes the caption bar of the > > selected-frame's window. >=20 > Then it sounds like visible-bell should be visible enough on all the > three major systems we support. >=20 > However, I just noticed that an "emacs -Q" doesn't beep at all on this > machine -- because I've switched off all "alert" beeps in the OS > interface. So `C-g' just says "Quit" in the echo area, and nothing > else. >=20 > So in this instance, defaulting `visible-bell' to "on" would make `C-g' > more intrusive/obnoxious than previously... which is the opposite > effect than what was originally discussed in this bug report. Just as plain `ding' can be annoying for some users, so can this or that kind of visible indication. It would be good if, at least on some systems and preferably on all, some degree of user customization were available. (Yes, I know that `visible-bell' already offers some customization.) One possibility of a customization choice could be a notification in the mode-line - just one example. For one way to do that, see the tiny library `echo-bell.el' (initial code from Miles Bader). It offers a minor mode, and options to define the kind of mode-line indication. https://www.emacswiki.org/emacs/download/echo-bell.el