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: Mon, 21 Mar 2022 09:12:52 +0800 Message-ID: References: <83fsnnd6n2.fsf@gnu.org> <83ee37cy43.fsf@gnu.org> <83ee37mmar.fsf@gnu.org> <87a6dk4nqf.fsf@sperrhaken.name> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16192"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs To: Felix Dietrich Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 21 02:13:47 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 1nW6cF-00044m-A2 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 21 Mar 2022 02:13:47 +0100 Original-Received: from localhost ([::1]:38108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nW6cD-0003AN-O0 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 20 Mar 2022 21:13:45 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49996) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nW6ba-0003AD-8y for help-gnu-emacs@gnu.org; Sun, 20 Mar 2022 21:13:06 -0400 Original-Received: from [2607:f8b0:4864:20::a33] (port=37439 helo=mail-vk1-xa33.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nW6bY-0006XS-L4 for help-gnu-emacs@gnu.org; Sun, 20 Mar 2022 21:13:05 -0400 Original-Received: by mail-vk1-xa33.google.com with SMTP id h205so5503859vke.4 for ; Sun, 20 Mar 2022 18:13:04 -0700 (PDT) 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:content-transfer-encoding; bh=7AQHhZOnE2JsrLMnBbRXjfIB6pjBotX8Ut69+NjKDbw=; b=bSXmrPgZ0Wf4EGZcm2D5pQJKzjSfIovfz1aXfGCIlYYZqwcQKdStDlR8iKxAVWVgkN oNaW54mglnDBPPtEp7ZNgm7SPjlcQcX/ljKHIkZWunlkK/SWiSlFWI9qodp1N/jLddYn t+eoQYKlyE1GqInFfiKPOKNuqM/RAVuR/8hmuii/3q2woJpPxynfhRJhknQel3F0S8KA wQd60lJ52kjlL3EtM8MjKmuTqNkkaXpPrWTiam72eAFp5cc7hjsm0O1MdhgLBLaQRzgn cEFJAP0nTISvQan2kmvisHuUoWZ7z3Tt9Ba0Wb8+LCXnmUVkPRdQPpedXCwNRjdQqGqA YFOg== 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:content-transfer-encoding; bh=7AQHhZOnE2JsrLMnBbRXjfIB6pjBotX8Ut69+NjKDbw=; b=NHhpH7Xe7cDLRsuT4sptEiS6opArPHX2PGp60QxbR1Np+j0zX+8Kh7Nu59QN3aKdT3 ZsCPfDt7IGfPV+m3bWtT/68d/yDRLDvqTSovfqlk1Y/rGjSng/VcjtXLBTzgQ66xkF+u 51BreO4VRNh78h9KXl7yMfIyEaB8WIIavePi5FasjnVFOVd3TVx8k2e7Jg3TjusnLv+E vGy8oMyBpcYzBaoAmiVx/ETx0AAliw7Vjzv8PYhkxzN2l/mHG35dlj5vzWCFT75QvADT E7FMaxw99BC9xEQmgi4EPu4P9gUUCIa7m+bcHejpQuZ9Yp6EMNuolcYJQFP16s6i6EeU siGw== X-Gm-Message-State: AOAM531xHw3SrFPgpveBjKdwVMZUXAIzcHZeIDv0eD59FHONTCmp7urk +9z8U6Iib6SQeZSm3a9uihV17k7lGwbDSIIk3sIdOmeLY2uPEw== X-Google-Smtp-Source: ABdhPJx4BgxaioGM6ADInyXGUuYTD8TBf9ImRPnS2VSRa/FXf2o9UZ/Xt6AKCpTEgwDeZkdpbRweD6NNLGYd4T99Kzw= X-Received: by 2002:ac5:cdc7:0:b0:32c:f4d3:63a0 with SMTP id u7-20020ac5cdc7000000b0032cf4d363a0mr7156339vkn.31.1647825183368; Sun, 20 Mar 2022 18:13:03 -0700 (PDT) In-Reply-To: <87a6dk4nqf.fsf@sperrhaken.name> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::a33 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::a33; envelope-from=hongyi.zhao@gmail.com; helo=mail-vk1-xa33.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:136698 Archived-At: On Mon, Mar 21, 2022 at 12:14 AM Felix Dietrich wrote: > > Eli Zaretskii writes: > > >> From: Hongyi Zhao > >> Date: Sat, 12 Mar 2022 19:20:11 +0800 > >> Cc: help-gnu-emacs > >> > >> > > 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, reordra= nt, > >> > > 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 =E2=80=98wd-char-aliases-show=E2=80=99 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 =E2=80=93 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