From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Heime Newsgroups: gmane.emacs.help Subject: Re: :family and :height in set-face-attribute Date: Mon, 24 Jun 2024 17:16:52 +0000 Message-ID: References: <86h6dibixi.fsf@gnu.org> <86bk3qbbik.fsf@gnu.org> <07j6QHJQ4wAP4UfVl54iqBZ9CYUG0fju9zaGZJ1rHyS1D18iP1Mcj3fCg275LwQbywdXakx-CiGut25icmfEV26D2SeUrsqZDDcZNPb9jzU=@protonmail.com> <868qyub8xx.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40830"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 24 19:17:27 2024 Return-path: Envelope-to: geh-help-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 1sLnJn-000AQr-5s for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 24 Jun 2024 19:17:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sLnJQ-0000Nm-26; Mon, 24 Jun 2024 13:17:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sLnJP-0000Ne-Af for help-gnu-emacs@gnu.org; Mon, 24 Jun 2024 13:17:03 -0400 Original-Received: from mail-4325.protonmail.ch ([185.70.43.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sLnJL-0004X1-Nx for help-gnu-emacs@gnu.org; Mon, 24 Jun 2024 13:17:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1719249417; x=1719508617; bh=M7dglv4fbzb9aHpFQbq1bJyzfdxxZlO7R8sLclCygSc=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=Nob95rELpkrI49xm4tuIixASP1rm6pXVjcY2zG9QFrK6BS+/odv1GYJvPl/a5AS8s H0TEc1Yxd9M4bcpaTX90BQojHcuK28S4p5W0EE1oh3qPGT2ywXyzVU5BerYw5lg6NU lCwleCydE+iIXisOvVa/rhsxTMwVfRcVqN6XuoRE7V+6IUCKWI3buZ2+9VjDWlZ+g3 kN7D/sRPdDCY0o6z50T4GY322e+U4pUjdHfUViL6euvoSNdF0fNe2UfTvpPU2awYeT IYFgGhH8lTUChmUTHQrqu2Wn6DhjOiBx0xN32YEP1QHeIfBkTo42+JyE9cnt6viO6/ DiP9eObPMpLgQ== In-Reply-To: <868qyub8xx.fsf@gnu.org> Feedback-ID: 57735886:user:proton X-Pm-Message-ID: 13ac648d82cd1689e1245cc63979e9c9c885bed6 Received-SPF: pass client-ip=185.70.43.25; envelope-from=heimeborgia@protonmail.com; helo=mail-4325.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:146985 Archived-At: Sent with Proton Mail secure email. On Monday, June 24th, 2024 at 4:29 PM, Eli Zaretskii wrote: > > Date: Mon, 24 Jun 2024 15:39:07 +0000 > > From: Heime heimeborgia@protonmail.com > > Cc: help-gnu-emacs@gnu.org > >=20 > > > > (set-face-attribute 'default nil > > > >=20 > > > > :family face-family :height (string-to-number face-height)) )) > > >=20 > > > Come on, can't you just show the values you use in the > > > set-face-attribute call? > >=20 > > I use the strings in cseq > >=20 > > > Also, is the value of face-family with which you call > > > set-face-attribute one of the families returned by font-family-list? > >=20 > > Yes they are. Calling buffer-face-mode-invoke does what is expected to = happen. But not for set-face-attribute. >=20 >=20 > Then I don't know why it didn't work for you, sorry. It did work for > me (but with font families I have, not with yours, which I don't > have). The only instance that works is=20 (set-face-attribute 'default nil :font "Wargames")