From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luca Saiu Newsgroups: gmane.lisp.guile.bugs Subject: Re: Guile 1.9: bug in load Date: Wed, 18 Nov 2009 11:05:49 +0100 Message-ID: <4B03C6FD.5060802@gnu.org> References: <4AFDC089.6010101@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1258538576 15900 80.91.229.12 (18 Nov 2009 10:02:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Nov 2009 10:02:56 +0000 (UTC) Cc: bug-guile@gnu.org To: Andy Wingo Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Wed Nov 18 11:02:48 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 1NAhN9-0006jD-FF for guile-bugs@m.gmane.org; Wed, 18 Nov 2009 11:02:47 +0100 Original-Received: from localhost ([127.0.0.1]:45319 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAhN8-00055b-Ua for guile-bugs@m.gmane.org; Wed, 18 Nov 2009 05:02:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NAhN4-00053B-Pj for bug-guile@gnu.org; Wed, 18 Nov 2009 05:02:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NAhN0-0004yt-Rv for bug-guile@gnu.org; Wed, 18 Nov 2009 05:02:42 -0500 Original-Received: from [199.232.76.173] (port=52043 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAhN0-0004yh-Ne for bug-guile@gnu.org; Wed, 18 Nov 2009 05:02:38 -0500 Original-Received: from mail-fx0-f225.google.com ([209.85.220.225]:33916) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NAhMz-00073q-UM for bug-guile@gnu.org; Wed, 18 Nov 2009 05:02:38 -0500 Original-Received: by fxm25 with SMTP id 25so1026025fxm.26 for ; Wed, 18 Nov 2009 02:02:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:openpgp:content-type:content-transfer-encoding; bh=LdH/PLlRnDUeiDxs4ISWr/8v2y+B6IqD4yKwjrIQMw8=; b=nvA2ZUjGy01YmvYZiMR7gQcB19dp9DibFCPccgxWev293dtpnX5CxrjiexqHGE8ruR 6Y31x0zbe+ew65n9Q6C4l/x9Tn66F7x4B2MQN2lpWePMVO35P1bpK+HejOPrJW4/YbXT ZqO/GEItil7QzqznPOnd29zz/yCLZBfpfYIBQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:openpgp:content-type :content-transfer-encoding; b=pj4woKT0wswdtN3mrWLarDPNCmTvLSgQ6LyJ0SCACwmN2YUCSuOAU0qNTpfIKH+uuB 71H0itpMH3IRxYGriXkbo5FoOCnFVqVYAt28+Ws+ebvFvzL/gTPIV61JX8AiZIzJuGvE tI4W/55yAIRHPBbzlmJ2Ehm1qAtXQoeeExAIw= Original-Received: by 10.204.150.77 with SMTP id x13mr7241095bkv.100.1258538555126; Wed, 18 Nov 2009 02:02:35 -0800 (PST) Original-Received: from ?10.10.0.234? (mail.lipn.univ-paris13.fr [194.254.163.24]) by mx.google.com with ESMTPS id p9sm7526477fkb.49.2009.11.18.02.02.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 18 Nov 2009 02:02:33 -0800 (PST) User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090701) In-Reply-To: X-Enigmail-Version: 0.95.0 OpenPGP: id=26C5D286; url=http://www-lipn.univ-paris13.fr/~saiu/lucasaiu.asc X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:4367 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andy Wingo wrote: > Hi Luca :-) > > On Fri 13 Nov 2009 21:24, Luca Saiu writes: > >> load should call canonicalize-path relative to the directory of the file >> which loads the other one, not relative to `pwd`. > > Has this changed since 1.8? Yes, it has changed. I had originally developed my little game with Guile 1.8, on which it works (apart from the lockup problem I had hinted at, but that's totally unrelated and may be a bug in my code) and the problem only shows up when testing with 1.9. Ludovic was following me when I've tested at dinner; so the report should be reliable even if I had a couple of beers :-). > AFAIK no -- but do correct me if I'm wrong > -- and so for that reason, I don't think it's possible to change it -- > for backwards-compatibility reasons. So I think that it *should* be changed for backwards-compatibility reasons, but also because the behavior in 1.8 is clearly the right thing. > However the use case is important. We need to implement a (current-file) > macro, I think, which should allow for file-relative loads. If you need a distilled test case, please tell me; it should be quite easy to build. > Greetings to you! It's really been a pleasure to meet you and Ludovic face to face. My greetings to Neil, too. - -- Luca Saiu http://www-lipn.univ-paris13.fr/~saiu GNU epsilon: http://www.gnu.org/software/epsilon Marionnet: http://www.marionnet.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAksDxv0ACgkQvzOavibF0oYGwACfekkOSSN7vzNeeSt5NnnlZHsW KB8AniNOFf/n8x+AwFkwVJr0GDH1bJLH =VZub -----END PGP SIGNATURE-----