emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unicode confusables and reordering characters considered harmful


From: Eli Zaretskii
Subject: Re: Unicode confusables and reordering characters considered harmful
Date: Tue, 02 Nov 2021 21:51:44 +0200

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: stefan@marxist.se,  cpitclaudel@gmail.com,  emacs-devel@gnu.org
> Date: Tue, 02 Nov 2021 15:47:27 -0400
> 
> > In most cases, there's no need to make these controls stand out,
> > because situations where this presents security risks are extremely
> > rare, to put it mildly, and OTOH having them stand out more by default
> > will make it harder to read text with completely legitimate uses of
> > these controls (example: TUTORIAL.he).
> 
> Fully agreed.  That's the problem: how to define the problematic cases
> in a precise enough way that it doesn't rule out all lots of
> legitimate cases.

That's what bidi-find-overridden-directionality already does, albeit
not yet for the specific examples in that paper.  But Someone™ should
write a minor mode or an optional display feature which uses that
function to highlight the problematic stretches of text on display,
using the function's output for finding such stretches of text.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]