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: command mode-specificity [was: scratch/command 064f146 1/2: Change...] Date: Wed, 17 Feb 2021 18:28:32 +0000 Message-ID: References: <87tuqbft57.fsf@telefonica.net> <87im6rndo0.fsf@gnus.org> <87v9aqn5eq.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36444"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?iso-8859-1?Q?=D3scar_Fuentes?= , "emacs-devel@gnu.org" To: Stefan Monnier , Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Feb 17 19:29:46 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 1lCRa6-0009Nw-3L for ged-emacs-devel@m.gmane-mx.org; Wed, 17 Feb 2021 19:29:46 +0100 Original-Received: from localhost ([::1]:46204 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCRa4-0007JB-VC for ged-emacs-devel@m.gmane-mx.org; Wed, 17 Feb 2021 13:29:44 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCRZ4-0006sA-L3 for emacs-devel@gnu.org; Wed, 17 Feb 2021 13:28:42 -0500 Original-Received: from aserp2130.oracle.com ([141.146.126.79]:60586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCRZ1-0008L7-Ot for emacs-devel@gnu.org; Wed, 17 Feb 2021 13:28:42 -0500 Original-Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 11HIELYP020069; Wed, 17 Feb 2021 18:28:34 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=mAnSb7ji1FhxCbcuvIpuLwrITou0tYFx9rGLVv+uOJc=; b=rC68atU5KkjKjjVlPXRAIoP2r1C1i6AqOSvmHDt8CVU3l6xVfuaxqpkp2sAB5OTHwggG f2WWvZ/UXfQuM1gi8B20NPlGSmlwYYa/26jaH/ABRDNGkaNrOy0VHMpI7Dm5EKb6RXN3 SOS9HGCOqXCACUFs1VOSQDl5ReIexkarsyUYcHSRTWI9dm3zindEYzVtRa99Qg5jmmCA +oZ+V+7Qfy8D+tugqGZQbBPJ3pUnjkr+YNx90mUv0ynhyCA8cYKWftF1GWKxYPtw61Pn wBcdJSvZS43VdNMEBKE2O9jeyHGxfm1ol0uiDJE1Qd9PFEQIsjymEuwLPdncExdtZCD3 dg== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by aserp2130.oracle.com with ESMTP id 36p49bbk13-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 17 Feb 2021 18:28:34 +0000 Original-Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 11HIADPg164815; Wed, 17 Feb 2021 18:28:34 GMT Original-Received: from nam04-dm6-obe.outbound.protection.outlook.com (mail-dm6nam08lp2042.outbound.protection.outlook.com [104.47.73.42]) by aserp3020.oracle.com with ESMTP id 36prp0j7t4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 17 Feb 2021 18:28:33 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FU+N5zBUKsGBPln5YbY2iZAmaWBi+smOj4bSscS+Qe8scJVJ/40opeB2atRFWy207bcX7FT2pF6sgTDutq1Nf7LjRwJ/peRugmotPhghnooTnPefuMiC3tsdTGfhu1N/kK/gpCRgTa4LkPFJorsjfGW4VokiUaOBORgA16l8wBpIoSv78ZaE0nOqKs7Y07npx9zSHyDOVWRo4KvIzYGJuz4Ydu/Dr47ZL/gnGmXeFsoPAGhCvXhL9Sm85hakEk0jVy3ijO4ecAb7HDteCcCUyZI2ftYdTbDVEwyI8hFpehCeiEl/ALx0HE/1xzGqQMCihOlfljjUb3AhIVDMyJ9PqQ== 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=mAnSb7ji1FhxCbcuvIpuLwrITou0tYFx9rGLVv+uOJc=; b=a84Q4tpqytG9F2EjclWyB03fhd6WzY0Zm8VaWhQrZiNQYyvAaSNR91QkncLsnUvfn2T8eBFvMjQxGknh1T2yvpbSfcFvDAVqDA9NsO6YsignH9OZQ8sB9VXl0ldP6ClpYv5zxV3p3Z6rwJRX/l+VixTIp6FD5zRNXQ0sSHstA6wwj2fprCrdOs3HOwENAOVyINHzdXswPfeNTR3KrRsuow97VKTh394fjSWtCeH0Gsbuj6SGRgx28NPGDm4QpEEm9OB+ptZhO0kTondWh5OvmVOA1pHJXnr4H4FhW//WBeugWqeGT9IIBctSwPfqHHUillZN2rViG95cSgP+CG2qJA== 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=mAnSb7ji1FhxCbcuvIpuLwrITou0tYFx9rGLVv+uOJc=; b=gmo0n/EXOzGe0ka6L31YYleCsLQzXmNCzN1Y8CD57B7ztWks0n+XFCKmy6ay1A9wCG7/gyGtcpRfbv3TPQeDVFrQ5YA2iZMGryXOtD8c8qTxGVE410DsYR/vjBImlWH2AGBu70sLPtuArJQSgIE3NFBQbYy+sDTCZRvMRCG2RYI= Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com (2603:10b6:806:11b::15) by SA2PR10MB4475.namprd10.prod.outlook.com (2603:10b6:806:118::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3846.26; Wed, 17 Feb 2021 18:28:32 +0000 Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::b8d2:db6d:3e4b:d315]) by SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::b8d2:db6d:3e4b:d315%5]) with mapi id 15.20.3846.043; Wed, 17 Feb 2021 18:28:32 +0000 Thread-Topic: [External] : Re: command mode-specificity [was: scratch/command 064f146 1/2: Change...] Thread-Index: AQHXBUB/d/hDEVAZh0qFOPWQUo5xb6pcqONg 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: 6eb65378-6666-4acb-4ace-08d8d371d4b9 x-ms-traffictypediagnostic: SA2PR10MB4475: 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: mTIlqAm8KcpJbrgnjafXw8FqIgCOMVNXgSd4D0wzj+o4fRd9SngerW9+X9nNSzcvTiqq0rwe6V505/DyYdrQb0UiYEdlDO2w9uyB1WVlywYcGu34Z9Vd9zqmvSIRrElvVsjZbwNSIZLyqcZ6yc8IOI83+xotNWyhnHLhb4u6LBrnU3XUZXYkJIMiottVsAr1eUkX+jhR6gn80cjbphCTV1O/ju1Pgz1K1riugFEutOOURQ1OXUOZHCAylR/xLp2xrGO1IY1ic0fd/mLM8wNC8jyPdl3G1oyb2B5IW0rZF7rUJV9ssy7BxDJ+XGhfzoMs2kacSEJTRyqWkYkXhERaRtpgNN5Z08rPcH7stnWMRFbL8km4mwc2HBMGf5EYwKtc6gElIVmVCiRVoPw7b0PAF4cGCpqFIisLKhGE68zqYfavFYxZH9xd8OGpTxn2P/fHiwqAelfe6KtAzqDObCZc1izdv6wHKg0A9UaOtUXx/ucZPfJxVgp20rVgIFgGuDjeCLWvPwEYpZyHRJEQcBSC1g== 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)(346002)(366004)(39860400002)(136003)(186003)(86362001)(54906003)(64756008)(5660300002)(316002)(26005)(8936002)(4744005)(2906002)(76116006)(66446008)(55016002)(44832011)(33656002)(66946007)(7696005)(296002)(478600001)(8676002)(6506007)(71200400001)(110136005)(9686003)(52536014)(4326008)(66476007)(66556008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?iso-8859-1?Q?aUx/W8xAXQrNxeN/JFtwV9MLPnBi+XYDTf1GDWUwB5lIWV1fG0CgNH9u/2?= =?iso-8859-1?Q?gaJsKa2yvh0iIokBfQryJm8VbWgj3Ukt8Z3bTAHH7L3NYI3V50PD4DYxA0?= =?iso-8859-1?Q?LVMT9YIAe9aXnbIuQPFW2FbR3FRTnCvb5webDX0w7Ul/hxHs9OsvjssPsh?= =?iso-8859-1?Q?7JIt++kL7SCiMEwldmyWVloMv3Q2rgDC4jkGD9+1BA4yrFdsqATzlNZYD0?= =?iso-8859-1?Q?nyKOYWnntOkajmWF7R/O1e4gYwy07h/ElKkXXtIklkrKWfwHtd7ooZlcHk?= =?iso-8859-1?Q?LJ3TyYT8DRK4ll+rKyOClnIeL7RPDlT7GZSJaTul8BfiOoXtbXQ1RuvyuU?= =?iso-8859-1?Q?kgtDoeuRwIggVzIqYML6vDte1AeAyFvDaM94vV9z5ADbdbJDAm2tLRDQmF?= =?iso-8859-1?Q?k86i+reWiKV+WpsoEDOd4mWSRs0AXVL7OILO0mVUos+TxjLpQemwW5Hali?= =?iso-8859-1?Q?vwKt+qtTVfMOd/kcyXrmnZY4q8c/BxaA6eHQciL5iiYRacint1Zfx+anaI?= =?iso-8859-1?Q?145cmUn3iXJRxGgDmLnViDXytji7Ybbuaz9tVXINUcXNiZ/QFpXAJFVVng?= =?iso-8859-1?Q?3DDooczWZu8FuagkYF/XCX9IBS9rnrXQUo03xGSge6CrW/aUi3Fph9St8r?= =?iso-8859-1?Q?9H 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: 6eb65378-6666-4acb-4ace-08d8d371d4b9 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Feb 2021 18:28:32.6205 (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: lTZAPJSYC+r3GETWr/Gzxo4RxojPgAAcISR8CbMR1e5dNilOeBEh+lRvKEdS/TjdChu5R36NP45qX9unSPkp6Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR10MB4475 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9898 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 mlxlogscore=999 bulkscore=0 suspectscore=0 spamscore=0 malwarescore=0 mlxscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102170133 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9898 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 priorityscore=1501 lowpriorityscore=0 bulkscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 malwarescore=0 phishscore=0 clxscore=1015 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102170133 Received-SPF: pass client-ip=141.146.126.79; envelope-from=drew.adams@oracle.com; helo=aserp2130.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:265038 Archived-At: > I think it would be good to try and clarify what should be the > criterion, and not in terms of "should be listed in M-x" since that > inherently depends on opinions, but rather in more technical terms that > depend on what the command does. Thank you. That is _exactly_ what I meant when I asked (more than once), what was meant by "commands meant for this specific mode" and "commands bound to modes". (I got no answer.) > Maybe something like "would inevitably signal an error"? +1. That's clear and useful. (Whether or not such a criterion should filter by default is another story. But at least getting this criterion nailed down would be a blessing for the discussion.)