From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Hongyi Zhao Newsgroups: gmane.emacs.help Subject: Re: Find all the name and alias corresponding to a codepoint in Emacs. Date: Sat, 12 Mar 2022 16:55:26 +0800 Message-ID: References: <83fsnnd6n2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17221"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 12 10:04:25 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nSxfk-0004L7-2W for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 12 Mar 2022 10:04:24 +0100 Original-Received: from localhost ([::1]:48968 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSxfi-0003fp-EU for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 12 Mar 2022 04:04:22 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49420) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSxeC-0003eJ-2C for help-gnu-emacs@gnu.org; Sat, 12 Mar 2022 04:02:49 -0500 Original-Received: from [2607:f8b0:4864:20::102b] (port=51941 helo=mail-pj1-x102b.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nSxeA-0001K5-EU; Sat, 12 Mar 2022 04:02:47 -0500 Original-Received: by mail-pj1-x102b.google.com with SMTP id cx5so10227867pjb.1; Sat, 12 Mar 2022 01:02:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BcdKlIDT4W9+Ax42nyguQapgT7Wof+kjVCkRL7b95OQ=; b=p/VwLmuPGO678TBwS7stsDaXrXjgFB/dPFxRfXosGOr+iilUUwhjW92ssr5IWy7eq2 IoqRp1PDYvuMrAuzJrOjOrxhm9bZrLw/Tmdpsfykf2NwxlrMsXffN+0/QxrM/VYuzEyP wucug+uRY5t2Z3+nOIMK3hPQUQzc8c5dks0z2X29ZrVROEgvsjdtJ4txFub8OXjLTpL8 pOA+qDAVqAdplv3cUC+HpVPKVx5JyVdxmTmChd1gUnqfuedV6HE8791TO9I4Zx3UQMEe sHIAL0Dxx0p3Zfx2avz1tTSDW0YYKT9Ph/LV4BUZG/0UpAKiTeOQ5f4TxYF0i3C9FBNj RTkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=BcdKlIDT4W9+Ax42nyguQapgT7Wof+kjVCkRL7b95OQ=; b=56yPwx7CJeA/HwtToMnlop5nOp4uG/DFbg02Gcxn/cf7MW3onYMnw/FjS1XnCNYsUK +uSXX5VJbFkUwteJjgJZR5USvu5A/jTrdOcb9AlEZ4EylvLuCsjOECKl2Hx4gWKDvxsz w5XKQQMrjs8uXgMVw8Yq98MDVRcPaERU0bd8Rj5JU1lMp7RBtFTE+Y78/o5pwMdPTPOQ GWlNw+hQDKCP7qfSxcA77rlvT7XpTCx/nm00aju/jAx0ZHrKpV5ObwAvydngIAZWjwsU 1k+W44fxSNWFCB3WEWDE08QfwzyauumN0wiIxj91WOvxkT3SgOWgN/e8eKRYwf4FTSGz G9vg== X-Gm-Message-State: AOAM533rU3huPNQXaGc0Tv3IEOFwTtvoqKTu5y2xD5t4m+CXN20JyLJv kXV+D++mu5pzfdMlenh8PJV0zmqCrvy+8VejC59sORmND3fUZQKW X-Google-Smtp-Source: ABdhPJxKWuVae43NeKrOCm9/0oW9NrB7wsEp331bmlape/grYwwCnBxDQAum0bqWcnceCYiOfs6eJc0nN41IWQO0Oo4= X-Received: by 2002:a67:6c81:0:b0:31b:9192:878a with SMTP id h123-20020a676c81000000b0031b9192878amr6066019vsc.35.1647075337275; Sat, 12 Mar 2022 00:55:37 -0800 (PST) In-Reply-To: X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::102b (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::102b; envelope-from=hongyi.zhao@gmail.com; helo=mail-pj1-x102b.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:136483 Archived-At: On Sat, Mar 12, 2022 at 4:43 PM Hongyi Zhao wrote: > > On Sat, Mar 12, 2022 at 2:31 PM Eli Zaretskii wrote: > > > > > From: Hongyi Zhao > > > 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