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: Fri, 20 Aug 2021 14:32:27 +0300 Message-ID: <837dgg1hdg.fsf@gnu.org> References: <74BC00E9-2509-47DA-9428-1523FF7F3B33@acm.org> <87v942pvcj.fsf@mail.linkov.net> <83zgte3asy.fsf@gnu.org> <87mtpepqzw.fsf@mail.linkov.net> <83sfz639lh.fsf@gnu.org> <8735r6ppf0.fsf@mail.linkov.net> <83o89u37gh.fsf@gnu.org> <87wnohx5zd.fsf@mail.linkov.net> <831r6p3lzc.fsf@gnu.org> <87o89sh96g.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8782"; mail-complaints-to="usenet@ciao.gmane.io" Cc: alan@idiocy.org, mattiase@acm.org, homeros.misasa@gmail.com, tkk@misasa.okayama-u.ac.jp, larsi@gnus.org, 50067@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 20 13: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 1mH2n8-000224-U7 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 Aug 2021 13:34:30 +0200 Original-Received: from localhost ([::1]:34560 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mH2n7-0003a8-UE for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 Aug 2021 07:34:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59204) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mH2mi-0003ZC-KM for bug-gnu-emacs@gnu.org; Fri, 20 Aug 2021 07:34:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49756) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mH2mi-00027A-DR for bug-gnu-emacs@gnu.org; Fri, 20 Aug 2021 07:34:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mH2mi-0000V3-BC for bug-gnu-emacs@gnu.org; Fri, 20 Aug 2021 07:34:04 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Aug 2021 11:34:04 +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.16294591841758 (code B ref 50067); Fri, 20 Aug 2021 11:34:04 +0000 Original-Received: (at 50067) by debbugs.gnu.org; 20 Aug 2021 11:33:04 +0000 Original-Received: from localhost ([127.0.0.1]:33051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mH2lg-0000Rp-5F for submit@debbugs.gnu.org; Fri, 20 Aug 2021 07:33:04 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mH2la-0000RU-LT for 50067@debbugs.gnu.org; Fri, 20 Aug 2021 07:32:59 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44694) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mH2lQ-000113-Jk; Fri, 20 Aug 2021 07:32:44 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4150 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 1mH2lP-0007T6-5R; Fri, 20 Aug 2021 07:32:44 -0400 In-Reply-To: <87o89sh96g.fsf@mail.linkov.net> (message from Juri Linkov on Fri, 20 Aug 2021 10:29:47 +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:212263 Archived-At: > From: Juri Linkov > Cc: mattiase@acm.org, 50067@debbugs.gnu.org, homeros.misasa@gmail.com, > tkk@misasa.okayama-u.ac.jp, larsi@gnus.org, alan@idiocy.org > Date: Fri, 20 Aug 2021 10:29:47 +0300 > > >> GUI toolkits can't ignore titles for all menus. Some menus should be > >> displayed with a title for all toolkits. > > > > Which popup menus have titles that cannot be ignored, and why? > > An example of such menu is mouse-buffer-menu bound to C- > where the user might wonder what do these menu items with mode names mean? OK, but I still don't think I fully understand how context menus are different. Are we sure the user will immediately understand the purpose of the context menus, but not of a buffer-menu? > > If we want some titles to behave in special ways, we could put a text > > property on the title string to mark those titles that should get > > special treatment. That is better than removing the title, and > > certainly better than removing it based on the frame type, because > > then Lisp code which handles the menu keymaps will need to be prepared > > to handle both kinds of menu keymaps, the ones with a title and ones > > without it. It is also against the documented practice. > > Using a text property would be a good solution. Should then > the NS-specific "Select" title be removed in menu.c > when the title has a special text property? I'm not sure I understand what is the NS-specific "Select" title. Can you point me to the relevant code?