From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: Better emoji support Date: Sun, 19 Sep 2021 20:10:22 +0200 Message-ID: <87r1dkl9m9.fsf@gmail.com> References: <834kd2cypw.fsf@gnu.org> <87zguuttbm.fsf@gmail.com> <8335smcxx6.fsf@gnu.org> <87v95itsc4.fsf@gmail.com> <831r86cxdy.fsf@gnu.org> <83a6kgejp0.fsf@gnu.org> <87wnnkpjj9.fsf@gmail.com> <3E0155F6-D681-4443-A1D9-472D1836168D@traduction-libre.org> <87bl4rnyoe.fsf@gmail.com> <87tuigmyez.fsf@mail.linkov.net> <834kag4gwq.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29589"; mail-complaints-to="usenet@ciao.gmane.io" Cc: lists@traduction-libre.org, emacs-devel@gnu.org, Juri Linkov To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Sep 19 20:13:21 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mS1JY-0007Tn-EB for ged-emacs-devel@m.gmane-mx.org; Sun, 19 Sep 2021 20:13:20 +0200 Original-Received: from localhost ([::1]:60474 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mS1JX-0003tM-C9 for ged-emacs-devel@m.gmane-mx.org; Sun, 19 Sep 2021 14:13:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mS1Gp-0000ji-Ip for emacs-devel@gnu.org; Sun, 19 Sep 2021 14:10:32 -0400 Original-Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:41852) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mS1Gl-0003p4-CQ; Sun, 19 Sep 2021 14:10:30 -0400 Original-Received: by mail-wr1-x432.google.com with SMTP id w29so24576407wra.8; Sun, 19 Sep 2021 11:10:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=lDTnmK17syz111mdknBLulwOVs5EgwasXOrMV+lWiGs=; b=l8fCVkox9dw8105V3z5SJeIsa28/ZZmdz/1w+KKcjl9hTGeH2BDBjBo5PX5Hqb7ph1 wR2LqpqPb7UaEfB/hWgj15+HTt9M90ld6V3zkwMHvOCKT7h7achhJrU2INi5euDE0837 QdkjhONneaFqLiiZXeRluPox+HUp1tzdv4ZTUk3Nlx/kEOEvVjU7GsYHBAiiJuqIsBOl Bb8HYndtugFe+GfzLHNlxGxLddmSTHOOXS49cH/vvaYmbCtxtRb2p7ZkZFRYWUvSqmws wdRuvqQRU7MX4yag/bUxyhiMNvy+i5mdbUyyVKKazgsAVBR/TvtDGH346fNKaz1Q1fvz wWew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=lDTnmK17syz111mdknBLulwOVs5EgwasXOrMV+lWiGs=; b=lTSEqG2qwBBqzFvzonf1M2hGkGIRODG88mQvB9CfPXP5g0fMQM5Rt7GTB6GySC1IBN BmI07YFy8SfrNjoCwZaY3rS8GiVaYajuQfFPgQhu8COtpHzgysskpeygYvS6p4Qijp4E uteLq4Qr5ncjgpRrde62Q4XOxMsFqSIj4bz6q6y7sm2e5pHzvclmGdceYXgsXcoTaVYf JlHsHK7XZDMCSy/WTW9zPLaMrs8nk2pLgUrAm2mfcps6BiI3uVAVvj3EP/InzfoJZ6DT XY0sUnQ4nRSkz1GL4Le8tqH3wAjHPMAmus0fX3tLKupjVcj3jRXyPAkxiZYvC7u+L7If /0rQ== X-Gm-Message-State: AOAM532wR6mxFeNt3vlWlOMr5c9W8KuL6D5aAhWh/azg0bD8edtE0rWv KcwyaVfVAWz8vmqQpFINomXoth6XdGo= X-Google-Smtp-Source: ABdhPJyo+KjbUpmB3MbpNgvQaUrFx4eN8dCNfZFyTR3gJvRYOZRCJxCzHJW2G7VopW/tQbX6VcapTw== X-Received: by 2002:adf:fc0e:: with SMTP id i14mr23982331wrr.173.1632075024034; Sun, 19 Sep 2021 11:10:24 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id h8sm16473814wmb.35.2021.09.19.11.10.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Sep 2021 11:10:23 -0700 (PDT) In-Reply-To: <834kag4gwq.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 19 Sep 2021 20:24:53 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=rpluim@gmail.com; helo=mail-wr1-x432.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:275072 Archived-At: >>>>> On Sun, 19 Sep 2021 20:24:53 +0300, Eli Zaretskii said: >> From: Juri Linkov >> Cc: Jean-Christophe Helary , Eli Zarets= kii >> , emacs-devel@gnu.org >> Date: Sun, 19 Sep 2021 19:09:24 +0300 >>=20 >> Thanks, this is a nice change. I have a problem only with one chara= cter. >> Displaying NORTH EAST ARROW =E2=86=97 with emoji font is inappropria= te to me. Eli> Hmm... Robert, I see quite a few characters that now belong to the Eli> emoji script, which shouldn't be there, AFAIU. The above is one of Eli> them (AFAIK, the Arrows block doesn't belong to Emoji). But there= are Eli> more stark cases, for example: The whole block might not, but some of the codepoints do: 2194..2199 ; Emoji # E0.6 [6] (=E2=86=94=EF=B8=8F..=E2= =86=99=EF=B8=8F) left-right arrow..down-left arrow Eli> (aref char-script-table ?#) =3D> emoji Eli> (aref char-script-table ?0) =3D> emoji I don=CA=BCt see that here (and it=CA=BCs definitely not the intention). Blocks.awk skips any ASCII codepoints (and those both evaluate to "latin" here). Could you double-check your lisp/international/charscript.el? Eli> This is definitely not what we want. Right. Eli> It seems like these characters ended up in the emoji script because Eli> they should render as emoji when followed by variation selectors? = But Eli> in that case, the place to do this is in composition-function-tabl= e, Eli> if we can, and if we cannot, let's for now decide we don't support Eli> these sequences, because the cure sounds worse than the disease wi= th Eli> our current infrastructure. Eli> Am I missing something? Are now saying that we only want to add to the emoji script those characters with Emoji_Presentation=3DYes? Robert --=20