Let Emacs spell-check your code
I just discovered flyspell-prog-mode. It works on comments and string constants in your code.
You can enable this mode automatically by doing something like:
(add-hook ‘c-mode-common-hook ‘(lambda () (flyspell-prog-mode)))
Note for OS X users. It uses ispell, which does not come with OS X. Fortunately that is easily solved by using the MacPorts.
Emacs Tutorial at DeveloperWorks
Some people don’t understand why I still write most of my (non-Java) code in GNU Emacs. Here are seven good reasons:
Emacs editing environment, Part 1: Learn the basics of Emacs
Master the Emacs editor and delve into the depths of its most advanced editing commands that have made it famous. The open source Emacs editor (one […]