diff options
| author | Gerd Moellmann | 2001-03-21 13:35:54 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-03-21 13:35:54 +0000 |
| commit | 94cae5a851f0cac47718526e98ed46c1ff40c94b (patch) | |
| tree | c032190077ec7ba6f0121378fe8fca3ee134f92a | |
| parent | cb7f2e96771602fb73af13fbbcaec9d0063a3ba5 (diff) | |
| download | emacs-94cae5a851f0cac47718526e98ed46c1ff40c94b.tar.gz emacs-94cae5a851f0cac47718526e98ed46c1ff40c94b.zip | |
Version merged with the one from CC mode 5.28.
| -rw-r--r-- | man/cc-mode.texi | 54 |
1 files changed, 45 insertions, 9 deletions
diff --git a/man/cc-mode.texi b/man/cc-mode.texi index b61c9a09580..bb730cf6cd2 100644 --- a/man/cc-mode.texi +++ b/man/cc-mode.texi | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | @comment No overfull hbox marks in the dvi file. | 7 | @comment No overfull hbox marks in the dvi file. |
| 8 | @finalout | 8 | @finalout |
| 9 | 9 | ||
| 10 | @setfilename cc-mode.info | 10 | @setfilename ../info/ccmode |
| 11 | @settitle CC Mode Manual | 11 | @settitle CC Mode Manual |
| 12 | @footnotestyle end | 12 | @footnotestyle end |
| 13 | 13 | ||
| @@ -39,7 +39,7 @@ Copyright @copyright{} 1995, 96, 97, 98, 99, 2000, 01 Free Software Foundation, | |||
| 39 | @comment here is by request from the FSF folks. | 39 | @comment here is by request from the FSF folks. |
| 40 | @dircategory Emacs | 40 | @dircategory Emacs |
| 41 | @direntry | 41 | @direntry |
| 42 | * CC Mode: (cc-mode). Emacs mode for editing C, C++, Objective-C, | 42 | * CC Mode: (ccmode). Emacs mode for editing C, C++, Objective-C, |
| 43 | Java, Pike, and IDL code. | 43 | Java, Pike, and IDL code. |
| 44 | @end direntry | 44 | @end direntry |
| 45 | 45 | ||
| @@ -49,7 +49,25 @@ Copyright @copyright{} 1995, 96, 97, 98, 99, 2000, 01 Free Software Foundation, | |||
| 49 | @comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | 49 | @comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| 50 | 50 | ||
| 51 | @ifnottex | 51 | @ifnottex |
| 52 | @copyrightblurb | 52 | Copyright @copyright{} 1995, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc. |
| 53 | |||
| 54 | Permission is granted to copy, distribute and/or modify this document | ||
| 55 | under the terms of the GNU Free Documentation License, Version 1.1 or | ||
| 56 | any later version published by the Free Software Foundation; with the | ||
| 57 | Invariant Sections being ``The GNU Manifesto'', ``Distribution'' and | ||
| 58 | ``GNU GENERAL PUBLIC LICENSE'', with the Front-Cover texts being ``A GNU | ||
| 59 | Manual'', and with the Back-Cover Texts as in (a) below. A copy of the | ||
| 60 | license is included in the section entitled ``GNU Free Documentation | ||
| 61 | License'' in the Emacs manual. | ||
| 62 | |||
| 63 | (a) The FSF's Back-Cover Text is: ``You have freedom to copy and modify | ||
| 64 | this GNU Manual, like GNU software. Copies published by the Free | ||
| 65 | Software Foundation raise funds for GNU development.'' | ||
| 66 | |||
| 67 | This document is part of a collection distributed under the GNU Free | ||
| 68 | Documentation License. If you want to distribute this document | ||
| 69 | separately from the collection, you can do so by adding a copy of the | ||
| 70 | license to the document, as described in section 6 of the license. | ||
| 53 | @end ifnottex | 71 | @end ifnottex |
| 54 | 72 | ||
| 55 | @comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | 73 | @comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| @@ -67,7 +85,25 @@ Copyright @copyright{} 1995, 96, 97, 98, 99, 2000, 01 Free Software Foundation, | |||
| 67 | 85 | ||
| 68 | @page | 86 | @page |
| 69 | @vskip 0pt plus 1filll | 87 | @vskip 0pt plus 1filll |
| 70 | @copyrightblurb | 88 | Copyright @copyright{} 1995, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc. |
| 89 | @sp 1 | ||
| 90 | Permission is granted to copy, distribute and/or modify this document | ||
| 91 | under the terms of the GNU Free Documentation License, Version 1.1 or | ||
| 92 | any later version published by the Free Software Foundation; with the | ||
| 93 | Invariant Sections being ``The GNU Manifesto'', ``Distribution'' and | ||
| 94 | ``GNU GENERAL PUBLIC LICENSE'', with the Front-Cover texts being ``A GNU | ||
| 95 | Manual'', and with the Back-Cover Texts as in (a) below. A copy of the | ||
| 96 | license is included in the section entitled ``GNU Free Documentation | ||
| 97 | License'' in the Emacs manual. | ||
| 98 | |||
| 99 | (a) The FSF's Back-Cover Text is: ``You have freedom to copy and modify | ||
| 100 | this GNU Manual, like GNU software. Copies published by the Free | ||
| 101 | Software Foundation raise funds for GNU development.'' | ||
| 102 | |||
| 103 | This document is part of a collection distributed under the GNU Free | ||
| 104 | Documentation License. If you want to distribute this document | ||
| 105 | separately from the collection, you can do so by adding a copy of the | ||
| 106 | license to the document, as described in section 6 of the license. | ||
| 71 | @end titlepage | 107 | @end titlepage |
| 72 | 108 | ||
| 73 | @comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | 109 | @comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| @@ -223,7 +259,7 @@ How to customize the new indentation engine. | |||
| 223 | @findex java-mode | 259 | @findex java-mode |
| 224 | @findex idl-mode | 260 | @findex idl-mode |
| 225 | @findex pike-mode | 261 | @findex pike-mode |
| 226 | Note that the name of this package is ``@ccmode{}'', but there is no top | 262 | Note that the name of this package is ``@ccmode{},'' but there is no top |
| 227 | level @code{cc-mode} entry point. All of the variables, commands, and | 263 | level @code{cc-mode} entry point. All of the variables, commands, and |
| 228 | functions in @ccmode{} are prefixed with @code{c-@var{<thing>}}, and | 264 | functions in @ccmode{} are prefixed with @code{c-@var{<thing>}}, and |
| 229 | @code{c-mode}, @code{c++-mode}, @code{objc-mode}, @code{java-mode}, | 265 | @code{c-mode}, @code{c++-mode}, @code{objc-mode}, @code{java-mode}, |
| @@ -918,7 +954,7 @@ automatically. | |||
| 918 | @dfn{Clean-ups} are mechanisms complementary to colon and brace hanging. | 954 | @dfn{Clean-ups} are mechanisms complementary to colon and brace hanging. |
| 919 | On the surface, it would seem that clean-ups overlap the functionality | 955 | On the surface, it would seem that clean-ups overlap the functionality |
| 920 | provided by the @code{c-hanging-*-alist} variables. Clean-ups are | 956 | provided by the @code{c-hanging-*-alist} variables. Clean-ups are |
| 921 | however used to adjust code ``after-the-fact'', i.e. to adjust the | 957 | however used to adjust code ``after-the-fact,'' i.e. to adjust the |
| 922 | whitespace in constructs after they are typed. | 958 | whitespace in constructs after they are typed. |
| 923 | 959 | ||
| 924 | Most of the clean-ups are only applicable to counteract automatically | 960 | Most of the clean-ups are only applicable to counteract automatically |
| @@ -1131,7 +1167,7 @@ hungry-delete in @strong{all} your editing modes! | |||
| 1131 | In a nutshell, when hungry-delete mode is enabled, hitting the | 1167 | In a nutshell, when hungry-delete mode is enabled, hitting the |
| 1132 | @key{Backspace} key@footnote{I say ``hit the @key{Backspace} key'' but | 1168 | @key{Backspace} key@footnote{I say ``hit the @key{Backspace} key'' but |
| 1133 | what I really mean is ``when Emacs receives the @code{BackSpace} key | 1169 | what I really mean is ``when Emacs receives the @code{BackSpace} key |
| 1134 | event''. The difference usually isn't significant to most users, but | 1170 | event.'' The difference usually isn't significant to most users, but |
| 1135 | advanced users will realize that under window systems such as X, any | 1171 | advanced users will realize that under window systems such as X, any |
| 1136 | physical key (keycap) on the keyboard can be configured to generate any | 1172 | physical key (keycap) on the keyboard can be configured to generate any |
| 1137 | keysym, and thus any Emacs key event. Also, the use of Emacs on TTYs | 1173 | keysym, and thus any Emacs key event. Also, the use of Emacs on TTYs |
| @@ -2277,14 +2313,14 @@ Whitesmiths C, an early commercial C compiler. | |||
| 2277 | @cindex Ellemtel style | 2313 | @cindex Ellemtel style |
| 2278 | @item | 2314 | @item |
| 2279 | @code{ellemtel} --- Popular C++ coding standards as defined by | 2315 | @code{ellemtel} --- Popular C++ coding standards as defined by |
| 2280 | ``Programming in C++, Rules and Recommendations'', Erik Nyquist and Mats | 2316 | ``Programming in C++, Rules and Recommendations,'' Erik Nyquist and Mats |
| 2281 | Henricson, Ellemtel@footnote{This document is available at | 2317 | Henricson, Ellemtel@footnote{This document is available at |
| 2282 | @uref{http://www.doc.ic.ac.uk/lab/cplus/c++.rules/} among other | 2318 | @uref{http://www.doc.ic.ac.uk/lab/cplus/c++.rules/} among other |
| 2283 | places.}. | 2319 | places.}. |
| 2284 | 2320 | ||
| 2285 | @cindex Linux style | 2321 | @cindex Linux style |
| 2286 | @item | 2322 | @item |
| 2287 | @code{linux} --- C coding standard for Linux development. | 2323 | @code{linux} --- C coding standard for Linux (the kernel). |
| 2288 | 2324 | ||
| 2289 | @cindex Python style | 2325 | @cindex Python style |
| 2290 | @item | 2326 | @item |