From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim 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:32:25 +0100 Message-ID: <87pllq4sme.fsf@gmail.com> References: <87v7vktu7s.fsf@posteo.de> <86zfkvpqn9.fsf@gnu.org> <87bjxb5yg5.fsf@gmail.com> <37DCBABA-3D38-4FDD-8769-93E3D7F71DCE@posteo.de> <87ttb24ul4.fsf@gmail.com> <877c7yg2e2.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21795"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74903@debbugs.gnu.org, Mekeor Melire , Stefan Kangas , Eli Zaretskii , Andrea Corallo , Stefan Monnier To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 17 09:34:18 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 1tNT20-0005Tk-Dh for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 17 Dec 2024 09:34:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tNT1q-0001Cc-6f; Tue, 17 Dec 2024 03:34:06 -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 1tNT1o-0001CL-3n for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2024 03:34:04 -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 1tNT1m-0004vV-7y for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2024 03:34: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=eVoetdLwYsfr15B3EliqFwWsYa8pLK5c5FzyuJCAOo4=; b=ehlRatoRnwcVcml6HA02Xcxs9PRv3SqtRcrM7dGRM8V/WOlgtLe77lCLgaUo1aJz4xt2HE3PUsjyDl7UlT4MCXCSmCk6zPuKmT78DU8QOj039tt1jCkPdow8yKrqt4V83UkEE0QpvRRqhhRo+u4fhy8OxEQ7mkrHuAIHlDU6YK0suvJA5WJvOeoBhrQdCEGdbgrhSzvDNqmzLf+XqwDMUCOAtQVtfQLOAHuWFxGRpFgS7dEksIAdCYGvSdzDswsrPdJKmoUXqTofqeTIMEoL2vDtHzjs0KXhNMRCp1s9URNrVj6KeN5MByLfKNo9JIpvJUivIHIC1qVLQfSnIPrp0w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tNT1m-00027p-2E for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2024 03:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Dec 2024 08:34: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.17344244248132 (code B ref 74903); Tue, 17 Dec 2024 08:34:02 +0000 Original-Received: (at 74903) by debbugs.gnu.org; 17 Dec 2024 08:33:44 +0000 Original-Received: from localhost ([127.0.0.1]:57460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNT1U-000276-3Z for submit@debbugs.gnu.org; Tue, 17 Dec 2024 03:33:44 -0500 Original-Received: from mail-wm1-f48.google.com ([209.85.128.48]:49238) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tNT1J-00026d-W2 for 74903@debbugs.gnu.org; Tue, 17 Dec 2024 03:33:41 -0500 Original-Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-43623f0c574so34684605e9.2 for <74903@debbugs.gnu.org>; Tue, 17 Dec 2024 00:33:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734424348; x=1735029148; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=eVoetdLwYsfr15B3EliqFwWsYa8pLK5c5FzyuJCAOo4=; b=k3P+QJjAWXJHRsBwtSaRWQ0NSOPeCwXwoWGUBSOhVHHaZ0a1osUOI38dYDH/UWVOqi bJ/bF1AHvOnHSE5u5WYmBj0nShJhPswTRGVAIhHxXcfbfrujmq7vELOMsXclcM+oaxDn AVZP3PoQcKlrcY1W3vMAwtb5hKx66gSuRETFlmnA83SIcaDCz+Uv5rqI3kWCthaIxW66 vF/DGPQIlVxurRn2qQB5/xA4TW2D4clz+p22Dc8ngC0dLf5K1+dajK0rrbZSInxKvrby TjmKEfxy72MbCJl9HdysmODYYI4M5FQmOiPOk7QK15WWFrCfd0QXvJwbkggQ1SegGT/u Yj0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734424348; x=1735029148; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eVoetdLwYsfr15B3EliqFwWsYa8pLK5c5FzyuJCAOo4=; b=V3BotQW8IcDBfYVglqBRG4p+cL1yoGD9/iiTtijR721McQ9JnGeti6BNu4rqWGlMrf Je4nIuONwpSEYzJZkdQxEdQGCBLi6QefUJuwUhEABfqHn0znlub0KXYfojp2YrNzKKtj 9wZGpPQxYfz/18ZaZNP4E3PKLfEQx32U/tL0yIES77FhLLRTkBfWyOVoyculIOmQaAft kWCbycE40V55vwWs0PyxQYsXe8VbGncZ08f+I3aVCRrgNJOGdh9ABSCi5VWcBGR8l8Ba mva0MTYGxr85qmmUJIOYdU6/d8HXT9mDD7ZBjulKiVoQsy4lGS1moFIj4xhCOMCaUi9O pyeQ== X-Forwarded-Encrypted: i=1; AJvYcCVh3ZeUqZmVP5ZlHD4TF8yABrEyMm74j0lVd1grFR17Csmk81R+ZRFghhgpJEtxEpIUgUOgPg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YycRQbiIu0M+e9kSaoVgmXpExrrZvPor3H1aLqlpLOGbd+2h/By eEHiagxQWD8mfQO6JSEc6SbylVwxxBLo8W7dMTW4cNxc20/UIp+r X-Gm-Gg: ASbGncs9trUxy2+b1DYo5BFg6LItGVUGKHAI5/+cqbszkbrtJMB276UtrXrnA1fG55a pfdOQcY2bpwJAR1vA5ha/pZDzd4+BtvlWI5OKVaGGNYE4FbSfRtrQQc5ch8l+lsm4Rex0RWOWre lHUKqRZXFNWDzHqyvCNtBXNYXg2lArehoQ476hi4dTYs+Z7w8hs5Tj/ecWy11GALi/EzI+bJ4K+ TZag3eFTSpJp3BGlFlTLD4DsQy47sRIZiHaasGkMiw= X-Google-Smtp-Source: AGHT+IFSazAAoLz6It6hfWaaExv23O8Zu0cMcfP9cw32VKchHsewfhHPAS3c1LTb8Y0Eiea6xi8fGw== X-Received: by 2002:a05:600c:214a:b0:434:f7e3:bfbd with SMTP id 5b1f17b1804b1-4362aa947admr139706355e9.23.1734424347803; Tue, 17 Dec 2024 00:32:27 -0800 (PST) Original-Received: from rltb ([2a01:e0a:3f3:fb51:a104:d8c:5af4:8136]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43625717c9fsm164986925e9.44.2024.12.17.00.32.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Dec 2024 00:32:27 -0800 (PST) In-Reply-To: <877c7yg2e2.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 17 Dec 2024 09:59:57 +0200") 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:297259 Archived-At: >>>>> On Tue, 17 Dec 2024 09:59:57 +0200, Juri Linkov sai= d: Mekeor> 1. Allow users to opt-in to have C-h v foo-keymap RET show a ta= ble of Mekeor> key bindings in addition to the formatting as S-expression. Thi= s fits Mekeor> well into the existing help-fns mechanism. The patch I submitted Mekeor> implements a prototype. >>=20 >> Again, I don=CA=BCt 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=CA=BCt need a different visual representation of them to get s= tuff >> done. Juri> It would be nice if users will be able first to see keymap tables Juri> in the output of `describe-repeat-maps', then click on a map Juri> variable, and see the same keymap table individually. ? I must be misunderstanding, because that=CA=BCs already how `describe-repeat-maps' works. Robert --=20