[Top][All Lists]

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

Re: Unicode confusables and reordering characters considered harmful, a

From: Eli Zaretskii
Subject: Re: Unicode confusables and reordering characters considered harmful, a simple solution
Date: Fri, 05 Nov 2021 10:07:32 +0200

> From: Stefan Kangas <stefan@marxist.se>
> Date: Fri, 5 Nov 2021 01:00:59 -0700
> Cc: db48x@db48x.net, cpitclaudel@gmail.com, emacs-devel@gnu.org, 
>       monnier@iro.umontreal.ca, yuri.v.khan@gmail.com
> Eli Zaretskii <eliz@gnu.org> writes:
> > That would flag our own code, because we sometimes wrap strings in
> > these directional format control characters, to avoid confusing
> > display.  Those are exactly the valid uses of these characters, ones
> > against which it makes no sense to issue a warning.
> We would need to mark those uses as okay, of course.
> >> Or we do it the other way around: users mark a source code file to say
> >> that "this file will never contain RTL characters" (but RTL scripts in
> >> ELisp code is pretty uncommon, I think).
> >
> > So now everyone is suspect unless certified otherwise?  How does this
> > make sense?
> The idea is to make the programmer explicitly say yes to using these
> characters.  (Or at the very least give them a way to say no, but I'd
> much prefer the former.)

IMNSHO, that would be a nuisance.  IOW, this cure is much worse than
the disease.

reply via email to

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