From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Case mapping of sharp s Date: Wed, 18 Nov 2009 06:09:28 +0200 Message-ID: <83bpj0mq2v.fsf@gnu.org> References: <19200.4158.380820.761685@a1i15.kph.uni-mainz.de> <83lji6mgg4.fsf@gnu.org> <83iqd9m14h.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1258517388 31192 80.91.229.12 (18 Nov 2009 04:09:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Nov 2009 04:09:48 +0000 (UTC) Cc: ulm@gentoo.org, emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 18 05:09:41 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NAbrL-0004qs-BG for ged-emacs-devel@m.gmane.org; Wed, 18 Nov 2009 05:09:35 +0100 Original-Received: from localhost ([127.0.0.1]:36726 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAbrK-0001Ib-Ia for ged-emacs-devel@m.gmane.org; Tue, 17 Nov 2009 23:09:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NAbrG-0001IN-2R for emacs-devel@gnu.org; Tue, 17 Nov 2009 23:09:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NAbrB-0001Hb-Gu for emacs-devel@gnu.org; Tue, 17 Nov 2009 23:09:29 -0500 Original-Received: from [199.232.76.173] (port=54852 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAbrB-0001HY-9f for emacs-devel@gnu.org; Tue, 17 Nov 2009 23:09:25 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:49197) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NAbrA-00032T-MI for emacs-devel@gnu.org; Tue, 17 Nov 2009 23:09:25 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0KTA00600E123D00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Wed, 18 Nov 2009 06:09:23 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.70.37.193]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KTA003XFE7MMJA0@a-mtaout23.012.net.il>; Wed, 18 Nov 2009 06:09:23 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:117148 Archived-At: > From: Kenichi Handa > Cc: ulm@gentoo.org, emacs-devel@gnu.org > Date: Wed, 18 Nov 2009 10:00:57 +0900 > > In article <83iqd9m14h.fsf@gnu.org>, Eli Zaretskii writes: > > > > From: Kenichi Handa > > > Cc: ulm@gentoo.org, emacs-devel@gnu.org > > > Date: Tue, 17 Nov 2009 16:49:53 +0900 > > > > > > > Wouldn't the technique described in UTS 18 > > > > (http://www.unicode.org/reports/tr18/) help here? > > > > > > Which technique do you mean? > > > The one described under "3.10 Folded Matching". > > But, that section just tells the way of providing pre-folded > text in matching, which, I think, is not an acceptable way > for searching a big buffer. My idea was to use the same technique to fold the text as you search through it. You could, for example, fold one character at a time, so that instead of comparing against X you compare against fold(X). I admit that I didn't think about this more than a few seconds, though, so perhaps this idea doesn't "hold water".