[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unicode confusables and reordering characters considered harmful, a
From: |
Stefan Kangas |
Subject: |
Re: Unicode confusables and reordering characters considered harmful, a simple solution |
Date: |
Fri, 5 Nov 2021 02:58:49 -0700 |
Eli Zaretskii <eliz@gnu.org> writes:
>> 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.
I very much disagree that byte-compiler warnings would be "worse than
the disease". Why should any user be so very inconvenienced by that?
Security will always be at odds with convenience. The question is one
of striking a balance between the two.
In this case, I think asking users to add one line of code to those rare
files that need to use these control characters seems like a price worth
paying to improve security in Emacs Lisp as a whole.
Yes, it'll ask more from users that want to write Emacs Lisp with
strings and comments in RTL languages. But they can also choose to do
nothing and live with the byte-compiler warnings instead.
- Re: Unicode confusables and reordering characters considered harmful, a simple solution, (continued)
- Re: Unicode confusables and reordering characters considered harmful, a simple solution, Eli Zaretskii, 2021/11/04
- Re: Unicode confusables and reordering characters considered harmful, a simple solution, Daniel Brooks, 2021/11/04
- Re: Unicode confusables and reordering characters considered harmful, a simple solution, Stefan Kangas, 2021/11/04
- code annotations, Daniel Brooks, 2021/11/05
- Re: code annotations, Stefan Kangas, 2021/11/05
- Re: Unicode confusables and reordering characters considered harmful, a simple solution, Daniel Brooks, 2021/11/05
- Re: Unicode confusables and reordering characters considered harmful, a simple solution, Po Lu, 2021/11/05
- Re: Unicode confusables and reordering characters considered harmful, a simple solution, Eli Zaretskii, 2021/11/05
- Re: Unicode confusables and reordering characters considered harmful, a simple solution, Stefan Kangas, 2021/11/05
- Re: Unicode confusables and reordering characters considered harmful, a simple solution, Eli Zaretskii, 2021/11/05
- Re: Unicode confusables and reordering characters considered harmful, a simple solution,
Stefan Kangas <=
- Re: Unicode confusables and reordering characters considered harmful, a simple solution, Eli Zaretskii, 2021/11/05
- Re: Unicode confusables and reordering characters considered harmful, a simple solution, Stefan Kangas, 2021/11/05
- Re: Unicode confusables and reordering characters considered harmful, a simple solution, Eli Zaretskii, 2021/11/05
- Re: Unicode confusables and reordering characters considered harmful, a simple solution, Gregory Heytings, 2021/11/05
- Re: Unicode confusables and reordering characters considered harmful, a simple solution, Daniel Brooks, 2021/11/05
- Re: Unicode confusables and reordering characters considered harmful, a simple solution, Eli Zaretskii, 2021/11/06
- Re: Unicode confusables and reordering characters considered harmful, a simple solution, Eli Zaretskii, 2021/11/06
- Re: Unicode confusables and reordering characters considered harmful, a simple solution, Gregory Heytings, 2021/11/08
- Re: Unicode confusables and reordering characters considered harmful, a simple solution, Eli Zaretskii, 2021/11/08
- Re: Unicode confusables and reordering characters considered harmful, a simple solution, Stefan Monnier, 2021/11/08