CC Mode Changes for CC Mode 5.34

Index
Download
Manual (html)
Manual (info/PS/DVI)
Recent changes
Installation
Compatibility
Mailing lists
Mercurial Repository
Browse hg Repository
Savannah project page

Version History

Changes for 5.35
Changes for 5.34
Changes for 5.33
Changes for 5.32
Changes for 5.31
Changes for 5.30
Changes for 5.29
Changes for 5.28
Changes for 5.27
Changes for 5.26
Changes for 5.25
Changes for 5.24
Changes for 5.21
Changes for 5.20
Changes for 5.19
Changes for 5.18
Changes for 5.17
Changes for 5.16
Changes for 5.15
Changes for 5.14
Changes from v4 to v5
                                     

See also the user visible changes for 5.33.

Download this CC Mode version.

This version contains a few mainly minor new features, significant internal improvements and many bug fixes.

  • Emacs 23 is no longer supported, although CC Mode might well still work with it.
    The minimum versions supported are Emacs 24.5 and the latest version of XEmacs 21.5.
    Please note that due to the cessation of active development of XEmacs, CC Mode 5.34 might well be the last version to support XEmacs at all.

  • The now redundant file cc-fix.el has been removed.

  • It is intended that C++14 is fully supported. In particular, C++ digit separators work. Some features of C++17 are also supported.

  • There are two new command bindings:
    • c-toggle-comment-style, bound by default to C-c C-k, switches the default comment style (i.e., that inserted by M-;) between block comments and line comments.
    • c-display-defun-name is now bound by default to C-c C-z.

  • Emacs's electric-pair-mode should now work together with CC Mode.

  • Modes derived from CC Mode can now use single quotes to delimit strings. To activate this, set the lang-const `c-single-quotes-quote-strings' for the derived mode in cc-langs.el.

  • The new "mode" c-or-c++-mode selects either C Mode or C++ Mode for .h files, depending on their contents. To disable this, add an entry for .h to auto-mode-alist (see page "Choosing Modes" in the Emacs manual).

  • Some optimizations, particularly for C++ Mode, have been implemented.

  • For consistency with the syntactic symbol 'statement', source lines with syntax 'brace-list-entry' are now anchored on the preceding such line rather than the first such line.

  • Many bugs have been fixed.


bug-cc-mode@gnu.org