From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: On language-dependent defaults for character-folding Date: Fri, 12 Feb 2016 02:50:13 +0200 Organization: LINKOV.NET Message-ID: <8737syoima.fsf@mail.linkov.net> References: <87mvr9wxqz.fsf@wanadoo.es> <87io1xwq1e.fsf@wanadoo.es> <87vb5wvzfz.fsf@mail.linkov.net> <87io1wt4cc.fsf@wanadoo.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1455238743 3203 80.91.229.3 (12 Feb 2016 00:59:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Feb 2016 00:59:03 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?iso-8859-1?Q?=D3scar?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 12 01:58:54 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 1aU24U-0001iW-NL for ged-emacs-devel@m.gmane.org; Fri, 12 Feb 2016 01:58:54 +0100 Original-Received: from localhost ([::1]:54988 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aU24Q-0005t3-VH for ged-emacs-devel@m.gmane.org; Thu, 11 Feb 2016 19:58:50 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aU24B-0005sm-Ao for emacs-devel@gnu.org; Thu, 11 Feb 2016 19:58:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aU247-0004ll-UK for emacs-devel@gnu.org; Thu, 11 Feb 2016 19:58:35 -0500 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:49509 helo=homiemail-a12.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aU247-0004lf-OR for emacs-devel@gnu.org; Thu, 11 Feb 2016 19:58:31 -0500 Original-Received: from homiemail-a12.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a12.g.dreamhost.com (Postfix) with ESMTP id 6782B1030063; Thu, 11 Feb 2016 16:58:30 -0800 (PST) Original-Received: from localhost.linkov.net (82.131.90.17.cable.starman.ee [82.131.90.17]) (Authenticated sender: jurta@jurta.org) by homiemail-a12.g.dreamhost.com (Postfix) with ESMTPA id 91AD61030062; Thu, 11 Feb 2016 16:58:29 -0800 (PST) In-Reply-To: <87io1wt4cc.fsf@wanadoo.es> (=?iso-8859-1?Q?=22=D3scar?= Fuentes"'s message of "Thu, 11 Feb 2016 02:37:07 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 69.163.253.7 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:199782 Archived-At: > Possibly the languagues you use do not collide with na=C3=AFve characte= r > composition rules, or you ignore them or simply don't care about such > rules. Isearch shines in navigation. For example, to move point quickly to the part of your message that contains the word =E2=80=9Cna=C3=AFve=E2=80=9D,= I could simply type =E2=80=98C-s naive=E2=80=99. Otherwise, it would take a lot of time ente= ring the char =E2=80=9CLATIN SMALL LETTER I WITH DIAERESIS=E2=80=9D to the search strin= g. This is the reason why char-folding search is so enormously useful, even though =E2=80=9Cna=C3=AFve=E2=80=9D and =E2=80=9Cnaive=E2=80=9D are different wo= rds from the formal grammatical point of view. >> Unlike Chromium, Emacs is more extensible and customizable, >> thus we urgently need to provide customization, so everyone could easi= ly >> add/remove char-folding rules to/from the default set. > > It is reasonable to expect from a serious text editor that when you > search for a letter it finds that letter, not unrelated letters. With > the default configuration, of course. It's much safer to have a default where you are not in danger to miss important things. When a strict non-case-folding search skips a match, you don't know about this loss until you discover later the damage. With the case-folding search, you're visiting all possible matches, and when you think it finds too much, you can narrow the results by disabling this feature. This is why its counterpart case-fold-search is opt-out as well.