[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Entering emojis
From: |
Eli Zaretskii |
Subject: |
Re: Entering emojis |
Date: |
Sat, 30 Oct 2021 09:22:29 +0300 |
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: Eli Zaretskii <eliz@gnu.org>, Stefan Kangas <stefankangas@gmail.com>,
> emacs-devel@gnu.org
> Date: Sat, 30 Oct 2021 00:16:39 +0200
>
> (string-limit "Hello, π¨π½ββ€οΈβπβπ¨πΎ" 8)
> => "Hello, π¨"
string-limit cannot be used with strings that have wide characters and
characters that are composed on display, if the result is supposed to
be correct on display. string-limit assumes each character occupies 1
column on display, which is not true in those two cases. It's the
same problem as with using 'length' when you want to know how many
columns will a string occupy on display.
- Re: Entering emojis, (continued)
- Re: Entering emojis, Daniel MartΓn, 2021/10/29
- Re: Entering emojis, Lars Ingebrigtsen, 2021/10/29
- Re: Entering emojis, Lars Ingebrigtsen, 2021/10/29
- 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 <=
- Re: Entering emojis, Howard Melman, 2021/10/30
- Re: Entering emojis, T.V Raman, 2021/10/28
- Re: Entering emojis, Lars Ingebrigtsen, 2021/10/28
- Re: Entering emojis, Eli Zaretskii, 2021/10/28