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.help Subject: Re: :family and :height in set-face-attribute Date: Mon, 24 Jun 2024 19:29:46 +0300 Message-ID: <868qyub8xx.fsf@gnu.org> References: <86h6dibixi.fsf@gnu.org> <86bk3qbbik.fsf@gnu.org> <07j6QHJQ4wAP4UfVl54iqBZ9CYUG0fju9zaGZJ1rHyS1D18iP1Mcj3fCg275LwQbywdXakx-CiGut25icmfEV26D2SeUrsqZDDcZNPb9jzU=@protonmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8602"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jun 24 18:30: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 1sLmaJ-0001zo-Gl for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 24 Jun 2024 18:30:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sLmZk-0003Iv-LZ; Mon, 24 Jun 2024 12:29:52 -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 1sLmZj-0003IU-5C for help-gnu-emacs@gnu.org; Mon, 24 Jun 2024 12:29:51 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sLmZi-0003fl-TN for help-gnu-emacs@gnu.org; Mon, 24 Jun 2024 12:29:50 -0400 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=URnND7r6Nnw5yO86uGEDYELP3PdA/gLmo5J9th9VCRg=; b=Uk7gjp0jOwDb NM/VPr9I8fcHcAmSrB0U+ISibvxi6pSHOQCZIlUvCQj6wL53y9RhAXFknsIKu2Kn3aDxtZJjJOEMQ 8lVjWebyVPDAldN3hd6h5fze5qLS2zNfHWBUSOQlbb8zTyI6dCWt09zKTO7qd2Ffx93N/1sZmMRyU WT+VAFtp1NLkQjlj4nVSvMBRXFK455HyBewJ69mMIQVeT/BqV/0GMPy/YzEFx9OuummypW5l/gACi 8naViYm20oK227B5RUN6wneaSgF6F62CmIRwhwxamsphWvo7dd65xv6E+dISY6QDnN/VEV4Y1PHxf h799DrqJ0osVXmDJ0SEv4A==; In-Reply-To: <07j6QHJQ4wAP4UfVl54iqBZ9CYUG0fju9zaGZJ1rHyS1D18iP1Mcj3fCg275LwQbywdXakx-CiGut25icmfEV26D2SeUrsqZDDcZNPb9jzU=@protonmail.com> (message from Heime on Mon, 24 Jun 2024 15:39:07 +0000) 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:146984 Archived-At: > Date: Mon, 24 Jun 2024 15:39:07 +0000 > From: Heime > Cc: help-gnu-emacs@gnu.org > > > > (set-face-attribute 'default nil > > > > > > :family face-family :height (string-to-number face-height)) )) > > > > > > Come on, can't you just show the values you use in the > > set-face-attribute call? > > I use the strings in cseq > > > Also, is the value of face-family with which you call > > set-face-attribute one of the families returned by font-family-list? > > Yes they are. Calling buffer-face-mode-invoke does what is expected to happen. But not for set-face-attribute. 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).