geiser-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Geiser-users] [bug #31438] Geiser fails to work with modules that don't


From: Andreas Rottmann
Subject: [Geiser-users] [bug #31438] Geiser fails to work with modules that don't have `@'
Date: Sun, 24 Oct 2010 23:30:40 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100820 Iceweasel/3.6.8 (like Firefox/3.6.8)

URL:
  <http://savannah.nongnu.org/bugs/?31438>

                 Summary: Geiser fails to work with modules that don't have
`@'
                 Project: Geiser
            Submitted by: rottmann
            Submitted on: Mon 25 Oct 2010 01:30:40 AM CEST
                Category: Guile
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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.




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?31438>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]