From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#50067: Context menus Date: Wed, 29 Sep 2021 10:00:10 +0300 Organization: LINKOV.NET Message-ID: <87k0izsw79.fsf@mail.linkov.net> References: <87pmufb3u0.fsf@mail.linkov.net> <877df211vs.fsf@mail.linkov.net> <87zgryggqw.fsf@gnus.org> <87r1d8lelk.fsf@mail.linkov.net> 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="31159"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 50067@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 29 09:25:01 2021 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 1mVTxc-0007yK-4g for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Sep 2021 09:25:00 +0200 Original-Received: from localhost ([::1]:50008 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVTxb-0004EF-7I for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Sep 2021 03:24:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45360) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVTtt-0007MI-UH for bug-gnu-emacs@gnu.org; Wed, 29 Sep 2021 03:21:10 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36121) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mVTtm-0007Jn-2v for bug-gnu-emacs@gnu.org; Wed, 29 Sep 2021 03:21:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mVTtl-0000sp-Mb for bug-gnu-emacs@gnu.org; Wed, 29 Sep 2021 03:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Sep 2021 07:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50067 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 50067-submit@debbugs.gnu.org id=B50067.16329000423360 (code B ref 50067); Wed, 29 Sep 2021 07:21:01 +0000 Original-Received: (at 50067) by debbugs.gnu.org; 29 Sep 2021 07:20:42 +0000 Original-Received: from localhost ([127.0.0.1]:47667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVTtR-0000s8-U4 for submit@debbugs.gnu.org; Wed, 29 Sep 2021 03:20:42 -0400 Original-Received: from relay3-d.mail.gandi.net ([217.70.183.195]:35333) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVTtI-0000re-3g for 50067@debbugs.gnu.org; Wed, 29 Sep 2021 03:20:32 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id B0C6760008; Wed, 29 Sep 2021 07:20:25 +0000 (UTC) In-Reply-To: <87r1d8lelk.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 28 Sep 2021 21:49:59 +0300") 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" Xref: news.gmane.io gmane.emacs.bugs:215820 Archived-At: >> I'm not sure I agree with those guidelines -- displaying the key >> bindings increases the discoverability of those key bindings. > > For example, how to explain to the users why a keybinding > is displayed for "Undo", but not for "Redo". > > Another question is why currently `C-x u' is displayed > instead of the shorter `C-/' for "Undo". > > So maybe simpler just to disable keys only for "Undo" > with ‘:keys ""’. Or the other way around: to manually > add some suggested keybinding to "Redo". I think it would be better to rebind "Undo" from 'undo' to 'undo-only'. Since 'undo-only' has no keybinding, it will not be displayed in the menu.