From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#65993: 29.1; emoji-insert show nothing without font settings Date: Fri, 15 Sep 2023 18:36:33 +0300 Message-ID: <83led7jvni.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14347"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65993@debbugs.gnu.org To: awrhygty@outlook.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 15 17:37:22 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qhAsj-0003Xu-Ua for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 Sep 2023 17:37:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qhAsP-0001mk-Gz; Fri, 15 Sep 2023 11:37:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qhAsM-0001mK-2n for bug-gnu-emacs@gnu.org; Fri, 15 Sep 2023 11:36:58 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qhAsK-00074I-0Y for bug-gnu-emacs@gnu.org; Fri, 15 Sep 2023 11:36:56 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qhAsQ-0003oJ-FR for bug-gnu-emacs@gnu.org; Fri, 15 Sep 2023 11:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Sep 2023 15:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65993 X-GNU-PR-Package: emacs Original-Received: via spool by 65993-submit@debbugs.gnu.org id=B65993.169479221814630 (code B ref 65993); Fri, 15 Sep 2023 15:37:02 +0000 Original-Received: (at 65993) by debbugs.gnu.org; 15 Sep 2023 15:36:58 +0000 Original-Received: from localhost ([127.0.0.1]:44477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhAsL-0003nt-MM for submit@debbugs.gnu.org; Fri, 15 Sep 2023 11:36:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39770) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhAsI-0003nX-8x; Fri, 15 Sep 2023 11:36:56 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qhAs6-000714-2z; Fri, 15 Sep 2023 11:36:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=hJYkjdUr279c8dWHCOStUB+D8qfqUh+8PTkDZ8M+/i8=; b=BX/Fu2DHH1Hh 68LE5/Drbp9W5IxI+kdLepFfM/Lcw504O6CiU3w7vetmbps5xmFL3O6Gx/+dPAEsbgqYCVgfdz3z5 1EwlPx5/LRvNy/mT3lfGfLfeV4AiUy+ggcQHP71IMnsn+OFhlAoJZKcY3QXKMyB04fbeazMUI01+c 9hyNuOWdi3qMNpVSCCQswzZwgxlETarbBaBZTr7EmHsBXc2f9WoDsWpyMksxroVWfajaY1288p2Yp eFwfll1J9VUT2Ow6Js2ID7L2/43zHn9g4rpSQ4EfYjQ26r90Q8XfKLIxMXcupBhLErGQvkKzCHGma nnzdI3IFSrVW12UHJSwZiw==; In-Reply-To: (awrhygty@outlook.com) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:270542 Archived-At: 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.