From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Gran Newsgroups: gmane.lisp.guile.user Subject: Re: propagating a coding setting across source files Date: Fri, 2 Dec 2011 06:23:55 -0800 (PST) Message-ID: <1322835835.74409.YahooMailNeo@web37903.mail.mud.yahoo.com> References: <20111202.090607.649170119648618329.hartrumpf@gmx.net> <1322830539.34643.YahooMailNeo@web37903.mail.mud.yahoo.com> <20111202.144107.847468074358637267.hartrumpf@gmx.net> Reply-To: Mike Gran NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1322835857 3199 80.91.229.12 (2 Dec 2011 14:24:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 2 Dec 2011 14:24:17 +0000 (UTC) Cc: Guile User To: Sven Hartrumpf Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Dec 02 15:24:13 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 1RWU28-0006tz-Om for guile-user@m.gmane.org; Fri, 02 Dec 2011 15:24:12 +0100 Original-Received: from localhost ([::1]:55392 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWU27-0003cc-UD for guile-user@m.gmane.org; Fri, 02 Dec 2011 09:24:11 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:42120) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWU1w-0003ae-H2 for guile-user@gnu.org; Fri, 02 Dec 2011 09:24:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RWU1s-0006ah-JQ for guile-user@gnu.org; Fri, 02 Dec 2011 09:24:00 -0500 Original-Received: from nm17.bullet.mail.bf1.yahoo.com ([98.139.212.176]:27433) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RWU1s-0006ad-D0 for guile-user@gnu.org; Fri, 02 Dec 2011 09:23:56 -0500 Original-Received: from [98.139.212.150] by nm17.bullet.mail.bf1.yahoo.com with NNFMP; 02 Dec 2011 14:23:55 -0000 Original-Received: from [98.139.212.221] by tm7.bullet.mail.bf1.yahoo.com with NNFMP; 02 Dec 2011 14:23:55 -0000 Original-Received: from [127.0.0.1] by omp1030.mail.bf1.yahoo.com with NNFMP; 02 Dec 2011 14:23:55 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 633941.82283.bm@omp1030.mail.bf1.yahoo.com Original-Received: (qmail 88907 invoked by uid 60001); 2 Dec 2011 14:23:55 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1322835835; bh=Dj2WM8SeQsj7bmbINgF1+j6d+zvzZPuSJ0QJaM+B47g=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=fUC6rhBpIpcO5aOdJJl2ibgTeG8PJlohTNK9DiIA3+Tg3DTkbwBYaGr7UYJjB3dw2oaN5acFs2xqn/y5PGnf4Yp6zItXAbh4PQOZQLNHK33HCmCrDNQfwKmlyza6fHC3bN6eqFOp6aBE0Ledr0EzroVgthxC2Zj5NjChAmcd2wY= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=3l1Tkb3svNnjkfT3OdyjuGEqdXg8KJsZDvQCg+tGZDypV1Kwp7twbnMhc5tlmsde1cwtpxPyqj3wjMIPSC28+849CuxLpFbWjRFa37GDEs/HhyEZxrmKUlMLkAJwuMnVoLRx/SDRWCGT+8Fb+39XfsaGTPR7ZwjtnnHYz/YH8Zo=; X-YMail-OSG: VoalOasVM1mAaPz158OYTLys0LFB.98NeFeL_6mXJ2qNUDK pQ4JvtRCwNW_gYHgSC7iBcdg2t_gTcRpz3oVA.NgdmH12vWEbBnlD4w.uQXd RhgVH64.j0uKku15AImHq67xOI9XBwEdM6aDPok4_IIXxdZmazcTktPmJGG0 nDLRq1L9QHNQ57nlCf7mo04VcbPBck3ld98ZFqKV8omyv5f_5H94IalLfHiT L50IkCmrSX1OuzikPlI.jKX6HvhOX8EvHULq7W30hyhsRs7nHOG8yRknpCjo MU2HRsZ0sKhLltH10x5Ty0l4I9ITO7.8InBvmvpd32OISHnkXTsQ5eYy_Xzy 2sPUlfKnzcRrEImByh6_9HEHa6ct7jVvx5hKjsq20vUkEI83Hf_1MFijyVjK rkeJdCU7Tey75eVhHczv74cJrxLcWEw5zmNBrRK1OOdDmuYD1c6kFRc7Pg5L 7sgEr45rP7scX7nqBjg-- Original-Received: from [71.140.64.7] by web37903.mail.mud.yahoo.com via HTTP; Fri, 02 Dec 2011 06:23:55 PST X-Mailer: YahooMailWebService/0.8.115.331698 In-Reply-To: <20111202.144107.847468074358637267.hartrumpf@gmx.net> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 98.139.212.176 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:9022 Archived-At: >Not when loading a file with Latin-1 characters:=0A=0A>=0A>> cat aa.scm=0A= >(define c #\=E4)=0A>=0A>> guile=0A>GNU Guile 2.0.3=0A>...=0A>scheme@(guile= -user)> (load "aa.scm")=0A>;;; compiling /home/s/aa.scm=0A>;;; WARNING: com= pilation of /home/s/aa.scm failed:=0A>;;; ERROR: In procedure scm_lreadr: /= home/s/aa.scm:1:13: unknown character name =0A>ERROR: In procedure primitiv= e-load:=0A>ERROR: In procedure scm_lreadr: /home/s/aa.scm:1:13: unknown cha= racter name =0A=0A=0AI guess you're right.=A0 Looks like, at some point, th= e default for files with=0Ano 'coding:' line got hard set to UTF-8 in 'scm_= primitive_load' and 'compile-file'=0Aand friends.=0A=0A=0AAt first, I thoug= ht you could do something with %load-hook, or by setting=0Athe %default-por= t-encoding, but that isn't going to work either.=0A=0ANo workaround is obvi= ous to me.=A0 Hrm.=A0 Unfortunate.=0A=0A-Mike=0A