From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.devel Subject: Re: ASCII-folded search [was: Re: Upcoming loss of usability ...] Date: Tue, 23 Jun 2015 00:28:40 +0100 Message-ID: References: <20150615142237.GA3517@acm.fritz.box> <87y4jkhqh5.fsf@uwakimon.sk.tsukuba.ac.jp> <557F3C22.4060909@cs.ucla.edu> <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> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c3db8248dff0051923a200 X-Trace: ger.gmane.org 1435015730 3437 80.91.229.3 (22 Jun 2015 23:28:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Jun 2015 23:28:50 +0000 (UTC) Cc: "Stephen J. Turnbull" , Eli Zaretskii , Stefan Monnier , emacs-devel To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 23 01:28:49 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 1Z7B8y-00040e-W8 for ged-emacs-devel@m.gmane.org; Tue, 23 Jun 2015 01:28:49 +0200 Original-Received: from localhost ([::1]:42418 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7B8y-0008T1-9I for ged-emacs-devel@m.gmane.org; Mon, 22 Jun 2015 19:28:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7B8u-0008Sl-9b for emacs-devel@gnu.org; Mon, 22 Jun 2015 19:28:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7B8t-00025K-82 for emacs-devel@gnu.org; Mon, 22 Jun 2015 19:28:44 -0400 Original-Received: from mail-lb0-x230.google.com ([2a00:1450:4010:c04::230]:32838) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7B8r-00024q-Hy; Mon, 22 Jun 2015 19:28:41 -0400 Original-Received: by lbbvz5 with SMTP id vz5so70121847lbb.0; Mon, 22 Jun 2015 16:28:40 -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=Oz0AttBGNQpy0iwC4bAxJTLq5u0s+whqPNk7+U6k/PA=; b=MxDomuFbWyVDiFY3PjleniL+lni+XOIEtJLF6bXC1D7WSlxcQ6IZmTmgrTcDckSJop zJ2WOjBVpQ6DKh3PBnsCSkB7uwZGgqNpseWmG2kCRXvNFZinjh+lqdGHq5DbFpAdXqyD oJFVx9RlfUXHg2O5QKBHct8g0p6b0gY9JNrtthz4/ldJUCvKTy2XTU4NnpRWQS8r9AVh k6hmmF99cKlWQwRkBT6cit3UQYNmeH7IKE5/3z5/iHnJYr9LFySGIoMS6n0PlFQqOqKp 5Yev+40wAo4XmqiukTPqA5A0WY3NatFfTQA+V1Oz39+xrgFtjRswgbWVja+2ryISu3uH F6nQ== X-Received: by 10.112.204.6 with SMTP id ku6mr32256055lbc.73.1435015720786; Mon, 22 Jun 2015 16:28:40 -0700 (PDT) Original-Received: by 10.25.214.133 with HTTP; Mon, 22 Jun 2015 16:28:40 -0700 (PDT) Original-Received: by 10.25.214.133 with HTTP; Mon, 22 Jun 2015 16:28:40 -0700 (PDT) In-Reply-To: <87h9pzxtyi.fsf@mail.linkov.net> X-Google-Sender-Auth: PyPHJ1-AZnYTcT6XUc4Qd0Zi5j4 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::230 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:187399 Archived-At: --001a11c3db8248dff0051923a200 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > Have you found a way to combine char-folding with case-folding? Yes. This particular patch uses regexps, so it works independently of case-fold-search. That is, if case-fold-search is on, then you will get case folding in addition to this. > (in https://lists.gnu.org/archive/html/emacs-devel/2015-02/msg00407.html > another hard problem was char-folding with a combining character.) That works too. "a" matches both "=C3=A1" (the letter) and "a=CC=81" (a let= ter with a combining character). --001a11c3db8248dff0051923a200 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

> Have you found a way to combine char-folding with case-= folding?

Yes. This particular patch uses regexps, so it works indepen= dently of case-fold-search. That is, if case-fold-search is on, then you wi= ll get case folding in addition to this.

> (in https://lists.gnu.org/archive/html/emacs-deve= l/2015-02/msg00407.html
> another hard problem was char-folding with a combining character.)

That works too. "a" matches both "=C3=A1"= ; (the letter) and "a=CC=81" (a letter with a combining character= ).

--001a11c3db8248dff0051923a200--