From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#74903: [PATCH] Add function to show table of keys when describing keymap variable Date: Tue, 17 Dec 2024 09:59:57 +0200 Organization: LINKOV.NET Message-ID: <877c7yg2e2.fsf@mail.linkov.net> References: <87v7vktu7s.fsf@posteo.de> <86zfkvpqn9.fsf@gnu.org> <87bjxb5yg5.fsf@gmail.com> <37DCBABA-3D38-4FDD-8769-93E3D7F71DCE@posteo.de> <87ttb24ul4.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7013"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) Cc: 74903@debbugs.gnu.org, Mekeor Melire , Stefan Kangas , Eli Zaretskii , Andrea Corallo , Stefan Monnier To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 17 09:09:27 2024 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 1tNSdz-0001hn-Rl for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 17 Dec 2024 09:09:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNSdc-0005Yh-N1; Tue, 17 Dec 2024 03:09:04 -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 1tNSda-0005YZ-SX for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2024 03:09:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tNSda-0000jv-Kj for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2024 03:09:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=DaEAV82GP/FXII/ret+rPccA3T3ak+bg0KkwrdOI4u0=; b=AGRarb+qmB3PO3/AYbA1QtstpZV8jTKKoK4rbObg/ds44Cc8RxK1jh0zQYAOM0JVM0RZmHf8SFXZlg2rEsl8m4ocC3/gi91HbDda/AKtsOIFkc9mrUP6KspTW0+MUVdDBvZW8U41aKCjQyIW42a1hUXxyA+mphmLIIkCpQtoADLxPHyPWlKCKCbbw0RsCiOxTTuKV1MPN7WqPuHlXuayMNl+MJJ2xRwayLQlw5M3gwF0QVqTZnL83HGW1g5dlcPp71ewyB4+seQrUM7i0OHNpCiRldLhl9ivnrx9qGAWEo0e1GiAqwofQo0++4qGEj2K6MMncqfC9e/lX/sLPsHgDA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tNSda-0000ta-E8 for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2024 03:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Dec 2024 08:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74903 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 74903-submit@debbugs.gnu.org id=B74903.17344228943372 (code B ref 74903); Tue, 17 Dec 2024 08:09:02 +0000 Original-Received: (at 74903) by debbugs.gnu.org; 17 Dec 2024 08:08:14 +0000 Original-Received: from localhost ([127.0.0.1]:57387 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNSco-0000sJ-Fb for submit@debbugs.gnu.org; Tue, 17 Dec 2024 03:08:14 -0500 Original-Received: from relay4-d.mail.gandi.net ([217.70.183.196]:41975) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNScm-0000s3-Et for 74903@debbugs.gnu.org; Tue, 17 Dec 2024 03:08:13 -0500 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 7D741E0004; Tue, 17 Dec 2024 08:08:03 +0000 (UTC) In-Reply-To: <87ttb24ul4.fsf@gmail.com> (Robert Pluim's message of "Tue, 17 Dec 2024 08:49:59 +0100") X-GND-Sasl: juri@linkov.net 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:297257 Archived-At: > Mekeor> 1. Allow users to opt-in to have C-h v foo-keymap RET show a table of > Mekeor> key bindings in addition to the formatting as S-expression. This fits > Mekeor> well into the existing help-fns mechanism. The patch I submitted > Mekeor> implements a prototype. > > Again, I donʼt see a need for it. A user trying to figure out > keybindings is not going to be inspecting keymap variables, and > `describe-bindings' or `describe-mode' tells them what they need to > know. A developer writing code presumably knows about keymaps, and > doesnʼt need a different visual representation of them to get stuff > done. It would be nice if users will be able first to see keymap tables in the output of `describe-repeat-maps', then click on a map variable, and see the same keymap table individually.