From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: describe-char-fold-equivalences Date: Mon, 9 Jan 2023 10:31:47 -0800 Message-ID: <25532.23955.41572.777239@retriever.mtv.corp.google.com> References: <87ilhfhjxh.fsf@gmail.com> <87a62rhffq.fsf@gmail.com> 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="22354"; mail-complaints-to="usenet@ciao.gmane.io" Cc: raman@google.com, yuri.v.khan@gmail.com, emacs-devel@gnu.org To: rpluim@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jan 09 19:32:54 2023 Return-path: Envelope-to: ged-emacs-devel@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 1pEwx3-0005cf-Oy for ged-emacs-devel@m.gmane-mx.org; Mon, 09 Jan 2023 19:32:53 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pEwwN-0007Kg-0N; Mon, 09 Jan 2023 13:32:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pEwwA-0007JM-7B for emacs-devel@gnu.org; Mon, 09 Jan 2023 13:31:59 -0500 Original-Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pEww7-0006BV-P9 for emacs-devel@gnu.org; Mon, 09 Jan 2023 13:31:57 -0500 Original-Received: by mail-pj1-x102b.google.com with SMTP id m7-20020a17090a730700b00225ebb9cd01so13691257pjk.3 for ; Mon, 09 Jan 2023 10:31:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=references:in-reply-to:subject:cc:to:date:message-id :content-transfer-encoding:mime-version:from:from:to:cc:subject:date :message-id:reply-to; bh=7sroTWA5mzPs+gVOYjSJ/kmeytNTd0f4JuzLYww0mxA=; b=V+3gvU/G61ZvvcXC0+/zZlG6p5vlBz9Jztuq1ANWKsmUqEHiBeQUncR7F4USq5F+w/ IMWV0ilY1xvawrShI+QlSwXo5uZcRR9qyofBAwiIyE3c916/iIWf8RWQHpKw0bhhEYWW Y6MpptsknCxzxlNo4besYtxMMHc4iBQOpJZNg8IMrXAHTvWkFW3dCczEqerThIh7824L r7Bqz4hZf+Ay0LeFeFm0P6uHDyE5SWObx8Ra4kAc4kgrXa9A982ggx1/fnjq/JhhjIIu dgiSZv+FCxN/ERLisduAFMmo5MrO9RNkXQ3mJdWhyyaQzgzZKiqYVmne7Gu4yjjaEcBz JRJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=references:in-reply-to:subject:cc:to:date:message-id :content-transfer-encoding:mime-version:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=7sroTWA5mzPs+gVOYjSJ/kmeytNTd0f4JuzLYww0mxA=; b=JIfBHzq5zEwJk4VJpnms4xClWvvY+L56H5khUhSxWiJofJVVWUeROZ+xkuXurpW4IF 1f3hDfqd/ITsYYAg27HfFd1dJv+qjROCfUP/JGxFNEuiCbDJqGHTYqewhYSR+QhqRAu/ pxEAEbNfE8/N+SYBirjGtEszWVKnwdoUhCYLBnE1RU+D1gjbiTCFU5GX5vBuCsQBCfK1 OLHJKfKTYDkCbf4lRFY2qh2W/MhEuXWP7mG4DHhW5i1rYKvkyPU6Mj7T8fp6XfVg0e1k Exq5yzGxjjWctjXBXr6xSXeEAKwoPCA2TRc0BN45+OzCuUov2ADw3x7ScEu+4cAzDtsY fK1A== X-Gm-Message-State: AFqh2krRDL/RI9KSIReIspJcU6QwR3oU5/rdntY+YeBKa8CW4MmMShQ9 k0x8Uc4rneNWHX2EETNzz2wrAO5TX3sCWAM/ X-Google-Smtp-Source: AMrXdXsN5eX4f4y8YDuBGvNeNcQa1mWSmOCsUg6bOU/lCyQBSix+BVjTUWwV/JUa49VoJTm/TgO3cA== X-Received: by 2002:a17:902:f24a:b0:193:d12:f892 with SMTP id j10-20020a170902f24a00b001930d12f892mr10050861plc.0.1673289113317; Mon, 09 Jan 2023 10:31:53 -0800 (PST) Original-Received: from retriever.mtv.corp.google.com ([2620:0:1000:1612:b50:836c:9c21:7fa4]) by smtp.gmail.com with ESMTPSA id q18-20020a170902bd9200b00186b7443082sm6435511pls.195.2023.01.09.10.31.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Jan 2023 10:31:52 -0800 (PST) In-Reply-To: <87a62rhffq.fsf@gmail.com> X-Mailer: VM 8.1.1 under 30.0.50 (x86_64-pc-linux-gnu) Received-SPF: pass client-ip=2607:f8b0:4864:20::102b; envelope-from=raman@google.com; helo=mail-pj1-x102b.google.com X-Spam_score_int: -175 X-Spam_score: -17.6 X-Spam_bar: ----------------- X-Spam_report: (-17.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:302303 Archived-At: yes, this LGTM! Robert Pluim writes: > >>>>> On Mon, 09 Jan 2023 07:31:17 -0800, "T.V Raman" said: >=20 > T> thanks for the explanation. > T> Perhaps we could make that more discoverable when reading the= output of > T> that function ie the doc string I complained about=3F >=20 > Yes. Something like this for emacs-29=3F >=20 > diff --git a/lisp/char-fold.el b/lisp/char-fold.el > index eff2f5558b3..f1da7997407 100644 > --- a/lisp/char-fold.el > +++ b/lisp/char-fold.el > @@ -436,7 +436,24 @@ describe-char-fold-equivalences > describe all available character equivalences of `char-fold-to-rege= xp'. > Optional argument LAX (interactively, the prefix argument), if > non-nil, means also include partially matching ligatures and > -non-canonical equivalences." > +non-canonical equivalences. > + > +Each line of the display shows the equivalences in two different > +ways separated by a colon: > + > + - as the literal character or sequence > + - using an ASCII-only escape syntax > + > +For example, for the letter 'r', the first line is > + > + r: =3F\N{LATIN SMALL LETTER R} > + > +which is for the requested character itself, and a later line has > + > + r=CC=B1: =3F\N{LATIN SMALL LETTER R}=3F\N{COMBINING MACRON BELO= W} > + > +which clearly shows what the constituent characters are." > (interactive (list (ignore-errors > (read-char-by-name > (format-prompt "Unicode name, single char, = or hex" --=20 Thanks, --Raman(I Search, I Find, I Misplace, I Research) =E2=99=89 Id: kg:/m/0285kf1 =F0=9F=A6=AE -- Thanks, --Raman(I Search, I Find, I Misplace, I Research) ♉ Id: kg:/m/0285kf1 🦮