bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#58632: Setting Apple's emoji font on macOS in daemon mode


From: Stefan Kangas
Subject: bug#58632: Setting Apple's emoji font on macOS in daemon mode
Date: Sun, 3 Sep 2023 02:31:21 -0700

Robert Pluim <rpluim@gmail.com> writes:

>>>>>> On Wed, 19 Oct 2022 12:20:53 +0000, Tor Kringeland 
>>>>>> <tor.kringeland@ntnu.no> said:
>
>     Tor> Minimal reproducing example:
>     Tor> Run
>
>     Tor>   emacs -Q --daemon --eval "(set-fontset-font t 'unicode \"Apple 
> Color Emoji\")"
>
>     Tor> and insert an emoji.  It will not be rendered by the Apple Color 
> Emoji
>     Tor> font.  This wasn't the case on the build from a week or two ago (and
>     Tor> builds for many months before that).
>
> I find that surprising, Iʼd expect it to never work. Can you identify
> exactly when it changed? And please do
>
>     (set-fontset-font t 'emoji \"Apple Color Emoji\")
>
> What you have slows down font lookup for all codepoints.

More information was requested, but none was given within close to a
year, so I'm closing this bug.  If this is still an issue, please reply
to this email (use "Reply to all" in your email client) and we can
reopen the bug report.

>
>     Tor> It works if I do not run Emacs in
>     Tor> daemon mode or explicitly set the font after having connected a 
> client.
>     Tor> Is this a bug or is there another way I should specify the emoji 
> font?
>
> Emacs in daemon mode doesnʼt have a gui frame to work with, so things
> like setting fonts tend not to work [1]. You can either use
> `default-frame-alist' to set the `font' frame parameter, or you can
> add code to `server-after-make-frame-hook' to set it.
>
> Iʼm not saying there isnʼt a bug, but Iʼm not saying there is one
> either 😀
>
> Robert
>
> Footnotes:
> [1]  Iʼll admit to not understanding the attraction of daemon-mode,
>      but I guess tastes differ.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]