From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#27403: 26.0.50; Indentation misalignment with Unicode code points >65535 Date: Thu, 03 Feb 2022 21:25:03 +0100 Message-ID: <875ypvn1eo.fsf@gnus.org> References: <5bd704e4-b3e4-bcd3-eea6-66856fc47dd6@gmail.com> <83tw3fyr7k.fsf@gnu.org> <83shiyzz5y.fsf@gnu.org> <8737ayolx3.fsf@linux-m68k.org> <83poe2zqae.fsf@gnu.org> <87wp8amqrn.fsf@linux-m68k.org> <83fueyzd8w.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="26910"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 27403@debbugs.gnu.org, Andreas Schwab , adam.niederer@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 03 21:56:54 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 1nFj9y-0006lf-97 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Feb 2022 21:56:54 +0100 Original-Received: from localhost ([::1]:39940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFj9w-00035h-S1 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 03 Feb 2022 15:56:52 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38762) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFig6-0003tg-Eh for bug-gnu-emacs@gnu.org; Thu, 03 Feb 2022 15:26:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35862) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFig6-000275-4y for bug-gnu-emacs@gnu.org; Thu, 03 Feb 2022 15:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nFig5-0005ne-QU for bug-gnu-emacs@gnu.org; Thu, 03 Feb 2022 15:26:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Feb 2022 20:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27403 X-GNU-PR-Package: emacs Original-Received: via spool by 27403-submit@debbugs.gnu.org id=B27403.164391992422245 (code B ref 27403); Thu, 03 Feb 2022 20:26:01 +0000 Original-Received: (at 27403) by debbugs.gnu.org; 3 Feb 2022 20:25:24 +0000 Original-Received: from localhost ([127.0.0.1]:57992 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFifQ-0005mf-5h for submit@debbugs.gnu.org; Thu, 03 Feb 2022 15:25:24 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:54692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nFifL-0005mI-33 for 27403@debbugs.gnu.org; Thu, 03 Feb 2022 15:25:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=zBjQ/Uxh9msrMJyWpOEkT/nHopqAYWjsLNC9eHtDH3M=; b=JjS9Ao+HUEfUHnbR+hyFqjM5dz jv8ldM0F6Gj6MM6EEN3yFkxEr4Gk8cyzkls4OeubwuRehafsQPcnFIBhgVApIn1UPs9CWonuQb0Yi UAMCJe5SdKOlqQ9tqHaovVuYUy79EVY7HRY9w4J/7kObKgkh+XYXYomZwL9JPnrSF8os=; Original-Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nFifA-0004CJ-5H; Thu, 03 Feb 2022 21:25:08 +0100 X-Now-Playing: He Said's _Take Care_: "Not A Soul" In-Reply-To: <83fueyzd8w.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 17 Jun 2017 21:21:35 +0300") 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:225924 Archived-At: Eli Zaretskii writes: >> > OK, then why did you say the data was outdated? >>=20 >> Because it was. > > Where's the up-to-date data we could use? I don't know either -- the character is still wide in Unicode 14. =F0=9F=91=8D (1f44d) is here: 1F442..1F4FC;W # So [187] EAR..VIDEOCASSETTE So it's "W", which is "wide"... The document that has the widths, though refers to this: https://www.unicode.org/reports/tr11/ --- This annex presents the specifications of a normative property for Unicode characters that is useful when interoperating with East Asian Legacy character sets. --- So it's wide in the context of East Asian scripts, which isn't really the primary usage of characters like emojis. I tried googling around for a couple minutes to see whether Unicode has made a data file that says something about typical character widths outside of an East Asian context, and I can't find anything. Uhm... https://codepoints.net/U+1F44D?lang=3Den says it's neutral? https://util.unicode.org/UnicodeJsps/character.jsp?a=3D1F44D says wide. In the fonts I use, it's definitely wide. But so is =E2=98=BA, which is ma= rked as narrow. So =E2=9D=93 --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no