[emacs-berlin] Emacs grapheme segmentation support (was: Re: June 2025 Meetup)

jman emacs-berlin at city17.xyz
Sat Jun 28 12:16:07 UTC 2025


jman <emacs-berlin at city17.xyz> writes:

> I would like to gather feedbacks and opinions about a topic I wanted to bring to the Emacs devel
> mailing list. AFAIK Emacs currently does not support grapheme segmentation and in some case this 
> is
> a bit annoying (I can show how). I don't have specific domain knowledge but I *think* there is now 
> a
> proper way to accomplish that.

After our discussion at the meetup I felt encouraged to bring the topic to the Emacs mailing 
list. Eli Zaretskii kindly replied with some useful insights
https://mail.gnu.org/archive/html/bug-gnu-emacs/2025-06/msg01637.html

which basically boil down to:
- it's quite some work
- the protocol implemented by the Kitty terminal emulator author is not widely adopted, so what 
  happens when an Emacs user is not using Kitty

I am still a bit confused because I set $TERMINFO to Kitty's own terminfo file, I thought that was 
enough.

Anyway. So IIUC I don't see a solution on the horizon to graphemes correct representation for emacs 
TTY users and I don't think my mail there will ignite a discussion on how to make it happen. That's 
a bit discouraging, I am certainly not able to contribute a solution.

Looks like the only way is to remove these graphemes from the buffer? I believe someone at the 
meetup suggested a sort of "find&replace" but I didn't take notes. Was it Ihor?

Cheers,


More information about the emacs-berlin mailing list