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: Mon, 20 Sep 2021 15:50:49 +0200 Message-ID: <8735pzjqyu.fsf@gmail.com> References: <834kd2cypw.fsf@gnu.org> <831r86cxdy.fsf@gnu.org> <83a6kgejp0.fsf@gnu.org> <87wnnkpjj9.fsf@gmail.com> <3E0155F6-D681-4443-A1D9-472D1836168D@traduction-libre.org> <87bl4rnyoe.fsf@gmail.com> <877dffnwf5.fsf@gmail.com> <875yuzciaf.fsf@gmail.com> <87tuijm9uy.fsf@gmail.com> <87lf3v2dz4.fsf@gmail.com> <87ilywl8tx.fsf@gmail.com> <877dfcz6zu.fsf@gmail.com> <83mto73mem.fsf@gnu.org> <87ee9jhint.fsf@gmail.com> <838rzr3fhm.fsf@gnu.org> <87h7efk5c3.fsf@gmail.com> <83y27r1sku.fsf@gnu.org> <87czp3jt5z.fsf@gmail.com> <83lf3r1j8h.fsf@gnu.org> <83k0jb1iqg.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="5693"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, kevin.legouguec@gmail.com To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 20 15:52:35 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 1mSJil-0001OI-4K for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Sep 2021 15:52:35 +0200 Original-Received: from localhost ([::1]:43642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSJij-0005Z6-74 for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Sep 2021 09:52:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSJhC-00046v-Ed for emacs-devel@gnu.org; Mon, 20 Sep 2021 09:50:59 -0400 Original-Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:46636) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mSJh7-0006jY-Uh; Mon, 20 Sep 2021 09:50:57 -0400 Original-Received: by mail-wr1-x433.google.com with SMTP id x6so29877923wrv.13; Mon, 20 Sep 2021 06:50:52 -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=Ww1YbpNVeiP/J8UESqlPFcf8C5HiAtK3CTz5k4pa0UM=; b=DSRub/bMujdlV+xy+vmeYrxN1+Y2ExlzG+HccIHgDiR0h4fXFXrHLPj6tA1sZISsMF /6DDEqNuMhavy3Em8WDf3QKuBK9xKoGkd8nJg/B7dx5rzjwutX3vy/PgZeB0iI87TPsW M8U14i38UqQVSM5K5rjOvreELYDvG/YH286j8eVAKiRuvzR1VnBNg0VaWAbMIN+X4psb prqzJq/hnbm3veqGGt62KzECqZy+ESdRCszpHaRqrT8ml4nIRpFVoAfQpFHQiD9AaoPd Z4BM4C9ERAFO5ub4+3diXbvvnDiHy0VVOjkaD6fK1IlD597euIj211oM5fpoGwHjjoY3 WHTA== 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=Ww1YbpNVeiP/J8UESqlPFcf8C5HiAtK3CTz5k4pa0UM=; b=xEVQPtTPPuUedi4fEVoFCTIs07Cp2EeuDQMteJhJ2VmCC1fGo3tFRGWX8RVegpUksX iDf2c7+SLbdENxcLmUjWkcnII4rTFia9BBhPxZ93ecv/yzbPgY6IDLaSr+Km6mi/08DS zpm3SaljEX5QUUGrOMmmmlswnGRIIK5bUDRIvHOcjTVwxle93ak8q8bbgyXFQk4ktbT/ GdXOZYC6Cd7RidOvgiHbe4zGsBzpBaeSKtvFtRCSJYaxkeQF/rwKVVrlp6jbjozfBFoK 4ygCVN6Ejaa4DyI376lq/N8tVNMFfjTgD+VugArGfUZG2/G13A4k23++B3cT61GmyEZn hiLA== X-Gm-Message-State: AOAM5305hL5M7TQANMroddveFrmD5i4Tz6IhIOZJVEtzDWy2vRSZp4u1 RjIdpl+19X1adr8LZmiwkD1FA3umeOg= X-Google-Smtp-Source: ABdhPJxRrJ55ZIqQxeKJts4gVdoD6T3HhhbcxdHt9Wo7wpWY+EnZWq+2/U2msCyXDICvpR4SOk4aiA== X-Received: by 2002:a5d:544c:: with SMTP id w12mr15295660wrv.398.1632145850367; Mon, 20 Sep 2021 06:50:50 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id o19sm7280982wrg.60.2021.09.20.06.50.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Sep 2021 06:50:49 -0700 (PDT) In-Reply-To: <83k0jb1iqg.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 20 Sep 2021 16:25:59 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=rpluim@gmail.com; helo=mail-wr1-x433.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.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, FREEMAIL_REPLY=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:275135 Archived-At: >>>>> On Mon, 20 Sep 2021 16:25:59 +0300, Eli Zaretskii said: >> Date: Mon, 20 Sep 2021 16:15:10 +0300 >> From: Eli Zaretskii >> Cc: kevin.legouguec@gmail.com, emacs-devel@gnu.org >>=20 >> > So we get to pick our poison: complete consistency with the >> > Emoji_Presentation property from emoji-data.txt, or having complete >> > coverage for emoji-zwj-sequences.txt. Eli? (I=CA=BCll admit to hav= ing a >> > slight preference for the latter, given that I find Emoji_Presenta= tion >> > to be somewhat arbitrary for quite a few codepoints) >>=20 >> I agree: we should use the latter, at least for now. Eli> Btw, we could perhaps tweak the composition code to produce emoji Eli> representation for the likes of U+231A followed by VS-16, even tho= ugh Eli> U+231A etc. aren't in the emoji script. Remind me about this after Eli> the basic emoji composition code is installed, and let's see if it Eli> could be improved for those sequences. ? U+231A has Emoji_Presentation=3DYes. In any case, don=CA=BCt you need at least one codepoint to be using the emoji font to do that? (Noto Color Emoji doesn=CA=BCt have a glyph for VS-16, so that can=CA=BCt be used) As another aside: lisp/language/japanese.el sets up some composition-function-table entries for the Variation Selectors already, so eg U+231A U+FE0F already gets composed. Robert --=20