From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludovic.courtes@laas.fr (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: SRFI-14 and locale settings Date: Thu, 07 Sep 2006 09:21:52 +0200 Organization: LAAS-CNRS Message-ID: <87r6yodtv3.fsf@laas.fr> References: <87y7t03ngn.fsf@laas.fr> <87slj89lrk.fsf@ossau.uklinux.net> <87wt8krocj.fsf@laas.fr> <87odtvkxl1.fsf@zip.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1157613833 12042 80.91.229.2 (7 Sep 2006 07:23:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Sep 2006 07:23:53 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Sep 07 09:23:51 2006 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GLEEi-0005PF-Px for guile-devel@m.gmane.org; Thu, 07 Sep 2006 09:23:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GLEEi-0004IU-7q for guile-devel@m.gmane.org; Thu, 07 Sep 2006 03:23:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GLEEa-00048d-Sg for guile-devel@gnu.org; Thu, 07 Sep 2006 03:23:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GLEEY-00043n-Tf for guile-devel@gnu.org; Thu, 07 Sep 2006 03:23:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GLEEY-00043M-NG for guile-devel@gnu.org; Thu, 07 Sep 2006 03:23:34 -0400 Original-Received: from [140.93.0.15] (helo=laas.laas.fr) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GLEEs-00068S-EK for guile-devel@gnu.org; Thu, 07 Sep 2006 03:23:54 -0400 Original-Received: by laas.laas.fr (8.13.7/8.13.4) with SMTP id k877NQhL027673; Thu, 7 Sep 2006 09:23:32 +0200 (CEST) Original-To: guile-devel@gnu.org X-URL: http://www.laas.fr/~lcourtes/ X-Revolutionary-Date: 21 Fructidor an 214 de la =?iso-8859-1?Q?R=E9volutio?= =?iso-8859-1?Q?n?= X-PGP-Key-ID: 0xEB1F5364 X-PGP-Key: http://www.laas.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 821D 815D 902A 7EAB 5CEE D120 7FBA 3D4F EB1F 5364 X-OS: powerpc-unknown-linux-gnu Mail-Followup-To: guile-devel@gnu.org In-Reply-To: <87odtvkxl1.fsf@zip.com.au> (Kevin Ryde's message of "Tue, 05 Sep 2006 09:42:50 +1000") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-Spam-Score: 0.496 () MAILTO_TO_SPAM_ADDR X-Scanned-By: MIMEDefang at CNRS-LAAS X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:6059 Archived-At: Hi, Kevin Ryde writes: > The setlocale call would be a good way. Maybe the charset tables > could be reinitialized in scm_setlocale (when setting LC_ALL or > LC_CTYPE). I suppose that'd be moderately helpful, and would make > char-alphabetic? etc match how 1.6 worked. In fact, I'm afraid we have a problem, because the `is' functions from are fully locale-dependent. Thus, they don't only depend on the charset being used but also on the language settings, which makes them unsuitable for the implementation of `char-set:letter' (because it should contain _all_ the letters representable with the current charset, not only those of some particular language). > But I guess really the > notion of what a character represents beyond ascii isn't specified > yet. I'm not an expert in that domain, but the SRFI seemed to imply that the notion of a letter is pretty well defined in Unicode (which is fortunate because all the people using the various scripts do know what a letter is in their script ;-)). Thanks, Ludovic. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel