From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: Case mapping of sharp s Date: Fri, 20 Nov 2009 20:46:41 +0900 Message-ID: <876395e7vi.fsf@uwakimon.sk.tsukuba.ac.jp> References: <4B05A11F.5000700@gmx.de> <87iqd6gmpk.fsf@lola.goethe.zz> <19206.20213.843972.495981@a1i15.kph.uni-mainz.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1258717377 15728 80.91.229.12 (20 Nov 2009 11:42:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Nov 2009 11:42:57 +0000 (UTC) Cc: David Kastrup , emacs-devel@gnu.org To: Ulrich Mueller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 20 12:42:49 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 1NBRt3-00036x-B1 for ged-emacs-devel@m.gmane.org; Fri, 20 Nov 2009 12:42:49 +0100 Original-Received: from localhost ([127.0.0.1]:40749 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBRt2-0000O0-LL for ged-emacs-devel@m.gmane.org; Fri, 20 Nov 2009 06:42:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NBRqc-0006W6-QT for emacs-devel@gnu.org; Fri, 20 Nov 2009 06:40:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NBRqX-0006S0-Ub for emacs-devel@gnu.org; Fri, 20 Nov 2009 06:40:18 -0500 Original-Received: from [199.232.76.173] (port=46752 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBRqX-0006Rk-L6 for emacs-devel@gnu.org; Fri, 20 Nov 2009 06:40:13 -0500 Original-Received: from mtps01.sk.tsukuba.ac.jp ([130.158.97.223]:50513) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NBRqR-0001bD-Uy; Fri, 20 Nov 2009 06:40:08 -0500 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mtps01.sk.tsukuba.ac.jp (Postfix) with ESMTP id 3659D1537B6; Fri, 20 Nov 2009 20:40:06 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 165F41A25EE; Fri, 20 Nov 2009 20:46:41 +0900 (JST) In-Reply-To: <19206.20213.843972.495981@a1i15.kph.uni-mainz.de> X-Mailer: VM 8.0.12-devo-585 under 21.5 (beta29) "garbanzo" d20e0a45a4b2 XEmacs Lucid (x86_64-unknown-linux) 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:117344 Archived-At: Ulrich Mueller writes: > When the search is for equivalence classes of characters (e.g. case > folding), then I think it must operate on whole characters and > therefore has to find the start of each multibyte sequence. This is false for certain equivalence classes, namely those that cause only one octet of the multibyte representation to change. For Mule encoding, this works for ranges of 96 characters, such as all the unibyte charsets. For UTF-8, it works for ASCII, and IIRC for letters in the Latin-1 set, and maybe many other Latin letters.