From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Pirotte Newsgroups: gmane.lisp.guile.user Subject: guile-2.0 - Character Encoding of Source Files - #! ... !# not working [low priority] Date: Wed, 9 Mar 2011 22:06:45 -0300 Message-ID: <20110309220645.17b000eb@rascar> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/RbTh3WMU/J2QRwG+vFoblLq" X-Trace: dough.gmane.org 1299719247 31498 80.91.229.12 (10 Mar 2011 01:07:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 10 Mar 2011 01:07:27 +0000 (UTC) To: guile-user Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Mar 10 02:07:23 2011 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PxULZ-0004Q4-0V for guile-user@m.gmane.org; Thu, 10 Mar 2011 02:07:21 +0100 Original-Received: from localhost ([127.0.0.1]:55875 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxULY-00086X-3v for guile-user@m.gmane.org; Wed, 09 Mar 2011 20:07:20 -0500 Original-Received: from [140.186.70.92] (port=53341 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxULT-00086I-Tu for guile-user@gnu.org; Wed, 09 Mar 2011 20:07:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxULS-0006q1-HS for guile-user@gnu.org; Wed, 09 Mar 2011 20:07:15 -0500 Original-Received: from maximusconfessor.all2all.org ([62.58.108.13]:35195) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PxULS-0006pq-6s for guile-user@gnu.org; Wed, 09 Mar 2011 20:07:14 -0500 Original-Received: from localhost (unknown [192.168.0.2]) by maximusconfessor.all2all.org (Postfix) with ESMTP id C7AB4A04C0F5 for ; Thu, 10 Mar 2011 02:07:12 +0100 (CET) Original-Received: from maximusconfessor.all2all.org ([192.168.0.1]) by localhost (maximusconfessor.all2all.org [192.168.0.2]) (amavisd-new, port 10024) with ESMTP id uBjWGxGTpCTm for ; Thu, 10 Mar 2011 01:51:01 +0100 (CET) Original-Received: from rascar (unknown [189.60.162.71]) by maximusconfessor.all2all.org (Postfix) with ESMTPSA id 60D8EA04C0FB for ; Thu, 10 Mar 2011 02:07:04 +0100 (CET) X-Mailer: Claws Mail 3.7.8 (GTK+ 2.20.1; i486-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 62.58.108.13 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:8510 Archived-At: --MP_/RbTh3WMU/J2QRwG+vFoblLq Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Just because I hit it today i am reporting this, but with low priority. I got into this small problem [a very small and ridiculous example for the sake of 'demonstration']: the doc says [6.17.7] The coding declaration must appear in a scheme comment. It can either be a semicolon-initiated comment or a block #! comment. if you deposit the 3 attached files somewhere in your guile-load-path, chmod a+x test-iso-preceeding-comment and execute it it's ok. but if you comment (use-modules (test-1)) and uncomment (use-modules (test-2)) it's not Cheers, David --MP_/RbTh3WMU/J2QRwG+vFoblLq Content-Type: text/x-scheme Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=test-1.scm ;;; -*- coding: iso-8859-1 -*-=20 #! this is working !# (define-module (test-1)) ;; mais on le renvoit quand m=EAme filtr=E9 (define (test) #t) --MP_/RbTh3WMU/J2QRwG+vFoblLq Content-Type: text/x-scheme Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=test-2.scm #! -*- coding: iso-8859-1 -*-=20 this is not working !# (define-module (test-2)) ;; mais on le renvoit quand m=EAme filtr=E9 (define (test) #t) --MP_/RbTh3WMU/J2QRwG+vFoblLq Content-Type: application/octet-stream; name=test-iso-preceeding-comment Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=test-iso-preceeding-comment IyEvYmluL3NoCiMgLSotIHNjaGVtZSAtKi0KZXhlYyBndWlsZSAtZSBtYWluIC1zICQwICIkQCIK ISMKCjs7IHZvaWzgLCBlbiBib24gZnJhbudhaXMuIGhlcmUgdGhlIGlzby04ODU5LTEgY2hhcnMg YXJlICdhY2NlcHRlZCcKOzsgYmVjYXVzZSB3aG8gcmVhZCB0aGVtIGlzIC9iaW4vc2gKCgo7OyB0 aGlzIGlzIG9rCih1c2UtbW9kdWxlcyAodGVzdC0xKSkKCjs7IGJ1dCBjb21tZW50aW5nIHRoZSBw cmV2aW91cyBsaW5lIGFuZCB1bmNvbW1lbnRpbmcgdGhpcyBvbmUgd2lsbAo7OyBsZWFkIHRvIGFu IGVycm9yCjs7ICh1c2UtbW9kdWxlcyAodGVzdC0yKSkKCihkZWZpbmUgKG1haW4gYXJncykKICAo ZGlzcGxheSAiSGVsbG9cbiIpCiAgKGRpc3BsYXkgYXJncykKICAoZGlzcGxheSAiXG5CeWUgbm93 XG4iKQogICkK --MP_/RbTh3WMU/J2QRwG+vFoblLq--