From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.user Subject: Re: command line argument locale for a guile script Date: Mon, 07 Nov 2011 20:16:56 +0100 Message-ID: <87zkg73fpz.fsf@ambire.localdomain> References: <20111107105922.3512144f@rascar> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1320693573 1858 80.91.229.12 (7 Nov 2011 19:19:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 7 Nov 2011 19:19:33 +0000 (UTC) Cc: guile-user@gnu.org, David Pirotte To: cong gu Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Nov 07 20:19:28 2011 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RNUj7-0000Wb-PE for guile-user@m.gmane.org; Mon, 07 Nov 2011 20:19:25 +0100 Original-Received: from localhost ([::1]:47240 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNUj6-0004f9-Mr for guile-user@m.gmane.org; Mon, 07 Nov 2011 14:19:24 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:36751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNUj3-0004f4-Mz for guile-user@gnu.org; Mon, 07 Nov 2011 14:19:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RNUj2-0005pd-H2 for guile-user@gnu.org; Mon, 07 Nov 2011 14:19:21 -0500 Original-Received: from smtp209.alice.it ([82.57.200.105]:51276) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RNUj2-0005pS-4S for guile-user@gnu.org; Mon, 07 Nov 2011 14:19:20 -0500 Original-Received: from ambire.localdomain (82.56.5.97) by smtp209.alice.it (8.5.124.08) id 4E850A860430E5D8; Mon, 7 Nov 2011 20:19:16 +0100 Original-Received: from ttn by ambire.localdomain with local (Exim 4.69) (envelope-from ) id 1RNUgi-0002xb-EH; Mon, 07 Nov 2011 20:16:56 +0100 In-Reply-To: (cong gu's message of "Mon, 7 Nov 2011 09:31:49 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.105 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:8941 Archived-At: () cong gu () Mon, 7 Nov 2011 09:31:49 -0600 After I add a setlocale to boot-9.scm, all things works. But is there a "normal" way to fix this? Besides boot-9.scm, guile also runs init.scm (in =E2=80=98%load-path=E2=80= =99). Perhaps you can experiment with calling =E2=80=98setlocale=E2=80=99 there.