Hi, XEmacs!
CC Mode 5.32 has been released. It's licensed under GPL-3+. It's been
tested with XEmacs 21.4.22 and 21.5.b31. I'm going to merge it into
XEmacs ASAP, which should be PDQ.
More information, including links to download the source, are available
on the CC Mode web page:
<
http://cc-mode.sourceforge.net/>
Send email correspondence to bug-cc-mode(a)gnu.org.
The new features are (cut and paste into an outline-mode buffer):
* Changes in 5.32
This version contains few, but big, new features, and significant
internal
improvements.
** CC Mode is now licensed under the GPL version 3 or any later version.
** Emacs 21 is no longer supported,
although CC Mode might well still work with it. The minimum versions
supported are Emacs 22 and XEmacs 21.4.
** It is now possible for CC Mode to "guess" an existing buffer's style.
This style can then be used in other buffers. Contributed by Masatake
YAMATO, after original code by Barry Warsaw.
** Java Mode has been enhanced to support Java 5.0 (Tiger) and Java 6
(Mustang). Contributed by Nathaniel Flath.
** c-beginning-of-defun and c-end-of-defun now respect nested scopes.
Thus C-M-a will, by default, go to the beginning of the immediate
function, not the top level.
** "Macros with semicolons" can be registered, for correct indentation.
Where such a macro ends a line (no semicolon), the next statement is no
longer parsed as a statement continuation.
** Many bugs have been fixed, font locking has become more accurate,
angle brackets are better handled, and sluggish code has been optimised.
* Changes in 5.31
This version contains only a few new visible features, but significant
internal improvements.
** The CC Mode manual has been extensively revised.
The information about using CC Mode has been separated from the larger
and more difficult chapters about configuration.
*** There are now two variants of the manual - for GNU Emacs and XEmacs.
The only difference between them is where some cross references point
(e.g. GNU Emacs Manual vs. XEmacs Manual). The default variant is for
GNU. To build an XEmacs version, you must define the texinfo symbol
"XEMACS". See README and cc-mode.texi.
** Changes in Key Sequences
*** c-toggle-auto-hungry-state is no longer bound to C-c C-t.
*** c-toggle-hungry-state is no longer bound to C-c C-d.
This binding has been taken over by c-hungry-delete-forwards.
*** c-toggle-auto-state (C-c C-t) has been renamed to
c-toggle-auto-newline. c-toggle-auto-state remains as an alias.
*** c-hungry-backspace has been renamed to c-hungry-delete-backwards.
c-hungry-backspace remains as an alias.
*** c-hungry-delete-backwards and c-hungry-delete-forwards
now have permanent key bindings, respectively C-c C-DEL (or C-c DEL, for
the benefit of TTYs) and C-c C-d (or C-c C-<delete> or C-c <delete>).
These commands delete entire blocks of whitespace with a single
key-sequence. [N.B. "DEL" is the <backspace> key.]
*** The new command c-toggle-electric-mode is bound to C-c C-l.
*** The new command c-subword-mode is bound to C-c C-w.
** C-c C-s (`c-show-syntactic-information') now highlights the anchor
position(s).
** The new GtkDoc Doc Comment style has become the default for C Mode.
Contributed by Masatake YAMATO.
** New Minor Modes
*** Electric Minor Mode toggles the electric action of non-alphabetic
keys.
The new command c-toggle-electric-mode is bound to C-c C-l. Turning the
mode off can be helpful for editing chaotically indented code and for
users new to CC Mode, who sometimes find electric indentation
disconcerting. Its current state is displayed in the mode line with an
'l', e.g. "C/al".
*** Subword Minor Mode makes Emacs recognize word boundaries at upper
case letters in StudlyCapsIdentifiers. You enable this feature by C-c
C-w. It can also be used in non-CC Mode buffers. :-) Contributed by
Masatake YAMATO. Subword Minor Mode doesn't (yet?) work in Emacs 20.n.
** New clean-ups
*** `comment-close-slash'.
With this clean-up, a block (i.e. c-style) comment can be terminated by
typing a slash at the start of a line.
*** `c-one-liner-defun'
This clean-up compresses a short enough defun (for example, an AWK
pattern/action pair) onto a single line. "Short enough" is configurable.
** AWK support
AWK Mode is now better integrated into CC Mode as a whole. In detail:
*** Comment and line-breaking commands now work for AWK.
*** M-a and M-e (c-beginning/end-of-statement) now work for AWK.
*** "awk" style, Auto-newline insertion, special AWK initialization hook.
A new style, "awk" has been introduced, and this is now the default
style for AWK code. With its introduction, Auto-newline insertion can
be used freely for AWK code, and there is no longer a need for the
special initialization function in the AWK Mode hook.
*** The standard Line-up functions still haven't been adapted for AWK.
Some of these may work serendipitously. There shouldn't be any problems
writing custom indentation functions for AWK mode.
*** AWK Font Locking still hasn't been fully integrated into CC Mode.
There is just a single level of font locking in AWK mode.
--
Alan Mackenzie (Nuremberg, Germany).
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta