From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: Case mapping of sharp s Date: Tue, 17 Nov 2009 16:49:53 +0900 Message-ID: References: <19200.4158.380820.761685@a1i15.kph.uni-mainz.de> <83lji6mgg4.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1258444227 30593 80.91.229.12 (17 Nov 2009 07:50:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Nov 2009 07:50:27 +0000 (UTC) Cc: ulm@gentoo.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 17 08:50:18 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 1NAIpN-0008Mm-3k for ged-emacs-devel@m.gmane.org; Tue, 17 Nov 2009 08:50:17 +0100 Original-Received: from localhost ([127.0.0.1]:58927 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAIpM-0001dx-NZ for ged-emacs-devel@m.gmane.org; Tue, 17 Nov 2009 02:50:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NAIpI-0001dk-0r for emacs-devel@gnu.org; Tue, 17 Nov 2009 02:50:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NAIpC-0001Yf-Kg for emacs-devel@gnu.org; Tue, 17 Nov 2009 02:50:10 -0500 Original-Received: from [199.232.76.173] (port=50461 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAIpC-0001YW-Fv for emacs-devel@gnu.org; Tue, 17 Nov 2009 02:50:06 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:41055) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NAIp8-0005vh-RT; Tue, 17 Nov 2009 02:50:03 -0500 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NAIp7-00018h-Lq; Tue, 17 Nov 2009 02:50:02 -0500 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id nAH7nsEB018861; Tue, 17 Nov 2009 16:49:54 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp2.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id nAH7nsPP014291; Tue, 17 Nov 2009 16:49:54 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id nAH7nrVk024770; Tue, 17 Nov 2009 16:49:53 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1NAIoz-00075O-OI; Tue, 17 Nov 2009 16:49:53 +0900 In-Reply-To: <83lji6mgg4.fsf@gnu.org> (message from Eli Zaretskii on Mon, 16 Nov 2009 21:12:59 +0200) X-detected-operating-system: by mx20.gnu.org: Solaris 9 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:117068 Archived-At: In article <83lji6mgg4.fsf@gnu.org>, Eli Zaretskii writes: > > That kind of setting surely makes the searching of =C3=9F and =E1=BA=9E > > slow because we can't use BM search when case-fold-search is > > non-nil. BM search is possible only when all > > case-equivalent characters are represented by the same byte > > length, and differ only in the last byte. > I think we need to solve this limitation anyway, if we want a decent > support for Unicode. There are many more pairs of characters that > should normally be considered equal in search. I agree. > Wouldn't the technique described in UTS 18 > (http://www.unicode.org/reports/tr18/) help here? Which technique do you mean? That report mostly describes just rules of matching, not about fast implementation. --- Kenichi Handa handa@m17n.org