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: Wed, 18 Aug 2021 21:59:10 +0300 Message-ID: <83o89u37gh.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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24210"; 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 Wed Aug 18 21:00:30 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 1mGQnd-00068E-LO for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 18 Aug 2021 21:00:29 +0200 Original-Received: from localhost ([::1]:53636 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGQnc-0001CT-Nm for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 18 Aug 2021 15:00:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53930) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mGQnD-0000xc-FE for bug-gnu-emacs@gnu.org; Wed, 18 Aug 2021 15:00:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46114) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mGQnD-00038Q-6b for bug-gnu-emacs@gnu.org; Wed, 18 Aug 2021 15:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mGQnD-0007mj-5i for bug-gnu-emacs@gnu.org; Wed, 18 Aug 2021 15:00:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Aug 2021 19:00: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.162931317929850 (code B ref 50067); Wed, 18 Aug 2021 19:00:03 +0000 Original-Received: (at 50067) by debbugs.gnu.org; 18 Aug 2021 18:59:39 +0000 Original-Received: from localhost ([127.0.0.1]:57658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGQmk-0007lJ-1z for submit@debbugs.gnu.org; Wed, 18 Aug 2021 14:59:39 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGQme-0007l1-2R for 50067@debbugs.gnu.org; Wed, 18 Aug 2021 14:59:32 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33942) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mGQmU-0002bx-Ff; Wed, 18 Aug 2021 14:59:18 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2216 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 1mGQmU-0007to-1h; Wed, 18 Aug 2021 14:59:18 -0400 In-Reply-To: <8735r6ppf0.fsf@mail.linkov.net> (message from Juri Linkov on Wed, 18 Aug 2021 21:40:19 +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:212185 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: Wed, 18 Aug 2021 21:40:19 +0300 > > >> 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.