From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.bugs Subject: bug#21140: 25.0.50; Isearch "char-fold" by default Date: Mon, 27 Jul 2015 15:50:31 +0100 Message-ID: References: <86vbd5n27r.fsf@example.com> <866155mzyh.fsf@example.com> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c33ffaa58ab2051bdc798f X-Trace: ger.gmane.org 1438008689 11928 80.91.229.3 (27 Jul 2015 14:51:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Jul 2015 14:51:29 +0000 (UTC) Cc: 21140@debbugs.gnu.org To: Sebastien Vauban Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 27 16:51:17 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ZJjkG-00037X-Ck for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Jul 2015 16:51:12 +0200 Original-Received: from localhost ([::1]:53989 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJjkE-0007cp-K5 for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Jul 2015 10:51:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJjkA-0007cd-U1 for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 10:51:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZJjk6-0002Ge-SQ for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 10:51:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58891) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJjk6-0002GR-Oy for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 10:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZJjk6-0006dh-9Z for bug-gnu-emacs@gnu.org; Mon, 27 Jul 2015 10:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Artur Malabarba Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Jul 2015 14:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21140 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21140-submit@debbugs.gnu.org id=B21140.143800863425489 (code B ref 21140); Mon, 27 Jul 2015 14:51:02 +0000 Original-Received: (at 21140) by debbugs.gnu.org; 27 Jul 2015 14:50:34 +0000 Original-Received: from localhost ([127.0.0.1]:60337 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZJjjd-0006d2-V3 for submit@debbugs.gnu.org; Mon, 27 Jul 2015 10:50:34 -0400 Original-Received: from mail-la0-f46.google.com ([209.85.215.46]:36516) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZJjjc-0006ct-6U for 21140@debbugs.gnu.org; Mon, 27 Jul 2015 10:50:32 -0400 Original-Received: by lagw2 with SMTP id w2so50569243lag.3 for <21140@debbugs.gnu.org>; Mon, 27 Jul 2015 07:50:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=UIBXnuV+URExQqt8C75N72dA6VM4V2U5QgYU8uI7BnM=; b=f0o9xVMNDud5dmKWlabdv6sg9F2EC+JS11D44Wk0Eun+mRnZngCq2WyWBv1zQSv7tX 7BgHNPpa+fvxaNshfPWOhewZCAXxe+bo4wNf+eF++G2SG33vWbySjPMlT2Qb/B/laB1N qDkjDxvsknDgwf4CdMwB9pUwJLHyqY42bvnUtB1C0vqDC1ubj4ErQPhs/KkLYCZPCgvR rtcPTDR8IZFHqjdVVGRmzypsn5VknJXU36gAr8IsPjrJOozURHerfzFQ4SMumgKUa6c/ yKsN5FIMRWHnd0O/+eEoTrkuZj9hK7E7KVV2KsGyO9ZYHgJlTrUj1mR2LwxZD/F7xYhS POTA== X-Received: by 10.112.139.131 with SMTP id qy3mr27297207lbb.4.1438008631197; Mon, 27 Jul 2015 07:50:31 -0700 (PDT) Original-Received: by 10.25.134.139 with HTTP; Mon, 27 Jul 2015 07:50:31 -0700 (PDT) Original-Received: by 10.25.134.139 with HTTP; Mon, 27 Jul 2015 07:50:31 -0700 (PDT) In-Reply-To: <866155mzyh.fsf@example.com> X-Google-Sender-Auth: Kirxjce_24A9sV8I6CbHLxgIEDU X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:105159 Archived-At: --001a11c33ffaa58ab2051bdc798f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > > Char fold search is a text search, not a regexp search. It does use > > a regexp underneath, but that should be invisible to the user. You > > type some text and it matches that text or similar texts. > > "Char fold" search is a "fuzzy" search, then, similar to > https://github.com/auto-complete/fuzzy-el? Not quite. It just allows simple ascii characters to match their complex unicode counterparts. For instance, if you search for "a" you will also match "=C3=A1" and "=C3= =A3". > What comes the name "char fold" from? It's not very intuitive to me > that it's some sort of fuzzy search; moreover, it looks like "case fold" > search, which is again something different... It is exactly like case fold. ;-) Where case folding folds together "a" and "A", char folding folds together "a", "=C3=A1" and "=C3=A3". The name is also something under discussion. Suggestions of something more intuitive are very much welcome. --001a11c33ffaa58ab2051bdc798f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

> > Char fold search is a text search, not a regexp se= arch. It does use
> > a regexp underneath, but that should be invisible to the user. Yo= u
> > type some text and it matches that text or similar texts.
>
> "Char fold" search is a "fuzzy" search, then, simi= lar to
> https://github.c= om/auto-complete/fuzzy-el?

Not quite. It just allows simple ascii characters to match t= heir complex unicode counterparts.
For instance, if you search for "a" you will also match "=C3= =A1" and "=C3=A3".

> What comes the name "char fold" from?=C2=A0 I= t's not very intuitive to me
> that it's some sort of fuzzy search; moreover, it looks like "= ;case fold"
> search, which is again something different...

It is exactly like case fold. ;-)
Where case folding folds together "a" and "A", char fol= ding folds together "a", "=C3=A1" and "=C3=A3"= ;.

The name is also something under discussion. Suggestions of = something more intuitive are very much welcome.

--001a11c33ffaa58ab2051bdc798f--