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: Wed, 03 Nov 2021 21:30:51 +0200

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: Gregory Heytings <gregory@heytings.org>,  Eli Zaretskii <eliz@gnu.org>,
>  Stefan Kangas <stefan@marxist.se>,  cpitclaudel@gmail.com,
>  emacs-devel@gnu.org
> Date: Wed, 03 Nov 2021 14:47:26 -0400
> 
> >> +  (aset buffer-display-table ?‪ [?→])
> >> +  (aset buffer-display-table ?‫ [?←])
> >> +  (aset buffer-display-table ?‭ [?→])
> >> +  (aset buffer-display-table ?‮ [?←])
> >> +  (aset buffer-display-table ?⁦ [?→])
> >> +  (aset buffer-display-table ?⁧ [?←])
> >> +  (aset buffer-display-table ?⁨ [?↓])
> >> +  (aset buffer-display-table ?‬ [?↑])
> >> +  (aset buffer-display-table ?⁩ [?↑])
> >
> > A perfect example of how legitimate use of these characters can mess up
> > your source. :-)
> 
> FWIW, I think the source would be clearer if it used `?\u{CHARNAME}`
> instead of the literal chars.

Huh?  What's unclear in a line like this one:

  (aset buffer-display-table ?‫ [?←])



reply via email to

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