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.devel Subject: Re: Inserting by name and describing some PUA characters Date: Wed, 06 Jan 2021 18:51:49 +0200 Message-ID: <83sg7e100q.fsf@gnu.org> References: <87eej2320z.fsf@mimuw.edu.pl> <87eeiy6rba.fsf@mimuw.edu.pl> <83wnwq12rj.fsf@gnu.org> <875z4a59hl.fsf@mimuw.edu.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19941"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: jsbien@mimuw.edu.pl Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jan 06 17:52:45 2021 Return-path: Envelope-to: ged-emacs-devel@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 1kxC3A-00054t-Rx for ged-emacs-devel@m.gmane-mx.org; Wed, 06 Jan 2021 17:52:44 +0100 Original-Received: from localhost ([::1]:51812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxC39-0000mE-TC for ged-emacs-devel@m.gmane-mx.org; Wed, 06 Jan 2021 11:52:43 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58754) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxC2K-00084l-DF for emacs-devel@gnu.org; Wed, 06 Jan 2021 11:51:52 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36373) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxC2J-0003ks-IL; Wed, 06 Jan 2021 11:51:51 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1624 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kxC2I-0002SR-Og; Wed, 06 Jan 2021 11:51:51 -0500 In-Reply-To: <875z4a59hl.fsf@mimuw.edu.pl> (jsbien@mimuw.edu.pl) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:262617 Archived-At: > From: jsbien@mimuw.edu.pl (Janusz S. Bień) > Cc: emacs-devel@gnu.org > Date: Wed, 06 Jan 2021 17:13:42 +0100 > > --8<---------------cut here---------------start------------->8--- > > (define-char-code-property 'name > #^[nil nil char-code-property-table nil #^^[1 0 nil nil nil nil nil > > [...] > > J JJ C K T P H] [A AE YA YAE EO E YEO YE O WA WAE OE YO U WEO WE WI YU EU YI I] [G GG GS N NJ NH D L LG LM LB LS LT LP LH M B BS S SS NG J C K T P H]]]] > "Unicode character name. > Property value is a string or nil. > The value nil stands for the default value \"null string\").") > > --8<---------------cut here---------------end--------------->8--- > > I expected that the names of the PUA MUFI characters will be added to > the existing Unicode names. However after evaluating it 'describe-char' > doesn't show the names of the Unicode character. I assume the culprit is > 'mufi-name.el' but of course the problem can be more complicated. I think with the current infrastructure you will have to regenerate uni-name.el such that it includes information both from UnicodeData.txt and from MUFI. uni-name.el will then be loaded when first used. Alternatively, I think you could use put-char-code-property to modify the 'name' property of the PUA codepoints you want to use for MUFI.