[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58168: string-lessp glitches and inconsistencies
From: |
Mattias Engdegård |
Subject: |
bug#58168: string-lessp glitches and inconsistencies |
Date: |
Fri, 30 Sep 2022 22:12:24 +0200 |
30 sep. 2022 kl. 15.52 skrev Lars Ingebrigtsen <larsi@gnus.org>:
> (string 4194176)
> => "\200"
> "\x80"
> => "\200"
>
> which are kinda equal in some ways, and not in other ways.
And (string 128)
=> "\200"
but painted in a different colour so that the alert reader suspects that
something odd is going on...
(What about printing it as "\u0080" instead? Only affects the C1 controls...)
> I think A makes the most intuitive sense, somehow. But perhaps my
> intuition is off.
Can't say my intuition is any more reliable. On the other hand, intuition says
that counter-intuitive solutions are very attractive, but I think it's just
trying to confuse us.