GNU bug report logs - #74829
[PATCH] Show the keybinding next to command in calc's x

Previous Next

Package: emacs;

Reported by: Visuwesh <visuweshm <at> gmail.com>

Date: Thu, 12 Dec 2024 13:33:01 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#74829: closed ([PATCH] Show the keybinding next to command in
 calc's x)
Date: Thu, 26 Dec 2024 08:25:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 26 Dec 2024 10:24:10 +0200
with message-id <86bjwyzwb9.fsf <at> gnu.org>
and subject line Re: bug#74829: [PATCH] Show the keybinding next to command in calc's x
has caused the debbugs.gnu.org bug report #74829,
regarding [PATCH] Show the keybinding next to command in calc's x
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
74829: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74829
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Visuwesh <visuweshm <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Show the keybinding next to command in calc's x
Date: Thu, 12 Dec 2024 18:59:44 +0530
[Message part 3 (text/plain, inline)]
Tags: patch

Attached patch uses M-x's :affixation-function to show the keybinding
next to the command's name in calc's x command.



In GNU Emacs 31.0.50 (build 27, x86_64-pc-linux-gnu, X toolkit, cairo
 version 1.18.2, Xaw scroll bars) of 2024-12-07 built on astatine
Repository revision: 9ddec89e422d0dd6e9069731b8f2dd2c90aa5607
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101014
System Description: Debian GNU/Linux trixie/sid

Configured using:
 'configure --with-sound=alsa --with-x-toolkit=lucid --without-xaw3d
 --without-gconf --without-libsystemd --with-cairo CFLAGS=-g3'

[0001-Show-the-keybinding-next-to-command-in-calc-s-x.patch (text/patch, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Visuwesh <visuweshm <at> gmail.com>
Cc: 74829-done <at> debbugs.gnu.org
Subject: Re: bug#74829: [PATCH] Show the keybinding next to command in calc's x
Date: Thu, 26 Dec 2024 10:24:10 +0200
> From: Visuwesh <visuweshm <at> gmail.com>
> Cc: 74829 <at> debbugs.gnu.org
> Date: Sat, 21 Dec 2024 15:21:47 +0530
> 
> [சனி டிசம்பர் 21, 2024] Eli Zaretskii wrote:
> 
> >> From: Visuwesh <visuweshm <at> gmail.com>
> >> 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.

Thanks, installed on the master branch, and closing the bug.


This bug report was last modified 183 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.