Re: Guile 1.9: bug in load

2010-07-18 Thread Luca Saiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello. Andy Wingo wrote: Hi Luca, Can you file a bug for this? Sure. It's bug #30480. Thanks, - -- Luca Saiu http://www-lipn.univ-paris13.fr/~saiu GNU epsilon: http://www.gnu.org/software/epsilon Marionnet: http://www.marionnet.org

Re: Guile 1.9: bug in load

2010-07-17 Thread Andy Wingo
Hi Luca, Can you file a bug for this? https://savannah.gnu.org/bugs/?group=guile I didn't see an obvious solution at the start, and so I forgot about it; but we should have an answer for it. Collecting the info in a place other than my inbox would be a great start :) Thanks! Andy On Fri 26

Re: Guile 1.9: bug in load

2010-03-26 Thread Luca Saiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello again. Andy, you had asked me to ping you if the problem was still there after some time. I still see it in 1.9.9. Thanks to you and the whole team for your great work, Andy Wingo wrote: On Wed 18 Nov 2009 11:05, Luca Saiu posit...@gnu.org

Re: Guile 1.9: bug in load

2009-11-19 Thread Neil Jerram
Luca Saiu posit...@gnu.org writes: It's really been a pleasure to meet you and Ludovic face to face. My greetings to Neil, too. Thanks Luca. It sounds like you all had a really great meeting; I'm sorry I missed it! Regards, Neil

Re: Guile 1.9: bug in load

2009-11-18 Thread Luca Saiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andy Wingo wrote: Hi Luca :-) On Fri 13 Nov 2009 21:24, Luca Saiu posit...@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

Re: Guile 1.9: bug in load

2009-11-18 Thread Andy Wingo
Hi Thien-Thi, On Wed 18 Nov 2009 06:16, Thien-Thi Nguyen t...@gnuvola.org writes: () Andy Wingo wi...@pobox.com () 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

Re: Guile 1.9: bug in load

2009-11-18 Thread Ludovic Courtès
Andy Wingo wi...@pobox.com writes: Hi Thien-Thi, On Wed 18 Nov 2009 06:16, Thien-Thi Nguyen t...@gnuvola.org writes: () Andy Wingo wi...@pobox.com () 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

Re: Guile 1.9: bug in load

2009-11-18 Thread Ludovic Courtès
Hi Luca! I actually looked into it on my trip back from Göteborg, in the hope of fixing it for 1.9.5, in vain. I did reproduce the problem with ‘DIR/a.scm’ and ‘DIR/b/c.scm’ where ‘c.scm’ contains ‘(load ../a.scm)’. I first tried to fix it by having ‘load’ prepend the directory name of the file

Re: Guile 1.9: bug in load

2009-11-17 Thread Thien-Thi Nguyen
() Andy Wingo wi...@pobox.com () 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)

Re: Guile 1.9: bug in load

2009-11-16 Thread Andy Wingo
Hi Luca :-) On Fri 13 Nov 2009 21:24, Luca Saiu posit...@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? AFAIK no -- but do correct me if I'm wrong -- and so for that reason,