
With racket-mode I can develop stuff without thrashing on my 512 MiB pentium M machine. DrRacket does work, but eats most of the physical memory. Emacs with racket-mode uses about half instead.

We need a command line version of DrRacket!

Does the racket-mode REPL display messages from the current logger? I don’t see why it wouldn’t, but I don’t see log-error print there when I run emacs with ‘PLTSTDOUT=error emacs’. I verified with getenv that PLTSTDOUT is set to “error”. It could be that I’m misunderstanding the way loggers work, but I do see the log-error messages when I run my code outside of emacs.

@jjsimpso There’s a dedicated *Racket Logger*
buffer for that. See: https://www.racket-mode.com/#racket_002dlogger

In that buffer press l
to add a topic and a level. If there’s a set of levels and topics you often want, you can set the Emacs customization variable racket-logger-config
. Help for that is linked from that page I linked to above.

Thanks greg. I saw the Logger buffer.

I was wondering if there was a way to include the log messages with the stdout and stderr printed in the REPL. If there isn’t I can work around it.

I thought that using the logger might be helpful for selectively enabling debug output in my program. Instead, I may just roll something simple of my own.