From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.bugs Subject: bug#74829: [PATCH] Show the keybinding next to command in calc's x Date: Sat, 21 Dec 2024 15:21:47 +0530 Message-ID: <878qs9cqj0.fsf@gmail.com> References: <8734itjagn.fsf@gmail.com> <86bjx58jfi.fsf@gnu.org> 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="34921"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 74829@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 21 10:53: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 1tOwAf-0008uc-8c for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Dec 2024 10:53:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tOwAS-00030w-0i; Sat, 21 Dec 2024 04:53: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 1tOwAQ-00030c-3f for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 04:53: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 1tOwAP-0001zS-Rm for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 04:53:01 -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=UOlIdCsxkhW4VWZQenRKfUmPI+NZ4moGUULd51TEtEE=; b=hDc75AXJ6TaXCsSXO2N/wIgZa70+s0IAui0YNyI0CrJ4MK5ZET21LzTAvywTa9/IaF8O2StJysM6SLKzaaSxmzPf0Bi0ygiWgglbQx/KANzBFwgeNTLHNPMmcqpVNyifVj4G9TKTVVnzFeDKWxFOGX6pT4VDICsJBzRuI3gyS9o9oogaZ5J7q7wjn7PgLjK1/6hYpm1l7m5i57enL24SBD8sBzAI6/1rPxuRWA+Qx37bDT9Egq5Z/PqnVhXHiOJhMPlEw0NZu8gzvOUEZtI8MJqOsb6NUNktSa7L2PRvT7iHx2gA5KzDzp7a1c/M9Qoujcddp3e4PYYjnDKXUqbp4Q==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tOwAP-0008QW-Mv for bug-gnu-emacs@gnu.org; Sat, 21 Dec 2024 04:53:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Dec 2024 09:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74829 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 74829-submit@debbugs.gnu.org id=B74829.173477477332374 (code B ref 74829); Sat, 21 Dec 2024 09:53:01 +0000 Original-Received: (at 74829) by debbugs.gnu.org; 21 Dec 2024 09:52:53 +0000 Original-Received: from localhost ([127.0.0.1]:45338 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOwAH-0008Q5-Bt for submit@debbugs.gnu.org; Sat, 21 Dec 2024 04:52:53 -0500 Original-Received: from mail-pl1-f195.google.com ([209.85.214.195]:57723) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tOwAF-0008Px-Kt for 74829@debbugs.gnu.org; Sat, 21 Dec 2024 04:52:52 -0500 Original-Received: by mail-pl1-f195.google.com with SMTP id d9443c01a7336-21628b3fe7dso24133565ad.3 for <74829@debbugs.gnu.org>; Sat, 21 Dec 2024 01:52:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734774711; x=1735379511; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=UOlIdCsxkhW4VWZQenRKfUmPI+NZ4moGUULd51TEtEE=; b=BooVStiDj4GGYmVeqo3Ky9JxtQw0Nt0IsJ/NyzQuW/aAf7kDxPoH8zA+NUr7LdFXGt U5Y12W98R3yk7dh7ziT+x8ojKTr0qbFAiphiy31QVKpgZ0iaIM6Ny7WqsLnCMudCOaYP VJiNEWxHtQVT/8r5tpagFxPBtHzysL0I36h71j6Y6VU84wEZtyfm/oaSX0Rz5VUVT8o1 aLEBNLw6yAIldEM71b/fxpzjCUoi+EG1mxAhmeblbtegcUw3CWB7kTZayJycEDgJVyGn IlzA4+t6knjKp0YjqQbtNF+PpihmIN6XbYv823/zvbeQBL3Vdrs6JAN0i/MhBu0LV1cN rMUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734774711; x=1735379511; h=content-transfer-encoding:mime-version:user-agent: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=UOlIdCsxkhW4VWZQenRKfUmPI+NZ4moGUULd51TEtEE=; b=sp1ZF+DXh43p7FUW8GutqiyMoMD4AhG49n9wpiJtjUacssg6I6M/h5Jl0MthqrPK3j PnOyHZUfzh/ToNeQ9dj+J4cnUy3jBoGCrgOm2Djq+qxK45yFtPZySGQFkDXVQhnb/P7s 0V/FE7yvFC0tPu47WVE7jSLHoALipKVw9f6WJ7O3aQ8jcD2GfFOOUooU2A/8KORb7qv4 sLYcRnX5qnuVNlfitrKCBz843+5OeuGckMwhJXpCMWyTFVJAeDtBNc61YwHYkR2f73Lx EyOMCC37fQ4C5bjzpZh8utok14bTqrfSK9lirDD4x32OuLXpPG2iilqyumF89AMD4s/a YAbQ== X-Gm-Message-State: AOJu0YwLzTPeJy2wJ11YXyjjwnMU8DFRWPbRI8ZLvDXKY1Br7h1HXt1u PlO/MUH1lqNlJj6yifB+d3hdB658TJyR9+2++wWVwtppYJ2UYnGT X-Gm-Gg: ASbGncsBiRvz27OJkKecE4/Dg6uGv153VnrdgxiOCJi5aN7s5sFk/Bgc7mLa2z4vzbv wicyWUV3OMT9ZVKuzlnwACHMgbEPmm+Hk1K/NaW5nOZxCBuI1bOYBVAbyvp+UxlGe8+ipaulZ+D G3OGR0FqGwbRIeCFnCvP1Mec9vpUICTP4j64Nnec4yeHaJgklNunHLs+Ayw0vJ3ZJbgx/AW3tud /hSon7IqRU0o8uP9POMF1rDhPGEJoEKVadRZK0ak4aK49JNrnf7 X-Google-Smtp-Source: AGHT+IEgMsc2PojYpHFnxX2rm0fvwr4ZOD+nye/TLRKwV1Bt1SI1IyT5elQpoVsnssaHiwq/Fule5g== X-Received: by 2002:a17:90b:54cb:b0:2ee:d7d3:3019 with SMTP id 98e67ed59e1d1-2f452e22555mr11070137a91.12.1734774710735; Sat, 21 Dec 2024 01:51:50 -0800 (PST) Original-Received: from localhost ([49.205.83.252]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2f4633df7c0sm650738a91.18.2024.12.21.01.51.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Dec 2024 01:51:50 -0800 (PST) In-Reply-To: <86bjx58jfi.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 21 Dec 2024 11:38:41 +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:297511 Archived-At: [=E0=AE=9A=E0=AE=A9=E0=AE=BF =E0=AE=9F=E0=AE=BF=E0=AE=9A=E0=AE=AE=E0=AF=8D= =E0=AE=AA=E0=AE=B0=E0=AF=8D 21, 2024] Eli Zaretskii wrote: >> From: Visuwesh >> Date: Thu, 12 Dec 2024 18:59:44 +0530 >>=20 >> Attached patch uses M-x's :affixation-function to show the keybinding >> next to the command's name in calc's x command. > > Thanks. Can you describe the effect of this change in Calc usage? > That is, what will users see after the change that they didn't see > before it? Without the patch, x TAB in the Calc buffer shows in the *Completions* buffer: calc-abs calc-abssqr etc. But with this patch, it instead shows calc-abs (A) calc-abssqr (fA) as calc-abs is bound to the key 'A' (C-h w calc-abs RET confirms this). This is similar to how M-x displays the keybinding next to the command name in the *Completions* buffer.