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: ASCII-folded search [was: Re: Upcoming loss of usability ...] Date: Thu, 25 Jun 2015 01:22:28 +0300 Organization: LINKOV.NET Message-ID: <87h9pw6922.fsf@mail.linkov.net> References: <20150615142237.GA3517@acm.fritz.box> <5580D356.4050708@cs.ucla.edu> <87si9qonxb.fsf@gnu.org> <87ioamz8if.fsf@petton.fr> <32013464-2300-46c6-ba46-4a3c36bfee5d@default> <87twu62nnt.fsf@mbork.pl> <87oakdfwim.fsf@uwakimon.sk.tsukuba.ac.jp> <83wpz1lh7c.fsf@gnu.org> <83oakdl7yj.fsf@gnu.org> <83ioall3x5.fsf@gnu.org> <87h9pzxtyi.fsf@mail.linkov.net> <87k2uudoqr.fsf@mail.linkov.net> <87616c94g4.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 1435184693 397 80.91.229.3 (24 Jun 2015 22:24:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Jun 2015 22:24:53 +0000 (UTC) Cc: "Stephen J. Turnbull" , Eli Zaretskii , Stefan Monnier , emacs-devel To: Artur Malabarba Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 25 00:24:36 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 1Z7t5u-0008SP-G4 for ged-emacs-devel@m.gmane.org; Thu, 25 Jun 2015 00:24:34 +0200 Original-Received: from localhost ([::1]:53167 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7t5t-0000gl-T8 for ged-emacs-devel@m.gmane.org; Wed, 24 Jun 2015 18:24:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48012) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7t5p-0000gU-PO for emacs-devel@gnu.org; Wed, 24 Jun 2015 18:24:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7t5o-0007rN-Vr for emacs-devel@gnu.org; Wed, 24 Jun 2015 18:24:29 -0400 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:50785 helo=homiemail-a11.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7t5g-0007n4-VU; Wed, 24 Jun 2015 18:24:21 -0400 Original-Received: from homiemail-a11.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a11.g.dreamhost.com (Postfix) with ESMTP id 0A1836E06A; Wed, 24 Jun 2015 15:24:20 -0700 (PDT) Original-Received: from localhost.linkov.net (m83-191-167-128.cust.tele2.ee [83.191.167.128]) (Authenticated sender: jurta@jurta.org) by homiemail-a11.g.dreamhost.com (Postfix) with ESMTPA id 13AA66E05B; Wed, 24 Jun 2015 15:24:17 -0700 (PDT) In-Reply-To: (Artur Malabarba's message of "Wed, 24 Jun 2015 22:59:28 +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.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:187504 Archived-At: >> It doesn't enable by default, so it could be combined with the same lo= gic >> like in =E2=80=98isearch-toggle-case-fold=E2=80=99. In any case we ha= ve to find a good >> mnemonic key binding to toggle the new character-folding mode. > > I think I'll set it to M-s f. Both c and h are already taken (not sure > why, but `h' feels mnemonic here) and f is the next best thing I > think. Or we could use a quote M-s ' =E2=80=98M-s f=E2=80=99 is already used by dired-isearch-filenames, whereas =E2=80=98M-s '=E2=80=99 has good mnemonics indeed. So the most important remaining problem is how to combine char-folding with =E2=80=98isearch-lax-whitespace=E2=80=99 and =E2=80=98search-whitesp= ace-regexp=E2=80=99. It seems this will require duplicating some code between these two.