From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adrian.B.Robert@gmail.com Newsgroups: gmane.emacs.devel Subject: Re: Character folding in the pretest Date: Fri, 05 Feb 2016 10:08:25 +0200 Message-ID: <86d1sbbmva.fsf@gmail.com> References: <87mvriuk3a.fsf@gmail.com> <8737t9ex1p.fsf@petton.fr> <83oabxyf71.fsf@gnu.org> <56B230D1.90902@gmail.com> <87bn7x4i4o.fsf@wanadoo.es> <87d1sc4rin.fsf@djcbsoftware.nl> <87lh70xu7i.fsf@iki.fi> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454659760 28186 80.91.229.3 (5 Feb 2016 08:09:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Feb 2016 08:09:20 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 05 09:09:11 2016 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 1aRbS1-0006YZ-64 for ged-emacs-devel@m.gmane.org; Fri, 05 Feb 2016 09:09:09 +0100 Original-Received: from localhost ([::1]:46687 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRbRv-0003JT-Fn for ged-emacs-devel@m.gmane.org; Fri, 05 Feb 2016 03:09:03 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42431) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRbRh-0003JB-JN for emacs-devel@gnu.org; Fri, 05 Feb 2016 03:08:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRbRe-0000BK-8s for emacs-devel@gnu.org; Fri, 05 Feb 2016 03:08:49 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:50418) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRbRe-0000BG-1l for emacs-devel@gnu.org; Fri, 05 Feb 2016 03:08:46 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aRbRW-000647-3Y for emacs-devel@gnu.org; Fri, 05 Feb 2016 09:08:38 +0100 Original-Received: from 193.64.3.205 ([193.64.3.205]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Feb 2016 09:08:38 +0100 Original-Received: from Adrian.B.Robert by 193.64.3.205 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Feb 2016 09:08:38 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 193.64.3.205 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt) Cancel-Lock: sha1:DTYZttte4UoiiF5mqgRus0vxiqk= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:199366 Archived-At: Teemu Likonen writes: > Dirk-Jan C. Binnema [2016-02-04 13:57:36+02] wrote: > >> Regardless, for the purpose of searching, my personal preference would >> be to make folding rather inclusive; I don't really care about the >> exact rules languages have come up for what letters are considered >> "the same", I just care for what I, as a user, would find the easiest >> to match. > >> ... > I think that just a global setting and easy switch like M-s > in isearch prompt is enough. I fear that any locale or language based > magic or intelligence is over-engineering and may cause annoying > surprises. Unexpected intelligence can be harmful too. +1 I sense a strong enmity between the perfect and the good here. "Dumb" (unicode-equivalence-based) character folding is a a godsend for searching through texts when using the "wrong" keyboard layout, for whatever reason. It also matches expectations from using search engines, etc.. And exact matching can handle the need for precision. Using default=exact with an easy global option for switching to unicode-folding will be a great step forward.