unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Release of CC Mode 5.31
@ 2005-12-02 12:20 Alan Mackenzie
  2005-12-02 17:15 ` Henrik Enberg
  2005-12-06 10:32 ` Romain Francoise
  0 siblings, 2 replies; 44+ messages in thread
From: Alan Mackenzie @ 2005-12-02 12:20 UTC (permalink / raw)
  Cc: Martin Stjernholm

Hi Richard, Hi Emacs!

I have committed CC Mode 5.31 to the Emacs Repository.  It consists of
the relevant parts of the full CC Mode release (omitting, for example,
the backward compatibility file, cc-fix.el, and our NEWS, README, etc.),
modified for Emacs in line with previous releases.  The stand alone
release is available from <http://cc-mode.sf.net/release.php>.

So far, I have committed the files.el and cc-mode.texi.  Updates to NEWS
and the two ChangeLogs should follow shortly.

As always, it would be appreciated if bug reports were cc'd to
bug-cc-mode@gnu.org.

Here is a copy of our new NEWS:

#########################################################################

CC Mode NEWS -- user visible changes.  -*- outline -*-

* Changes in 5.31

This version contains only a few new visible features, but significant
internal improvements.

** Emacs 19.34 and XEmacs 19.15 are no longer supported.
The minimum versions required are now Emacs 20.4 or XEmacs 21.4.

** 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 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 YAMOTO.

** 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 YAMOTO.
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 (Munich, Germnay)

^ permalink raw reply	[flat|nested] 44+ messages in thread

end of thread, other threads:[~2005-12-10  4:13 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-02 12:20 Release of CC Mode 5.31 Alan Mackenzie
2005-12-02 17:15 ` Henrik Enberg
2005-12-02 20:42   ` Alan Mackenzie
2005-12-03 15:58     ` Richard M. Stallman
2005-12-03 16:15       ` Alan Mackenzie
2005-12-03 11:48   ` Alan Mackenzie
2005-12-03 12:40     ` Romain Francoise
2005-12-03 15:33     ` Henrik Enberg
2005-12-04  3:08     ` Richard M. Stallman
2005-12-05 16:48       ` Alan Mackenzie
2005-12-06 16:43         ` Richard M. Stallman
2005-12-04 19:40     ` Eli Zaretskii
2005-12-04 19:45       ` Romain Francoise
2005-12-06 12:11       ` Alan Mackenzie
2005-12-06 20:33         ` Eli Zaretskii
2005-12-07 17:07           ` Richard M. Stallman
2005-12-07 18:14             ` Alan Mackenzie
2005-12-08  4:53               ` Richard M. Stallman
2005-12-07 18:48             ` Eli Zaretskii
2005-12-07 19:51               ` Stefan Monnier
2005-12-07 22:41                 ` Eli Zaretskii
2005-12-08  4:54                 ` Richard M. Stallman
2005-12-08  4:53               ` Richard M. Stallman
2005-12-08 16:43                 ` Stefan Monnier
2005-12-08 19:47                   ` Eli Zaretskii
2005-12-08 22:24                     ` Stefan Monnier
2005-12-08 23:04                       ` Kim F. Storm
2005-12-08 23:46                         ` Stefan Monnier
2005-12-09 12:30                           ` Eli Zaretskii
2005-12-09 14:42                             ` Stefan Monnier
2005-12-10  4:13                               ` Richard M. Stallman
2005-12-09 12:35                       ` Eli Zaretskii
2005-12-09 14:42                         ` Stefan Monnier
2005-12-09 15:02                       ` Richard M. Stallman
2005-12-08 23:32                   ` Andreas Schwab
2005-12-09  1:42                   ` Richard M. Stallman
2005-12-08 19:29                 ` Eli Zaretskii
2005-12-09  1:43                   ` Richard M. Stallman
2005-12-06 10:32 ` Romain Francoise
2005-12-06 13:09   ` Alan Mackenzie
2005-12-06 13:46   ` Masatake YAMATO
2005-12-06 20:34   ` Eli Zaretskii
2005-12-06 20:49     ` Romain Francoise
2005-12-06 21:04       ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).