[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/man/cc-mode.texi
From: |
Kim F . Storm |
Subject: |
[Emacs-diffs] Changes to emacs/man/cc-mode.texi |
Date: |
Wed, 09 Feb 2005 10:53:01 -0500 |
Index: emacs/man/cc-mode.texi
diff -c emacs/man/cc-mode.texi:1.26 emacs/man/cc-mode.texi:1.27
*** emacs/man/cc-mode.texi:1.26 Fri Dec 17 23:52:19 2004
--- emacs/man/cc-mode.texi Wed Feb 9 15:50:35 2005
***************
*** 41,47 ****
@comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! @comment
@comment Texinfo manual for CC Mode
@comment Generated from the original README file by Krishna Padmasola
@comment <address@hidden>
--- 41,47 ----
@comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! @comment
@comment Texinfo manual for CC Mode
@comment Generated from the original README file by Krishna Padmasola
@comment <address@hidden>
***************
*** 51,57 ****
@comment Martin Stjernholm
@comment
@comment Maintained by Martin Stjernholm <address@hidden>
! @comment
@comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@comment Define an index for syntactic symbols.
--- 51,57 ----
@comment Martin Stjernholm
@comment
@comment Maintained by Martin Stjernholm <address@hidden>
! @comment
@comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@comment Define an index for syntactic symbols.
***************
*** 1951,1959 ****
@comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
The following list of commands reindent C constructs. Note that when
! you change your coding style, either interactively or through some other
means, your file does @emph{not} automatically get reindented. You
! will need to execute one of the following commands to see the effects of
your changes.
@cindex GNU indent program
--- 1951,1959 ----
@comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
The following list of commands reindent C constructs. Note that when
! you change your coding style, either interactively or through some other
means, your file does @emph{not} automatically get reindented. You
! will need to execute one of the following commands to see the effects of
your changes.
@cindex GNU indent program
***************
*** 2865,2873 ****
If @samp{other} is not found then the @samp{gnu} style is used.
@item
! In all cases, the style described in @code{c-default-style} is installed
@emph{before} the language hooks are run, so you can always override
! this setting by including an explicit call to @code{c-set-style} in your
language mode hook, or in @code{c-mode-common-hook}.
@end enumerate
@end defopt
--- 2865,2873 ----
If @samp{other} is not found then the @samp{gnu} style is used.
@item
! In all cases, the style described in @code{c-default-style} is installed
@emph{before} the language hooks are run, so you can always override
! this setting by including an explicit call to @code{c-set-style} in your
language mode hook, or in @code{c-mode-common-hook}.
@end enumerate
@end defopt
***************
*** 3051,3057 ****
like @ccmode{} to be a little more intelligent so that it aligns
all the @samp{<<} symbols in lines 3 through 6. To do this, we have
to write a custom indentation function which finds the column of the first
! stream operator on the first line of the statement. Here is sample
lisp code implementing this:
@example
--- 3051,3057 ----
like @ccmode{} to be a little more intelligent so that it aligns
all the @samp{<<} symbols in lines 3 through 6. To do this, we have
to write a custom indentation function which finds the column of the first
! stream operator on the first line of the statement. Here is sample
lisp code implementing this:
@example
***************
*** 3878,3896 ****
@example
1: void a_function( int line1,
2: int line2 );
! 3:
4: void a_longer_function(
5: int line1,
6: int line2
7: );
! 8:
9: void call_them( int line1, int line2 )
10: @{
11: a_function(
12: line1,
13: line2
14: );
! 15:
16: a_longer_function( line1,
17: line2 );
18: @}
--- 3878,3896 ----
@example
1: void a_function( int line1,
2: int line2 );
! 3:
4: void a_longer_function(
5: int line1,
6: int line2
7: );
! 8:
9: void call_them( int line1, int line2 )
10: @{
11: a_function(
12: line1,
13: line2
14: );
! 15:
16: a_longer_function( line1,
17: line2 );
18: @}
***************
*** 3927,3936 ****
3: @{
4: /* this line starts a multiline
5: * comment. This line should get `c' syntax */
! 6:
7: char* a_multiline_string = "This line starts a multiline \
8: string. This line should get `string' syntax.";
! 9:
10: note:
11: @{
12: #ifdef LOCK
--- 3927,3936 ----
3: @{
4: /* this line starts a multiline
5: * comment. This line should get `c' syntax */
! 6:
7: char* a_multiline_string = "This line starts a multiline \
8: string. This line should get `string' syntax.";
! 9:
10: note:
11: @{
12: #ifdef LOCK
***************
*** 4243,4249 ****
@example
@group
int *foo[] = @{
! NULL,
@address@hidden, @hereFn{c-indent-multi-line-block}
@end group
@end example
--- 4243,4249 ----
@example
@group
int *foo[] = @{
! NULL,
@address@hidden, @hereFn{c-indent-multi-line-block}
@end group
@end example
***************
*** 4474,4480 ****
@example
@group
main (int,
! char **
) @hereFn{c-lineup-close-paren}
@end group
@end example
--- 4474,4480 ----
@example
@group
main (int,
! char **
) @hereFn{c-lineup-close-paren}
@end group
@end example
***************
*** 4684,4690 ****
@example
@group
class Foo
! extends
Bar @hereFn{c-lineup-java-inher}
@sssTBasicOffset{}
@end group
--- 4684,4690 ----
@example
@group
class Foo
! extends
Bar @hereFn{c-lineup-java-inher}
@sssTBasicOffset{}
@end group
***************
*** 5548,5554 ****
(@xref{Defuns,,, emacs, The Emacs Editor}, in the Emacs 20 manual).
This heuristic is built into the core syntax analysis routines in
! (X)Emacs, so it's not really a @ccmode{} issue. However, in Emacs 21.4
it has become possible to turn it address@hidden the variable
@code{open-paren-in-column-0-is-defun-start}.} and @ccmode{} does so
there since it got its own system to keep track of blocks.
--- 5548,5554 ----
(@xref{Defuns,,, emacs, The Emacs Editor}, in the Emacs 20 manual).
This heuristic is built into the core syntax analysis routines in
! (X)Emacs, so it's not really a @ccmode{} issue. However, in Emacs 22.1
it has become possible to turn it address@hidden the variable
@code{open-paren-in-column-0-is-defun-start}.} and @ccmode{} does so
there since it got its own system to keep track of blocks.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/man/cc-mode.texi,
Kim F . Storm <=