Subject: bug#13534: closed (Re: bug#13534: add --language argument breaks -l)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 24 Jan 2013 21:52:02 +0000

Your bug report

#13534: add --language argument breaks -l

which was filed against the guile package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
13534: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13534
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#13534: add --language argument breaks -l
From: Andy Wingo <[email-masked]>
To: Daniel Llorens <[email-masked]>
Cc: [email-masked]
Date: Thu, 24 Jan 2013 22:51:29 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

On Wed 23 Jan 2013 17:42, Daniel Llorens <[email-masked]> writes:

> There is an obvious bug in faabd16… in the handling of "-l"

Sorry about that one!  Embarrassing :P

A
-- 
http://wingolog.org/

Subject: add --language argument breaks -l
From: Daniel Llorens <[email-masked]>
To: [email-masked]
Date: Wed, 23 Jan 2013 17:42:31 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

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.