From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: char equivalence classes in search - why not symmetric? Date: Fri, 11 Sep 2015 09:28:36 -0400 Message-ID: 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> <9A972800-D8F0-4DA8-877E-07D5BDC2E1F9@gmail.com> <87oahd11i9.fsf@uwakimon.sk.tsukuba.ac.jp> <8cf269bc-69d8-4752-8506-de8d992512e1@default> <4f3b1db3-d3d2-480f-8662-fbf7c74aa67f@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1441978147 30293 80.91.229.3 (11 Sep 2015 13:29:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Sep 2015 13:29:07 +0000 (UTC) Cc: stephen@xemacs.org, jean.christophe.helary@gmail.com, Drew Adams , emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 11 15:28:58 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 1ZaONm-0005AJ-EP for ged-emacs-devel@m.gmane.org; Fri, 11 Sep 2015 15:28:50 +0200 Original-Received: from localhost ([::1]:56375 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaONl-00059T-O7 for ged-emacs-devel@m.gmane.org; Fri, 11 Sep 2015 09:28:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38542) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaONe-00059G-JF for emacs-devel@gnu.org; Fri, 11 Sep 2015 09:28:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZaONa-0007pc-JJ for emacs-devel@gnu.org; Fri, 11 Sep 2015 09:28:42 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:7662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaONa-0007lR-Ew; Fri, 11 Sep 2015 09:28:38 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0CYDQA731xV/zi6xEVcgxCEAshgBAICgTw8EQEBAQEBAQGBCkEFg10BAQMBViMFCwsOJhIUGA0kiDcIzyMBAQEHAgEfizqFBQeELQWzP4FFI4Fmgi4igngBAQE X-IPAS-Result: A0CYDQA731xV/zi6xEVcgxCEAshgBAICgTw8EQEBAQEBAQGBCkEFg10BAQMBViMFCwsOJhIUGA0kiDcIzyMBAQEHAgEfizqFBQeELQWzP4FFI4Fmgi4igngBAQE X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="164552066" Original-Received: from 69-196-186-56.dsl.teksavvy.com (HELO ceviche.home) ([69.196.186.56]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 11 Sep 2015 09:28:36 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 23C9866203; Fri, 11 Sep 2015 09:28:36 -0400 (EDT) In-Reply-To: (Richard Stallman's message of "Fri, 11 Sep 2015 06:28:40 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:189834 Archived-At: > current situation with case folding, that you can't paste in a search > string with capital letters and search for it in a case-independent way. Yes, you can: Use M-c to explicitly choose whether to case-fold or not. > However, in the case of case folding, we solve that by downcasing > text when pasting it into search strings. We could de-accent strings > too when pasting them. Actually, the way we downcase it has problems. E.g. Go to the beginning of this paragraph (i.e. before "Actually") and do: C-s C-w M-c and you end up searching for an exact (non-case-folded) match of "actually" rather than "Actually", so it won't even match the "Actually" from which you got it. Stefan