emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs-28 a866674b2a: Fix inaccuracies in "lax search" documentation


From: Robert Pluim
Subject: Re: emacs-28 a866674b2a: Fix inaccuracies in "lax search" documentation
Date: Mon, 25 Jul 2022 16:48:28 +0200

>>>>> On Mon, 25 Jul 2022 16:43:59 +0300, Eli Zaretskii <eliz@gnu.org> said:

    >> From: Robert Pluim <rpluim@gmail.com>
    >> Cc: Eli Zaretskii <eliz@gnu.org>
    >> Gmane-Reply-To-List: yes
    >> Date: Mon, 25 Jul 2022 15:01:38 +0200
    >> 
    >> Should we make `char-fold-to-regexp' into a command and refer to it
    >> from here? Or add something like `char-fold-show-equivalences'?

    Eli> I'm not sure I understand what you have in mind, but if the intent is
    Eli> to allow easier customization of char-fold.el, I'm for it.  I'd also
    Eli> welcome commands for displaying the equivalent sequences in an easily
    Eli> readable format, although that could be a non-trivial job.

I initially was thinking just of showing the regexp, but youʼd want to
show each individial char? ie, instead of

"\\(?:\\(?:ḟ\\|[fᶠḟⓕf𝐟𝑓𝒇𝒻𝓯𝔣𝕗𝖋𝖿𝗳𝘧𝙛𝚏]\\)\\|ffl\\|ffi\\|fl\\|fi\\|ff\\|㎙\\|ḟ\\)"

show something like:

Characters quivalent to: 'f'

 𝚏
 𝙛
 𝘧
 𝗳
 𝖿
 𝖋
 𝕗
 𝔣
 𝓯
 𝒻
 𝒇
 𝑓
 𝐟
 f
 F
 ffl
 ffi
 fl
 fi
 ff
 ㎙
 ㎙
 ⓕ
 Ⓕ
 ḟ
 Ḟ
 ᶠ
 f
 F

etc? Getting that list is relatively easy, itʼs the bike shedding
about the format that will be hard (and what to do with
`case-fold-search') :-)


Robert
-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]