Sun 24 Oct 2010 11:30:40 PM UTC, original submission:
In modules that don't have `@' in their namespace, Geiser breaks completely (from the "geiser messages" buffer):
----8<-----
INFO: <1496648528414750170>: ((@ (geiser emacs) ge:compile) (quote ((@ (geiser emacs) ge:auto
INFO: <1860764971612565070>: ((@ (geiser emacs) ge:compile) (quote ((@ (geiser emacs) ge:autodoc) (quote (library)))) (quote (spells foreign compat)))
INFO: RETORT: ((error (key . geiser-debugger)) (output . "ERROR: In procedure module-lookup:
ERROR: Unbound variable: @
Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue.
"))
INFO: <1860764971612565070>: processed
----8<----
One way to resolve this (as discussed on IRC), would be to add a meta-command to Guile (perhaps this is possible without modifying Guile itself), which allows to invoke a procedure inside a module, thus doing away with the requirement that `@' is available in all modules.
The command could look like this:
,eval (my module) my-expression
See "module/system/repl/command.scm" in the Guile source for how meta-commands are defined.
|