emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inserting by name and describing some PUA characters


From: Janusz S. Bień
Subject: Re: Inserting by name and describing some PUA characters
Date: Wed, 06 Jan 2021 17:13:42 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

On Wed, Jan 06 2021 at 17:52 +02, Eli Zaretskii wrote:
>> From: jsbien@mimuw.edu.pl (Janusz S. Bień)
>> Date: Wed, 06 Jan 2021 16:03:21 +0100
>> 
>> I just noticed a serious bug. Looks like I misunderstood the meaning of
>> 'define-char-code-property'.
>> 
>> I hoped that the second call to it will just supplement the table with
>> additional values. However looks like the table is recreated from
>> scratch and in consequence it contains only the MUFI names provided by
>> me.
>
> That's correct, AFAIU.
>
> Why did you need to supplement the table, and which table was it?

I just noticed that I forgot to push 'mufi-name.el' to the repository
(https://github.com/jsbien/unicode4polish/). I have done it now. Below
is a fragment:

--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.

Regards

Janusz

-- 
             ,   
Janusz S. Bien
emeryt (emeritus)
https://sites.google.com/view/jsbien



reply via email to

[Prev in Thread] Current Thread [Next in Thread]