all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: jsbien@mimuw.edu.pl (Janusz S. Bień)
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Inserting by name and describing some PUA characters
Date: Wed, 06 Jan 2021 17:13:42 +0100	[thread overview]
Message-ID: <875z4a59hl.fsf@mimuw.edu.pl> (raw)
In-Reply-To: <83wnwq12rj.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 06 Jan 2021 17:52:32 +0200")

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	other threads:[~2021-01-06 16:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-03  7:36 Inserting by name and describing some PUA characters Janusz S. Bień
2021-01-03 15:20 ` Eli Zaretskii
2021-01-03 15:36   ` Janusz S. Bień
2021-01-03 15:44     ` Eli Zaretskii
2021-01-06 15:03 ` Janusz S. Bień
2021-01-06 15:52   ` Eli Zaretskii
2021-01-06 16:13     ` Janusz S. Bień [this message]
2021-01-06 16:51       ` Eli Zaretskii
2021-01-06 16:53         ` Janusz S. Bień
2021-01-07  8:23           ` Janusz S. Bień

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=875z4a59hl.fsf@mimuw.edu.pl \
    --to=jsbien@mimuw.edu.pl \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.