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:48:34 +0200 Message-ID: <83czngfdzh.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> <83fsscffcd.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6346"; mail-complaints-to="usenet@ciao.gmane.io" 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 To: gregory@heytings.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 04 10:49:30 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 1miZNC-0001Sa-8Y for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Nov 2021 10:49:30 +0100 Original-Received: from localhost ([::1]:44766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1miZNB-0006nj-CI for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Nov 2021 05:49:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41596) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miZMJ-00065K-Tv for emacs-devel@gnu.org; Thu, 04 Nov 2021 05:48:35 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34562) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miZMJ-0004Di-2U; Thu, 04 Nov 2021 05:48:35 -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=1LqYHQhmEVZMQSlWiG3ZadtLv9utGu1WM68eMvlHhT8=; b=YkI0ZAiI/vYZ 3B0Rwl8RbyW4CR7XW7l9VUQUvwIMpt7JUiUTgPSmayQJid3Gau69xrjUo/Eds907joboLzWwsQe4z C/xXkWQ8NSDzXJPWS9SnT2HOP46WQVxz6/fPq8Lqe0Aac5+06LrUWNeTCyX26z+72FpT93A2bGbnT yIAWb343C1di91WkPmNBKT0nw4xOttAvMWv0QnUgFZeYVQl6dahZVpLQI6OJ6xVOK0XyKOw8daQdY zPm9TlGvI6B5OjdTJlUC/RHQfN0X8m5Z7tJNnFoDJw73qlebP25j5PRTQC2o9l2mQrlRG5Ib97bdv dxGVAkGY7Hq5sn+rCbHXHw==; Original-Received: from [87.69.77.57] (port=3836 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 1miZMH-0005zL-UM; Thu, 04 Nov 2021 05:48:34 -0400 In-Reply-To: <83fsscffcd.fsf@gnu.org> (message from Eli Zaretskii on Thu, 04 Nov 2021 11:19:14 +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:278670 Archived-At: > Date: Thu, 04 Nov 2021 11:19:14 +0200 > From: Eli Zaretskii > 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 > > 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. I stand corrected: as long as these controls are displayed as a 1-pixel thin space, they indeed cannot have any color, because there's no area we can fill with the background color on display, it's just a single thin line. Only with other methods of displaying glyphless characters the different face or color will be visible.