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:15:35 +0200 Message-ID: <83h7csffig.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> <8335odgg9v.fsf@gnu.org> <11d5fecb4407a0196866@heytings.org> <83y265eza5.fsf@gnu.org> <11d5fecb440b7fc2a969@heytings.org> <83sfwcflv6.fsf@gnu.org> <7699dbfaffdb1e981338@heytings.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7072"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 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:17:23 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 1miYs6-0001eS-If for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Nov 2021 10:17:22 +0100 Original-Received: from localhost ([::1]:53234 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1miYs5-0000FV-Md for ged-emacs-devel@m.gmane-mx.org; Thu, 04 Nov 2021 05:17:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60160) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miYqO-00078b-Mn for emacs-devel@gnu.org; Thu, 04 Nov 2021 05:15:36 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33286) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miYqO-00038r-5A; Thu, 04 Nov 2021 05:15:36 -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=4QWj4+Of6imOOaNE0qlvo4EdhhiQ38RVThAbL1P4bxs=; b=dspa9GbdG02n XaCMEFP0scBlujHlCdPWJ18ykWBRRR8sUcpmygdFnTfdPkmwKweE6TB4j6KJbXdL1bK0LN9YgLWDa EPDR6zGiCa32BW9QD8vlI4FbvzqJ9S1Jt4KMOShHKCFd36CGhP+C41+gc4/mCZGGV6JGDcojLY8ZX infLsMz4hdrTVmzg+k/4Ywtb0xhz+Y/3mAj0tq11YvRTZtx/8D3lzfHyPUvFwNL+6SjfRSTEYyS7o YpuQWEjGwKYrZ6xKu4duQQDR1IwSjihRUnz/U1zyYvfGTfDWralwpYwx/5Yzyvlj/vjC0roIgOp96 k0iucyK+Y9EAt1pdVOzDVA==; Original-Received: from [87.69.77.57] (port=1815 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 1miYqN-0003Lk-E0; Thu, 04 Nov 2021 05:15:36 -0400 In-Reply-To: <7699dbfaffdb1e981338@heytings.org> (message from Gregory Heytings on Thu, 04 Nov 2021 08:53:08 +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:278664 Archived-At: > Date: Thu, 04 Nov 2021 08:53:08 +0000 > From: Gregory Heytings > cc: yuri.v.khan@gmail.com, db48x@db48x.net, cpitclaudel@gmail.com, > stefan@marxist.se, monnier@iro.umontreal.ca, emacs-devel@gnu.org > > >>>> I must really be missing something, but using buffer-display-table > >>>> (or standard-display-table) does not need any changes whatsoever > >>>> either. > >>> > >>> It needs the additional code you presented (or minor mode mentioned by > >>> Stefan). > >> > >> Well, the glyphless-char-display-control solution also needs additional > >> code: at least the custom-set-variables line, a few lines to update the > >> acronyms of several of those characters > > > > No, it only needs the interested user to customize that option and save > > the customizations. > > And likewise with a minor mode. Which needs to be added. > Modes in Emacs are just built-in sets of customizations that users > could set themselves and save if they had not been built-in. This > one is no different. I see no reason to add a mode for this purpose, when we already have equivalent features.