GNU bug report logs - #70000
29.2; Grapheme handling incorrect

Previous Next

Package: emacs;

Reported by: Phillip Susi <phill <at> thesusis.net>

Date: Mon, 25 Mar 2024 18:47:01 UTC

Severity: normal

Tags: notabug, wontfix

Found in version 29.2

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Phillip Susi <phill <at> thesusis.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 70000 <at> debbugs.gnu.org
Subject: bug#70000: 29.2; Grapheme handling incorrect
Date: Thu, 28 Mar 2024 12:16:33 -0400
Eli Zaretskii <eliz <at> gnu.org> writes:

> I understand.  But Emacs needs this information also long after the
> characters were already drawn.  For example, imagine that Emacs

Yes, it would have to learn the width the first time it displays each
grapheme and build a list of known widths to remember for future use.

> In addition, if Emacs had to query the cursor position after each
> written character, its redisplay would be much slower than it is now.

It would only need to query when printing a grapheme cluster, and only
the first time.  After that, it could remeber.





This bug report was last modified 82 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.