1. xemacs
  2. cc-mode


cc-mode /

Filename Size Date modified Message
54 B
1019 B
15.1 KB
1.4 KB
1.3 KB
4.0 KB
16.7 KB
62.8 KB
5.2 KB
7.3 KB
81.7 KB
3.7 KB
22.8 KB
7.2 KB
2.1 KB
14.1 KB
3.7 KB
15.3 KB
140.3 KB
26.4 KB
19.9 KB
390 B
README for CC Mode 5.25
Current maintainers: Barry A. Warsaw and Martin Stjernholm
Contact address    : bug-cc-mode@gnu.org (or cc-mode-help@python.org)


    The canonical Web location for all knowledge CC Mode is:


    Please read the cc-mode.texi manual for details on using CC Mode.
    This is available on-line from:


    As of this writing (23-Oct-1998), CC Mode version 5 currently
    works out of the box with XEmacs versions 19.15, 19.16, 20.3,
    20.4, and 21.0, and with Emacs versions 19.34, 20.2, 20.3.


    NOTE: Since there are now multiple maintainers of CC Mode, you
    MUST address all correspondence to bug-cc-mode@gnu.org (or
    cc-mode-help@python.org, is address is being phased out).

    Check out the CC Mode Web site for the latest information,
    updates, tips, installation and compatibility notes, etc. on using
    CC Mode.  The installation instructions given below are an excerpt
    of the on-line instructions.  If you have problems installing CC
    Mode, please check out the URL above before submitting a bug
    report.  Thanks!

    The MANIFEST file contains a description of all the files you
    should have gotten with this distribution.


    Preformatted versions of the manual in DVI, PostScript, and Info,
    are all available at the CC Mode Web page.

    To build the manual yourself, you will need the latest Texinfo
    release (as of this writing, Texinfo 3.11).  Specifically, you
    must make sure that your are using at least version 2.185 of the
    texinfo.tex file.  To build the Info manual, simply type:

        % makeinfo cc-mode.texi

    To make the DVI version, simply type:

        % texi2dvi cc-mode.texi

    Note that I've heard of other package releases that purport to
    include a texinfo.tex file newer than 2.185, but these don't
    support the @macro{} command.  If you have problems building the
    manuals, pick up a pre-built version.


    Here is a quick guide for installing CC Mode.  For the latest
    information on installing CC Mode, including compatibility notes
    for the various flavors of Emacs, please see the CC Mode Web site
    given above.

  Setting load-path

    You need to make sure that this new version of CC Mode is on your
    load-path, before any version that is distributed with your
    X/Emacs.  Note that the CC Mode distribution unpacks into its own
    subdirectory.  You can use this test to see which version of CC
    Mode your X/Emacs finds first:

        M-x locate-library RET cc-mode RET
    Make sure this finds the one you expect.  If not, you can add this
    to your .emacs file:

        (setq load-path (cons "/dir/of/cc-mode/" load-path))
    The path you use should be an absolute path (starting with a
    slash).  You cannot use a path beginning with "~" in the load-path

  Byte Compiling

    It is highly recommended that you byte-compile CC Mode, for both
    performance and compatibility reasons.  Running CC Mode
    un-bytecompiled is not supported and may not work at all depending
    on the flavor of X/Emacs you are using.

    You can byte compile CC Mode by doing the following from your

        % cd /path/to/cc-mode
        % $(EMACS) -batch -no-site-file -q -l cc-make.el cc-*.el

    where $(EMACS) is either emacs or xemacs depending on the flavor
    you use.

    You can safely ignore any byte compiler warnings; they are due to
    the cross X/Emacsen support.

    Be sure to see the list of compatibility issues (in the CC Mode
    canonical Web pages -- see above), for special notes about X/Emacs
    versions and package interactions.

    To test that you have things set up correctly, visit a C file and
    then type:

        M-x c-version RET
        => Using CC Mode version 5.XX

    where XX is the correct minor revision number.