X-Loop: help-debbugs@HIDDEN Subject: bug#57073: [BUG] update-glyphless-char-display and variation selectors Resent-From: Axel Svensson <svenssonaxel@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 09 Aug 2022 10:28:04 +0000 Resent-Message-ID: <handler.57073.B.166004088325034 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 57073 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 57073 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.166004088325034 (code B ref -1); Tue, 09 Aug 2022 10:28:04 +0000 Received: (at submit) by debbugs.gnu.org; 9 Aug 2022 10:28:03 +0000 Received: from localhost ([127.0.0.1]:42622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oLMSv-0006V3-ML for submit <at> debbugs.gnu.org; Tue, 09 Aug 2022 06:28:03 -0400 Received: from lists.gnu.org ([209.51.188.17]:44904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <svenssonaxel@HIDDEN>) id 1oLKnH-0001QO-O8 for submit <at> debbugs.gnu.org; Tue, 09 Aug 2022 04:40:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58490) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <svenssonaxel@HIDDEN>) id 1oLKnH-0003CR-5T for bug-gnu-emacs@HIDDEN; Tue, 09 Aug 2022 04:40:55 -0400 Received: from mail-qk1-x730.google.com ([2607:f8b0:4864:20::730]:45942) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <svenssonaxel@HIDDEN>) id 1oLKnD-0001I9-7P for bug-gnu-emacs@HIDDEN; Tue, 09 Aug 2022 04:40:54 -0400 Received: by mail-qk1-x730.google.com with SMTP id m22so8180109qkm.12 for <bug-gnu-emacs@HIDDEN>; Tue, 09 Aug 2022 01:40:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=p1NrVLACi6AFTyxXYnYfBTT+lAzLb7tfFGeeExo5LY8=; b=UjZZIRZedHIjmQ/g1OeAZ/tEXCmF5AZKRyjqFWZgNYLA6gp3yhyITjKIVZomJB8HI/ HjbXie8nellH4NHgKSeLiEG3ISnSUAML4BkGUlOmnI53cj5Bm+zVlyEJGVR93FtAhkL6 kMHA0XvTbj/xAANjEw86Uc+Xv8E6i182Ny5xVRKGuMcpgPbOiaXHJSiLfOq0RTJVxh6t +OV+uLHWZKeGPDOlpd6MpxFrWBQO4c6f0t25Y6vzPiAKxpa7+fCXSCVnAkU6E5+K3gEj CkDY4hC+i9byKcFMukLI0BVQyDvtIBrHDYJBIsfJqCWOqiHUqHqyCnRYdw3J6y/NC17C WdWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=p1NrVLACi6AFTyxXYnYfBTT+lAzLb7tfFGeeExo5LY8=; b=4Eqa0g3HyogGd9MY+IT+5HJB0Bj3Rry65sde8WBzLytUQgRaj+9ncznwA2ao5ZYk6q +36IS6dxRVhY+9KG9fqdnQLzI9bSyGg1mlA2q7tfEq/9XH3Xt0TDoPe0wJ1/+aU7Opde l7roK+gaqRe18zsmZQ9cRsTsq2rK8e79f/JQQ0Q+sA8VmnMI8wQCfdHduX/C7clF5ICg +QATVkScJGV6Ac4vMy6/1AAkQsNnv9CwiRN80+Ko2SCpJ981/NcSYQ8tNxsNcekFYhL7 Pherzlfqj0UyygQSgR51cyalM6evnWdsos2q7HOFb5YsjKfO5ptZ/s2q5XFMazhgICGv fhFg== X-Gm-Message-State: ACgBeo2Ip9Jr7+7LlByKmXWQILfMCkJQT87OhBTtIBwKbCl7Ax8LZM1F Kv+xAdKh85PVSudDIaBlYmSdwbhfxbjOqHK47CIuu77QqMCJAg== X-Google-Smtp-Source: AA6agR6eHctkY5vkBWjOxp40GS6+yHOjZD0LgrpCx/J4or5e/uoYhUcb53LKAGkvSswRosAG+7KaqrqJobAFECgDrfQ= X-Received: by 2002:a05:620a:3194:b0:6b8:f0e9:fc96 with SMTP id bi20-20020a05620a319400b006b8f0e9fc96mr17032197qkb.733.1660034450199; Tue, 09 Aug 2022 01:40:50 -0700 (PDT) MIME-Version: 1.0 References: <CAJ40yaxSGeSJG_7ohkR0SW3pOg-yvuNJjB-TyRGqRaJGtYuC4w@HIDDEN> In-Reply-To: <CAJ40yaxSGeSJG_7ohkR0SW3pOg-yvuNJjB-TyRGqRaJGtYuC4w@HIDDEN> From: Axel Svensson <svenssonaxel@HIDDEN> Date: Tue, 9 Aug 2022 10:40:39 +0200 Message-ID: <CAJ40yawwrq9VrmW+ayvh-7+QReFe1jAq_En66e5V=2LvSYx89Q@HIDDEN> Content-Type: multipart/mixed; boundary="000000000000b848d805e5cae3ee" Received-SPF: pass client-ip=2607:f8b0:4864:20::730; envelope-from=svenssonaxel@HIDDEN; helo=mail-qk1-x730.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Mailman-Approved-At: Tue, 09 Aug 2022 06:27:56 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) --000000000000b848d805e5cae3ee Content-Type: text/plain; charset="UTF-8" On Tue, Aug 9, 2022 at 10:38 AM Axel Svensson <svenssonaxel@HIDDEN> wrote: > The attached patch attempts to fix this and succeeds for U+FE00..U+FE0E but fails for U+FE0F. Sorry, patch attached now. --000000000000b848d805e5cae3ee Content-Type: text/x-patch; charset="US-ASCII"; name="0001-Add-variation-selectors-to-char-acronym-table.patch" Content-Disposition: attachment; filename="0001-Add-variation-selectors-to-char-acronym-table.patch" Content-Transfer-Encoding: base64 Content-ID: <f_l6lxla9o0> X-Attachment-Id: f_l6lxla9o0 RnJvbSBkN2Q4Y2I2YzAxMTEyMjNhYTI0OTJkYjUyNDg4MThhZjJlNzg5YTFmIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBBeGVsIFN2ZW5zc29uIDxtYWlsQGF4ZWxzdmVuc3Nvbi5jb20+ CkRhdGU6IFR1ZSwgOSBBdWcgMjAyMiAwMToxMTowMiArMDIwMApTdWJqZWN0OiBbUEFUQ0hdIEFk ZCB2YXJpYXRpb24gc2VsZWN0b3JzIHRvIGBjaGFyLWFjcm9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jcm9ueW1zIChjZHIgdnMtYWNyb255bXMpKSkpCisKIDs7IFdlIGNhbid0IHVzZSB0aGUgXE57 bmFtZX0gdGhpbmdzIGhlcmUsIGJlY2F1c2UgdGhpcyBmaWxlIGlzIHVzZWQKIDs7IHRvbyBlYXJs eSBpbiB0aGUgYnVpbGQgcHJvY2Vzcy4KIChkZWZ2YXIgYmlkaS1jb250cm9sLWNoYXJhY3RlcnMK LS0gCjIuMzAuMgoK --000000000000b848d805e5cae3ee--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Axel Svensson <svenssonaxel@HIDDEN> Subject: bug#57073: Acknowledgement ([BUG] update-glyphless-char-display and variation selectors) Message-ID: <handler.57073.B.166004088325034.ack <at> debbugs.gnu.org> References: <CAJ40yawwrq9VrmW+ayvh-7+QReFe1jAq_En66e5V=2LvSYx89Q@HIDDEN> X-Gnu-PR-Message: ack 57073 X-Gnu-PR-Package: emacs Reply-To: 57073 <at> debbugs.gnu.org Date: Tue, 09 Aug 2022 10:28:05 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 57073 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 57073: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D57073 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
Received: (at control) by debbugs.gnu.org; 9 Aug 2022 11:36:30 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 09 07:36:30 2022 Received: from localhost ([127.0.0.1]:42762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1oLNXB-00022r-Ou for submit <at> debbugs.gnu.org; Tue, 09 Aug 2022 07:36:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1oLNX9-00022O-Rb; Tue, 09 Aug 2022 07:36:28 -0400 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 <eliz@HIDDEN>) 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==; 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 <eliz@HIDDEN>) id 1oLNX4-0001ql-42; Tue, 09 Aug 2022 07:36:22 -0400 Date: Tue, 09 Aug 2022 14:36:11 +0300 Message-Id: <83edxpvec4.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Axel Svensson <svenssonaxel@HIDDEN> In-Reply-To: <CAJ40yaxSGeSJG_7ohkR0SW3pOg-yvuNJjB-TyRGqRaJGtYuC4w@HIDDEN> (message from Axel Svensson on Tue, 9 Aug 2022 10:38:30 +0200) Subject: Re: bug#57072: [BUG] update-glyphless-char-display and variation selectors References: <CAJ40yaxSGeSJG_7ohkR0SW3pOg-yvuNJjB-TyRGqRaJGtYuC4w@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control Cc: 57072 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) merge 57073 57072 thanks > From: Axel Svensson <svenssonaxel@HIDDEN> > 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.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.