| [Top] | [Contents] | [Index] | [ ? ] |
CC Mode{} is a GNU Emacs mode for editing files containing C, C++, Objective-C, Java, CORBA IDL, and Pike code. It provides syntax-based indentation and has several handy commands and some minor modes to make the editing easier. Note that CC Mode provide font-locking; there are other Emacs packages for that.
-- Indices ---
Concept Index Command Index Key Index Variable Index
-- The Detailed Node Listing ---
New Indentation Engine
3.1 Syntactic Analysis 3.2 Indentation Calculation
Minor Modes
4.1 Auto-newline Insertion 4.2 Hungry-deletion of Whitespace
Auto-newline Insertion
4.1.1 Hanging Braces 4.1.2 Hanging Colons 4.1.3 Hanging Semi-colons and Commas 4.1.4 Other Electric Commands 4.1.5 Clean-ups
Commands
6.1 Indentation Commands 6.2 Movement Commands 6.3 Other Commands
Customizing Indentation
7.1 Interactive Customization 7.2 Permanent Customization 7.3 Hooks 7.4 Styles 7.5 Advanced Customizations
Styles
7.4.1 Built-in Styles 7.4.2 Adding Styles 7.4.3 File Styles
Advanced Customizations
7.5.1 Custom Indentation Functions 7.5.2 Custom Brace and Colon Hanging 7.5.3 Customizing Semi-colons and Commas 7.5.4 Other Special Indentations