I don't like DrRacket because it does not have convenient edit capabilities as Emacs, however I can only run Scheme file through adding command "racket current-file.scm" in .emacs
, now, I want to run the Scheme file in Emacs described as "Run : Resets the interactions window and runs the program in the definitions window." in DrRacket's manual, I read the command Racket's help "19.1 Running racket and gracket", seemingly it doesn't answer my question, what should I do?
You might want to try Geiser mode for Emacs. There is also a section in the Racket Guide dedicated to describing how to use other editors and CLI tools.
Update: Nowadays I also highly recommend Greg Hendershott's racket-mode as well.
Greg Hendershott has written racket-mode
for using Racket from Emacs.
https://github.com/greghendershott/racket-mode
See the presentation from 2014 RacketCon here:
https://www.youtube.com/watch?v=QWiteH8PARQ&noredirect=1
The racket-lang official website provides some ways to use racket in emacs. Here is the link racket-lang emacs. You can use quack or geiser.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With