> yes geiser in emacs .. I better move to Dr Racket IDE so I'm in the same
> boat with most everyone else.
Actually, Matthew and I were suggesting that you try using
command-line Racket with xrepl.
For example:
$ cat file.rkt
#lang racket
(define x 10)
$ racket
Welcome to Racket v6.1.1.
> (require xrepl)
-> ,enter file.rkt
"file.rkt"> x
10
;; edit file.rkt to add (define y 42)
"file.rkt"> ,enter file.rkt
[re-loading /tmp/file.rkt]
"file.rkt"> y
42
"file.rkt">
Notice that the xrepl command `,enter` detected that file.rkt changed,
and re-loaded it.
Keep in mind you could still use Emacs to _edit_ the file. You could
run racket in an M-x shell buffer.
If this turns out to work well, you can put the (require xrepl) in
your ~/.racketrc.
> Just to make sure I am not missing something simple, is there a command for
> loading a module and having all the variables in that module come into scope
> (to facilitate debug) and not have any caching, while in emacs with geiser?
> Before I updated, 'load' did this.
I think Geiser does the equivalent of ,enter. So I'm not sure why that
doesn't work for you. You could ask the Geiser author:
https://github.com/jaor/geiser/issues
If you were to use Dr Racket, or racket-mode for Emacs (which I
maintain), keep in mind they work by re-evaluating everything on each
"Run". Anything you've done in the REPL is discarded, and the files
are evaluated again. Some people love that approach (I'm one!); some
don't. I'm not clear if you're using `load` because you want to work
in a more "dynamic" style, or only because it happened to work for you
in the past. Anyway I hope some of the above is helpful.