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: Thu, 19 Aug 2021 10:12:54 +0300 Organization: LINKOV.NET Message-ID: <87wnohx5zd.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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3145"; 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 Thu Aug 19 09:23:18 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 1mGcOU-0000hF-6w for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 19 Aug 2021 09:23:18 +0200 Original-Received: from localhost ([::1]:57564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGcOT-00020b-6M for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 19 Aug 2021 03:23:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGcOE-0001Vt-Iv for bug-gnu-emacs@gnu.org; Thu, 19 Aug 2021 03:23:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46734) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mGcOE-0002X1-AR for bug-gnu-emacs@gnu.org; Thu, 19 Aug 2021 03:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mGcOE-0001FI-0L for bug-gnu-emacs@gnu.org; Thu, 19 Aug 2021 03:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Aug 2021 07:23: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.16293577294659 (code B ref 50067); Thu, 19 Aug 2021 07:23:01 +0000 Original-Received: (at 50067) by debbugs.gnu.org; 19 Aug 2021 07:22:09 +0000 Original-Received: from localhost ([127.0.0.1]:58262 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGcNN-0001D4-J2 for submit@debbugs.gnu.org; Thu, 19 Aug 2021 03:22:09 -0400 Original-Received: from relay2-d.mail.gandi.net ([217.70.183.194]:51517) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGcNL-0001CV-3G for 50067@debbugs.gnu.org; Thu, 19 Aug 2021 03:22:08 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 0389940003; Thu, 19 Aug 2021 07:21:57 +0000 (UTC) In-Reply-To: <83o89u37gh.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 18 Aug 2021 21:59:10 +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:212194 Archived-At: >> >> I guess the presence of the title should be platform-dependent. >> >> For example, without a title it looks great on the GTK build. >> > >> > What happens if the GTK build displays a TTY frame? Isn't the menu >> > definition global, and thus doesn't distinguish between frame types? >> >> The menu definition is constructed dynamically, so it possible >> to set the title when (framep (selected-frame)) returns t on tty. > > OK, but as I wrote elsewhere, I think the string should always be > present, and if some GUI toolkit wants to ignore it, it should avoid > putting it into the native menu structure when it creates the menu > widget(s). The Lisp data should remain the same, IMO. GUI toolkits can't ignore titles for all menus. Some menus should be displayed with a title for all toolkits. 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.