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#14084: 24.3.50; `substitute-command-keys': allow for expansion of ... Date: Tue, 10 May 2022 16:03:16 +0000 Message-ID: References: <87y1z9h6nh.fsf@gnus.org> <87a6bpfkub.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="12411"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "14084@debbugs.gnu.org" <14084@debbugs.gnu.org> To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 10 18:07:37 2022 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 1noSOe-0002zN-2Q for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 May 2022 18:07:36 +0200 Original-Received: from localhost ([::1]:54522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1noSOb-0003Ye-Px for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 May 2022 12:07:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1noSLC-0000Y3-Ht for bug-gnu-emacs@gnu.org; Tue, 10 May 2022 12:04:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41066) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1noSLC-0004Ue-1h for bug-gnu-emacs@gnu.org; Tue, 10 May 2022 12:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1noSLB-0000tB-U3 for bug-gnu-emacs@gnu.org; Tue, 10 May 2022 12:04:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 May 2022 16:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14084 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 14084-submit@debbugs.gnu.org id=B14084.16521986063371 (code B ref 14084); Tue, 10 May 2022 16:04:01 +0000 Original-Received: (at 14084) by debbugs.gnu.org; 10 May 2022 16:03:26 +0000 Original-Received: from localhost ([127.0.0.1]:34963 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noSKc-0000sJ-Hs for submit@debbugs.gnu.org; Tue, 10 May 2022 12:03:26 -0400 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:11290) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1noSKY-0000s2-Cg for 14084@debbugs.gnu.org; Tue, 10 May 2022 12:03:24 -0400 Original-Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 24AF3xpH019308; Tue, 10 May 2022 16:03:20 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-2021-07-09; bh=xAZkFhhsI6LZjitZqFv+vZIBhiRcEB0bpBXYNoFyGYk=; b=GdlGfpDf05khWV2u54uZ5yLTnTqHMu9hVldJNXcg25nTAB4mgoIY3cKh5IXIecyoYRM5 KwD0THW6rey4WLwwAX5VB14cCmiDc9wOQHvXdKgh5bJN98Ufuw04wsTIuigsMKskIute FIF6KggoV0d8JuPFXyeXGOKrdKi5ubNVoBo+/XN3elVUtioovJYpRcjucVKwUNnMm4qt lJA+R3qFe/bgRAWb6uTBO9WVkGq3U9GkbveW25g8StZ4hm9uhWHYAweAgS28lhXn7hoD rImVziT6rPysiPKbsUU7uywL30j5cS+91JrKjTSCn52sHKHNPREQx6ighgy9loKp3+lZ QA== Original-Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3fwgn9pxhy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 10 May 2022 16:03:20 +0000 Original-Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.16.1.2/8.16.1.2) with SMTP id 24AG1d3B040000; Tue, 10 May 2022 16:03:19 GMT Original-Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2103.outbound.protection.outlook.com [104.47.55.103]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com with ESMTP id 3fwf737b9n-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 10 May 2022 16:03:19 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cZTcq3OzHF+ey3doQOJcoMUrJ9EHbEJAOAagR47aIyOXFfg4WiBx97QzKGI+7tZc3ugyrY9C6YW6t1VeYncDk7s5SaOpyIMOva3Ilu0F35qW4+G2trrhFmeV/25SPEZe+Rgs1KF85qwxEwbe7Taa4Wx2DSUErAQdP7wpoeYm+AGDmOLrpGNjktzpmxYAAhHbe5htYQfgg/xXTWUgASDMuvc9+bdIKZT+WY1uIfP0UCQR3OZ0FyKu+W0aU3akyWjg40jLh+NRABKmYu64X3Jmu5FROplU03nmu/+ayBuIi3cNkGeHxdVsVYgk/W3SnG2FhFPBGfI3ygtTz7d3RNxqeA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=xAZkFhhsI6LZjitZqFv+vZIBhiRcEB0bpBXYNoFyGYk=; b=mhMPtETZC2i3V4PdB2/IkgV83DeWJ9Skj5bp+tIbKjDNFgphGeVxFyaEn4mQsDzrs4mZ+E9NsMk+i7uZt92CJ9MRneiwwJKBsGbpyt0WizkPvIm/P9XRO12iaAkMwPfa6id0JKD+JoGJBi4quf3EuaYyD/XhHSRo06XUdkwPII9/o7biWKdc2BaioMquZ6nO2oRgeZ9J5BbSobESMYiBHOxX8yvhFm2+2A87tsCCkWFW8cKl7ZSVJ5+9hee0JwsD/lTX8lD4hjtFVEtZIqDi571KuzH2xffKSpKa3vA/EM055THK9a47K2Arqm6Y+YvthwVhkGb88Q8QbaY/799hpg== 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=xAZkFhhsI6LZjitZqFv+vZIBhiRcEB0bpBXYNoFyGYk=; b=pzn6to+GVi3mc/I6X38RS4B7oe9CVRTMzj395SYZACUzqFUg5Wxq+6KMhM+dJ8X/RbTwyKk9TsWV+7+gpmxP5LDsyloelu2YyJJRu8FxqLmDU2vvuNlexJ3Oy2hqCSUROm4sXiBsyeaAD+g3tKsNavQ4JHjuIlZegOrfkQe9KgI= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by SJ0PR10MB4446.namprd10.prod.outlook.com (2603:10b6:a03:2d9::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5227.21; Tue, 10 May 2022 16:03:17 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::a0e7:5f38:ab50:5123]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::a0e7:5f38:ab50:5123%9]) with mapi id 15.20.5227.023; Tue, 10 May 2022 16:03:16 +0000 Thread-Topic: [External] : Re: bug#14084: 24.3.50; `substitute-command-keys': allow for expansion of ... Thread-Index: AQHYZIWxdk0rKFBRAUClQz+M4IHzcK0YQ5YQ In-Reply-To: <87a6bpfkub.fsf@gnus.org> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 262bd487-aae8-4bfb-8557-08da329e984f x-ms-traffictypediagnostic: SJ0PR10MB4446:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: UxvH4G0okXpu1nFGZW0+ZFJ8yuLu+igczkYKkGI6nUlaCdowWWJrSPA2KBwdjfIqO69HfA6a3ozuYrF8W3Bu/htNVRKgvGUfCRJtwxkNdU5AkZAuCfT1Or5ZB1Em473Ly5oR/PE/LH1ZEM9Jq7rdcfYnoHirRVjXtcMTsGIoaYeahdxCzAg2VRxxIWNSThD/sw3mdXqpRA9iyzNOML59Pp8GO92QACmd+/iCTtHrFBoiOQOEVt0ItaizbuMHPc+bHTatmFkzoll5MyxM1iKcfAwFHxXYLwKx1pgcjlStpqVHx9ZP4UUdzx3g8/oM9UYv3GWvAX+qMz475To2ZZ4AKkbVYV1GUbwV//paj9v2z5/MKNGg7sUYghH16rQnVsOpWZD0whdBZUcH53KrOMjrWddqyAn+B+eI1fRynAc2hHoiXScwiTX8WPCn0x2eTjpub4bbybaR2rwIQ/FCj0nNhRFULXke/SSo4PeEAT+xTU2YvYH0BPUIJ4q/pvNvxEefWoEvAZlkA/F6CzFEu+bPrtIKGKOdIKbfmGCOF2A3XhNvAeW35TNJNgb2QEYp7ED2TdBaBFs2npwd2K1B2nKIL5UmRjNWfH9xFEZcVF69jy59MV2zvRJVpQHzBnm4mQZh0K50FeqGg4EQy41f6H3/ucic3zYAlMunV7LARsjzFGdYlOD7J+X3neYSsTSm6xVBxsWgVYeoXALC9LO3hzBxKkCuJT1UrBaqrog9/RdP7uo= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(66446008)(6506007)(64756008)(7696005)(66946007)(76116006)(26005)(9686003)(8676002)(4326008)(86362001)(5660300002)(66556008)(66476007)(8936002)(52536014)(186003)(2906002)(44832011)(83380400001)(33656002)(71200400001)(508600001)(55016003)(316002)(6916009)(38100700002)(38070700005)(122000001)(81973001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: v0+w8x1SjpA8c1jTEY1wAPic0hpva7GCkHYovkAV6AhVwdtwbYtJkMYtYUMs9W9tidZ4N1Aps+bIdpn8Y0Nbke0syqdpe7QHXcS0ydoUS6/ceqSL7We32kcHmF2c3Oj4B0Wevq9zMZUeHjq7kHlI1B6gPNY6gxVogSg0Q2uJCsSE04aSIscMpXmmjck5YAM+2O8ne+3dnYqOOQouhVu9iJkOisJjNE2N/st/zXbei0bG5yhWLR0vK4HA7JVEgiRhLRbzT7CsjuImGCLb/u7CzyYdAe21Duf41NGvrbbAu0+jUAaBIPC6B4YCzjTgzU6CDSZCOxsgcpwY7Pg9dWrX4TVqCizMKEQ2V7UjvMTihOZm66nDG7aRaCzlgvyiAZnGiwQo6F7bi9696he+NVtanLaAEgJWViX6n74e+qvXhxReq6Cj5WzCTWU60esGjPqDEjXre0ml/Av5GW+tMtH+35o2XQEJrYjSknFX1TBkd/T83I/qX3GaRq/9hu+l9sqkOamwbWw8Ac4lRANMqXiplQRM/+poKO43EbjUfy+ZhxEGaJEQLWPUkS/7sn4I4gIYqYiub0ECpk+CRe94P02jGEHCCS8NeQgy/DGNGkk8j6iT1D1kbEGPCi1PeIJ4RrPaKfMnpwncgquZ7dt0jmb3rrDb287sS/r8gqxBEB6igmNxUydo8MdHxT8dR4DnNBYI2NbVRs+s2B6e5+qoSGjtTyKYZpQep0qKHsWzC8dnoeDVoqAZFQDayxIXm9 5PHMW6pGecPxBplypNK0Ij698uLB3FyILfLCgjFcwNoAQvspKrs2DmPqppszi8MxTZOvQn5l8YQaART20uxtMMRYROxCJsacZN X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 262bd487-aae8-4bfb-8557-08da329e984f X-MS-Exchange-CrossTenant-originalarrivaltime: 10 May 2022 16:03:16.7447 (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: thUQJUuXkUFf4WDni5NBq6lpaeIbFiSR9Q3F/kKqNliUiCLNXfj/JQ9U1hRsaPqEHVfQGeyKuNH8SPLgqJndGQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR10MB4446 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.486, 18.0.858 definitions=2022-05-10_04:2022-05-09, 2022-05-10 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 malwarescore=0 suspectscore=0 phishscore=0 spamscore=0 bulkscore=0 mlxscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2205100071 X-Proofpoint-GUID: QinqQG3Lad-kvpX24WASJ5YjYuFtRzdB X-Proofpoint-ORIG-GUID: QinqQG3Lad-kvpX24WASJ5YjYuFtRzdB 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:231851 Archived-At: > > Specific request, from the bug report - just please > > modify `substitute-command' to add another arg that > > provides for the behavior cited: > > > > ___ > > Please add an optional arg to `substitute-command-keys' that > > changes the behavior. Please allow for these 3 possibilities: >=20 > I asked for an explanation of what the circumstances you wanted to see > the different expansions were. Restating the original bug report > doesn't help here, but that's par for the course with your responses, > of course, so that's OK. It doesn't matter for what circumstances someone would want to use the new arg to specify any of the 3 possible behaviors it should provide. It's up to _callers_ to choose which of those behaviors to specify. The new arg should allow a caller to get any of the 3 behaviors - that's the request. The enhancement specifies what's requested. How or where Emacs itself might choose to use one of the behaviors is irrelevant to the request, and thus beyond its scope. If you want to change any callers in Emacs's own code, that's up to you. My concern is for use of the function by users. That's why I made the request. Your apparent confusion about the idea of users using Elisp functions is perhaps par for the course. But yes, Elisp, and Emacs generally, is for _users_.