[racket] DrRacket: suppress newline when forcing evaluation?

From: Benjamin Rahn (benjamin.rahn at gmail.com)
Date: Fri Jan 14 00:12:00 EST 2011

I've just started using DrRacket on OS X (10.5), and there's an odd  
behavior that I'm finding somewhat frustrating.

http://docs.racket-lang.org/drracket/interactions-window.html says  
that in the interaction window "you can force DrRacket to evaluate the  
expression by typing Alt-Return or Command-Return (depending on your  

The mac equivalent (option-enter) does indeed force evaluation, but it  
also inserts a newline into the expression (at the current location)  
before evaluation.  This is at best annoying and at worst breaks the  
expression by introducing whitespace in the middle of a word/token/etc.

Is there any way to suporess the inserted newline?

Thanks so much!


Posted on the users mailing list.