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: Thu, 03 Sep 2015 01:50:51 +0300 Organization: LINKOV.NET Message-ID: <87twrc77ly.fsf@mail.linkov.net> 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 1441234752 2882 80.91.229.3 (2 Sep 2015 22:59:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Sep 2015 22:59:12 +0000 (UTC) Cc: Drew Adams , emacs-devel To: Artur Malabarba Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 03 00:59:03 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 1ZXGzc-0005HW-6s for ged-emacs-devel@m.gmane.org; Thu, 03 Sep 2015 00:59:00 +0200 Original-Received: from localhost ([::1]:42192 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXGzc-0008P6-Fo for ged-emacs-devel@m.gmane.org; Wed, 02 Sep 2015 18:59:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43059) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXGzP-0008OG-Gg for emacs-devel@gnu.org; Wed, 02 Sep 2015 18:58:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXGzO-0007Id-Ic for emacs-devel@gnu.org; Wed, 02 Sep 2015 18:58:47 -0400 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:37656 helo=homiemail-a20.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXGzO-0007IU-D0 for emacs-devel@gnu.org; Wed, 02 Sep 2015 18:58:46 -0400 Original-Received: from homiemail-a20.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a20.g.dreamhost.com (Postfix) with ESMTP id A7D207EC064; Wed, 2 Sep 2015 15:58:45 -0700 (PDT) Original-Received: from localhost.linkov.net (m212-53-123-180.cust.tele2.ee [212.53.123.180]) (Authenticated sender: jurta@jurta.org) by homiemail-a20.g.dreamhost.com (Postfix) with ESMTPA id 7AD897EC061; Wed, 2 Sep 2015 15:58:44 -0700 (PDT) In-Reply-To: (Artur Malabarba's message of "Wed, 2 Sep 2015 10:26:51 +0100") 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:189490 Archived-At: >> Like with =E2=80=98case-fold-search=E2=80=99 and =E2=80=98isearch-case= -fold-search=E2=80=99 we could >> make =E2=80=98char-fold-search=E2=80=99 customizable > > Yes. > >> and =E2=80=98isearch-char-fold-search=E2=80=99 togglable > > I'm not sure I understand. Character folding is already toggleable > during isearch. > Do you mean we specifically need a variable called > isearch-char-fold-search? isearch-case-fold-search is an internal > variable, not a user option, so I don't think there needs to be a > char-fold analogue. I thought =E2=80=98isearch-char-fold-search=E2=80=99 might be useful as a= n internal variable to propagate its value to =E2=80=98isearch-occur=E2=80=99 (to ch= eck it and not display a gibberish regexp in the *Occur* header). But maybe after renaming =E2=80=98isearch-word=E2=80=99 to a more suitable name lik= e =E2=80=98isearch-regexp-based=E2=80=99 it could be used for the same purp= ose.