This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Reload of a module


>From the guile list....

Russ McManus <russell.mcmanus@gs.com> writes:

> Alexander Asteroth <alexander.asteroth@informatik.uni-bonn.de> writes:
> 
> > How do I reload a module when its source code has changed?
> 
> If you're interactively programming using emacs, which would be a
> smart way to go, you need some code to tell emacs in which module
> forms should be evaluated.  There are various solutions to this, but
> some time ago I rolled my own, which you can try out if you like.
> It's at:
> 
>    http://idt.net/~mcmanus/download/guile-interface.el
> 
> This code is basically a thin veneer on top of cmuscheme.el that sends
> some additional forms to the guile interpreter to establish the module
> context at strategic points.

I wonder if Sam's scwm.el could be enhanced with some features for
forced reloading and smarter module-aware evaluating of (define ...)
forms?  (Or is there already some support that I don't know about?)

Greg