[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
31. Editing Programs
Emacs provides many features to facilitate editing programs. Some of these features can
- Find or move over top-level definitions (see section Top-Level Definitions, or Defuns).
- Apply the usual indentation conventions of the language (see section Indentation for Programs).
- Balance parentheses (see section Commands for Editing with Parentheses).
- Insert, kill or align comments (see section Manipulating Comments).
- Highlight program syntax (see section Font Lock mode).
This chapter describes these features and many more.
31.1 Major Modes for Programming Languages | Major modes for editing programs. | |
31.2 Top-Level Definitions, or Defuns | Commands to operate on major top-level parts of a program. | |
31.3 Indentation for Programs | Adjusting indentation to show the nesting. | |
31.4 Commands for Editing with Parentheses | Commands that operate on parentheses. | |
31.5 Manipulating Comments | Inserting, killing, and aligning comments. | |
31.6 Documentation Lookup | Getting documentation of functions you plan to call. | |
31.7 Hideshow minor mode | Displaying blocks selectively. | |
31.8 Completion for Symbol Names | Completion on symbol names of your program or language. | |
31.9 Glasses minor mode | Making identifiersLikeThis more readable. | |
31.10 Other Features Useful for Editing Programs | Other Emacs features useful for editing programs. | |
31.11 C and Related Modes | Special commands of C, C++, Objective-C, Java, and Pike modes. | |
31.12 Asm Mode | Asm mode and its special features. | |
31.13 Fortran Mode | Fortran mode and its special features. |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |