[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Geiser-users] Reloading module information
From: |
Mark Skilbeck |
Subject: |
Re: [Geiser-users] Reloading module information |
Date: |
Mon, 28 May 2012 21:20:26 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Even doing that, I don't see the newly exported symbols.
On Mon, May 28, 2012 at 10:08:48PM +0200, Jose A. Ortega Ruiz wrote:
> On Mon, May 28 2012, Mark Skilbeck wrote:
>
> > Hi, all.
> >
> > Say I have two files, hound.scm and util.scm that are both modules
> > (define-module...) and have an export list. Now, in Geiser, as soon
> > as the REPL loads, I have to add the parent directory for these files
> > to the %load-path. After this I can successfully compile the
> > (define-module ...) in each of the buffers hound.scm, util.scm and get
> > the symbols through Geiser that were exported in both.
> >
> > Now, however, if I add a new export to hound.scm and re-evaulate the
> > define-module in util.scm (which has #:use-module (hound hound)) I
> > don't have access to the new symbol.
>
> You need to re-evaluate the define-module form in hound.scm (or
> recompile the whole buffer with C-c C-k). Re-evaluating define-module
> doesn't trigger recursive reloads for changed modules automatically...
>
> jao
--
- mgsk.
if all you young men / were fish in the water
how many young girls / would undress and dive after