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: Robert Pluim
Subject: bug#58632: Setting Apple's emoji font on macOS in daemon mode
Date: Wed, 19 Oct 2022 15:27:22 +0200

>>>>> 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.

    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]