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#50067: Context menus Date: Tue, 28 Sep 2021 22:31:40 +0300 Message-ID: <83wnn0ijj7.fsf@gnu.org> References: <87pmufb3u0.fsf@mail.linkov.net> <877df211vs.fsf@mail.linkov.net> <83k0j1lv2n.fsf@gnu.org> <87zgrwmtjv.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11093"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 50067@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 28 21:34:31 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 1mVIs3-0002gz-S0 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Sep 2021 21:34:31 +0200 Original-Received: from localhost ([::1]:50884 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVIs2-0006TN-Pi for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Sep 2021 15:34:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45466) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVIpe-0003xV-K5 for bug-gnu-emacs@gnu.org; Tue, 28 Sep 2021 15:32:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35519) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mVIpe-0001ua-9A for bug-gnu-emacs@gnu.org; Tue, 28 Sep 2021 15:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mVIpe-0006HY-4x for bug-gnu-emacs@gnu.org; Tue, 28 Sep 2021 15:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Sep 2021 19:32:02 +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.163285751924138 (code B ref 50067); Tue, 28 Sep 2021 19:32:02 +0000 Original-Received: (at 50067) by debbugs.gnu.org; 28 Sep 2021 19:31:59 +0000 Original-Received: from localhost ([127.0.0.1]:47065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVIpa-0006HG-W3 for submit@debbugs.gnu.org; Tue, 28 Sep 2021 15:31:59 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mVIpZ-0006H3-Nu for 50067@debbugs.gnu.org; Tue, 28 Sep 2021 15:31:58 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56650) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVIpU-0001mV-4o; Tue, 28 Sep 2021 15:31:52 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4473 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVIpR-0003TE-P0; Tue, 28 Sep 2021 15:31:52 -0400 In-Reply-To: <87zgrwmtjv.fsf@mail.linkov.net> (message from Juri Linkov on Tue, 28 Sep 2021 21:54:40 +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:215796 Archived-At: > From: Juri Linkov > Cc: 50067@debbugs.gnu.org > Date: Tue, 28 Sep 2021 21:54:40 +0300 > > >> Other programs don't show the keys in context menus. > >> The Human Interface Guidelines say: > >> > >> Show keyboard shortcuts in menu bar menus, not contextual menus. > >> Contextual menus are already shortcuts to task-specific commands; > >> it's redundant to display keyboard shortcuts too. > >> > >> This patch hides all keys from the context menus: > > > > Unconditionally? why?? Emacs always shows the keyboard bindings in > > its menus, so why should we care what other apps do? And why force > > this on everyone? > > The patch disables the keys conditionally by adding a new > text property to the menu title. I meant user's ability to request the display of key bindings in the menu. I hope you don't expect users to change text properties on menu titles as the means to have that control. There should be an option, and frankly I don't understand why these menus should behave differently from any other menu in Emacs that shows commands.