From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.user Subject: Re: propagating a coding setting across source files Date: Mon, 16 Jan 2012 10:07:36 +0100 Message-ID: <87y5t8hv6v.fsf@pobox.com> 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> 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 1326704884 28256 80.91.229.12 (16 Jan 2012 09:08:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 16 Jan 2012 09:08:04 +0000 (UTC) Cc: guile-user@gnu.org To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Jan 16 10:07:58 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 1RmiXm-0004Kl-Dw for guile-user@m.gmane.org; Mon, 16 Jan 2012 10:07:58 +0100 Original-Received: from localhost ([::1]:58333 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmiXl-0001cc-Tu for guile-user@m.gmane.org; Mon, 16 Jan 2012 04:07:57 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:42582) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmiXd-0001cG-K4 for guile-user@gnu.org; Mon, 16 Jan 2012 04:07:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RmiXV-0001mp-Hu for guile-user@gnu.org; Mon, 16 Jan 2012 04:07:49 -0500 Original-Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:47629 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmiXV-0001mh-58; Mon, 16 Jan 2012 04:07:41 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 13E8F5018; Mon, 16 Jan 2012 04:07:41 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=QmOc+aRl7jRy GIAvY+f/7uICdmg=; b=w28OLvyoLsTnSd21AM0yH0vXwXdXvA5robYSOUi6FVP7 fDXS+VTScC5mJ6KufmzNgCq84QGiC+NWEVYarGBAhXR0ibgXmhnFASiWniKkC7hV LSkcHctws40xKHhaIe1Uey/088BbZe4i99we3QoGGHBIfa58NK0OzguLW94jaHQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=EUQvdN wDZOfsjyLM/1Ax+SOlE+9ujRNEGmDfUpohHgtcZtttv6ODg0LgCZv4yXVjdrip5G Kp1OLhAHCL7jQKxiOXckPKiEzfsAB41tBnfP1xlDXCpw0b3TzR9hWOOCN7uha5ao XUWRVIXQNo1X1Tko+OF6ozYHi1p3lBExkstRo= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 0D23D5017; Mon, 16 Jan 2012 04:07:41 -0500 (EST) Original-Received: from badger (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 6CD095015; Mon, 16 Jan 2012 04:07:40 -0500 (EST) In-Reply-To: <87hazwhbxw.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Sun, 15 Jan 2012 22:51:07 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-Pobox-Relay-ID: 8AE104C8-4021-11E1-86B7-65B1DE995924-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 74.115.168.62 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:9148 Archived-At: 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? I agree that coding: is the right thing, but there's a lot of legacy code out there. If it's possible to support without much effort, we probably should do so. Andy --=20 http://wingolog.org/