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: Entering emojis Date: Tue, 26 Oct 2021 19:46:06 +0200 Message-ID: <874k93r869.fsf@gmail.com> References: <87cznths5j.fsf@gnus.org> <83zgqxymd3.fsf@gnu.org> <878rygj4gt.fsf@gnus.org> <83wnm0zz0q.fsf@gnu.org> <874k94j3rn.fsf@gnus.org> <83v91kzydh.fsf@gnu.org> <87tuh4holf.fsf@gnus.org> <822aec9d01909cecfc6c@heytings.org> <87a6iwhltf.fsf@gnus.org> <83tuh4zfg5.fsf@gnu.org> <87y26gfobr.fsf@gnus.org> <87tuh4f1ie.fsf@gnus.org> <87lf2fg44h.fsf@gnus.org> <87h7d3g2uu.fsf@gnus.org> <83bl3bybm3.fsf@gnu.org> <878ryfr9w0.fsf@gmail.com> <878ryfg07k.fsf@gnus.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="33137"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , stefankangas@gmail.com, gregory@heytings.org, emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 26 19:49:51 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 1mfQa7-0008Qu-3i for ged-emacs-devel@m.gmane-mx.org; Tue, 26 Oct 2021 19:49:51 +0200 Original-Received: from localhost ([::1]:51722 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfQa5-0003UV-9z for ged-emacs-devel@m.gmane-mx.org; Tue, 26 Oct 2021 13:49:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49264) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfQWa-00006J-4N for emacs-devel@gnu.org; Tue, 26 Oct 2021 13:46:12 -0400 Original-Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:56088) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mfQWX-0007qt-R9; Tue, 26 Oct 2021 13:46:11 -0400 Original-Received: by mail-wm1-x333.google.com with SMTP id v127so215358wme.5; Tue, 26 Oct 2021 10:46:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=fSvUivC8LQV44IbxA3Sz2MxxrnrflIOcIh8UAc5baXY=; b=El5HdtHfzaZguMzulFQuLoSr+mtJLBPWPCIb2TtEbs8LR2rFihyl4AB6WfZ7SfvZgh ZPoITGzdraEMP8T2c5uzo7cRVjPzUxe0h2MZZKYZK1UCeF6d2c5zuqjifWcaNGM/l2hu /79dXpy6RKy/PSjK2Ye4m5RPfv8ZotcO9j0DhX9+uc9SGkOhtjTOEp3Y+N5aQCvFWOzH fKLTe2dobXQyN1YsDa6M7l4VQEI3edLdrFSG5NJBGOocozSrt4WYd7MsZG1D8HGZGAzB f14TOIaxpQFJcaGPzMeRIk1gKMvPbQboMBxo4YJP6zvmAQ76BCQcUkOVKG01/WxCH4T/ EsLQ== 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 :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=fSvUivC8LQV44IbxA3Sz2MxxrnrflIOcIh8UAc5baXY=; b=QZwLgE/u7xsKeb7fRcwWXVFqxL+o15cRHwb0i+6a3EH65gEz8QiW3EDPuRxy5O3q7n mA7Pr3/A5UirbTCzHlhtGqJd7yGWOn9zRP6ios109iEHOUk4RzChDpWbS8i6KrWmM5j8 cK6ekxXtO0LShHL/oFHTElgGt1IQs2I0DGj8OwFDa70/o0hq9oYxZanDjKsDRmYuqw5M CfGLJ9eyarbCcS+QOjwpe+yuHQ2+lv11l6EUf7EuTwm9r8+3agFR1BroLM67ON7ksLoB HTkFEe1qXBe89VLXeVku6mV3VwC8shAoT1hFBF9csTWEX7OTiGGb4gvv75ql6zDiwxzo QfWA== X-Gm-Message-State: AOAM532gbNChjoQzsaCjwskL8QJoW/wDda4jfxFOAVKEP6Pr4wJpdJcS QRw4J6piuyeitJgBliPeq42HEeliyU4= X-Google-Smtp-Source: ABdhPJxFSPybtpp8Mg5bmOI6d6G6XpPCQjSAloEJgtOCWrz45s0rUVw4xuBrBArXS6TP4oYqnEXkcg== X-Received: by 2002:a05:600c:4854:: with SMTP id j20mr100885wmo.123.1635270367731; Tue, 26 Oct 2021 10:46:07 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id p21sm1194360wmc.11.2021.10.26.10.46.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Oct 2021 10:46:07 -0700 (PDT) Gmane-Reply-To-List: yes In-Reply-To: <878ryfg07k.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 26 Oct 2021 19:33:35 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=rpluim@gmail.com; helo=mail-wm1-x333.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:277907 Archived-At: >>>>> On Tue, 26 Oct 2021 19:33:35 +0200, Lars Ingebrigtsen said: Lars> Robert Pluim writes: >> It=CA=BCs not a no-op: it modifies U+2640 or U+2642 >>=20 >> I=CA=BCm not sure I understand the issue either: the base codepoint = is >> U+1F46E, and emoji-zwj-sequences tells you what the sequences >> are. What else is needed? Lars> There's no VS-16 mixed up with these glyphs -- that a separate is= sue Lars> that I haven't even tried to understand yet. :-) If you want them to display correctly in Emacs you=CA=BCre going to have to use the sequences in emoji-zwj-sequences.txt and emoji-sequences.txt Lars> But back to the people. For instance: Lars> 1F3CC 1F3FB 200D 2640 FE0F ; RGI_Emoji_ZWJ_Sequence ; woman golfi= ng: Lars> light skin tone # E4.0 [1] (=F0=9F=8F=8C=F0=9F=8F=BB=E2=80=8D=E2= =99=80=EF=B8=8F) Lars> (Oh, heh, that one even had a VS-16...) Yes, because of the U+2640 Lars> How am I supposed to go from GOLFER to that glyph? From POLICE O= FFICER Lars> it's no problem getting to "woman police officer: light skin tone= ", Lars> because those use the same name in the UCS file and in the zwj fi= le, but Lars> GOLFING isn't the same as GOLFER. Lars> Are the names just informational, and I'm supposed to look this u= p based Lars> on =F0=9F=8F=8CGOLFER being #x1F3CC? So the first codepoint is w= hat matters for Lars> determining the variants? The field in emoji-zwj-sequences.txt is called 'descriptions', and I think they=CA=BCre not intended to be normative in any way, so probably best to use the base codepoint. Robert --=20