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: `character-fold-search' should be a user option, like `case-fold-search' Date: Wed, 02 Sep 2015 01:47:42 +0300 Organization: LINKOV.NET Message-ID: <87egihpxip.fsf@mail.linkov.net> References: <3a794017-27a5-43f7-809b-a3ebe894c1de@default> 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 1441147704 13505 80.91.229.3 (1 Sep 2015 22:48:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Sep 2015 22:48:24 +0000 (UTC) Cc: emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 02 00:48:12 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 1ZWuLb-0006kC-Gy for ged-emacs-devel@m.gmane.org; Wed, 02 Sep 2015 00:48:11 +0200 Original-Received: from localhost ([::1]:59168 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWuLb-0000m3-0m for ged-emacs-devel@m.gmane.org; Tue, 01 Sep 2015 18:48:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55228) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWuLW-0000l0-Gi for emacs-devel@gnu.org; Tue, 01 Sep 2015 18:48:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZWuLV-000370-N1 for emacs-devel@gnu.org; Tue, 01 Sep 2015 18:48:06 -0400 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:56616 helo=homiemail-a21.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZWuLV-00036u-H3 for emacs-devel@gnu.org; Tue, 01 Sep 2015 18:48:05 -0400 Original-Received: from homiemail-a21.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a21.g.dreamhost.com (Postfix) with ESMTP id 0A587300079; Tue, 1 Sep 2015 15:48:04 -0700 (PDT) Original-Received: from localhost.linkov.net (m212-53-118-114.cust.tele2.ee [212.53.118.114]) (Authenticated sender: jurta@jurta.org) by homiemail-a21.g.dreamhost.com (Postfix) with ESMTPA id 1FA5930006C; Tue, 1 Sep 2015 15:48:02 -0700 (PDT) In-Reply-To: <3a794017-27a5-43f7-809b-a3ebe894c1de@default> (Drew Adams's message of "Tue, 1 Sep 2015 08:49:02 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:189424 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. 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: =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] when =E2=80=98char-fold-search=E2=80=99 is nil: =E2=80=98C-s a=E2=80=99 matches [a] =E2=80=98C-s =C3=A4=E2=80=99 matches [=C3=A4]