Processing cc-mode.texi with makeinfo generates two warnings, one about
a missing '.' or ',' after an @xref (with a way wrong line number, must
be a makeinfo bug), the other about @strong{Note:} generating a spurious
cross-reference. This patch fixes both. The first fix looks slightly
peculiar, but is correct because the reference is the last item in a
footnote, so should be followed by a period.
xemacs-packages/cc-mode/ChangeLog addition:
2005-02-11 Jerry James <james(a)xemacs.org>
* cc-mode.texi (Text Filling and Line Breaking): Put a . after an
@xref.
* cc-mode.texi (Font Locking): Use warning instead of note to
avoid creating a cross-reference.
packages source patch:
Diff command: cvs -q diff -uN
Files affected: xemacs-packages/cc-mode/cc-mode.texi
Index: xemacs-packages/cc-mode/cc-mode.texi
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/xemacs-packages/cc-mode/cc-mode.texi,v
retrieving revision 1.13
diff -d -u -r1.13 cc-mode.texi
--- xemacs-packages/cc-mode/cc-mode.texi 2004/08/11 16:30:15 1.13
+++ xemacs-packages/cc-mode/cc-mode.texi 2005/02/11 20:19:56
@@ -1397,7 +1397,7 @@
@code{c-block-comment-prefix} typically gets overriden by the default
style @code{gnu}, which sets it to blank. You can see the line
splitting effect described here by setting a different style,
-e.g. @code{k&r} @xref{Choosing a Style}}, which makes a comment
+e.g. @code{k&r} @xref{Choosing a Style}.}, which makes a comment
@example
/* Got O(n^2) here, which is a Bad Thing. */
@@ -1620,7 +1620,7 @@
@cindex font locking
@comment !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-@strong{Note:} The font locking in AWK mode is currently not integrated
+@strong{Warning:} The font locking in AWK mode is currently not integrated
with the rest of @ccmode{}, so this section does not apply there.
@xref{AWK Mode Font Locking}, instead.
--
Jerry James
http://www.ittc.ku.edu/~james/