bugGeiser - Bugs: bug #31438, Geiser fails to work with modules...

 
 

bug #31438: Geiser fails to work with modules that don't have `@'

Submitted by:  Andreas Rottmann <rottmann>
Submitted on:  Sun 24 Oct 2010 11:30:40 PM UTC  
 
Category: GuileSeverity: 3 - Normal
Status: FixedPrivacy: Public
Assigned to: NoneOpen/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 23 Nov 2010 01:18:55 AM UTC, comment #1:

Fixed by using meta-commands, now that they're available in Guile thanks to Andreas

Jose Antonio Ortega Ruiz <jao>
Project Administrator
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.

Andreas Rottmann <rottmann>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jao (Posted a comment)
  • -unavailable- added by rottmann (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 23 Nov 2010 01:18:55 AM UTCjaoStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1