all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hongyi Zhao <hongyi.zhao@gmail.com>
To: Felix Dietrich <felix.dietrich@sperrhaken.name>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Find all the name and alias corresponding to a codepoint in Emacs.
Date: Mon, 21 Mar 2022 09:12:52 +0800	[thread overview]
Message-ID: <CAGP6PO+WXfJ5JdNrRAbkk7GqZe7+MK0c1jUbgyVBi8ZjwajcoQ@mail.gmail.com> (raw)
In-Reply-To: <87a6dk4nqf.fsf@sperrhaken.name>

On Mon, Mar 21, 2022 at 12:14 AM Felix Dietrich
<felix.dietrich@sperrhaken.name> wrote:
>
> 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.

Nice. It gives the following query result for "`" discussed here:

varia
grave accent
typewritten backtick
bareia
backquote
backtick
grave

Best,
HZ



  parent reply	other threads:[~2022-03-21  1:12 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
2022-03-20 16:55               ` tomas
2022-03-21  1:12               ` Hongyi Zhao [this message]
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=CAGP6PO+WXfJ5JdNrRAbkk7GqZe7+MK0c1jUbgyVBi8ZjwajcoQ@mail.gmail.com \
    --to=hongyi.zhao@gmail.com \
    --cc=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.