Help with ‘c-mode’ ‘M-q’ (c-fill-paragraph) Like \[fill-paragraph] but handles C and C++ style comments. ‘C-M-e’ (c-end-of-defun) Move forward to the end of a top level declaration. ‘C-M-a’ (c-beginning-of-defun) Move backward to the beginning of a defun. ‘C-M-j’, ‘M-j’ (c-indent-new-comment-line) Break line at point and indent, continuing comment or macro if within one. ‘M-e’ (c-end-of-statement) Go to the end of the innermost C statement. ‘M-a’ (c-beginning-of-statement) Go to the beginning of the innermost C statement. ‘C-M-q’ (c-indent-exp) Indent each line in the balanced expression following point syntactically. ‘C-M-h’ (c-mark-function) Put mark at end of the current top-level declaration or macro, point at beginning. ‘TAB’ (c-indent-line-or-region) Indent active region, current line, or block starting on this line. ‘C-c C-w’ (c-subword-mode) Toggle subword movement and editing (Subword mode). ‘C-c .’ (c-set-style) Set the current buffer to use the style STYLENAME. ‘C-c C-s’ (c-show-syntactic-information) Show syntactic information for current line. ‘C-c C-q’ (c-indent-defun) Indent the current top-level declaration or macro syntactically. ‘C-c C-o’ (c-set-offset) Change the value of a syntactic element symbol in `c-offsets-alist'. ‘C-c C-l’ (c-toggle-electric-state) Toggle the electric indentation feature. ‘C-c C-c’ (comment-region) Comment or uncomment each line in the region. ‘C-c C-b’ (c-submit-bug-report) Submit via mail a bug report on CC Mode. ‘C-c C-a’ (c-toggle-auto-newline) Toggle auto-newline feature. ‘C-c C-\’ (c-backslash-region) Insert, align, or delete end-of-line backslashes on the lines in the region. ‘C-c DEL’, ‘C-c C-DEL’, ‘C-c ’ (c-hungry-delete-backwards) Delete the preceding character or all preceding whitespace ‘C-c C-d’, ‘C-c ’, ‘C-c ’, ‘C-c ’ (c-hungry-delete-forward) Delete the following character or all following whitespace ‘C-c C-u’ (c-up-conditional) Move back to the containing preprocessor conditional, leaving mark behind. ‘C-c C-p’ (c-backward-conditional) Move back across a preprocessor conditional, leaving mark behind. ‘C-c C-n’ (c-forward-conditional) Move forward across a preprocessor conditional, leaving mark behind. ‘C-d’ (c-electric-delete-forward) Delete the following character or whitespace. ‘DEL’ (c-electric-backspace) Delete the preceding character or whitespace. ‘#’ (c-electric-pound) Insert a "#". ‘}’, ‘{’ (c-electric-brace) Insert a brace. ‘/’ (c-electric-slash) Insert a slash character. ‘*’ (c-electric-star) Insert a star character. ‘,’, ‘;’ (c-electric-semi&comma) Insert a comma or semicolon. ‘:’ (c-electric-colon) Insert a colon. ‘)’, ‘(’ (c-electric-paren) Insert a parenthesis. ‘C-c C-e’ (c-macro-expand) Expand C macros in the region, using the C preprocessor.