GNU bug report logs - #52918
29.0.50; to make use of ucd/Unihan_Readings.txt for kDefinition entry

Previous Next

Package: emacs;

Reported by: Van Ly <van.ly <at> sdf.org>

Date: Fri, 31 Dec 2021 17:56:01 UTC

Severity: wishlist

Found in version 29.0.50

Full log


View this message in rfc822 format

From: Van Ly <van.ly <at> sdf.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 52918 <at> debbugs.gnu.org
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)
[Message part 1 (text/plain, inline)]
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
[0029-bug-52918-generate-East-Asian-readings-char-table.patch (text/plain, attachment)]

This bug report was last modified 2 years and 18 days ago.

Previous Next


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