bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#52918: 29.0.50; to make use of ucd/Unihan_Readings.txt for kDefiniti


From: Van Ly
Subject: bug#52918: 29.0.50; to make use of ucd/Unihan_Readings.txt for kDefinition entry
Date: Sun, 23 Jan 2022 02:15:06 +0000 (UTC)

On Mon, 3 Jan 2022, Eli Zaretskii wrote:

   . Unihan_Readings.txt

Like how quail-show-key helps by showing in the minibuffer the input
sequence needed to type a character for a specific input method, can
there be a function called quail-show-unihan that exposes in the
minibuffer the kDefinition entry associated with the East Asian
character from ucd/Unihan_Readings.txt?

Yes, this could be added to Emacs, and IMO would be a useful feature.

Suggested implementation:

 . import the Unihan_Readings.txt file into Emacs
 . add Makefile rules to produce a uni-unihan-readings.el file from
   Unihan_Readings.txt, which defines a char-table where each
   character has its kDefinition property value
 . code a minor mode which will show in the echo area the value of
   the kDefinition property, if any, of the character at point

Patches welcome.


See patch attached.

Two of the three implementation steps suggested are done.

--
vl

Attachment: 0029-bug-52918-generate-East-Asian-readings-char-table.patch
Description: Text document


reply via email to

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