unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#13534: add --language argument breaks -l
@ 2013-01-23 16:42 Daniel Llorens
  2013-01-24 10:17 ` bug#13534: Daniel Llorens
  2013-01-24 21:51 ` bug#13534: add --language argument breaks -l Andy Wingo
  0 siblings, 2 replies; 5+ messages in thread
From: Daniel Llorens @ 2013-01-23 16:42 UTC (permalink / raw)
  To: 13534


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.






^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-01-24 21:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-23 16:42 bug#13534: add --language argument breaks -l Daniel Llorens
2013-01-24 10:17 ` bug#13534: Daniel Llorens
2013-01-24 11:42   ` bug#13534: Mark H Weaver
2013-01-24 12:05     ` bug#13534: Daniel Llorens
2013-01-24 21:51 ` bug#13534: add --language argument breaks -l Andy Wingo

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).