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 11:19:14 +0200 Message-ID: <83fsscffcd.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> <86h7ctyupr.fsf@mail.linkov.net> <11d5fecb44ffbf6b7dd1@heytings.org> <838ry5ggy9.fsf@gnu.org> <11d5fecb446ff1ae06b6@heytings.org> <83zgqlf0c2.fsf@gnu.org> <11d5fecb4494b19a9730@heytings.org> <83pmrgfl13.fsf@gnu.org> <7699dbfaffbaf1aa8655@heytings.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19884"; mail-complaints-to="usenet@ciao.gmane.io" Cc: juri@linkov.net, cpitclaudel@gmail.com, stefan@marxist.se, emacs-devel@gnu.org, db48x@db48x.net, monnier@iro.umontreal.ca, yuri.v.khan@gmail.com To: Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 04 10:20: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 1miYuk-0004yF-A6 for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Nov 2021 10:20:06 +0100 Original-Received: from localhost ([::1]:57828 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1miYuj-0003Nv-Bp for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Nov 2021 05:20:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miYtw-0002gV-3H for emacs-devel@gnu.org; Thu, 04 Nov 2021 05:19:16 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33476) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miYtv-0003mZ-0N; Thu, 04 Nov 2021 05:19:15 -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=jm/UE5aBHfkzJBtsBBxfzjt0y20ngqVdc55ewmzhwVU=; b=kEjbrFAdY74Z B4Evhj7zC4r8xXWJl//ETMw3jryl1475EwMWHLUG6uhZ6ILz1PrTIJnC8OV+m8SkyfRkxFAh1P2Am VxUtDobV3jAlQ4XtDeqaA/zonkmmil2UMnw8TIY6PC53npiAppT7szmdfH0AvyUCydVg3Dx9zS4Ez 5PN1/ymFXc0NEsVwSf+NoNejgRJ8NR3Gefjs9uaW5Yaa08r0VY0YeBTEg2Gx0yjXLB3Qv5THz9uIM p7KB6er9kWZzkaxdpqhZHrI3KysvTMJj3Dh/ltkpFUrHrlokD2/peQRH2jvmZ1rwPpP+NXT1m6t0T t2QhV71jVE7ybzESWSckmQ==; Original-Received: from [87.69.77.57] (port=2041 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 1miYtu-0006yb-HK; Thu, 04 Nov 2021 05:19:14 -0400 In-Reply-To: <7699dbfaffbaf1aa8655@heytings.org> (message from Gregory Heytings on Thu, 04 Nov 2021 09:06:10 +0000) 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:278665 Archived-At: > Date: Thu, 04 Nov 2021 09:06:10 +0000 > From: Gregory Heytings > cc: cpitclaudel@gmail.com, yuri.v.khan@gmail.com, stefan@marxist.se, > emacs-devel@gnu.org, db48x@db48x.net, monnier@iro.umontreal.ca, > juri@linkov.net > > > If you shift-highlight one of these formatting control characters, and > > only one such character, don't you see a thin whitespace shown in the > > background color of the region face? > > If you look very close, yes, you see see something in that case. In the > attached screenshot, there's a one-pixel light gray bar on the left of the > cursor. That's not what I'd consider "visible". I don't see even that bar on the image you posted, not sure why. Anyway, for making these characters stand out, one would need to use a color that is more prominent than light gray, probably some shade of red.