File: cc-mode.el.html

NOTE: Read the commentary below for the right way to submit bug reports! NOTE: See the accompanying texinfo manual for details on using this mode! Note: The version string is in cc-defs.

This package provides GNU Emacs major modes for editing C, C++, Objective-C, Java, CORBA's IDL, Pike and AWK code. As of the latest Emacs and XEmacs releases, it is the default package for editing these languages. This package is called "CC Mode", and should be spelled exactly this way.

CC Mode supports K&R and ANSI C, ANSI C++, Objective-C, Java, CORBA's IDL, Pike and AWK with a consistent indentation model across all modes. This indentation model is intuitive and very flexible, so that almost any desired style of indentation can be supported. Installation, usage, and programming details are contained in an accompanying texinfo manual.

CC Mode's immediate ancestors were, c++-mode.el, cplus-md.el, and cplus-md1.el..

To submit bug reports, type "C-c C-b". These will be sent to bug-gnu-emacs@gnu.org (mirrored as the Usenet newsgroup gnu.emacs.bug) as well as bug-cc-mode@gnu.org, which directly contacts the CC Mode maintainers. Questions can sent to help-gnu-emacs@gnu.org (mirrored as gnu.emacs.help) and/or bug-cc-mode@gnu.org. Please do not send bugs or questions to our personal accounts; we reserve the right to ignore such email!

Many, many thanks go out to all the folks on the beta test list. Without their patience, testing, insight, code contributions, and encouragement CC Mode would be a far inferior package.

You can get the latest version of CC Mode, including PostScript documentation and separate individual files from:

    https://www.nongnu.org/cc-mode/

You can join a moderated CC Mode announcement-only mailing list by visiting

   https://lists.sourceforge.net/mailman/listinfo/cc-mode-announce

