From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#61440: 27.2; Be able to have `view-lossage' report only on the current buffer Date: Sun, 12 Feb 2023 08:09:37 +0200 Message-ID: <83h6vrifdq.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5060"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61440@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 12 07:11:21 2023 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 1pR5a4-0000w9-VD for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Feb 2023 07:11:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pR5Zt-0008Dq-OQ; Sun, 12 Feb 2023 01:11:09 -0500 Original-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 ) id 1pR5Zn-0008DW-4m for bug-gnu-emacs@gnu.org; Sun, 12 Feb 2023 01:11:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pR5Zm-0004td-Sa for bug-gnu-emacs@gnu.org; Sun, 12 Feb 2023 01:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pR5Zm-0003kg-HR for bug-gnu-emacs@gnu.org; Sun, 12 Feb 2023 01:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Feb 2023 06:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61440 X-GNU-PR-Package: emacs Original-Received: via spool by 61440-submit@debbugs.gnu.org id=B61440.167618222714376 (code B ref 61440); Sun, 12 Feb 2023 06:11:02 +0000 Original-Received: (at 61440) by debbugs.gnu.org; 12 Feb 2023 06:10:27 +0000 Original-Received: from localhost ([127.0.0.1]:43868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pR5ZD-0003jo-II for submit@debbugs.gnu.org; Sun, 12 Feb 2023 01:10:27 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pR5ZB-0003ja-9I for 61440@debbugs.gnu.org; Sun, 12 Feb 2023 01:10:25 -0500 Original-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 ) 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==; Original-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 ) id 1pR5Yq-0004BU-1a; Sun, 12 Feb 2023 01:10:10 -0500 In-Reply-To: (message from Drew Adams on Sat, 11 Feb 2023 21:59:09 +0000) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:255375 Archived-At: > From: Drew Adams > 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.