Subject: bug#74829: [PATCH] Show the keybinding next to command in calc's x

From: Visuwesh <[email-masked]>
Date: Sat, 21 Dec 2024 15:21:47 +0530

[சனி டிசம்பர் 21, 2024] Eli Zaretskii wrote:

>> From: Visuwesh <[email-masked]>
>> Date: Thu, 12 Dec 2024 18:59:44 +0530
>> 
>> 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.