I'm a Linux user looking for a code beautifier which will take files containing C code and format them to specification. Specifically, I'm looking to:
- Change all indentations to be 8 spaces
- Format blocks of code consistently
- Add line breaks consistently
It would be nice if it had both defaults and the ability to customize. I prefer free / open source solutions when available. Any suggestions?
UPDATE: I should also note than I'm an emacs user, and so this may be an emacs specific question. I've updated the tags to reflect this.