Externally maintained major modes which use CC-mode's engine include:
- cuda-mode
- csharp-mode (https://github.com/josteink/csharp-mode)
- haxe-mode
- d-mode
- dart-mode
- cc-php-js-cs.el
- php-mode
- yang-mode
- math-mode (mathematica)
- unrealscript-mode
- groovy-mode

Defined variables (42)

awk-mode-abbrev-tableAbbrev table for ‘awk-mode’.
awk-mode-hookHook called by ‘awk-mode’.
awk-mode-mapKeymap used in ‘awk-mode’ buffers.
c++-mode-abbrev-tableAbbrev table for ‘c++-mode’.
c++-mode-hookHook called by ‘c++-mode’.
c++-mode-mapKeymap used in c++-mode buffers.
c++-mode-syntax-tableSyntax table used in c++-mode buffers.
c-awk-menuAWK Mode Commands.
c-c++-menuC++ Mode Commands.
c-c-menuC Mode Commands.
c-idl-menuIDL Mode Commands.
c-java-menuJava Mode Commands.
c-maybe-quoted-numberRegexp matching a numeric literal, including with digit separators.
c-maybe-quoted-number-headRegexp matching the head of a numeric literal, including with digit separators.
c-maybe-quoted-number-tailRegexp matching the tail of a numeric literal, including with digit separators.
c-mode-abbrev-tableAbbrev table for ‘c-mode’.
c-mode-base-mapKeymap shared by all CC Mode related modes.
c-mode-bug-packageThe package to use in the bug submission.
c-mode-help-addressAddress(es) for CC Mode bug reports.
c-mode-hookHook called by ‘c-mode’.
c-mode-mapKeymap used in ‘c-mode’ buffers.
c-mode-syntax-tableSyntax table used in ‘c-mode’ buffers.
c-objc-menuObjC Mode Commands.
c-open-string-openerThe position of the opening delimiter of an unterminated string or nil.
c-or-c++-mode--regexpA regexp applied to C header files to check if they are really C++.
c-pike-menuPike Mode Commands.
idl-mode-abbrev-tableAbbrev table for ‘idl-mode’.
idl-mode-hookHook called by ‘idl-mode’.
idl-mode-mapKeymap used in ‘idl-mode’ buffers.
idl-mode-syntax-tableSyntax table used in ‘idl-mode’ buffers.
java-mode-abbrev-tableAbbrev table for ‘java-mode’.
java-mode-hookHook called by ‘java-mode’.
java-mode-mapKeymap used in ‘java-mode’ buffers.
java-mode-syntax-tableSyntax table used in ‘java-mode’ buffers.
objc-mode-abbrev-tableAbbrev table for ‘objc-mode’.
objc-mode-hookHook called by ‘objc-mode’.
objc-mode-mapKeymap used in ‘objc-mode’ buffers.
objc-mode-syntax-tableSyntax table used in ‘objc-mode’ buffers.
pike-mode-abbrev-tableAbbrev table for ‘pike-mode’.
pike-mode-hookHook called by ‘pike-mode’.
pike-mode-mapKeymap used in ‘pike-mode’ buffers.
pike-mode-syntax-tableSyntax table used in ‘pike-mode’ buffers.

Defined functions (70)

awk-mode()
c++-mode()
c-advise-fl-for-region(FUNCTION)
c-after-change(BEG END OLD-LEN)
c-after-change-de-typedef(BEG END OLD-LEN)
c-after-change-escape-NL-in-string(BEG END OLD_LEN)
c-after-change-fix-comment-escapes(BEG END OLD-LEN)
c-after-change-include-<>(BEG END OLD-LEN)
c-after-change-mark-abnormal-strings(BEG END OLD-LEN)
c-awk-menu(ARG1)
c-basic-common-init(MODE DEFAULT-STYLE)
c-before-change(BEG END)
c-before-change-check-unbalanced-strings(BEG END)
c-before-change-de-typedef(BEG END)
c-before-change-fix-comment-escapes(BEG END)
c-before-change-include-<>(BEG END)
c-before-context-fl-expand-region(BEG END)
c-before-hack-hook()
c-c++-menu(ARG1)
c-c-menu(ARG1)
c-change-expand-fl-region(BEG END OLD-LEN)
c-clear-syn-tab(POS)
c-common-init(&optional MODE)
c-context-expand-fl-region(BEG END)
c-count-cfss(LV-ALIST)
c-define-abbrev-table(NAME DEFS &optional DOC)
c-depropertize-CPP(BEG END)
c-depropertize-new-text(BEG END OLD-LEN)
c-doc-fl-decl-end(POS)
c-doc-fl-decl-start(POS)
c-electric-pair-inhibit-predicate(CHAR)
c-extend-after-change-region(BEG END OLD-LEN)
c-extend-font-lock-region-for-macros(BEGG ENDD OLD-LEN)
c-extend-region-for-CPP(BEG END)
c-fl-decl-end(POS)
c-fl-decl-start(POS)
c-font-lock-fontify-region(BEG END &optional VERBOSE)
c-font-lock-init()
c-idl-menu(ARG1)
c-init-language-vars-for(MODE)
c-initialize-cc-mode(&optional NEW-STYLE-INIT)
c-java-menu(ARG1)
c-locate-first-punctuation-prop(BEG)
c-mode()
c-mode-menu(MODESTR)
c-multiline-string-start-is-being-detached(END)
c-neutralize-CPP-line(BEG END)
c-neutralize-syntax-in-CPP(BEGG ENDD OLD-LEN)
c-objc-menu(ARG1)
c-or-c++-mode()
c-parse-quotes-after-change(BEG END OLD-LEN)
c-parse-quotes-before-change(BEG END)
c-pike-menu(ARG1)
c-populate-syntax-table(ARG1)
c-postprocess-file-styles()
c-pps-to-string-delim(END)
c-put-syn-tab(POS VALUE)
c-remove-string-fences(&optional HERE)
c-run-mode-hooks(&rest HOOKS)
c-setup-doc-comment-style()
c-submit-bug-report()
c-unescaped-nls-in-string-p(&optional QUOTE-POS)
c-unfind-coalesced-tokens(BEG END)
c-unfind-enclosing-token(POS)
c-update-new-id(END)
c-version()
idl-mode()
java-mode()
objc-mode()
pike-mode()

Defined faces (0)