From: Heime <heimeborgia@protonmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Setting face attribute with height specification
Date: Sun, 23 Jun 2024 19:04:05 +0000 [thread overview]
Message-ID: <2XrJ9rfJDCoJ-tis31YGCI1apot4S2WF4HAUXETqjYEMnLuTm6Xx_d3f3ZaGTu0Ajyqle_7a2byIEpoDk9PI30kqHq23bysZu8LQ4gf-Meo=@protonmail.com> (raw)
In-Reply-To: <86r0cncx5g.fsf@gnu.org>
Sent with Proton Mail secure email.
On Sunday, June 23rd, 2024 at 6:49 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> > From: Yuri Khan yuri.v.khan@gmail.com
> > Date: Mon, 24 Jun 2024 01:44:46 +0700
> > Cc: Eli Zaretskii eliz@gnu.org, help-gnu-emacs@gnu.org
> >
> > Possible solution:
> >
> > `(:family "URW Chancery L" :height ,(string-to-number face-height))
>
>
> There should be no need for backticks and their ilk in this case. The
> values should be evaluated right away.
Yuri is likely correct because the following does work, whereas without the backtick
and commas, it fails.
(buffer-face-mode-invoke `(:family ,face-family :height ,(string-to-number face-height)) t)
But still have got a problem with this one here
(set-face-attribute 'default nil :family face-family :height (string-to-number face-height))
prev parent reply other threads:[~2024-06-23 19:04 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-22 21:59 Setting face attribute with height specification Heime
2024-06-23 5:08 ` Eli Zaretskii
2024-06-23 14:58 ` Heime
2024-06-23 17:31 ` Heime
2024-06-23 17:54 ` Eli Zaretskii
2024-06-23 18:09 ` Heime
2024-06-23 18:21 ` Eli Zaretskii
2024-06-23 18:34 ` Heime
2024-06-23 18:47 ` Eli Zaretskii
2024-06-23 19:19 ` Heime
2024-06-23 19:30 ` Eli Zaretskii
2024-06-23 18:44 ` Yuri Khan
2024-06-23 18:49 ` Eli Zaretskii
2024-06-23 19:04 ` Heime [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='2XrJ9rfJDCoJ-tis31YGCI1apot4S2WF4HAUXETqjYEMnLuTm6Xx_d3f3ZaGTu0Ajyqle_7a2byIEpoDk9PI30kqHq23bysZu8LQ4gf-Meo=@protonmail.com' \
--to=heimeborgia@protonmail.com \
--cc=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.