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#63731: [PATCH] Support Emoji Variation Sequence 16 (FE0F) where appropriate Date: Fri, 26 May 2023 20:27:26 +0300 Message-ID: <83jzwvj94x.fsf@gnu.org> References: <87a5xrzsph.fsf@stebalien.com> <83pm6nlhll.fsf@gnu.org> <87v8gfmqyt.fsf@gmail.com> <83ilcflbua.fsf@gnu.org> <87mt1rmjjg.fsf@gmail.com> <83v8gfjnzj.fsf@gnu.org> <87edn3mbr3.fsf@gmail.com> <83mt1rjg69.fsf@gnu.org> <875y8fm7x7.fsf@gmail.com> <83lehbjdjd.fsf@gnu.org> <87wn0vkqn1.fsf@gmail.com> 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="15114"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 63731@debbugs.gnu.org, steven@stebalien.com To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 26 19:28:22 2023 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 1q2bEj-0003kU-Fa for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 26 May 2023 19:28:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q2bES-0002lZ-Cz; Fri, 26 May 2023 13:28:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q2bEQ-0002l9-UL for bug-gnu-emacs@gnu.org; Fri, 26 May 2023 13:28:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q2bEQ-0008NK-Mq for bug-gnu-emacs@gnu.org; Fri, 26 May 2023 13:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q2bEQ-00054Y-Ad for bug-gnu-emacs@gnu.org; Fri, 26 May 2023 13:28: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: Fri, 26 May 2023 17:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63731 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 63731-submit@debbugs.gnu.org id=B63731.168512202319418 (code B ref 63731); Fri, 26 May 2023 17:28:02 +0000 Original-Received: (at 63731) by debbugs.gnu.org; 26 May 2023 17:27:03 +0000 Original-Received: from localhost ([127.0.0.1]:50736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2bDS-000537-Mg for submit@debbugs.gnu.org; Fri, 26 May 2023 13:27:02 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q2bDQ-00052e-Vr for 63731@debbugs.gnu.org; Fri, 26 May 2023 13:27:01 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q2bDL-0008Gx-Gg; Fri, 26 May 2023 13:26:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=sG0djJcTrd8299jrodEHPv7nd5cVRxKD5Kq6yaniy9U=; b=k8xQuNP/qN+b3/Hn5dny Xhgn/Zisl0X6G3OIcMV8XK2e6PpkjPCNWWA4JbptFDIm6kKegAYXqoBVGcjhUbWd/8Kz0ZxMRsyIL LecdfNwgHJVdSRtLaLDHlxzG93+6fUiA3L69IRQqLAr17yWvVnPOiR0vS60gAKApCdMqZP3tGYC8b xShW2c3+H9F3iyyFDgERQXCO/jTd4MT//qRdk69HqKi6pfrU8mBD/L1s8kDuoBqbDjzLLZE9E7f7U SBNhxz8OHApAkO2qfydrBwam4pa1siTcLVz3/3Mq4VKC1Fum0yKczvdNrMN7t8rDjMo/l1PW+5vcf JedPybhc14kczw==; Original-Received: from [87.69.77.57] (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 1q2bDK-0001q2-MM; Fri, 26 May 2023 13:26:55 -0400 In-Reply-To: <87wn0vkqn1.fsf@gmail.com> (message from Robert Pluim on Fri, 26 May 2023 18:24:02 +0200) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:262446 Archived-At: > From: Robert Pluim > Cc: 63731@debbugs.gnu.org, steven@stebalien.com > Date: Fri, 26 May 2023 18:24:02 +0200 > > >>>>> On Fri, 26 May 2023 18:52:22 +0300, Eli Zaretskii said: > > Eli> Anyway, I think you should install the patch on emacs-29, and we > Eli> should then try to fix the text-representation bug with VS-15 on > Eli> master. (I guess it requires a change to font.c or something?) > > It requires something that answers the question "what font would we > use for this codepoint if it was not an emoji?". Maybe we can have a > separate fontset that pretends that the emoji script is equivalent to > symbol? Or invent some kind of 'text-presentation-font' property to > put somewhere? I'm not sure I understand why we don't select the right font by default. Selecting a non-Emoji font for a non-Emoji codepoints should not need any special tricks. > >> Yes. Iʼve also got a change that makes Emoji_Keycap_Sequence work, but > >> I think we can leave that for master. > > Eli> Depends on the solution, I guess. Isn't it just a change to the > Eli> VS-16's entry in composition-function-table? Or maybe a change in the > Eli> #x20e3's entry? (Did we discus the Emoji_Keycap_Sequence case before?) > > Itʼs a change to the VS-16 entry. We did discuss it before, and > decided to put it aside because the solutions all involved adding > composition-function-table entries for 0-9 or similar. I donʼt > remember why we didnʼt consider adding to VS-16ʼs entry. > > Iʼll do some more testing, and post a final version hopefully this > weekend sometime. OK, thanks.