From: "T.V Raman" <raman@google.com>
To: rpluim@gmail.com
Cc: raman@google.com, yuri.v.khan@gmail.com, emacs-devel@gnu.org
Subject: Re: describe-char-fold-equivalences
Date: Mon, 9 Jan 2023 10:31:47 -0800 [thread overview]
Message-ID: <25532.23955.41572.777239@retriever.mtv.corp.google.com> (raw)
In-Reply-To: <87a62rhffq.fsf@gmail.com>
yes, this LGTM!
Robert Pluim writes:
> >>>>> On Mon, 09 Jan 2023 07:31:17 -0800, "T.V Raman" <raman@google.com> said:
>
> 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?
>
> Yes. Something like this for emacs-29?
>
> 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-regexp'.
> 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: ?\N{LATIN SMALL LETTER R}
> +
> +which is for the requested character itself, and a later line has
> +
> + ṟ: ?\N{LATIN SMALL LETTER R}?\N{COMBINING MACRON BELOW}
> +
> +which clearly shows what the constituent characters are."
> (interactive (list (ignore-errors
> (read-char-by-name
> (format-prompt "Unicode name, single char, or hex"
--
Thanks,
--Raman(I Search, I Find, I Misplace, I Research)
♉ Id: kg:/m/0285kf1 🦮
--
Thanks,
--Raman(I Search, I Find, I Misplace, I Research)
♉ Id: kg:/m/0285kf1 🦮
next prev parent reply other threads:[~2023-01-09 18:31 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-08 4:26 describe-char-fold-equivalences T.V Raman
2023-01-08 5:56 ` describe-char-fold-equivalences Eli Zaretskii
2023-01-08 5:59 ` describe-char-fold-equivalences Ruijie Yu via Emacs development discussions.
2023-01-08 14:57 ` describe-char-fold-equivalences T.V Raman
2023-01-08 14:55 ` describe-char-fold-equivalences T.V Raman
2023-01-08 6:02 ` describe-char-fold-equivalences Yuri Khan
2023-01-08 14:57 ` describe-char-fold-equivalences T.V Raman
2023-01-09 14:16 ` describe-char-fold-equivalences Robert Pluim
2023-01-09 15:31 ` describe-char-fold-equivalences T.V Raman
2023-01-09 15:54 ` describe-char-fold-equivalences Robert Pluim
2023-01-09 18:31 ` T.V Raman [this message]
2023-01-10 16:16 ` describe-char-fold-equivalences Robert Pluim
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=25532.23955.41572.777239@retriever.mtv.corp.google.com \
--to=raman@google.com \
--cc=emacs-devel@gnu.org \
--cc=rpluim@gmail.com \
--cc=yuri.v.khan@gmail.com \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.