Take the 2-minute tour ×

I really like the syntax highlighting and coloring of the code samples throughout How to Design Programs. For example:


Does anyone have something like this as a jumping off point for an Emacs major mode for editing source code?

share|improve this question
I will delete my answer. I've made a minor edit to your question to emphasize the Emacs major mode focus. Good luck! –  dyoo Apr 21 '12 at 4:24
Do you just mean the color scheme, or is there some sort of functionality that you want? –  Ivan Andrus Apr 21 '12 at 7:20
add comment

2 Answers

Neil Van Dyke created an Emacs major mode for editing Scribble documents. It doesn't color the source code, unfortunately. But it's the best way to edit documents with embedded Racket code in Emacs.

In the realm of non-Emacs editors, DrRacket does highlight both code and text correctly in Scribble documents.

share|improve this answer
add comment

Is it possible you're looking for a Emacs major mode with source highlighting support? If you are, take a look at http://docs.racket-lang.org/guide/Emacs.html, which describes several of the Emacs major modes that support Racket and come with source highlighting.

share|improve this answer
add comment

Your Answer


