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,gmane.lisp.guile.bugs Subject: Re: propagating a coding setting across source files Date: Mon, 07 Jan 2013 22:28:45 +0100 Message-ID: <87ip78ptrm.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> <87y5t8hv6v.fsf@pobox.com> <874nvv1ahb.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1357594141 13541 80.91.229.3 (7 Jan 2013 21:29:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Jan 2013 21:29:01 +0000 (UTC) To: guile-user@gnu.org, bug-guile Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Jan 07 22:29:16 2013 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TsKFw-000227-3t for guile-user@m.gmane.org; Mon, 07 Jan 2013 22:29:16 +0100 Original-Received: from localhost ([::1]:50769 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsKFg-0004TJ-CL for guile-user@m.gmane.org; Mon, 07 Jan 2013 16:29:00 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36322) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsKFb-0004TE-2n for guile-user@gnu.org; Mon, 07 Jan 2013 16:28:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TsKFa-0002ax-28 for guile-user@gnu.org; Mon, 07 Jan 2013 16:28:55 -0500 Original-Received: from a-pb-sasl-quonix.pobox.com ([208.72.237.25]:60119 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TsKFV-0002Zp-28; Mon, 07 Jan 2013 16:28:49 -0500 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 943ECBED0; Mon, 7 Jan 2013 16:28:48 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=lWokvfivviBn c562SDdNcY60sIA=; b=HEOt01NgCPXt9CuEslga/oYs95wLEyqH1OIvkx69bAB6 pJSPA/5m1HfCUrHpe3WJ4FWMnBB/VaXEGN8+bMrGQXOwAuWI1lQHOXwz6Om72gww bp9En0LE+oC6Seh4TX1z2QHPCORyOzPm4MBwzCCkyPNnx9UkAC/R4PDLS90nRJw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:subject :references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=PJN6I9 Pb4doQEoIOSNlIez31Xd+jaURzLNmNQiUiiZP/LtdhjVqwHwNLLPjFkifeDifSgr YmzlmlzzdeebLQusqeoHT/v0OF/FYEGCec0hyi7Ci46dyvp9q+xpPFoB8+It2DBE pBQPKMpPaHGzxuY9MHWZyBQDwoKGTcBBHTCA0= Original-Received: from a-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 8651CBECF; Mon, 7 Jan 2013 16:28:48 -0500 (EST) Original-Received: from badger (unknown [88.160.190.192]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPSA id 08DC6BECE; Mon, 7 Jan 2013 16:28:47 -0500 (EST) In-Reply-To: <874nvv1ahb.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Tue, 17 Jan 2012 00:41:36 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) X-Pobox-Relay-ID: 39167402-5911-11E2-AD6B-0A4F0E5B5709-02397024!a-pb-sasl-quonix.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 208.72.237.25 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:9828 gmane.lisp.guile.bugs:6688 Archived-At: Hi, Forwarding this one to bug-guile to make a bug report. I guess we need a (default-source-file-encoding) parameter. Andy On Tue 17 Jan 2012 00:41, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > 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 calli= ng >>>> "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. --=20 http://wingolog.org/