[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unicode confusables and reordering characters considered harmful
From: |
Andreas Schwab |
Subject: |
Re: Unicode confusables and reordering characters considered harmful |
Date: |
Wed, 03 Nov 2021 20:34:47 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
On Nov 03 2021, Eli Zaretskii wrote:
>> 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 ? [?←])
Can you explain what `?([←?]' means?
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
- Re: Unicode confusables and reordering characters considered harmful, (continued)
- Re: Unicode confusables and reordering characters considered harmful, Gregory Heytings, 2021/11/03
- Re: Unicode confusables and reordering characters considered harmful, Stefan Monnier, 2021/11/03
- Re: Unicode confusables and reordering characters considered harmful, Yuri Khan, 2021/11/03
- Re: Unicode confusables and reordering characters considered harmful, Gregory Heytings, 2021/11/03
- Re: Unicode confusables and reordering characters considered harmful, Gregory Heytings, 2021/11/03
- Re: Unicode confusables and reordering characters considered harmful, Gregory Heytings, 2021/11/04
- Re: Unicode confusables and reordering characters considered harmful, Eli Zaretskii, 2021/11/03
- Re: Unicode confusables and reordering characters considered harmful, Eli Zaretskii, 2021/11/03
- Re: Unicode confusables and reordering characters considered harmful,
Andreas Schwab <=
- Re: Unicode confusables and reordering characters considered harmful, Eli Zaretskii, 2021/11/03
- Re: Unicode confusables and reordering characters considered harmful, Eli Zaretskii, 2021/11/03
- Re: Unicode confusables and reordering characters considered harmful, Eli Zaretskii, 2021/11/03
- Re: Unicode confusables and reordering characters considered harmful, Stefan Kangas, 2021/11/02
- Re: Unicode confusables and reordering characters considered harmful, Eli Zaretskii, 2021/11/02
- Re: Unicode confusables and reordering characters considered harmful, Stefan Monnier, 2021/11/02
- Re: Unicode confusables and reordering characters considered harmful, Clément Pit-Claudel, 2021/11/02
- Re: Unicode confusables and reordering characters considered harmful, Eli Zaretskii, 2021/11/02
- Re: Unicode confusables and reordering characters considered harmful, Yuri Khan, 2021/11/02
- Re: Unicode confusables and reordering characters considered harmful, Eli Zaretskii, 2021/11/02