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: Tue, 09 Aug 2022 14:36:11 +0300 Message-ID: <83edxpvec4.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40401"; 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 Tue Aug 09 13:37:10 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 1oLNXq-000AKn-HR for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Aug 2022 13:37:10 +0200 Original-Received: from localhost ([::1]:49622 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLNXo-0005Vi-V9 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 09 Aug 2022 07:37:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37522) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLNXi-0005VR-DD for bug-gnu-emacs@gnu.org; Tue, 09 Aug 2022 07:37:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53013) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oLNXi-0005ta-4N for bug-gnu-emacs@gnu.org; Tue, 09 Aug 2022 07:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oLNXh-00023r-Vb for bug-gnu-emacs@gnu.org; Tue, 09 Aug 2022 07:37:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Aug 2022 11:37:01 +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.16600449897863 (code B ref 57072); Tue, 09 Aug 2022 11:37:01 +0000 Original-Received: (at 57072) by debbugs.gnu.org; 9 Aug 2022 11:36:29 +0000 Original-Received: from localhost ([127.0.0.1]:42760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLNXB-00022l-Ev for submit@debbugs.gnu.org; Tue, 09 Aug 2022 07:36:29 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLNX9-00022O-Rb; Tue, 09 Aug 2022 07:36:28 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37682) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLNX4-0005rI-L8; Tue, 09 Aug 2022 07:36:22 -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=LmcUoHUhjwzca3vI7paTIa9ze9ntuHONDy0OKo//lto=; b=haLEl5JbJRhx d3he9tBbYPqAJSNlfbkWFhvK2Bw2G91KfvevfQ7c7YIlRmOYqbSgPsasOGmuh5tOt3wX65785lkTN IVlhUZG7OzgO0a6H95tmzBXDMApj7n2eyo7E2wQUP+DPx6LKf4W5DrT/7KTwNm6ZIE8BMhZwdSrQR rf6JvdF8asXiOLdx1onq0Pe7HPm9dB+BewUV2SsTnqOiofKPj/duTRUFFdx6RA2LHgA9713YQuoDT FnKhAQcK40jGhCwWBFAIWu3r1ID58G7tbr3RNEorjAd7xo5xC8gAjXBPq+kl0MhG1G2pIORB0eKiz A7ANEFiJ/gw39UzIX6WXkg==; Original-Received: from [87.69.77.57] (port=2952 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 1oLNX4-0001ql-42; Tue, 09 Aug 2022 07:36:22 -0400 In-Reply-To: (message from Axel Svensson on Tue, 9 Aug 2022 10:38:30 +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:239148 Archived-At: merge 57073 57072 thanks > From: Axel Svensson > Date: Tue, 9 Aug 2022 10:38:30 +0200 > > IIUC the documentation to glyphless-char-display-control, any of the character groups can be assigned any > of the display methods. But not every glyphless character has an acronym, so this is not a bug. You are suggesting an enhancement (which is fine). > First bug + patch: > Using update-glyphless-char-display to choose to display variation-selectors as acronyms does not work > since these codepoints are missing from char-acronym-table. > The attached patch attempts to fix this and succeeds for U+FE00..U+FE0E but fails for U+FE0F. Why are the acronyms you propose so long? Why not use "VS01".."VS16" instead? Shorter acronyms are an advantage, since they will be displayed in a more legible way. > Second bug: > It seems that U+FE0F will not at all respect glyphless-char-display, instead always showing as an empty > box. > This I have not solved. Please show a recipe for that starting from "emacs -Q". Thanks.