GNU bug report logs - #61440
27.2; Be able to have `view-lossage' report only on the current buffer

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: Drew Adams <drew.adams@HIDDEN>; dated Sat, 11 Feb 2023 22:00:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Severity set to 'wishlist' from 'normal' Request was from Stefan Kangas <stefankangas@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 61440 <at> debbugs.gnu.org:


Received: (at 61440) by debbugs.gnu.org; 12 Feb 2023 15:44:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 12 10:44:06 2023
Received: from localhost ([127.0.0.1]:46482 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pREWL-0008DH-RU
	for submit <at> debbugs.gnu.org; Sun, 12 Feb 2023 10:44:06 -0500
Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:3890)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1pREWI-0008Ci-1F
 for 61440 <at> debbugs.gnu.org; Sun, 12 Feb 2023 10:44:04 -0500
Received: from pps.filterd (m0333521.ppops.net [127.0.0.1])
 by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id
 31C4isEP027368; Sun, 12 Feb 2023 15:44:00 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-2022-7-12;
 bh=O6ew5xZmFZ1JGjrdfElNcoTQiFG6bcv0gEFoHbUfMIQ=;
 b=VGESxmZVgdh7fnDODJJy+j8IBImdJCiRIiii4BNUmYy2Aiq/KI4QzH7GD4mbMAFGdKCQ
 W9dajWOcvrsM2OS9N4AxOGoQj+rsvtKVGF6xfu3BT62uQrGC6JXIEs4CojTUeQVINiii
 nzQlsH+LocosarfLrPxhR1c7MSUz+xhpNndJwvIJu7VBEbabn4dnOG2q09ixsU9WYOcg
 n+/cwupIb8ie08JJ9z/zLEmyMtJtskMsXzTQC9ZznLk8Mz6zbgYU3FV0p8+kp7lRuwOt
 6KAoj18akDvR5+ACuzVrqfIsVh6beAcCnNbRnDE4kOXuUf/chCy1bxYgF+tftq+n0lOx SA== 
Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com
 (iadpaimrmta02.appoci.oracle.com [147.154.18.20])
 by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np1xb1fe9-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Sun, 12 Feb 2023 15:44:00 +0000
Received: from pps.filterd
 (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1])
 by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5)
 with ESMTP id 31CB71ts018112; Sun, 12 Feb 2023 15:43:59 GMT
Received: from nam12-mw2-obe.outbound.protection.outlook.com
 (mail-mw2nam12lp2043.outbound.protection.outlook.com [104.47.66.43])
 by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id
 3np1f3q4ag-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);
 Sun, 12 Feb 2023 15:43:58 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=D5+jY5cwX0ksmzh3BweXYAcwwcbezLUQ456QzO2YHGTiSEW14CO7MHukqyDzALKHyOHgh5pcUEyTlWzKn+RWhgd3WNpQjckIXd8h/0Aaz7RP9I4cm+OgaZjQD3n4GJn9VithcYFPIXWfnz860CdRK7/XVxaxq0+56IL1baDa9FICGLOVc4plevVgU4F91NvXUV+Blx11O603233YSfABPTBd6NJgnSliRmy2TcpxpDa6FVrHcTkrlrZP8e69A8C0Dh0WACiXeMuZaM0ob0mU1HP2DIr1afTeIIg8vmJ3IsIEhsPHbOaXx0kSscUzfbIeSSt8vBOtsR4TWiuXhoLoNA==
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=O6ew5xZmFZ1JGjrdfElNcoTQiFG6bcv0gEFoHbUfMIQ=;
 b=Mmk+0fuzweMjgeMAiWs2pikViIt8myse9f4k59ZocCPMUwDwt7zrteN1xVvYawC56Eo2v73DcfDtUwdEo/0Vkya52/MbeQIIcwh3x827QKc+qKR3ij+z3AXckxTp/DFmJXwturki+QRvbdcBYozz3kNqQAAAPxKFfbp6J4wlctYJIz0Yj3gHLwhKezQZxmFpURK59q2iCB5vU3IdhqCiLbn8XdDPeKiUgjSpi3yQIOFCjMlcxX3EAnv2S38cp+7bdMcb8p/UfgQyh4h5C2IKZfcuzes3gniwxbnf8MgS24rZdzUbXlBLvFiB4G/PbMnPZ3PFn4plNcAZoiRJ8xH5Nw==
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=O6ew5xZmFZ1JGjrdfElNcoTQiFG6bcv0gEFoHbUfMIQ=;
 b=SMHamidq159ky3mRCJrnq2u0mLuy/mj3wqovkX1v+Xq9v9JOVHJ7YPXNE/YIacCE0rQOwSIrzsBmc+bu+Gvo0n5C+WRyTKiStxh2poYEssXU4gtsQRCS2Fa1obdj+P4X4yI4dORJMmKh46nWmJHTUB7pnoIE41EXFAwnWMcAo7c=
Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19)
 by PH8PR10MB6646.namprd10.prod.outlook.com (2603:10b6:510:222::19)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.8; Sun, 12 Feb
 2023 15:43:56 +0000
Received: from SJ0PR10MB5488.namprd10.prod.outlook.com
 ([fe80::d353:3fb:94e4:18b9]) by SJ0PR10MB5488.namprd10.prod.outlook.com
 ([fe80::d353:3fb:94e4:18b9%7]) with mapi id 15.20.6111.009; Sun, 12 Feb 2023
 15:43:56 +0000
From: Drew Adams <drew.adams@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: RE: [External] : Re: bug#61440: 27.2; Be able to have `view-lossage'
 report only on the current buffer
