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: Fri, 20 Aug 2021 10:29:47 +0300 Organization: LINKOV.NET Message-ID: <87o89sh96g.fsf@mail.linkov.net> 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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1376"; 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: alan@idiocy.org, mattiase@acm.org, homeros.misasa@gmail.com, tkk@misasa.okayama-u.ac.jp, larsi@gnus.org, 50067@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 20 09:35:55 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 1mGz4E-0000Ax-M5 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 Aug 2021 09:35:54 +0200 Original-Received: from localhost ([::1]:48434 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGz4C-0007LJ-V8 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 Aug 2021 03:35:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44312) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGz1T-0001pF-Up for bug-gnu-emacs@gnu.org; Fri, 20 Aug 2021 03:33:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49588) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mGz1T-0004zS-M4 for bug-gnu-emacs@gnu.org; Fri, 20 Aug 2021 03:33:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mGz1T-0004Z8-GK for bug-gnu-emacs@gnu.org; Fri, 20 Aug 2021 03:33:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Aug 2021 07:33:03 +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.162944478217523 (code B ref 50067); Fri, 20 Aug 2021 07:33:03 +0000 Original-Received: (at 50067) by debbugs.gnu.org; 20 Aug 2021 07:33:02 +0000 Original-Received: from localhost ([127.0.0.1]:32896 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGz1R-0004YW-L4 for submit@debbugs.gnu.org; Fri, 20 Aug 2021 03:33:02 -0400 Original-Received: from relay7-d.mail.gandi.net ([217.70.183.200]:54545) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGz1K-0004Y5-C3 for 50067@debbugs.gnu.org; Fri, 20 Aug 2021 03:33:00 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 17EC020005; Fri, 20 Aug 2021 07:32:43 +0000 (UTC) In-Reply-To: <831r6p3lzc.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 19 Aug 2021 10:57:43 +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:212252 Archived-At: >> 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? >> The context menu is special. Nowadays everyone is accustomed to >> down-mouse-3 popping up a context menu without title. But other >> Emacs-specific menus that are not familiar to users such as >> mouse-buffer-menu bound C- should display a title for >> all toolkits to explain to the user what choice the menu presents. > > 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?