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.devel Subject: Re: Unicode confusables and reordering characters considered harmful, a simple solution Date: Thu, 04 Nov 2021 22:00:40 +0200 Message-ID: <83o86zelnb.fsf@gnu.org> References: <875ytag0hb.fsf@yahoo.com> <87zgqmd5np.fsf@mat.ucm.es> <83wnlqk3rn.fsf@gnu.org> <72dd5c2a-42c7-b12e-05ed-e93adbd89727@gmail.com> <83ilxajyhw.fsf@gnu.org> <83fssejxf8.fsf@gnu.org> <835ytajsv2.fsf@gnu.org> <831r3yjqo9.fsf@gnu.org> <83v91aibe7.fsf@gnu.org> <87o872s0wf.fsf_-_@db48x.net> <83lf25gm1j.fsf@gnu.org> <83ee7xgio2.fsf@gnu.org> <87fssdrp54.fsf@db48x.net> <831r3xgfz3.fsf@gnu.org> <87v918qx37.fsf@db48x.net> <83o870fjqg.fsf@gnu.org> <7699dbfaffc44df293f3@heytings.org> <83ee7wfe4p.fsf@gnu.org> <7699dbfaff0348867b72@heytings.org> <83a6ikf9pw.fsf@gnu.org> <83v917eo2o.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4547"; mail-complaints-to="usenet@ciao.gmane.io" Cc: cpitclaudel@gmail.com, stefan@marxist.se, yuri.v.khan@gmail.com, db48x@db48x.net, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: gregory@heytings.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 04 21:02:07 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 1miiw3-0000uO-9R for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Nov 2021 21:02:07 +0100 Original-Received: from localhost ([::1]:48018 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1miiw1-00029o-8z for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Nov 2021 16:02:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57790) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miium-0001Nn-Ij for emacs-devel@gnu.org; Thu, 04 Nov 2021 16:00:48 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54578) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miiul-0008EV-GX; Thu, 04 Nov 2021 16:00:47 -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=WcP+DI3mjlan1gh/xFnjG5KBNpM0tCZf8v6gtww0k7Y=; b=d5wyMPgyHss5 UnzAd0YID7WYv2FDnOhFfhjVPH1UOQEmPfsN4vD8giZj1VTsQX25GQTVkFFKOj3Rlw4yTTPQaqNdF DZjBl8IYVFagP75yH10b3tJ3Wu+p3Y2BSieHsJw46tnKBeH/ofop3S4nB6cTpn6MjB6zkZb7QO+mm 9aDRftYkvVq936bV9q25apVZpUXjuzlW5EJ4E+/n7fM1dCi5VFPI0ibQDekxQZkHL8VQ9Fn83xLri ZylL/FnP8HWxrQfrmhVQ1+PaiQOb4Nl/0uu2EeEmrX/JzvQmst/AyuIb364N4XuxldQ3VLoVXexHN vv8XDtBU3vt8i1uHdOee+Q==; Original-Received: from [87.69.77.57] (port=1474 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 1miiuk-0007S6-S3; Thu, 04 Nov 2021 16:00:47 -0400 In-Reply-To: <83v917eo2o.fsf@gnu.org> (message from Eli Zaretskii on Thu, 04 Nov 2021 21:08:15 +0200) 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:278713 Archived-At: > Date: Thu, 04 Nov 2021 21:08:15 +0200 > From: Eli Zaretskii > Cc: db48x@db48x.net, emacs-devel@gnu.org, stefan@marxist.se, > monnier@iro.umontreal.ca, yuri.v.khan@gmail.com > > Now done on master. I also added a simple command that finds and > highlights all the problematic stretches of text in a buffer. Testing > is welcome. Btw, that command immediately proved its utility by flagging 2 instances in TUTORIAL.he that used an embedding of an incorrect directionality (which happened not to affect the display).