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 -BE

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 writes: > >> And

Re: Guile 1.9: bug in load

2009-11-19 Thread Neil Jerram
Luca Saiu 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 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 fil

Re: Guile 1.9: bug in load

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

Re: Guile 1.9: bug in load

2009-11-18 Thread Andy Wingo
On Wed 18 Nov 2009 11:05, Luca Saiu writes: > Andy Wingo wrote: >> 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

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 writes: > () 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

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 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,

Re: Guile 1.9: bug in load

2009-11-17 Thread Thien-Thi Nguyen
() 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 (cur

Re: Guile 1.9: bug in load

2009-11-16 Thread Andy Wingo
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? AFAIK no -- but do correct me if I'm wrong -- and so for that reason, I don't think

[Fwd: Guile 1.9: bug in load]

2009-11-15 Thread Luca Saiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Maybe the original message was lost... - Original Message Subject: Guile 1.9: bug in load Date: Fri, 13 Nov 2009 21:24:41 +0100 From: Luca Saiu To: bug-guile@gnu.org Hello people. We've found a little bug in 1.9: load should

Guile 1.9: bug in load

2009-11-15 Thread Luca Saiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello people. We've found a little bug in 1.9: load should call canonicalize-path relative to the directory of the file which loads the other one, not relative to `pwd`. Thanks and greeting from the GHM. - -- Luca Saiu http://www-lipn.univ-paris13.f