From: Felix Dietrich <felix.dietrich@sperrhaken.name>
To: help-gnu-emacs@gnu.org
Subject: Re: Find all the name and alias corresponding to a codepoint in Emacs.
Date: Sun, 20 Mar 2022 17:01:28 +0100 [thread overview]
Message-ID: <87a6dk4nqf.fsf@sperrhaken.name> (raw)
In-Reply-To: <83ee37mmar.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 12 Mar 2022 13:40:12 +0200")
[-- Attachment #1: Type: text/plain, Size: 1287 bytes --]
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Hongyi Zhao <hongyi.zhao@gmail.com>
>> Date: Sat, 12 Mar 2022 19:20:11 +0800
>> Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
>>
>> > > Character code properties: customize what to show
>> > > name: GRAVE ACCENT
>> > > old-name: SPACING GRAVE
>> > > general-category: Sk (Symbol, Modifier)
>> > > canonical-combining-class: 0 (Spacing, split, enclosing, reordrant,
>> > > and Tibetan subjoined)
>> > > bidi-class: ON (Other Neutrals)
>> > > decomposition: (96) ('`')
>> > > mirrored: N
>> >
>> > Why is that a problem?
>>
>> The "grave accent" is also named as "backtick" or "backquote", and I
>> hope to see all these names in Emacs.
>
> We only show the Unicode data, and it has only "SPACING GRAVE" as an
> alternative name.
A somewhat harebrained idea of mine queries Wikidata for aliases stored
there. Use the command ‘wd-char-aliases-show’ to display a list of
aliases for the character under the cursor. This sketch has no comments
or docstrings, nor does it check for errors. The query is slow and
might very well not be entirely correct. (I do not have much of an
understanding of SPARQL and Wikidata.) Maybe it can still be of use to
you – or of interest as a curiosity.
[-- Attachment #2: Emacs Lisp code to search character aliases on Wikidata --]
[-- Type: application/emacs-lisp, Size: 1672 bytes --]
[-- Attachment #3: Type: text/plain, Size: 21 bytes --]
--
Felix Dietrich
next prev parent reply other threads:[~2022-03-20 16:01 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-12 2:54 Find all the name and alias corresponding to a codepoint in Emacs Hongyi Zhao
2022-03-12 4:00 ` Emanuel Berg via Users list for the GNU Emacs text editor
2022-03-12 6:30 ` Eli Zaretskii
2022-03-12 8:43 ` Hongyi Zhao
2022-03-12 8:55 ` Hongyi Zhao
2022-03-12 9:35 ` Eli Zaretskii
2022-03-12 11:20 ` Hongyi Zhao
2022-03-12 11:40 ` Eli Zaretskii
2022-03-12 11:57 ` Hongyi Zhao
2022-03-20 16:01 ` Felix Dietrich [this message]
2022-03-20 16:55 ` tomas
2022-03-21 1:12 ` Hongyi Zhao
2022-03-21 1:33 ` Emanuel Berg via Users list for the GNU Emacs text editor
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=87a6dk4nqf.fsf@sperrhaken.name \
--to=felix.dietrich@sperrhaken.name \
--cc=help-gnu-emacs@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.