From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vasilij Schneidermann Newsgroups: gmane.emacs.devel Subject: Re: Unicode confusables considered harmful Date: Sat, 6 Nov 2021 12:56:29 +0100 Message-ID: References: <83bl2ycqvc.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="xYIcgnwrQxpzm9aS" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22507"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 06 12:57:29 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mjKK8-0005eB-62 for ged-emacs-devel@m.gmane-mx.org; Sat, 06 Nov 2021 12:57:28 +0100 Original-Received: from localhost ([::1]:46276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mjKK6-0005cd-Nv for ged-emacs-devel@m.gmane-mx.org; Sat, 06 Nov 2021 07:57:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38304) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjKJO-0004xv-QM for emacs-devel@gnu.org; Sat, 06 Nov 2021 07:56:42 -0400 Original-Received: from mout-p-201.mailbox.org ([80.241.56.171]:30100) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1mjKJL-0004HR-ES; Sat, 06 Nov 2021 07:56:41 -0400 Original-Received: from smtp202.mailbox.org (smtp202.mailbox.org [80.241.60.245]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4HmbSg23fszQk78; Sat, 6 Nov 2021 12:56:35 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Content-Disposition: inline In-Reply-To: <83bl2ycqvc.fsf@gnu.org> X-Rspamd-Queue-Id: 75F1F26B Received-SPF: pass client-ip=80.241.56.171; envelope-from=mail@vasilij.de; helo=mout-p-201.mailbox.org X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:278862 Archived-At: --xYIcgnwrQxpzm9aS Content-Type: text/plain; charset=utf-8 Content-Disposition: inline > Disabling bidi in Emacs is asking for trouble because one cannot do > that and rely on the display engine to still work correctly in all > cases. Bidirectional support is nowadays hardwired into the display > engine and cannot be disabled completely. If it works correctly in all the cases not using RTL scripts, that's fine by me. And I'm far from the only one thinking like that. Bonus if it improves redisplay speed. > Please try the new command highlight-confusing-reorderings (available > on master), it is supposed to be the way to detect suspicious > reorderings without falsely flagging any legitimate ones. (I can > easily understand how mentioning it could drown in the sea of the > other messages in this thread; sorry about that.) I'm specifically not talking about reordering characters, but confusables, that is, characters that look visually identical. See https://unicode.org/reports/tr39/#Confusable_Detection for further elaboration on the topic. Hence the change of the subject line. Vasilij --xYIcgnwrQxpzm9aS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEE0dAcySl3bqM8O17WFmfJg6zCifoFAmGGbWoACgkQFmfJg6zC ifqsLQf+OF4COl6kS+1YYjLubrWq6EYltcOKkuZopqlJLHkC1DBqui+qIVxAzvUe tTR56zK7oL440yjEGsQpIO3Q2/57fz9fZWgCGbt8OAqgVzE5gif4eQkDu3/iQUtJ rmtrMrl2wQGnysJCwZLoULgcl2QgkM8Cf2jJS5ZoUvjs4JmzLpbOwExuYJL4KQZU w9zle5yRoQ501dWL0Yx1FGwBCg3tCott/jq32Juwy9zA513YEEaKzdqrI7h1SWCj QqtYkhiAhpF8j52fXncGd0KLTQvMOFoGYDSXeBocOAMfK3NbBAMvFseXJb9jM3Hb FdyYIrrdLMmx6YG5iYLe/iZPPoqNAA== =iUS6 -----END PGP SIGNATURE----- --xYIcgnwrQxpzm9aS--