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#39799: 28.0.50; Most emoji sequences =?UTF-8?Q?don=E2=80=99t?= render correctly Date: Tue, 21 Sep 2021 21:20:07 +0300 Message-ID: <838rzpyenc.fsf@gnu.org> References: <83lfongp4p.fsf@gnu.org> <835zfrglu5.fsf@gnu.org> <83wo86g8pg.fsf@gnu.org> <83h7zafzwh.fsf@gnu.org> <838skmfox6.fsf@gnu.org> <87h7efhtiz.fsf@gmail.com> <83zgs6xhqs.fsf@gnu.org> <87o88mgkj5.fsf@gmail.com> <83tuiexeky.fsf@gnu.org> <87k0jaghlb.fsf@gmail.com> <83mto6xb84.fsf@gnu.org> <87a6k6gfay.fsf@gmail.com> <83ilytyl75.fsf@gnu.org> <875yuthptu.fsf@gmail.com> <83fstxyk1e.fsf@gnu.org> <83czp1yitj.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="721"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rgm@gnu.org, 39799@debbugs.gnu.org, mfabian@redhat.com To: rpluim@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 21 20:21:13 2021 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 1mSkOG-000ARa-AF for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Sep 2021 20:21:12 +0200 Original-Received: from localhost ([::1]:47546 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSkOF-0003EM-0m for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 21 Sep 2021 14:21:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47860) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSkO6-0003Dy-NU for bug-gnu-emacs@gnu.org; Tue, 21 Sep 2021 14:21:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36389) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mSkO6-0006rG-FW for bug-gnu-emacs@gnu.org; Tue, 21 Sep 2021 14:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mSkO6-0006km-AF for bug-gnu-emacs@gnu.org; Tue, 21 Sep 2021 14:21: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: Tue, 21 Sep 2021 18:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39799 X-GNU-PR-Package: emacs Original-Received: via spool by 39799-submit@debbugs.gnu.org id=B39799.163224844825913 (code B ref 39799); Tue, 21 Sep 2021 18:21:02 +0000 Original-Received: (at 39799) by debbugs.gnu.org; 21 Sep 2021 18:20:48 +0000 Original-Received: from localhost ([127.0.0.1]:47935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSkNr-0006jt-Pf for submit@debbugs.gnu.org; Tue, 21 Sep 2021 14:20:47 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSkNq-0006jh-HJ for 39799@debbugs.gnu.org; Tue, 21 Sep 2021 14:20:46 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33576) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSkNk-0006dk-3S; Tue, 21 Sep 2021 14:20:40 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4209 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 1mSkNK-00024p-Kw; Tue, 21 Sep 2021 14:20:38 -0400 In-Reply-To: <83czp1yitj.fsf@gnu.org> (message from Eli Zaretskii on Tue, 21 Sep 2021 19:50:00 +0300) 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:215015 Archived-At: > Date: Tue, 21 Sep 2021 19:50:00 +0300 > From: Eli Zaretskii > Cc: rgm@gnu.org, 39799@debbugs.gnu.org, mfabian@redhat.com > > I will take a look at the code. AFAICT, the composition machinery doesn't allow to have a rule with non-zero PREV-CHARS where PREV-CHARS are supposed to match characters that have their own rules in composition-function-table. Such rules are never considered, because once the rules for a character are processed, we never reconsider what to do with that character. I will ask Kenichi Handa whether my conclusion is indeed correct, but for now, I think we should take the fire escape you mentioned earlier: > >> Iʼve just tried adding "\N{U+1F469}\N{U+1F3FE}" to the composition > >> function table regexp for U+1F469 manually, and now I get correct > >> composition. That means we could process the > >> RGI_Emoji_Modifier_Sequence entries from emoji-sequences.txt with > >> emoji-zwj.awk and add them, indexed on the base character (and remove > >> the above code). > >> > > This turns out to be a pretty small change, so if we donʼt get to the > bottom of it we have an alternative. AFAIU, this means we will add 1F3FB..1F3FF to the characters that can follow each of those which have rules with zero lookback. Thanks.