From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: ace-window and font face not working
Date: Thu, 29 Jul 2021 12:03:17 +0300 [thread overview]
Message-ID: <83pmv1sd9m.fsf@gnu.org> (raw)
In-Reply-To: <CAKoxK+5hCM_S6j+49yjpu_rr+tU8dUg5_crdkdkJPPrT42ONrg@mail.gmail.com> (message from Luca Ferrari on Thu, 29 Jul 2021 10:18:38 +0200)
> From: Luca Ferrari <fluca1978@gmail.com>
> Date: Thu, 29 Jul 2021 10:18:38 +0200
>
> On Mon, Jul 26, 2021 at 3:19 PM Luca Ferrari <fluca1978@gmail.com> wrote:
> > (custom-set-faces
> > '(aw-leading-char-face
> > ((t (:inherit ace-jump-face-foreground :height 30 :weight
> > bold :foreground "#00ffff" :background "#0000ff")))))
> >
>
> I'm still fighting with this, however I've made some steps forward:
> 1) the aw-ledaing-char-face is not honored in terminal window because
> any face size is not, since the terminal is driving the font size. In
> other words, the above almost works in GUI Emacs but
> 2) no matter where I place the above snippet, it does not work once
> GUI Emacs is started unless M-x evaluate-region
Both results are expected.
> Why do I need to re-evaluate the region after Emacs has started?
Because as long as at least one GUI frame is created, Emacs doesn't
have access to GUI capabilities that can affect the selected fonts.
Assuming that you start Emacs with -nw or as a daemon, you need to
have face customizations that require GUI features in
after-make-frame-functions, not in your init file.
prev parent reply other threads:[~2021-07-29 9:03 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-26 13:19 ace-window and font face not working Luca Ferrari
2021-07-26 13:32 ` Eli Zaretskii
2021-07-29 8:18 ` Luca Ferrari
2021-07-29 9:03 ` Eli Zaretskii [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=83pmv1sd9m.fsf@gnu.org \
--to=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.