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: Changing string from completing-read to height for buffer-face-mode-invoke Date: Sun, 23 Jun 2024 13:14:21 +0000 Message-ID: References: <86pls7ew16.fsf@gnu.org> <86le2vet0i.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="27060"; 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 Sun Jun 23 15:14:56 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 1sLN3Y-0006py-Aj for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 23 Jun 2024 15:14:56 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sLN37-00061C-0Q; Sun, 23 Jun 2024 09:14:29 -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 1sLN36-00060v-5z for help-gnu-emacs@gnu.org; Sun, 23 Jun 2024 09:14:28 -0400 Original-Received: from mail-4319.protonmail.ch ([185.70.43.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sLN33-0001AX-EL for help-gnu-emacs@gnu.org; Sun, 23 Jun 2024 09:14:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1719148463; x=1719407663; bh=XDMojg6RVrT1OnoaBN5SE2bZnyJXSwzydvkxjdzvLbg=; 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=yQA+ieTroAehiHsc4mzP4pAO72y3p8QYV4WeY6SBa6jWU9zGT2G/EXW1QfWs7aWGX fu5Atq4B6uVvuUMuYnT53HJ8agjtX+YXyLXmrUxYAm2VOPopgkSArmcuSX0c2jf3TU sGvQb+ykA79/IIAOVu1eGKo6UZXnhUBif6h7pDb44Nk9606GNlcsz+yBL60YPrTFz7 I9lTfVIWL6N7s4VirLMjEu3Z2M6vJSKkXMtNInRaHeqMimy5EBI6+KyvLuYWLOvBww qlgcVzoHsPjt3C+ifiXWmt3l0u/KW/MZsFhtKtjVaM9cMZ501WzxQjB5rf5RogevQS oPXMVi5Wx+FgA== In-Reply-To: <86le2vet0i.fsf@gnu.org> Feedback-ID: 57735886:user:proton X-Pm-Message-ID: 6d463b22f79f011a640ea8bdf923bdc33a2373c8 Received-SPF: pass client-ip=185.70.43.19; envelope-from=heimeborgia@protonmail.com; helo=mail-4319.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, 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:146956 Archived-At: Sent with Proton Mail secure email. On Sunday, June 23rd, 2024 at 12:35 PM, Eli Zaretskii wrote: > > Date: Sun, 23 Jun 2024 12:25:42 +0000 > > From: Heime heimeborgia@protonmail.com > > Cc: help-gnu-emacs@gnu.org > >=20 > > On Sunday, June 23rd, 2024 at 11:30 AM, Eli Zaretskii eliz@gnu.org wrot= e: > >=20 > > > > Date: Sun, 23 Jun 2024 10:36:30 +0000 > > > > From: Heime heimeborgia@protonmail.com > > > >=20 > > > > I am using the function falfont to change the font of a buffer or f= rame. > > > >=20 > > > > Do I need to change face-height to an integer rather than keeping i= t as a string ? > > >=20 > > > Yes. > >=20 > > What function would help me do the conversion ? >=20 > string-to-number I do not see the new font being activated with this version (pcase face-family ("Wargames" (if montejura (buffer-face-mode-invoke '(:family face-family :height (string= -to-number face-height)) t) (set-face-attribute 'default nil :family face-family :height (st= ring-to-number face-height))))