Next: Matching Prev: Defuns Up: Programs
Indentation for Programs
The best way to keep a program properly indented is to use Emacs to
re-indent it as you change it. Emacs has commands to indent properly
either a single line, a specified number of lines, or all of the lines
inside a single parenthetical grouping.
- Basic Indent
- Indenting a single line.
- Multi-line Indent
- Commands to reindent many lines at once.
- Lisp Indent
- Specifying how each Lisp function should be indented.
- C Indent
- Choosing an indentation style for C code.
automatically generated by info2www