GNU Info

Info Node: (ccmode)Advanced Customizations

(ccmode)Advanced Customizations


Prev: Styles Up: Customizing Indentation
Enter node , (file) or (file)node

Advanced Customizations
=======================

   For most users, CC Mode will support their coding styles with very
little need for more advanced customizations.  Usually, one of the
standard styles defined in `c-style-alist' will do the trick.  At most,
perhaps one of the syntactic symbol offsets will need to be tweaked
slightly, or maybe `c-basic-offset' will need to be changed.  However,
some styles require a more flexible framework for customization, and
one of the real strengths of CC Mode is that the syntactic analysis
model provides just such a framework. This allows you to implement
custom indentation calculations for situations not handled by the mode
directly.

Custom Indentation Functions
Custom Brace and Colon Hanging
Customizing Semi-colons and Commas
Other Special Indentations

automatically generated by info2www version 1.2.2.9