[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: AproposUnicode (was: Help with unicode diacritics)
From: |
Drew Adams |
Subject: |
RE: AproposUnicode (was: Help with unicode diacritics) |
Date: |
Mon, 28 Dec 2020 10:11:06 -0800 (PST) |
> > Only partly related to this thread, and just FYI.
> > My library `apu.el' (Apropos Unicode) can sometimes
> > help with showing info about Unicode chars.
>
> I've made a quick test and looks like I would like it, but it seems that
> you completely ignore private use characters. For example, U+E8BF
> described by ‘describe-char’ as general-category: Co (Other, Private
> Use) is completely ignored by `describe-chars-in-region'.
Thanks for trying it.
First, I'm no expert on Unicode, by any means.
I use `get-char-code-property' to check for Unicode
chars, checking properties `name' and `old-name':
(or (get-char-code-property character 'name)
(get-char-code-property character 'old-name))
If a char doesn't have either of those properties
then I flag it as not being a Unicode char.
(Perhaps the message shouldn't say it's not a Unicode
char. I'm no expert on the terminology. Perhaps it
should just say that the char has no name.)
Maybe you can suggest a code change to do something
more like what you expect? If so, please do. Thx.
- Help with unicode diacritics, Stephen Eglen, 2020/12/28
- Re: Help with unicode diacritics, Stephen Eglen, 2020/12/30
- Re: Help with unicode diacritics, Janusz S. Bień, 2020/12/30
- Re: Help with unicode diacritics, Stephen Eglen, 2020/12/30
- Re: Help with unicode diacritics, Eli Zaretskii, 2020/12/30
Re: Help with unicode diacritics, Eli Zaretskii, 2020/12/28