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.devel Subject: RE: [External] : Re: Concern about new binding. Date: Fri, 5 Feb 2021 20:54:03 +0000 Message-ID: References: <87zh0mmr54.fsf@gmail.com> <87y2g5smya.fsf@gmail.com> <4FF55FBF-573D-4A70-B3FC-682CA25B7ECB@gnu.org> <83lfc53whk.fsf@gnu.org> <20210203180142.seu6o3i6u7jhkyrh@Ergus> <83eehx3to5.fsf@gnu.org> <20210203221628.xgvvxjvh56gyswba@Ergus> <20210204070033.pm4ido4hq7a6twif@Ergus> <83sg6brhyg.fsf@gnu.org> <5588fb25805d486be704@heytings.org> <5588fb2580d7e46863dd@heytings.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="28758"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "emacs-devel@gnu.org" To: Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 05 21:55:38 2021 Return-path: Envelope-to: ged-emacs-devel@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 1l888f-0007Mk-Fr for ged-emacs-devel@m.gmane-mx.org; Fri, 05 Feb 2021 21:55:37 +0100 Original-Received: from localhost ([::1]:57436 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l888e-0006tO-IZ for ged-emacs-devel@m.gmane-mx.org; Fri, 05 Feb 2021 15:55:36 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37088) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l887J-0006S0-D6 for emacs-devel@gnu.org; Fri, 05 Feb 2021 15:54:13 -0500 Original-Received: from userp2120.oracle.com ([156.151.31.85]:53184) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l887G-0004wc-IC for emacs-devel@gnu.org; Fri, 05 Feb 2021 15:54:12 -0500 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 115KnNvH155251; Fri, 5 Feb 2021 20:54:05 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=ZHt44tStnVPFEPw2OsoZSIZzv1h1Jsmkd/NWsHYxml4=; b=sbn/x1b6QFaZvl91aA5CLMi8jXIVFEn86djf2SE8lfLUDXa5ORUxO8KqoFnavFafEbe7 7DeY1+WFoDOFZj1n6ngFVEypfgDoTmlHpO0EuxSgvU70e652Lq2rm9QrZT6PbHf3H7mh bVSwqq3Ztv1n264qN9QJ+KTCc42WbEX52T2gnPzyqDFxDN8M9WbgmOqqWKhbhApBRZ1U UcUdP6/AZxtZ57WbSE6rC1r+ufO7/y9bdDdzP1MQAFkH72DIzgDF01hEdrk9xKwlkNxY 7c8j6ACA59t8CJw/yjfWGhbVe81tLN4jZmmpZTZM4vu68itv9T9LIZDFUSFlGGTqFc98 Jw== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2120.oracle.com with ESMTP id 36gfw8u6xy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 05 Feb 2021 20:54:05 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 115KoPbJ077668; Fri, 5 Feb 2021 20:54:05 GMT Original-Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2172.outbound.protection.outlook.com [104.47.56.172]) by userp3020.oracle.com with ESMTP id 36dh7xaj8t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 05 Feb 2021 20:54:05 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HTsG6553LFC9sv5WvKo18LuN8jtY6um8UTNANqVvRD0/+SR75HlA8khDtyTKmNVXUBbcLkw4qUjuE1t3Yn5P46P2Vexcx+IvNfjTd1jqontDUVXIiAV31hjmfF6+zj66R/FusVvyKsLiK4pNPj7IYmd+/i2/i9j/EFQtXtRfvlpflEf7CIqGnKBjLin5IgXEj48BLzi1qrtKazSovNWyWFGNE3D7COnRoWygMyswjGDULwIuk/HMV/zV8Ub93stE9r8s34TCktRoU/B7RAOpLaE1caRX3lobjpVoRj7jSM0ExdPh4Q1f5lH/WbwCfcT090qpUojyhB8An+++AYtAtA== 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=ZHt44tStnVPFEPw2OsoZSIZzv1h1Jsmkd/NWsHYxml4=; b=ZYICcBlCCKLLIbpPFsWETRR6btmlddtbF6Uf4WUiVi1FexTFjYUjKOljY5rEtXVs17H3mt9MxUkwK26iJqLA6Hyrk6biZy4VSZRfr7kFasvEWntJt8EZh9qp0H31J+w9M+z4oUxKHsND0G7NUMzdXgdkWRkb6kgl6OV7zypgh/Mijg/8ZYoivZ9gqOBAM9eHDJoYEH10Y/SkItS9jDW5vMY7Mx/11bo2EQEkk48XP8LqcnK/IsEouvEsgjdu4j/kKpKMDLgsH+XOdWvDIFTQgjnSkHAoVlRc5LA5Gm5Po2V5Qm3sg0A+9IqSJx2NXt+n/zj+/3LoIW0AOzdknpYeOw== 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=ZHt44tStnVPFEPw2OsoZSIZzv1h1Jsmkd/NWsHYxml4=; b=brauravgnxv4SLUoVooTuFVvsOXZK+Z4NC0MFXBkoZnlJJN1tDJLBkOfxeQJqlvP64+QG206lDhNgBGsn8F1luztLIsBymX45Ag0AkbxauTksnna81B/mxTK4WbBd9QouRpc+SWPwuQJU1Co26ZJW0fRdHnrMwNlZ/THYq92J1Y= Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com (2603:10b6:806:11b::15) by SA2PR10MB4411.namprd10.prod.outlook.com (2603:10b6:806:116::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3825.20; Fri, 5 Feb 2021 20:54:03 +0000 Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::dc4d:9cd0:2010:daa2]) by SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::dc4d:9cd0:2010:daa2%7]) with mapi id 15.20.3825.024; Fri, 5 Feb 2021 20:54:03 +0000 Thread-Topic: [External] : Re: Concern about new binding. Thread-Index: AQHW+/0v1Ezj3p7f7ECj+VcinLB+g6pKBFCQ In-Reply-To: <5588fb2580d7e46863dd@heytings.org> Accept-Language: en-US Content-Language: en-US authentication-results: heytings.org; dkim=none (message not signed) header.d=none;heytings.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: 4f487829-612c-43b6-23dc-08d8ca182be8 x-ms-traffictypediagnostic: SA2PR10MB4411: 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: 7NMkO9ndS2Mj3jx0Uxck9JaPiUxbLdU0ugZBBKVoFyoeNHj1HZyVEGq6nvpzY3cgSH97Dr+WRShJ0gGSN4SOJyqyRtk7ycpaHVFvbfhX6nQbO4r/OWl5xL1XrWSpk9f9/jGETCn4hLAfm0q4d30UXNUUAPB9JzXpwMR0zTCs7LSdoZKef5pzvjDvZal04Em97SkTMnpgDvABvc0xIjcENCB/kQv5c/Se0l0Q4wEO9iUVmdJ0AAxb431WNH9zTDB4sWRiSeEgQEQAJw7EuAnyAFtyV4KlAODM8+0oAilYPAoKeNH+5CobvgyAkCVi0pAkKKQ7cLj6sfs5ouRbEtHAj/9IrVTUdzb9RXDGx6r3nH5CLfa5whRqEsbRpBqEr6C7PCaPOqnC470cHTNBwhRQ8mmhzszKZsR98uboi47Yv0b9Hi3TBY9ohboTbo+C08wJ1yhR3Jps2B+zCPH7UQooyZvpO79XtqlSmzm0oVCuVOncXLb3zuSmC8hjBm6K0NhJywMtl2hFAdlXvmkYxDvbd5Z89NqyG2/UdC5RQvUSvj1uCHYeo076wyX/eGN6uJYgmgxEPAQkYyxj+OLO5V91eQ== 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:(366004)(376002)(39860400002)(346002)(136003)(396003)(186003)(26005)(66556008)(5660300002)(8676002)(6916009)(8936002)(52536014)(55016002)(64756008)(44832011)(66946007)(71200400001)(4326008)(83380400001)(66476007)(33656002)(7696005)(6506007)(76116006)(66446008)(2906002)(86362001)(478600001)(316002)(9686003)(266184004); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?TEDJ9yisB0vh2PGYJ5Ov8QoTi/0XCTcKURZoF8r6J4CvrpiBVSDXeQ4eqXm5?= =?us-ascii?Q?uT+gYB6cQmA+xRXyOfIp5qsrc5oKnoySokeXFiLA72HOHP/oaejfrUymvVob?= =?us-ascii?Q?01GDh9z6PQUZEFz62JW4GZ5wifwxO/xf3ofCQttlekdNZqS/O1YDWJ2rficP?= =?us-ascii?Q?bv4ctrfFtcWO5TEcE6fePdN5vlc+7w2k5EY1pRdXJ3J++hl8OF7dJy0RxiLr?= =?us-ascii?Q?rMoRpG9QbImuitxQ8kZWjQaj4DqmDsnGajfcH89oYeoabOmETDWvYHDw+iTq?= =?us-ascii?Q?gGcuKBwuBSyj7c47rvNNqiM+tidH+wEqh0bEexFFHyLcIKJBZkGYTH5ajFRK?= =?us-ascii?Q?5eoG7I1LKYdGg3vXVOovz0S6aAfJc2QJw4MmnYq8lxr0FSdpOSEsTq/VqZAA?= =?us-ascii?Q?90O0kmasPDrAlgQPR325BhNGf541kGh4ba+n98HBCoD3FvDvSpIO2pa1tK9L?= =?us-ascii?Q?e8WdsPHAaMS1raI6mjRjXMZJx+ltanaGcjTGHtedYlptIFW5FxrW6S7WKEzc?= =?us-ascii?Q?/F262vrPjrpzvxeg1fdA7xx+E3sGNXaIs/pMIWilLXX8tHvxtllO1Bwf+8zV?= =?us-ascii?Q?bD3V1eB0vmHKxsAj7tASvsVw+f18CQmYUajBr12KfqlnzLMKBwY46eEne9Ut?= =?us-ascii?Q?/U7e 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: 4f487829-612c-43b6-23dc-08d8ca182be8 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Feb 2021 20:54:03.6639 (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: jMluhm5qiC5b9YujTRSt8Ja/Ru+YT2VJQKlVkq5f0GcaSpH/8jKC4+bCAAxTpJ1Dmz8WdqTGXEuvUESLzaNlwA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4411 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9886 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxscore=0 suspectscore=0 spamscore=0 mlxlogscore=999 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102050130 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9886 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 spamscore=0 bulkscore=0 impostorscore=0 clxscore=1015 mlxscore=0 mlxlogscore=999 malwarescore=0 suspectscore=0 lowpriorityscore=0 priorityscore=1501 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102050130 Received-SPF: pass client-ip=156.151.31.85; envelope-from=drew.adams@oracle.com; helo=userp2120.oracle.com X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:264011 Archived-At: > I'm puzzled. The proposal frees one complete keymap for libraries such > as Magit and yours. With say C-o, Magit could use C-o g and C-o M-g, you > could use C-o p and C-o / and ..., and so forth, with the guarantee > that Emacs would never reclaim any key in that map. That's a lot of room= ... >=20 > > I favor allowing all keys that are currently allowed for 3rd-party > > code. And I favor Emacs itself implementing a moratorium on > > binding any more keys by default. >=20 > ... but apparently you prefer to continue to use the few remaining keys > that are not bound by default? Isn't that contradictory? How so? The few remaining keys are more than a single key. > > To me, that's too limiting for 3rd-party libraries. I'd prefer what I > > say above. Emacs itself should keep its hands off new keys. >=20 > That's clearly an unreasonable demand. When new commands are added to > Emacs, I see no reason to not bind them to some key. I see no reason _to_ bind a command just because it's new. And I was clear that there could be exceptions to the (proposed) rule. The point is that (1) there are few keys left, and (2) if Emacs itself binds one of them, that's more limiting, in effect, than if some 3rd-party library binds one of them. To me, there's a problem: scarcity of available keys. I proposed something that could help with that problem. That's all. Other suggestions for that? > I also see no reason to not bind commands that were > for one reason or another not bound when they were > included in Emacs,=20 As Eli is wont to say (correctly), we don't do things in Emacs just because there's no known good reason not to. We make changes when there are good reasons _to_ do so. It's not just about `revert-buffer' not having been bound when it was included in Emacs (Day One, probably). It's that for all of Emacs's 35+ years it hasn't been bound. And I'm not aware of any requests (new or old) for that. (And none have been presented so far in this discussion.) The importance of that command, and its relatively frequent and common use, together with the fact that it has never had a default global key binding, and that no one has even asked for such a binding, all argue against a need for it to have such a binding. > and are nowadays considered important enough to be > bound to a key. That's in question, isn't it? And it's not about whether it's important for `revert-buffer' to be bound to a key. _I_ bind it to a global key, myself, as one user. It's about whether it's important enough to be bound globally by default. And I haven't seen here anything that's argued that there's some particular "nowadays" need that wasn't a need before. No need expressed before, and no new need expressed now. And besides users binding `revert-buffer' (because they find that useful), `revert-buffer' _is_ bound by Emacs by default - in multiple modes, and often to a mode-specific behavior (via variable `revert-buffer-function'). The discussion of binding `revert-buffer' is only about binding it globally by default. That's what's new, that's what's just been done. And there's been no "nowadays" need presented for that, AFAIK.