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: Wed, 24 Aug 2022 21:01:20 +0200 Message-ID: <87edx5ihz3.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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16119"; 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 Wed Aug 24 21:02:33 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 1oQve4-0003zK-SE for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Aug 2022 21:02:32 +0200 Original-Received: from localhost ([::1]:57282 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQve3-0003zu-EN for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Aug 2022 15:02:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43510) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQvda-0003yg-PY for bug-gnu-emacs@gnu.org; Wed, 24 Aug 2022 15:02:12 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58482) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQvda-0000wf-CU for bug-gnu-emacs@gnu.org; Wed, 24 Aug 2022 15:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQvdZ-00068j-WE for bug-gnu-emacs@gnu.org; Wed, 24 Aug 2022 15:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tomas Hlavaty Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Aug 2022 19:02: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.166136768623557 (code B ref 57372); Wed, 24 Aug 2022 19:02:01 +0000 Original-Received: (at 57372) by debbugs.gnu.org; 24 Aug 2022 19:01:26 +0000 Original-Received: from localhost ([127.0.0.1]:48231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQvd0-00067t-Bx for submit@debbugs.gnu.org; Wed, 24 Aug 2022 15:01:26 -0400 Original-Received: from logand.com ([37.48.87.44]:45486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQvcy-00067l-6a for 57372@debbugs.gnu.org; Wed, 24 Aug 2022 15:01:24 -0400 Original-Received: by logand.com (Postfix, from userid 1001) id E8BF21A17C2; Wed, 24 Aug 2022 21:01:21 +0200 (CEST) X-Mailer: emacs 28.1 (via feedmail 11-beta-1 I) In-Reply-To: <83y1vd4j55.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:240655 Archived-At: On Wed 24 Aug 2022 at 20:59, Eli Zaretskii wrote: >> I find the alien X resource fonts the ugliest, unreadable and very >> inconvenient because the font size is completely wrong and inconvenient >> to control. > > But you can customize that via the X resources, can't you? Just tell > the menus to use the same font Emacs uses for its default face. I suppose it is possible, but complex and inconvenient. Why do I need to do that in the first place? In my example, I had a function like this: (defun set-text-height (new-height) (set-face-attribute 'default nil :height new-height)) How could I achieve what you suggest so that setting the font height would also apply to menu item X resource font?