Thread-Topic: [External] : Re: bug#61440: 27.2; Be able to have `view-lossage'
 report only on the current buffer
Thread-Index: Adk+ZAAos/RYgRAsRdyiEItN6MnDwQARLVwgABLrW9A=
Date: Sun, 12 Feb 2023 15:43:55 +0000
Message-ID: <SJ0PR10MB54884599678A31AD1CC1A67FF3DC9@HIDDEN>
References: <SJ0PR10MB5488773EBC91DC8A4ADE166EF3DF9@HIDDEN>
 <83h6vrifdq.fsf@HIDDEN>
In-Reply-To: <83h6vrifdq.fsf@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: SJ0PR10MB5488:EE_|PH8PR10MB6646:EE_
x-ms-office365-filtering-correlation-id: fe8ad11d-1401-4ee6-bb88-08db0d0ff34d
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: lKtCZKzfu5JL5NWIh1ByoPmq71J/c8h3SEqPUjZA2vPMP5vFQMy/Lt/ukc0eyISTIHsfdIjtSrRJfaklFmPX7dLoHV5VJONKwx2RJXdQsF5PEYznddYYFokmX6y+mtKILKe+0E6/nqtFjjTWCm9BxBHkcX+AkXojAPTRvFQts28//TjWOS0Vw3qtm9r9udXacThyzM4LV5qn/e/XZtyy/qN+1dV0+eq/G+V9YKmGWHxv3c/WAIeu80A+DpuFq74REvKUq/4OAXAgQDym+CU0jhwxTToh6W8gzPFH27BJh52m+bz2PlPNTkWMtpL6YZ3I7ZjGZnKRCEBcFzi3/mfyIn6ZFUsdXOmFaoE08HnbtGSu3boKLh0vSbbjrh/ZTjisk57HF1IdgiiPzQBZ4c94GVLN/j5jYZU/Jg8HiJ3bccKB8veV8+h5+Ing24IkpemmNsBsXdJ5/SuBtUkb6rI/2LS9cL5Y5dz1QDE5MFfWfiGq+cmJuEp55wvRXZKyqOpdQAN9PJBiiK4S4F5zQtlTMZ1HWCqvRQXVbuHpiItWx5GplXGDGrJHj57ytrLROvxr+VGo8tl2y7l8X/r20hwbSLb9JEOrlbN5Fzz3oEZORccWkEI1OgaTgz/Cfl6NLbFJNvFS6n8qUhgz6kUCTmx0W9hySggug6bnlUSDjtOlTrcYXKiiJ/v/39SLkIP7TCcBx5JRg+LXP60Q0BPS33gbdCwVwb3W/zsAZZic6VdXDTw=
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:(13230025)(136003)(366004)(376002)(396003)(39850400004)(346002)(451199018)(6916009)(8676002)(76116006)(4326008)(83380400001)(66476007)(66556008)(66946007)(64756008)(66446008)(316002)(41300700001)(6506007)(9686003)(186003)(26005)(38070700005)(33656002)(478600001)(44832011)(71200400001)(7696005)(8936002)(55016003)(52536014)(5660300002)(86362001)(38100700002)(122000001)(2906002)(81973001);
 DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?+jCpRGEUCVmBb7OPc69r87KieNF5MuoJhwZ1WebpYSrldYXNrXC0AWKF349f?=
 =?us-ascii?Q?kkkARDqxUgyC5YDyUD8sLqfN3+z6ZLi/7R2uRMgUu9yFX5cBgcftkZwDve8R?=
 =?us-ascii?Q?j4DuMnjC6B64WwqCXHanE3jTK6M4m4rB+XKBsXdo8zoC9D4lLG4en6xTlgEg?=
 =?us-ascii?Q?THdvgEMB/LvrhslRRm9RFrGDS3hS4iL1TIOl1tDxTyl3s07V8C2AwEHzRgRH?=
 =?us-ascii?Q?ajjxIK8gvisV3qpf2SorwSAyWi0+CaBnq+X0nC8gWTYukdkeE7Jlt6kLGW38?=
 =?us-ascii?Q?C0WTV4BODfXD4GBy5BCJ7gGUadE01AM7LrP5nVBOAjQ+b3b0IqLDHAE5HX4M?=
 =?us-ascii?Q?ECIwAO0sXySykDSSjXOWGO4mQWUeEwIn0GqRznBR/5S76TDeaTa2yuhzPgS1?=
 =?us-ascii?Q?WXRTxIDGlvqYwEYUb7TVkczqpZASxdrKOOrrsNt0RkutPafCectnuleAAWPQ?=
 =?us-ascii?Q?h4aKDZmRVulWt3XPvSKXjUZ5xM9eYhT8b4hlVZcgF7AfyWlQ5Qhm3w1CMI1x?=
 =?us-ascii?Q?/+yyYibeRwUFP67ondILk4tdT2QaL2N3ktILKloCWnWUim+HrQ48hztBpgwM?=
 =?us-ascii?Q?cYGBXv0KOrKZ/g7fDz5HjSgYd566/6EpQn2EYuwWH9JPwwJwdVJMu6gt4TiV?=
 =?us-ascii?Q?MgRJh8KDWJcI+eMErPGWw0dfxgAt1Y1fkvwa6E9iZSOScx/ptoPBAqnLbGgI?=
 =?us-ascii?Q?P1WMEQsZD5v0Me+lHF2m4gLxG6lRW6WuzWTi4vfWPIi51+BAXyp2qE9AiXAV?=
 =?us-ascii?Q?DKg/IgF8h/TznswoovSjJ0gwnDBJ4xUYTmdOUetw7iijNbZo2lXpWQBE9FsK?=
 =?us-ascii?Q?vLnd+bD1ZsSp2cXJXNtovj1XGbA7W/LnBe0p4s8vW8ThAVpDTS+dbD2K6AMj?=
 =?us-ascii?Q?pXBxXXP1/+KYBqIgCRZFB21kmi87RRolxqCrK/y321zNDCIpco26U7h5mA9K?=
 =?us-ascii?Q?p05qvl9E/mrq2bfS+5Ze81ExxTssRk+auszWuoepAmIP4D1dD8v9XZ+3LWsH?=
 =?us-ascii?Q?NSySTnrbUxBRVSDyQNDGpxsyT+Use2MYGAFnmM5wJEO/9MeFS4PjHc/4FbIE?=
 =?us-ascii?Q?EWLxxoPjJbs99YO5BlbEv0OSCXJXV4yaRP82Qibt5Cw7oQ1IhHkJ7kkzhhgN?=
 =?us-ascii?Q?bwAz1TTgTvzg1XPk2Hv90owXvymQuXRRSoTClNVVwvx5AKYvr3aZaM2YLLez?=
 =?us-ascii?Q?VUlB6fNX8R/ZwukTLzScbbRS0Q+1BtFvEhxO88+n4Fzg9fRekgmwhJIfPgwY?=
 =?us-ascii?Q?9d4VNAy7/xQN45v45DySd5gg3XoDOVXHmi1pX9ZAgPwzz49vQfRMJ/aGMGs2?=
 =?us-ascii?Q?tgeW3ps35kQKNd8eO+F8KnTowXwvzIste1rWLPY4GwCb1hT1Y96A4HqcVOmm?=
 =?us-ascii?Q?tcFaVQT3Yc6/kzY96sueokWrNKCgV5dkEWi9x080/b8x6huRUMdnGgzCWAlw?=
 =?us-ascii?Q?OO1S7l062BeWc2UBNpfopTQNCWdhq5+BRZSPPZgHeZFqCgcAtFxJocJu3plf?=
 =?us-ascii?Q?hDTTfiIaEeMTpP1nfG3L1o+oBWMhRiz1pLEwWH2DPeUT5+a/I0ho4eTMXpHa?=
 =?us-ascii?Q?E6/WGx4Cqx4toFHUlgg+gOUPRv+AsvEETVR1yoOt?=
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: eb4ZyaTfFKSj0sMdLdtxbO88HZbMvCZ9sA80DhGelqP7EWMxwtVc3M5YQMXrVapTW8NfvlcHeos82NMJgHqiKEaMfJSwGq/1YVhTRB/8bStatgBrzOwoXn/lsqHglcJsTG0lEPjIS+CNeuxzfKZYqQOSQbLQDCfEbQ2WbT+STGU0C24HJROW1XQW5EZM9/QVCK23/Bej85x41CTKTt5xTActwG/ozu8TILKZEwNKzs4GyLaoeWxlq6wn62NvQseyzFFA2L2Xcpl62kTin+ezz2Zi/6kQR34p764zY5xU80aSUJ9D/OfgWsaSFdw1A+pHnuAuDYfRo/t/kDcLT0nOS3uL37eJFluIOVYZWqKOx8PUBKF066O3t6Xhwk928AoYh4VKmXgDwVcIietAQyu92giJjet+5GjHO7OaqSegEdDzGu18hPn34FE40l6SZNTjGiS7D2fK9YDuGDMD9FJhEExCf1pnGbO6GdKOXID4rl7STDhFU6HVHLFMSpP2h3/W879QztAKwEGuTY/q0xBoztiiFaAPduLJkGGUg7s5wUXLEraBXtcqMj6DoKUZikaTdBhFA7e21twCQAPVBycaPUiAyws011pLN8fPgFQCiVMvSndwgfgipZXCPYKbcnCG/0rQD/NCFX5iQdQBkwibvyi8y4JDmtkQQxMw96oGitdNHHk4NHvCJwDA/vGCUAi+wQ77dU7ftEa+vGlO2VH10qNAU+nm9WeHJ5of9UcTQdUvbSlMUbIERANrTKl12MGEdfC8pbuK5VnTGNlAaRIPTql6o5+niF54nLjDbPx6Z9o=
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: fe8ad11d-1401-4ee6-bb88-08db0d0ff34d
X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Feb 2023 15:43:56.0217 (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: SAOxNNwkhempx+FhRbC2Vjdl8OauG7vSmBvF3ecpj655sddkahRyuT1pWK6GTf3TSfny3KLhoIvMinws61V1xQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR10MB6646
X-Proofpoint-Virus-Version: vendor=baseguard
 engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22
 definitions=2023-02-12_05,2023-02-09_03,2023-02-09_01
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999
 mlxscore=0 adultscore=0
 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 suspectscore=0
 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000
 definitions=main-2302120141
X-Proofpoint-ORIG-GUID: nFu4xOJ4W997slhONiS4r1MZIDmezDwg
X-Proofpoint-GUID: nFu4xOJ4W997slhONiS4r1MZIDmezDwg
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 61440
Cc: "61440 <at> debbugs.gnu.org" <61440 <at> debbugs.gnu.org>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> How do you define "commands used in the current buffer"?

Good question!  Clearly I didn't think enough about this
before posting.

>   . are commands in the minibuffer when Emacs prompts considered to be
>     "used in the current buffer"?
>   . are commands invoked from the minibuffer via M-x considered to be
>     "used in the current buffer"?
>   . what about commands that switch to temporary buffers and enter
>     recursive edit there?
>   . what about commands that switch to another buffer in the middle of
>     typing a key sequence?
>   . etc. etc.
>=20
> IOW, I don't understand how this hypothetical feature could work in
> practice, let alone how to document what exactly it produces.  Emacs
> commands are by their very nature "global", unrelated to a buffer.

All true.  Thanks for thinking this through more than I did.

Commands and keys (except keys on text/overlay properties)
are unrelated to any particular buffer.  But some buffer is
current when a command/key is invoked.

How about making the criterion be the commands/keys invoked
when buffer X is current?  (More generally, events occurring
when X is current.)

Only one buffer is current at any time.  The time a command
is called could be used to decide which buffer considers it
a command to be listed for that buffer.

This doesn't imply that the buffer that's current when a
command is invoked remains current throughout the command
execution, or that the effects of the command will even be
in that "invocation" buffer - of course.

But it gives us a way to split up the stream of input events
a bit, in a way that can sometimes be useful.  Commands that
move point within a buffer, for example would be listed for
that buffer.

And of course the usual behavior would be there and be the
default: show all commands/keys, regardless of the buffer
that was current when called.

I'm pretty sure I'd find it useful.  I can imagine checking
one or more such buffer listings, as well as the global one,
when I'm looking for some event or want to know better what
I did.

As for the minibuffer: I think the choices are either (1)
count the minibuffer itself as the current buffer when, uh,
it's current, or (2) consider the buffer that was current
just before the minibuffer (i.e., that particular depth)
was entered as the "current buffer" for purposes of this
feature.

Each of those, #1 and #2 could actually be useful.

Except that, as I worded the request, the proposed
behavior would only give you the lossage for the current
buffer, not for any buffer you request.  And minibuffers
are ephemeral, especially recursive ones, so "getting
into" such a minibuffer again, to be able to request the
lossage help would be problematic.

A version of `view-lossage' (I mean another, new command)
that asks which buffer to show the lossage for would
likely take of that problem.

But #2 (use the buffer current before the minibuffer)
would be fine.  (Dunno whether Emacs has a way to give
you the buffer current before the minibuffer was entered.
I have that for Icicles, but that didn't exist when I
added that.  Maybe it's available in Emacs now?)

Dunno whether this answers both of your questions: what
for? and which buffer?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#61440; Package emacs. Full text available.

Message received at 61440 <at> debbugs.gnu.org:


Received: (at 61440) by debbugs.gnu.org; 12 Feb 2023 06:10:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Feb 12 01:10:27 2023
Received: from localhost ([127.0.0.1]:43868 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pR5ZD-0003jo-II
	for submit <at> debbugs.gnu.org; Sun, 12 Feb 2023 01:10:27 -0500
Received: from eggs.gnu.org ([209.51.188.92]:40512)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1pR5ZB-0003ja-9I
 for 61440 <at> debbugs.gnu.org; Sun, 12 Feb 2023 01:10:25 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1pR5Z5-0004cH-9O; Sun, 12 Feb 2023 01:10:19 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=eJ9ACCLW6G8/wJ8wqN6BU/dBVLVrrFUXslSrYGac3/I=; b=UsznULjpPSmV
 TgQylB2RRGQSzHUXoP1hwK23oyLULaIWMK4vpGL0nhseNiAiJfOlVdu/yENoog+cvdPeQXiEUB29B
 FWY+Zc9sIGCgBii9+MHFPhtS2Uik781e2FsdxKWkeVcwvOYL8WrIBLVqnkqG6a7VYtX9AnStny9iA
 +wG0bc1NfStipjEJey2EEUKWP1mSLVKt0x8a+YcHVCJ0gowVmEyIj2buSOtRJOSbDfGlJJrZillXJ
 RakWRYsy+wad9K1wOusPmDl526KCLqVRkhbcyhGuiYP5nRz/pULPrkgu6fw2LWGZCaikX5YV3J//Z
 Aux7j7pUSRzxzotGIoeAMg==;
Received: from [87.69.77.57] (helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1pR5Yq-0004BU-1a; Sun, 12 Feb 2023 01:10:10 -0500
Date: Sun, 12 Feb 2023 08:09:37 +0200
Message-Id: <83h6vrifdq.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Drew Adams <drew.adams@HIDDEN>
In-Reply-To: <SJ0PR10MB5488773EBC91DC8A4ADE166EF3DF9@HIDDEN>
 (message from Drew Adams on Sat, 11 Feb 2023 21:59:09 +0000)
Subject: Re: bug#61440: 27.2;
 Be able to have `view-lossage' report only on the current buffer
References: <SJ0PR10MB5488773EBC91DC8A4ADE166EF3DF9@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 61440
Cc: 61440 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Drew Adams <drew.adams@HIDDEN>
> Date: Sat, 11 Feb 2023 21:59:09 +0000
> 
> Be able (e.g. with a prefix arg) to have `C-h l' show only the recent
> commands used in the current buffer.  The max number should be the same
> as if listing the commands used in all buffers.  IOW, it shouldn't just be a
> filtering of what `C-h l' without a prefix arg would give you (i.e., limited
> to the max number).
> 
> It would be good to also extend `recent-keys' to accept an additional
> optional arg, to have it return only events in the current buffer.

How do you define "commands used in the current buffer"?

  . are commands in the minibuffer when Emacs prompts considered to be
    "used in the current buffer"?
  . are commands invoked from the minibuffer via M-x considered to be
    "used in the current buffer"?
  . what about commands that switch to temporary buffers and enter
    recursive edit there?
  . what about commands that switch to another buffer in the middle of
    typing a key sequence?
  . etc. etc.

IOW, I don't understand how this hypothetical feature could work in
practice, let alone how to document what exactly it produces.  Emacs
commands are by their very nature "global", unrelated to a buffer.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#61440; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 11 Feb 2023 21:59:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 11 16:59:23 2023
Received: from localhost ([127.0.0.1]:43462 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pQxtz-0005HP-7M
	for submit <at> debbugs.gnu.org; Sat, 11 Feb 2023 16:59:23 -0500
Received: from lists.gnu.org ([209.51.188.17]:53558)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <drew.adams@HIDDEN>) id 1pQxtw-0005HG-Qn
 for submit <at> debbugs.gnu.org; Sat, 11 Feb 2023 16:59:21 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <drew.adams@HIDDEN>)
 id 1pQxtw-00041H-FX
 for bug-gnu-emacs@HIDDEN; Sat, 11 Feb 2023 16:59:20 -0500
Received: from mx0a-00069f02.pphosted.com ([205.220.165.32])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <drew.adams@HIDDEN>)
 id 1pQxtu-0007Ez-C5
 for bug-gnu-emacs@HIDDEN; Sat, 11 Feb 2023 16:59:20 -0500
Received: from pps.filterd (m0246617.ppops.net [127.0.0.1])
 by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id
 31BLuhBt010434
 for <bug-gnu-emacs@HIDDEN>; Sat, 11 Feb 2023 21:59:15 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com;
 h=from : to : subject :
 date : message-id : content-type : content-transfer-encoding :
 mime-version; s=corp-2022-7-12;
 bh=XWl9NxLY7u7+WGtMi6C21eELKh+4EUu9OuRgq5g1aDk=;
 b=RRK2dDr+KbvSKPewtjla0KE9h9kZlEJK9CSHzR890WUCTUvec45kR+/W0CBK6aF6XRPb
 E4SNGw5daTsths24nLd1EFmne93l/cI9n9EGChE2OmATr6bx6JtBOyZGTk3Q9WD+ZTem
 OIkD43R8RzDKLFyJiZN/I15t6m2r3xADZbmbP9QqsjclKeNS/A3PIVlwnktd07wxUpgR
 /Fl98zSNaCo/YXoc9QzfskfbTRsfrBRq7aeXDqX/ibNuLRUF6PiyXeU5OnikeB9xHTma
 HJmAAiwFM5A1huDUpWPAGzOnbSX/K8RCwuJiHVNuOQiAd/rWXad2b7bNIk0q6CQuwxJP +A== 
Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com
 (iadpaimrmta03.appoci.oracle.com [130.35.103.27])
 by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3np3jtrp2j-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)
 for <bug-gnu-emacs@HIDDEN>; Sat, 11 Feb 2023 21:59:15 +0000
Received: from pps.filterd
 (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1])
 by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5)
 with ESMTP id 31BHwThC011187
 for <bug-gnu-emacs@HIDDEN>; Sat, 11 Feb 2023 21:59:11 GMT
Received: from nam11-dm6-obe.outbound.protection.outlook.com
 (mail-dm6nam11lp2172.outbound.protection.outlook.com [104.47.57.172])
 by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id
 3np1f2psqh-1
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)
 for <bug-gnu-emacs@HIDDEN>; Sat, 11 Feb 2023 21:59:11 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=ZQD7a5pMzWbh1D7kRdFHonEvAOUl3EhEyBNal+pS2Ub2HzB7TPNupfmC/JERO3FwyOYwa6OkeNj0249sNKRMoBEfVHvRlOz4X0DPDDoOIS+GyesXpJCkrCs8v0NkyjRbFwHlpzPH6PW3XvduCOo8erGVb+7Ht1FNGtrwDaZvjUpplD/m1zbSGYPeQjUf5jthLzxDwK9fiDoZ2au1BvmjrmGZ1VdLMMWS3UpErVi6GdeELuIEkOZnWWAfF+TJ1UktpHkR72ZIwJpNrYsxE8/H4rgI2u6BLWTGg+zNXLhUtKsjxlehIB2yF8sQ1dLvTzEmv2GWD1q+RVLrqvISuCK/KA==
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=XWl9NxLY7u7+WGtMi6C21eELKh+4EUu9OuRgq5g1aDk=;
 b=cHY4HYsEvCQKRmpHsfZyN4W5CDloiWxsU9k78Ewj9HEQWPZrdB/n2Ch57/fhahuZuv5jxQF1XEcHra1CIFZMZ+T+6Kef4ZCvLdbJKTZi9zKmrguwitWGbwvd81lE3O8zK6FLQZH4dajT6nPhcB/T0FcAFS2z6AU3ZfNBsX7EYbJ5DtgFv5tdHeNLUIs6zxubUMmCsdBFMwf8XduFU31zJ3OdHiF1TGmXimtOZVk2Zvu1zo3lkkMoaH071I72Z4uefg8RxA6NO3uKKNLMW6CQi2QA2w3sTKTbfudZZw9CX1g5QfNAIIP30Yr1HqpjaBNkt/F/eQDznar16tvDRvzT0A==
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=XWl9NxLY7u7+WGtMi6C21eELKh+4EUu9OuRgq5g1aDk=;
 b=TyZVwdCbkMZwdLzo1GbJ60BaKwX8M7BZQdORIV4VBLx0BlAPsMJljWzUiWwmhwxFWJyMXyF1D/Xo8pzpSuzfbya4MzfOtotOfwQbjwm7/zkt3ElvZxcry3ks8wZItpOj1oziTbDpCVsNBEPt4yaqeMXy599vs7JEFgYVqajoeUE=
Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19)
 by CO6PR10MB5395.namprd10.prod.outlook.com (2603:10b6:5:35c::6) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.8; Sat, 11 Feb
 2023 21:59:09 +0000
Received: from SJ0PR10MB5488.namprd10.prod.outlook.com
 ([fe80::d353:3fb:94e4:18b9]) by SJ0PR10MB5488.namprd10.prod.outlook.com
 ([fe80::d353:3fb:94e4:18b9%8]) with mapi id 15.20.6111.008; Sat, 11 Feb 2023
 21:59:09 +0000
From: Drew Adams <drew.adams@HIDDEN>
To: "bug-gnu-emacs@HIDDEN" <bug-gnu-emacs@HIDDEN>
Subject: 27.2; Be able to have `view-lossage' report only on the current buffer
Thread-Topic: 27.2; Be able to have `view-lossage' report only on the current
 buffer
Thread-Index: Adk+ZAAos/RYgRAsRdyiEItN6MnDwQ==
Date: Sat, 11 Feb 2023 21:59:09 +0000
Message-ID: <SJ0PR10MB5488773EBC91DC8A4ADE166EF3DF9@HIDDEN>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: SJ0PR10MB5488:EE_|CO6PR10MB5395:EE_
x-ms-office365-filtering-correlation-id: f4ec0ff6-9db3-4961-77fc-08db0c7b33fc
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: mPLVG6vZnnS+ufvdxTxDWao6/rkC8gMSfpn/ysqXIieYZBLqwXeVT6zDUt1sXv4apD8+MwLOc99PjdMKmDNQBdCpDkqz+VRnEAyAb6mU7WWdmtzVVqUHET25ipsAE0UOqmj47rvEkO/4PiUdOkF9L7GFQJlnK4o8/JSW9Gg4ydyrnMIO1+2skxjHyuNt8NbJKnMBM/z3opCq1a6tQoDfbXygZd/kLXalqcbNdDmRD86KMuRXX31CRh29PZrbmRCIzvNdmOH2LLVP8gmSxuLHsaVHjaNsaICef83B9PJsntV7kTvWY00H8PIfKPUX4Xnohc52BhfH8pcmQZPmg/EiZA39jKmRiW50viojqJyjCVpxltjTc0/qZul6UdyYbKmhW+MPllX0d5erSptlPFVKAVllwgX1wKfR1KqjZ74qETBg1nLI1p/d2zH/NwkSSHx6D3L1MPuCAwWIu70Q/hGlFBTkDYAK0Iuz+mALscwHBGWzp9o4s+bNMlqBk+CDGPp98i2pNG5JzuB9wBcM3oCxJ1FokExUOoZM3gdegHQJj6OSoN5Jf45Ou6L9LUEr83sduni9ZX83BX2lVFVO4zhItPvYqK8ABm3IpWxiyAC8rdHyZ/4mli9+nhyerc41ix9betZYE2Tk4h58gaK394DYN4rMpx2HOcg6Wfcsy5TIPOSarNWI2Ni7iBpUKgTOBOp9K/Z6K2s8G/3c5j9lZw70GZF7S6lQ4e6eKRtAlaEUVt0=
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:(13230025)(366004)(396003)(346002)(39860400002)(136003)(376002)(451199018)(9686003)(6916009)(8936002)(64756008)(66476007)(66446008)(76116006)(8676002)(66556008)(66946007)(186003)(6506007)(26005)(2906002)(71200400001)(38070700005)(86362001)(52536014)(41300700001)(44832011)(5660300002)(33656002)(478600001)(38100700002)(83380400001)(316002)(7696005)(55016003)(122000001)(45080400002)(81973001);
 DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?K0VZns/Ldh0yF4WKjzEmjYV9PWtmKV76Jr0Fqhb2Dnq1SxD7uKjSyO52uT58?=
 =?us-ascii?Q?m3WyAS4mF5hqGIpNf1KymtLNnxoLQxVroII8+7w+Vr/qb0bXzBfN4vWgDbTx?=
 =?us-ascii?Q?dBQ3pcgm3G5h/0msn7Fa349v9amep6CoKvCInzwU7zlGuL50rSuPwLXg2B24?=
 =?us-ascii?Q?jIOPxVJmD/kSPqsDchiugCgvFEeEb318zgJIklY0OQwZU43XiKezVP59tUPu?=
 =?us-ascii?Q?aif94l/aQkfxnRjf8lTE75fskNQYR+ceWn4DlG4duLEuzYjJWpGFkIGIZCoU?=
 =?us-ascii?Q?sgG3rEUIo1uvIYHCk7NDr6D1o04TJWiiZRdk5opOT0RmW3VDwOiLovNf8uW5?=
 =?us-ascii?Q?ACfXhhzFEAH51pIgtTWD1xy/WryN0qLZca685qUobVo/1ajocJ03mlC9C203?=
 =?us-ascii?Q?ZNnVzX9izr7B9cponkaK5cyYMHM2HJVtkmb3phnKVAIsXpRP+cElMAUhzgkr?=
 =?us-ascii?Q?PnrsGaiYMyxuvUng81Hr6P4ZJagyEcdhSX3kj6gBG1n9C0xgo0hPh6QBzylA?=
 =?us-ascii?Q?koc7T3xH2X6+I4YjflXaBzIpAXmkMtYM30l2o6DJw81HVJYFd5wmggO1s2eQ?=
 =?us-ascii?Q?5K6OWPCsHAXcTVLUtakanCPkfmGYuZnlVJu6CMUvaQdTJHlm/+E4tcao+yhC?=
 =?us-ascii?Q?drCudg+WRnnOhZ87vC+R5dClzV2GLsQha79B2Oe37+Jq+m/wGAwVpzGxX3rl?=
 =?us-ascii?Q?SGYMQP+62LGj3tst3zYG+ZCmXWeIMUBxBB9ZO2/2daNy9XOOI7sjLDLWTH6Z?=
 =?us-ascii?Q?oaFHd7Gcs6ap7mNdp+Jd4Mb4XF7I60Dj5yaG+kIYCkewQ48A84BpphET84l0?=
 =?us-ascii?Q?t4KrO75KvS17dYfiknJr4aiRrhx8IsAw2FPjG+DJBZYE+6tsMxMJcnk/UjHv?=
 =?us-ascii?Q?gShW1OA7WcfATzRwBYGwBwDS3wxoekW3Jeq/S15w0ckzPnOGVlPeTVSbycGM?=
 =?us-ascii?Q?0Pb6E83o9ByUK50rORml2MrI2Th3yfeRkK8GT+IYbQ9TDdQ8X8dASVMiYV+d?=
 =?us-ascii?Q?8G90eG8mU/7O4lubJNISqZ3/apPcFy6L7Qg79B3HJVnHXWNhcss3jrTvQQ5m?=
 =?us-ascii?Q?5h2DpB8buoP+HXDKjONLFz6Rmhp1ANsZdrJ/5WHBSyvPQbgAVQ+igP9CYsts?=
 =?us-ascii?Q?5XjJghIXdFvFCLcyjzbcdgKXustK/mcds82gLq1a2cVtgCKNgLVOAtcKMqhO?=
 =?us-ascii?Q?f+KWpdl4oflk7Bd15lcEc3GUNPVlyhsJ+1TtbcdZKN7h2ReTZ0RoEsZd8mJa?=
 =?us-ascii?Q?mh2n0lMsceFszh/Z0+mzL8QFeHGZ8qgMkkhLz505oqwWY2wunvqS2eMnudzE?=
 =?us-ascii?Q?zXL7FwvBAwGNVGyVccGylZ9GlF/d2N1jd5iW3NrRRriNHOWS3Oi6jagZHmg8?=
 =?us-ascii?Q?IxBOSBbCrrfJhPreknODwfFfuREMHdE+IFBvX9Sz6xQL4Yt1EGk3h3b0pwv8?=
 =?us-ascii?Q?Q6CJRU92J3+H2CRjVNTwMx8cbMgUenNmLMUyFTSh7sfRf+cNRHVDNPlHZMnx?=
 =?us-ascii?Q?BuYsid6HWEEa2gPN7MUtTVHUTIK80bGY3vO/s15rTbquXwgp53mkTBILFyox?=
 =?us-ascii?Q?J21cME1axbC2AOi2QVQHxfFUbEKQwXtKcr1v/Z0c?=
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: 1zPVu139UgUIplVDzof89UXQrJ20yDktJCFa4S5jpYEGMRO3J7IJJFI/vBRk7QZJHMAPtZJVknOip8XN113Iwx/Xj95ADN3vxDKfBomJW0g8g3TtIyttoKAZL44zgNWMCtRGErYrEF5AmrOglijEWmDRt41a9rgkdsohReo3TQ1kAnfVCEZS8yimprwixbJe54znW6bKzdcs1SrjNVaaaR6f62MEslLMG1XQ4XwVNWulDabydYhWpr95+sEl0IzlessNH0XlDaM2fXS9NFJ0Q4XIoshI1iGJOcDXIOMzDEZ8Uppwqi1q4PdIU7uiuGbhl+Sqa3zwJ2c/3KdlqQqYbnthXItF9gZyiPRGfNXyGNeb1Sh8cr20g9kr4apEWPRV3NC0r/s8GRpUrwpb45n1w0+r3g8kCKR9jS/e34jRJqsT1L2GXrtfGHLiU2tcXhLG4hmU9sW7AL/wIij2x5LU58x0KFKxnDh09Kh5ZHbvcHjjIB3aCK74+YGTWX1T31rJP2NsLsXi2hyf3Q7QE5c1dd+zseLi0Wrm4zuKH3mlYeCqiy1zAS8APA3O2Od05OdbPQnJMY0anxN61/IUG0y99mtcMQKGGDspI3t1uzT9ZGGCoKo9QY/Ui2rhgEHuIlz0j02ZazmMmImfJpWmEaFrz+3wG59F9tQG5lJZOkkfOEBJHZVNDpFzL9CLnmQOogKBduslJHntUOICeltl1zOdnNxAql7DceunNUj65f8E2Crohsm3+M6U6mDDkSrEaFN8
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: f4ec0ff6-9db3-4961-77fc-08db0c7b33fc
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Feb 2023 21:59:09.5126 (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: 5ot+3nFNQ6GMEScA7gZejYyqMM3OWpFoN4q8rZs8j4vpgK7nhmGZCc77GQiERYecdwLnXgF29pdVKKYNb0NbIQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR10MB5395
X-Proofpoint-Virus-Version: vendor=baseguard
 engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.170.22
 definitions=2023-02-11_14,2023-02-09_03,2023-02-09_01
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0
 phishscore=0
 suspectscore=0 mlxscore=0 spamscore=0 mlxlogscore=999 adultscore=0
 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1
 engine=8.12.0-2212070000 definitions=main-2302110205
X-Proofpoint-ORIG-GUID: A1tyGpnSsLgc1NvmNuzy3YV7FOMbveEJ
X-Proofpoint-GUID: A1tyGpnSsLgc1NvmNuzy3YV7FOMbveEJ
Received-SPF: pass client-ip=205.220.165.32;
 envelope-from=drew.adams@HIDDEN; helo=mx0a-00069f02.pphosted.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Enhancement request.

Be able (e.g. with a prefix arg) to have `C-h l' show only the recent
commands used in the current buffer.  The max number should be the same
as if listing the commands used in all buffers.  IOW, it shouldn't just be =
a
filtering of what `C-h l' without a prefix arg would give you (i.e., limite=
d
to the max number).

It would be good to also extend `recent-keys' to accept an additional
optional arg, to have it return only events in the current buffer.

In GNU Emacs 27.2 (build 1, x86_64-w64-mingw32)
 of 2021-03-26 built on CIRROCUMULUS
Repository revision: deef5efafb70f4b171265b896505b92b6eef24e6
Repository branch: HEAD
Windowing system distributor 'Microsoft Corp.', version 10.0.19044
System Description: Microsoft Windows 10 Pro (v10.0.2009.19044.2486)

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Type C-x 1 to delete the help window.

Configured using:
 'configure --without-dbus --host=3Dx86_64-w64-mingw32
 --without-compress-install 'CFLAGS=3D-O2 -static''

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY W32NOTIFY ACL GNUTLS LIBXML2
HARFBUZZ ZLIB TOOLKIT_SCROLL_BARS MODULES THREADS JSON PDUMPER LCMS2 GMP

Important settings:
  value of $LANG: ENU
  locale-coding-system: cp1252





Acknowledgement sent to Drew Adams <drew.adams@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#61440; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 4 Sep 2023 09:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.