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: Sun, 15 Jan 2012 22:51:07 +0100 Message-ID: <87hazwhbxw.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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1326702021 9805 80.91.229.12 (16 Jan 2012 08:20:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 16 Jan 2012 08:20:21 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Jan 16 09:20:17 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 1Rmhnd-0003rt-9w for guile-user@m.gmane.org; Mon, 16 Jan 2012 09:20:17 +0100 Original-Received: from localhost ([::1]:45011 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rmhnc-0002Hv-PB for guile-user@m.gmane.org; Mon, 16 Jan 2012 03:20:16 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:53680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmY2g-0006r0-N0 for guile-user@gnu.org; Sun, 15 Jan 2012 16:55:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RmY2f-00058x-Ld for guile-user@gnu.org; Sun, 15 Jan 2012 16:55:10 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:32928) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmY2f-00058p-Ga for guile-user@gnu.org; Sun, 15 Jan 2012 16:55:09 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RmY2e-0001vF-9v for guile-user@gnu.org; Sun, 15 Jan 2012 22:55:08 +0100 Original-Received: from reverse-83.fdn.fr ([80.67.176.83]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 15 Jan 2012 22:55:08 +0100 Original-Received: from ludo by reverse-83.fdn.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 15 Jan 2012 22:55:08 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 15 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: reverse-83.fdn.fr X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 26 =?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 User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) Cancel-Lock: sha1:Eo4+rIGHPHZO6rgeeHCOOOM44sY= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-Mailman-Approved-At: Mon, 16 Jan 2012 03:20:09 -0500 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:9145 Archived-At: Hi, Mike Gran skribis: > I tried to dig through the logic of this the other day, and I'm not > sure that your suggestion can work.  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 “coding:” cookie to each and every file. Thanks, Ludo’.