From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Greselin Newsgroups: gmane.emacs.bugs Subject: bug#52394: 27.2; Isearch with char folding enabled =?UTF-8?Q?doesn=E2=80=99t?= match equivalent strings Date: Sat, 11 Dec 2021 22:14:55 +0100 Message-ID: References: <86ilvwkidx.fsf@mail.linkov.net> <86czm2ncfe.fsf@mail.linkov.net> <864k7elw3m.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f67cb905d2e5562c" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4014"; mail-complaints-to="usenet@ciao.gmane.io" To: 52394@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 11 22:16:10 2021 Return-path: Envelope-to: geb-bug-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 1mw9j0-0000pM-26 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 11 Dec 2021 22:16:10 +0100 Original-Received: from localhost ([::1]:44886 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mw9iy-0005qM-TX for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 11 Dec 2021 16:16:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41982) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mw9is-0005q4-6K for bug-gnu-emacs@gnu.org; Sat, 11 Dec 2021 16:16:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38597) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mw9ir-0005g5-Tv for bug-gnu-emacs@gnu.org; Sat, 11 Dec 2021 16:16:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mw9ir-00027E-OB for bug-gnu-emacs@gnu.org; Sat, 11 Dec 2021 16:16:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Greselin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Dec 2021 21:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52394 X-GNU-PR-Package: emacs Original-Received: via spool by 52394-submit@debbugs.gnu.org id=B52394.16392573428105 (code B ref 52394); Sat, 11 Dec 2021 21:16:01 +0000 Original-Received: (at 52394) by debbugs.gnu.org; 11 Dec 2021 21:15:42 +0000 Original-Received: from localhost ([127.0.0.1]:50143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mw9iY-00026f-15 for submit@debbugs.gnu.org; Sat, 11 Dec 2021 16:15:42 -0500 Original-Received: from mail-qt1-f180.google.com ([209.85.160.180]:35512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mw9iT-00026P-H1 for 52394@debbugs.gnu.org; Sat, 11 Dec 2021 16:15:40 -0500 Original-Received: by mail-qt1-f180.google.com with SMTP id j17so11778448qtx.2 for <52394@debbugs.gnu.org>; Sat, 11 Dec 2021 13:15:37 -0800 (PST) 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; bh=gRBsGBLLCDAZvrdQxLFgjGOYPrQRBMZIRH0Rcjy1eI4=; b=Dy6WCefr+185Dj5K3Ez1SD0mR3DKcjcKE5Gn4fT4Bbcx6fLpm25SylsRUd0Ud3+SE3 LhR4KTG5H5L10hHYf4em5W4kr6vSkOeymeKTVgho/g0/nf+WtDxJm3x0SQIMxAhmTgsW Vc7uaCyx5K6Qe99DahJh6v7EvFTA6onn3zvdWI6r0bY3YKi1ItyhXrEAREThCYfBmWcA IyCR0kFVll7ahcCe65uURTIi9bUv/dAKjVgCS9n6YlML9LcE0Rc2dKl8vvhfFmFesrOb GGEU12KaoiX9sNJJwY9gDLPFc3QmnHPPApFclbXzIVxWZSDTmc5F7IiKi/3EwlW+UNma SzjQ== 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; bh=gRBsGBLLCDAZvrdQxLFgjGOYPrQRBMZIRH0Rcjy1eI4=; b=vxxsE+lAdS7DY16uyZBmL3RSxAEx6yQMypLcB3rfMin6MuQFlrXaw7xGjzQ4TsAPvV S2mYtpZQZ8C0QSFlOZsRlloFHFAt48wcvh9w2LRjs0rKKWaIYc9Hz/ecNScaoiFYfIrw NRSggKDeuKdMLZ7teEW4kycxZW64rekmUkRC2mMHV7wChQTX7N8BJL77xek3wH6i7Fmv weEjWDWgGOKU2+bEMtCDmSe9mF4Ay3TfSjEvG6I2iVmSSk76g4ueM3I7Bz6326aQ8+gt l0vvqI7wbXhnOi7DkZgXGVw3PXOyqI6NF+zQGABFz6YWGyp4+ZzC6s2Qgsof8jUxa1vH 87bw== X-Gm-Message-State: AOAM533vXYwARZBoRPdlQf6ShZw4KEmngg189mTZyYar3fm6W819BsBo HdZoNlnzGAe88GkTk8JmGwmPcSV2GdnyXDO0livYdgyasAk= X-Google-Smtp-Source: ABdhPJwYH6xU4mpSW5jQvUoTNtIPi1/f0l3pszQREqVu7E0+Ar9Klfntx6hPxVHivH6bSzMXy1Wnjg9uUH5xruN2te8= X-Received: by 2002:ac8:5702:: with SMTP id 2mr35629203qtw.473.1639257331890; Sat, 11 Dec 2021 13:15:31 -0800 (PST) In-Reply-To: <864k7elw3m.fsf@mail.linkov.net> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:222150 Archived-At: --000000000000f67cb905d2e5562c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable What about the option for resetting the default character equivalence sets and rebuilding them from zero? A variable that would allow me to write something like (setq char-fold-user-list '((?' "=E2=80=98" "=E2=80=99") (?\" "=E2=80=9C" "=E2=80=9D"))) to have only quotes be considered equivalent. (When =E2=80=98char-fold-user-table=E2=80=99 is non-nil it overrides the default table.) Do you think it=E2=80=99s a good idea? --000000000000f67cb905d2e5562c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
What about the option for resetting the default character<= br>equivalence sets and rebuilding them from zero? A variable
that would= allow me to write something like

=C2=A0 (setq char-fold-user-list &= #39;((?' =C2=A0"=E2=80=98" "=E2=80=99")
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 (?\" "=E2=80=9C" "=E2=80=9D&qu= ot;)))

to have only quotes be considered equivalent. (When
=E2=80= =98char-fold-user-table=E2=80=99 is non-nil it overrides the
default tab= le.)

Do you think it=E2=80=99s a good idea?
--000000000000f67cb905d2e5562c--