From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tomas Hlavaty Newsgroups: gmane.emacs.bugs Subject: bug#57372: no-toolkit menu popups do not respect emacs font configuration Date: Fri, 26 Aug 2022 09:13:55 +0200 Message-ID: <877d2vbhos.fsf@logand.com> References: <87lerek7pt.fsf@logand.com> <83k06y74sy.fsf@gnu.org> <87v8qihxbk.fsf@logand.com> <87czcp29m6.fsf@yahoo.com> <834jy17umv.fsf@gnu.org> <87zgftzvqt.fsf@yahoo.com> <83sfll6d38.fsf@gnu.org> <87k06xilb0.fsf@logand.com> <83y1vd4j55.fsf@gnu.org> <87edx5ihz3.fsf@logand.com> <83sfll4esu.fsf@gnu.org> <8735dli9t3.fsf@logand.com> <837d2w4yfb.fsf@gnu.org> <87k06wb2vc.fsf@logand.com> <83ilmg2llb.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="5238"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, 57372@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 26 09:20:20 2022 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 1oRTdc-0001Ft-1b for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 26 Aug 2022 09:20:20 +0200 Original-Received: from localhost ([::1]:37970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRTda-00023m-G7 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 26 Aug 2022 03:20:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39644) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRTYU-0000Po-3i for bug-gnu-emacs@gnu.org; Fri, 26 Aug 2022 03:15:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33912) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRTYT-00079E-QQ for bug-gnu-emacs@gnu.org; Fri, 26 Aug 2022 03:15:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oRTYT-0004yu-M8 for bug-gnu-emacs@gnu.org; Fri, 26 Aug 2022 03:15:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tomas Hlavaty Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 26 Aug 2022 07:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57372 X-GNU-PR-Package: emacs Original-Received: via spool by 57372-submit@debbugs.gnu.org id=B57372.166149804219035 (code B ref 57372); Fri, 26 Aug 2022 07:15:01 +0000 Original-Received: (at 57372) by debbugs.gnu.org; 26 Aug 2022 07:14:02 +0000 Original-Received: from localhost ([127.0.0.1]:51892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRTXV-0004wo-L7 for submit@debbugs.gnu.org; Fri, 26 Aug 2022 03:14:01 -0400 Original-Received: from logand.com ([37.48.87.44]:39804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRTXT-0004wQ-Kt for 57372@debbugs.gnu.org; Fri, 26 Aug 2022 03:14:00 -0400 Original-Received: by logand.com (Postfix, from userid 1001) id 73BBA1A1851; Fri, 26 Aug 2022 09:13:57 +0200 (CEST) X-Mailer: emacs 28.1 (via feedmail 11-beta-1 I) In-Reply-To: <83ilmg2llb.fsf@gnu.org> 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:240780 Archived-At: On Thu 25 Aug 2022 at 22:02, Eli Zaretskii wrote: >> Frequency is not that relevant. Convenience is relevant. It should >> happen after key press. > > This is an exaggeration, and as such, not useful. It is unreasonable > to expect everything be done at a keypress. Infrequent operations can > be less convenient than frequent ones, because that inconvenience > basically happens once in a blue moon. It happens as frequently or as rarely as the user chooses to press the relevant key. In other words, it is under control of the user, not somebody else. >> It is not something I invented, it is important use-case and pretty >> much essential part of GUI programs these days. Try for example C-+ >> and C-- in firefox or xfce4-terminal. > > When I do that in Firefox, the displayed text is resized, but not the > menus or the tool bar. True. I gave the example because it seed to me you did not understand why would somebody want to press C-+ or C-- to resize font instead of changing a configuration and restarting. Now I see that you mean specifically the Firefox menu. Well, the Firefox menu uses a widget toolkit. no-toolkit Emacs is not supposed to use a widget toolkit as far as I understand it. I was hoping that there would not be an alien library with all the negatives of alien widget toolkit, or in this case even worse (XMenu does not respect my desktop font settings, font configuration is inconvenient, it looks bad and is unreadable by default). >> > I guess I don't understand why one would need to change the size >> > frequently, especially the size of the menu items, which basically >> > stay unchanged. >> >> We already discussed several issues with the X resources based text: >> >> - The font configuration is alien to emacs with many issues and downsides. >> - It is not possible to change it dynamically. > > That's nowhere near a catastrophe for such an infrequent setting. Dismissing the use-case is one way to solve this. What I would like to have is kind of similar behaviour as tty emacs on xfce4-terminal except with additional benefits of graphics capabilities built into the GUI Emacs. I like the way Emacs buffers work and that they have dynamically customizable faces. I do not like alien widget toolkits getting in the way.