Next: Electric C, Up: C Modes
This section describes commands for moving point, in C mode and related modes.
C-c C-u
#elif
is treated
like #else
followed by #if
. When going forwards,
#elif
is ignored.
C-c C-p
C-c C-n
M-a
c-beginning-of-statement
). If point is already at the beginning
of a statement, move to the beginning of the preceding statement. With
prefix argument n, move back n − 1 statements.
If point is within a string or comment, or next to a comment (only whitespace between them), this command moves by sentences instead of statements.
When called from a program, this function takes three optional
arguments: the numeric prefix argument, a buffer position limit
(don't move back before that place), and a flag that controls whether
to do sentence motion when inside of a comment.
M-e
c-end-of-statement
).
M-x c-backward-into-nomenclature
In the GNU project, we recommend using underscores to separate words
within an identifier in C or C++, rather than using case distinctions.
M-x c-forward-into-nomenclature