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: Mon, 03 Jan 2022 15:54:33 +0200 Message-ID: <83czl8diw6.fsf@gnu.org> References: <71822f83-a7a7-1ec8-42e-c1c6294fed2@SDF.ORG> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28027"; 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 Mon Jan 03 14:55:59 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 1n4Noc-00073u-C2 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 Jan 2022 14:55:58 +0100 Original-Received: from localhost ([::1]:37990 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4Noa-0003Js-Ri for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 03 Jan 2022 08:55:56 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35112) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4Nni-0003ID-J3 for bug-gnu-emacs@gnu.org; Mon, 03 Jan 2022 08:55:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51125) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4Nnh-0006ns-Vu for bug-gnu-emacs@gnu.org; Mon, 03 Jan 2022 08:55:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n4Nnh-00043b-NW for bug-gnu-emacs@gnu.org; Mon, 03 Jan 2022 08:55: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: Mon, 03 Jan 2022 13:55: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.164121807915552 (code B ref 52918); Mon, 03 Jan 2022 13:55:01 +0000 Original-Received: (at 52918) by debbugs.gnu.org; 3 Jan 2022 13:54:39 +0000 Original-Received: from localhost ([127.0.0.1]:34438 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4NnL-00042l-Dl for submit@debbugs.gnu.org; Mon, 03 Jan 2022 08:54:39 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34116) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n4NnJ-00042X-NL for 52918@debbugs.gnu.org; Mon, 03 Jan 2022 08:54:37 -0500 Original-Received: from [2001:470:142:3::e] (port=51612 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 1n4NnE-0006iV-D5; Mon, 03 Jan 2022 08:54:32 -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=3d1na3GugbfgexUU87EiBmaWHbkhOj4CWyQxppcTA9s=; b=VhhO06myKBAi BNAYoH9DaxXZiV78K3xxEIzYVG+4f2YoC+MwUKq7Ys5T+Zzn9zF2oP82RCGH2bS0Tg0/93zYMEKZt PmxqOgTg2Bz4eNC0RWcCCrZTc0tAraPBJiLD0uA48tsUZJPF85Yaj4bNX8jBiBs1hkR+PCA7KyjcM hAHB2XKSUXyEqrvKKhaqDqhrpcDP7UBv9yoz9xssjal3aogQUSk5mp1zrOTsXixbM0Cwp1qF+1hto bTXKFFayip4G7sbyICsBUEgGNRvsXxDgoFDJ7fambWuPgbb2PIjtvjXjdRpZmlcezsIAc2x/bOGmE l1K/XJm/Hzo82HNNKmVvDQ==; Original-Received: from [87.69.77.57] (port=2056 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 1n4NnB-0000XJ-PT; Mon, 03 Jan 2022 08:54:32 -0500 In-Reply-To: <71822f83-a7a7-1ec8-42e-c1c6294fed2@SDF.ORG> (message from Van Ly on Fri, 31 Dec 2021 17:55:01 +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:223585 Archived-At: > Date: Fri, 31 Dec 2021 17:55:01 +0000 (UTC) > From: Van Ly > > I was looking in the master's emacs/admin/notes subdirectory and > found the unicode file. It has a list of files from the ucd and has > left out: > > . 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.