From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#40216: 28.0.50; Misinformation in isearch char-fold Date: Sun, 29 Mar 2020 01:42:02 +0200 Organization: LINKOV.NET Message-ID: <87k134jbcl.fsf@mail.linkov.net> References: <87y2rppddp.fsf@mail.linkov.net> <87imiskzc6.fsf@mail.linkov.net> <83d08z9os5.fsf@gnu.org> <87ftdud8gj.fsf@mail.linkov.net> <83pncy8dlg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="94699"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 40216@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 30 04:39:19 2020 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 1jIkKd-000OXY-1x for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 30 Mar 2020 04:39:19 +0200 Original-Received: from localhost ([::1]:43840 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIkKc-0000pZ-3f for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 29 Mar 2020 22:39:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55161) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIkHz-00040l-J9 for bug-gnu-emacs@gnu.org; Sun, 29 Mar 2020 22:36:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIkHy-0003pR-AY for bug-gnu-emacs@gnu.org; Sun, 29 Mar 2020 22:36:35 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48660) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jIkHy-0003p1-3i for bug-gnu-emacs@gnu.org; Sun, 29 Mar 2020 22:36:34 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jIkHy-0004kL-0v for bug-gnu-emacs@gnu.org; Sun, 29 Mar 2020 22:36:34 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Mar 2020 02:36:33 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40216 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 40216-submit@debbugs.gnu.org id=B40216.158553573417380 (code B ref 40216); Mon, 30 Mar 2020 02:36:33 +0000 Original-Received: (at 40216) by debbugs.gnu.org; 30 Mar 2020 02:35:34 +0000 Original-Received: from relay1-d.mail.gandi.net ([217.70.183.193]:37447) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jILWq-00048l-Td; Sat, 28 Mar 2020 20:10:17 -0400 X-Originating-IP: 91.129.96.173 Original-Received: from mail.gandi.net (m91-129-96-173.cust.tele2.ee [91.129.96.173]) (Authenticated sender: juri@linkov.net) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 96EEA240004; Sun, 29 Mar 2020 00:10:09 +0000 (UTC) In-Reply-To: (Robert Pluim's message of "Fri, 27 Mar 2020 09:30:24 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-List-Received-Date: Sun, 29 Mar 2020 00:10:17 -0000 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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:177851 Archived-At: tags 40216 fixed close 40216 28.0.50 quit > Eli> So if one wants to support the kind of folding you expected, one would > Eli> have to customize char-fold-include to add those additional rules. > > Yes, wrong example. I guess this wouldnʼt be useful after all (and Thanks for pointing out a possibility to optimize char-fold, I haven't thought about this before. But it seems this optimization limits the usability of char-fold since matching non-ascii characters on ascii text is not needed as often as matching ascii on non-ascii text, or both ways. Even the current default of folding ascii to non-ascii is so useless for me that I have to enable char-fold-symmetric. > I see nothing wrong with Juri's proposed fix to the actual issue). So now pushed to master.