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#32599: 25.2; Feature request: input PUA characters by name Date: Sun, 26 May 2019 19:51:00 +0300 Message-ID: <83d0k52m8b.fsf@gnu.org> References: <86sh30fg4q.fsf@mimuw.edu.pl> <868t4n3wbt.fsf@mimuw.edu.pl> <877ek72c7b.fsf@gmail.com> <868t4m3nrs.fsf@mimuw.edu.pl> <8736uu3eb3.fsf@gmail.com> <86r2iey9vk.fsf@mimuw.edu.pl> <867ead8wmd.fsf@mimuw.edu.pl> <83lfyt2s25.fsf@gnu.org> <86pno56y82.fsf@mimuw.edu.pl> <86y32t2p44.fsf@mimuw.edu.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="110844"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 32599@debbugs.gnu.org To: jsbien@mimuw.edu.pl Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 26 19:06:41 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 1hUwbY-000Sh0-BQ for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 May 2019 19:06:40 +0200 Original-Received: from localhost ([127.0.0.1]:57596 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUwbX-0001iX-8L for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 May 2019 13:06:39 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48171) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUwam-00016P-ON for bug-gnu-emacs@gnu.org; Sun, 26 May 2019 13:05:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hUwNO-0008DS-4c for bug-gnu-emacs@gnu.org; Sun, 26 May 2019 12:52:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38054) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hUwNO-0008DM-1W for bug-gnu-emacs@gnu.org; Sun, 26 May 2019 12:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hUwNN-0004lM-VK for bug-gnu-emacs@gnu.org; Sun, 26 May 2019 12:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 May 2019 16:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32599 X-GNU-PR-Package: emacs Original-Received: via spool by 32599-submit@debbugs.gnu.org id=B32599.155888946918216 (code B ref 32599); Sun, 26 May 2019 16:52:01 +0000 Original-Received: (at 32599) by debbugs.gnu.org; 26 May 2019 16:51:09 +0000 Original-Received: from localhost ([127.0.0.1]:51598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hUwMW-0004jk-Vz for submit@debbugs.gnu.org; Sun, 26 May 2019 12:51:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60268) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hUwMU-0004jA-Ef for 32599@debbugs.gnu.org; Sun, 26 May 2019 12:51:07 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46605) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUwMM-0007st-IP; Sun, 26 May 2019 12:50:59 -0400 Original-Received: from [176.228.60.248] (port=3989 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hUwMM-0008CP-0W; Sun, 26 May 2019 12:50:58 -0400 In-reply-to: <86y32t2p44.fsf@mimuw.edu.pl> (jsbien@mimuw.edu.pl) 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:159792 Archived-At: > From: jsbien@mimuw.edu.pl (Janusz S. Bień) > Cc: 32599@debbugs.gnu.org > Date: Sun, 26 May 2019 17:48:43 +0200 > > >> The UnicodeData.txt file is compiled into Emacs, > > > > I know and I'm curious whether it is really needed. > > It was a bad wording as I can guess it is done for efficiency. Indeed. Both processing efficiency and (perhaps more importantly) memory efficiency. Some of the resulting data is accessed by core features that must be very efficient: the display engine, the regexp search functions, etc. > How the character data are stored and accessed? The data is stored in char-tables of special kind. See the files uni-*.el which are produced as part of the Emacs build process. > > Why it cannot be loaded at the startup? > > Or, better, partially overriden or supplemented? Is is prohibited by the > way the character data are stored? You can override the char-tables at run time, of course, but first you need to generate the new ones. And there's the other problem I mentioned: with general treatment of PUA codepoints.