From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: char equivalence classes in search - why not symmetric? Date: Thu, 10 Sep 2015 08:57:09 +0200 Message-ID: <87zj0u4v96.fsf@fencepost.gnu.org> References: <2a7b9134-af2a-462d-af6c-d02bad60bbe8@default> <834mjecdy7.fsf@gnu.org> <38061f42-eaf1-47c6-b74d-f676ac952b18@default> <83r3miatvl.fsf@gnu.org> <21998.29683.916211.867479@a1i15.kph.uni-mainz.de> <83pp1s7w1m.fsf@gnu.org>> <87lhcg38x7.fsf@mail.linkov.net> <83y4gg5n4q.fsf@gnu.org>> > > <5c860cd6-6453-4d7e-971b-bb047f6c9b1e@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1441868259 16817 80.91.229.3 (10 Sep 2015 06:57:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Sep 2015 06:57:39 +0000 (UTC) Cc: rms@gnu.org, ulm@gentoo.org, bruce.connor.am@gmail.com, juri@linkov.net, eliz@gnu.org, emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 10 08:57:38 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZZvnc-00086P-17 for ged-emacs-devel@m.gmane.org; Thu, 10 Sep 2015 08:57:36 +0200 Original-Received: from localhost ([::1]:47326 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZvnb-0000js-Hx for ged-emacs-devel@m.gmane.org; Thu, 10 Sep 2015 02:57:35 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZvnR-0000c5-Ub for emacs-devel@gnu.org; Thu, 10 Sep 2015 02:57:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZvnR-00081Q-6j for emacs-devel@gnu.org; Thu, 10 Sep 2015 02:57:25 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:37247) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZvnJ-00080f-GB; Thu, 10 Sep 2015 02:57:17 -0400 Original-Received: from localhost ([127.0.0.1]:50282 helo=lola) by fencepost.gnu.org with esmtp (Exim 4.82) (envelope-from ) id 1ZZvnC-0001Mo-7K; Thu, 10 Sep 2015 02:57:10 -0400 Original-Received: by lola (Postfix, from userid 1000) id 8E4B9DF41E; Thu, 10 Sep 2015 08:57:09 +0200 (CEST) In-Reply-To: <5c860cd6-6453-4d7e-971b-bb047f6c9b1e@default> (Drew Adams's message of "Wed, 9 Sep 2015 20:15:50 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:189792 Archived-At: Drew Adams writes: >> > They are equivalence classes. The chars are equivalent when searched >> > for (with char folding turned on). >>=20 >> No, they aren't. For instance, A and =C1 are not equivalent in search. >> Searching for A will match =C1, but searching for =C1 will not match A. > > Please read what I said: "The chars are equivalent when searched for." > ^^^^^^^^^^^^^^^^^ They aren't. Searching with the search string "=C1" will find "=C1" but not "A". > I did *not* say, as you say, that they are "equivalent in search." > I=A0tried to carefully distinguish the two uses of the chars: when used > as search targets (they are currently equivalent) vs when used in the > search string (they are not equivalent, currently). Yes, there is a distinction between search targets and search spec. But they are different in either category. --=20 David Kastrup