[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unicode confusables and reordering characters considered harmful, a
From: |
Daniel Brooks |
Subject: |
Re: Unicode confusables and reordering characters considered harmful, a simple solution |
Date: |
Thu, 04 Nov 2021 22:23:46 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Stefan Kangas <stefan@marxist.se> writes:
> In any case, the above leads me back to the simple idea to raise
> byte-compiler (or even `read'?) warnings for the problematic control
> characters unless a specific variable is set to t, or unless the piece
> of code using them is wrapped in some `with-suppressed-warnings' call.
>
> 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).
>
> It doesn't seem too bad, certainly not much worse than having to add
> "coding: utf-8" or similar.
I prefer the former to the latter. Marking the whole file as not
containing RTL would close off too many avenues for future development
in that file. Marking a specific expression or form is much nicer.
>> Instead I think that Emacs should adopt a similar fast
>> strategy. Anything we do today can be refined later.
>
> FWIW, I tend to agree with this.
Thank you.
db48x
- 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/06
- Re: Unicode confusables and reordering characters considered harmful, a simple solution, Stefan Monnier, 2021/11/04
- 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, Gregory Heytings, 2021/11/05
- 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, 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 <=
- 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, 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, Gregory Heytings, 2021/11/05
- Re: Unicode confusables and reordering characters considered harmful, a simple solution, Daniel Brooks, 2021/11/05