From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Entering emojis Date: Tue, 26 Oct 2021 18:36:25 +0200 Message-ID: <87h7d3g2uu.fsf@gnus.org> 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> 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="7089"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Eli Zaretskii , Gregory Heytings , Emacs developers To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 26 18:41:23 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 1mfPVq-0001eT-Vp for ged-emacs-devel@m.gmane-mx.org; Tue, 26 Oct 2021 18:41:22 +0200 Original-Received: from localhost ([::1]:46960 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfPVp-0008Oy-PN for ged-emacs-devel@m.gmane-mx.org; Tue, 26 Oct 2021 12:41:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35758) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfPRE-0000wO-OK for emacs-devel@gnu.org; Tue, 26 Oct 2021 12:36:37 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:59100) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfPRC-0004p9-Nm; Tue, 26 Oct 2021 12:36:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=AjLXvnyIoPF1G+XK1fxZuQd13QxEYvPKK7gbEKNjsT4=; b=pnaOSgYf/EJV4RcQfv0cjYnbcw efDBmpez985x3NTjAge4bAhK7i+gYvHmBsbfTaV/KvSyRbCG6S9H6wO4P5/ZSFobE1JUeHPO8p/Yu tHu5aLGlNbSxPXqW7OdAeUSuHOwYUMCacJrbhgGsobqJO4xLnIpDBfQd1bxqe2D0BKgs=; Original-Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mfPR6-0005Sl-7E; Tue, 26 Oct 2021 18:36:31 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEVnY18vLCeBfXiG gn2jnZnEvbjo4t7///+SvkamAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+UKGhAfIBVbAu0AAAGMSURB VDjLhdRdcuMgDABg4TB9hqkP0HpzgI7dAzgB8uzpIp53W8P9j1CZPwc3O6sXJ/4iCStKAB6FlBIe B/sXQIZuiB8TDQzjOE1qHAbWFp6mSVMo/U5wlwJKl2DymXU71Ptayv5yGl4egVj4NA6PwHOtiuwA 4s3TZVJJ7A79HOKLKfbBGGYDyRPocQekxCt78gliMSyhFbutuaqiYuhCzrnCDlQMA0WEDzD1JNTf hRge8TdoLEBdQigyw69Qzz5WCLOEzprywKoCDZ3iVfa5T4G/MofwLVz+B9B7bIBl6HVAew9vkMCA Q7yHq4g5wspbC7NkgvaK/xFp1BVAsm3hnhfhjpAO+xOiALc/SultP4ezBdNCZ7f17PQR/HkFeOm0 xrmF1RAovgE/gAd4p/dmhgYsehG/I7OcTJPhMuiFN2DdKk4xYz2bOKwM6L6Aa4MEugHrPiNsZQ6l Fq7joq4FXIaLoMebWV9LYYE8XnuA20UCoxGL2gNdApb+Q+4gptBu1h9rhS2Fxl0hzeobYWz8Qfjf GCcAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjEtMTAtMjZUMTY6MzE6MzIrMDA6MDCrpOUJAAAAJXRF WHRkYXRlOm1vZGlmeQAyMDIxLTEwLTI2VDE2OjMxOjMyKzAwOjAw2vldtQAAAABJRU5ErkJggg== X-Now-Playing: Perfume Genius's _Set My Heart on Fire, Immediately_: "Without You" In-Reply-To: <87lf2fg44h.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 26 Oct 2021 18:09:02 +0200") Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, 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:277890 Archived-At: So I'm trying to figure out how this all maps up. In the labels file, we have (for instance) =F0=9F=91=AE=E2=80=8D=E2=99=82= =EF=B8=8F (a male police officer). I can find that glyph in emoji-zwj-sequences: 1F46E 200D 2642 FE0F ; man police officer = # E4.0 [1] (=F0=9F=91=AE=E2=80=8D=E2= =99=82=EF=B8=8F) 1F46E 1F3FB 200D 2640 FE0F ; woman police officer: light= skin tone # E4.0 [1] (=F0=9F=91=AE=F0=9F=8F=BB= =E2=80=8D=E2=99=80=EF=B8=8F) 1F46E 1F3FB 200D 2642 FE0F ; man police officer: light s= kin tone # E4.0 [1] (=F0=9F=91=AE=F0=9F=8F=BB= =E2=80=8D=E2=99=82=EF=B8=8F) 1F46E 1F3FC 200D 2640 FE0F ; woman police officer: mediu= m-light skin tone # E4.0 [1] (=F0=9F=91=AE=F0=9F=8F=BC= =E2=80=8D=E2=99=80=EF=B8=8F) 1F46E 1F3FC 200D 2642 FE0F ; man police officer: medium-= light skin tone # E4.0 [1] (=F0=9F=91=AE=F0=9F=8F=BC= =E2=80=8D=E2=99=82=EF=B8=8F) 1F46E 1F3FD 200D 2640 FE0F ; woman police officer: mediu= m skin tone # E4.0 [1] (=F0=9F=91=AE=F0=9F=8F=BD= =E2=80=8D=E2=99=80=EF=B8=8F) etc. But there's no mapping from that glyph to these other ones except by ... being in the vicinity... and the "woman" forms aren't variants. Hm... Aha! common/annotationsDerived/en.xml has man police officer: light skin tone man police officer: medium-light skin tone man police officer: medium skin tone So I can find "man police officer" in the sequences file, and then get the derivations from that XML file? Geez. Well, that sounds doable, and I hope that those names for the glyphs are the same in both files. :-/ --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no