[Top][All Lists]

[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 14:34:10 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> But perhaps we should have one new primitive here -- something like
>> string-glyph-split -- that would split a string into a list of strings
>> where each string represents a complete glyph.
> You mean, a complete grapheme cluster, I presume.

Well, the grapheme cluster represents a glyph.  :-)

> That could be done, I think, by using the information returned by the
> composition stuff; see find-composition.

Yup.  And then we'd change truncate-string-to-width to be based on that
new function, or change truncate-string-to-width in a similar way?

(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

[Prev in Thread] Current Thread [Next in Thread]