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#57072: [BUG] update-glyphless-char-display and variation selectors Date: Fri, 12 Aug 2022 10:10:17 +0300 Message-ID: <83h72indie.fsf@gnu.org> References: <83edxpvec4.fsf@gnu.org> <83leruq3p3.fsf@gnu.org> <83a68apxbm.fsf@gnu.org> <83pmh6nh2f.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38018"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57072@debbugs.gnu.org To: Axel Svensson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 12 09:11:30 2022 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 1oMOpN-0009lT-VL for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Aug 2022 09:11:30 +0200 Original-Received: from localhost ([::1]:40882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oMOpM-000456-HI for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Aug 2022 03:11:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44966) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMOow-00042d-So for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2022 03:11:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37547) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oMOow-0001WW-IW for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2022 03:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oMOow-0000wz-C9 for bug-gnu-emacs@gnu.org; Fri, 12 Aug 2022 03:11: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, 12 Aug 2022 07:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57072 X-GNU-PR-Package: emacs Original-Received: via spool by 57072-submit@debbugs.gnu.org id=B57072.16602882293610 (code B ref 57072); Fri, 12 Aug 2022 07:11:02 +0000 Original-Received: (at 57072) by debbugs.gnu.org; 12 Aug 2022 07:10:29 +0000 Original-Received: from localhost ([127.0.0.1]:55529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMOoO-0000w9-QY for submit@debbugs.gnu.org; Fri, 12 Aug 2022 03:10:29 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oMOoM-0000vn-OM for 57072@debbugs.gnu.org; Fri, 12 Aug 2022 03:10:27 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41766) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMOoH-0001Oy-Cf; Fri, 12 Aug 2022 03:10:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Tl8xMY73yqTzspIoKBo2KzmeQhEZhPJALnMAElmHj+E=; b=Wq/8/SOSsSkx XUfX84ZakPfK9MiVqtzj2CzvUXYcW4iDQhLU4ZFY6/8qArlza/NSSRilwF6P8gy+txRbqhH/zjCvV YpC4mf2i4ikuIRL/ZHWNUzaCEdaIJcI7HUHsaRh4dYLEo5Rui0hwqqkzho9wKL3z2fLKu90NaM4WT mn7heeaqlnsx77DsozoSrJZHPC91220jNzWPOgtJNoz/v4JlUoIPY1bcn1kJeVpRFQ1JLGi9gHC3z fjileiaJ3v/lsBLA8xuo2LzOG4OW5U9tDUNBtNwmOvm6Mp4ABx0yYjeW49m5jSBDTrHRD1O5rsSJV q08yPV/6YFI63s+vSt6D5Q==; Original-Received: from [87.69.77.57] (port=1212 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 1oMOoG-0006WS-SU; Fri, 12 Aug 2022 03:10:21 -0400 In-Reply-To: (message from Axel Svensson on Fri, 12 Aug 2022 08:50:18 +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" Xref: news.gmane.io gmane.emacs.bugs:239392 Archived-At: > From: Axel Svensson > Date: Fri, 12 Aug 2022 08:50:18 +0200 > Cc: 57072@debbugs.gnu.org > > > What does Unicode say about the functionality of the variation > > selectors beyond VS-16? > > The code charts divide them into three groups: > - VS1 through VS14 are "Variation selectors" [1] > - VS15 through VS16 are "Emoji-specific variation selectors" [1] > - VS17 through VS256 are "Ideographic-specific variation selectors" [2] > > The standard itself in chapter 23.4 [3] makes no distinction between > them but say that the only sanctioned uses that should have any effect, > are the ones defined in: > - StandardizedVariants.txt [4] in the Unicode Character Database, which > currently uses only VS1 through VS3. Confusingly though, some of them > seem to be used for ideographic purposes. > - Unicode Technical Standard #51 for emojis [5], which says that VS15 is > "used to request a text presentation for an emoji character" while > VS16 is "used to request an emoji presentation for an emoji > character". > - Unicode Technical Standard #37 for ideographic variation [6], which > confirms that it only uses VS17 through VS256. > > In any case, it seems that admin/unidata/blocks.awk needs fixing, since > it currently handles only VS1 through VS16 and does so as if they were > all for emoji use. AFAIR, blocks.awk does what it does only because VS16 has a special function of requesting the Emoji presentation of characters that are otherwise not Emoji, and our character-composition code needs to realize that. Unless the selectors beyond VS16 have similar functions, I don't see any reason why we'd need to modify blocks.awk. Or what am I missing? IOW, to which part(s) of blocks.awk did you allude when you wrote "it currently handles only VS1 through VS16 and does so as if they were all for emoji use"?