aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2001-03-21 13:35:54 +0000
committerGerd Moellmann2001-03-21 13:35:54 +0000
commit94cae5a851f0cac47718526e98ed46c1ff40c94b (patch)
treec032190077ec7ba6f0121378fe8fca3ee134f92a
parentcb7f2e96771602fb73af13fbbcaec9d0063a3ba5 (diff)
downloademacs-94cae5a851f0cac47718526e98ed46c1ff40c94b.tar.gz
emacs-94cae5a851f0cac47718526e98ed46c1ff40c94b.zip
Version merged with the one from CC mode 5.28.
-rw-r--r--man/cc-mode.texi54
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 52Copyright @copyright{} 1995, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc.
53
54Permission is granted to copy, distribute and/or modify this document
55under the terms of the GNU Free Documentation License, Version 1.1 or
56any later version published by the Free Software Foundation; with the
57Invariant Sections being ``The GNU Manifesto'', ``Distribution'' and
58``GNU GENERAL PUBLIC LICENSE'', with the Front-Cover texts being ``A GNU
59Manual'', and with the Back-Cover Texts as in (a) below. A copy of the
60license is included in the section entitled ``GNU Free Documentation
61License'' in the Emacs manual.
62
63(a) The FSF's Back-Cover Text is: ``You have freedom to copy and modify
64this GNU Manual, like GNU software. Copies published by the Free
65Software Foundation raise funds for GNU development.''
66
67This document is part of a collection distributed under the GNU Free
68Documentation License. If you want to distribute this document
69separately from the collection, you can do so by adding a copy of the
70license 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 88Copyright @copyright{} 1995, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc.
89@sp 1
90Permission is granted to copy, distribute and/or modify this document
91under the terms of the GNU Free Documentation License, Version 1.1 or
92any later version published by the Free Software Foundation; with the
93Invariant Sections being ``The GNU Manifesto'', ``Distribution'' and
94``GNU GENERAL PUBLIC LICENSE'', with the Front-Cover texts being ``A GNU
95Manual'', and with the Back-Cover Texts as in (a) below. A copy of the
96license is included in the section entitled ``GNU Free Documentation
97License'' in the Emacs manual.
98
99(a) The FSF's Back-Cover Text is: ``You have freedom to copy and modify
100this GNU Manual, like GNU software. Copies published by the Free
101Software Foundation raise funds for GNU development.''
102
103This document is part of a collection distributed under the GNU Free
104Documentation License. If you want to distribute this document
105separately from the collection, you can do so by adding a copy of the
106license 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
226Note that the name of this package is ``@ccmode{}'', but there is no top 262Note that the name of this package is ``@ccmode{},'' but there is no top
227level @code{cc-mode} entry point. All of the variables, commands, and 263level @code{cc-mode} entry point. All of the variables, commands, and
228functions in @ccmode{} are prefixed with @code{c-@var{<thing>}}, and 264functions 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.
919On the surface, it would seem that clean-ups overlap the functionality 955On the surface, it would seem that clean-ups overlap the functionality
920provided by the @code{c-hanging-*-alist} variables. Clean-ups are 956provided by the @code{c-hanging-*-alist} variables. Clean-ups are
921however used to adjust code ``after-the-fact'', i.e. to adjust the 957however used to adjust code ``after-the-fact,'' i.e. to adjust the
922whitespace in constructs after they are typed. 958whitespace in constructs after they are typed.
923 959
924Most of the clean-ups are only applicable to counteract automatically 960Most of the clean-ups are only applicable to counteract automatically
@@ -1131,7 +1167,7 @@ hungry-delete in @strong{all} your editing modes!
1131In a nutshell, when hungry-delete mode is enabled, hitting the 1167In 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
1133what I really mean is ``when Emacs receives the @code{BackSpace} key 1169what I really mean is ``when Emacs receives the @code{BackSpace} key
1134event''. The difference usually isn't significant to most users, but 1170event.'' The difference usually isn't significant to most users, but
1135advanced users will realize that under window systems such as X, any 1171advanced users will realize that under window systems such as X, any
1136physical key (keycap) on the keyboard can be configured to generate any 1172physical key (keycap) on the keyboard can be configured to generate any
1137keysym, and thus any Emacs key event. Also, the use of Emacs on TTYs 1173keysym, 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
2281Henricson, Ellemtel@footnote{This document is available at 2317Henricson, 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
2283places.}. 2319places.}.
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