From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: regex and case-fold-search problem Date: 26 Aug 2002 11:31:03 +0900 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200208230625.PAA23426@etlken.m17n.org> <9003-Fri23Aug2002185625+0300-eliz@is.elta.co.il> <200208240051.JAA24648@etlken.m17n.org> <9743-Sat24Aug2002123958+0300-eliz@is.elta.co.il> <200208260129.KAA27014@etlken.m17n.org> Reply-To: Miles Bader NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1030329199 4420 127.0.0.1 (26 Aug 2002 02:33:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 26 Aug 2002 02:33:19 +0000 (UTC) Cc: eliz@is.elta.co.il, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17j9gq-00019A-00 for ; Mon, 26 Aug 2002 04:33:16 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17jABS-0005Sm-00 for ; Mon, 26 Aug 2002 05:04:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17j9i7-0001kj-00; Sun, 25 Aug 2002 22:34:35 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17j9ew-0001Z3-00 for emacs-devel@gnu.org; Sun, 25 Aug 2002 22:31:18 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17j9es-0001YM-00 for emacs-devel@gnu.org; Sun, 25 Aug 2002 22:31:16 -0400 Original-Received: from tyo202.gate.nec.co.jp ([210.143.35.52]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17j9er-0001Xq-00; Sun, 25 Aug 2002 22:31:13 -0400 Original-Received: from mailgate4.nec.co.jp ([10.7.69.195]) by TYO202.gate.nec.co.jp (8.11.6/3.7W01080315) with ESMTP id g7Q2V6400073; Mon, 26 Aug 2002 11:31:06 +0900 (JST) Original-Received: from mailsv4.nec.co.jp (mailgate51.nec.co.jp [10.7.69.196]) by mailgate4.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id g7Q2V5g09768; Mon, 26 Aug 2002 11:31:05 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp ([10.30.114.133]) by mailsv4.nec.co.jp (8.11.6/3.7W-MAILSV4-NEC) with ESMTP id g7Q2V4c07371; Mon, 26 Aug 2002 11:31:04 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) by mcsss2.ucom.lsi.nec.co.jp (8.10.2+Sun/3.7Wlsi_mx_6.0) with ESMTP id g7Q2V4s15982; Mon, 26 Aug 2002 11:31:04 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id EA60A36F2; Mon, 26 Aug 2002 11:31:03 +0900 (JST) Original-To: Kenichi Handa System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <200208260129.KAA27014@etlken.m17n.org> Original-Lines: 23 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:6896 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6896 Kenichi Handa writes: > > As Miles wrote, it does make a perfect sense in a context of a > > specific language. For example, if the characters that designate the > > range are all Cyrillic characters, the range is sensible. > > It makes sense only when we assume some character set (or locale). > For instance, in Emacs 21, Cyrillic characters has the same code order > as that of iso-8859-5. But, in emacs-unicode, we use Unicode. So, a > Cyrillic char range that works well in Emacs 21 won't work in > emacs-unicode. I don't think it really matters. As I said in a previous message, the question is not `does [A-Z] make sense?', but rather: `_if_ [A-Z] makes sense, does [a-z] make sense too?' If someone writes [-] then they they get what they deserve; it's not emacs' fault. -Miles -- .Numeric stability is probably not all that important when you're guessing.