[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Entering emojis
From: |
Lars Ingebrigtsen |
Subject: |
Re: Entering emojis |
Date: |
Sat, 30 Oct 2021 00:16:39 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> So perhaps we should just keep the current behaviour (or have a user
> option to change it).
A more ticklish question is what we should do with out string primitives
(if anything). For instance:
(string-limit "Hello, π¨π½ββ€οΈβπβπ¨πΎ" 8)
=> "Hello, π¨"
and
(truncate-string-to-width "π¨π½ββ€οΈβπβπ¨πΎ" 2 nil t)
=> "π¨"
which is... uhm... In a way, this grapheme cluster thing is slightly
like it was during the shift to utf-8, when not all string primitives
worked on characters, but bytes instead. Less dramatic, of course, but.
I think we'll be seeing many amusing display glitches in this area. π₯²
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: Entering emojis, (continued)
- Re: Entering emojis, Eli Zaretskii, 2021/10/29
- Re: Entering emojis, Stefan Kangas, 2021/10/29
- Re: Entering emojis, Eli Zaretskii, 2021/10/29
- Re: Entering emojis, Stefan Kangas, 2021/10/29
- Re: Entering emojis, Daniel MartΓn, 2021/10/29
- Re: Entering emojis, Lars Ingebrigtsen, 2021/10/29
- Re: Entering emojis,
Lars Ingebrigtsen <=
- Re: Entering emojis, Eli Zaretskii, 2021/10/30
- Re: Entering emojis, Eli Zaretskii, 2021/10/30
- Re: Entering emojis, Lars Ingebrigtsen, 2021/10/30
- Re: Entering emojis, Eli Zaretskii, 2021/10/30
- Re: Entering emojis, Lars Ingebrigtsen, 2021/10/30
- Re: Entering emojis, Eli Zaretskii, 2021/10/30
- Re: Entering emojis, Lars Ingebrigtsen, 2021/10/30
- Re: Entering emojis, Eli Zaretskii, 2021/10/30
- Re: Entering emojis, Howard Melman, 2021/10/30
- Re: Entering emojis, T.V Raman, 2021/10/28