From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#34215: 27.0.50; Provide elisp access to Chinese pinyin-to-character mapping Date: Sun, 27 Jan 2019 17:41:50 +0200 Message-ID: <83r2cy3y69.fsf@gnu.org> References: <87imyafyts.fsf@ericabrahamsen.net> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="146534"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 34215@debbugs.gnu.org To: Eric Abrahamsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 27 16:43:13 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gnmaW-000c0G-Cj for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Jan 2019 16:43:12 +0100 Original-Received: from localhost ([127.0.0.1]:47117 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnmaV-0008RL-A4 for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Jan 2019 10:43:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnmaM-0008P7-Os for bug-gnu-emacs@gnu.org; Sun, 27 Jan 2019 10:43:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnmaM-0005CW-2d for bug-gnu-emacs@gnu.org; Sun, 27 Jan 2019 10:43:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48451) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gnmaL-0005CN-W0 for bug-gnu-emacs@gnu.org; Sun, 27 Jan 2019 10:43:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gnmaL-000815-JX for bug-gnu-emacs@gnu.org; Sun, 27 Jan 2019 10:43: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, 27 Jan 2019 15:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34215 X-GNU-PR-Package: emacs Original-Received: via spool by 34215-submit@debbugs.gnu.org id=B34215.154860373430764 (code B ref 34215); Sun, 27 Jan 2019 15:43:01 +0000 Original-Received: (at 34215) by debbugs.gnu.org; 27 Jan 2019 15:42:14 +0000 Original-Received: from localhost ([127.0.0.1]:47732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnmZa-000808-Fw for submit@debbugs.gnu.org; Sun, 27 Jan 2019 10:42:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48553) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gnmZX-0007zs-Vu for 34215@debbugs.gnu.org; Sun, 27 Jan 2019 10:42:12 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35319) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnmZS-0004pl-K3; Sun, 27 Jan 2019 10:42:06 -0500 Original-Received: from [176.228.60.248] (port=3578 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gnmZS-0004Hf-80; Sun, 27 Jan 2019 10:42:06 -0500 In-reply-to: <87imyafyts.fsf@ericabrahamsen.net> (message from Eric Abrahamsen on Sat, 26 Jan 2019 21:34:39 -0800) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:154815 Archived-At: > From: Eric Abrahamsen > Date: Sat, 26 Jan 2019 21:34:39 -0800 > > So this proposed patch simply parses the same file in the same way, but > in a different location. I've put it in china-util.el, but chinese.el > would also be a reasonable spot. Both those files are concerned with > encoding, but at least "china-util" gives the impression that it could > be a grab-bag. How much does this add to Emacs memory footprint when loaded? Since this will be required only rarely, I doubt that it would be a good idea to force every user of Chinese language to pay the price, if it is significant. It would be better to have this as a separate file with autoloaded variable or function, IMO. > I'm not sure this use of `source-directory' is particularly robust, but > I don't know how else to handle it. source-directory might not exist in a given installation. Maybe we should have the data copied into that separate file I mentioned above. Thanks.