From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74829: [PATCH] Show the keybinding next to command in calc's x Date: Thu, 26 Dec 2024 10:24:10 +0200 Message-ID: <86bjwyzwb9.fsf@gnu.org> References: <8734itjagn.fsf@gmail.com> <86bjx58jfi.fsf@gnu.org> <878qs9cqj0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27091"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74829-done@debbugs.gnu.org To: Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 26 09:26:48 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 1tQjCi-0006sY-1w for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Dec 2024 09:26:48 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQjBH-00043P-1g; Thu, 26 Dec 2024 03:25:19 -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 1tQjB1-0003ke-2a for bug-gnu-emacs@gnu.org; Thu, 26 Dec 2024 03:25:03 -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 1tQjB0-0000gJ-Pd for bug-gnu-emacs@gnu.org; Thu, 26 Dec 2024 03:25: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:References:In-Reply-To:From:Date:To:Subject; bh=ZxM38Gjt1BKB/fUUSH/W/3c26Z2OqIzNtUyJ9KR4oho=; b=MJO9TtwmAKKBzT6BBlBNdfWIvV21EzDdLsa2sZYILbF/c9CfdW6pR5KH794CBtsdgeaIDs+qftx9abdswLtisUmH6J8hxAp7woAdG2UTZ8ax3ix3fDM7Eq/b96CAJn4hi01QOKmdT3rQxUQ2mEJRl7x0XYLIA4+QHuJqWXfNRz7A2Jp4gsfD1ko4zrHAVqn90DlZdyK/gtQXvVf1ZsQDT0XvFBZIeuUW8w4xxmLJJRQk5zV/58uzmTjRxgn+dh6rUTnXlW5h4b+pOzBGokiER9IOBMKvY3BZHRe4wAqKyJLouuQ4zNKYnwOfAEAGiKF/ABBljARFO/2cvLOkUwHHKA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tQjB0-0000Nt-Kx for bug-gnu-emacs@gnu.org; Thu, 26 Dec 2024 03:25:02 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Dec 2024 08:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 74829 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 74829@debbugs.gnu.org, eliz@gnu.org, visuweshm@gmail.com Original-Received: via spool by 74829-done@debbugs.gnu.org id=D74829.17352014751431 (code D ref 74829); Thu, 26 Dec 2024 08:25:02 +0000 Original-Received: (at 74829-done) by debbugs.gnu.org; 26 Dec 2024 08:24:35 +0000 Original-Received: from localhost ([127.0.0.1]:39998 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQjAZ-0000N1-FS for submit@debbugs.gnu.org; Thu, 26 Dec 2024 03:24:35 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:51514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tQjAY-0000Mm-9D for 74829-done@debbugs.gnu.org; Thu, 26 Dec 2024 03:24:34 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tQjAT-0000eE-2g; Thu, 26 Dec 2024 03:24:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=ZxM38Gjt1BKB/fUUSH/W/3c26Z2OqIzNtUyJ9KR4oho=; b=nu0YWet1VDkqe8xv3Pzs E6/zhw9i5/Hfl1NxadPNlN/KrNSwJhm14FrynvplxE21QEefkr0dUehC8BebSWl024ZOkMO8EPNKg HbeWBrGUQE+h7MEV4yGzHeff5HX9SW6nHhD4TQ+Zpgt4wcKB9bcxUTPzBPO8aDmY2gkuwsO8w9Cxh PGs1k/+8FF3wDRixTDSN3jzEgKIyMJdUnjI4fAL0h8Yx49KTsPquakPTfMxGNXHXjzlRh4KVfU9h7 gd0iUtNRbBKIK4VQoK/Tic4WaXtllcTvGazgneLhkjHShMWO/mn7Mq4tSzgb8oXHnkjRvqBkmZOAr E79nXMiZEac96Q==; In-Reply-To: <878qs9cqj0.fsf@gmail.com> (message from Visuwesh on Sat, 21 Dec 2024 15:21:47 +0530) 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:297755 Archived-At: > From: Visuwesh > Cc: 74829@debbugs.gnu.org > Date: Sat, 21 Dec 2024 15:21:47 +0530 > > [சனி டிசம்பர் 21, 2024] Eli Zaretskii wrote: > > >> From: Visuwesh > >> 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.