From: Eli Zaretskii <eliz@gnu.org>
To: awrhygty@outlook.com
Cc: 65993@debbugs.gnu.org
Subject: bug#65993: 29.1; emoji-insert show nothing without font settings
Date: Fri, 15 Sep 2023 18:36:33 +0300 [thread overview]
Message-ID: <83led7jvni.fsf@gnu.org> (raw)
In-Reply-To: <TYZPR01MB392041701D6A7C3666C4EE0FC3F6A@TYZPR01MB3920.apcprd01.prod.exchangelabs.com> (awrhygty@outlook.com)
merge 65993 65138
thanks
> From: awrhygty@outlook.com
> Date: Fri, 15 Sep 2023 21:06:18 +0900
>
>
> Without font settings, almost all emojis are not displayed within emacs,
> and emoji-insert does not show any leaf menu items.
> For example, typing 'C-x 8 e e s s' (Emoji > Smileys > smiling)
> emacs shows empty minibuffer(no string shown).
>
> In such situation I can not understand what is going on.
> Empty menu should show some information or raise an error.
This is a duplicate of bug#65138, for which we don't yet have a
solution. Patches welcome.
> And once emoji-insert is called before font setting,
> emoji-insert does not show emoji items after they are made visible in
> emacs buffer with font settings.
This is not a bug: you need to clear the font cache to get Emacs to
react to newly-installed fonts without restarting Emacs. Like this:
M-: (clear-font-cache) RET
> Here is a sample setting to display emojis:
> (set-fontset-font nil '(#x1f000 . #x1faff) "Segoe UI Emoji")
Segoe UI Emoji is not a free font, so we cannot advertise it in Emacs.
You could tell Emacs about any fonts you have that support Emoji by
using the function w32-find-non-USB-fonts, see its doc string for
details.
In addition, Emacs 29 comes pre-configured to use the Noto Emoji font
on MS-Windows for showing Emoji, but you need to install that font
first.
next prev parent reply other threads:[~2023-09-15 15:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-15 12:06 bug#65993: 29.1; emoji-insert show nothing without font settings awrhygty
2023-09-15 15:36 ` Eli Zaretskii [this message]
2023-09-16 6:12 ` awrhygty
2023-09-16 6:47 ` Eli Zaretskii
2023-09-17 9:37 ` awrhygty
2023-09-17 10:42 ` Eli Zaretskii
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=83led7jvni.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=65993@debbugs.gnu.org \
--cc=awrhygty@outlook.com \
/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.