root/branches/2.1/info/ccmode-4

Revision 3212, 32.8 kB (checked in by miyoshi, 5 years ago)

Sync up with Emacs-21.3.

Line 
1 This is ../info/ccmode, produced by makeinfo version 4.2 from
2 cc-mode.texi.
3
4 INFO-DIR-SECTION Emacs
5 START-INFO-DIR-ENTRY
6 * CC Mode: (ccmode).   Emacs mode for editing C, C++, Objective-C,
7                           Java, Pike, and IDL code.
8 END-INFO-DIR-ENTRY
9
10    Copyright (C) 1995, 96, 97, 98, 99, 2000, 2001 Free Software
11 Foundation, Inc.
12
13    Permission is granted to copy, distribute and/or modify this document
14 under the terms of the GNU Free Documentation License, Version 1.1 or
15 any later version published by the Free Software Foundation; with the
16 Invariant Sections being "The GNU Manifesto", "Distribution" and "GNU
17 GENERAL PUBLIC LICENSE", with the Front-Cover texts being "A GNU
18 Manual", and with the Back-Cover Texts as in (a) below.  A copy of the
19 license is included in the section entitled "GNU Free Documentation
20 License" in the Emacs manual.
21
22    (a) The FSF's Back-Cover Text is: "You have freedom to copy and
23 modify this GNU Manual, like GNU software.  Copies published by the Free
24 Software Foundation raise funds for GNU development."
25
26    This document is part of a collection distributed under the GNU Free
27 Documentation License.  If you want to distribute this document
28 separately from the collection, you can do so by adding a copy of the
29 license to the document, as described in section 6 of the license.
30
31 
32 File: ccmode,  Node: Sample .emacs File,  Next: Concept Index,  Prev: Mailing Lists and Submitting Bug Reports,  Up: Top
33
34 Sample .emacs file
35 ******************
36
37      ;; Here's a sample .emacs file that might help you along the way.  Just
38      ;; copy this region and paste it into your .emacs file.  You may want to
39      ;; change some of the actual values.
40      
41      (defconst my-c-style
42        '((c-tab-always-indent        . t)
43          (c-comment-only-line-offset . 4)
44          (c-hanging-braces-alist     . ((substatement-open after)
45                                         (brace-list-open)))
46          (c-hanging-colons-alist     . ((member-init-intro before)
47                                         (inher-intro)
48                                         (case-label after)
49                                         (label after)
50                                         (access-label after)))
51          (c-cleanup-list             . (scope-operator
52                                         empty-defun-braces
53                                         defun-close-semi))
54          (c-offsets-alist            . ((arglist-close . c-lineup-arglist)
55                                         (substatement-open . 0)
56                                         (case-label        . 4)
57                                         (block-open        . 0)
58                                         (knr-argdecl-intro . -)))
59          (c-echo-syntactic-information-p . t)
60          )
61        "My C Programming Style")
62      
63      ;; offset customizations not in my-c-style
64      (setq c-offsets-alist '((member-init-intro . ++)))
65      
66      ;; Customizations for all modes in CC Mode.
67      (defun my-c-mode-common-hook ()
68        ;; add my personal style and set it for the current buffer
69        (c-add-style "PERSONAL" my-c-style t)
70        ;; other customizations
71        (setq tab-width 8
72              ;; this will make sure spaces are used instead of tabs
73              indent-tabs-mode nil)
74        ;; we like auto-newline and hungry-delete
75        (c-toggle-auto-hungry-state 1)
76        ;; key bindings for all supported languages.  We can put these in
77        ;; c-mode-base-map because c-mode-map, c++-mode-map, objc-mode-map,
78        ;; java-mode-map, idl-mode-map, and pike-mode-map inherit from it.
79        (define-key c-mode-base-map "\C-m" 'c-context-line-break)
80        )
81      
82      (add-hook 'c-mode-common-hook 'my-c-mode-common-hook)
83
84 
85 File: ccmode,  Node: Concept Index,  Next: Command Index,  Prev: Sample .emacs File,  Up: Top
86
87 Concept Index
88 *************
89
90 * Menu:
91
92 * -block-intro syntactic symbols:        Syntactic Symbols.
93 * -close syntactic symbols:              Syntactic Symbols.
94 * -cont syntactic symbols:               Syntactic Symbols.
95 * -intro syntactic symbols:              Syntactic Symbols.
96 * -open syntactic symbols:               Syntactic Symbols.
97 * access-label syntactic symbol:         Syntactic Symbols.
98 * adaptive fill mode:                    Text Filling and Line Breaking.
99 * adding styles:                         Adding Styles.
100 * announcement mailing list:             Mailing Lists and Submitting Bug Reports.
101 * arglist-close syntactic symbol:        Syntactic Symbols.
102 * arglist-cont syntactic symbol:         Syntactic Symbols.
103 * arglist-cont-nonempty syntactic symbol: Syntactic Symbols.
104 * arglist-intro syntactic symbol:        Syntactic Symbols.
105 * auto fill mode:                        Text Filling and Line Breaking.
106 * auto-newline insertion:                Auto-newline Insertion.
107 * block-close syntactic symbol <1>:      Syntactic Symbols.
108 * block-close syntactic symbol:          Hanging Braces.
109 * block-open syntactic symbol <1>:       Syntactic Symbols.
110 * block-open syntactic symbol:           Hanging Braces.
111 * BOCM:                                  Introduction.
112 * brace lists:                           Syntactic Symbols.
113 * brace-entry-open syntactic symbol <1>: Syntactic Symbols.
114 * brace-entry-open syntactic symbol:     Hanging Braces.
115 * brace-list-close syntactic symbol <1>: Syntactic Symbols.
116 * brace-list-close syntactic symbol:     Hanging Braces.
117 * brace-list-entry syntactic symbol:     Syntactic Symbols.
118 * brace-list-intro syntactic symbol <1>: Syntactic Symbols.
119 * brace-list-intro syntactic symbol:     Hanging Braces.
120 * brace-list-open syntactic symbol <1>:  Syntactic Symbols.
121 * brace-list-open syntactic symbol:      Hanging Braces.
122 * BSD style:                             Built-in Styles.
123 * bug report mailing list:               Mailing Lists and Submitting Bug Reports.
124 * bugs:                                  Limitations and Known Bugs.
125 * built-in styles:                       Built-in Styles.
126 * c syntactic symbol:                    Syntactic Symbols.
127 * case-label syntactic symbol:           Syntactic Symbols.
128 * catch-clause syntactic symbol:         Syntactic Symbols.
129 * cc-compat.el file:                     Introduction.
130 * cc-lobotomy.el file:                   Performance Issues.
131 * cc-mode-18.el file:                    Getting Connected.
132 * class-close syntactic symbol <1>:      Syntactic Symbols.
133 * class-close syntactic symbol:          Hanging Braces.
134 * class-open syntactic symbol <1>:       Syntactic Symbols.
135 * class-open syntactic symbol:           Hanging Braces.
136 * clean-ups:                             Clean-ups.
137 * comment line prefix:                   Text Filling and Line Breaking.
138 * comment-intro syntactic symbol:        Syntactic Symbols.
139 * comment-only line:                     Syntactic Analysis.
140 * cpp-macro syntactic symbol:            Syntactic Symbols.
141 * cpp-macro-cont syntactic symbol:       Syntactic Symbols.
142 * custom indentation functions:          Custom Indentation Functions.
143 * customizing brace hanging:             Custom Brace and Colon Hanging.
144 * customizing colon hanging:             Custom Brace and Colon Hanging.
145 * customizing indentation:               Customizing Indentation.
146 * customizing semi-colons and commas:    Customizing Semi-colons and Commas.
147 * defun-block-intro syntactic symbol:    Syntactic Symbols.
148 * defun-close syntactic symbol <1>:      Syntactic Symbols.
149 * defun-close syntactic symbol:          Hanging Braces.
150 * defun-open syntactic symbol <1>:       Syntactic Symbols.
151 * defun-open syntactic symbol:           Hanging Braces.
152 * do-while-closure syntactic symbol:     Syntactic Symbols.
153 * electric characters:                   Minor Modes.
154 * electric commands:                     Auto-newline Insertion.
155 * Ellemtel style:                        Built-in Styles.
156 * else-clause syntactic symbol:          Syntactic Symbols.
157 * extern-lang-close syntactic symbol <1>: Syntactic Symbols.
158 * extern-lang-close syntactic symbol:    Hanging Braces.
159 * extern-lang-open syntactic symbol <1>: Syntactic Symbols.
160 * extern-lang-open syntactic symbol:     Hanging Braces.
161 * FAQ:                                   Frequently Asked Questions.
162 * file styles:                           File Styles.
163 * Filladapt mode:                        Text Filling and Line Breaking.
164 * frequently asked questions:            Frequently Asked Questions.
165 * friend syntactic symbol:               Syntactic Symbols.
166 * func-decl-cont syntactic symbol:       Syntactic Symbols.
167 * GNU indent program:                    Indentation Commands.
168 * GNU style:                             Built-in Styles.
169 * hanging braces:                        Hanging Braces.
170 * hanging colons:                        Hanging Colons.
171 * hanging commas:                        Hanging Semi-colons and Commas.
172 * hanging semi-colons:                   Hanging Semi-colons and Commas.
173 * hooks:                                 Hooks.
174 * hungry-deletion of whitespace:         Hungry-deletion of Whitespace.
175 * in-class inline methods:               Syntactic Symbols.
176 * inclass syntactic symbol:              Syntactic Symbols.
177 * indentation calculation:               Indentation Calculation.
178 * indentation commands:                  Indentation Commands.
179 * indentation engine:                    New Indentation Engine.
180 * indentation functions <1>:             Indentation Functions.
181 * indentation functions:                 Customizing Indentation.
182 * inexpr-class syntactic symbol:         Syntactic Symbols.
183 * inexpr-class-close symbol:             Hanging Braces.
184 * inexpr-class-open symbol:              Hanging Braces.
185 * inexpr-statement syntactic symbol:     Syntactic Symbols.
186 * inextern-lang syntactic symbol:        Syntactic Symbols.
187 * inher-cont syntactic symbol:           Syntactic Symbols.
188 * inher-intro syntactic symbol:          Syntactic Symbols.
189 * inlambda syntactic symbol:             Syntactic Symbols.
190 * inline-close syntactic symbol <1>:     Syntactic Symbols.
191 * inline-close syntactic symbol:         Hanging Braces.
192 * inline-open syntactic symbol <1>:      Syntactic Symbols.
193 * inline-open syntactic symbol:          Hanging Braces.
194 * innamespace syntactic symbol:          Syntactic Symbols.
195 * interactive customization:             Interactive Customization.
196 * Java style:                            Built-in Styles.
197 * Javadoc markup:                        Text Filling and Line Breaking.
198 * K&R style:                             Built-in Styles.
199 * knr-argdecl syntactic symbol:          Syntactic Symbols.
200 * knr-argdecl-intro syntactic symbol:    Syntactic Symbols.
201 * label syntactic symbol:                Syntactic Symbols.
202 * lambda-intro-cont syntactic symbol:    Syntactic Symbols.
203 * limitations:                           Limitations and Known Bugs.
204 * line-up functions:                     Indentation Functions.
205 * Linux style:                           Built-in Styles.
206 * literal <1>:                           Indentation Commands.
207 * literal <2>:                           Hungry-deletion of Whitespace.
208 * literal <3>:                           Clean-ups.
209 * literal:                               Auto-newline Insertion.
210 * local variables:                       File Styles.
211 * mailing lists:                         Mailing Lists and Submitting Bug Reports.
212 * member-init-cont syntactic symbol:     Syntactic Symbols.
213 * member-init-intro syntactic symbol:    Syntactic Symbols.
214 * movement commands:                     Movement Commands.
215 * multi-line macros:                     Syntactic Symbols.
216 * namespace-close syntactic symbol <1>:  Syntactic Symbols.
217 * namespace-close syntactic symbol:      Hanging Braces.
218 * namespace-open syntactic symbol <1>:   Syntactic Symbols.
219 * namespace-open syntactic symbol:       Hanging Braces.
220 * objc-method-args-cont syntactic symbol: Syntactic Symbols.
221 * objc-method-call-cont syntactic symbol: Syntactic Symbols.
222 * objc-method-intro syntactic symbol:    Syntactic Symbols.
223 * paragraph fill:                        Text Filling and Line Breaking.
224 * performance issues:                    Performance Issues.
225 * permanent customization:               Permanent Customization.
226 * Pike autodoc markup:                   Text Filling and Line Breaking.
227 * Python style:                          Built-in Styles.
228 * relative buffer position:              Syntactic Analysis.
229 * reporting bugs:                        Mailing Lists and Submitting Bug Reports.
230 * statement syntactic symbol:            Syntactic Symbols.
231 * statement-case-intro syntactic symbol: Syntactic Symbols.
232 * statement-case-open syntactic symbol <1>: Syntactic Symbols.
233 * statement-case-open syntactic symbol:  Hanging Braces.
234 * statement-cont syntactic symbol:       Syntactic Symbols.
235 * stream-op syntactic symbol <1>:        Syntactic Symbols.
236 * stream-op syntactic symbol:            Custom Indentation Functions.
237 * string syntactic symbol:               Syntactic Symbols.
238 * Stroustrup style:                      Built-in Styles.
239 * style variables:                       Styles.
240 * styles:                                Styles.
241 * substatement:                          Syntactic Analysis.
242 * substatement block:                    Syntactic Analysis.
243 * substatement syntactic symbol:         Syntactic Symbols.
244 * substatement-block-intro syntactic symbol: Syntactic Symbols.
245 * substatement-open syntactic symbol <1>: Syntactic Symbols.
246 * substatement-open syntactic symbol:    Hanging Braces.
247 * syntactic analysis:                    Syntactic Analysis.
248 * syntactic component:                   Syntactic Analysis.
249 * syntactic component list:              Syntactic Analysis.
250 * syntactic symbol:                      Syntactic Analysis.
251 * syntactic symbols:                     Syntactic Symbols.
252 * syntactic whitespace <1>:              Syntactic Symbols.
253 * syntactic whitespace:                  Auto-newline Insertion.
254 * topmost-intro syntactic symbol:        Syntactic Symbols.
255 * topmost-intro-cont syntactic symbol:   Syntactic Symbols.
256 * User style:                            Built-in Styles.
257 * Whitesmith style:                      Built-in Styles.
258
259 
260 File: ccmode,  Node: Command Index,  Next: Key Index,  Prev: Concept Index,  Up: Top
261
262 Command Index
263 *************
264
265    Since most CC Mode commands are prepended with the string `c-', each
266 appears under its `c-<THING>' name and its `<THING> (c-)' name.
267
268 * Menu:
269
270 * add-style (c-):                        Adding Styles.
271 * auto-fill-mode:                        Text Filling and Line Breaking.
272 * backslash-region (c-):                 Other Commands.
273 * backward-conditional (c-):             Movement Commands.
274 * backward-delete-char-untabify:         Hungry-deletion of Whitespace.
275 * backward-into-nomenclature (c-):       Movement Commands.
276 * beginning-of-defun <1>:                Performance Issues.
277 * beginning-of-defun:                    Movement Commands.
278 * beginning-of-defun (c-):               Movement Commands.
279 * beginning-of-statement (c-):           Movement Commands.
280 * c++-mode:                              Introduction.
281 * c-add-style:                           Adding Styles.
282 * c-backslash-region:                    Other Commands.
283 * c-backward-conditional:                Movement Commands.
284 * c-backward-into-nomenclature:          Movement Commands.
285 * c-beginning-of-defun:                  Movement Commands.
286 * c-beginning-of-statement:              Movement Commands.
287 * c-context-line-break:                  Text Filling and Line Breaking.
288 * c-down-conditional:                    Movement Commands.
289 * c-down-conditional-with-else:          Movement Commands.
290 * c-electric-backspace:                  Hungry-deletion of Whitespace.
291 * c-electric-brace:                      Hanging Braces.
292 * c-electric-delete:                     Hungry-deletion of Whitespace.
293 * c-electric-lt-gt:                      Other Electric Commands.
294 * c-electric-paren:                      Other Electric Commands.
295 * c-electric-pound:                      Other Electric Commands.
296 * c-electric-slash:                      Other Electric Commands.
297 * c-electric-star:                       Other Electric Commands.
298 * c-end-of-defun:                        Movement Commands.
299 * c-end-of-statement:                    Movement Commands.
300 * c-fill-paragraph:                      Text Filling and Line Breaking.
301 * c-forward-conditional:                 Movement Commands.
302 * c-forward-into-nomenclature:           Movement Commands.
303 * c-indent-command:                      Indentation Commands.
304 * c-indent-defun:                        Indentation Commands.
305 * c-indent-exp <1>:                      Limitations and Known Bugs.
306 * c-indent-exp:                          Indentation Commands.
307 * c-indent-multi-line-block:             Indentation Functions.
308 * c-indent-new-comment-line:             Text Filling and Line Breaking.
309 * c-indent-one-line-block:               Indentation Functions.
310 * c-lineup-arglist:                      Indentation Functions.
311 * c-lineup-arglist-close-under-paren:    Indentation Functions.
312 * c-lineup-arglist-intro-after-paren:    Indentation Functions.
313 * c-lineup-C-comments:                   Indentation Functions.
314 * c-lineup-close-paren:                  Indentation Functions.
315 * c-lineup-comment:                      Indentation Functions.
316 * c-lineup-dont-change:                  Indentation Functions.
317 * c-lineup-inexpr-block:                 Indentation Functions.
318 * c-lineup-java-inher:                   Indentation Functions.
319 * c-lineup-java-throws:                  Indentation Functions.
320 * c-lineup-math:                         Indentation Functions.
321 * c-lineup-multi-inher:                  Indentation Functions.
322 * c-lineup-ObjC-method-args:             Indentation Functions.
323 * c-lineup-ObjC-method-args-2:           Indentation Functions.
324 * c-lineup-ObjC-method-call:             Indentation Functions.
325 * c-lineup-runin-statements:             Indentation Functions.
326 * c-lineup-streamop <1>:                 Indentation Functions.
327 * c-lineup-streamop:                     Custom Indentation Functions.
328 * c-lineup-template-args:                Indentation Functions.
329 * c-lineup-whitesmith-in-block:          Indentation Functions.
330 * c-mark-function:                       Indentation Commands.
331 * c-mode:                                Introduction.
332 * c-scope-operator:                      Other Commands.
333 * c-semi&comma-inside-parenlist:         Customizing Semi-colons and Commas.
334 * c-semi&comma-no-newlines-before-nonblanks: Customizing Semi-colons and Commas.
335 * c-semi&comma-no-newlines-for-oneline-inliners: Customizing Semi-colons and Commas.
336 * c-set-offset:                          Customizing Indentation.
337 * c-set-style:                           Built-in Styles.
338 * c-setup-filladapt:                     Text Filling and Line Breaking.
339 * c-show-syntactic-information:          Syntactic Analysis.
340 * c-snug-do-while:                       Custom Brace and Colon Hanging.
341 * c-submit-bug-report:                   Mailing Lists and Submitting Bug Reports.
342 * c-toggle-auto-hungry-state:            Minor Modes.
343 * c-toggle-auto-state:                   Minor Modes.
344 * c-toggle-hungry-state:                 Minor Modes.
345 * c-up-conditional:                      Movement Commands.
346 * c-up-conditional-with-else:            Movement Commands.
347 * c-version:                             Getting Connected.
348 * context-line-break (c-):               Text Filling and Line Breaking.
349 * defun-prompt-regexp:                   Performance Issues.
350 * delete-char:                           Hungry-deletion of Whitespace.
351 * down-conditional (c-):                 Movement Commands.
352 * down-conditional-with-else (c-):       Movement Commands.
353 * electric-backspace (c-):               Hungry-deletion of Whitespace.
354 * electric-brace (c-):                   Hanging Braces.
355 * electric-delete (c-):                  Hungry-deletion of Whitespace.
356 * electric-lt-gt (c-):                   Other Electric Commands.
357 * electric-paren (c-):                   Other Electric Commands.
358 * electric-pound (c-):                   Other Electric Commands.
359 * electric-slash (c-):                   Other Electric Commands.
360 * electric-star (c-):                    Other Electric Commands.
361 * end-of-defun:                          Movement Commands.
362 * end-of-defun (c-):                     Movement Commands.
363 * end-of-statement (c-):                 Movement Commands.
364 * fill-paragraph (c-):                   Text Filling and Line Breaking.
365 * filladapt-mode:                        Text Filling and Line Breaking.
366 * forward-conditional (c-):              Movement Commands.
367 * forward-into-nomenclature (c-):        Movement Commands.
368 * idl-mode:                              Introduction.
369 * indent-command (c-):                   Indentation Commands.
370 * indent-defun (c-):                     Indentation Commands.
371 * indent-exp (c-) <1>:                   Limitations and Known Bugs.
372 * indent-exp (c-):                       Indentation Commands.
373 * indent-for-comment:                    Other Special Indentations.
374 * indent-multi-line-block (c-):          Indentation Functions.
375 * indent-new-comment-line (c-):          Text Filling and Line Breaking.
376 * indent-one-line-block (c-):            Indentation Functions.
377 * indent-region:                         Indentation Commands.
378 * java-mode <1>:                         Built-in Styles.
379 * java-mode:                             Introduction.
380 * lineup-arglist (c-):                   Indentation Functions.
381 * lineup-arglist-close-under-paren (c-): Indentation Functions.
382 * lineup-arglist-intro-after-paren (c-): Indentation Functions.
383 * lineup-C-comments (c-):                Indentation Functions.
384 * lineup-close-paren (c-):               Indentation Functions.
385 * lineup-comment (c-):                   Indentation Functions.
386 * lineup-dont-change (c-):               Indentation Functions.
387 * lineup-inexpr-block (c-):              Indentation Functions.
388 * lineup-java-inher (c-):                Indentation Functions.
389 * lineup-java-throws (c-):               Indentation Functions.
390 * lineup-math (c-):                      Indentation Functions.
391 * lineup-multi-inher (c-):               Indentation Functions.
392 * lineup-ObjC-method-args (c-):          Indentation Functions.
393 * lineup-ObjC-method-args-2 (c-):        Indentation Functions.
394 * lineup-ObjC-method-call (c-):          Indentation Functions.
395 * lineup-runin-statements (c-):          Indentation Functions.
396 * lineup-streamop (c-) <1>:              Indentation Functions.
397 * lineup-streamop (c-):                  Custom Indentation Functions.
398 * lineup-template-args (c-):             Indentation Functions.
399 * lineup-whitesmith-in-block (c-):       Indentation Functions.
400 * mark-function (c-):                    Indentation Commands.
401 * objc-mode:                             Introduction.
402 * pike-mode:                             Introduction.
403 * scope-operator (c-):                   Other Commands.
404 * semi&comma-inside-parenlist (c-):      Customizing Semi-colons and Commas.
405 * semi&comma-no-newlines-before-nonblanks (c-): Customizing Semi-colons and Commas.
406 * semi&comma-no-newlines-for-oneline-inliners (c-): Customizing Semi-colons and Commas.
407 * set-offset (c-):                       Customizing Indentation.
408 * set-style (c-):                        Built-in Styles.
409 * setup-filladapt (c-):                  Text Filling and Line Breaking.
410 * show-syntactic-information (c-):       Syntactic Analysis.
411 * snug-do-while (c-):                    Custom Brace and Colon Hanging.
412 * submit-bug-report (c-):                Mailing Lists and Submitting Bug Reports.
413 * tab-to-tab-stop:                       Indentation Commands.
414 * toggle-auto-hungry-state (c-):         Minor Modes.
415 * toggle-auto-state (c-):                Minor Modes.
416 * toggle-hungry-state (c-):              Minor Modes.
417 * up-conditional (c-):                   Movement Commands.
418 * up-conditional-with-else (c-):         Movement Commands.
419 * version (c-):                          Getting Connected.
420
421 
422 File: ccmode,  Node: Key Index,  Next: Variable Index,  Prev: Command Index,  Up: Top
423
424 Key Index
425 *********
426
427 * Menu:
428
429 * #:                                     Other Electric Commands.
430 * (:                                     Other Electric Commands.
431 * ):                                     Other Electric Commands.
432 * <:                                     Other Electric Commands.
433 * >:                                     Other Electric Commands.
434 * Backspace:                             Hungry-deletion of Whitespace.
435 * C-c .:                                 Built-in Styles.
436 * C-c ::                                 Other Commands.
437 * C-c C-\:                               Other Commands.
438 * C-c C-a:                               Minor Modes.
439 * C-c C-b:                               Mailing Lists and Submitting Bug Reports.
440 * C-c C-d:                               Minor Modes.
441 * C-c C-n:                               Movement Commands.
442 * C-c C-o:                               Customizing Indentation.
443 * C-c C-p:                               Movement Commands.
444 * C-c C-q:                               Indentation Commands.
445 * C-c C-s:                               Syntactic Analysis.
446 * C-c C-t:                               Minor Modes.
447 * C-c C-u:                               Movement Commands.
448 * C-j:                                   Frequently Asked Questions.
449 * C-M-\:                                 Frequently Asked Questions.
450 * C-M-q:                                 Frequently Asked Questions.
451 * C-M-u:                                 Frequently Asked Questions.
452 * C-M-x:                                 Frequently Asked Questions.
453 * C-u:                                   Auto-newline Insertion.
454 * C-x h:                                 Frequently Asked Questions.
455 * DEL:                                   Hungry-deletion of Whitespace.
456 * M-;:                                   Other Special Indentations.
457 * M-a:                                   Movement Commands.
458 * M-C-\:                                 Indentation Commands.
459 * M-C-h:                                 Indentation Commands.
460 * M-C-q:                                 Indentation Commands.
461 * M-e:                                   Movement Commands.
462 * M-j:                                   Text Filling and Line Breaking.
463 * M-q:                                   Text Filling and Line Breaking.
464 * RET:                                   Frequently Asked Questions.
465 * TAB:                                   Indentation Commands.
466
467 
468 File: ccmode,  Node: Variable Index,  Prev: Key Index,  Up: Top
469
470 Variable Index
471 **************
472
473    Since most CC Mode variables are prepended with the string `c-',
474 each appears under its `c-<THING>' name and its `<THING> (c-)' name.
475
476 * Menu:
477
478 * adaptive-fill-first-line-regexp:       Text Filling and Line Breaking.
479 * adaptive-fill-mode:                    Text Filling and Line Breaking.
480 * adaptive-fill-regexp:                  Text Filling and Line Breaking.
481 * backslash-column (c-):                 Other Commands.
482 * backspace-function (c-):               Hungry-deletion of Whitespace.
483 * basic-offset (c-):                     Customizing Indentation.
484 * block-comment-prefix (c-):             Text Filling and Line Breaking.
485 * c++-mode-hook:                         Hooks.
486 * c-backslash-column:                    Other Commands.
487 * c-backspace-function:                  Hungry-deletion of Whitespace.
488 * c-basic-offset:                        Customizing Indentation.
489 * c-block-comment-prefix:                Text Filling and Line Breaking.
490 * c-cleanup-list:                        Clean-ups.
491 * c-comment-continuation-stars:          Text Filling and Line Breaking.
492 * c-comment-only-line-offset:            Indentation Functions.
493 * c-comment-prefix-regexp:               Text Filling and Line Breaking.
494 * c-default-style:                       Built-in Styles.
495 * c-delete-function:                     Hungry-deletion of Whitespace.
496 * c-echo-syntactic-information-p:        Indentation Calculation.
497 * c-electric-pound-behavior:             Other Electric Commands.
498 * c-enable-xemacs-performance-kludge-p:  Performance Issues.
499 * c-file-offsets:                        File Styles.
500 * c-file-style:                          File Styles.
501 * c-hanging-braces-alist <1>:            Custom Brace and Colon Hanging.
502 * c-hanging-braces-alist:                Hanging Braces.
503 * c-hanging-colon-alist:                 Custom Brace and Colon Hanging.
504 * c-hanging-colons-alist:                Hanging Colons.
505 * c-hanging-semi&comma-criteria:         Customizing Semi-colons and Commas.
506 * c-ignore-auto-fill:                    Text Filling and Line Breaking.
507 * c-indent-comments-syntactically-p:     Other Special Indentations.
508 * c-indentation-style:                   Built-in Styles.
509 * c-initialization-hook:                 Hooks.
510 * c-insert-tab-function:                 Indentation Commands.
511 * c-Java-defun-prompt-regexp:            Performance Issues.
512 * c-label-minimum-indentation:           Other Special Indentations.
513 * c-mode-common-hook <1>:                Built-in Styles.
514 * c-mode-common-hook:                    Hooks.
515 * c-mode-hook:                           Hooks.
516 * c-offsets-alist <1>:                   Syntactic Symbols.
517 * c-offsets-alist:                       Customizing Indentation.
518 * c-old-style-variable-behavior:         Styles.
519 * c-progress-interval:                   Indentation Commands.
520 * c-recognize-knr-p:                     Performance Issues.
521 * c-special-indent-hook:                 Other Special Indentations.
522 * c-strict-syntax-p:                     Customizing Indentation.
523 * c-style-alist <1>:                     Advanced Customizations.
524 * c-style-alist <2>:                     Adding Styles.
525 * c-style-alist:                         Built-in Styles.
526 * c-style-variables-are-local-p:         Permanent Customization.
527 * c-syntactic-context:                   Custom Brace and Colon Hanging.
528 * c-tab-always-indent:                   Indentation Commands.
529 * cc-lobotomy-pith-list:                 Performance Issues.
530 * cleanup-list (c-):                     Clean-ups.
531 * comment-column:                        Other Special Indentations.
532 * comment-continuation-stars (c-):       Text Filling and Line Breaking.
533 * comment-end:                           Text Filling and Line Breaking.
534 * comment-multi-line:                    Text Filling and Line Breaking.
535 * comment-only-line-offset (c-):         Indentation Functions.
536 * comment-prefix-regexp (c-):            Text Filling and Line Breaking.
537 * comment-start:                         Text Filling and Line Breaking.
538 * comment-start-skip <1>:                Indentation Functions.
539 * comment-start-skip:                    Text Filling and Line Breaking.
540 * default-style (c-):                    Built-in Styles.
541 * delete-function (c-):                  Hungry-deletion of Whitespace.
542 * delete-key-deletes-forward:            Hungry-deletion of Whitespace.
543 * echo-syntactic-information-p (c-):     Indentation Calculation.
544 * electric-pound-behavior (c-):          Other Electric Commands.
545 * enable-xemacs-performance-kludge-p (c-): Performance Issues.
546 * file-offsets (c-):                     File Styles.
547 * file-style (c-):                       File Styles.
548 * filladapt-mode:                        Text Filling and Line Breaking.
549 * hanging-braces-alist (c-) <1>:         Custom Brace and Colon Hanging.
550 * hanging-braces-alist (c-):             Hanging Braces.
551 * hanging-colon-alist (c-):              Custom Brace and Colon Hanging.
552 * hanging-colons-alist (c-):             Hanging Colons.
553 * hanging-semi&comma-criteria (c-):      Customizing Semi-colons and Commas.
554 * idl-mode-hook:                         Hooks.
555 * ignore-auto-fill (c-):                 Text Filling and Line Breaking.
556 * indent-comments-syntactically-p (c-):  Other Special Indentations.
557 * indent-tabs-mode:                      Indentation Commands.
558 * indentation-style (c-):                Built-in Styles.
559 * initialization-hook (c-):              Hooks.
560 * insert-tab-function (c-):              Indentation Commands.
561 * Java-defun-prompt-regexp (c-):         Performance Issues.
562 * java-mode-hook:                        Hooks.
563 * label-minimum-indentation (c-):        Other Special Indentations.
564 * mode-common-hook (c-) <1>:             Built-in Styles.
565 * mode-common-hook (c-):                 Hooks.
566 * objc-mode-hook:                        Hooks.
567 * offsets-alist (c-) <1>:                Syntactic Symbols.
568 * offsets-alist (c-):                    Customizing Indentation.
569 * old-style-variable-behavior (c-):      Styles.
570 * paragraph-ignore-fill-prefix:          Text Filling and Line Breaking.
571 * paragraph-separate:                    Text Filling and Line Breaking.
572 * paragraph-start:                       Text Filling and Line Breaking.
573 * pike-mode-hook:                        Hooks.
574 * progress-interval (c-):                Indentation Commands.
575 * recognize-knr-p (c-):                  Performance Issues.
576 * signal-error-on-buffer-boundary:       Limitations and Known Bugs.
577 * special-indent-hook (c-):              Other Special Indentations.
578 * strict-syntax-p (c-):                  Customizing Indentation.
579 * style-alist (c-) <1>:                  Advanced Customizations.
580 * style-alist (c-) <2>:                  Adding Styles.
581 * style-alist (c-):                      Built-in Styles.
582 * style-variables-are-local-p (c-):      Permanent Customization.
583 * syntactic-context (c-):                Custom Brace and Colon Hanging.
584 * tab-always-indent (c-):                Indentation Commands.
585
586
Note: See TracBrowser for help on using the browser.