From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#39035: Show key bindings on M-x completion Date: Wed, 8 Jan 2020 11:17:16 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="53098"; mail-complaints-to="usenet@blaine.gmane.org" To: 39035@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 08 11:18:22 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ip8Po-0001QH-2v for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Jan 2020 11:18:16 +0100 Original-Received: from localhost ([::1]:41356 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ip8Pm-0001Tx-Gm for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Jan 2020 05:18:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38264) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ip8Pb-0001NZ-7k for bug-gnu-emacs@gnu.org; Wed, 08 Jan 2020 05:18:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ip8Pa-0005JP-A8 for bug-gnu-emacs@gnu.org; Wed, 08 Jan 2020 05:18:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43830) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ip8Pa-0005JD-6l for bug-gnu-emacs@gnu.org; Wed, 08 Jan 2020 05:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ip8Pa-0005lW-1b for bug-gnu-emacs@gnu.org; Wed, 08 Jan 2020 05:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Jan 2020 10:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39035 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.157847865421389 (code B ref -1); Wed, 08 Jan 2020 10:18:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Jan 2020 10:17:34 +0000 Original-Received: from localhost ([127.0.0.1]:49803 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ip8P8-0005Yf-2T for submit@debbugs.gnu.org; Wed, 08 Jan 2020 05:17:34 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:36890) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ip8P6-0005XQ-DZ for submit@debbugs.gnu.org; Wed, 08 Jan 2020 05:17:32 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38069) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ip8P4-0000fL-UF for bug-gnu-emacs@gnu.org; Wed, 08 Jan 2020 05:17:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ip8P3-0004yp-NB for bug-gnu-emacs@gnu.org; Wed, 08 Jan 2020 05:17:30 -0500 Original-Received: from mail-pg1-f171.google.com ([209.85.215.171]:35249) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ip8P3-0004yD-I1 for bug-gnu-emacs@gnu.org; Wed, 08 Jan 2020 05:17:29 -0500 Original-Received: by mail-pg1-f171.google.com with SMTP id l24so1361248pgk.2 for ; Wed, 08 Jan 2020 02:17:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Jy5DY1yE9V+KTmQ6BOtofttkI5D2SjTvl6Hk+bQCDYU=; b=TC9ox1P4EvMg+h1CjBZCnIvAdVsq45pieA84thU/yWbE3MCDsw/FvmeDzV5iswruse vpbhwWdSs+LNhsGDtQUKe1jwXET9R+k8QddJTkXcmGLOHIMONhlvsa10WUsAj3REma9S EMJOmwx/eR6TxsO5VjyL7iGG+1k6lEs2FsZtkutDQV1GbkJQaVxc85GeFSHV9BQg63Zk gKFnOKwlyhrHVMQS3u/FCTyRooWZw0CLMjQsptGjxtoijfE0a+slpKGgfToKpOc2nBCx EMaxNurrjDTwJQNyxvVSLQNpzdRO503tpsWWTydY2Fb2C1nOw9fxrt8Kk1PwJ/TUYIVa w/kQ== X-Gm-Message-State: APjAAAUC52q7vJrSfGVDtI3US+ZKQbhlzqgLm9pm78hpBzuWmFvpGrxU 5Y1FHfdDu0hdebenmxY52wGOjBxB3kQM3+jz1wsX/klidXA= X-Google-Smtp-Source: APXvYqz3GMlVcag/oD3684Nluen2fu87TZYMVrIAU13GxqwvtPZ9qTc8Aus4Z4zEOYuYktwphe4Xht5U7hROeBXAxyY= X-Received: by 2002:a63:5f45:: with SMTP id t66mr4299792pgb.198.1578478648136; Wed, 08 Jan 2020 02:17:28 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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" Xref: news.gmane.org gmane.emacs.bugs:174361 Archived-At: Severity: wishlist In the completion interface for M-x, please add functionality to show the key bindings in parenthesis after the command. This functionality is already there in the highly popular helm and swiper completion frameworks, which could be useful for reference. For example, when typing M-x kmacro TAB, one should see: kmacro-insert-counter (C-x C-k TAB) kmacro-set-counter (C-x C-k C-c) [...] Ideally, the keybinding should also use a different color from the command. This was discussed on emacs-devel, and Stefan Monnier suggested that it shouldn't be too hard to do: https://lists.gnu.org/archive/html/emacs-devel/2020-01/msg00115.html Best regards, Stefan Kangas