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 19:20:11 +0800 Message-ID: References: <83fsnnd6n2.fsf@gnu.org> <83ee37cy43.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="13451"; 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 12:21:27 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 1nSzoM-0003Oo-SH for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 12 Mar 2022 12:21:26 +0100 Original-Received: from localhost ([::1]:33624 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nSzoL-00064T-EJ for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 12 Mar 2022 06:21:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nSznN-00063G-Ds for help-gnu-emacs@gnu.org; Sat, 12 Mar 2022 06:20:25 -0500 Original-Received: from [2607:f8b0:4864:20::e30] (port=44956 helo=mail-vs1-xe30.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nSznL-0001L9-Sz; Sat, 12 Mar 2022 06:20:25 -0500 Original-Received: by mail-vs1-xe30.google.com with SMTP id y4so12156710vsd.11; Sat, 12 Mar 2022 03:20:23 -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=7436JMBaoOuVLE3KryM3c+6Lyku5SQrlfdgB09tatx0=; b=GYlzj2iC/2g6MWS7SNKoV/ZTZOlrK3iVHbtcxeM81x9k7AVyEVYz9/Z7XUv5ttkS+v 8CkDMqkxN0pcQqNxEU/tt5CdEjkyyRli0I4PlIfUOqUn7+Np9X872ZrM9QJYTyLdqnvA 5VRNYsW8nEMR8g5Fi16PXfMp5Qj36ArO3n7+4e7LSq1eDO1kw+J63sYGWqzDfRW1gGvK QffrKd5NzR8Yb6iJwvDec7hUd8zM0LatkXOMdSg16Kd68vR5Q5753GflToA4KOqbmwwS i631nCzVyQXj3fKYvlt0/M+lOgM7I3XThkp6U7nVZ2W+LMrA4pYs80ttJ0nSFSZE/2Wr l45A== 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=7436JMBaoOuVLE3KryM3c+6Lyku5SQrlfdgB09tatx0=; b=qbYqilZ769bNF5qNOVWkzMF7oPPX2lvLkhit+atJ0UtoBokjfyVuQMcFbXeW7oNuHn Md/Ln0Or1eobgae3uc3FrksOfLhruv4UdN8mdWsSsvy6u5uNplVLHcmpX1Ug9qbbmFSJ 1No4549kL9sRTN76dcNLeOH6GyAZE8SsXbfHOt3O7MmIMOxNOI08bBP6BLx5iGPD5H27 UQkBuEu5zNZbStKDRGEqMMkj+O1tNrT9RBsQksSUtM7QgwNWfy/n9z+e2jjvKwA3BI39 Jj0CIEjWJWRE8I0/5AOu3QYvsPU4prDO+ilDyjW1N+nMTuvyWvc8/mJBKl5WCOIn8kwl 5uPg== X-Gm-Message-State: AOAM530e+NjUgyXZpeFxDG4MsTAtrUCllACz09K8Z6Keu+ZuOIOC5qKc gX2OM2gxzopR7HFI7h5nsMMhv7FJAldIXll3xk0C9fGGDAIphRKV X-Google-Smtp-Source: ABdhPJxl499ZIZzb6jSciiQrwSi+ywfCUQN1U7XPzT+SSJCAm/+E4wKfE8wSmeYWc1tYqvFtkfK4rg42x096GFzvdNk= X-Received: by 2002:a67:6c81:0:b0:31b:9192:878a with SMTP id h123-20020a676c81000000b0031b9192878amr6174670vsc.35.1647084022521; Sat, 12 Mar 2022 03:20:22 -0800 (PST) In-Reply-To: <83ee37cy43.fsf@gnu.org> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::e30 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::e30; envelope-from=hongyi.zhao@gmail.com; helo=mail-vs1-xe30.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:136486 Archived-At: On Sat, Mar 12, 2022 at 5:36 PM Eli Zaretskii wrote: > > > From: Hongyi Zhao > > Date: Sat, 12 Mar 2022 16:55:26 +0800 > > Cc: help-gnu-emacs > > > > 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 > > 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. > The properties that aren't shown are all nil, > so they are not interesting. Emacs shows to you all the properties > whose values are useful. Thank you for your explanation. Best, Hongyi