[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The stuff that didn't fit in anywhere else is documented here.
require-final-newline
at mode initialization;
see that variable for details about the value. If a language isn't
present on the association list, CC Mode won't touch
require-final-newline
in buffers for that language.
The default is to set require-final-newline
to t
in the
languages that mandates that source files should end with newlines,
i.e. C, C++ and Objective-C.
nil
, the syntactic analysis for the current line is shown
in the echo area when it's indented (unless
c-syntactic-indentation
is nil
). That's useful when
finding out which syntactic symbols to modify to get the indentation you
want.
nil
, certain syntactic errors are reported with a ding and
a message, for example when an else
is indented for which there
is no corresponding if
.
Note however that CC Mode doesn't make any special effort to check for syntactic errors; that's the job of the compiler. The reason it can report cases like the one above is that it can't find the correct anchoring position to indent the line in that case.
[ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated by XEmacs shared group account on December, 19 2009
using texi2html 1.65.