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.devel Subject: Re: [PATCH] Fix placement of toggle and radio button in Lucid menu. Date: Fri, 25 Feb 2022 16:10:06 +0200 Message-ID: <837d9jqbpd.fsf@gnu.org> References: <87sfs87i5o.fsf@elite.giraud> <87pmnc7f5c.fsf@yahoo.com> <87k0dk7ejd.fsf@yahoo.com> <878rtzb3hr.fsf@elite.giraud> <83h78nqguu.fsf@gnu.org> <87wnhj152u.fsf@elite.giraud> <83a6efqepd.fsf@gnu.org> <87sfs75a99.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24357"; mail-complaints-to="usenet@ciao.gmane.io" Cc: manuel@ledu-giraud.fr, emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 25 15:41:59 2022 Return-path: Envelope-to: ged-emacs-devel@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 1nNbnC-00067Y-R1 for ged-emacs-devel@m.gmane-mx.org; Fri, 25 Feb 2022 15:41:59 +0100 Original-Received: from localhost ([::1]:56384 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nNbnB-0001Qf-9H for ged-emacs-devel@m.gmane-mx.org; Fri, 25 Feb 2022 09:41:57 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48104) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nNbI8-0003ZQ-DX for emacs-devel@gnu.org; Fri, 25 Feb 2022 09:09:52 -0500 Original-Received: from [2001:470:142:3::e] (port=35854 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nNbI7-0000G0-HZ; Fri, 25 Feb 2022 09:09:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=pcGKyrzU9Y+aMN/gPhwxSGAnqTjDUD6eX30ZxyJnn5k=; b=AYkbkRHZmI71 TqM9s0I5T+9lLWGaGtN1u6s+TD4i8BbwJVqg4NOftlBsw6sXNLYpliQIGkH96mtEPVz9xd/oHSVfa 4DfM81yjhxdVkR2SGgfhr1Z1/LG+i9N7ty3M2PPcVD7wcAFP1ghzNHYX3nG/b7NgcH6BWiKC3sdHC npUR0S4g05oQ3EFwO3mBooLl0IQPXUhphmoJJrpmAc8w8LK9BH6n8M4RJYIDofjw4+3MR/pGJMB4R yqZNKqRIQzrI7A0rX8brfVsVFIU3G9JNUIkJqXftcS0CaPxyRPEGgyEQeq6bFRuyk5t9VWZhZuo3P QG1G5FIUMG2yyn3VFaJCZA==; Original-Received: from [87.69.77.57] (port=3423 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 1nNbI7-0002oS-15; Fri, 25 Feb 2022 09:09:51 -0500 In-Reply-To: <87sfs75a99.fsf@yahoo.com> (message from Po Lu on Fri, 25 Feb 2022 21:46:58 +0800) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:286683 Archived-At: > From: Po Lu > Cc: Manuel Giraud , emacs-devel@gnu.org > Date: Fri, 25 Feb 2022 21:46:58 +0800 > > Eli Zaretskii writes: > > > They are available in gui_produce_glyphs (look for "pcm"). > > Unfortunately, that's not available inside the Lucid menu widget. Can't you arrange for the same font to be used as the default face's font, and then look in gui_produce_glyphs? > > So is this just an aesthetic issue? If so, perhaps adding a variable > > exposed to Lisp could be enough: then users who, like you, dislike the > > default display, can control the offset. > > It would be better as an X resource, IMHO. I don't think I agree. We support X resources where they already exist; we don't (or at least shouldn't) invent new resources. I don't see why we couldn't use a Lisp variable to affect how Lucid menus are displayed. Am I missing something?