From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.user Subject: Re: propagating a coding setting across source files Date: Tue, 17 Jan 2012 00:41:36 +0100 Message-ID: <874nvv1ahb.fsf@gnu.org> References: <20111202.090607.649170119648618329.hartrumpf@gmx.net> <87hb044hhd.fsf@pobox.com> <20120110.095144.2018247186416321760.hartrumpf@gmx.net> <8762gidsqu.fsf@pobox.com> <1326305585.65006.YahooMailNeo@web37902.mail.mud.yahoo.com> <87hazwhbxw.fsf@gnu.org> <87y5t8hv6v.fsf@pobox.com> 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 1326757312 22891 80.91.229.12 (16 Jan 2012 23:41:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 16 Jan 2012 23:41:52 +0000 (UTC) Cc: guile-user@gnu.org To: Andy Wingo Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Jan 17 00:41:48 2012 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 1RmwBQ-0002gn-38 for guile-user@m.gmane.org; Tue, 17 Jan 2012 00:41:48 +0100 Original-Received: from localhost ([::1]:33714 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmwBP-0007IW-A1 for guile-user@m.gmane.org; Mon, 16 Jan 2012 18:41:47 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:55652) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmwBK-0007I3-Ol for guile-user@gnu.org; Mon, 16 Jan 2012 18:41:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RmwBI-000886-FI for guile-user@gnu.org; Mon, 16 Jan 2012 18:41:42 -0500 Original-Received: from mail4-relais-sop.national.inria.fr ([192.134.164.105]:19289) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmwBI-00087q-8c for guile-user@gnu.org; Mon, 16 Jan 2012 18:41:40 -0500 X-IronPort-AV: E=Sophos;i="4.71,520,1320620400"; d="scan'208";a="127431828" Original-Received: from reverse-83.fdn.fr (HELO pluto) ([80.67.176.83]) by mail4-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES128-SHA; 17 Jan 2012 00:41:38 +0100 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 28 =?iso-8859-1?Q?Niv=F4se?= an 220 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: <87y5t8hv6v.fsf@pobox.com> (Andy Wingo's message of "Mon, 16 Jan 2012 10:07:36 +0100") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 192.134.164.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:9151 Archived-At: Hi! Andy Wingo skribis: > On Sun 15 Jan 2012 22:51, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > >> Mike Gran skribis: >> >>> I tried to dig through the logic of this the other day, and I'm not >>> sure that=C2=A0your suggestion can work.=C2=A0 If "load" ends up calling >>> "primitive-load", then any file without a "coding:" line is UTF-8. >>> %default-port-encoding doesn't enter in to it. >> >> Right. So what Sven is asking for, propagating source file encoding >> programmatically, is not possible AFAIK. Sven: you really need to add >> the =E2=80=9Ccoding:=E2=80=9D cookie to each and every file. > > Is possible to provide such an interface? Maybe a =E2=80=98guild compile=E2=80=99 option? Ludo=E2=80=99.