unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* Errors using `reload' command
@ 2011-02-03 19:18 Mark Harig
  2011-02-08 22:48 ` Andy Wingo
  2011-02-08 22:58 ` Andy Wingo
  0 siblings, 2 replies; 7+ messages in thread
From: Mark Harig @ 2011-02-03 19:18 UTC (permalink / raw)
  To: bug-guile

The Guile REPL's `reload' command does not always reload
modules successfully.  Below is a copy of a guile session
demonstrating some instances in which the `reload' command
fails, along with examples of the command completing
successfully.

[~]$ guile --no-autocompile
GNU Guile 1.9.15
Copyright (C) 1995-2010 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.

scheme@(guile-user)> (version)
$1 = "1.9.15"

scheme@(guile-user)> %load-path
$2 = ("/usr/local/share/guile/2.0" "/usr/local/share/guile/site/2.0" 
"/usr/local/share/guile/site" "/usr/local/share/guile")

scheme@(guile-user)> ,h use
Usage: import [MODULE ...]
Import modules / List those imported.

scheme@(guile-user)> ,use
(guile)
(system base compile)
(ice-9 readline)
(ice-9 readline)
(ice-9 r5rs)
(ice-9 session)
(ice-9 regex)
(ice-9 threads)
(value-history)

[Note that "(ice-9 readline)" is listed twice, above.  This is not a 
transcription error.]

scheme@(guile-user)> ,h -c re
Usage: reload [MODULE]
Reload the given module, or the current module if none was given.

scheme@(guile-user)> ,re
While executing meta-command:
ERROR: unknown file name for module #<directory (guile-user) 257d090>

scheme@(guile-user)> ,re (system base compile)
scheme@(guile-user)> ,re (ice-9 r5rs)
scheme@(guile-user)> ,re (ice-9 session)
scheme@(guile-user)> ,re (ice-9 regex)
scheme@(guile-user)> ,re (ice-9 threads)
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

scheme@(guile-user)> ,re (value-history)
While executing meta-command:
ERROR: unknown file name for module #<directory (value-history) 2a1dab0>

scheme@(guile-user)> ,re (guile)
While executing meta-command:
ERROR: unknown file name for module #<module (guile) 257de10>

scheme@(guile-user)> ,q
[~]$



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

end of thread, other threads:[~2011-02-09 20:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-03 19:18 Errors using `reload' command Mark Harig
2011-02-08 22:48 ` Andy Wingo
2011-02-08 22:58 ` Andy Wingo
2011-02-09  8:20   ` Andy Wingo
2011-02-09  9:51     ` Ludovic Courtès
2011-02-09 19:59       ` Andy Wingo
2011-02-09 20:49         ` Ludovic Courtès

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