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: extending case-fold-search to remove nonspacing marks (diacritics etc.) Date: Fri, 06 Feb 2015 09:51:42 +0200 Message-ID: <83d25neaup.fsf@gnu.org> References: <87fvakvwbf.fsf@lifelogs.com> <87h9uzprfr.fsf@uwakimon.sk.tsukuba.ac.jp> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1423209145 1862 80.91.229.3 (6 Feb 2015 07:52:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Feb 2015 07:52:25 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 06 08:52:25 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 1YJdiC-0000Vv-Q1 for ged-emacs-devel@m.gmane.org; Fri, 06 Feb 2015 08:52:24 +0100 Original-Received: from localhost ([::1]:47058 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJdiC-0000Vr-9J for ged-emacs-devel@m.gmane.org; Fri, 06 Feb 2015 02:52:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJdi8-0000Vb-O2 for emacs-devel@gnu.org; Fri, 06 Feb 2015 02:52:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJdi3-0004tY-PI for emacs-devel@gnu.org; Fri, 06 Feb 2015 02:52:20 -0500 Original-Received: from mtaout24.012.net.il ([80.179.55.180]:47509) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJdi3-0004rv-Hq for emacs-devel@gnu.org; Fri, 06 Feb 2015 02:52:15 -0500 Original-Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0NJC00B00AEO6H00@mtaout24.012.net.il> for emacs-devel@gnu.org; Fri, 06 Feb 2015 09:43:32 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NJC006QPASJJN50@mtaout24.012.net.il>; Fri, 06 Feb 2015 09:43:32 +0200 (IST) In-reply-to: <87h9uzprfr.fsf@uwakimon.sk.tsukuba.ac.jp> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.180 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:182503 Archived-At: > From: "Stephen J. Turnbull" > Date: Fri, 06 Feb 2015 13:58:00 +0900 > > I would assume that Emacs's character handling machinery knows about > this stuff, though, or at least the underlying libraries do. It's > probably just a matter of incorporating an appropriate library call. It's actually even easier than that: the decompositions are already in the char-tables we build from the Unicode character database. They just need to be used.