Other Commands
==============

   CC Mode contains a few other useful commands:

`C-c : (c-scope-operator)'
     In C++, it is also sometimes desirable to insert the double-colon
     scope operator without performing the electric behavior of colon
     insertion.  `C-c :' does just this.

`M-q (fill-paragraph)'
     The command is used to fill a block style (C) or line style (C++)
     comment, in much the same way that text in the various text modes
     can be filled(1).  In Java buffers, the Javadoc markup words are
     recognized as paragraph starters.  Two variables control how C
     style block comments are filled, specifically how the comment
     start and end delimiters are handled.

     The variable `c-hanging-comment-starter-p' controls whether comment
     start delimiters which appear on a line by themselves, end up on a
     line by themselves after the fill.  When the value is `nil', the
     comment starter will remain on its own line(2).  Otherwise, text
     on the next line will be put on the same line as the comment
     starter.  This is called "hanging" because the following text hangs
     on the line with the comment starter(3)

     The variable `c-hanging-comment-ender-p' controls the analogous
     behavior for the block comment end delimiter.  When the value is
     `nil', the comment ender will remain on its own line after the
     file(4).  Otherwise, the comment end delimiter will be placed at
     the end of the previous line.

   ---------- Footnotes ----------

   (1) You should not use specialized filling packages such as
`filladapt' with CC Mode.  They don't work as well for filling as
`c-fill-paragraph'.

   (2) It will not be placed on a separate line if it is not already on
a separate line.

   (3) This variable is `t' by default, except in `java-mode'.  Hanging
comment starters mess up Javadoc style comments.

   (4) The same caveat as above holds true.