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: Fri, 27 Mar 2020 01:04:12 +0200 Organization: LINKOV.NET Message-ID: <87ftdud8gj.fsf@mail.linkov.net> References: <87y2rppddp.fsf@mail.linkov.net> <87imiskzc6.fsf@mail.linkov.net> <83d08z9os5.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="90845"; 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 Fri Mar 27 00:47:56 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 1jHcE7-000NYH-Nb for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Mar 2020 00:47:55 +0100 Original-Received: from localhost ([::1]:35260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHcE6-0005Xa-OX for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Mar 2020 19:47:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60959) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHcDI-0004iK-TW for bug-gnu-emacs@gnu.org; Thu, 26 Mar 2020 19:47:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jHcDH-0006sf-LO for bug-gnu-emacs@gnu.org; Thu, 26 Mar 2020 19:47:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54419) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jHcDH-0006sT-IS for bug-gnu-emacs@gnu.org; Thu, 26 Mar 2020 19:47:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jHcDH-0005jQ-H2 for bug-gnu-emacs@gnu.org; Thu, 26 Mar 2020 19:47:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Mar 2020 23:47:03 +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.158526638521926 (code B ref 40216); Thu, 26 Mar 2020 23:47:03 +0000 Original-Received: (at 40216) by debbugs.gnu.org; 26 Mar 2020 23:46:25 +0000 Original-Received: from localhost ([127.0.0.1]:60380 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jHcCe-0005hY-BI for submit@debbugs.gnu.org; Thu, 26 Mar 2020 19:46:25 -0400 Original-Received: from relay10.mail.gandi.net ([217.70.178.230]:41129) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jHcCb-0005h2-Iv for 40216@debbugs.gnu.org; Thu, 26 Mar 2020 19:46:22 -0400 Original-Received: from mail.gandi.net (m91-129-96-173.cust.tele2.ee [91.129.96.173]) (Authenticated sender: juri@linkov.net) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 7AD62240006; Thu, 26 Mar 2020 23:46:14 +0000 (UTC) In-Reply-To: (Robert Pluim's message of "Thu, 26 Mar 2020 16:43:10 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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:177768 Archived-At: > >> Do we need an option to char-fold-regexp that says 'only apply > >> char-folding to non-ascii characters'? > > Eli> But this feature is not intended only to find variants of non-ASCII > Eli> characters when one searches for a non-ASCII, it is also intended to > Eli> find variants when searching for ASCII characters. For example, > Eli> searching for a is supposed to find ä and à and á. Or am I missing > Eli> something? > > Yes, thatʼs exactly right. But in the case where you have mainly > characters where you donʼt want case-folding, it might make sense to > restrict the folding to non-ascii as an optimisation. eg. Suppose my > name were Røbert, with people frequently misspelling it as Robert, I > might want isearch to just search for "R\\(?:ǿ\\|[øǿo]\\)bert" I tried to find Røbert by typing Robert, but char-fold fails to find it. A bug in char-fold?