[Top][All Lists]

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

Re: [Geiser-users] Reloading module information

From: Jose A. Ortega Ruiz
Subject: Re: [Geiser-users] Reloading module information
Date: Mon, 28 May 2012 22:08:48 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

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...

"Knowledge is proud that he has learned so much;
Wisdom is humble that he knows no more."
 - William Cowper

reply via email to

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