[Top][All Lists]

[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: Tue, 26 Jul 2022 18:54:38 +0200

>>>>> On Tue, 26 Jul 2022 19:06:25 +0300, Eli Zaretskii <eliz@gnu.org> said:

    >> From: Robert Pluim <rpluim@gmail.com>
    >> Cc: emacs-devel@gnu.org
    >> Date: Tue, 26 Jul 2022 16:23:47 +0200
    >> >>>>> On Tue, 26 Jul 2022 16:16:35 +0300, Eli Zaretskii <eliz@gnu.org> 
    >> >> I didnʼt pick up on this earlier. What do you mean by "easier
    >> >> customization of char-fold.el"? I thought the various include/exclude
    >> >> vars were all customizable already?
    Eli> Yes, but the values are not very friendly for interactive
    Eli> customizations, IMNSHO.
    >> Theyʼre fundamentally mappings from a base char to a set of
    >> 'equivalent' chars. You can use 'C-x 8 RET' to enter any of them, and
    >> you can delete the entries for a base char easily, so I guess Iʼm
    >> missing the difficulty (but then UX is always very personal).

    Eli> Well, one question that it would be nice to be able to ask Emacs is
    Eli> "show me all the characters that resemble CH", so that users could
    Eli> decide what to add to the existing set.

But the characters that resemble CH are already in the char-fold-table
by default. And "chars that look like CH but arenʼt in the
char-fold-table" is something that a human can determine, but Iʼm all
out of ideas on how to do it in elisp.

    Eli> Another potential issue is how does one easily delete a character from
    Eli> the list, when what is known is its name or codepoint?  Using Isearch
    Eli> with \N{...} or "C-x 8 RET" is quite advanced.

That sounds like we need a custom custom widget. I took a quick look,
but I didnʼt see an obvious way to have a widget which could display
its value(s) in several different formats.


reply via email to

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