[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Errors using `reload' command
From: |
Andy Wingo |
Subject: |
Re: Errors using `reload' command |
Date: |
Tue, 08 Feb 2011 23:48:08 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Hi Mark,
On Thu 03 Feb 2011 20:18, Mark Harig <address@hidden> writes:
> scheme@(guile-user)> ,re
> While executing meta-command:
> ERROR: unknown file name for module #<directory (guile-user) 257d090>
Indeed, `reload' only works with modules that are associated with
files. (guile-user) is not one of them. Neither are these:
> (value-history)
> (guile)
But this is an interesting one:
> scheme@(guile-user)> ,use
> (system base compile)
> (ice-9 readline)
> (ice-9 readline)
> (ice-9 r5rs)
> (ice-9 session)
> (ice-9 regex)
> (ice-9 threads)
>
> [Note that "(ice-9 readline)" is listed twice, above. This is not a
> transcription error.]
This appears to arise because use-modules clauses are evaluated twice
(once at expand-time, and once at load-time) and module-use-interfaces!
was not doing the right thing. Fixed.
> scheme@(guile-user)> ,re (ice-9 readline)
> While executing meta-command:
> ERROR: In procedure primitive-load-path:
> ERROR: Unable to find file "guile-readline/ice-9/readline.scm" in load
> path
Fixed this one too, I think.
Thanks for the reports,
Andy
--
http://wingolog.org/