unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Hongyi Zhao <hongyi.zhao@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Find all the name and alias corresponding to a codepoint in Emacs.
Date: Sat, 12 Mar 2022 16:55:26 +0800	[thread overview]
Message-ID: <CAGP6POLeiC8XaMQg4Z_wC5JGdEobVmUPmHiEFyvaAZYm6UBuUQ@mail.gmail.com> (raw)
In-Reply-To: <CAGP6POLwAW-QTM_t-nxkoy9XO1TAy3fDAiD1dQprdGy4m4Fk_w@mail.gmail.com>

On Sat, Mar 12, 2022 at 4:43 PM Hongyi Zhao <hongyi.zhao@gmail.com> wrote:
>
> On Sat, Mar 12, 2022 at 2:31 PM Eli Zaretskii <eliz@gnu.org> wrote:
> >
> > > From: Hongyi Zhao <hongyi.zhao@gmail.com>
> > > Date: Sat, 12 Mar 2022 10:54:49 +0800
> > >
> > > Say, for back-tick or grave accent ( ` ) symbol, I want to let Emacs
> > > give me all of its  name and alias, but the `M-x describe-char ` can
> > > only give the following information:
> > >
> > >   name: GRAVE ACCENT
> > >   old-name: SPACING GRAVE
> > >
> > > So, I want to know if it's possible to find all the name and alias
> > > corresponding to a codepoint in Emacs.
> >
> > Right next to the "Character code properties:" heading in the buffer
> > shown by describe-char, there's a button whose title is "customize
> > what to show".  If you click it or press RET on it, you will be shown
> > a buffer where you customize what character properties to display.
>
> Thank you. I see, as shown in the attachment.

Now, I've enabled all the properties defined in "Describe Char Unidata List":

(setq describe-char-unidata-list
      '(name old-name general-category canonical-combining-class
bidi-class decomposition decimal-digit-value digit-value numeric-value
mirrored iso-10646-comment uppercase lowercase titlecase)
      )


But `M-x describe-char ` still gives the following information:

```
             position: 1 of 1 (0%), column: 0
            character: ` (displayed as `) (codepoint 96, #o140, #x60)
              charset: ascii (ASCII (ISO646 IRV))
code point in charset: 0x60
               script: latin
               syntax: '     which means: prefix
             category: .:Base, a:ASCII, l:Latin, r:Roman
             to input: type "C-x 8 RET 60" or "C-x 8 RET GRAVE ACCENT"
          buffer code: #x60
            file code: #x60 (encoded by coding system utf-8-unix)
              display: by this font (glyph code):
    ftcrhb:-PfEd-DejaVuSansMono Nerd Font
Mono-regular-normal-normal-*-20-*-*-*-m-0-iso10646-1 (#x43)

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

There are 3 overlays here:
 From 1 to 1
  face                 highlight
 From 1 to 1
  face                 highlight
 From 1 to 1
  face                 highlight


There are text properties here:
  fontified            t
  wrap-prefix          " "
  ws-butler-chg        chg

[back]

```

Best regards,
Hongyi



  reply	other threads:[~2022-03-12  8:55 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 [this message]
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
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=CAGP6POLeiC8XaMQg4Z_wC5JGdEobVmUPmHiEFyvaAZYm6UBuUQ@mail.gmail.com \
    --to=hongyi.zhao@gmail.com \
    --cc=eliz@gnu.org \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).