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: Thu, 18 Jun 2015 10:50:01 +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> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11349a282c11b60518c7bb5f X-Trace: ger.gmane.org 1434621025 3228 80.91.229.3 (18 Jun 2015 09:50:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Jun 2015 09:50:25 +0000 (UTC) Cc: stephen@xemacs.org, Stefan Monnier , emacs-devel To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 18 11:50:24 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 1Z5WSj-0001w7-24 for ged-emacs-devel@m.gmane.org; Thu, 18 Jun 2015 11:50:21 +0200 Original-Received: from localhost ([::1]:51458 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5WSi-0008LD-EN for ged-emacs-devel@m.gmane.org; Thu, 18 Jun 2015 05:50:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54791) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5WST-0008Jd-PA for emacs-devel@gnu.org; Thu, 18 Jun 2015 05:50:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5WSS-0005EH-OZ for emacs-devel@gnu.org; Thu, 18 Jun 2015 05:50:05 -0400 Original-Received: from mail-la0-x229.google.com ([2a00:1450:4010:c03::229]:34323) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5WSQ-0005AS-FP; Thu, 18 Jun 2015 05:50:02 -0400 Original-Received: by labbc20 with SMTP id bc20so50812746lab.1; Thu, 18 Jun 2015 02:50:01 -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=BRqySZ7myrOeudlz4EY8g/qIAqENnDI9kQmWrMhxfP0=; b=zEzMIfMVunDbKH8I8wFbFhtsuR8qAPlXyUidV2xYFP0QLS3snGBC5PC8nPx3sagE32 vP5QqSsUtV9LYA+RBIc7YOQE/G5+9q0Z1B3Q/vPMcbIVB3PZ594VfPu/wabEWhxdSFIR fcgDMBf+IhsqJQtVuS1jho5StIGliWGfWhA8uNa8MckWI05cRau0JL+T92yDW5yXwQCQ p0wfmXUIcpzw5QYp4FEvUwGPiOO98YgzjlybbPXgaA/o5PmRcbGZ+aEEjUOuIHSxGPbQ RzLOGdIwQBXfqCdPVGpYa1VY/pGcRP/PGxaWo6hxCAGw8yyOtaIpOejyAiM6k6QsTWP0 Jv9A== X-Received: by 10.152.179.234 with SMTP id dj10mr5583649lac.73.1434621001337; Thu, 18 Jun 2015 02:50:01 -0700 (PDT) Original-Received: by 10.25.214.133 with HTTP; Thu, 18 Jun 2015 02:50:01 -0700 (PDT) Original-Received: by 10.25.214.133 with HTTP; Thu, 18 Jun 2015 02:50:01 -0700 (PDT) In-Reply-To: <83oakdl7yj.fsf@gnu.org> X-Google-Sender-Auth: 5eZqJ6M23fzIX0jG3ykripKxbwA X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::229 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:187281 Archived-At: --001a11349a282c11b60518c7bb5f Content-Type: text/plain; charset=UTF-8 > or maybe find the first character that matches [:alnum:], and > use that. Sounds reasonable. > Btw, can the other patch be installed _in_addition_ to the first one? > IOW, they are orthogonal, or could be that, right? Yes, they should be orthogonal. One patch turns regular input strings into regexps, the other patch uses character folding tables which have always worked fine with regexps. --001a11349a282c11b60518c7bb5f Content-Type: text/html; charset=UTF-8


> or maybe find the first character that matches [:alnum:], and
> use that.

Sounds reasonable.

> Btw, can the other patch be installed _in_addition_ to the first one?
> IOW, they are orthogonal, or could be that, right?

Yes, they should be orthogonal. One patch turns regular input strings into regexps, the other patch uses character folding tables which have always worked fine with regexps.

--001a11349a282c11b60518c7bb5f--