From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov 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: Sun, 12 Dec 2021 20:54:51 +0200 Organization: LINKOV.NET Message-ID: <864k7dk610.fsf@mail.linkov.net> References: <86ilvwkidx.fsf@mail.linkov.net> <86czm2ncfe.fsf@mail.linkov.net> <864k7elw3m.fsf@mail.linkov.net> <864k7eb7kj.fsf@mail.linkov.net> <86pmq1q5it.fsf@mail.linkov.net> <83a6h5ogkt.fsf@gnu.org> <86a6h5lmug.fsf@mail.linkov.net> <835yrtof3u.fsf@gnu.org> <861r2hllql.fsf@mail.linkov.net> <834k7doe8m.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2188"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: greselin.andrea@gmail.com, 52394@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 12 19:57:18 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 1mwU2A-0000Q5-AV for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Dec 2021 19:57:18 +0100 Original-Received: from localhost ([::1]:38442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwU28-0000IS-Rf for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Dec 2021 13:57:16 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60936) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwU1v-0000E8-MP for bug-gnu-emacs@gnu.org; Sun, 12 Dec 2021 13:57:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41599) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mwU1v-0007Sk-Eb for bug-gnu-emacs@gnu.org; Sun, 12 Dec 2021 13:57:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mwU1v-0004NK-ET for bug-gnu-emacs@gnu.org; Sun, 12 Dec 2021 13:57:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Dec 2021 18:57:03 +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.163933537516731 (code B ref 52394); Sun, 12 Dec 2021 18:57:03 +0000 Original-Received: (at 52394) by debbugs.gnu.org; 12 Dec 2021 18:56:15 +0000 Original-Received: from localhost ([127.0.0.1]:53138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwU19-0004Lm-4C for submit@debbugs.gnu.org; Sun, 12 Dec 2021 13:56:15 -0500 Original-Received: from relay3-d.mail.gandi.net ([217.70.183.195]:52475) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mwU15-0004LL-7c for 52394@debbugs.gnu.org; Sun, 12 Dec 2021 13:56:11 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 95B2460002; Sun, 12 Dec 2021 18:56:04 +0000 (UTC) In-Reply-To: <834k7doe8m.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 12 Dec 2021 20:43:53 +0200") 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:222250 Archived-At: >> Here is the doc string. How do you propose to make it more clear? >> >> "Non-nil means to override all default folding characters. >> When nil, the equivalence table is populated with the default set >> of equivalent chars, and you can remove unneeded characters using >> `char-fold-exclude', and add own characters using `char-fold-include'. >> But when this variable is customized to non-nil, you start with >> an empty table where you can add only own characters >> using `char-fold-include'." > > My reading of this is that the feature by default will not work at all: > since the default value is not nil, the doc string says that I "start > with an empty table", so no folding will happen. Is that what you > meant? And if so, how isn't this a change in behavior? In Emacs 27 > the folding works by default and finds equivalent characters without > any user intervention. > > What am I missing? But doesn't this line "when this variable is customized to non-nil" imply that the default is nil? Or maybe the nil default value should be mentioned in the doc string?