From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: `character-fold-search' should be a user option, like `case-fold-search' Date: Tue, 1 Sep 2015 17:35:06 -0700 (PDT) Message-ID: <8738ba01-8829-4f32-aedf-99bad30031c5@default> References: <3a794017-27a5-43f7-809b-a3ebe894c1de@default> <87egihpxip.fsf@mail.linkov.net> 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 1441154131 7165 80.91.229.3 (2 Sep 2015 00:35:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Sep 2015 00:35:31 +0000 (UTC) Cc: emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 02 02:35:19 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 1ZWw1H-00081g-0p for ged-emacs-devel@m.gmane.org; Wed, 02 Sep 2015 02:35:19 +0200 Original-Received: from localhost ([::1]:59831 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWw1G-0007k4-L8 for ged-emacs-devel@m.gmane.org; Tue, 01 Sep 2015 20:35:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52363) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWw1C-0007jv-9B for emacs-devel@gnu.org; Tue, 01 Sep 2015 20:35:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZWw17-0003TZ-9r for emacs-devel@gnu.org; Tue, 01 Sep 2015 20:35:14 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:27507) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWw17-0003TT-4j for emacs-devel@gnu.org; Tue, 01 Sep 2015 20:35:09 -0400 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t820Z8I2027780 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 2 Sep 2015 00:35:08 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t820Z8Pg006285 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 2 Sep 2015 00:35:08 GMT Original-Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by aserv0122.oracle.com (8.13.8/8.13.8) with ESMTP id t820Z8jL008602; Wed, 2 Sep 2015 00:35:08 GMT In-Reply-To: <87egihpxip.fsf@mail.linkov.net> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 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:189437 Archived-At: > > Subject line says it all. Users should be able to customize > > this variable, to decide for themselves, without fiddling with > > `setq', whether search starts by default with or without > > character folding. They should be able to find this easily, > > as an option in custom group `matching', right alongside > > `case-fold-search'. > > > > No? > > > > I customized `case-fold-search' to nil long ago, and I will > > likely do the same for `char-fold-search': set it to nil. > > By default I want search to distinguish different characters. > > > > Different users have different uses and different preferences. > > > > Fortunately, the behavior can be toggled. But the default > > behavior should also be customizable. Users should not need > > to use `setq' for `char-fold-search' but be able to customize > > `case-fold-search'. This is a (minor) step backward, IMO. >=20 > Like with =E2=80=98case-fold-search=E2=80=99 and =E2=80=98isearch-case-fo= ld-search=E2=80=99 we could > make =E2=80=98char-fold-search=E2=80=99 customizable and =E2=80=98isearch= -char-fold-search=E2=80=99 > togglable, i.e. when =E2=80=98char-fold-search=E2=80=99 is t: >=20 > =E2=80=98C-s a=E2=80=99 matches [a=C3=A4] > =E2=80=98C-s a M-'=E2=80=99 matches [a] > =E2=80=98C-s =C3=A4=E2=80=99 matches [=C3=A4] > =E2=80=98C-s =C3=A4 M-'=E2=80=99 matches [a=C3=A4] >=20 > when =E2=80=98char-fold-search=E2=80=99 is nil: >=20 > =E2=80=98C-s a=E2=80=99 matches [a] > =E2=80=98C-s =C3=A4=E2=80=99 matches [=C3=A4] Read this quick, but I think you are saying the same thing you said in your earlier post - with which I agree.