From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.bugs Subject: Re: Guile 1.9: bug in load Date: Wed, 18 Nov 2009 06:16:01 +0100 Message-ID: <87d43ge7la.fsf@ambire.localdomain> References: <4AFDC089.6010101@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1258521479 6123 80.91.229.12 (18 Nov 2009 05:17:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Nov 2009 05:17:59 +0000 (UTC) To: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Wed Nov 18 06:17:53 2009 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NAcvQ-0007Hf-Fn for guile-bugs@m.gmane.org; Wed, 18 Nov 2009 06:17:52 +0100 Original-Received: from localhost ([127.0.0.1]:60560 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAcvP-0006aK-No for guile-bugs@m.gmane.org; Wed, 18 Nov 2009 00:17:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NAcvM-0006a6-N9 for bug-guile@gnu.org; Wed, 18 Nov 2009 00:17:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NAcvL-0006Zg-RN for bug-guile@gnu.org; Wed, 18 Nov 2009 00:17:48 -0500 Original-Received: from [199.232.76.173] (port=53920 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAcvL-0006Z4-NJ for bug-guile@gnu.org; Wed, 18 Nov 2009 00:17:47 -0500 Original-Received: from smtp-out114.alice.it ([85.37.17.114]:1345) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NAcvI-0004dF-Qi for bug-guile@gnu.org; Wed, 18 Nov 2009 00:17:45 -0500 Original-Received: from FBCMMO02.fbc.local ([192.168.68.196]) by smtp-out114.alice.it with Microsoft SMTPSVC(6.0.3790.3959); Wed, 18 Nov 2009 06:17:43 +0100 Original-Received: from FBCMCL01B05.fbc.local ([192.168.69.86]) by FBCMMO02.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Wed, 18 Nov 2009 06:17:42 +0100 Original-Received: from ambire.localdomain ([79.45.67.38]) by FBCMCL01B05.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Wed, 18 Nov 2009 06:17:42 +0100 Original-Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1NActd-0001zP-AT for bug-guile@gnu.org; Wed, 18 Nov 2009 06:16:01 +0100 In-Reply-To: (Andy Wingo's message of "Mon, 16 Nov 2009 20:23:07 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-OriginalArrivalTime: 18 Nov 2009 05:17:42.0618 (UTC) FILETIME=[7475ABA0:01CA680E] X-detected-operating-system: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:4364 Archived-At: () Andy Wingo () Mon, 16 Nov 2009 20:23:07 +0100 However the use case is important. We need to implement a (current-file) macro, I think, which should allow for file-relative loads. Is `current-load-port' still around for official Guile? If so, (define (current-file) (port-filename (current-load-port))) might be sufficient. thi