Taylan Ulrich Bayirli/Kammer <taylanbayi...@gmail.com>: > Bernardo Ezequiel Contreras <vonbecm...@gmail.com> writes: > >> i would like to know how do you automatically format your code? cause >> i have no idea, and i don't want to do it manually. is there a emacs >> mode, command or something for that? > > In Emacs, scheme-mode with Paredit (or SmartParens I guess), using C-j > for newlines instead of RET, using 'fill-column-indicator' AKA > 'fci-mode', and/or 'auto-fill-mode' to keep me wary of the column > limit, using M-; to insert comments. Paragraphs of comments and other > plain text can be formatted with M-q to conform to the column limit.
Emacs does everything out of the box. If you open a scheme file, TAB indents the line "correctly" and C-M-\ reindents a region of code. If you don't like the builtin style, you can customize it to your heart's content. Marko