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#54441: 28.0.92; set-language-environment causes Apple Color Emoji cannot show up Date: Sat, 19 Mar 2022 11:33:06 +0200 Message-ID: <83k0cqffsd.fsf@gnu.org> References: <83a6dnhhxt.fsf@gnu.org> <83mthmfn6w.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12947"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mituharu+bug-gnu-emacs-mac@math.s.chiba-u.ac.jp, 54441@debbugs.gnu.org To: Will Chang Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 19 10:34:15 2022 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 1nVVTT-000380-CP for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Mar 2022 10:34:15 +0100 Original-Received: from localhost ([::1]:47564 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nVVTR-0003P5-W9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 19 Mar 2022 05:34:14 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58770) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVVTG-0003Or-Io for bug-gnu-emacs@gnu.org; Sat, 19 Mar 2022 05:34:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36876) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nVVTG-0007oz-5h for bug-gnu-emacs@gnu.org; Sat, 19 Mar 2022 05:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nVVTG-0001xV-1i for bug-gnu-emacs@gnu.org; Sat, 19 Mar 2022 05:34: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: Sat, 19 Mar 2022 09:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54441 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 54441-submit@debbugs.gnu.org id=B54441.16476823967468 (code B ref 54441); Sat, 19 Mar 2022 09:34:02 +0000 Original-Received: (at 54441) by debbugs.gnu.org; 19 Mar 2022 09:33:16 +0000 Original-Received: from localhost ([127.0.0.1]:59006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nVVSW-0001wO-2G for submit@debbugs.gnu.org; Sat, 19 Mar 2022 05:33:16 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nVVSS-0001w7-Vx for 54441@debbugs.gnu.org; Sat, 19 Mar 2022 05:33:14 -0400 Original-Received: from [2001:470:142:3::e] (port=58738 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVVSM-0007aU-WC; Sat, 19 Mar 2022 05:33:07 -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=ApZZqaJ47CEPYFAd8rAc6RaG69lYuQQy0iSNX6znzAM=; b=CPxJ2HvvXyII nYRNBGl59nLx3HTKYr6aLZu0zK6VqPBepE+w0/fZJ/+BWlvGY0UBZz5kjiY7C97gX4cIW4xwqn+PX DLxMgFeIZLVDjEVn8tmI5bhVFrh5uOkdCwTtUwVh0xumAjFE812Q8bK1aIxJqImroT4J4HMjJo2VI 3/Qi+Sr887WukaaGGlihivMHq1gW5APMPxTCTfw1cZlfQiQrbnjVgMqRQQlRvMLtNhMsUVY1j0yBT C7XeXkbh02DUBPAomMO7p/xEgNrt8MJC2/jscBBDTogQhO2gr1v4fYrW09qBlvY8xnNpK+F9sY6Sl tqF6TzHu5oU2ox6Lkv8tTA==; Original-Received: from [87.69.77.57] (port=1383 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVVSL-0004OR-Lm; Sat, 19 Mar 2022 05:33:06 -0400 In-Reply-To: (message from Will Chang on Sat, 19 Mar 2022 17:24:17 +0800) 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" Xref: news.gmane.io gmane.emacs.bugs:228585 Archived-At: > From: Will Chang > Date: Sat, 19 Mar 2022 17:24:17 +0800 > Cc: 54441@debbugs.gnu.org, mituharu+bug-gnu-emacs-mac@math.s.chiba-u.ac.jp > > I searched this problem again and found: > https://www.reddit.com/r/emacs/comments/pmghug/how_to_correctly_display_multicharacter_emojis/ > https://lists.gnu.org/archive/html/emacs-devel/2021-09/msg01238.html > > The code below can solve the problem. > > (set-fontset-font t 'emoji '("Apple Color Emoji" . "iso10646-1") nil 'prepend) > > or > > (set-fontset-font t '(#x1f000 . #x1faff) (font-spec :family "Apple Color Emoji")) So if you use the above instead of your original set-fontset-font, the problem disappears, and the emoji are displayed correctly even after set-language-environment, is that right?