From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Mikael Djurfeldt Newsgroups: gmane.lisp.guile.bugs Subject: Re: Endless loop in guile 1.6.1 if using macros Date: Sat, 18 Jan 2003 15:42:02 +0100 Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Message-ID: References: <20030118124141.18559.qmail@web21401.mail.yahoo.com> Reply-To: djurfeldt@nada.kth.se NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1042900909 24183 80.91.224.249 (18 Jan 2003 14:41:49 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 18 Jan 2003 14:41:49 +0000 (UTC) Cc: djurfeldt@nada.kth.se Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18ZuAN-0006Hv-00 for ; Sat, 18 Jan 2003 15:41:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18ZuBS-0006WU-05 for guile-bugs@m.gmane.org; Sat, 18 Jan 2003 09:42:54 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18ZuAu-0005R8-00 for bug-guile@gnu.org; Sat, 18 Jan 2003 09:42:20 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18ZuAr-0005Np-00 for bug-guile@gnu.org; Sat, 18 Jan 2003 09:42:18 -0500 Original-Received: from kvast.blakulla.net ([213.212.20.77]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18ZuAg-0005Fo-00 for bug-guile@gnu.org; Sat, 18 Jan 2003 09:42:06 -0500 Original-Received: from barbara.blakulla.net ([213.212.21.238] helo=linnaeus) by kvast.blakulla.net with esmtp (Exim 3.36 #1 (Debian)) id 18ZuAc-0007Tc-00; Sat, 18 Jan 2003 15:42:02 +0100 Original-Received: from mdj by linnaeus with local (Exim 3.36 #1 (Debian)) id 18ZuAc-0003pp-00; Sat, 18 Jan 2003 15:42:02 +0100 Original-To: Christian Neukirchen In-Reply-To: <20030118124141.18559.qmail@web21401.mail.yahoo.com> (Christian Neukirchen's message of "Sat, 18 Jan 2003 13:41:41 +0100 (CET)") User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu) Original-cc: bug-guile@gnu.org X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GUILE, GNU's Ubiquitous Extension Language List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.bugs:631 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.bugs:631 Christian Neukirchen writes: > Therefore I think, all macros used by exported guile functions have to > get exported too. That is correct. Finally, that won't be necessary, but currently it is. This has to do with the fact that the original implementation of syntax-case macros which Guile uses is not written for use with a module system. We have in mind to fix it, but it is not fixed yet. > This bug seems to appear in guile 1.6 only, since I talked to the mixp > developer, he uses guile 1.7 and can't reproduce it. I recently got the syncase module to expand Guile macros as well. The effect is that the (ds ...) form in your example is expanded already at the definition of f. So while syncase macros are still not fully integrated with the module system => you *should* always export bindings inserted by the macro as well, it happens to work in 1.7 in this particular case. > If you have patches, could you please CC: them to me? The development source tree of guile-1.7 is publicly available via the Guile homepage. You can use the cvs diff command to obtain patches. Best regards, Mikael D. _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://mail.gnu.org/mailman/listinfo/bug-guile