From: Luca Saiu <positron@gnu.org>
To: Andy Wingo <wingo@pobox.com>
Cc: bug-guile@gnu.org
Subject: Re: Guile 1.9: bug in load
Date: Wed, 18 Nov 2009 11:05:49 +0100 [thread overview]
Message-ID: <4B03C6FD.5060802@gnu.org> (raw)
In-Reply-To: <m3my2mmfz8.fsf@pobox.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andy Wingo wrote:
> Hi Luca :-)
>
> On Fri 13 Nov 2009 21:24, Luca Saiu <positron@gnu.org> 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-----
next prev parent reply other threads:[~2009-11-18 10:05 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-13 20:24 Guile 1.9: bug in load Luca Saiu
2009-11-16 19:23 ` Andy Wingo
2009-11-18 5:16 ` Thien-Thi Nguyen
2009-11-18 21:03 ` Andy Wingo
2009-11-19 0:14 ` Ludovic Courtès
2009-11-18 10:05 ` Luca Saiu [this message]
2009-11-18 20:57 ` Andy Wingo
2010-03-26 13:02 ` Luca Saiu
2010-07-17 10:59 ` Andy Wingo
2010-07-18 22:54 ` Luca Saiu
2009-11-19 0:29 ` Ludovic Courtès
2009-11-19 22:53 ` Neil Jerram
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B03C6FD.5060802@gnu.org \
--to=positron@gnu.org \
--cc=bug-guile@gnu.org \
--cc=wingo@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).