From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#52918: 29.0.50; to make use of ucd/Unihan_Readings.txt for kDefinition entry Date: Sun, 23 Jan 2022 08:00:01 +0200 Message-ID: <83v8ybkn4u.fsf@gnu.org> References: <71822f83-a7a7-1ec8-42e-c1c6294fed2@SDF.ORG> <83czl8diw6.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19638"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 52918@debbugs.gnu.org To: Van Ly Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 23 07:01:50 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nBVwi-0004yb-Pq for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 23 Jan 2022 07:01:48 +0100 Original-Received: from localhost ([::1]:48384 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nBVwh-0003BL-NS for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 23 Jan 2022 01:01:47 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42690) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBVvy-00038o-9M for bug-gnu-emacs@gnu.org; Sun, 23 Jan 2022 01:01:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45514) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nBVvx-0001tt-Uv for bug-gnu-emacs@gnu.org; Sun, 23 Jan 2022 01:01:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nBVvx-0005V1-RQ for bug-gnu-emacs@gnu.org; Sun, 23 Jan 2022 01:01:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 23 Jan 2022 06:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52918 X-GNU-PR-Package: emacs Original-Received: via spool by 52918-submit@debbugs.gnu.org id=B52918.164291762521086 (code B ref 52918); Sun, 23 Jan 2022 06:01:01 +0000 Original-Received: (at 52918) by debbugs.gnu.org; 23 Jan 2022 06:00:25 +0000 Original-Received: from localhost ([127.0.0.1]:38417 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBVvN-0005U2-7z for submit@debbugs.gnu.org; Sun, 23 Jan 2022 01:00:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBVvL-0005Tp-Gs for 52918@debbugs.gnu.org; Sun, 23 Jan 2022 01:00:24 -0500 Original-Received: from [2001:470:142:3::e] (port=37432 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBVvG-0001bU-4J; Sun, 23 Jan 2022 01:00:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=JJ0/7o134wV5F4PTPAx+g7yXgKUxFbNfQNAQhVQ01Rs=; b=rR+52PjtHb/x k5JZdE37N9dGHfT6HiGS+s2H574YUmnSkbmJK9ayFqfMBJe0575uG3KAONl5hQTc4OyjUgMjzrPzE MegkNmvx4TlKqNNc93SG1xPT9fuq4OuCPo5++PEVlAtXBib+Mo2lWyuzCV/XfUQSYresTpzKqub+J h/UleYmCgbBIL9TCsnebk1ls28DLNfT9ZttUqo+tRjq7DRq9XfanmdwmowrzLfFr4k4J4eNw9vwdt u2iisZedBYiFv75VxozvWGD37wEqOqBE5T7lKqwpDtZx9N5Y4e0gsTuW5m3yIDqavmKOpUXZy4mxp j49iBBK1hanAVmonlnxItA==; Original-Received: from [87.69.77.57] (port=3482 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBVvF-0008V4-Ki; Sun, 23 Jan 2022 01:00:17 -0500 In-Reply-To: (message from Van Ly on Sun, 23 Jan 2022 02:15:06 +0000 (UTC)) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:224889 Archived-At: > Date: Sun, 23 Jan 2022 02:15:06 +0000 (UTC) > From: Van Ly > cc: 52918@debbugs.gnu.org > > 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. Thanks. You don't seem to have copyright assignment on file, and without that we cannot accept such large contributions. Would you like to start your legal paperwork now? If so, I will send you the form and the instructions.