GNU bug report logs - #13534
add --language argument breaks -l

Previous Next

Package: guile;

Reported by: Daniel Llorens <daniel.llorens <at> bluewin.ch>

Date: Wed, 23 Jan 2013 16:45:02 UTC

Severity: normal

Done: Andy Wingo <wingo <at> pobox.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Daniel Llorens <daniel.llorens <at> bluewin.ch>
To: 13534 <at> debbugs.gnu.org
Subject: bug#13534: add --language argument breaks -l
Date: Wed, 23 Jan 2013 17:42:31 +0100
There is an obvious bug in faabd16… in the handling of "-l"

,arg0 should be ,(car args)

However, even after fixing this, there are problems with the load path

> cat x.scm
(define hello 1) ^D
> guile -l x.scm
[backtrace ...] Unable to find file "ice-9/x.scm" in load path
> guile -L /home/daniel/ -l x.scm
[backtrace ...] Unable to find file "ice-9/x.scm" in load path

I can fix this by putting back load instead of (@@ (ice-9 command-line) load/lang), but I don't understand why this should be. load/lang just calls load, so it must be some scope issue.





This bug report was last modified 12 years and 177 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.