From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Clinton Ebadi Newsgroups: gmane.lisp.guile.user Subject: Bug with #:use-syntax? Date: Wed, 23 Jun 2004 05:03:50 -0400 Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: <1087981429.801.9.camel@localhost> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0780015834==" X-Trace: sea.gmane.org 1087981482 26760 80.91.224.253 (23 Jun 2004 09:04:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 23 Jun 2004 09:04:42 +0000 (UTC) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Wed Jun 23 11:04:30 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bd3gE-0003It-00 for ; Wed, 23 Jun 2004 11:04:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bd3hZ-0002Vh-FF for guile-user@m.gmane.org; Wed, 23 Jun 2004 05:05:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Bd3hV-0002Vc-Ps for guile-user@gnu.org; Wed, 23 Jun 2004 05:05:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Bd3hU-0002VQ-2U for guile-user@gnu.org; Wed, 23 Jun 2004 05:05:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bd3hT-0002VN-UG for guile-user@gnu.org; Wed, 23 Jun 2004 05:05:48 -0400 Original-Received: from [204.127.202.56] (helo=sccrmhc12.comcast.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bd3fm-0002eD-09 for guile-user@gnu.org; Wed, 23 Jun 2004 05:04:02 -0400 Original-Received: from localhost (pcp04598332pcs.elictc01.md.comcast.net[68.55.70.125]) by comcast.net (sccrmhc12) with ESMTP id <200406230903500120089h0te>; Wed, 23 Jun 2004 09:04:00 +0000 Original-Received: by localhost (Postfix, from userid 1000) id 40A5956908; Wed, 23 Jun 2004 05:03:50 -0400 (EDT) Original-To: guile-user@gnu.org X-Mailer: Ximian Evolution 1.4.6 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.4 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 Xref: main.gmane.org gmane.lisp.guile.user:3276 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:3276 --===============0780015834== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-ZZK68wiWbXXSC3yOKChw" --=-ZZK68wiWbXXSC3yOKChw Content-Type: multipart/mixed; boundary="=-mMmw2+nY1c50fU7rDt32" --=-mMmw2+nY1c50fU7rDt32 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Using my Guile-Web xhtml generation module [http://www.unknownlamer.org/code/guile-web.html], if I (use-modules (web html)) without first doing a (use-syntax (ice-9 syncase)) all content following the use-modules is not seen by the web browser if running as a CGI.=20 I tried figuring out what was causing this to happen (I seem to be unable to sleep tonight) and as soon as I put a (use-syntax (ice-9 syncase)) before the use-modules everything worked. Attached is test0.cgi which shows the bug; ifhttp://www.unknownlamer.org/code/guile-web.html you remove the use-syntax it stops working. The /really/ weird part is that the output is identical both times which makes no sense...(I figured at first that EOF was being inserted but a quick look with hexedit doesn't show any nul or eof characters in the output either time). --=20 http://unknownlamer.org AIM:unknownlamer IRC:unknown_lamer@freenode#tpu I use Free Software because I value freedom over features. --=-mMmw2+nY1c50fU7rDt32 Content-Disposition: attachment; filename=test0.cgi Content-Type: application/x-cgi; name=test0.cgi Content-Transfer-Encoding: base64 IyEvaG9tZS9jbGludG9uL2xvY2FsL2Jpbi9ndWl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ViIGJsb2NrITwvcD4gLSMpKSkKCSAgICAKKGhl YWRlciAiRk9PQkFSIikKKGZvcmNlLW91dHB1dCAoY3VycmVudC1vdXRwdXQtcG9ydCkpCgoodXNl LXN5bnRheCAoaWNlLTkgc3luY2FzZSkpCih1c2UtbW9kdWxlcyAod2ViIGh0bWwpKQoKKGRpc3Bs YXkgIjxwPk90aGVyIHN0dWZmLjwvcD48L2JvZHk+PC9odG1sPiIpCg== --=-mMmw2+nY1c50fU7rDt32 Content-Disposition: attachment; filename=test0.cgi Content-Type: application/x-cgi; name=test0.cgi Content-Transfer-Encoding: base64 IyEvaG9tZS9jbGludG9uL2xvY2FsL2Jpbi9ndWlsZSAtcwohIwoKKHVzZS1tb2R1bGVzICh3ZWIg aGFzaC1kYXNoKSkKCihkaXNwbGF5ICJDb250ZW50LVR5cGU6IHRleHQvaHRtbDtcclxuXHJcbiIp Cihmb3JjZS1vdXRwdXQgKGN1cnJlbnQtb3V0cHV0LXBvcnQpKQoKOyhjZ2k6aW5pdCkKCjs7OyB0 aGlzIGlzIHRoZSBiZXN0IHdheSB0byBkbyB0aGlzIHNvIHRoYXQgdGhlICMtIC0jIGlzIG9ubHkK Ozs7IGV2YWx1YXRlZCBvbmNlLCBzYXZpbmcgdGltZSAodGhlICMtIC0jIHJlYWRlciBtYWNybyBp cyBwcm9iYWJseQo7Ozsgc2xvdyBhbmQgY2FuIGdlbmVyYXRlIGEgbG90IG9mIGdhcmJhZ2UpLgoo ZGVmaW5lIChoZWFkZXIgdGl0bGUpCiAgKGZvci1lYWNoIChsYW1iZGEgKHgpIChkaXNwbGF5IHgp KQoJICAgIChsaXN0CgkgICAgICMtCgkgICAgIDw/eG1sIHZlcnNpb249IjEuMCIgZW5jb2Rpbmc9 InV0Zi04IiA/PgoJICAgICA8IURPQ1RZUEUgaHRtbCBQVUJMSUMgIi0vL1czQy8vRFREIFhIVE1M IDEuMCBTdHJpY3QvL0VOIgoJICAgICAiaHR0cDovL3d3dy53My5vcmcvVFIveGh0bWwxL0RURC94 aHRtbDEtc3RyaWN0LmR0ZCI+CgkgICAgIAoJICAgICA8aHRtbCB4bWxucz0iaHR0cDovL3d3dy53 My5vcmcvMTk5OS94aHRtbCIgeG1sOmxhbmc9ImVuIj4KCSAgICAgPGhlYWQ+CgkgICAgIDx0aXRs ZT4gLSMgCgkgICAgIHRpdGxlIAoJICAgICAjLSA8L3RpdGxlPiA8L2hlYWQ+IDxib2R5PiA8aDE+ IC0jCgkgICAgIHRpdGxlCgkgICAgICMtIDwvaDE+IAoJICAgICA8cD5UaGlzIHBhZ2UgaXMgZ2Vu ZXJhdGVkIHVzaW5nIGEKCSAgICAgZ3VpbGUtd2ViIGJsb2NrITwvcD4gLSMpKSkKCSAgICAKKGhl YWRlciAiRk9PQkFSIikKKGZvcmNlLW91dHB1dCAoY3VycmVudC1vdXRwdXQtcG9ydCkpCgoodXNl LXN5bnRheCAoaWNlLTkgc3luY2FzZSkpCih1c2UtbW9kdWxlcyAod2ViIGh0bWwpKQoKKGRpc3Bs YXkgIjxwPk90aGVyIHN0dWZmLjwvcD48L2JvZHk+PC9odG1sPiIpCg== --=-mMmw2+nY1c50fU7rDt32-- --=-ZZK68wiWbXXSC3yOKChw Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBA2Ud1dgGh8PQDV0sRAuvIAKCzjdzJ/kM7MSKbN0AblR5B9c6uxwCgjg5L zU3Yoq4ZOUTut/IdQRC5q3U= =wceq -----END PGP SIGNATURE----- --=-ZZK68wiWbXXSC3yOKChw-- --===============0780015834== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user --===============0780015834==--