unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Visuwesh <visuweshm@gmail.com>
Cc: 74829-done@debbugs.gnu.org
Subject: bug#74829: [PATCH] Show the keybinding next to command in calc's x
Date: Thu, 26 Dec 2024 10:24:10 +0200	[thread overview]
Message-ID: <86bjwyzwb9.fsf@gnu.org> (raw)
In-Reply-To: <878qs9cqj0.fsf@gmail.com> (message from Visuwesh on Sat, 21 Dec 2024 15:21:47 +0530)

> From: Visuwesh <visuweshm@gmail.com>
> Cc: 74829@debbugs.gnu.org
> Date: Sat, 21 Dec 2024 15:21:47 +0530
> 
> [சனி டிசம்பர் 21, 2024] Eli Zaretskii wrote:
> 
> >> From: Visuwesh <visuweshm@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.





      reply	other threads:[~2024-12-26  8:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-12 13:29 bug#74829: [PATCH] Show the keybinding next to command in calc's x Visuwesh
2024-12-21  9:38 ` Eli Zaretskii
2024-12-21  9:51   ` Visuwesh
2024-12-26  8:24     ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86bjwyzwb9.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=74829-done@debbugs.gnu.org \
    --cc=visuweshm@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).